{"version":3,"sources":["containers/Header/Header.module.scss","containers/Books/CertificatesList/CertificatesList.module.scss","containers/QuizDisplay/QuizDisplay.module.scss","containers/TestDisplay/TestDisplay.module.scss","routes/History.js","utils/PathsNames.js","store/Lang/types.js","store/Lang/reducer.js","store/Books/types.js","store/Books/reducers.js","store/Categories/types.js","store/Categories/reducers.js","store/Loader/types.js","store/Loader/reducers.js","store/Auth/types.js","store/Auth/reducers.js","store/Snackbar/types.js","store/Snackbar/reducers.js","store/Countries/types.js","store/Countries/reducers.js","store/Jobs/types.js","store/Jobs/reducers.js","store/Checkout/types.js","store/Checkout/reducers.js","utils/Constants.js","store/Utilities/types.js","store/Utilities/reducers.js","store/StudentsList/types.js","store/StudentsList/reducers.js","store/Topics/types.js","store/Topics/reducers.js","store/FinalTest/types.js","store/FinalTest/reducers.js","store/reducers.js","store/Loader/actions.js","store/Snackbar/actions.js","store/Auth/actions.js","network/interceptors/index.js","network/apis/index.js","network/apis/books.js","store/Books/actions.js","assets/locale/messages.js","assets/locale/en.js","assets/locale/ar.js","utils/general.js","store/Books/sagas.js","network/apis/categories.js","store/Categories/actions.js","store/Categories/sagas.js","network/apis/auth.js","store/Auth/helpers.js","store/Auth/sagas.js","network/apis/countries.js","store/Countries/actions.js","store/Countries/sagas.js","network/apis/jobs.js","store/Jobs/actions.js","store/Jobs/sagas.js","store/Checkout/actions.js","store/Checkout/sagas.js","network/apis/studentsList.js","store/StudentsList/action.js","store/StudentsList/sagas.js","network/apis/Topics.js","network/apis/comments.js","store/Topics/actions.js","store/Topics/sagas.js","network/apis/FinalTest.js","store/FinalTest/actions.js","store/FinalTest/sagas.js","store/index.js","store/sagas.js","utils/Auth.js","routes/PrivateRoute.js","routes/PublicRoute.js","hooks/ImgDisplay.js","components/BookCover/index.jsx","components/BooksSlider/index.jsx","hooks/useOutSideClickDetector.js","utils/date.js","components/Button/index.jsx","components/ClickableBookCover/ClickableBookCover.jsx","components/ReactSliderButtons/NextArrowRelatedBook.jsx","containers/Books/RelatedBooks/index.jsx","assets/svgs/close-icon.jsx","components/Modal/index.jsx","components/ReactSliderButtons/NextArrow.jsx","components/ReactSliderButtons/PrevArrow.jsx","components/SamplesOfBook/Samples.jsx","assets/svgs/VideoiconBW.svg","assets/svgs/CompletedIcon.svg","containers/Books/AllBookVideos/AllBookVideosComponent.jsx","components/Card/Card.jsx","assets/svgs/modal-close.jsx","containers/Books/BookSubscribtion/BooksSubscribtionModal/BookSubscribtionModal.jsx","containers/Books/BookProfile/BookData.jsx","assets/images/logo.png","assets/svgs/icon-facebook.svg","assets/svgs/icon-instgram.svg","assets/svgs/icon-twitter.svg","assets/svgs/linkedin.svg","assets/images/bookshelves.jpg","components/ErrorMessage/ErrorMessge.jsx","assets/svgs/google.svg","containers/Books/BookViewer/boxStyle.jsx","assets/svgs/Document.svg","utils/Helpers.js","components/Input/index.jsx","utils/Theme.js","components/Select/index.jsx","components/GoogleButton/index.jsx","components/Or/index.jsx","hooks/useQuery.js","constants/validations.js","containers/Login/validations.js","containers/Login/index.jsx","containers/Footer/index.jsx","containers/Books/BookProfile/index.jsx","components/EmptyState/index.jsx","assets/svgs/SwapVerticalIcon.jsx","assets/svgs/categories-list-icon.jsx","components/CategoriesMenu/index.jsx","containers/Books/BooksListing/BooksListingHelpers.js","containers/Books/BooksListing/Filters.jsx","assets/svgs/back-arrow.jsx","assets/svgs/close-button-icon.jsx","components/BackButton/index.jsx","containers/Books/BooksListing/BooksListing.jsx","assets/images/Medblendcertificate1.svg","assets/images/Certificate-CME.svg","assets/svgs/carbon_book.svg","assets/svgs/lock.jsx","assets/svgs/QuiziconOneColor.svg","assets/svgs/VideoiconOneColor.svg","components/LinearProgress/index.jsx","assets/svgs/Group.svg","containers/FinalTest/index.jsx","containers/FinalTest/ViewScoreFinalTest/index.jsx","containers/FinalTest/FinalTestWraper.jsx","components/MaterialPreview/FinalTestPreview/FinalTestModal.jsx","components/DicomViewer/index.jsx","assets/svgs/open-tab.svg","assets/svgs/play.jsx","assets/svgs/Videoicon.svg","assets/svgs/Photo.svg","utils/Patterns.js","components/MaterialPreview/index.jsx","components/MaterialPreview/MaterialModal.jsx","components/MaterialPreview/TestPreview/TestModal.jsx","components/PDFViewer/BookChapters.jsx","hooks/useWindowSize.js","components/TitleWithSubtitle/index.jsx","containers/Books/BookViewer/BookInfo.jsx","components/PDFViewer/PDFViewerSample.jsx","components/PDFViewer/PDFViewerFull.jsx","components/PDFViewer/index.jsx","containers/Books/BookViewer/BookPdfViewer.jsx","assets/svgs/Quizicon.svg","components/MaterialPreview/QuizPreview.js","components/MaterialPreview/TestPreview/index.jsx","assets/svgs/survey.svg","components/MaterialPreview/SurveyPreview.jsx","components/MaterialPreview/FinalTestPreview/index.jsx","components/SupplementaySection/MobileSupplementaries.jsx","containers/Books/BookViewer/SurveyBody.jsx","containers/Books/BookViewer/Test/index.jsx","assets/svgs/VideoIcon.jsx","assets/svgs/TestIconBookView.jsx","assets/svgs/QuiziconBW.svg","assets/svgs/TesticonBW.svg","containers/Books/AllBookTests/AllBookTestsComponent.jsx","assets/svgs/arrowBackBookViewMobile.svg","components/MobileDrawer/MobileDrawerBookView.jsx","assets/svgs/NoteIconBookView.jsx","assets/svgs/ListIconsBookView.jsx","components/SupplementaySection/Supplementaries.jsx","containers/Books/BookViewer/index.jsx","components/CheckoutForm/PayPalButtonDefault.jsx","components/CheckoutForm/PayPalButtonDiscount.jsx","components/CheckoutForm/index.jsx","containers/Checkout/index.jsx","components/AuthLayout/index.jsx","containers/ForgetPassword/validations.js","containers/ForgetPassword/index.jsx","assets/images/how-to-navigate-thumbnail.png","assets/svgs/Content.svg","assets/svgs/Mission.svg","assets/svgs/Solution.svg","components/AboutUsSection/index.jsx","components/Video/Video.jsx","containers/Books/BooksListing/AuthorsBooksListing.jsx","containers/Books/BooksListing/EditorsBooksListing.jsx","containers/Books/BooksListing/ProgramBooksListing.jsx","components/BooksSearchBox/index.jsx","containers/Books/BooksSearch/index.jsx","containers/Books/FeaturedBooks/index.jsx","containers/ContactUs/validations.js","containers/ContactUs/index.jsx","assets/images/user-image.png","components/DropDown/index.js","containers/Header/index.jsx","containers/Home/Home.jsx","assets/images/reset-password.png","containers/Home/Verify.jsx","assets/svgs/uploadImg.svg","components/Checkbox/index.jsx","containers/Registration/validations.js","utils/S3.js","containers/Registration/index.jsx","assets/svgs/material-symbols-light_video-library-outline.svg","assets/svgs/fluent_ios-arrow-24-regular.svg","assets/svgs/lets-icons_book-open-light.svg","containers/SupplementaryDisplay/index.jsx","components/Pagination/index.jsx","containers/Books/BookNameAndAuthor/index.jsx","containers/Books/BookSubscribtion/BooksSubscribed/index.js","containers/User/BookList/index.js","containers/Books/CertificatesList/index.jsx","containers/User/Certificates/index.jsx","containers/User/ChangePassword/validations.js","containers/User/ChangePassword/index.jsx","containers/User/ProfileInfo/validations.js","assets/images/edit_icon.png","containers/User/ProfileInfo/index.jsx","containers/User/SubscriptionManagement/index.jsx","containers/Verification/index.jsx","containers/Books/AllBookTests/index.js","containers/Books/AllBookVideos/index.js","components/StudentsOrTopics/index.jsx","containers/EditOrAddNewTopic/index.jsx","containers/Login/LoginPage.jsx","assets/svgs/DeleteIconTopic.jsx","containers/OldTopic/SingleComment/index.jsx","containers/OldTopic/index.jsx","components/CheckoutForm/PayPalButtons.jsx","containers/Promocode/index.jsx","containers/QuizDisplay/index.jsx","containers/StudentProgress/ProgressTable/index.jsx","assets/images/Generic avatar.png","containers/StudentProgress/index.jsx","components/ProgressbarMatrialUi/index.jsx","containers/StudentsList/SingleRow/index.jsx","assets/svgs/search-icon.jsx","containers/StudentsList/TableStudents/index.jsx","containers/StudentsList/index.jsx","containers/TestDisplay/index.jsx","assets/svgs/folder-icon.jsx","assets/svgs/Arrow-right-circle.jsx","assets/svgs/delete-icon.jsx","containers/Topics/SingleRowTopic/index.jsx","containers/Topics/TableTopics/index.jsx","containers/Topics/index.jsx","containers/Books/institutionBooks/index.jsx","containers/User/InstitutionBooksList/index.jsx","routes/SubscriberRoute.js","containers/BookCheckout/BookCheckout.jsx","routes/Routes.js","containers/Program/Program.jsx","containers/Books/EditorBookNotes/EditorBookNotes.jsx","components/Loader/index.jsx","components/Snackbar/index.jsx","themes/RTLtheme.js","themes/palette.js","themes/light.js","themes/overrides/index.js","providers/MuiProvider.js","components/Snackbar/SubscriptionLoader.jsx","containers/App.jsx","store/Lang/actions.js","utils/Cornerstone.js","index.js","components/Input/Input.module.scss","containers/Books/AllBookSupplementaries/bookSupplementaries.module.scss","containers/Books/institutionBooks/institutionBooks.module.scss","components/BookCover/BookCover.module.scss","components/BooksSearchBox/BooksSearchBox.module.scss","components/PDFViewer/PDFViewer.module.scss","containers/Books/BookViewer/SurveyBody.module.scss","containers/User/ProfileInfo/ProfileInfo.module.scss","components/ReactSliderButtons/ReactSliderButtonsStyle.module.scss","components/MobileDrawer/MobileDrawerBookView.module.scss","components/Snackbar/Snackbar.module.scss","components/BooksSlider/BooksSlider.module.scss","components/Button/Button.module.scss","components/Modal/Modal.module.scss","containers/Promocode/Promocode.module.scss","components/MaterialPreview/MaterialPreview.module.scss","components/Select/Select.module.scss","components/CheckoutForm/CheckoutForm.module.scss","containers/Books/RelatedBooks/RelatedBooks.module.scss","components/Or/Or.module.scss","components/AuthLayout/AuthLayout.module.scss","containers/Books/BookProfile/ProfileData.module.scss","components/SupplementaySection/SectionSupplementaries.module.scss","components/SamplesOfBook/Samples.module.scss","components/GoogleButton/GoogleButton.module.scss","components/BackButton/BackButton.module.scss","containers/Checkout/Checkout.module.scss","containers/Registration/Registration.module.scss","containers/User/BookList/BookList.module.scss","containers/User/Certificates/Certificates.module.scss","containers/User/SubscriptionManagement/SubscriptionManagement.module.scss","containers/Books/BooksListing/BooksListing.module.scss","containers/User/InstitutionBooksList/InstitutionBooksList.module.scss","containers/Books/BookSubscribtion/BooksSubscribtionModal/BookSubscription.module.scss","containers/SupplementaryDisplay/SupplementaryDisplay.module.scss","containers/Books/BookSubscribtion/BooksSubscribed/BooksSubscribed.module.scss"],"names":["module","exports","createBrowserHistory","ROUTE_PATHS","EditOrAddNewTopic","DetialsTopic","DirectorDetialsTopic","FinalTest","programsFinalTest","authorsFinalTest","FinalTestScore","Topics","StudentsTopics","StudentProgress","StudentsList","home","authorsHome","editorsHome","login","programHome","programsLogin","authorLogin","editorLogin","missingVerification","verification","registration","forgetPassword","bookProfile","programBookProfile","books","bookViewer","authorsBookViewer","editorBookViewer","programsBookViewer","subscriptionManagement","userBookList","checkout","bookAllVideos","bookAllTests","programsBookAllVideos","programsBookAllTests","authorsBookAllVideos","authorsBookAllTests","supplementary","authorsSupplementary","programsSupplementary","profileInfo","changePassword","authorsChangePassword","editorsChangePassword","programsChangePassword","contactUs","certificates","institutionBooks","promocode","bookCheckout","testdisplay","quizdisplay","programsTestDisplay","programsQuizDisplay","authorsTestDisplay","authorsQuizDisplay","signin","editorNotes","SET_CURRENT_LANG","INITIAL_STATE","lang","localStorage","getItem","locale","state","arguments","length","undefined","action","type","types","GET_BOOKS","GET_USER_PROGRAMS","SET_USER_PROGRAMS","SET_BOOKS","SET_BOOKS_FEATURED","SET_BOOKS_FILTERS","GET_RELATED_BOOKS","SET_RELATED_BOOKS","GET_SINGLE_BOOK","GET_AUTHOR_SINGLE_BOOK","GET_EDITOR_SINGLE_BOOK","GET_DIRECTOR_SINGLE_BOOK","GET_AUTHOR_ASSIGNED_BOOKS","GET_EDITOR_ASSIGNED_BOOKS","SET_CURRENT_SUBSCRIPTION_LOADER","SET_SINGLE_BOOK","GET_SINGLE_BOOK_SUPPLEMENTRAIES","SET_SINGLE_BOOK_SUPPLEMENTRAIES","SET_SUBSCRIBE_BOOK_SELECTED","UNSUBSCIBE_BOOK","SET_SUBSCIBED_BOOKS_ACTION","ADD_SUBSCIBED_BOOK_ACTION","GET_SUBSCRIBED_BOOKS_REQUEST","GET_SUBSCRIBED_BOOKS_RESPONSE","SET_SUBSCRIBED_BOOKS_IDS","UPDATE_BOOK_PROGRESS","UPDATE_BOOK_SUPPLEMENTARY_PROGRESS","GET_BOOK_SUPPLEMENTARY_PROGRESS","SET_BOOK_SUPPLEMENTARY_PROGRESS","GET_BOOK_QUIZZES","SET_BOOK_QUIZZES","GET_CERTAIN_QUIZ","SET_CERTAIN_QUIZ","GET_BOOK_TESTS_REQUEST","GET_BOOK_TESTS_RESPONSE","GET_BOOK_SINGLE_TEST_REQUEST","GET_BOOK_SINGLE_TEST_RESPONSE","ANSWER_BOOK_SINGLE_TEST_REQUEST","ANSWER_BOOK_SINGLE_TEST_RESPONSE","CREATE_BOOK_TESTS_STATUS","UPDATE_BOOK_TESTS_STATUS","GET_CERTIFICATE_RESPONSE","GET_CERTIFICATE_REQUEST","GET_INSTITUTION_BOOKS_REQUEST","GET_SINGLE_CERTIFICATE_REQUEST","GET_SINGLE_CERTIFICATE_RESPONCE","GET_INSTITUTION_BOOKS_RESPONSE","SET_EDITOR_NOTES","GET_EDITOR_NOTES","GET_DIRECTOR_NOTES","REMOVE_UPDATE_BOOK_TESTS_STATUS","SET_CURRENT_BOOK_PAGE","list","meta","featured","related","filters","search_term","category_id","sorting_term","singleBook","singleBookSupplementaries","SupplementariesProgress","subscibedBooks","subscibedBooksList","subscibedBooksMeta","subscibedBooksIds","certificateList","singleCertificate","certificateListMeta","subscribeBookSelected","JSON","parse","sessionStorage","singleBookQuizzes","singleBookTests","bookSingleTest","bookSingleTestCanceled","institutionBooksList","institutionBooksMeta","answerSingleTest","quiz","currentSunscriptionLoader","notes","programs","currentBookPage","booksReducer","payload","id","setItem","removeItem","quizDetails","updatedObject","removeUpdatedObject","GET_CATEGORIES_REQUEST","GET_CATEGORIES_RESPONSE","SET_CATEGORY_SEARCH","searchKeyword","categoriesReducer","SHOW_HIDE_LOADER","loader","LOGIN_REQUEST","LOGIN_RESPONSE","LOGOUT_REQUEST","CHANGE_PASSWORD_REQUEST","SOCIAL_AUTHORIZATION","NEW_USER_REGISTRATION","EDIT_USER_INFO","USER_DETAILS","COMPLETE_DATA_WITH_GOOGLE","VERIFY_USER","RESEND_VERIFICATION_EMAIL","TOGGLE_LOGIN","LOGIN_THEN_VERIFY","RESET_NEW_PASSWORD_REQUEST","SEND_EMAIL_NEW_PASSWORD","SET_LOGIN_MODAL_TRIGGER","googleCollectedData","loginModalOpen","loginModalTrigger","authReducer","SHOW_HIDE_SNACKBAR","showSnackbar","message","snackbar","isOpen","GET_COUNTRIES_REQUEST","GET_COUNTRIES_RESPONSE","countriesReducer","GET_JOBS_REQUEST","GET_JOBS_RESPONSE","jobsReducer","SET_PAYMENT_METHOD","SET_PROMOCODE_RESPONSE","SET_PROMOCODE_NAME_RESPONSE","SET_PROMOCODE_REQUEST","SET_FREE_DISCOUNT_PROMOCODE_REQUEST","paymentMethod","promocodeName","checkoutReducers","BOOKS_LIST_TYPES","SORT_BOOKS_OPTIONS","messages","priceHigh","newsetToOldest","priceLow","value","label","FinalTestMode","FinalTestWrapperViewMode","SET_OPEN_MATERIAL_MODAL","SET_OPEN_TEST_MODAL","SET_MATERIAL_MODAL_DATA","SET_TEST_MODAL_DATA","SET_IS_LOGGED_IN_AUTHOR","SET_OPEN_SURVEY","SET_OPEN_FINAL_TEST_MODAL","SET_FINAL_TEST_MODE","SET_FINAL_TEST_WRAPPER_MODE","showMaterialModal","materialData","details","src","dicomImages","showTestModal","testData","testTypeQuestion","testType","setImageModal","markTestAsSolved","bookTest","showQuizeModal","quizeData","showSurvey","showFinalTest","modeFinalTest","finalTestWrapperViewMode","isLoggedInAuthor","utilities","GET_STUDENTSLIST_REQUEST","GET_STUDENTSLIST_RESPONSE","resList","studentsListReducer","actions","ADD_TOPIC_REQUEST","ADD_TOPIC_RESPONSE","GET_CURRENT_PROGRAM_REQUEST","GET_CURRENT_PROGRAM_RESPONCE","GET_ALL_TOPICS_REQUEST","GET_CUSTOMER_TOPICS_REQUEST","GET_ALL_TOPICS_RESPONCE","GET_SINGLE_TOPIC_REQUEST","GET_SINGLE_TOPIC_STUDENT_REQUEST","GET_SINGLE_TOPIC_RESPONCE","DELETE_SINGLE_TOPIC_REQUEST","DELETE_SINGLE_TOPIC_RESPONCE","ADD_CUSTOMER_COMMENT","ADD_DIRECTOR_COMMENT","DELETE_CUSTOMER_COMMENT","DELETE_DIRECTOR_COMMENT","EDIT_TOPIC_REQUEST","loading","currentProgram","TopicsList","Topic","TopicsReducer","data","filter","topic","topicId","GET_FINAL_TEST_REQUEST","GET_FINAL_TEST_RESPONSE","SET_NEW_FINAL_TEST_ANSWER_REQUEST","SET_NEW_FINAL_TEST_ANSWER__RESPONSE","finalTest","resultOfAnswer","FinalTestReducer","combineReducers","auth","categories","countries","jobs","studentslist","topics","showHideLoader","showHideSnackbar","loginRequest","loginThenVerify","loginResponse","completeDataWithGoogle","socialAuthorization","editUserInfo","userDetails","logoutRequest","toggleLogin","setLoginModalTrigger","isHandlerEnabled","config","Object","prototype","hasOwnProperty","call","handlerEnabled","customer_portal","author_portal","editor_portal","program_director_portal","axiosInstance","axios","create","baseURL","process","interceptors","request","use","store","dispatch","customerData","token","auth_token","headers","concat","requestHandler","response","getState","successHandler","error","_error$response","_error$response2","_error$response2$data","status","clear","history","push","Promise","reject","errorHandler","getBooks","async","get","params","getUserProgram","userId","_ref","getAuthorBooks","getEditorBooks","getRelatedBooks","_ref2","getAuthorRelatedBooks","_ref3","getSingleBook","getAuthorSingleBook","getEditorSingleBook","getDirectorSingleBook","getAuthorAssignedBook","getEditorAssignedBook","getSingeBookSupplementaries","getAuthorSingleBookSupplementaries","getDirectorSingleBookSupplementaries","unsubscribeBook","reason","_ref4","patch","cancellation_reason","getSubscribedBooks","updateBookProgress","page","notesProgress","_ref5","highlights_and_notes","updateBookSupplementaryProgress","book_id","supplementary_material_id","watched","_ref6","getBookSupplementaryProgress","_ref7","getBookQuizzes","getBookQuizzesForAuthors","getBookQuizzesForDirectors","getCertainQuiz","bookId","book_page","getCertainQuizForAuthors","getCertainQuizForDirector","getBookTests","getBookTestsForAuthor","getBookTestsForDirector","getBookSingleTest","getBookSingleTestForAuthor","getBookSingleTestForDirector","answerBookSingleTest","post","getCertificateList","getSinlgeCertificate","setPromocode","setFreeDiscountPromocode","getInstitutionBooksList","getEditorNotesByBook","isNote","getDirectorNotesByBook","getBooksAction","setUserProgramAction","getAssignedBooksAction","getEditoeAssignedBooksAction","setBooksAction","setBooksFeaturedAction","setBooksFilters","getRelatedBooksAction","setRelatedBooksAction","getSingleBookAction","getAuthorSingleBookAction","getEditorSingleBookAction","getDirectorSingleBookAction","setSingleBookAction","getSingleBookSupplementariesAction","setSingleBookSupplementariesAction","updateBookTestsStatus","removeUpdateBookTestsStatus","setSubscibedBooksAction","getSubscribedBooksRequest","setCurrentSubscriptionLoader","getSubscribedBooksResponse","setSubscribedBooksIds","setBookSupplementaryProgress","setBookQuizzes","setCertainQuiz","getBookTestsResponse","getBookTestsRequest","getBookSingleTestRequest","getBookSingleTestResponse","answerBookSingleTestRequest","getCertificatetsRequest","getcertificatetsResponse","getSingleCertificateRequest","getSingleCertificateResponce","getInstitutionBooksRequest","getInstitutionBooksResponse","setEditorNotes","en","SupplementaryDisplay","lectures","errorVideo","errorSupplementary","objectSupplementaryError","previous","next","noNextSupplementary","noPreviousSupplementary","courseTests","success","failed","score","explanation","answeredTest","bestScoreAchieved","viewFinalTest","reTakeFinalTest","allQuestionRequired","successfullySubmit","note","notedescription","newTopic","title","topiclist","topicName","date","save","cancel","addMessage","editMessage","addComment","addTopicButton","deleteMessage","studentsList","TableHeader","name","lastCourse","lastChapter","TableProgressHeader","courseName","chapterName","errors","subscriptionError","notSubscribedError","header","digitalCourses","aboutUs","signIn","register","isHaveAccount","createAccount","youNeedToVerifyYourEmail","resendverificationemail","signup","signUpMessage","imageUpload","termsAgreement","successMessage","verificationSuccessMessage","invalidActivationUrl","verificaitonEmailResent","editHeader","editUserInfoMessage","errorMessage","headerMenu","TermsAndCondition","logout","inputs","firstName","lastName","phoneOptional","email","password","repeatPassword","newPassword","oldPassword","remeberMe","emailRequired","passwordRequired","oldPassordRequired","newPassordRequired","passwordNotMatch","firstNameRequires","secondNameRequires","nameMaxLength","subjectRequired","messsageRequired","emailShouldMatchEmailFormat","institution","termsAgreementRequired","city","country","job","countryRequired","jobReuired","strongPasswordRequired","signUpWithGoogle","ContinueRegisteration","copyRights","forgotPassword","link","subTitle","repeatPasswordRequired","successemailMessage","emailTitle","userCertificatesList","certificatesListTitle","certificatesListSubTitle","showCertifiacte","yourCertificates","buttons","send","viewSample","getAccess","enroll","paypalCheckout","stripeCheckout","ok","resubscribe_subs_btn","read_book","confirm","submit","preview","shared","by","hi","sortBy","viewMore","viewLess","none","emptyStateMsg","welcomeMessage","watchNow","messageSent","book","bookCover","pagesLeft","FeaturedCoursesTitle","RelatedBooksTitle","viewTheFullLibrary","oldestToNewset","bestSeller","welcomeTo","acoreSlogan","whatYouLookFor","findHere","NameOfTabs","Overview","OverviewTitle","OverviewSections","brief","sample","content","Faculty","frontMatter","pageSupplementaries","toRead","Statistics","pages","Readinghours","Chapters","CME_Hours","Lectures","quizzes","Authors","Speakers","supplementariesIndex","chaptersIndex","mins","showYourProgress","viewAllBookSupplementaries","courseLectures","tests","ViewCertificate","viewAllBookVideos","lecture","chapter","bookVideos","oldVersion","availableHint","scoreNote","noteHiglightingHint","program","programName","pdfViewer","shouldSubscribeMsg","limtiedAccess","noNote","AddNoteHeader","highligth","remove","add","deleteHiglight","openNewTab","booksubscription","yearlyPlan","subscritptionTitle","subscritptionInfo","subscriptionFirstServices","subscriptionSecondService","subscriptionThirdService","firstNoteSubscription","secondNoteSubscription","cols","checkoutForm","apply","price","bookTitle","checkoutStatement","promocodeStatement","promodeSuccess","visaMaster","payPal","billingAddress","nameOnCard","cardNumber","mmYy","securityCode","zipPostalCode","remeberThisCard","secureConnection","completePayment","byComoleting","termsOfService","summary","estimatedTaxes","totalPrice","quantity","FreeDiscountpromodeSuccess","removePromo","EditorNotes","pagenumber","bookText","authorName","booklistTitle","booklistSubTitle","buttonCertificate","buttonStart","buttonContinue","completed","viewCourseLectures","Unsubscribe","cancelSubscription","unSubscrribeHint","test","rightAnswer","wrongAnswer","viewTest","mark","sectionscore","advice","testReport","pretest","posttest","pretestnotsolved","finaltest","FinalTestNotFound","contact","subject","headerMessage","footer","copyRight","aboutus","Register","acoreTitle","p1","p2","p3","p4","p5","aboutUs2","bullets","h","b","contactUsText","ar","capitalize","str","charAt","toUpperCase","slice","metaObject","currentPage","count","writtenBy","author","getBooksSaga","isProgram","authorApi","Auth","getAuth","apis","editorApi","api","isAuthor","isEditor","_","omit","is_featured","shouldConcat","isLoadMore","put","window","scrollTo","document","body","scrollHeight","err","console","getRelatedBooksSaga","getSingeBookSaga","getAuthorSingeBookSaga","getEditorSingleBookSaga","getDirectorSingleBookSaga","_response$data","_response$data$data","getAuthorAssignedBookSaga","_ref8","getEditorAssignedBookSaga","getSingeBookSupplementariesSaga","_ref9","supplementary_materials","UnubscribeBook","_ref10","book_subcription","map","subscription","_ref11","_ref12","_ref13","_ref14","_ref15","supplementary_progress","_ref16","API","book_quiz","_ref17","getBookTestsSaga","_ref18","getBookSingleTestSaga","_ref19","answerBookTestSaga","_ref20","_ref21","getSinlgeCertificateSaga","_ref22","certificate","_ref23","getEditorNotesByBookSaga","_ref24","annotations","getDirectorNotesByBookSaga","_ref25","getCategories","getCategoriesRequest","getCategoriesResponse","getCategoriesSaga","loginAuthor","loginEditor","loginProgramDirector","delete","authorLogout","editorLogout","programLogout","verifyUser","resendVerificationEmail","changeAuthorsPassword","changeEditorsPassword","changeProgramDirectorsPassword","restNewPassword","sendEmailNewPassword","setCustomer","user","editor","programDirector","loggedIn","stringify","loginSaga","device_id","browserName","uuidv4","fcm_token","loggedUser","email_verified","History","getDetails","localOldUser","institution_subscription","is_beta","clonedData","log","rememberMe","verificationResponse","email_verification_token","authorizeViaGoogle","profile","newUserRegistration","restNewPasswordSaga","sendEmailNewPasswordSaga","logoutSaga","logoutApi","homePath","getCountries","getCountriesRequest","getCountriesResponse","getCountriesSaga","getJobs","getJobsRequest","getJobsResponse","getJobsSaga","setPromocodeResponse","method","setPromocodeNameResponse","setPromocodeSaga","discounted_price","promo_code","setFreeDiscountPromocodeSaga","getStudentsList","getStudentsListRequest","getStudentsListResponse","getStudentsListSaga","students_overview","setNewTopicProgram","programId","getTopics","getCusromerTopics","getSingleTopic","getSingleTopicStudent","deleteSingleTopic","editOldTopic","addCustomerComment","comment","deleteCustomerComment","commentId","addDirectorComment","deleteDirectorComment","setTopicResponse","getCurrentProgramRequest","getCurrentProgramResponce","getAllTopicsResponce","getSingleTopicRequest","editOldTopicResponce","getSingleTopicResponce","deleteSingleTopicResponce","setNewTopicSaga","editOldTopicSaga","getCurrentProgramSaga","getAllToicsSaga","getCustomerToicsSaga","getSingleToicSaga","getSingleToicStudentSaga","deleteSingleToicSaga","addCustomerCommentSaga","commentsApis","addDirectorCommentSaga","deleteCustomerCommentSaga","deleteDirectorCommentSaga","getFinalTest","portal","setNewAnswerCustromerFinalTest","answers","getFinalTestRequest","getFinalTestResponse","setNewFinalTestAnswerResponse","getFinalTestSaga","final_tests","setNewAnswerFinalTestSaga","saga","createSagaMiddleware","enhancer","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","applyMiddleware","createStore","reducers","run","takeEvery","FinalTestTypes","FinalTestSaga","TopicsTypes","TopicsSaga","BooksTypes","BooksSagas","StudentsListTypes","StudentsListSaga","CategoriesTypes","CategoriesSagas","AuthTypes","AuthSagas","CountriesTypes","CountriesSaga","JobsTypes","JobsSaga","CheckoutTypes","CheckoutSaga","sessionStorage_transfer","event","newValue","key","addEventListener","attachEvent","_state$auth$login","isVerified","isNotUser","PrivateRoute","component","Component","rest","_jsx","Route","render","props","Redirect","to","pathname","PublicRoute","_window","_window$Tiff","Tiff","initialize","TOTAL_MEMORY","ImgDisplay","className","imgRef","useRef","isFileLoading","setIsFileLoading","useState","percentLoaded","setPercentLoaded","isTiffFile","endsWith","displayImage","responseType","onDownloadProgress","progressEvent","lengthComputable","loaded","total","then","canvas","buffer","toDataURL","current","binary","bytes","Uint8Array","len","byteLength","i","String","fromCharCode","btoa","_arrayBufferToBase64","useEffect","_jsxs","_Fragment","children","includes","style","textAlign","width","height","display","position","toFixed","max","backgroundImage","encodeURI","ref","BookCover","size","useIntl","styles","container","wrapper","cover","FontAwesomeIcon","icon","faBookmark","defaultProps","BooksSlider","slides","color","fullLibraryLink","NextArrow","onClick","nextButton","faChevronRight","settings","dots","infinite","speed","slidesToShow","slidesToScroll","variableWidth","nextArrow","Link","arrowButton","Slider","cover_photo","bookLink","isScollbarClicked","offsetX","offsetY","target","clientWidth","clientHeight","useOutSideClickDetector","callback","handleClickOutside","contains","removeEventListener","dateBasicFormat","month","day","year","dateToDashed","localeOption","options","Date","toLocaleDateString","Button","text","isLink","slug","disabled","button","BooksNameAndAuthor","isSelected","release_date","ClickableBookCover","selectBook","clearSelection","useLocation","wrapperRef","wrapperStyle","setWrapperStyle","paddingBottom","clicked","setClicked","useSelector","bookViewUrl","onMouseEnter","onMouseLeave","onTouchStart","NextArrowRelatedBook","RelatedBooks","useDispatch","useParams","relatedList","items","selectedBook","setSelectedBook","arrows","prevArrow","Container","index","minHieghtBookClickable","justifyContent","CloseIcon","xmlns","viewBox","fill","fillRule","transform","rx","stroke","strokeLinecap","strokeWidth","d","Modal","onHide","imageSrc","BModal","show","centered","dialogClassName","contentClassName","fullscreen","Row","Col","lg","Header","Title","Body","Footer","PrevArrow","prevButton","Samples","_book$book_samples","book_samples","objectFit","sample_url","AllBookVideosComponent","isPathAtBookProfile","isPathAtBookView","subscribed","setSubscribed","open","setOpen","videoDurations","setVideoDurations","_login$institution_su","Boolean","is_subscribed","sortedTests","useMemo","sort","a","pre_page","chapterSupplementaries","video","post_page","isMounted","processVideos","durations","videos","Array","isArray","url","vidId","duration","getVideoDuration","findIndex","item","prevState","resolve","videoElement","createElement","preload","onloadedmetadata","onerror","chunkedVideos","chunkArray","arr","chunkedArr","videosChunk","formatTime","useCallback","seconds","minutes","Math","floor","remainingSeconds","handleToggle","prevOpen","newOpen","AllBookVideosContainerDivBookProfile","AllBookVideosContainerDivBookView","thinScrollBarContainerDiv","_chapterSupplementari","chapterContainer","pagesContainer","outerSupplementariesContainerAtBookProfile","outerSupplementariesContainerAtBooKAllVideos","firstOuter","lastOuter","supplementariesContainer","chapterTitleContainer","chapterTitle","supplementariesNameContainer","videoiconBW","supplementaryName","dropDownContainer","transitionicon","rotateup","faAngleDown","Collapse","in","thinScrollBar","innerListContainerAtBookProfile","innerListContainerAtBookView","innerListContainer","_book$supplementary_m","_videoDurations$find","innerListItem","innerListItemContainer","completedIcon","supplementary_title","material_title","supplemenatry_duration","find","e","React","memo","Card","img","cardBodyClassName","BootstrapCard","Img","variant","ModalClose","book_title","BookSubscriptionModal","setSubscriptionModal","subscriptionList","faCheck","one_year","fontWeight","subscription_modal","yearly_plan","yearly_plan_card","yearly_plan_card_title","subscription_list","listItem","hr","payment_btns","subscriptionButton","noteSubscription","tapsTitiles","BookData","_singleBook$certifica","_singleBook$certifica2","_singleBook$book_prog","_singleBook$book_prog2","_singleBook$book_prog3","_login$institution_su3","_singleBook$book_prog4","_singleBook$senior_ed","_singleBook$senior_ed2","subscriptionModal","_login$institution_su2","bookStatistics","number_of_pages","reading_hours","credits","number_of_authors","number_of_speakers","currentTap","setCurrentTap","openedTaps","setopenedTaps","tabs","t","BreifComponent","FrontMatterOrFacultyPdf","pdfTtype","gradientPercentage","setGradientPercentage","updateGradient","screenWidth","innerWidth","gradientStyle","background","leftSection","bookCoverImg","handleSubscriptionModal","rightSection","moment","format","book_progress","is_survey_solved","senior_editors","EditorsSectionDiv","EditorsSection","singleEditor","photo","alt","imgEditor","Taps","pdfjsLib","workerSrc","PDFJSWorker","scaleNumber","setScaleNumber","pdfUrl","setPdfUrl","activeBookProfile","setActiveBookProfile","front_matter","faculty","scaleFunc","getElementById","innerHTML","pdf","promise","removeExistingCanvases","querySelectorAll","forEach","removeChild","pageNumber","numPages","getPage","viewport","getViewport","scale","appendChild","context","getContext","resolution","renderContext","canvasContext","loadPdf","overflow","flexDirection","flexWrap","alignItems","Tabs","activeKey","onSelect","k","oldtaps","newtaps","Tab","eventKey","OverViewComponent","BreifDiv","SampleDiv","SampleComponent","scrollbarWidth","overflowX","scrollbarColor","ContentDiv","LectureComponent","ErrorMessage","boxStyle","top","left","bgcolor","borderRadius","boxShadow","p","formatOptions","element","getSupplementaryTypeLabel","Document","fontSize","splitOnCapitals","matchesArray","match","join","Input","placeholder","inputIcon","onIconClick","showCounter","charLimit","isRequired","inputShape","currencyPrefix","autoComplete","isNumber","renderInput","field","form","CurrencyInput","decimalsLimit","input","allowNegativeValue","onValueChange","setFieldValue","prefix","textarea","rows","onKeyDown","keyCode","which","preventDefault","numbersOnly","inputWrapper","Field","focusState","textareaLabel","htmlFor","COLORS","CustomSelect","handleSelectChange","bgColor","textColor","isMulti","isAddNoneOption","isMenuRelative","isSearchable","containerClass","customStyle","showSelectedValue","Styles","control","backgroundColor","border","minWidth","cursor","valueContainer","padding","option","menu","zIndex","fontFamily","singleValue","indicatorSeparator","CustomIcon","innerProps","isDisabled","marginInline","getValue","indexOf","Select","onChange","isFunction","onBlur","components","DropdownIndicator","GoogleButton","registerData","userGoogleData","setUserGoogleData","authorizeGoogleAccount","Authorization","catch","getUserInfo","access_token","userInfo","social_provider_id","sub","social_provider_type","first_name","given_name","second_name","family_name","sign_in","setOpenModal","useGoogleLogin","onSuccess","onError","openModal","GoogleIcon","onClose","Box","sx","maxHeight","overflowY","sm","md","faChevronDown","_userGoogleData$data","_userGoogleData$data2","_userGoogleData$data3","_userGoogleData$data4","Or","useQuery","URLSearchParams","search","emailPattern","LOGIN_SCHEMA","Yup","shape","required","nullable","matches","Login","isLoginOpen","onLoginClose","isVerification","query","isShowPassword","setIsShowPassword","setPasswordStatus","Bookshelves","Formik","initialValues","validationSchema","onSubmit","Form","medblendLogo","setOpenLogin","setLoginTrigger","trigger","setbooks","renderBookList","bookList","List_margin_top","xs","iconFacebook","iconTwitter","iconInstagram","iconLinkedin","_header$clientHeight","headerOffset","offsetPosition","getBoundingClientRect","pageYOffset","behavior","BookProfile","EmptyState","faFolderOpen","SwapVerticalIcon","xmlnsXlink","xlinkHref","mask","CategoriesListIcon","cx","cy","r","CategoriesListIconMenu","setSelectedCategory","selectedCategoryId","anchorEl","setAnchorEl","categoryListRef","handleSelectAndClose","currentTarget","Menu","anchorOrigin","vertical","horizontal","transformOrigin","PaperProps","ITEM_HEIGHT","category","MenuItem","selected","getParams","listType","show_details","getBooksListFromStore","booksList","metaData","Filters","setSelectedCategoryId","booksFilters","loginData","selectWidth","setselectWidth","handleSort","customeSelectMenuStyle","right","_document","querySelector","click","BackArrow","CloseButtonIcon","BackButton","otherWise","useHistory","goBack","faAngleLeft","BooksListing","isPaginated","fullLibrarySlug","hasFooter","isLoading","paddingTop","xl","listButtonWrapper","handleLoadMore","listButton","LockIcon","x","y","filterUnits","dx","dy","result","stdDeviation","values","LinearProgressWithPagesLeft","currentProgress","totalPages","LinearProgress","_finalTest$details2","test_view_mode","isModal","ImageModalTest","setImageModalTest","allTestAnswers","setAllTestAnswers","isView","handleTestButtonClick","route","Typography","Lightbox","mainSrc","onCloseRequest","questions","question","questionId","_question$answer_choi","_finalTest$user_answe3","_finalTest$user_answe4","image_url","Group","answer_choices","_finalTest$user_answe","_finalTest$user_answe2","answer","answer_choice_id","correct","userAnswer","user_answers","answer_id","question_id","checked","questionExist","ans","oldAnswers","collectAnswers","justification","justification_image_url","_finalTest$details","_finalTest$details$qu","setNewFinalTestAnswerRequest","ViewScoreFinalTest","_finalTestAnswers$use","_finalTestAnswers$use2","_finalTestAnswers$use3","finalTestAnswers","viewFinalTestFunc","setModeFinalTest","mode","CircularProgressbar","round","handleBackButtonClick","FinalTestWraper","bookID","firstTimeAnswering","wrapperMode","testViewMode","testMode","FinalTestModal","DicomViewer","imageIds","imageLinks","setImageLinks","image","CornerstoneViewport","tools","viewportOverlayComponent","CustomOverlay","Play","KEEP_LINE_SPACES","strongPasswordPattern","MaterialPreview","withModal","isBookSubscribed","newTabIconHovered","setNewTabIconHovered","renderPreview","videoWithControls","Video","Photo","modalWrapper","emptyPreview","videoCover","additionalWrapper","renderModalPreview","WrappedPreview","ReactPlayer","controls","file","attributes","controlsList","images","MaterialModal","_details$diagnosis","_details$description","xBtn","faTimes","material_type","marginTop","description","dangerouslySetInnerHTML","__html","diagnosis","replace","rel","iconOpentext","visibility","openTab","iconOpen","TestModal","_bookSingleTest$secti","_bookSingleTest$test_","_bookSingleTest$test_2","testQuestionAnwseredView","setTestQuestionAnwseredView","notTestAllAnsweredOptionl","setNotTestAllAnsweredOptionl","setImageModalToBook","getTotalScore","handleButtonClick","buttonClicked","setButtonClicked","promiseResult","_promiseResult$data$t","_promiseResult$data$t2","_promiseResult$data$t3","_promiseResult$data$t4","test_questions","every","sections_results","toLowerCase","total_points","row","percentage","qs","_qs$test_answer_choic","test_answer_choices","some","_question$test_answer","_question","_question2","_question3","_question4","_question5","_question6","answerId","test_answer_choice_id","test_question_id","test_type","submitAnAnswer","is_mandatory","BookChapters","outline","setMobileModalOpened","isSmallScreen","useMediaQuery","maxWidth","o","linkService","goToDestination","dest","lecturesModal","testsModal","notesModal","bookModal","io","iindex","bootstrapBreakPoints","Map","set","useWindowSize","setWidth","setHeight","innerHeight","breakPointValue","setBreakPointValue","handleResize","breakPoint","TitleWithSubtitle","subtitle","BookInfo","PDFViewerSample","sampleWrapper","PDFViewerFull","sendBookMarksToParent","setCurrentPage","setPagesNumber","setNotes","clickPrintScreen","inpFld","setAttribute","select","execCommand","stopPrntScr","iframeRef","interval","setInterval","clipboardData","setData","AccessClipboardData","clearInterval","setPosition","selectionRegion","iframe","iframeWindow","contentWindow","onPageChangeInIFrame","fullscreenElement","currentPageLocalComponent","PDFViewerApplication","handlePageChange","onload","pdfViewerApplication","eventBus","on","_iframeWindow$PDFView","_iframeWindow$PDFView2","pdfDocument","pdfOutlineViewer","getOutline","once","oncontextmenu","pdfWidth","contentDocument","scrollWidth","initialScroll","backendUrl","onContextMenu","fullWrapper","preventScrollcls","itemType","PDFViewer","renderViewer","BookPdfViewer","handleBookMarks","renderPdfViewer","QuizPreview","_quizDetails$question2","_quizDetails$question3","_quizDetails$question4","_quizDetails$question5","_quizDetails$question6","_quizDetails$question7","_quizDetails$question8","_quizDetails$question9","_quizDetails$question10","questionAnswers","setQuestionAnswer","userAnswers","setUserAnswers","_quizDetails$question","_question$user_answer","_question$user_answer2","user_answer","quizCover","quiz_id","TestSvg","quiz_title","user_gained_points","_qs$answer_choices","book_quiz_id","addUsersAnswer","keys","Test","setTestTypeQuestion","isPreTestSolved","setIsPreTestSolved","_bookSingleTest$test_4","_bookSingleTest$test_3","postTestAnswered","preTestAnswered","bookTestCheck","_bookTestCheck$data","_bookTestCheck$data$t","_bookTestCheck$data$t2","_bookTestCheck$data2","_bookTestCheck$data2$","fetchData","RenderTooltip","OverlayTrigger","overlay","Tooltip","RenderPostTest","MaterialPreviewStyles","setModalData","SurveyPreview","survey","surveySVG","FinalTestPreview","AssignmentIcon","marginRight","MobileSupplementaries","_singleBookSupplement","_singleBookSupplement2","_getSupplementaryType","_singleBookSupplement3","_singleBookSupplement4","setImageModalFromTest","supplementariesContainerRef","hideSupplementeries","setHideSupplementeries","isQuizzesExist","isTestExist","isSupplementaryExist","singleSupplementary","_singleSupplementary$","_getSupplementaryType2","TestPreview","faChevronUp","SurveyBody","_survey$survey_questi","_$uniq","_survey$survey_questi2","_survey$survey_questi3","getSurveyData","closeSurveyModal","setOpenCertificateModal","lastPage","setAnswers","disabledSurvey","setdisabledSurvey","answerArr","typesOfQuestions","survey_questions","question_type","answerMCQQuestion","el","survey_question_id","survey_question_answer_choice_ids","updateOpenEndedAnswer","answerOpenEndQuestion","open_ended_answer","uniq","from","Set","q","is_mcq_single_choice","survey_question_answer_choices","answer_choice","rating","answerRatingQuestion","openEnded","onInput","_el$survey_question_a","survey_id","_finalTest$finalTest","_finalTest$finalTest$","_bookSingleTest$note","testAllAnwsered","closeTestModal","setSectionScorePopUp","scoreView","setScoreView","VideoIcon","IsIconActive","clipRule","TestIconBookView","AllBookTestsComponent","chapterQuizzes","testResults","setTestsResults","quizResults","setQuizResults","fetchURL","promiseArray","all","_thisTest$test_questi","_thisTest$test_questi2","thisTest","isPostTestSolved","fetchTests","promiseArrayQuiz","nestedPromiseResult","_thisQuiz$questions","thisQuiz","isQuizSolved","fetchQuizzes","renderTestSpan","_testResults$index","_testResults$index2","testDisabled","testiconBW","AllBookTestsContainerDivBookView","_testResults$index3","_testResults$index4","_testResults$index5","_testResults$index6","_chapterQuizzes$index","_sortedTests$index","_testResults$index7","pagesContainerComplete","pagesContainerInProgress","outerSupplementariesContainer","outerSupplementariesContainerComplete","quiziconBW","_quizResults$index","_quizResults$index$i","goToFinalTestOrScoreView","MobileDrawerBookView","onClickClose","_event$target","_event$target$parentE","_event$target$parentE2","_event$target2","_event$target2$parent","_event$target2$parent2","_event$target2$parent3","tagName","parentElement","classList","WrapContainer","headerOfContainer","arrowBackBookViewMobile","marginLeft","tabIndex","role","NoteIconBookView","ListIconsBookView","Supplementaries","supplementaries","supplementaries_container","supplementaryCol","BookViewer","_singleCertificate$ce7","_singleCertificate$ce8","_singleBook$book_prog5","_singleBook$old_versi","_singleBook$old_versi2","_singleBook$old_versi3","_singleBook$old_versi4","_singleBook$book_prog6","currentUser","openMobileModal","sectionScoredAlert","setSectionScoredAlert","sectionPreScoredPages","setSectionPreScoredPages","canvasRef","canvasDivRef","setCanvasDivRef","setPdfViewer","setOutline","setSurvey","setbookTest","setTestType","testTypeMandatory","setTestTypeMandatory","openTestModal","setOpenTestModal","setTestAllAnwsered","pagesNumber","openCertificateModal","_currentUser$institut","pdfViewerOutline","booksViewedTests","renderTest","has_survey","checkForScoreSectionPopUp","_singleBook$sections_","sectionPreScoredPagesArr","section","pre_test_score_percentage","section_from","currentTest","exitFullscreen","openTest","setOpenSurvey","setCurrentPageToBook","updatedTests","displayCertificate","ctx","usersName","user_name","bookName","bookauthor","author_name","canvasWidth","min","canvasHeight","dpr","devicePixelRatio","canvasCenterX","Image","CertificateMedblend","_singleCertificate$ce4","_singleCertificate$ce5","_singleCertificate$ce6","imageSmoothingQuality","drawImage","baseFontSize","font","fillStyle","demotitle","certificate_title","fillText","demobookNameindex","lastIndexOf","creditType","certificate_type","certificateDescription","certificate_description","demoDescription1index","certificateRequested","setCertificateRequested","fetchCertificate","hours_of_participation","displayCertificateCME","_singleCertificate$ce","_singleCertificate$ce2","_singleCertificate$ce3","SubmissionEdit","submission_date","split","reverse","issueDate","issue_date","issueDateEdited","certificateID","certificate_unique_id","hours","CertificateCME","maxLineLength","breakIndex","firstLine","secondLine","maxBookLineLength","bookBreakIndex","firstBookLine","secondBookLine","showSupplementaries","setShowSupplementaries","imageTitle","initCheckForScoreSectionPopUp","ModalComponent","handleCloseCertificate","_singleCertificate$ce9","downloadCertificateCME","imgData","jsPDF","orientation","unit","internal","pageSize","getWidth","pdfHeight","getHeight","aspectRatio","imgWidth","imgHeight","addImage","downloadCertificate","href","download","handleClose","CourseVidsIcon","CourseQuizezIcon","old_version_book","deprecation","BookIcon","deprecation_date","PayPalButtonDefault","PayPalButton","vault","clientId","currency","createSubscription","plan_id","paypal_plan_id","onApprove","payment_gateway","subscription_id","subscriptionID","layout","PayPalButtonDiscount","_resposone$data","_resposone$data$book_","resposone","CheckoutForm","promocodeDiscount","promocodeDiscountSaved","promocodeApplied","country_id","enableReinitialize","Checkout","AuthLayout","authWrapper","RESET_PASSWORD_SCHEMA","new_password","confirm_password","oneOf","EMAIL_SCHEMA","ForgetPassword","isShowConfirmPassword","setIsShowConfirmPassword","emailRegester","setEmailRegester","handlePasswordSubmit","reset_password_token","resetNewPassword","handleEmailSubmit","submitForm","isValid","faEyeSlash","faEye","AboutUs","bullet","Icon","missionSvg","solutionSvg","contentSvg","path","thumbnail","first","setfirst","poster","AuthorsBooksListing","EditorsBooksListing","ProgramBooksListing","_program$books","program_director","ButtonMui","PeopleAltIcon","ForumIcon","BooksSearchBox","textWrapper","slogan","handleSubmit","searchInputWrapper","iconBackGround","faSearch","BooksSearch","FeaturedBooks","featuredList","CONTACT_US_SCHEMA","ContactUs","resetForm","email_address","email_subject","email_body","RenderContactUsForm","DropDown","_user$institution_sub","buttonText","dropList","menuButtonClassName","menuBodyClassName","showAllUserMenu","BootstrapDropDown","Toggle","Item","as","activeLinkClass","setdropList","location","dropListData","splice","homeLink","handleScroll","sectionId","otherLinks","parentNode","userName","Navbar","collapseOnSelect","expand","sticky","Nav","navListWrapper","profile_menu_container","profile_user_name_hi","profile_user_name","substring","Figure","figure_container","userImage","profile_menu_btn","profile_menu","Home","_links$children","links","isUser","isAuthorOrEditor","SearchBooks","VerifyYourAccount","verifyImage","handleResend","Checkbox","isLabelBefore","REGISTER_SCHEMA","when","is","notRequired","otherwise","job_id","isTrue","CONFIG","bucketName","dirName","region","accessKeyId","secretAccessKey","s3Url","uploadToS3","fileName","S3Client","S3","uniqueFileName","getTime","uploadFile","Registration","setImage","formData","setformData","googleUserData","onDrop","acceptedFiles","getRootProps","getInputProps","useDropzone","maxFiles","accept","registerType","googleId","registerNewUser","phone","familyName","givenName","URL","createObjectURL","uploadImg","personalImage","onRegisterClose","setSingleSupplementary","chapterIndex","setChapterIndex","nextSupplementary","setNextSupplementary","previousSupplementary","setPreviousSupplementary","foundSupplementary","flat","chapterNumberfromIndex","nextSuplementary","allSubsForBook","currentSupplementIndex","_allSubsForBook$i","getNextSupplementary","previousSuplementary","_allSubsForBook$i2","getPreviousSupplementary","prev","localData","handleProgress","played","minHeight","linkLectures","navigatToLecturesPage","libraryVideologo","libraryVideoSVG","_singleSupplementary$2","_singleSupplementary$3","onProgress","videoWrapper","PlayDisabledIcon","SupplementaryLinksContainer","previousSupplementaryLink","SupplementaryLink","Arrow","bookButton","goToBookView","nextSupplementaryLink","Pagination","defaultPage","handleChange","CustomPagination","titleClass","clickable","UserSubscribedBookList","btn_text","isSubscriptionlist","currentBook","setCurrentBook","_canvasRef$current","_canvasRef$current$ge","clearRect","openCancelSubscriptionModal","setOpenCancelSubscriptionModal","setReason","setPage","paginate","subscription_management_container","subscription_management_card","card_body","_currentBook$book_pro","_currentBook$book_pro2","_currentBook$book_pro3","_currentBook$book_pro4","_currentBook$book_pro5","_currentBook$book_pro6","btn_state_text","subscriptionId","subscription_end_date","bookSingleConatiner","book_name_author","faCheckCircle","ProgressBar","now","mtSmall0","can_cancel_subscription","cancel_subs_btn","unsubscibedStatus","handlePagination","textArea","unsubscribeSelectedBook","_selectedBook$","BookList","subscriped_books_container","CertificatesList","certificatesList","currentCertificate","setCurrentCertificate","setTimeout","_currentCertificate$c","_currentCertificate$c2","_currentCertificate$c3","_currentCertificate$c4","_currentCertificate$c5","certificate_container","certificate_card","_certificate$certific","certificateConatiner","certificate_author","certificate_img","certificate_version","book_version","showCertificate_btn","_currentCertificate$c6","Certificates","certificates_container","CHANGE_PASSWORD_SCHEMA","old_password","ChangePassword","isShowOldPassword","setIsShowOldPassword","isShowNewPassword","setIsShowNewPassword","ProfileInfo","disableForm","setdisableForm","profileimage","setProfileImage","disabledFormFeild","imageDisabled","selectContainer","edit","SubscriptionManagement","Verification","verificationToken","AllBookSupplementaries","backButton","goToBookViewer","headerText","buttonsContainer","buttonLeft","handleVidButtonClick","buttonRight","buttonSelected","StudentsOrTopics","isTopic","isStudents","isInViewTopic","setprogramId","marginBottom","modules","toolbar","indent","newTopicContent","setNewTopicContent","newTopicTitle","setNewTopicTitle","quill","program_id","oldTopic","inputError","setInputError","TextField","fontStyle","QuillEditor","theme","formats","setTopicRequest","editOldTopicRequest","LoginPage","DeleteIconTopic","SingleComment","triggerDeleteModal","margin","gap","_Topic$comments","openDelete","setOpenDelete","setMessage","topic_comment","addDirectorCommentRequest","addCustomerCommentRequest","closeDeleteModal","wordWrap","WebkitBoxOrient","textOverflow","domNode","attribs","arrow","EditIcon","goToEditTopic","comments","faPlay","deleteComment","deleteDirectorCommentRequest","deleteCustomerCommentRequest","PayPalButtons","planId","Promocode","_getPromoCodePlanId","defaultPromoResult","discount_price","appliedPromoData","setAppliedPromoData","disabledInput","setdisabledInput","caches","names","getDiscountedPrice","promoName","_subscribeBookSelecte","promo_plans","pl","getPromoCodePlanId","promocode_name","QuizDisplay","bookPage","ProgressTable","mb","TableContainer","Table","borderCollapse","TableHead","TableRow","TableCell","borderBottom","TableBody","course","courseIndex","_course$tests$","_course$tests$$test","_course$tests$2","_course$tests$2$test_","Fragment","alignContent","verticalAlign","test_report","post_test_score","testIndex","_test$test","_test$test_report","_currentStudent$user","_currentStudent$user2","_currentStudent$user3","studentId","currentStudent","imgTest","ProgressbarMatrialUi","finalTestScore","mr","flex","ml","mt","textDecoration","SingleRow","scope","activeCourse","latestDate","dateOfCourse","findActiveCourse","align","reduce","acc","pre_test_score","IconButton","KeyboardArrowUpIcon","KeyboardArrowDownIcon","colSpan","timeout","unmountOnExit","Paper","totalChapters","passedChapters","_test$test_report2","calculatePercentage","final_score","SearchIcon","TableStudents","searchName","setSearchName","editArray","setEditArray","completeNameA","completeNameB","flexGrow","handleSearchChange","TestDisplay","_bookSingleTest$secti2","_bookSingleTest$secti3","_bookSingleTest$secti4","testTypeString","parseInt","FolderIcon","ArrowRightCircle","strokeLinejoin","DeleteIcon","SingleRowTopic","boxSizing","whiteSpace","WebkitLineClamp","created_at","justifyItems","goToShowTopicDetails","deleteSpacificTopic","deleteSingleTopicRequest","TableTopics","AllTopics","getCustomerTopicsRequest","getAllTopicsRequest","editArrayTopics","setEditArrayTopics","navigToAddNewTopic","InstitutionBooks","_book$book_progress","_book$book_progress2","_book$book_progress3","_book$book_progress4","InstitutionBooksList","SubscriberRoute","computedMatch","bookIdInt","InputWithLabel","CardNumberInput","setInput","formattedValue","maxLength","minLength","CVVInput","inputValue","ExpiryDateInput","Routes","Router","Switch","exact","Verify","_appliedPromoCode$dis","billingAddressDefaults","last_name","address","zip","setBillingAddress","paymentData","setPaymentData","card_number","expiry","cvv","promocodeInput","setPromocodeInput","appliedPromoCode","setappliedPromoCode","isFreePromocode","payment","bill_to","ship_to","amount","customer","promo_code_name","createSubscribtion","entries","handleBillingAddressChange","cardNumbers","replaceAll","oldPaymetData","_value$replaceAll","cardDate","AllBookVideos","AllBookTests","csvData","setCsvData","titlesRow","quote","CSVLink","filename","CloudDownloadTwoToneIcon","Loader","Alert","MuiAlert","elevation","useStyles","makeStyles","root","spacing","Snackbar","classes","CustomizedSnackbar","autoHideDuration","severity","cacheRtl","createCache","cacheLtr","stylisPlugins","RTLSwitcher","CacheProvider","GREY","alpha","palette","common","black","white","primary","light","main","dark","contrastText","secondary","info","warning","grey","divider","paper","default","neutral","active","hover","disabledBackground","focus","hoverOpacity","disabledOpacity","dir","createTheme","direction","typography","MuiProvider","setDir","removeAttribute","themeProvider","ThemeProvider","SubscriptionLoader","currentlyLoadingBookId","setCurrentlyLoadingBookId","makeSureUserSubscribed","snackbarContainer","snackbarWrapper","Toast","autohide","subscriptionLoader","toast","App","setCurrentLang","cornerstoneTools","external","cornerstone","Hammer","cornerstoneMath","init","cornerstoneWADOImageLoader","dicomParser","webWorkerManager","maxWebWorkers","navigator","hardwareConcurrency","startWebWorkersOnDemand","taskConfiguration","decodeTask","initializeCodecsOnStartup","usePDFJS","strict","IntlProvider","defaultLocale","ReactDOM","GoogleOAuthProvider","Provider"],"mappings":"+FACAA,EAAOC,QAAU,CAAC,QAAU,wBAAwB,eAAiB,+BAA+B,YAAY,0BAA0B,WAAW,yBAAyB,uBAAyB,uCAAuC,kBAAoB,kCAAkC,qBAAuB,qCAAqC,iBAAmB,iCAAiC,aAAe,6BAA6B,KAAO,qBAAqB,iBAAmB,iCAAiC,cAAgB,8BAA8B,mBAAqB,mCAAmC,UAAY,0B,sBCAloBD,EAAOC,QAAU,CAAC,sBAAwB,gDAAgD,MAAQ,gCAAgC,SAAW,mCAAmC,iBAAmB,2CAA2C,UAAY,oCAAoC,mBAAqB,6CAA6C,oBAAsB,8CAA8C,kBAAoB,4CAA4C,oBAAsB,8CAA8C,gBAAkB,0CAA0C,SAAW,mC,6MCA/mBD,EAAOC,QAAU,CAAC,QAAU,6BAA6B,aAAe,kCAAkC,YAAc,iCAAi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\"Header_wrapper__1WaO2\",\"navListWrapper\":\"Header_navListWrapper__383fr\",\"nav-links\":\"Header_nav-links__2BKph\",\"user-bar\":\"Header_user-bar__1-2Ua\",\"profile_menu_container\":\"Header_profile_menu_container__3Gt2U\",\"profile_user_name\":\"Header_profile_user_name__3dY76\",\"profile_user_name_hi\":\"Header_profile_user_name_hi__OANg0\",\"profile_menu_btn\":\"Header_profile_menu_btn__x_ZfD\",\"profile_menu\":\"Header_profile_menu__1PAPn\",\"icon\":\"Header_icon__l_ACE\",\"figure_container\":\"Header_figure_container__3ahGE\",\"dropdown_menu\":\"Header_dropdown_menu__VIUgn\",\"scrollSpyContainer\":\"Header_scrollSpyContainer__1Bi7r\",\"userImage\":\"Header_userImage__2molj\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"certificate_container\":\"CertificatesList_certificate_container__4Nuhk\",\"title\":\"CertificatesList_title__3dAKB\",\"subTitle\":\"CertificatesList_subTitle__1iKok\",\"certificate_card\":\"CertificatesList_certificate_card__VJexD\",\"card_body\":\"CertificatesList_card_body__3Sx9b\",\"certificate_author\":\"CertificatesList_certificate_author__3t-4b\",\"certificate_version\":\"CertificatesList_certificate_version__37tvy\",\"certificate_title\":\"CertificatesList_certificate_title__3UxA7\",\"showCertificate_btn\":\"CertificatesList_showCertificate_btn__1Icy2\",\"certificate_img\":\"CertificatesList_certificate_img__3uiYZ\",\"mtSmall0\":\"CertificatesList_mtSmall0__3Edg8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"preview\":\"QuizDisplay_preview__1sNBv\",\"emptyPreview\":\"QuizDisplay_emptyPreview__c2OxO\",\"description\":\"QuizDisplay_description__3len9\",\"videoWrapper\":\"QuizDisplay_videoWrapper__3VeXS\",\"reactPlayer\":\"QuizDisplay_reactPlayer__33VAk\",\"video\":\"QuizDisplay_video__1fvfP\",\"item\":\"QuizDisplay_item__X-TZZ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"preview\":\"TestDisplay_preview__VmmZU\",\"emptyPreview\":\"TestDisplay_emptyPreview__19lrz\",\"description\":\"TestDisplay_description__VyPn7\",\"videoWrapper\":\"TestDisplay_videoWrapper__3zlpY\",\"reactPlayer\":\"TestDisplay_reactPlayer__28fxD\",\"video\":\"TestDisplay_video__3i4S8\",\"item\":\"TestDisplay_item__1zfZy\"};","import { createBrowserHistory } from \"history\";\nexport default createBrowserHistory();\n","export const ROUTE_PATHS = {\n EditOrAddNewTopic: \"/programs/:program_id/topic/:mode/:id?\",\n DetialsTopic: \"/getprogra/:program_id/topics/:id\",\n DirectorDetialsTopic: \"/programs/getprogra/:program_id/topics/:id\",\n FinalTest: \"/FinalTest\",\n programsFinalTest: \"/programs/FinalTest\",\n authorsFinalTest: \"/authors/FinalTest\",\n FinalTestScore: \"/FinalTestScore\",\n // OldTopic: \"/programs/OldTopic\",\n Topics: \"/programs/Topics\",\n StudentsTopics: \"/Topics\",\n StudentProgress: \"/programs/StudentProgress\",\n StudentsList: \"/programs/StudentsList\",\n home: \"/\",\n authorsHome: \"/authors\",\n editorsHome: \"/editors\",\n login: \"/login\",\n programHome: \"/programs\",\n programsLogin: \"/programs/login\",\n authorLogin: \"/authors/login\",\n editorLogin: \"/editors/login\",\n missingVerification: \"/missing_verification\",\n verification: \"/verification\",\n registration: \"/registration\",\n forgetPassword: \"/forget-password\",\n bookProfile: \"/book-profile\",\n programBookProfile: \"/program/book-profile\",\n books: \"/books\",\n bookViewer: \"/book-viewer\",\n authorsBookViewer: \"/authors/book-viewer\",\n editorBookViewer: \"/editors/book-viewer\",\n programsBookViewer: \"/programs/book-viewer\",\n subscriptionManagement: \"/subscription-management\",\n userBookList: \"/subscriped-books\",\n checkout: \"/checkout\",\n // bookAllSupplementary: \"/book-all-supplementaries\",\n bookAllVideos: \"/book-all-videos\",\n bookAllTests: \"/book-all-tests\",\n programsBookAllVideos: \"/programs/book-all-videos\",\n programsBookAllTests: \"/programs/book-all-tests\",\n authorsBookAllVideos: \"/authors/book-all-videos\",\n authorsBookAllTests: \"/authors/book-all-tests\",\n supplementary: \"/supplementary\",\n authorsSupplementary: \"/authors/supplementary\",\n programsSupplementary: \"/programs/supplementary\",\n profileInfo: \"/profile-info\",\n changePassword: \"/change-password\",\n authorsChangePassword: \"/authors/change-password\",\n editorsChangePassword: \"/editors/change-password\",\n programsChangePassword: \"/programs/change-password\",\n contactUs: \"/contact-us\",\n certificates: \"/certificates\",\n institutionBooks: \"/institution-books\",\n promocode: \"/promocode\",\n bookCheckout: \"/bookCheckout\",\n testdisplay: \"/TestDisplay\",\n quizdisplay: \"/QuizDisplay\",\n programsTestDisplay: \"/programs/TestDisplay\",\n programsQuizDisplay: \"/programs/QuizDisplay\",\n authorsTestDisplay: \"/authors/TestDisplay\",\n authorsQuizDisplay: \"/authors/QuizDisplay\",\n signin: \"/SignIn\",\n editorNotes: \"/editors/notes\"\n};\n","export const SET_CURRENT_LANG = \"SET_CURRENT_LANG\";\nexport const GET_CURRENT_LANG = \"GET_CURRENT_LANG\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n lang: localStorage.getItem(\"lang\") || \"en\"\n};\n\nconst locale = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.SET_CURRENT_LANG:\n return { ...state, lang: action.lang };\n default:\n return state;\n }\n};\n\nexport default locale;\n","export const GET_BOOKS = \"GET_BOOKS\";\nexport const GET_USER_PROGRAMS = \"GET_USER_PROGRAMS\";\nexport const SET_USER_PROGRAMS = \"SET_USER_PROGRAMS\";\nexport const SET_BOOKS = \"SET_BOOKS\";\nexport const SET_BOOKS_FEATURED = \"SET_BOOKS_FEATURED\";\nexport const SET_BOOKS_FILTERS = \"SET_BOOKS_FILTERS\";\nexport const GET_RELATED_BOOKS = \"GET_RELATED_BOOKS\";\nexport const SET_RELATED_BOOKS = \"SET_RELATED_BOOKS\";\nexport const GET_SINGLE_BOOK = \"GET_SINGLE_BOOK\";\nexport const GET_AUTHOR_SINGLE_BOOK = \"GET_AUTHOR_SINGLE_BOOK\";\nexport const GET_EDITOR_SINGLE_BOOK = \"GET_EDITOR_SINGLE_BOOK\";\nexport const GET_DIRECTOR_SINGLE_BOOK = \"GET_DIRECTOR_SINGLE_BOOK\";\nexport const GET_AUTHOR_ASSIGNED_BOOKS = \"GET_AUTHOR_ASSIGNED_BOOKS\";\nexport const GET_EDITOR_ASSIGNED_BOOKS = \"GET_EDITOR_ASSIGNED_BOOKS\";\nexport const SET_CURRENT_SUBSCRIPTION_LOADER =\n \"SET_CURRENT_SUBSCRIPTION_LOADER\";\nexport const SET_SINGLE_BOOK = \"SET_SINGLE_BOOK\";\nexport const GET_SINGLE_BOOK_SUPPLEMENTRAIES =\n \"GET_SINGLE_BOOK_SUPPLEMENTRAIES\";\nexport const SET_SINGLE_BOOK_SUPPLEMENTRAIES =\n \"SET_SINGLE_BOOK_SUPPLEMENTRAIES\";\nexport const SET_SUBSCRIBE_BOOK_SELECTED =\n \"SET_SUBSCRIBE_BOOK_SELECTED\";\nexport const FAKE_SUBSCIBE_BOOK = \"FAKE_SUBSCIBE_BOOK\";\nexport const UNSUBSCIBE_BOOK = \"FAKE_UNSUBSCIBE_BOOK\";\nexport const SET_SUBSCIBED_BOOKS_ACTION =\n \"SET_SUBSCIBED_BOOKS_ACTION\";\nexport const ADD_SUBSCIBED_BOOK_ACTION = \"ADD_SUBSCIBED_BOOK_ACTION\";\nexport const GET_SUBSCRIBED_BOOKS_REQUEST =\n \"GET_SUBSCRIBED_BOOKS_REQUEST\";\nexport const GET_SUBSCRIBED_BOOKS = \"GET_SUBSCRIBED_BOOKS\";\n\nexport const GET_SUBSCRIBED_BOOKS_RESPONSE =\n \"GET_SUBSCRIBED_BOOKS_RESPONSE\";\n\nexport const SET_SUBSCRIBED_BOOKS_IDS = \"SET_SUBSCRIBED_BOOKS_IDS\";\nexport const UPDATE_BOOK_PROGRESS = \"UPDATE_BOOK_PROGRESS\";\nexport const UPDATE_BOOK_SUPPLEMENTARY_PROGRESS =\n \"UPDATE_BOOK_SUPPLEMENTARY_PROGRESS\";\nexport const GET_BOOK_SUPPLEMENTARY_PROGRESS =\n \"GET_BOOK_SUPPLEMENTARY_PROGRESS\";\nexport const SET_BOOK_SUPPLEMENTARY_PROGRESS =\n \"SET_BOOK_SUPPLEMENTARY_PROGRESS\";\nexport const GET_BOOK_QUIZZES = \"GET_BOOK_QUIZZES\";\nexport const SET_BOOK_QUIZZES = \"SET_BOOK_QUIZZES\";\nexport const GET_CERTAIN_QUIZ = \"GET_CERTAIN_QUIZ\";\nexport const SET_CERTAIN_QUIZ = \"SET_CERTAIN_QUIZ\";\n\nexport const GET_BOOK_TESTS_REQUEST = \"GET_BOOK_TESTS_REQUEST\";\nexport const GET_BOOK_TESTS_RESPONSE = \"GET_BOOK_TESTS_RESPONSE\";\n\nexport const GET_BOOK_SINGLE_TEST_REQUEST =\n \"GET_BOOK_SINGLE_TEST_REQUEST\";\nexport const GET_BOOK_SINGLE_TEST_RESPONSE =\n \"GET_BOOK_SINGLE_TEST_RESPONSE\";\n\nexport const ANSWER_BOOK_SINGLE_TEST_REQUEST =\n \"ANSWER_BOOK_SINGLE_TEST_REQUEST\";\nexport const ANSWER_BOOK_SINGLE_TEST_RESPONSE =\n \"ANSWER_BOOK_SINGLE_TEST_RESPONSE\";\n\nexport const CREATE_BOOK_TESTS_STATUS = \"CREATE_BOOK_TESTS_STATUS\";\nexport const UPDATE_BOOK_TESTS_STATUS = \"UPDATE_BOOK_TESTS_STATUS\";\n\nexport const GET_CERTIFICATE_RESPONSE = \"GET_CERTIFICATE_RESPONSE\";\nexport const GET_CERTIFICATE_REQUEST = \"GET_CERTIFICATE_REQUEST\";\nexport const GET_INSTITUTION_BOOKS_REQUEST =\n \"GET_INSTITUTION_BOOKS_REQUEST\";\nexport const GET_SINGLE_CERTIFICATE_REQUEST =\n \"GET_SINGLE_CERTIFICATE_REQUEST\";\nexport const GET_SINGLE_CERTIFICATE_RESPONCE =\n \"GET_SINGLE_CERTIFICATE_RESPONCE\";\nexport const GET_INSTITUTION_BOOKS_RESPONSE =\n \"GET_INSTITUTION_BOOKS_RESPONSE\";\n\nexport const SET_EDITOR_NOTES = \"SET_EDITOR_NOTES\";\nexport const GET_EDITOR_NOTES = \"GET_EDITOR_NOTES\";\nexport const GET_DIRECTOR_NOTES = \"GET_DIRECTOR_NOTES\";\n\nexport const REMOVE_UPDATE_BOOK_TESTS_STATUS =\n \"REMOVE_UPDATE_BOOK_TESTS_STATUS\";\n\nexport const SET_CURRENT_BOOK_PAGE = \"SET_CURRENT_BOOK_PAGE\";\nexport const GET_CURRENT_BOOK_PAGE = \"GET_CURRENT_BOOK_PAGE\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n list: [],\n meta: {},\n featured: {\n list: [],\n meta: {}\n },\n related: {\n list: [],\n meta: {}\n },\n filters: {\n search_term: null,\n category_id: null,\n sorting_term: null\n },\n singleBook: null,\n singleBookSupplementaries: [],\n SupplementariesProgress: [],\n subscibedBooks: [],\n subscibedBooksList: [],\n subscibedBooksMeta: {},\n subscibedBooksIds: [],\n certificateList: [],\n singleCertificate: {},\n certificateListMeta: {},\n subscribeBookSelected:\n JSON.parse(sessionStorage.getItem(\"bookToBuy\")) || null,\n singleBookQuizzes: [],\n singleBookTests: [],\n bookSingleTest: null,\n bookSingleTestCanceled: {},\n\n institutionBooksList: [],\n institutionBooksMeta: {},\n answerSingleTest: null,\n quiz: null,\n\n currentSunscriptionLoader:\n +localStorage.getItem(\"currentSunscriptionLoader\") || null,\n\n notes: [],\n programs: [],\n currentBookPage: 1\n};\n\nconst booksReducer = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.SET_CURRENT_BOOK_PAGE:\n return {\n ...state,\n currentBookPage: action.payload.currentBookPage\n };\n case types.SET_BOOKS:\n return {\n ...state,\n list: action.payload.list,\n meta: action.payload.meta\n };\n case types.SET_USER_PROGRAMS:\n return {\n ...state,\n programs: action.payload.programs\n };\n\n case types.SET_BOOKS_FEATURED:\n return {\n ...state,\n featured: {\n list: action.payload.list,\n meta: action.payload.meta\n }\n };\n case types.SET_CURRENT_SUBSCRIPTION_LOADER:\n if (action.payload.id) {\n localStorage.setItem(\n \"currentSunscriptionLoader\",\n action.payload.id\n );\n } else {\n localStorage.removeItem(\"currentSunscriptionLoader\");\n }\n return {\n ...state,\n currentSunscriptionLoader: action.payload.id\n };\n case types.SET_BOOKS_FILTERS:\n return {\n ...state,\n filters: {\n search_term: action.payload.search_term,\n category_id: action.payload.category_id,\n sorting_term: action.payload.sorting_term\n }\n };\n case types.SET_RELATED_BOOKS:\n return {\n ...state,\n related: {\n list: action.payload.list,\n meta: action.payload.meta\n }\n };\n // TODO: find out where we need to add this list and rename\n case types.GET_SUBSCRIBED_BOOKS_RESPONSE:\n return {\n ...state,\n subscibedBooksList: action.payload.list,\n subscibedBooksMeta: action.payload.meta\n };\n case types.SET_SINGLE_BOOK:\n return { ...state, singleBook: action.payload };\n case types.SET_SINGLE_BOOK_SUPPLEMENTRAIES:\n return { ...state, singleBookSupplementaries: action.payload };\n case types.SET_SUBSCRIBE_BOOK_SELECTED:\n return { ...state, subscribeBookSelected: action.payload };\n case types.SET_SUBSCIBED_BOOKS_ACTION:\n return { ...state, subscibedBooks: action.payload };\n case types.SET_SUBSCRIBED_BOOKS_IDS:\n return { ...state, subscibedBooksIds: action.payload };\n case types.ADD_SUBSCIBED_BOOK_ACTION:\n return {\n ...state,\n subscibedBooks: [...state.subscibedBooks, action.payload]\n };\n case types.SET_BOOK_QUIZZES:\n return {\n ...state,\n singleBookQuizzes: action.payload\n };\n case types.SET_CERTAIN_QUIZ:\n return {\n ...state,\n quizDetails: action.payload\n };\n case types.CREATE_BOOK_TESTS_STATUS:\n return {\n ...state,\n bookSingleTestCanceled: action.payload\n };\n case types.UPDATE_BOOK_TESTS_STATUS:\n // eslint-disable-next-line no-case-declarations\n const updatedObject = { ...state.bookSingleTestCanceled };\n updatedObject[action.payload.id] = {\n ...updatedObject[action.payload.id],\n [action.payload.type]: true\n };\n return {\n ...state,\n bookSingleTestCanceled: { ...updatedObject }\n };\n case types.REMOVE_UPDATE_BOOK_TESTS_STATUS:\n // eslint-disable-next-line no-case-declarations\n const removeUpdatedObject = { ...state.bookSingleTestCanceled };\n removeUpdatedObject[action.payload.id] = {\n ...removeUpdatedObject[action.payload.id],\n [action.payload.type]: false\n };\n return {\n ...state,\n bookSingleTestCanceled: { ...removeUpdatedObject }\n };\n case types.GET_BOOK_TESTS_RESPONSE:\n return {\n ...state,\n singleBookTests: action.payload\n };\n case types.GET_BOOK_SINGLE_TEST_RESPONSE:\n return {\n ...state,\n bookSingleTest: action.payload\n };\n\n case types.ANSWER_BOOK_SINGLE_TEST_RESPONSE:\n return {\n ...state,\n answerSingleTest: action.payload\n };\n\n case types.GET_CERTIFICATE_RESPONSE:\n return {\n ...state,\n certificateList: action.payload.list,\n certificateListMeta: action.payload.meta\n };\n case types.GET_SINGLE_CERTIFICATE_RESPONCE:\n return {\n ...state,\n singleCertificate: action.payload.singleCertificate\n };\n case types.GET_INSTITUTION_BOOKS_RESPONSE:\n return {\n ...state,\n institutionBooksList: action.payload.list,\n institutionBooksMeta: action.payload.meta\n };\n case types.SET_BOOK_SUPPLEMENTARY_PROGRESS:\n return {\n ...state,\n SupplementariesProgress: action.payload\n };\n case types.SET_EDITOR_NOTES:\n return {\n ...state,\n notes: action.payload.notes\n };\n\n default:\n return state;\n }\n};\n\nexport default booksReducer;\n","export const GET_CATEGORIES_REQUEST = \"GET_CATEGORIES_REQUEST\";\nexport const GET_CATEGORIES_RESPONSE = \"GET_CATEGORIES_RESPONSE\";\n\nexport const SET_CATEGORY_SEARCH = \"SET_CATEGORY_SEARCH\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n list: [],\n meta: {},\n searchKeyword: \"\"\n};\n\nconst categoriesReducer = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.GET_CATEGORIES_RESPONSE:\n return {\n ...state,\n list: action.payload.list,\n meta: action.payload.meta\n };\n case types.SET_CATEGORY_SEARCH:\n return { ...state, searchKeyword: action.payload };\n default:\n return state;\n }\n};\n\nexport default categoriesReducer;\n","export const SHOW_HIDE_LOADER = \"SHOW_HIDE_LOADER\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = false;\n\nconst loader = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.SHOW_HIDE_LOADER:\n return action.payload;\n default:\n return state;\n }\n};\n\nexport default loader;\n","export const LOGIN_REQUEST = \"LOGIN_REQUEST\";\nexport const LOGIN_RESPONSE = \"LOGIN_RESPONSE\";\nexport const LOGOUT_REQUEST = \"LOGOUT_REQUEST\";\nexport const CHANGE_PASSWORD_REQUEST = \"CHANGE_PASSWORD_REQUEST\";\nexport const CREATE_PASSWORD_REQUEST = \"CREATE_PASSWORD_REQUEST\";\nexport const SOCIAL_AUTHORIZATION = \"SOCIAL_AUTHORIZATION\";\nexport const NEW_USER_REGISTRATION = \"NEW_USER_REGISTRATION\";\nexport const EDIT_USER_INFO = \"EDIT_USER_INFO\";\nexport const USER_DETAILS = \"USER_DETAILS\";\nexport const COMPLETE_DATA_WITH_GOOGLE = \"COMPLETE_DATA_WITH_GOOGLE\";\nexport const VERIFY_USER = \"VERIFY_USER\";\nexport const RESEND_VERIFICATION_EMAIL = \"RESEND_VERIFICATION_EMAIL\";\nexport const TOGGLE_LOGIN = \"TOGGLE_LOGIN\";\nexport const LOGIN_THEN_VERIFY = \"LOGIN_THEN_VERIFY\";\nexport const RESET_NEW_PASSWORD_REQUEST =\n \"RESET_NEW_PASSWORD_REQUEST\";\nexport const SEND_EMAIL_NEW_PASSWORD = \"SEND_EMAIL_NEW_PASSWORD\";\nexport const SET_LOGIN_MODAL_TRIGGER = \"SET_LOGIN_MODAL_TRIGGER\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n login:\n JSON.parse(localStorage.getItem(\"user\")) ||\n JSON.parse(sessionStorage.getItem(\"user\")) ||\n {},\n googleCollectedData: null,\n loginModalOpen: false,\n loginModalTrigger: \"\"\n};\n\nconst authReducer = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.LOGIN_RESPONSE:\n return { ...state, login: action.payload };\n case types.COMPLETE_DATA_WITH_GOOGLE:\n return { ...state, googleCollectedData: action.payload };\n case types.TOGGLE_LOGIN:\n return { ...state, loginModalOpen: !state.loginModalOpen };\n case types.SET_LOGIN_MODAL_TRIGGER:\n return { ...state, loginModalTrigger: action.payload };\n default:\n return state;\n }\n};\n\nexport default authReducer;\n","export const SHOW_HIDE_SNACKBAR = \"SHOW_HIDE_SNACKBAR\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n showSnackbar: false,\n message: \"\",\n type: \"success\"\n};\n\nconst snackbar = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.SHOW_HIDE_SNACKBAR:\n return {\n ...state,\n showSnackbar: action.payload.isOpen,\n message: action.payload.message,\n type: action.payload.type\n };\n default:\n return state;\n }\n};\n\nexport default snackbar;\n","export const GET_COUNTRIES_REQUEST = \"GET_COUNTRIES_REQUEST\";\nexport const GET_COUNTRIES_RESPONSE = \"GET_COUNTRIES_RESPONSE\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n list: [],\n meta: {}\n};\n\nconst countriesReducer = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.GET_COUNTRIES_RESPONSE:\n return {\n ...state,\n list: action.payload.list,\n meta: action.payload.meta\n };\n default:\n return state;\n }\n};\n\nexport default countriesReducer;\n","export const GET_JOBS_REQUEST = \"GET_JOBS_REQUEST\";\nexport const GET_JOBS_RESPONSE = \"GET_JOBS_RESPONSE\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n list: [],\n meta: {}\n};\n\nconst jobsReducer = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.GET_JOBS_RESPONSE:\n return {\n ...state,\n list: action.payload.list,\n meta: action.payload.meta\n };\n default:\n return state;\n }\n};\n\nexport default jobsReducer;\n","export const SET_PAYMENT_METHOD = \"SET_PAYMENT_METHOD\";\nexport const SET_PROMOCODE_RESPONSE = \"SET_PROMOCODE_RESPONSE\";\nexport const SET_PROMOCODE_NAME_RESPONSE =\n \"SET_PROMOCODE_NAME_RESPONSE\";\n\nexport const SET_PROMOCODE_REQUEST = \"SET_PROMOCODE_REQUEST\";\nexport const SET_FREE_DISCOUNT_PROMOCODE_REQUEST =\n \"SET_FREE_DISCOUNT_PROMOCODE_REQUEST\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n paymentMethod: \"\",\n promocode: null,\n promocodeName: \"\"\n};\n\nconst checkoutReducers = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case types.SET_PAYMENT_METHOD:\n return { ...state, paymentMethod: action.payload };\n case types.SET_PROMOCODE_RESPONSE:\n return { ...state, promocode: action.payload };\n case types.SET_PROMOCODE_NAME_RESPONSE:\n return { ...state, promocodeName: action.payload };\n default:\n return state;\n }\n};\n\nexport default checkoutReducers;\n","export const BOOKS_LIST_TYPES = {\n featured: \"featured\",\n related: \"related\"\n};\n\nexport const SORT_BOOKS_OPTIONS = (messages) => {\n const { priceHigh, newsetToOldest, priceLow } = messages;\n return [\n { id: \"price_high\", value: priceHigh, label: priceHigh },\n { id: \"price_low\", value: priceLow, label: priceLow },\n { id: \"date\", value: newsetToOldest, label: newsetToOldest }\n ];\n};\n\nexport const subscriptionStatus = {\n active: \"active\",\n cancelled: \"cancelled\"\n};\n\nexport const PDF_VIEWER_WORKER_URL =\n \"/pdfjs-4.0.189-dist/build/pdf.worker.min.js\";\n\nexport const FinalTestMode = {\n Take: \"Take\",\n View: \"View\"\n};\nexport const FinalTestWrapperViewMode = {\n ViewScore: \"ViewScore\",\n ViewTest: \"ViewTest\"\n};\n","export const SET_OPEN_MATERIAL_MODAL = \"SET_OPEN_MATERIAL_MODAL\";\nexport const SET_OPEN_TEST_MODAL = \"SET_OPEN_TEST_MODAL\";\nexport const SET_OPEN_QUIZ_MODAL = \"SET_OPEN_QUIZ_MODAL\";\nexport const SET_MATERIAL_MODAL_DATA = \"SET_MATERIAL_MODAL_DATA\";\nexport const SET_TEST_MODAL_DATA = \"SET_TEST_MODAL_DATA\";\nexport const SET_QUIZE_MODAL_DATA = \"SET_QUIZE_MODAL_DATA\";\nexport const SET_IS_LOGGED_IN_AUTHOR = \"SET_IS_LOGGED_IN_AUTHOR\";\nexport const SET_OPEN_SURVEY = \"SET_OPEN_SURVEY\";\nexport const SET_OPEN_FINAL_TEST_MODAL = \"SET_OPEN_FINAL_TEST_MODAL\";\nexport const SET_FINAL_TEST_MODE = \"SET_FINAL_TEST_MODE\";\nexport const SET_FINAL_TEST_WRAPPER_MODE =\n \"SET_FINAL_TEST_WRAPPER_MODE\";\n","import {\n FinalTestMode,\n FinalTestWrapperViewMode\n} from \"../../utils/Constants\";\nimport {\n SET_IS_LOGGED_IN_AUTHOR,\n SET_MATERIAL_MODAL_DATA,\n SET_OPEN_MATERIAL_MODAL,\n SET_OPEN_QUIZ_MODAL,\n SET_OPEN_SURVEY,\n SET_OPEN_TEST_MODAL,\n SET_QUIZE_MODAL_DATA,\n SET_TEST_MODAL_DATA,\n SET_OPEN_FINAL_TEST_MODAL,\n SET_FINAL_TEST_MODE,\n SET_FINAL_TEST_WRAPPER_MODE\n} from \"./types\";\n\nconst INITIAL_STATE = {\n showMaterialModal: false,\n materialData: {\n details: {},\n type: 0,\n src: \"\",\n dicomImages: []\n },\n showTestModal: false,\n testData: {\n testTypeQuestion: \"\",\n testType: -1,\n setImageModal: () => {},\n markTestAsSolved: () => {},\n // setNotTestAllAnsweredOptionl: () => {},\n bookTest: {}\n },\n showQuizeModal: false,\n quizeData: {},\n showSurvey: false,\n showFinalTest: false,\n modeFinalTest: FinalTestMode.Take,\n finalTestWrapperViewMode: FinalTestWrapperViewMode.ViewScore,\n isLoggedInAuthor: false\n};\n\nconst utilities = (state = INITIAL_STATE, action) => {\n switch (action.type) {\n case SET_OPEN_MATERIAL_MODAL:\n return {\n ...state,\n showMaterialModal: action.payload\n };\n\n case SET_OPEN_TEST_MODAL:\n return {\n ...state,\n showTestModal: action.payload\n };\n\n case SET_OPEN_QUIZ_MODAL:\n return {\n ...state,\n showQuizeModal: action.payload\n };\n\n case SET_OPEN_SURVEY:\n return {\n ...state,\n showSurvey: action.payload\n };\n case SET_OPEN_FINAL_TEST_MODAL:\n return {\n ...state,\n showFinalTest: action.payload\n };\n case SET_FINAL_TEST_MODE:\n return {\n ...state,\n modeFinalTest: action.payload\n };\n case SET_FINAL_TEST_WRAPPER_MODE:\n return {\n ...state,\n finalTestWrapperViewMode: action.payload\n };\n\n case SET_MATERIAL_MODAL_DATA:\n return {\n ...state,\n materialData: {\n details: action.payload.details,\n type: action.payload.type,\n src: action.payload.src,\n dicomImages: action.payload.dicomImages\n }\n };\n\n case SET_TEST_MODAL_DATA:\n return {\n ...state,\n testData: {\n testTypeQuestion: action.payload.testTypeQuestion,\n testType: action.payload.testType,\n setImageModal: action.payload.setImageModal,\n markTestAsSolved: action.payload.markTestAsSolved,\n bookTest: action.payload.bookTest\n // setNotTestAllAnsweredOptionl:\n // action.payload.setNotTestAllAnsweredOptionl\n }\n };\n case SET_QUIZE_MODAL_DATA:\n return {\n ...state,\n quizeData: {}\n };\n case SET_IS_LOGGED_IN_AUTHOR:\n return {\n ...state,\n isLoggedInAuthor: action.payload\n };\n\n default:\n return state;\n }\n};\n\nexport default utilities;\n","export const GET_STUDENTSLIST_REQUEST = \"GET_STUDENTSLIST_REQUEST\";\nexport const GET_STUDENTSLIST_RESPONSE = \"GET_STUDENTSLIST_RESPONSE\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n resList: [],\n searchKeyword: \"\"\n};\n\nconst studentsListReducer = (state = INITIAL_STATE, actions) => {\n switch (actions.type) {\n case types.GET_STUDENTSLIST_RESPONSE:\n return {\n ...state,\n resList: actions.payload.resList\n };\n default:\n return state;\n }\n};\n\nexport default studentsListReducer;\n","export const ADD_TOPIC_REQUEST = \"ADD_TOPIC_REQUEST\";\nexport const ADD_TOPIC_RESPONSE = \"ADD_TOPIC_RESPONSE\";\nexport const GET_CURRENT_PROGRAM_REQUEST =\n \"GET_CURRENT_PROGRAM_REQUEST\";\nexport const GET_CURRENT_PROGRAM_RESPONCE =\n \"GET_CURRENT_PROGRAM_RESPONCE\";\nexport const GET_ALL_TOPICS_REQUEST = \"GET_ALL_TOPICS_REQUEST\";\nexport const GET_CUSTOMER_TOPICS_REQUEST =\n \"GET_CUSTOMER_TOPICS_REQUEST\";\nexport const GET_ALL_TOPICS_RESPONCE = \"GET_ALL_TOPICS_RESPONCE\";\nexport const GET_SINGLE_TOPIC_REQUEST = \"GET_SINGLE_TOPIC_REQUEST\";\nexport const GET_SINGLE_TOPIC_STUDENT_REQUEST =\n \"GET_SINGLE_TOPIC_STUDENT_REQUEST\";\nexport const GET_SINGLE_TOPIC_RESPONCE = \"GET_SINGLE_TOPIC_RESPONCE\";\nexport const DELETE_SINGLE_TOPIC_REQUEST =\n \"DELETE_SINGLE_TOPIC_REQUEST\";\nexport const DELETE_SINGLE_TOPIC_RESPONCE =\n \"DELETE_SINGLE_TOPIC_RESPONCE\";\nexport const ADD_CUSTOMER_COMMENT = \"ADD_CUSTOMER_COMMENT\";\nexport const ADD_DIRECTOR_COMMENT = \"ADD_DIRECTOR_COMMENT\";\nexport const DELETE_CUSTOMER_COMMENT = \"A DELETE_CUSTOMER_COMMENT\";\nexport const DELETE_DIRECTOR_COMMENT = \"A DELETE_DIRECTOR_COMMENT\";\nexport const EDIT_TOPIC_REQUEST = \"EDIT_TOPIC_REQUEST\";\nexport const EDIT_TOPIC_RESPONSE = \"EDIT_TOPIC_RESPONSE\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n loading: false,\n currentProgram: {},\n TopicsList: [],\n Topic: {}\n};\n\nconst TopicsReducer = (state = INITIAL_STATE, actions) => {\n switch (actions.type) {\n case types.ADD_TOPIC_REQUEST:\n return { ...state, loading: true };\n\n case types.ADD_TOPIC_RESPONSE:\n return { ...state, loading: false };\n\n case types.GET_CURRENT_PROGRAM_RESPONCE:\n return {\n ...state,\n currentProgram: actions.payload.currentProgram\n };\n\n case types.GET_ALL_TOPICS_RESPONCE:\n return {\n ...state,\n TopicsList: actions.payload.data.TopicsList\n };\n\n case types.GET_SINGLE_TOPIC_RESPONCE:\n return {\n ...state,\n Topic: actions.payload.Topic\n };\n\n case types.DELETE_SINGLE_TOPIC_RESPONCE:\n return {\n ...state,\n TopicsList: state.TopicsList.filter(\n (topic) => topic.id !== actions.payload.topicId\n )\n };\n\n default:\n return state;\n }\n};\n\nexport default TopicsReducer;\n","export const GET_FINAL_TEST_REQUEST = \"GET_FINAL_TEST_REQUEST\";\nexport const GET_FINAL_TEST_RESPONSE = \"GET_FINAL_TEST_RESPONSE\";\nexport const SET_NEW_FINAL_TEST_ANSWER_REQUEST =\n \"SET_NEW_FINAL_TEST_ANSWER_REQUEST\";\nexport const SET_NEW_FINAL_TEST_ANSWER__RESPONSE =\n \"SET_NEW_ANSWER_FINAL_TEST_ANSWER_RESPONSE\";\n","import * as types from \"./types\";\n\nconst INITIAL_STATE = {\n loading: false,\n finalTest: {},\n resultOfAnswer: {}\n};\n\nconst FinalTestReducer = (state = INITIAL_STATE, actions) => {\n switch (actions.type) {\n case types.GET_FINAL_TEST_RESPONSE:\n return {\n ...state,\n finalTest: actions.payload.finalTest\n };\n case types.SET_NEW_FINAL_TEST_ANSWER__RESPONSE:\n return {\n ...state,\n resultOfAnswer: actions.payload.resultOfAnswer\n };\n default:\n return state;\n }\n};\n\nexport default FinalTestReducer;\n","import { combineReducers } from \"redux\";\nimport locale from \"./Lang/reducer\";\nimport books from \"./Books/reducers\";\nimport categories from \"./Categories/reducers\";\nimport loader from \"./Loader/reducers\";\nimport auth from \"./Auth/reducers\";\nimport snackbar from \"./Snackbar/reducers\";\nimport countries from \"./Countries/reducers\";\nimport jobs from \"./Jobs/reducers\";\nimport checkout from \"./Checkout/reducers\";\nimport utilities from \"./Utilities/reducers\";\nimport studentslist from \"./StudentsList/reducers\";\nimport topics from \"./Topics/reducers\";\nimport FinalTestReducer from \"./FinalTest/reducers\";\nexport default combineReducers({\n auth,\n snackbar,\n locale,\n books,\n categories,\n loader,\n countries,\n jobs,\n checkout,\n utilities,\n studentslist,\n topics,\n FinalTestReducer\n});\n","import * as types from \"./types\";\n\nexport const showHideLoader = (data) => ({\n type: types.SHOW_HIDE_LOADER,\n payload: data\n});\n","import * as types from \"./types\";\n\nexport const showHideSnackbar = (data) => ({\n type: types.SHOW_HIDE_SNACKBAR,\n payload: data\n});\n","import * as types from \"./types\";\n\nexport const loginRequest = (payload) => ({\n type: types.LOGIN_REQUEST,\n payload\n});\n\nexport const loginThenVerify = (payload) => ({\n type: types.LOGIN_THEN_VERIFY,\n payload\n});\n\nexport const loginResponse = (payload) => ({\n type: types.LOGIN_RESPONSE,\n payload\n});\n\nexport const completeDataWithGoogle = (payload) => ({\n type: types.COMPLETE_DATA_WITH_GOOGLE,\n payload\n});\n\nexport const socialAuthorization = (payload) => ({\n type: types.SOCIAL_AUTHORIZATION,\n payload\n});\n\nexport const editUserInfo = (payload) => ({\n type: types.EDIT_USER_INFO,\n payload\n});\n\nexport const userDetails = (payload) => ({\n type: types.USER_DETAILS,\n payload\n});\n\nexport const changePassword = (payload) => ({\n type: types.CHANGE_PASSWORD_REQUEST,\n payload\n});\n\nexport const resetNewPassword = (payload) => ({\n type: types.RESET_NEW_PASSWORD_REQUEST,\n payload\n});\nexport const sendEmailNewPassword = (payload) => ({\n type: types.SEND_EMAIL_NEW_PASSWORD,\n payload\n});\n\nexport const registerNewUser = (payload) => ({\n type: types.NEW_USER_REGISTRATION,\n payload\n});\n\nexport const logoutRequest = (payload) => ({\n type: types.LOGOUT_REQUEST,\n payload\n});\n\nexport const verifyUser = (payload) => ({\n type: types.VERIFY_USER,\n payload\n});\n\nexport const resendVerificationEmail = (payload) => ({\n type: types.RESEND_VERIFICATION_EMAIL,\n payload\n});\n\nexport const toggleLogin = (payload) => ({\n type: types.TOGGLE_LOGIN,\n payload\n});\n\nexport const setLoginModalTrigger = (payload) => ({\n type: types.SET_LOGIN_MODAL_TRIGGER,\n payload\n});\n","import store from \"../../store\";\nimport { showHideLoader } from \"../../store/Loader/actions\";\nimport { showHideSnackbar } from \"../../store/Snackbar/actions\";\nimport { loginResponse } from \"../../store/Auth/actions\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport history from \"../../routes/History\";\n\nexport const isHandlerEnabled = (config = {}) => {\n return Object.prototype.hasOwnProperty.call(\n config,\n \"handlerEnabled\"\n ) && !config.handlerEnabled\n ? false\n : true;\n};\n\nexport const requestHandler = (request) => {\n if (isHandlerEnabled(request)) {\n store.dispatch(showHideLoader(true));\n }\n const customerData =\n JSON.parse(localStorage.getItem(\"user\")) ||\n JSON.parse(sessionStorage.getItem(\"user\"));\n const token = customerData?.auth_token;\n if (token) {\n request.headers[\"Authorization\"] = `Bearer ${token}`;\n }\n return request;\n};\n\nexport const successHandler = (response) => {\n const state = store?.getState();\n\n if (isHandlerEnabled(response)) {\n response.lang = state.locale.lang;\n store.dispatch(showHideLoader(false));\n }\n return response;\n};\n\nexport const errorHandler = (error) => {\n if (isHandlerEnabled(error.config)) {\n store.dispatch(showHideLoader(false));\n\n if (error?.response?.status === 401) {\n store.dispatch(loginResponse({}));\n localStorage.clear();\n history.push(ROUTE_PATHS.home);\n }\n if (error?.response?.data?.message) {\n store.dispatch(\n showHideSnackbar({\n isOpen: true,\n type: \"error\",\n message: error.response.data.message\n })\n );\n }\n }\n return Promise.reject({ ...error });\n};\n","import axios from \"axios\";\nimport {\n requestHandler,\n successHandler,\n errorHandler\n} from \"../interceptors\";\n\nexport const customer_portal = \"/customer_portal/v1\";\nexport const author_portal = \"/author_portal/v1\";\nexport const editor_portal = \"/editor_portal/v1\";\nexport const program_director_portal = \"/program_director_portal/v1\";\n\nexport const axiosInstance = (() => {\n return axios.create({\n baseURL: process.env.REACT_APP_API_BASE_URL\n });\n})();\n// Handle request process\naxiosInstance.interceptors.request.use((request) =>\n requestHandler(request)\n);\n// Handle response process\naxiosInstance.interceptors.response.use(\n (response) => successHandler(response),\n (error) => errorHandler(error)\n);\n","import {\n author_portal,\n axiosInstance,\n customer_portal,\n editor_portal,\n program_director_portal\n} from \"./\";\n\nconst getBooks = async (params) => {\n return await axiosInstance.get(`${customer_portal}/books`, {\n params\n });\n};\n\nconst getUserProgram = async ({ userId }) => {\n return await axiosInstance.get(\n `${customer_portal}/programs/user_programs/${userId}`\n );\n};\n\nconst getAuthorBooks = async (params) => {\n return await axiosInstance.get(`${author_portal}/books`, {\n params\n });\n};\nconst getEditorBooks = async (params) => {\n return await axiosInstance.get(`${author_portal}/books`, {\n params\n });\n};\n\nconst getRelatedBooks = async ({ id, params }) => {\n return await axiosInstance.get(\n `${customer_portal}/books/${id}/related_books`,\n {\n params\n }\n );\n};\nconst getAuthorRelatedBooks = async ({ id, params }) => {\n return await axiosInstance.get(\n `${author_portal}/books/${id}/related_books`,\n {\n params\n }\n );\n};\n\nconst getSingleBook = async (id) =>\n await axiosInstance.get(`${customer_portal}/books/${id}`);\nconst getAuthorSingleBook = async (id) =>\n await axiosInstance.get(`${author_portal}/books/${id}`);\nconst getEditorSingleBook = async (id) =>\n await axiosInstance.get(`${editor_portal}/books/${id}`);\nconst getDirectorSingleBook = async (id) =>\n await axiosInstance.get(`${program_director_portal}/books/${id}`);\nconst getAuthorAssignedBook = async () =>\n await axiosInstance.get(`${author_portal}/books/assigned_books`);\nconst getEditorAssignedBook = async () =>\n await axiosInstance.get(`${editor_portal}/books/assigned_books`);\n\nconst getSingeBookSupplementaries = async (params) =>\n await axiosInstance.get(\n `${customer_portal}/book_supplementary_materials`,\n { params }\n );\nconst getAuthorSingleBookSupplementaries = async (params) =>\n await axiosInstance.get(\n `${author_portal}/book_supplementary_materials`,\n { params }\n );\nconst getDirectorSingleBookSupplementaries = async (params) =>\n await axiosInstance.get(\n `${program_director_portal}/book_supplementary_materials`,\n { params }\n );\n\nconst unsubscribeBook = async ({ id, reason }) =>\n await axiosInstance.patch(\n `${customer_portal}/book_subscriptions/${id}`,\n {\n cancellation_reason: reason\n }\n );\n\nconst getSubscribedBooks = async (payload) =>\n await axiosInstance.get(`${customer_portal}/subscribed_books`, {\n params: { ...payload }\n });\n\nconst updateBookProgress = async ({ id, page, notesProgress }) => {\n if (notesProgress) {\n return await axiosInstance.patch(\n `${customer_portal}/books/update_current_progress?book_id=${id}&page=${page}`,\n {\n highlights_and_notes: { notesProgress }\n }\n );\n } else {\n return await axiosInstance.patch(\n `${customer_portal}/books/update_current_progress?book_id=${id}&page=${page}`\n );\n }\n};\n\nconst updateBookSupplementaryProgress = async ({\n book_id,\n supplementary_material_id,\n watched\n}) => {\n if (supplementary_material_id) {\n return await axiosInstance.patch(\n `${customer_portal}/books/update_supplementary_progress`,\n {\n book_id,\n supplementary_material_id,\n watched\n }\n );\n }\n};\n\nconst getBookSupplementaryProgress = async ({ book_id }) => {\n return await axiosInstance.get(\n `books/list_supplementary_progress?book_id=${book_id}`\n );\n};\n\nconst getBookQuizzes = async (payload) =>\n await axiosInstance.get(`${customer_portal}/book_quizzes`, {\n params: payload\n });\nconst getBookQuizzesForAuthors = async (payload) =>\n await axiosInstance.get(`${author_portal}/book_quizzes`, {\n params: payload\n });\nconst getBookQuizzesForDirectors = async (payload) =>\n await axiosInstance.get(`${program_director_portal}/book_quizzes`, {\n params: payload\n });\nconst getCertainQuiz = async (payload) =>\n await axiosInstance.get(\n `${customer_portal}/quizzes/${payload.id}`,\n {\n params: {\n book_id: payload.bookId,\n book_page: payload.page\n }\n }\n );\nconst getCertainQuizForAuthors = async (payload) =>\n await axiosInstance.get(`${author_portal}/quizzes/${payload.id}`, {\n params: {\n book_id: payload.bookId,\n book_page: payload.page\n }\n });\nconst getCertainQuizForDirector = async (payload) =>\n await axiosInstance.get(\n `${program_director_portal}/quizzes/${payload.id}`,\n {\n params: {\n book_id: payload.bookId,\n book_page: payload.page\n }\n }\n );\n\nconst getBookTests = async (params) =>\n await axiosInstance.get(`${customer_portal}/tests`, {\n params\n });\nconst getBookTestsForAuthor = async (params) =>\n await axiosInstance.get(`${author_portal}/tests`, {\n params\n });\nconst getBookTestsForDirector = async (params) =>\n await axiosInstance.get(`${program_director_portal}/tests`, {\n params\n });\nconst getBookSingleTest = async (payload) =>\n await axiosInstance.get(`${customer_portal}/tests/${payload.id}`);\nconst getBookSingleTestForAuthor = async (payload) =>\n await axiosInstance.get(`${author_portal}/tests/${payload.id}`);\nconst getBookSingleTestForDirector = async (payload) =>\n await axiosInstance.get(\n `${program_director_portal}/tests/${payload.id}`\n );\n\nconst answerBookSingleTest = async (payload) =>\n await axiosInstance.post(\n `${customer_portal}/test_answers/`,\n payload\n );\n\nconst getCertificateList = async (payload) =>\n await axiosInstance.get(`${customer_portal}/certificates`, {\n params: payload\n });\nconst getSinlgeCertificate = async (payload) =>\n await axiosInstance.get(\n `${customer_portal}/certificates/single_certificate`,\n {\n params: payload\n }\n );\nconst setPromocode = async (payload) =>\n await axiosInstance.get(\n `${customer_portal}/promo_codes/request_discounted_price`,\n {\n params: payload\n }\n );\nconst setFreeDiscountPromocode = async (payload) =>\n await axiosInstance.post(\n `${customer_portal}/book_subscriptions/create_free_subscription`,\n\n payload\n );\nconst getInstitutionBooksList = async (payload) =>\n await axiosInstance.get(\n `${customer_portal}/books/list_institution_books`,\n {\n params: payload\n }\n );\nconst getEditorNotesByBook = async (payload) =>\n await axiosInstance.get(\n `${editor_portal}/annotations?book_id=${payload.bookId}&IsNote=${payload.isNote}`\n );\nconst getDirectorNotesByBook = async (payload) =>\n await axiosInstance.get(\n `${program_director_portal}/annotations?book_id=${payload.bookId}&IsNote=${payload.isNote}`\n );\n\nexport {\n getBooks,\n getUserProgram,\n getRelatedBooks,\n getSingleBook,\n getSingeBookSupplementaries,\n getAuthorSingleBookSupplementaries,\n getDirectorSingleBookSupplementaries,\n getSubscribedBooks,\n unsubscribeBook,\n updateBookProgress,\n updateBookSupplementaryProgress,\n getBookSupplementaryProgress,\n getBookQuizzes,\n getBookQuizzesForAuthors,\n getBookQuizzesForDirectors,\n getCertainQuiz,\n getCertainQuizForAuthors,\n getCertainQuizForDirector,\n getBookTests,\n getBookSingleTestForAuthor,\n getBookTestsForAuthor,\n getBookTestsForDirector,\n getBookSingleTest,\n answerBookSingleTest,\n getCertificateList,\n getSinlgeCertificate,\n setPromocode,\n getInstitutionBooksList,\n setFreeDiscountPromocode,\n getAuthorBooks,\n getAuthorRelatedBooks,\n getAuthorSingleBook,\n getAuthorAssignedBook,\n getEditorAssignedBook,\n getEditorBooks,\n getEditorNotesByBook,\n getEditorSingleBook,\n getDirectorSingleBook,\n getDirectorNotesByBook,\n getBookSingleTestForDirector\n};\n","import * as types from \"./types\";\n\nexport const setCurrentPageBook = (data) => ({\n type: types.SET_CURRENT_BOOK_PAGE,\n payload: data\n});\nexport const getCurrentPageBook = () => ({\n type: types.GET_CURRENT_BOOK_PAGE\n});\nexport const getBooksAction = (data) => ({\n type: types.GET_BOOKS,\n payload: data\n});\nexport const getUserProgramAction = (data) => ({\n type: types.GET_USER_PROGRAMS,\n payload: data\n});\nexport const setUserProgramAction = (data) => ({\n type: types.SET_USER_PROGRAMS,\n payload: data\n});\nexport const getAssignedBooksAction = (data) => ({\n type: types.GET_AUTHOR_ASSIGNED_BOOKS,\n payload: data\n});\nexport const getEditoeAssignedBooksAction = (data) => ({\n type: types.GET_EDITOR_ASSIGNED_BOOKS,\n payload: data\n});\n\nexport const setBooksAction = (data) => ({\n type: types.SET_BOOKS,\n payload: data\n});\n\nexport const setBooksFeaturedAction = (data) => ({\n type: types.SET_BOOKS_FEATURED,\n payload: data\n});\n\nexport const setBooksFilters = (data) => ({\n type: types.SET_BOOKS_FILTERS,\n payload: data\n});\n\nexport const getRelatedBooksAction = (data) => ({\n type: types.GET_RELATED_BOOKS,\n payload: data\n});\n\nexport const setRelatedBooksAction = (data) => ({\n type: types.SET_RELATED_BOOKS,\n payload: data\n});\n\nexport const getSingleBookAction = (data) => ({\n type: types.GET_SINGLE_BOOK,\n payload: data\n});\nexport const getAuthorSingleBookAction = (data) => ({\n type: types.GET_AUTHOR_SINGLE_BOOK,\n payload: data\n});\nexport const getEditorSingleBookAction = (data) => ({\n type: types.GET_EDITOR_SINGLE_BOOK,\n payload: data\n});\nexport const getDirectorSingleBookAction = (data) => ({\n type: types.GET_DIRECTOR_SINGLE_BOOK,\n payload: data\n});\n\nexport const setSingleBookAction = (data) => ({\n type: types.SET_SINGLE_BOOK,\n payload: data\n});\n\nexport const getSingleBookSupplementariesAction = (data) => ({\n type: types.GET_SINGLE_BOOK_SUPPLEMENTRAIES,\n payload: data\n});\n\nexport const setSingleBookSupplementariesAction = (data) => ({\n type: types.SET_SINGLE_BOOK_SUPPLEMENTRAIES,\n payload: data\n});\n\nexport const createBookTestsStatus = (data) => {\n return {\n type: types.CREATE_BOOK_TESTS_STATUS,\n payload: data\n };\n};\n\nexport const updateBookTestsStatus = (data) => {\n return {\n type: types.UPDATE_BOOK_TESTS_STATUS,\n payload: data\n };\n};\n\nexport const removeUpdateBookTestsStatus = (data) => {\n return {\n type: types.REMOVE_UPDATE_BOOK_TESTS_STATUS,\n payload: data\n };\n};\n\n// Fake Subscribtion\n\nexport const setSubscribeBookSelected = (payload) => ({\n type: types.SET_SUBSCRIBE_BOOK_SELECTED,\n payload\n});\n\nexport const unsubscribeBook = (payload) => ({\n type: types.UNSUBSCIBE_BOOK,\n payload\n});\n\nexport const addSubscibedBookAction = (payload) => ({\n type: types.ADD_SUBSCIBED_BOOK_ACTION,\n payload\n});\n\nexport const setSubscibedBooksAction = (data) => ({\n type: types.SET_SUBSCIBED_BOOKS_ACTION,\n payload: data\n});\n\nexport const getSubscribedBooks = () => ({\n type: types.GET_SUBSCRIBED_BOOKS\n});\n\nexport const getSubscribedBooksRequest = (data) => ({\n type: types.GET_SUBSCRIBED_BOOKS_REQUEST,\n payload: data\n});\n\nexport const setCurrentSubscriptionLoader = (data) => ({\n type: types.SET_CURRENT_SUBSCRIPTION_LOADER,\n payload: data\n});\n\nexport const getSubscribedBooksResponse = (data) => ({\n type: types.GET_SUBSCRIBED_BOOKS_RESPONSE,\n payload: data\n});\n\nexport const setSubscribedBooksIds = (payload) => ({\n type: types.SET_SUBSCRIBED_BOOKS_IDS,\n payload\n});\n\nexport const updateBookProgress = (payload) => ({\n type: types.UPDATE_BOOK_PROGRESS,\n payload\n});\n\nexport const updateBookSupplementaryProgress = (payload) => ({\n type: types.UPDATE_BOOK_SUPPLEMENTARY_PROGRESS,\n payload\n});\n\nexport const getBookSupplementaryProgress = (payload) => ({\n type: types.GET_BOOK_SUPPLEMENTARY_PROGRESS,\n payload\n});\n\nexport const setBookSupplementaryProgress = (payload) => ({\n type: types.SET_BOOK_SUPPLEMENTARY_PROGRESS,\n payload\n});\n\nexport const getBookQuizzes = (payload) => ({\n type: types.GET_BOOK_QUIZZES,\n payload\n});\n\nexport const setBookQuizzes = (payload) => ({\n type: types.SET_BOOK_QUIZZES,\n payload\n});\n\nexport const getCertainQuiz = (payload) => ({\n type: types.GET_CERTAIN_QUIZ,\n payload\n});\nexport const setCertainQuiz = (payload) => ({\n type: types.SET_CERTAIN_QUIZ,\n payload\n});\n\nexport const getBookTestsResponse = (payload) => ({\n type: types.GET_BOOK_TESTS_RESPONSE,\n payload\n});\nexport const getBookTestsRequest = (payload) => ({\n type: types.GET_BOOK_TESTS_REQUEST,\n payload\n});\n\nexport const getBookSingleTestRequest = (payload) => ({\n type: types.GET_BOOK_SINGLE_TEST_REQUEST,\n payload\n});\n\nexport const getBookSingleTestResponse = (payload) => ({\n type: types.GET_BOOK_SINGLE_TEST_RESPONSE,\n payload\n});\n\nexport const answerBookSingleTestRequest = (payload) => ({\n type: types.ANSWER_BOOK_SINGLE_TEST_REQUEST,\n payload\n});\n\nexport const answerBookSingleTestResponse = (payload) => ({\n type: types.ANSWER_BOOK_SINGLE_TEST_RESPONSE,\n payload\n});\n\nexport const getCertificatetsRequest = (payload) => ({\n type: types.GET_CERTIFICATE_REQUEST,\n payload\n});\n\nexport const getcertificatetsResponse = (payload) => ({\n type: types.GET_CERTIFICATE_RESPONSE,\n payload\n});\n\nexport const getSingleCertificateRequest = (payload) => ({\n type: types.GET_SINGLE_CERTIFICATE_REQUEST,\n payload\n});\nexport const getSingleCertificateResponce = (payload) => ({\n type: types.GET_SINGLE_CERTIFICATE_RESPONCE,\n payload\n});\nexport const getInstitutionBooksRequest = (payload) => ({\n type: types.GET_INSTITUTION_BOOKS_REQUEST,\n payload\n});\n\nexport const getInstitutionBooksResponse = (payload) => ({\n type: types.GET_INSTITUTION_BOOKS_RESPONSE,\n payload\n});\nexport const setEditorNotes = (payload) => ({\n type: types.SET_EDITOR_NOTES,\n payload\n});\nexport const getEditorNotes = (payload) => ({\n type: types.GET_EDITOR_NOTES,\n payload\n});\nexport const getDireectorNotes = (payload) => ({\n type: types.GET_DIRECTOR_NOTES,\n payload\n});\n","import en from \"./en\";\nimport ar from \"./ar\";\n\nconst messages = {\n en,\n ar\n};\n\nexport default messages;\n","const en = {\n SupplementaryDisplay: {\n lectures: \"Lectures\",\n errorVideo: \"video not exist\",\n errorSupplementary: \"No supplementary content available\",\n objectSupplementaryError:\n \"This page should be visited via the book viewer\",\n previous: \"Previous\",\n next: \"Next\",\n noNextSupplementary: \"No next supplementary\",\n noPreviousSupplementary: \"No previous supplementary\"\n },\n FinalTest: {\n FinalTest: \"Final Test\",\n courseTests: \"Course Tests\",\n success: \"Success\",\n failed: \"Not well performed\",\n score: \"Total score\",\n explanation: \"Explanation \",\n answeredTest: \"is already answered\",\n bestScoreAchieved: \" The Best Score You Have Achieved\",\n viewFinalTest: \"View Fianl Test\",\n reTakeFinalTest: \"Retake Final Test\",\n allQuestionRequired: \"Please answer all questions.\",\n successfullySubmit: \"Final test submitted successfully.\",\n note: \"Note : \",\n notedescription: \"Click on any image to full screen mode\"\n },\n topic: {\n newTopic: \"New Topic\",\n title: \"Topic Name\",\n topiclist: { topicName: \"Topic Name\", date: \"Data\" },\n save: \"Save\",\n cancel: \"Cancel\",\n addMessage: \"Topic successfully added\",\n editMessage: \"Topic successfully updated\",\n addComment: \"Comment successfully Added\",\n addTopicButton: \"Add new Topic\",\n deleteMessage: \"Topic successfully deleted\"\n },\n studentsList: {\n TableHeader: {\n name: \"Name\",\n lastCourse: \"Last Course\",\n lastChapter: \"Last Chapters\"\n },\n TableProgressHeader: {\n courseName: \"Course Name\",\n chapterName: \"Chapter Name\",\n score: \"Score\"\n }\n },\n errors: {\n subscriptionError: \"You must register first to continue browsing\",\n notSubscribedError: \"You need to subscribe to access this page.\"\n },\n header: {\n digitalCourses: \"Digital Courses\",\n aboutUs: \"About us\",\n signIn: \"Sign in\",\n register: \"Register\",\n home: \"Home\"\n },\n login: {\n header:\n \"Please enter your email address and password to access your account\",\n isHaveAccount: \"Don’t have an account.\",\n createAccount: \"Create your account\",\n youNeedToVerifyYourEmail:\n \"You need to verify your email to continue\",\n resendverificationemail: \"Resend Verification email\"\n },\n signup: {\n header: \"Create a new account\",\n signUpMessage:\n \"Please enter the below information to create your account\",\n imageUpload: \"Tap or Drag your profile picture\",\n termsAgreement: \"I Agree on our terms and conditions\",\n successMessage: \"A new user has been created\",\n verificationSuccessMessage:\n \"You've successfully verified your account\",\n invalidActivationUrl: \"Invalid activation url\",\n verificaitonEmailResent: \"We have sent another verification email\"\n },\n editUserInfo: {\n header: \"Your Profile\",\n editHeader: \"Edit your Profile\",\n editUserInfoMessage:\n \"Please enter the below information to update your profile\",\n imageUpload: \"Tap or Drag your profile picture\",\n termsAgreement: \"I Agree on our terms and conditions\",\n successMessage: \"User has been updated\",\n verificationSuccessMessage:\n \"You've successfully updated your account\",\n invalidActivationUrl: \"Invalid activation url\"\n },\n changePassword: {\n header: \"New Password\",\n successMessage: \"Your password has changed successfully\",\n errorMessage: \"Submission error\"\n },\n headerMenu: {\n profileInfo: \"Edit profile info\",\n changePassword: \"Change password\",\n TermsAndCondition: \"Terms and Conditions\",\n institutionBooks: \"Institution books\",\n subscriptionManagement: \"Subscription management\",\n certificates: \"My certificates\",\n logout: \"Log out\"\n },\n inputs: {\n firstName: \"First name\",\n lastName: \"Last name\",\n phoneOptional: \"Phone number ( optional )\",\n email: \"Email address\",\n password: \"Password\",\n repeatPassword: \"Repeat password\",\n newPassword: \"Enter your New Password\",\n oldPassword: \"Enter your Old Password\",\n remeberMe: \"Remember me\",\n emailRequired: \"Email is required.\",\n passwordRequired: \"Password is required.\",\n oldPassordRequired: \"Old password is required.\",\n newPassordRequired: \"New password is required.\",\n passwordNotMatch: \"Password is not matching\",\n firstNameRequires: \"First name is required.\",\n secondNameRequires: \"Last name is required.\",\n nameMaxLength: \"Maximum length is 50 characters\",\n subjectRequired: \"Subject is required.\",\n messsageRequired: \"Message is required.\",\n emailShouldMatchEmailFormat:\n \"Please provide a vaild email format\",\n institution: \"Institution\",\n termsAgreementRequired:\n \"You must agree to the terms and condition to complete the registration successfully\",\n city: \"State/City\",\n country: \"Country\",\n job: \"Job\",\n countryRequired: \"Country is required\",\n jobReuired: \"Job is required\",\n strongPasswordRequired:\n \"Password should be at least 8 characters containing (1 Uppercase letter - 1 Lowercase letter - 1 Number)\",\n signUpWithGoogle: \"Register with Google\",\n ContinueRegisteration: \"Continue Registeration\"\n },\n copyRights: \"© Copyright medblendedu 2023\",\n contactUs: \"Contact us\",\n forgotPassword: {\n link: \"Forgot Password?\",\n header: \"Forgot Password\",\n subTitle: \"Enter your email to get the reset password link\",\n repeatPasswordRequired: \"Repeat password is required\",\n successMessage: \"Password reset successfully\",\n successemailMessage: \"Email send successuly\",\n emailTitle:\n \"write your email and the reset password link will be sent to you\"\n },\n userCertificatesList: {\n certificatesListTitle: \"My Certificates\",\n certificatesListSubTitle:\n \"Enjoy with our reading experience tools and CME hours\",\n showCertifiacte: \"Show Certifiacte\",\n yourCertificates: \"Your certificates\"\n },\n institutionBooks: {\n title: \"Institution books\"\n },\n buttons: {\n signIn: \"Sign in\",\n send: \"Send\",\n register: \"Register\",\n save: \"Save\",\n viewSample: \"View Sample\",\n getAccess: \"Get Access\",\n enroll: \"Enroll\",\n paypalCheckout: \"Checkout with PayPal\",\n stripeCheckout: \"Checkout with Stripe\",\n cancel: \"Cancel\",\n ok: \"Back to read\",\n next: \"Next\",\n resubscribe_subs_btn: \"Resubscribe\",\n read_book: \"Start reading\",\n confirm: \"Confirm\",\n submit: \"Submit\",\n preview: \"Preview\"\n },\n shared: {\n by: \"By\",\n hi: \"Hi\",\n sortBy: \"Sort by\",\n viewMore: \"View more\",\n viewLess: \"View less\",\n none: \"None\",\n emptyStateMsg: \"No results found!\",\n welcomeMessage: \"Welcome back\",\n watchNow: \"Watch Now\",\n messageSent: \"Your message is sent successfully\"\n },\n books: {\n book: \"Book\",\n bookCover: \"Book Cover\",\n pagesLeft: \"Pages Left\",\n FeaturedCoursesTitle: \"Featured Courses\",\n RelatedBooksTitle: \"Related Books\",\n viewTheFullLibrary: \"Full Library\",\n priceHigh: \"Price: High to low\",\n priceLow: \"Price: Low to high\",\n newsetToOldest: \"Release Date: Newest to oldest\",\n oldestToNewset: \"Release Date: Oldest to newest\",\n bestSeller: \"Best seller\",\n welcomeTo: \"Welcome to\",\n acoreSlogan:\n \"Medblend, Future of Medical Education Interactive CME Courses\",\n whatYouLookFor: \"What kind of book you are looking for?\",\n findHere: \"Find here..\",\n\n NameOfTabs: {\n Overview: {\n OverviewTitle: \"Overview\",\n OverviewSections: {\n brief: \"Brief\",\n sample: \"Sample\",\n content: \"Content\"\n }\n },\n Faculty: \"Faculty\",\n frontMatter: \"Front Matter\"\n },\n pageSupplementaries: \"Page Supplementaries\",\n toRead: \"To read\",\n Statistics: {\n pages: \"Pages\",\n Readinghours: \"Reading Hours\",\n Chapters: \"Chapters\",\n CME_Hours: \"CME Hours\",\n Lectures: \"Lectures\",\n quizzes: \"Quizzes\",\n Authors: \"Authors\",\n Speakers: \"Speakers\"\n },\n supplementariesIndex: \"Supplementaries Index\",\n chaptersIndex: \"Chapters Index\",\n page: \"Page\",\n mins: \"mins\",\n showYourProgress: \"Show your Progress\",\n viewAllBookSupplementaries: \"View Course Lectures\",\n courseLectures: \"Course Lectures\",\n tests: \"Tests\",\n ViewCertificate: \"View Certificate\",\n viewAllBookVideos: \"View all Book Videos\",\n lectures: \"Lectures\",\n lecture: \"Lecture\",\n chapter: \"Chapter\",\n bookVideos: \"Book Videos\",\n oldVersion: \"Old version\",\n availableHint: \"available till\",\n scoreNote:\n \" You underperform this section, please read it again\",\n noteHiglightingHint:\n \"Select the text and choose to add notes or highlights\"\n },\n program: { programName: \"Program\" },\n pdfViewer: {\n shouldSubscribeMsg:\n \"Subscribe now and get full access of reading experience tools and CME hours\",\n limtiedAccess: \"You have limited access\",\n noNote: \"There is no note\",\n AddNoteHeader: \"Add Note\",\n highligth: \"Highlight\",\n remove: \"Remove\",\n add: \"Add\",\n cancel: \"Cancel\",\n deleteHiglight: \"delete\",\n openNewTab: \" Open in a new tab\"\n },\n booksubscription: {\n yearlyPlan: \"Yearly plan\",\n subscritptionTitle: \"Subscription plan\",\n subscritptionInfo:\n \"Please select your subscription plan for your selected book\",\n subscriptionFirstServices: \"12-Month Unlimited Access to Book.\",\n subscriptionSecondService: \"Exclusive Textbook Access.\",\n subscriptionThirdService:\n \"Full Course Material Access including video lectures, quizzes, and self-assessment tests.\",\n note: \"Notes:\",\n firstNoteSubscription:\n \"Your subscription will be deducting yearly, you can unsubscribe anytime you want.\",\n secondNoteSubscription:\n \"You can also enter promo code in the next step.\"\n },\n cols: { actions: \"Actions\" },\n\n checkoutForm: {\n checkout: \"Checkout\",\n apply: \"Apply\",\n price: \"Price\",\n promocode: \"Promocode\",\n bookTitle: \"Book title\",\n checkoutStatement:\n \"Review your book details and tap on checkout to complete your books subscription\",\n promocodeStatement:\n \"Get your great discount if you have a promo code, otherwise click on Continue payment to proceed\",\n promodeSuccess: \"Promode applied successfully\",\n visaMaster: \"Visa / Master card\",\n payPal: \"PayPal\",\n billingAddress: \"Billing address\",\n nameOnCard: \"Name on Card\",\n cardNumber: \"Card Number\",\n mmYy: \"MM/YY\",\n securityCode: \"Security code\",\n zipPostalCode: \"Zip/Postal code\",\n remeberThisCard: \"Remeber this card\",\n secureConnection: \"Secure Connection\",\n completePayment: \"Complete payment\",\n byComoleting: \"By completing your purchase you agree to these\",\n termsOfService: \"Terms of service.\",\n summary: \"Summary\",\n estimatedTaxes: \"Estimated Taxes\",\n totalPrice: \"Total price\",\n quantity: \"Quantity\",\n FreeDiscountpromodeSuccess: \"Promode applied successfully\",\n removePromo: \"Remove Promocode\"\n },\n EditorNotes: {\n pagenumber: \"Page Number\",\n bookText: \"Book Text\",\n note: \"Note\",\n authorName: \"Author Name\"\n },\n userBookList: {\n booklistTitle: \"My Booklist\",\n booklistSubTitle:\n \"Enjoy with our reading experience tools and CME hours\",\n buttonCertificate: \"View certificate\",\n buttonStart: \"Start reading\",\n buttonContinue: \"Continue\",\n completed: \"Completed\",\n viewCourseLectures: \"View Course Lectures\",\n Unsubscribe: \"Unsubscribe\",\n cancelSubscription: \"Cancel subscription\",\n unSubscrribeHint:\n \"If you unsubscribe, you will lose access to that book after your subsciption duration ends and the subscription will not auto renewed \"\n },\n test: {\n title: \"Test\",\n rightAnswer: \"Correct\",\n wrongAnswer: \"Wrong\",\n success: \"Success\",\n failed: \"Not well performed\",\n score: \"Total score\",\n explanation: \"Explanation \",\n answeredTest: \"is already answered\",\n viewTest: \"View test\",\n note: \"Note : \",\n notedescription: \"Click on any image to full screen mode\",\n mark: \"Section Name\",\n sectionscore: \"Section Score%\",\n advice: \"Performance\",\n testReport: \"Test Report\",\n pretest: \"Pre-Test\",\n posttest: \"Post-Test\",\n pretestnotsolved: \"Pre-test is not solved\",\n finaltest: \"Final Test\",\n FinalTestNotFound: \"Final Test Not Found\"\n },\n quiz: {\n note: \"Note : \",\n notedescription: \"Click on any image to full screen mode\"\n },\n contact: {\n subject: \"Subject\",\n message: \"Message\",\n header: \"Contact Us\",\n headerMessage: \"\"\n },\n footer: {\n copyRight: \"© Copyright medblendedu 2023\",\n contactUs: \"Contact us\",\n aboutus: \"About us\",\n Register: \"Register\",\n signin: \"Sign in\",\n digitalCourses: \"Digital Courses\",\n acoreTitle: \"Medblend\"\n },\n aboutUs: {\n title: \"About Medblend\",\n p1: \"At Medblend, our mission is to provide a transformative educational experience that empowers learners to reach their full potential.\",\n p2: \"Our solution provides an immersive learning experience that goes beyond the limitations of traditional textbooks.\",\n p3: \"Our content is developed by leading experts in different disciplines, ensuring that they are accurate and relevant to clinical practice.\",\n p4: \"We are passionate about providing the highest quality educational resources to help modern learners take control of their educational journey and achieve their professional goals.\",\n p5: \"Join us on this exciting journey of discovery and growth as we reimagine the world of medical education.\"\n },\n aboutUs2: {\n title: \"About Medblend\",\n p1: \"We are passionate about providing the highest quality educational resources to help modern learners take control of their educational journey and achieve their professional goals.\",\n p2: \"Join us on this exciting journey of discovery and growth as we reimagine the world of medical education.\",\n bullets: [\n {\n h: \"Our Mission\",\n b: \"Our mission is to provide a transformative educational experience that empowers learners to reach their full potential.\"\n },\n {\n h: \"Our Solution\",\n b: \"Our solution provides an immersive learning experience that goes beyond the limitations of traditional textbooks.\"\n },\n {\n h: \"Our Content\",\n b: \"Our content is developed by leading experts in different disciplines, ensuring that they are accurate and relevant to clinical practice.\"\n }\n ]\n },\n contactUsText:\n \"Get in touch with us we’re here to answer any questions you may have.\"\n};\n\nexport default en;\n","// KEEP THAT FILE TO PREVENT ERROR WHEN TRYING TO TEST RTL UI\n\nconst ar = {};\n\nexport default ar;\n","import messages from \"../assets/locale/messages\";\n\nexport function capitalize(str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n}\n\nexport function metaObject(response) {\n return {\n currentPage: +response.headers[\"current-page\"],\n count: +response.headers[\"total-count\"],\n pages: +response.headers[\"total-pages\"]\n };\n}\n\nexport function writtenBy(author) {\n return `${author}`;\n}\n","import { put, call } from \"redux-saga/effects\";\nimport * as apis from \"../../network/apis/books\";\nimport _ from \"lodash\";\nimport {\n setBookQuizzes,\n setBooksAction,\n setBooksFeaturedAction,\n setCertainQuiz,\n setRelatedBooksAction,\n setSingleBookAction,\n setSingleBookSupplementariesAction,\n setBookSupplementaryProgress,\n setSubscibedBooksAction,\n setSubscribedBooksIds,\n getSubscribedBooksResponse,\n getBookSingleTestResponse,\n getBookTestsResponse,\n getcertificatetsResponse,\n getInstitutionBooksResponse,\n getSingleBookAction,\n setEditorNotes,\n setUserProgramAction,\n getSingleCertificateResponce\n} from \"./actions\";\nimport { metaObject } from \"../../utils/general\";\nimport { showHideSnackbar } from \"../Snackbar/actions\";\nimport Auth from \"../../utils/Auth\";\nimport { logDOM } from \"@testing-library/react\";\n\nexport function* getBooksSaga({ payload }) {\n if (payload.isProgram) {\n // return;\n }\n const authorApi = Auth.getAuth()\n ? apis.getAuthorAssignedBook\n : apis.getAuthorBooks;\n const editorApi = Auth.getAuth()\n ? apis.getEditorAssignedBook\n : apis.getEditorBooks;\n const api = payload.isAuthor\n ? authorApi\n : payload.isEditor\n ? editorApi\n : apis.getBooks;\n try {\n const response = yield call(\n api,\n _.omit(payload, [\"list\", \"isLoadMore\"])\n );\n const action = payload.is_featured\n ? setBooksFeaturedAction\n : setBooksAction;\n const shouldConcat = !!payload.isLoadMore;\n yield put(\n action({\n list: shouldConcat\n ? [...payload.list, ...response.data.books]\n : response.data.books,\n meta: metaObject(response)\n })\n );\n if (payload.isLoadMore) {\n window.scrollTo(0, document.body.scrollHeight);\n }\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getUserProgram({ payload }) {\n try {\n const response = yield call(apis.getUserProgram, payload);\n yield put(\n setUserProgramAction({ programs: response.data.programs })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getRelatedBooksSaga({ payload }) {\n const api = payload.isAuthor\n ? apis.getAuthorRelatedBooks\n : apis.getRelatedBooks;\n try {\n const response = yield call(api, {\n ...payload,\n params: _.omit(payload.params, [\"list\", \"isLoadMore\"])\n });\n const shouldConcat = !!payload.params.isLoadMore;\n yield put(\n setRelatedBooksAction({\n list: shouldConcat\n ? [...payload.params.list, ...response.data.books]\n : response.data.books,\n meta: metaObject(response)\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getSingeBookSaga({ payload }) {\n try {\n const response = yield call(apis.getSingleBook, payload);\n yield put(setSingleBookAction(response.data.book));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getAuthorSingeBookSaga({ payload }) {\n try {\n const response = yield call(apis.getAuthorSingleBook, payload);\n yield put(setSingleBookAction(response.data.books));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getEditorSingleBookSaga({ payload }) {\n try {\n const response = yield call(apis.getEditorSingleBook, payload);\n yield put(setSingleBookAction(response.data.books));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getDirectorSingleBookSaga({ payload }) {\n try {\n const response = yield call(apis.getDirectorSingleBook, payload);\n yield put(setSingleBookAction(response.data?.data?.book));\n // yield put(\n // setSingleBookSupplementariesAction(\n // response.data?.data?.supplementary_materials\n // )\n // );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getAuthorAssignedBookSaga({ payload }) {\n try {\n const response = yield call(apis.getAuthorAssignedBook, payload);\n yield put(\n setBooksAction({\n list: response.data.books,\n meta: metaObject(response)\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\nexport function* getEditorAssignedBookSaga() {\n try {\n const response = yield call(apis.getEditorAssignedBook);\n yield put(\n setBooksAction({\n list: response.data.books,\n meta: metaObject(response)\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getSingeBookSupplementariesSaga({ payload }) {\n try {\n const { isAuthor, isProgram } = payload;\n const {\n data: { supplementary_materials }\n } = yield call(\n isAuthor\n ? apis.getAuthorSingleBookSupplementaries\n : isProgram\n ? apis.getDirectorSingleBookSupplementaries\n : apis.getSingeBookSupplementaries,\n { book_id: payload.book_id }\n );\n\n yield put(\n setSingleBookSupplementariesAction(supplementary_materials)\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* UnubscribeBook({ payload }) {\n try {\n yield call(apis.unsubscribeBook, payload);\n const response = yield call(apis.getSubscribedBooks);\n yield put(\n setSubscibedBooksAction(response.data.book_subcription)\n );\n yield put(\n setSubscribedBooksIds(\n response.data.book_subcription.map(\n (subscription) => subscription.book.id\n )\n )\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getSubscribedBooks({ payload }) {\n try {\n const response = yield call(apis.getSubscribedBooks, payload);\n const { data } = response;\n yield put(setSubscibedBooksAction(data.book_subcription));\n yield put(\n setSubscribedBooksIds(\n data.book_subcription.map(({ book }) => book.id)\n )\n );\n yield put(\n getSubscribedBooksResponse({\n list: data.book_subcription,\n meta: {\n currentPage: +response.headers[\"current-page\"],\n count: +response.headers[\"total-count\"],\n pages: +response.headers[\"total-pages\"]\n },\n subscibedBooksMeta: {\n currentPage: +response.headers[\"current-page\"],\n count: +response.headers[\"total-count\"],\n pages: +response.headers[\"total-pages\"]\n }\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* updateBookProgress({ payload }) {\n try {\n const response = yield call(apis.updateBookProgress, {\n id: payload.id,\n page: payload.page,\n ...payload\n });\n\n // yield put(\n // setSingleBookAction({\n // ...payload.singleBook,\n // book_progress: {\n // ...payload.singleBook,\n // page: payload.page\n // }\n // })\n // );\n yield put(getSingleBookAction(payload.id));\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: response.data.message\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* updateBookSupplementaryProgress({ payload }) {\n try {\n const response = yield call(\n apis.updateBookSupplementaryProgress,\n {\n book_id: payload.book_id,\n supplementary_material_id: payload.supplementary_material_id,\n watched: payload.watched\n }\n );\n\n yield put(getSingleBookAction(payload.book_id));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getBookSupplementaryProgress({ payload }) {\n try {\n const response = yield call(\n apis.getBookSupplementaryProgress,\n payload\n );\n\n yield put(\n setBookSupplementaryProgress(\n response.data.supplementary_progress\n )\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getBookQuizzes({ payload }) {\n const { isAuthor, isProgram } = payload;\n\n const API = isAuthor\n ? apis.getBookQuizzesForAuthors\n : isProgram\n ? apis.getBookQuizzesForDirectors\n : apis.getBookQuizzes;\n try {\n const response = yield call(API, {\n page: payload.page,\n book_id: payload.book_id\n });\n\n yield put(setBookQuizzes(response.data.book_quiz));\n } catch (err) {\n console.error(err);\n }\n}\nexport function* getCertainQuiz({ payload }) {\n const { isAuthor, isProgram } = payload;\n const API = isAuthor\n ? apis.getCertainQuizForAuthors\n : isProgram\n ? apis.getCertainQuizForDirector\n : apis.getCertainQuiz;\n try {\n const response = yield call(API, payload);\n\n yield put(setCertainQuiz(response.data.quiz));\n // yield put(\n // showHideSnackbar({\n // isOpen: true,\n // type: \"success\",\n // message: response.data.message\n // })\n // );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getBookTestsSaga({ payload }) {\n const { isAuthor, isProgram } = payload;\n const API = isAuthor\n ? apis.getBookTestsForAuthor\n : isProgram\n ? apis.getBookTestsForDirector\n : apis.getBookTests;\n try {\n const response = yield call(API, payload);\n yield put(getBookTestsResponse(response.data.tests));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getBookSingleTestSaga({ payload }) {\n const { isAuthor, isProgram } = payload;\n\n const API = isAuthor\n ? apis.getBookSingleTestForAuthor\n : isProgram\n ? apis.getBookSingleTestForDirector\n : apis.getBookSingleTest;\n try {\n const response = yield call(API, payload);\n\n yield put(getBookSingleTestResponse(response.data.test));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* answerBookTestSaga({ payload }) {\n try {\n const response = yield call(apis.answerBookSingleTest, payload);\n\n yield put(getBookSingleTestResponse(response.data.test));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getCertificateList({ payload }) {\n // console.log(\"getCertificateList payload\", payload);\n\n try {\n const response = yield call(apis.getCertificateList, payload);\n const { data } = response;\n yield put(\n getcertificatetsResponse({\n list: data.certificates,\n meta: {\n currentPage: +response.headers[\"current-page\"],\n count: +response.headers[\"total-count\"],\n pages: +response.headers[\"total-pages\"]\n }\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getSinlgeCertificateSaga({ payload }) {\n try {\n const response = yield call(apis.getSinlgeCertificate, payload);\n\n const { data } = response;\n\n yield put(\n getSingleCertificateResponce({\n singleCertificate: data.certificate\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\nexport function* getInstitutionBooksList({ payload }) {\n try {\n const response = yield call(\n apis.getInstitutionBooksList,\n payload\n );\n const { data } = response;\n yield put(\n getInstitutionBooksResponse({\n list: data.books,\n meta: {\n currentPage: +response.headers[\"current-page\"],\n count: +response.headers[\"total-count\"],\n pages: +response.headers[\"total-pages\"]\n }\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getEditorNotesByBookSaga({ payload }) {\n try {\n const response = yield call(apis.getEditorNotesByBook, payload);\n const { data } = response;\n yield put(\n setEditorNotes({\n notes: data?.annotations\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\nexport function* getDirectorNotesByBookSaga({ payload }) {\n try {\n const response = yield call(apis.getDirectorNotesByBook, payload);\n const { data } = response;\n yield put(\n setEditorNotes({\n notes: data?.annotations\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n","import { axiosInstance, customer_portal } from \"./\";\n\nconst getCategories = async (params) =>\n await axiosInstance.get(`${customer_portal}/categories`, {\n params\n });\n\nexport { getCategories };\n","import * as types from \"./types\";\n\nexport const getCategoriesRequest = (data) => ({\n type: types.GET_CATEGORIES_REQUEST,\n payload: data\n});\n\nexport const getCategoriesResponse = (data) => ({\n type: types.GET_CATEGORIES_RESPONSE,\n payload: data\n});\n\nexport const setCategorySearch = (data) => ({\n type: types.SET_CATEGORY_SEARCH,\n payload: data\n});\n","import { put, call } from \"redux-saga/effects\";\nimport { metaObject } from \"../../utils/general\";\nimport * as apis from \"../../network/apis/categories\";\nimport { getCategoriesResponse } from \"./actions\";\n\nexport function* getCategoriesSaga({ payload }) {\n try {\n const response = yield call(apis.getCategories, payload);\n yield put(\n getCategoriesResponse({\n list: response.data.categories,\n meta: metaObject(response)\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n","import {\n author_portal,\n axiosInstance,\n customer_portal,\n editor_portal,\n program_director_portal\n} from \"./index\";\n\nexport const login = async (payload) => {\n return await axiosInstance.post(\n `${customer_portal}/sessions`,\n payload\n );\n};\nexport const loginAuthor = async (payload) => {\n return await axiosInstance.post(\n `${author_portal}/sessions`,\n payload\n );\n};\nexport const loginEditor = async (payload) => {\n return await axiosInstance.post(\n `${editor_portal}/sessions`,\n payload\n );\n};\nexport const loginProgramDirector = async (payload) => {\n return await axiosInstance.post(\n `${program_director_portal}/sessions`,\n payload\n );\n};\nexport const logout = async () => {\n return await axiosInstance.delete(`${customer_portal}/sessions`);\n};\nexport const authorLogout = async () => {\n return await axiosInstance.delete(`${author_portal}/sessions`);\n};\nexport const editorLogout = async () => {\n return await axiosInstance.delete(`${editor_portal}/sessions`);\n};\nexport const programLogout = async () => {\n return await axiosInstance.delete(\n `${program_director_portal}/sessions`\n );\n};\nexport const socialAuthorization = async (payload) => {\n return await axiosInstance.post(\n `${customer_portal}/users/social_registration`,\n payload,\n { handlerEnabled: false }\n );\n};\n\nexport const register = async (payload) => {\n return await axiosInstance.post(\n `${customer_portal}/users`,\n payload\n );\n};\n\nexport const userDetails = async () => {\n return await axiosInstance.get(`${customer_portal}/users`);\n};\n\nexport const verifyUser = async (payload) => {\n return await axiosInstance.patch(\n `${customer_portal}/users/verify_email`,\n payload\n );\n};\n\nexport const resendVerificationEmail = async (payload) => {\n return await axiosInstance.post(\n `${customer_portal}/users/resend_email_verification`,\n payload\n );\n};\n\nexport const editUserInfo = async (payload) => {\n return await axiosInstance.patch(\n `${customer_portal}/users/update_profile`,\n payload\n );\n};\n\nexport const changePassword = async (payload) => {\n return await axiosInstance.patch(\n `${customer_portal}/users/update_password`,\n payload\n );\n};\nexport const changeAuthorsPassword = async (payload) => {\n return await axiosInstance.patch(\n `${author_portal}/authors/${payload.userId}/change_password`,\n payload\n );\n};\nexport const changeEditorsPassword = async (payload) => {\n return await axiosInstance.patch(\n `${editor_portal}/editors/${payload.userId}/change_password`,\n payload\n );\n};\nexport const changeProgramDirectorsPassword = async (payload) => {\n return await axiosInstance.patch(\n `${program_director_portal}/program_directors/${payload.userId}/change_password`,\n payload\n );\n};\n\nexport const restNewPassword = async (payload) => {\n return await axiosInstance.post(\n `${customer_portal}/users/reset_password`,\n payload\n );\n};\n\nexport const sendEmailNewPassword = async (payload) => {\n return await axiosInstance.post(\n `${customer_portal}/users/forgot_password`,\n payload\n );\n};\n","export const setCustomer = (\n { user, author, editor, programDirector },\n storage = \"session\"\n) => {\n localStorage.removeItem(\"user\");\n const loggedIn = user ?? author ?? editor ?? programDirector;\n localStorage.setItem(\"user\", JSON.stringify(loggedIn));\n};\n","import { put, call } from \"redux-saga/effects\";\nimport messages from \"../../assets/locale/messages\";\nimport * as apis from \"../../network/apis/auth\";\nimport { browserName } from \"react-device-detect\";\nimport { v4 as uuidv4 } from \"uuid\";\n\nimport { showHideSnackbar } from \"../Snackbar/actions\";\nimport {\n loginResponse,\n completeDataWithGoogle,\n toggleLogin\n} from \"./actions\";\nimport { setCustomer } from \"./helpers\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport History from \"../../routes/History\";\nimport {\n setSubscibedBooksAction,\n setSubscribedBooksIds\n} from \"../Books/actions\";\n\nexport function* loginSaga({ payload }) {\n const auth = {\n email: payload.email,\n password: payload.password,\n device_id: browserName + \"-\" + uuidv4(),\n fcm_token: null\n };\n try {\n let response = {};\n if (payload.isAuthor) {\n response = yield call(apis.loginAuthor, auth);\n } else if (payload.isEditor)\n response = yield call(apis.loginEditor, auth);\n else if (payload.isProgram)\n response = yield call(apis.loginProgramDirector, auth);\n else response = yield call(apis.login, auth);\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].shared.welcomeMessage\n })\n );\n let loggedUser;\n (() => {\n if (payload.isAuthor) loggedUser = response.data.author;\n else if (payload.isEditor) loggedUser = response.data.editor;\n else if (payload.isProgram)\n loggedUser = response.data.programDirector;\n else loggedUser = response.data.user;\n })();\n yield put(loginResponse(loggedUser));\n setCustomer(response.data, \"local\");\n if (\n !payload.isAuthor &&\n !payload.isEditor &&\n !payload.isProgram\n ) {\n response.data.user.email_verified\n ? History.push(\"/\")\n : History.push(ROUTE_PATHS.missingVerification);\n }\n if (payload.isAuthor && response.data.author) {\n History.push(\"/authors\");\n }\n if (payload.isEditor && response.data.editor) {\n History.push(\"/editors\");\n }\n if (payload.isProgram && response.data.programDirector) {\n History.push(\"/programs\");\n }\n } catch ({ response }) {\n //\n }\n}\n\nexport function* getDetails() {\n try {\n const response = yield call(apis.userDetails);\n yield put(loginResponse(response.data.user));\n\n const localOldUser = JSON.parse(localStorage.getItem(\"user\"));\n /* WHY THIS BAD CODE ? */\n /* Because there is legacy bad code that forced me to do so */\n /* Advice: We should commit to forms that are error resistant */\n if (localOldUser?.id) {\n if (!response.data.user) {\n delete localOldUser.institution_subscription;\n delete localOldUser.is_beta;\n }\n\n setCustomer(\n {\n user: {\n auth_token: localOldUser.auth_token,\n ...response.data.user\n }\n },\n \"local\"\n );\n yield put(\n loginResponse({\n auth_token: localOldUser.auth_token,\n ...response.data.user\n })\n );\n }\n } catch ({ response }) {\n //\n }\n}\n\nexport function* loginThenVerify({ payload }) {\n const { clonedData } = payload;\n console.log(\"login then verify payload Saga \", payload);\n console.log(\"login then verify dataa Saga \", clonedData);\n\n const auth = {\n email: clonedData.email,\n password: clonedData.password,\n device_id: browserName + \"-\" + uuidv4(),\n fcm_token: null\n };\n try {\n const response = yield call(apis.login, auth);\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].shared.welcomeMessage\n })\n );\n localStorage.removeItem(\"token\"); // to prevent auto verify in containers/verification\n yield put(loginResponse(response.data.user));\n yield payload.rememberMe\n ? setCustomer(response.data, \"local\")\n : setCustomer(response.data, \"session\");\n const verificationResponse = yield call(apis.verifyUser, {\n email_verification_token: payload.token\n });\n\n yield put(\n loginResponse({ ...response.data.user, email_verified: true })\n );\n yield payload.rememberMe\n ? setCustomer(\n { user: { ...response.data.user, email_verified: true } },\n \"local\"\n )\n : setCustomer(\n { user: { ...response.data.user, email_verified: true } },\n \"session\"\n );\n History.push(\"/\");\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message:\n messages[verificationResponse.lang].signup\n .verificationSuccessMessage\n })\n );\n } catch ({ response }) {\n //\n }\n}\n\n/**\n *\n * @generator\n * @export\n * @param {*} { login => main login payload, type => \"signin\" | \"signup\", profile => google user data }\n */\nexport function* authorizeViaGoogle({ payload }) {\n try {\n const response = yield call(apis.socialAuthorization, {\n ...payload,\n device_id: browserName + \"-\" + uuidv4(),\n fcm_token: null\n });\n const { shared } = messages[response.lang];\n yield put(loginResponse(response.data.user));\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: shared.welcomeMessage\n })\n );\n\n setCustomer(response.data, \"local\");\n\n yield put(completeDataWithGoogle(null));\n\n History.push(\"/\");\n } catch ({ response }) {\n if (response.data.message) {\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"error\",\n message: response.data.message\n })\n );\n }\n if (payload.type === \"signin\") {\n yield put(completeDataWithGoogle(payload.profile));\n yield put(toggleLogin());\n History.push(ROUTE_PATHS.registration);\n } else {\n yield put(completeDataWithGoogle(payload.profile));\n }\n }\n}\n\nexport function* newUserRegistration({ payload }) {\n try {\n const response = yield call(apis.register, {\n ...payload,\n device_id: browserName + \"-\" + uuidv4(),\n fcm_token: null\n });\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].signup.successMessage\n })\n );\n yield put(loginResponse(response.data.user));\n setCustomer(response.data, \"local\");\n\n History.push(\"/\");\n } catch ({ response }) {\n //\n }\n}\n\nexport function* editUserInfo({ payload }) {\n try {\n const response = yield call(apis.editUserInfo, payload);\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].editUserInfo.successMessage\n })\n );\n yield put(loginResponse(response.data.user));\n\n const localOldUser = JSON.parse(localStorage.getItem(\"user\"));\n\n /* WHY THIS BAD CODE ? */\n /* Because there is legacy bad code that forced me to do so */\n /* Advice: We should commit to forms that are error resistant */\n if (localOldUser?.id) {\n setCustomer(\n { user: { ...localOldUser, ...response.data.user } },\n \"local\"\n );\n yield put(\n loginResponse({ ...localOldUser, ...response.data.user })\n );\n }\n\n History.push(\"/\");\n } catch ({ response }) {\n //\n }\n}\n\nexport function* changePassword({ payload }) {\n let api = apis.changePassword;\n if (payload.isAuthor) api = apis.changeAuthorsPassword;\n if (payload.isEditor) api = apis.changeEditorsPassword;\n if (payload.isProgram) api = apis.changeProgramDirectorsPassword;\n try {\n const response = yield call(api, payload);\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].changePassword.successMessage\n })\n );\n if (payload.isAuthor) History.push(ROUTE_PATHS.authorsHome);\n if (payload.isEditor) History.push(ROUTE_PATHS.editorsHome);\n if (payload.isProgram) History.push(ROUTE_PATHS.programHome);\n else History.push(ROUTE_PATHS.home);\n } catch ({ response }) {\n //\n }\n}\n\nexport function* restNewPasswordSaga({ payload }) {\n try {\n const response = yield call(apis.restNewPassword, payload);\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: response.data.message\n })\n );\n // yield put(loginResponse(response2.data.user));\n History.push(ROUTE_PATHS.home);\n } catch ({ response }) {\n //\n }\n}\n\nexport function* sendEmailNewPasswordSaga({ payload }) {\n try {\n const response = yield call(apis.sendEmailNewPassword, payload);\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: response.data.message\n })\n );\n History.push(ROUTE_PATHS.home);\n } catch ({ response }) {\n //\n }\n}\n\nexport function* logoutSaga({ payload }) {\n let logoutApi = apis.logout;\n if (payload.isAuthor) logoutApi = apis.authorLogout;\n if (payload.isEditor) logoutApi = apis.editorLogout;\n if (payload.isProgram) logoutApi = apis.programLogout;\n try {\n yield call(logoutApi);\n yield put(setSubscibedBooksAction([]));\n yield put(setSubscribedBooksIds([]));\n localStorage.removeItem(\"user\");\n let homePath = ROUTE_PATHS.home;\n if (payload.isAuthor) homePath = ROUTE_PATHS.authorsHome;\n if (payload.isEditor) homePath = ROUTE_PATHS.editorsHome;\n if (payload.isProgram) homePath = ROUTE_PATHS.programHome;\n History.push(homePath);\n yield put(loginResponse({}));\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* verifyUser({ payload }) {\n try {\n const response = yield call(apis.verifyUser, payload);\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message:\n messages[response.lang].signup.verificationSuccessMessage\n })\n );\n const localOldUser = JSON.parse(localStorage.getItem(\"user\"));\n setCustomer(\n { user: { ...localOldUser, ...response.data.user } },\n \"local\"\n );\n yield put(\n loginResponse({ ...localOldUser, ...response.data.user })\n );\n History.push(\"/\");\n } catch ({ response }) {\n //\n }\n}\n\nexport function* resendVerificationEmail({ payload }) {\n try {\n const response = yield call(\n apis.resendVerificationEmail,\n payload\n );\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message:\n messages[response.lang].signup.verificaitonEmailResent\n })\n );\n } catch ({ response }) {\n //\n }\n}\n","import { axiosInstance, customer_portal } from \"./\";\n\nconst getCountries = async (params) =>\n await axiosInstance.get(`${customer_portal}/countries`, { params });\n\nexport { getCountries };\n","import * as types from \"./types\";\n\nexport const getCountriesRequest = (data) => ({\n type: types.GET_COUNTRIES_REQUEST,\n payload: data\n});\n\nexport const getCountriesResponse = (data) => ({\n type: types.GET_COUNTRIES_RESPONSE,\n payload: data\n});\n","import { put, call } from \"redux-saga/effects\";\nimport { metaObject } from \"../../utils/general\";\nimport * as apis from \"../../network/apis/countries\";\nimport { getCountriesResponse } from \"./actions\";\n\nexport function* getCountriesSaga({ payload }) {\n try {\n const response = yield call(apis.getCountries, payload);\n yield put(\n getCountriesResponse({\n list: response.data.countries,\n meta: metaObject(response)\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n","import { axiosInstance, customer_portal } from \".\";\n\nconst getJobs = async (params) =>\n await axiosInstance.get(`${customer_portal}/users/user_jobs`, {\n params\n });\n\nexport { getJobs };\n","import * as types from \"./types\";\n\nexport const getJobsRequest = (data) => ({\n type: types.GET_JOBS_REQUEST,\n payload: data\n});\n\nexport const getJobsResponse = (data) => ({\n type: types.GET_JOBS_RESPONSE,\n payload: data\n});\n","import { put, call } from \"redux-saga/effects\";\nimport { metaObject } from \"../../utils/general\";\nimport * as apis from \"../../network/apis/jobs\";\nimport { getJobsResponse } from \"./actions\";\n\nexport function* getJobsSaga({ payload }) {\n try {\n const response = yield call(apis.getJobs, payload);\n yield put(\n getJobsResponse({\n list: response.data.user,\n meta: metaObject(response)\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n","import * as types from \"./types\";\n\nexport const setPaymentMethod = (method) => ({\n type: types.SET_PAYMENT_METHOD,\n payload: method\n});\nexport const setPromocodeRequest = (method) => ({\n type: types.SET_PROMOCODE_REQUEST,\n payload: method\n});\nexport const setPromocodeResponse = (method) => ({\n type: types.SET_PROMOCODE_RESPONSE,\n payload: method\n});\nexport const setFreeDiscountPromocodeRequest = (method) => ({\n type: types.SET_FREE_DISCOUNT_PROMOCODE_REQUEST,\n payload: method\n});\nexport const setPromocodeNameResponse = (method) => ({\n type: types.SET_PROMOCODE_NAME_RESPONSE,\n payload: method\n});\n","import { put, call } from \"redux-saga/effects\";\nimport * as apis from \"../../network/apis/books\";\nimport messages from \"../../assets/locale/messages\";\nimport {\n setPromocodeResponse,\n setPromocodeNameResponse,\n setFreeDiscountPromocodeRequest\n} from \"./actions\";\nimport { getSubscribedBooksResponse } from \"../Books/actions\";\nimport { showHideSnackbar } from \"../Snackbar/actions\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport History from \"../../routes/History\";\n\nexport function* setPromocodeSaga({ payload }) {\n try {\n const response = yield call(apis.setPromocode, payload);\n yield put(setPromocodeResponse(response.data.discounted_price));\n yield put(setPromocodeNameResponse(response.data.promo_code));\n\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].checkoutForm.promodeSuccess\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* setFreeDiscountPromocodeSaga({ payload }) {\n try {\n const response = yield call(\n apis.setFreeDiscountPromocode,\n payload\n );\n yield put(setPromocodeResponse(response.data.discounted_price));\n yield put(setPromocodeNameResponse(response.data.promo_code));\n\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].checkoutForm.promodeSuccess\n })\n );\n\n yield put(\n getSubscribedBooksResponse(response.data.book_subcription.book)\n );\n\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message:\n messages[response.lang].checkoutForm\n .FreeDiscountpromodeSuccess\n })\n );\n localStorage.removeItem(\"promocodeDiscountSaved\");\n\n History.push(\n `${ROUTE_PATHS.bookProfile}/${response.data.book_subcription.book.id}`\n );\n yield put(setPromocodeResponse(null));\n\n yield put(setPromocodeNameResponse(null));\n } catch (err) {\n console.error(err);\n }\n}\n","import { axiosInstance, program_director_portal } from \".\";\n\nconst getStudentsList = async (params) =>\n await axiosInstance.get(\n `${program_director_portal}/students/students_overview`,\n {\n params\n }\n );\n\nexport { getStudentsList };\n","import * as types from \"./types\";\n\nexport const getStudentsListRequest = () => ({\n type: types.GET_STUDENTSLIST_REQUEST\n});\n\nexport const getStudentsListResponse = (data) => ({\n type: types.GET_STUDENTSLIST_RESPONSE,\n payload: data\n});\n","import { put, call } from \"redux-saga/effects\";\nimport * as apis from \"../../network/apis/studentsList\";\nimport { getStudentsListResponse } from \"./action\";\n\nexport function* getStudentsListSaga({ payload }) {\n try {\n const response = yield call(apis.getStudentsList, payload);\n\n yield put(\n getStudentsListResponse({\n resList: response.data.students_overview,\n searchKeyword: response.data.searchKeyword || \"\"\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n","import {\n axiosInstance,\n customer_portal,\n program_director_portal\n} from \".\";\n\nconst setNewTopicProgram = async (programId, topic) =>\n await axiosInstance.post(\n `${program_director_portal}/programs/${programId}/topics`,\n { topic }\n );\nconst currentProgram = async (params) =>\n await axiosInstance.get(\n `${program_director_portal}/programs/current`,\n {\n params\n }\n );\nconst getTopics = async (programId) =>\n await axiosInstance.get(\n `${program_director_portal}/programs/${programId}/topics`\n );\nconst getCusromerTopics = async (programId) =>\n await axiosInstance.get(\n `${customer_portal}/programs/${programId}/topics`\n );\nconst getSingleTopic = async (programId, topicId) =>\n await axiosInstance.get(\n `${program_director_portal}/programs/${programId}/topics/${topicId}`\n );\n\nconst getSingleTopicStudent = async (programId, topicId) =>\n await axiosInstance.get(\n `${customer_portal}/programs/${programId}/topics/${topicId}`\n );\n\nconst deleteSingleTopic = async (programId, topicId) =>\n await axiosInstance.delete(\n `${program_director_portal}/programs/${programId}/topics/${topicId}`\n );\nconst editOldTopic = async (programId, topicId, data) =>\n await axiosInstance.put(\n `${program_director_portal}/programs/${programId}/topics/${topicId}`,\n data\n );\nexport {\n setNewTopicProgram,\n getTopics,\n currentProgram,\n getSingleTopic,\n deleteSingleTopic,\n getCusromerTopics,\n getSingleTopicStudent,\n editOldTopic\n};\n","import {\n axiosInstance,\n customer_portal,\n program_director_portal\n} from \".\";\n\nexport const addCustomerComment = async ({\n programId,\n topicId,\n comment\n}) =>\n await axiosInstance.post(\n `${customer_portal}/programs/${programId}/topics/${topicId}/comments`,\n comment\n );\nexport const deleteCustomerComment = async ({\n programId,\n topicId,\n commentId\n}) =>\n await axiosInstance.delete(\n `${customer_portal}/programs/${programId}/topics/${topicId}/comments/${commentId}`\n );\n\nexport const addDirectorComment = async ({\n programId,\n topicId,\n comment\n}) =>\n await axiosInstance.post(\n `${program_director_portal}/programs/${programId}/topics/${topicId}/comments`,\n comment\n );\n\nexport const deleteDirectorComment = async ({\n programId,\n topicId,\n commentId\n}) =>\n await axiosInstance.delete(\n `${program_director_portal}/programs/${programId}/topics/${topicId}/comments/${commentId}`\n );\n","import * as types from \"./types\";\n\nexport const setTopicRequest = (programId, topic) => ({\n type: types.ADD_TOPIC_REQUEST,\n payload: { programId, topic }\n});\n\nexport const setTopicResponse = () => ({\n type: types.ADD_TOPIC_RESPONSE\n});\n\nexport const getCurrentProgramRequest = () => ({\n type: types.GET_CURRENT_PROGRAM_REQUEST\n});\n\nexport const getCurrentProgramResponce = (data) => ({\n type: types.GET_CURRENT_PROGRAM_RESPONCE,\n payload: data\n});\n\nexport const getAllTopicsRequest = (programId) => ({\n type: types.GET_ALL_TOPICS_REQUEST,\n payload: { programId }\n});\n\nexport const getAllTopicsResponce = (data) => ({\n type: types.GET_ALL_TOPICS_RESPONCE,\n payload: { data }\n});\nexport const getCustomerTopicsRequest = (programId) => ({\n type: types.GET_CUSTOMER_TOPICS_REQUEST,\n payload: { programId }\n});\n\nexport const getSingleTopicRequest = (programId, topicId) => ({\n type: types.GET_SINGLE_TOPIC_REQUEST,\n payload: { programId, topicId }\n});\n\nexport const editOldTopicRequest = (programId, topicId, data) => ({\n type: types.EDIT_TOPIC_REQUEST,\n payload: { programId, topicId, data }\n});\nexport const editOldTopicResponce = () => ({\n type: types.EDIT_TOPIC_RESPONSE\n});\n\nexport const getSingleTopicStudentRequest = (programId, topicId) => ({\n type: types.GET_SINGLE_TOPIC_STUDENT_REQUEST,\n payload: { programId, topicId }\n});\n\nexport const getSingleTopicResponce = (data) => ({\n type: types.GET_SINGLE_TOPIC_RESPONCE,\n payload: data\n});\n\nexport const deleteSingleTopicRequest = (programId, topicId) => ({\n type: types.DELETE_SINGLE_TOPIC_REQUEST,\n payload: { programId, topicId }\n});\n\nexport const deleteSingleTopicResponce = (topicId) => ({\n type: types.DELETE_SINGLE_TOPIC_RESPONCE,\n payload: { topicId }\n});\n\nexport const addCustomerCommentRequest = (data) => ({\n type: types.ADD_CUSTOMER_COMMENT,\n payload: data\n});\n\nexport const addDirectorCommentRequest = (data) => ({\n type: types.ADD_DIRECTOR_COMMENT,\n payload: data\n});\nexport const deleteCustomerCommentRequest = (data) => ({\n type: types.DELETE_CUSTOMER_COMMENT,\n payload: data\n});\n\nexport const deleteDirectorCommentRequest = (data) => ({\n type: types.DELETE_DIRECTOR_COMMENT,\n payload: data\n});\n","import { put, call } from \"redux-saga/effects\";\nimport * as apis from \"../../network/apis/Topics\";\nimport * as commentsApis from \"../../network/apis/comments\";\nimport {\n deleteSingleTopicResponce,\n editOldTopicResponce,\n getAllTopicsResponce,\n getCurrentProgramResponce,\n getSingleTopicResponce,\n setTopicResponse\n} from \"./actions\";\nimport { showHideSnackbar } from \"../Snackbar/actions\";\nimport messages from \"../../assets/locale/messages\";\n\nexport function* setNewTopicSaga({ payload }) {\n try {\n const { programId, topic } = payload;\n const response = yield call(\n apis.setNewTopicProgram,\n programId,\n topic\n );\n\n yield put(setTopicResponse());\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].topic.addMessage\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* editOldTopicSaga({ payload }) {\n try {\n const { programId, topicId, data } = payload;\n const response = yield call(\n apis.editOldTopic,\n programId,\n topicId,\n data\n );\n yield put(editOldTopicResponce());\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].topic.editMessage\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getCurrentProgramSaga({ payload }) {\n try {\n const response = yield call(apis.currentProgram, payload);\n\n yield put(\n getCurrentProgramResponce({\n currentProgram: response.data.program\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getAllToicsSaga({ payload }) {\n try {\n const { programId } = payload;\n\n const response = yield call(apis.getTopics, programId);\n\n yield put(\n getAllTopicsResponce({\n TopicsList: response.data.topics\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getCustomerToicsSaga({ payload }) {\n try {\n const { programId } = payload;\n\n const response = yield call(apis.getCusromerTopics, programId);\n\n yield put(\n getAllTopicsResponce({\n TopicsList: response.data.topics\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* getSingleToicSaga({ payload }) {\n try {\n const { programId, topicId } = payload;\n\n const response = yield call(\n apis.getSingleTopic,\n programId,\n topicId\n );\n\n yield put(\n getSingleTopicResponce({\n Topic: response.data.topic\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\nexport function* getSingleToicStudentSaga({ payload }) {\n try {\n const { programId, topicId } = payload;\n\n const response = yield call(\n apis.getSingleTopicStudent,\n programId,\n topicId\n );\n\n yield put(\n getSingleTopicResponce({\n Topic: response.data.topic\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* deleteSingleToicSaga({ payload }) {\n try {\n const { programId, topicId } = payload;\n\n const response = yield call(\n apis.deleteSingleTopic,\n programId,\n topicId\n );\n\n yield put(deleteSingleTopicResponce(topicId));\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].topic.deleteMessage\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\nexport function* addCustomerCommentSaga({ payload }) {\n try {\n const response = yield call(\n commentsApis.addCustomerComment,\n payload\n );\n\n yield put(\n getSingleTopicResponce({\n Topic: response.data.topic\n })\n );\n\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].topic.addComment\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\nexport function* addDirectorCommentSaga({ payload }) {\n try {\n const response = yield call(\n commentsApis.addDirectorComment,\n payload\n );\n\n yield put(\n getSingleTopicResponce({\n Topic: response.data.topic\n })\n );\n\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].topic.addComment\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\nexport function* deleteCustomerCommentSaga({ payload }) {\n try {\n const response = yield call(\n commentsApis.deleteCustomerComment,\n payload\n );\n yield put(\n getSingleTopicResponce({\n Topic: response.data.topic\n })\n );\n\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].topic.addComment\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\nexport function* deleteDirectorCommentSaga({ payload }) {\n try {\n const response = yield call(\n commentsApis.deleteDirectorComment,\n payload\n );\n\n yield put(\n getSingleTopicResponce({\n Topic: response.data.topic\n })\n );\n\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].topic.addComment\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n","import { axiosInstance, customer_portal } from \".\";\n\nconst getFinalTest = async ({ portal, book_id }) =>\n await axiosInstance.get(`${portal}/final_tests?book_id=${book_id}`);\n\nconst setNewAnswerCustromerFinalTest = async (book_id, answers) => {\n const response = await axiosInstance.post(\n `${customer_portal}/final_tests/submit_final_test?book_id=${book_id}`,\n { answers }\n );\n\n return response;\n};\n\nexport { setNewAnswerCustromerFinalTest, getFinalTest };\n","import * as types from \"./types\";\n\nexport const getFinalTestRequest = (payload) => {\n return {\n type: types.GET_FINAL_TEST_REQUEST,\n payload\n };\n};\n\nexport const getFinalTestResponse = (data) => ({\n type: types.GET_FINAL_TEST_RESPONSE,\n payload: data\n});\n\nexport const setNewFinalTestAnswerRequest = ({\n answers,\n book_id\n}) => {\n return {\n type: types.SET_NEW_FINAL_TEST_ANSWER_REQUEST,\n payload: { answers, book_id }\n };\n};\n\nexport const setNewFinalTestAnswerResponse = (data) => ({\n type: types.SET_NEW_FINAL_TEST_ANSWER__RESPONSE,\n payload: data\n});\n","import { put, call } from \"redux-saga/effects\";\nimport * as apis from \"../../network/apis/FinalTest\";\nimport {\n getFinalTestCustomerResponse,\n getFinalTestProgramerResponse,\n getFinalTestResponse,\n setNewFinalTestAnswerResponse\n} from \"./actions\";\nimport { showHideSnackbar } from \"../Snackbar/actions\";\nimport messages from \"../../assets/locale/messages\";\n\nexport function* getFinalTestSaga({ payload }) {\n try {\n const response = yield call(apis.getFinalTest, payload);\n yield put(\n getFinalTestResponse({\n finalTest: response.data.final_tests\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n\n// export function* getFinalTestSaga({ payload }) {\n// try {\n// const { book_id, backend_URL } = payload;\n\n// const response = yield call(\n// apis.getFinalTestCustomerOrProgramer,\n// book_id,\n// backend_URL\n// );\n\n// yield put(\n// getFinalTestResponse({\n// finalTest: response.data.final_tests\n// })\n// );\n// } catch (err) {\n// console.error(err);\n// }\n// }\nexport function* setNewAnswerFinalTestSaga({ payload }) {\n try {\n const { book_id, answers } = payload;\n\n const response = yield call(\n apis.setNewAnswerCustromerFinalTest,\n book_id,\n answers\n );\n\n yield put(\n setNewFinalTestAnswerResponse({\n resultOfAnswer: response.data.final_tests\n })\n );\n yield put(\n showHideSnackbar({\n isOpen: true,\n type: \"success\",\n message: messages[response.lang].FinalTest.successfullySubmit\n })\n );\n } catch (err) {\n console.error(err);\n }\n}\n","import { createStore, applyMiddleware, compose } from \"redux\";\nimport reducers from \"./reducers\";\nimport createSagaMiddleware from \"redux-saga\";\nimport { watchAll } from \"./sagas\";\n// ======== Compose redux dev tool with applyMiddleware ========\nconst saga = createSagaMiddleware();\nconst composeEnhancers =\n typeof window === \"object\" &&\n window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__\n ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__({})\n : compose;\n\nconst enhancer = composeEnhancers(applyMiddleware(saga));\nconst store = createStore(reducers, enhancer);\n\nsaga.run(watchAll);\n\nexport default store;\n","import { takeEvery } from \"redux-saga/effects\";\nimport * as BooksTypes from \"./Books/types\";\nimport * as BooksSagas from \"./Books/sagas\";\nimport * as CategoriesTypes from \"./Categories/types\";\nimport * as CategoriesSagas from \"./Categories/sagas\";\nimport * as AuthSagas from \"./Auth/sagas\";\nimport * as AuthTypes from \"./Auth/types\";\nimport * as CountriesTypes from \"./Countries/types\";\nimport * as CountriesSaga from \"./Countries/sagas\";\nimport * as JobsTypes from \"./Jobs/types\";\nimport * as JobsSaga from \"./Jobs/sagas\";\nimport * as CheckoutTypes from \"./Checkout/types\";\nimport * as CheckoutSaga from \"./Checkout/sagas\";\nimport * as StudentsListTypes from \"./StudentsList/types\";\nimport * as StudentsListSaga from \"./StudentsList/sagas\";\nimport * as TopicsTypes from \"./Topics/types\";\nimport * as TopicsSaga from \"./Topics/sagas\";\nimport * as FinalTestTypes from \"./FinalTest/types\";\nimport * as FinalTestSaga from \"./FinalTest/sagas\";\nexport function* watchAll() {\n // finalTest\n yield takeEvery(\n FinalTestTypes.SET_NEW_FINAL_TEST_ANSWER_REQUEST,\n FinalTestSaga.setNewAnswerFinalTestSaga\n );\n\n yield takeEvery(\n FinalTestTypes.GET_FINAL_TEST_REQUEST,\n FinalTestSaga.getFinalTestSaga\n );\n // topics\n yield takeEvery(\n TopicsTypes.EDIT_TOPIC_REQUEST,\n TopicsSaga.editOldTopicSaga\n );\n yield takeEvery(\n TopicsTypes.ADD_DIRECTOR_COMMENT,\n TopicsSaga.addDirectorCommentSaga\n );\n yield takeEvery(\n TopicsTypes.ADD_CUSTOMER_COMMENT,\n TopicsSaga.addCustomerCommentSaga\n );\n yield takeEvery(\n TopicsTypes.DELETE_DIRECTOR_COMMENT,\n TopicsSaga.deleteDirectorCommentSaga\n );\n yield takeEvery(\n TopicsTypes.DELETE_CUSTOMER_COMMENT,\n TopicsSaga.deleteCustomerCommentSaga\n );\n yield takeEvery(\n TopicsTypes.DELETE_SINGLE_TOPIC_REQUEST,\n TopicsSaga.deleteSingleToicSaga\n );\n yield takeEvery(\n TopicsTypes.GET_SINGLE_TOPIC_REQUEST,\n TopicsSaga.getSingleToicSaga\n );\n yield takeEvery(\n TopicsTypes.GET_SINGLE_TOPIC_STUDENT_REQUEST,\n TopicsSaga.getSingleToicStudentSaga\n );\n yield takeEvery(\n TopicsTypes.GET_ALL_TOPICS_REQUEST,\n TopicsSaga.getAllToicsSaga\n );\n yield takeEvery(\n TopicsTypes.GET_CUSTOMER_TOPICS_REQUEST,\n TopicsSaga.getCustomerToicsSaga\n );\n // programs directors\n yield takeEvery(\n BooksTypes.GET_DIRECTOR_SINGLE_BOOK,\n BooksSagas.getDirectorSingleBookSaga\n );\n // programs\n yield takeEvery(\n TopicsTypes.GET_CURRENT_PROGRAM_REQUEST,\n TopicsSaga.getCurrentProgramSaga\n );\n yield takeEvery(\n TopicsTypes.ADD_TOPIC_REQUEST,\n TopicsSaga.setNewTopicSaga\n );\n yield takeEvery(\n StudentsListTypes.GET_STUDENTSLIST_REQUEST,\n StudentsListSaga.getStudentsListSaga\n );\n yield takeEvery(BooksTypes.GET_BOOKS, BooksSagas.getBooksSaga);\n yield takeEvery(\n BooksTypes.GET_USER_PROGRAMS,\n BooksSagas.getUserProgram\n );\n yield takeEvery(\n BooksTypes.GET_AUTHOR_ASSIGNED_BOOKS,\n BooksSagas.getAuthorAssignedBookSaga\n );\n yield takeEvery(\n BooksTypes.GET_EDITOR_ASSIGNED_BOOKS,\n BooksSagas.getEditorAssignedBookSaga\n );\n yield takeEvery(\n BooksTypes.GET_RELATED_BOOKS,\n BooksSagas.getRelatedBooksSaga\n );\n yield takeEvery(\n BooksTypes.GET_SINGLE_BOOK,\n BooksSagas.getSingeBookSaga\n );\n yield takeEvery(\n BooksTypes.GET_AUTHOR_SINGLE_BOOK,\n BooksSagas.getAuthorSingeBookSaga\n );\n // editor\n yield takeEvery(\n BooksTypes.GET_EDITOR_SINGLE_BOOK,\n BooksSagas.getEditorSingleBookSaga\n );\n yield takeEvery(\n BooksTypes.GET_SUBSCRIBED_BOOKS_REQUEST,\n BooksSagas.getSubscribedBooks\n );\n yield takeEvery(\n BooksTypes.GET_SINGLE_BOOK_SUPPLEMENTRAIES,\n BooksSagas.getSingeBookSupplementariesSaga\n );\n\n yield takeEvery(\n BooksTypes.UNSUBSCIBE_BOOK,\n BooksSagas.UnubscribeBook\n );\n yield takeEvery(\n BooksTypes.UPDATE_BOOK_PROGRESS,\n BooksSagas.updateBookProgress\n );\n yield takeEvery(\n BooksTypes.UPDATE_BOOK_SUPPLEMENTARY_PROGRESS,\n BooksSagas.updateBookSupplementaryProgress\n );\n yield takeEvery(\n BooksTypes.GET_BOOK_SUPPLEMENTARY_PROGRESS,\n BooksSagas.getBookSupplementaryProgress\n );\n yield takeEvery(\n CategoriesTypes.GET_CATEGORIES_REQUEST,\n CategoriesSagas.getCategoriesSaga\n );\n yield takeEvery(AuthTypes.LOGIN_REQUEST, AuthSagas.loginSaga);\n yield takeEvery(\n AuthTypes.LOGIN_THEN_VERIFY,\n AuthSagas.loginThenVerify\n );\n yield takeEvery(AuthTypes.LOGOUT_REQUEST, AuthSagas.logoutSaga);\n yield takeEvery(\n AuthTypes.NEW_USER_REGISTRATION,\n AuthSagas.newUserRegistration\n );\n\n yield takeEvery(AuthTypes.EDIT_USER_INFO, AuthSagas.editUserInfo);\n yield takeEvery(\n AuthTypes.CHANGE_PASSWORD_REQUEST,\n AuthSagas.changePassword\n );\n\n yield takeEvery(\n AuthTypes.RESET_NEW_PASSWORD_REQUEST,\n AuthSagas.restNewPasswordSaga\n );\n\n yield takeEvery(AuthTypes.USER_DETAILS, AuthSagas.getDetails);\n\n yield takeEvery(\n AuthTypes.SEND_EMAIL_NEW_PASSWORD,\n AuthSagas.sendEmailNewPasswordSaga\n );\n\n yield takeEvery(AuthTypes.VERIFY_USER, AuthSagas.verifyUser);\n\n yield takeEvery(\n AuthTypes.RESEND_VERIFICATION_EMAIL,\n AuthSagas.resendVerificationEmail\n );\n\n yield takeEvery(\n AuthTypes.SOCIAL_AUTHORIZATION,\n AuthSagas.authorizeViaGoogle\n );\n yield takeEvery(\n CountriesTypes.GET_COUNTRIES_REQUEST,\n CountriesSaga.getCountriesSaga\n );\n yield takeEvery(JobsTypes.GET_JOBS_REQUEST, JobsSaga.getJobsSaga);\n yield takeEvery(\n BooksTypes.GET_BOOK_QUIZZES,\n BooksSagas.getBookQuizzes\n );\n yield takeEvery(\n BooksTypes.GET_CERTAIN_QUIZ,\n BooksSagas.getCertainQuiz\n );\n yield takeEvery(\n BooksTypes.GET_BOOK_TESTS_REQUEST,\n BooksSagas.getBookTestsSaga\n );\n yield takeEvery(\n BooksTypes.GET_BOOK_SINGLE_TEST_REQUEST,\n BooksSagas.getBookSingleTestSaga\n );\n yield takeEvery(\n BooksTypes.ANSWER_BOOK_SINGLE_TEST_REQUEST,\n BooksSagas.answerBookTestSaga\n );\n\n yield takeEvery(\n BooksTypes.GET_CERTIFICATE_REQUEST,\n BooksSagas.getCertificateList\n );\n\n yield takeEvery(\n BooksTypes.GET_SINGLE_CERTIFICATE_REQUEST,\n BooksSagas.getSinlgeCertificateSaga\n );\n\n yield takeEvery(\n CheckoutTypes.SET_PROMOCODE_REQUEST,\n CheckoutSaga.setPromocodeSaga\n );\n yield takeEvery(\n CheckoutTypes.SET_FREE_DISCOUNT_PROMOCODE_REQUEST,\n CheckoutSaga.setFreeDiscountPromocodeSaga\n );\n\n yield takeEvery(\n BooksTypes.GET_INSTITUTION_BOOKS_REQUEST,\n BooksSagas.getInstitutionBooksList\n );\n // book notes\n yield takeEvery(\n BooksTypes.GET_EDITOR_NOTES,\n BooksSagas.getEditorNotesByBookSaga\n );\n\n //\n yield takeEvery(\n BooksTypes.GET_DIRECTOR_NOTES,\n BooksSagas.getDirectorNotesByBookSaga\n );\n}\n","import store from \"../store\";\n\n// transfers sessionStorage from one tab to another\nvar sessionStorage_transfer = function (event) {\n if (!event) {\n event = window.event;\n } // ie suq\n if (!event.newValue) return; // do nothing if no value to work with\n if (event.key == \"getSessionStorage\") {\n // another tab asked for the sessionStorage -> send it\n localStorage.setItem(\n \"sessionStorage\",\n JSON.stringify(sessionStorage)\n );\n // the other tab should now have it, so we're done with it.\n localStorage.removeItem(\"sessionStorage\"); // <- could do short timeout as well.\n }\n};\n\n// listen for changes to localStorage\nif (window.addEventListener) {\n window.addEventListener(\"storage\", sessionStorage_transfer, false);\n} else {\n window.attachEvent(\"onstorage\", sessionStorage_transfer);\n}\n\n// Ask other tabs for session storage (this is ONLY to trigger event)\nif (!sessionStorage.length) {\n localStorage.setItem(\"getSessionStorage\", \"foobar\");\n localStorage.removeItem(\"getSessionStorage\", \"foobar\");\n}\n\nconst Auth = {\n getAuth() {\n const state = store.getState();\n return !!state.auth.login?.auth_token;\n },\n isVerified(isNotUser) {\n return isNotUser || !!store.getState().auth.login.email_verified;\n }\n};\nexport default Auth;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Redirect, Route } from \"react-router-dom\";\nimport Auth from \"../utils/Auth\";\nimport { ROUTE_PATHS } from \"../utils/PathsNames\";\n\nconst PrivateRoute = ({ component: Component, ...rest }) => (\n \n Auth.getAuth() ? (\n \n ) : (\n \n )\n }\n />\n);\n\nPrivateRoute.propTypes = {\n component: PropTypes.func\n};\n\nexport default PrivateRoute;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Redirect, Route } from \"react-router-dom\";\nimport Auth from \"../utils/Auth\";\nimport { ROUTE_PATHS } from \"../utils/PathsNames\";\n\nconst PublicRoute = ({ component: Component, ...rest }) => (\n \n !Auth.getAuth() ? (\n \n ) : (\n \n )\n }\n />\n);\n\nPublicRoute.propTypes = {\n component: PropTypes.func\n};\n\nexport default PublicRoute;\n","import React, { useEffect, useRef, useState } from \"react\";\nimport axios from \"axios\";\nimport PropTypes from \"prop-types\";\n\nwindow?.Tiff?.initialize({ TOTAL_MEMORY: 19777216 * 10 });\n\nexport const ImgDisplay = ({ src, className }) => {\n const imgRef = useRef();\n const [isFileLoading, setIsFileLoading] = useState(false);\n const [percentLoaded, setPercentLoaded] = useState(0);\n\n function isTiffFile() {\n return src && src?.endsWith(\"tiff\");\n }\n\n function _arrayBufferToBase64(buffer) {\n var binary = \"\";\n var bytes = new Uint8Array(buffer);\n var len = bytes.byteLength;\n for (var i = 0; i < len; i++) {\n binary += String.fromCharCode(bytes[i]);\n }\n return window.btoa(binary);\n }\n\n function displayImage() {\n axios\n .get(src, {\n responseType: \"arraybuffer\",\n onDownloadProgress: (progressEvent) => {\n setIsFileLoading(true);\n if (progressEvent.lengthComputable) {\n setPercentLoaded(\n (progressEvent.loaded / progressEvent.total) * 100\n );\n }\n }\n })\n .then((response) => {\n if (response.headers[\"content-type\"] === \"image/tiff\") {\n try {\n let tiff = new window.Tiff({ buffer: response.data });\n let canvas = tiff.toDataURL();\n if (imgRef) {\n try {\n imgRef.current.src = canvas;\n } catch (err) {\n console.error(err);\n }\n }\n } catch (err) {\n console.error(err);\n }\n } else {\n imgRef.current.src =\n \"data:image/png;base64,\" +\n _arrayBufferToBase64(response.data);\n }\n\n setIsFileLoading(false);\n });\n }\n\n useEffect(() => {\n if (isTiffFile()) {\n displayImage();\n }\n }, [src]);\n return (\n <>\n {/* .tif file only */}\n {src?.includes(\" \") && src?.endsWith(\".tif\") && (\n
\n \n
\n )}\n\n {/* Normal Image or .tif file witout spaces in url */}\n {!isTiffFile() &&\n !(src?.includes(\" \") && src?.endsWith(\".tif\")) ? (\n \n ) : /* TIFF image only */\n isFileLoading ? (\n \n
\n {percentLoaded.toFixed(1)} %\n
\n
\n \n \n ) : (\n \"\"\n )}\n \n \n );\n};\n\nImgDisplay.propTypes = {\n src: PropTypes.string,\n className: PropTypes.any\n};\n","import React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faBookmark } from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"./BookCover.module.scss\";\nimport { ImgDisplay } from \"../../hooks/ImgDisplay\";\n\nconst BookCover = ({ src, size }) => {\n const { messages } = useIntl();\n\n const {\n books: { bookCover }\n } = messages;\n\n return (\n
\n
\n \n {!src && (\n \n {bookCover}\n \n )}\n
\n
\n \n
\n
\n
\n );\n};\n\nBookCover.propTypes = {\n src: PropTypes.string,\n size: PropTypes.string\n};\n\nBookCover.defaultProps = {\n src: \"\",\n size: \"sm\"\n};\n\nexport default BookCover;\n","import React from \"react\";\nimport { Link } from \"react-router-dom\";\nimport Slider from \"react-slick\";\nimport { useIntl } from \"react-intl\";\nimport PropTypes from \"prop-types\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport BookCover from \"../BookCover\";\nimport styles from \"./BooksSlider.module.scss\";\n\nconst BooksSlider = ({ title, slides, color, fullLibraryLink }) => {\n const { messages } = useIntl();\n const {\n shared: { by }\n } = messages;\n\n const NextArrow = ({ onClick }) => {\n return (\n \n );\n };\n\n const settings = {\n dots: true,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n variableWidth: true,\n nextArrow: \n };\n\n return (\n
\n
\n

{title}

\n \n \n \n
\n \n {slides.map(({ id, title, author, cover_photo }) => (\n
\n \n \n \n
\n {title}\n
\n \n {by} {author}\n \n
\n ))}\n
\n
\n );\n};\n\nBooksSlider.propTypes = {\n onClick: PropTypes.func,\n title: PropTypes.string,\n slides: PropTypes.arrayOf(PropTypes.object),\n color: PropTypes.string,\n fullLibraryLink: PropTypes.string\n};\n\nBooksSlider.defaultProps = {\n onClick: () => {},\n color: \"secondary\",\n slides: [],\n fullLibraryLink: \"#\"\n};\n\nexport default BooksSlider;\n","import { useEffect } from \"react\";\n\nexport const isScollbarClicked = (event) => {\n const { offsetX, offsetY, target } = event;\n return (\n offsetX > target.clientWidth || offsetY > target.clientHeight\n );\n};\n\n/**\n * Hook that alerts clicks outside of the passed ref\n */\nfunction useOutSideClickDetector(ref, callback) {\n useEffect(() => {\n /**\n * Callback click on outside of element\n */\n function handleClickOutside(event) {\n if (\n ref.current &&\n !ref.current.contains(event.target) &&\n !isScollbarClicked(event)\n ) {\n console.log(\"XXXX\");\n callback();\n }\n }\n\n // Bind the event listener\n document.addEventListener(\"mousedown\", handleClickOutside);\n return () => {\n // Unbind the event listener on clean up\n document.removeEventListener(\"mousedown\", handleClickOutside);\n };\n }, [ref]);\n}\n\nexport default useOutSideClickDetector;\n","const dateBasicFormat = {\n month: \"short\",\n day: \"numeric\",\n year: \"numeric\"\n};\n\nexport function dateToDashed(date, locale = \"en\", formatOption) {\n const localeOption = locale === \"ar\" ? \"ar-EG\" : \"en-GB\";\n const options = formatOption || dateBasicFormat;\n return new Date(date).toLocaleDateString(localeOption, options);\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Link } from \"react-router-dom\";\nimport styles from \"./Button.module.scss\";\n\nconst Button = ({\n text,\n onClick,\n className,\n isLink,\n slug,\n type,\n disabled,\n ...props\n}) => {\n return !isLink ? (\n \n {text}\n \n ) : (\n \n {text}\n \n );\n};\n\nButton.propTypes = {\n text: PropTypes.string,\n className: PropTypes.string,\n onClick: PropTypes.func,\n isLink: PropTypes.bool,\n slug: PropTypes.string,\n type: PropTypes.string,\n disabled: PropTypes.bool\n};\n\nButton.defaultProps = {\n className: \"primary\",\n text: \"click here\",\n onClick: () => {},\n isLink: false,\n disabled: false,\n slug: \"#\"\n};\n\nexport default Button;\n","import PropTypes from \"prop-types\";\nimport React, { useEffect, useRef, useState } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { useSelector } from \"react-redux\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport { isScollbarClicked } from \"../../hooks/useOutSideClickDetector\";\nimport { dateToDashed } from \"../../utils\";\nimport { writtenBy } from \"../../utils/general\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport BookCover from \"../BookCover\";\nimport Button from \"../Button\";\nimport \"./ClickableBookCover.scss\";\n\nconst BooksNameAndAuthor = ({ book, isSelected }) => {\n const { title, author, release_date, price } = book;\n\n const { locale } = useIntl();\n return (\n <>\n \n {title}\n \n
\n

\n {writtenBy(author)}\n

\n {price &&
${price}
}\n
\n {isSelected && (\n \n {\" \"}\n {release_date && <>{dateToDashed(release_date)}}\n \n )}\n \n );\n};\n\nBooksNameAndAuthor.propTypes = {\n book: PropTypes.object,\n isSelected: PropTypes.bool\n};\n\nconst ClickableBookCover = ({\n isSelected,\n book,\n selectBook,\n clearSelection\n}) => {\n const { messages } = useIntl();\n const { pathname } = useLocation();\n const isEditor = pathname.includes(\"editor\");\n const isProgram = pathname.includes(\"program\");\n const {\n buttons: { getAccess }\n } = messages;\n\n const wrapperRef = useRef(null);\n const [wrapperStyle, setWrapperStyle] = useState({});\n useEffect(() => {\n if (!isSelected) {\n if (\"ontouchstart\" in window && wrapperRef.current) {\n setWrapperStyle({ height: \"16rem\" });\n } else setWrapperStyle({ height: \"14rem\" });\n } else setWrapperStyle({ height: null, paddingBottom: \"1rem\" });\n }, [isSelected]);\n\n const [clicked, setClicked] = useState(false);\n useEffect(() => {\n if (\"ontouchstart\" in window && wrapperRef.current) {\n function handleClickOutside(event) {\n if (\n clicked &&\n wrapperRef.current &&\n !wrapperRef.current.contains(event.target) &&\n !isScollbarClicked(event)\n ) {\n setClicked(false);\n clearSelection();\n } else {\n setClicked(true);\n }\n }\n // Bind the event listener\n document.addEventListener(\"touchend\", handleClickOutside);\n return () => {\n // Unbind the event listener on clean up\n document.removeEventListener(\"touchend\", handleClickOutside);\n };\n }\n }, []);\n const { isLoggedInAuthor } = useSelector(\n (state) => state.utilities\n );\n const bookViewUrl = (() => {\n if (isLoggedInAuthor)\n return `${ROUTE_PATHS.authorsBookViewer}/${book?.id}`;\n if (isEditor)\n return `${ROUTE_PATHS.editorBookViewer}/${book?.id}`;\n if (isProgram)\n return `${ROUTE_PATHS.programBookProfile}/${book?.id}`;\n // return `${ROUTE_PATHS.programsBookViewer}/${book?.id}`;\n else return `${ROUTE_PATHS[\"bookProfile\"]}/${book?.id}`;\n })();\n const BookWithNameAndAuthor = () => (\n
\n \n selectBook()}\n onMouseLeave={() => clearSelection()}\n onTouchStart={() => {\n selectBook();\n }}\n style={wrapperStyle}\n className=\"white-wrapper\"\n ref={wrapperRef}\n >\n \n {isSelected && (\n <>\n {/* {book?.brief} */}\n
\n \n {isEditor && (\n \n )}\n
\n \n )}\n
\n \n );\n\n return BookWithNameAndAuthor();\n};\n\nClickableBookCover.propTypes = {\n isSelected: PropTypes.bool,\n index: PropTypes.number,\n clearSelection: PropTypes.func\n};\n\nexport default ClickableBookCover;\n","import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport PropTypes from \"prop-types\";\nimport styles from \"./ReactSliderButtonsStyle.module.scss\";\nimport { faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\n\nfunction NextArrowRelatedBook({ onClick }) {\n return (\n \n \n \n );\n}\nNextArrowRelatedBook.propTypes = {\n onClick: PropTypes.func\n};\nexport default NextArrowRelatedBook;\n","import React, { useEffect, useState } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { useParams } from \"react-router\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport BooksSlider from \"../../../components/BooksSlider\";\nimport { ROUTE_PATHS } from \"../../../utils/PathsNames\";\nimport { getRelatedBooksAction } from \"../../../store/Books/actions\";\n\nimport Slider from \"react-slick\";\nimport { Link } from \"react-router-dom\";\nimport ClickableBookCover from \"../../../components/ClickableBookCover/ClickableBookCover\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport styles from \"./RelatedBooks.module.scss\";\nimport PropTypes from \"prop-types\";\nimport { Container } from \"react-bootstrap\";\nimport NextArrowRelatedBook from \"../../../components/ReactSliderButtons/NextArrowRelatedBook\";\nconst RelatedBooks = () => {\n const dispatch = useDispatch();\n const { messages } = useIntl();\n const { id } = useParams();\n const relatedList = useSelector(\n (state) => state.books.related.list\n );\n\n useEffect(() => {\n const payload = {\n id,\n params: {\n page: 1,\n items: 5\n }\n };\n function getBooks() {\n dispatch(getRelatedBooksAction(payload));\n }\n getBooks();\n }, [id]);\n\n const {\n books: { RelatedBooksTitle }\n } = messages;\n const [selectedBook, setSelectedBook] = useState(null);\n /* eslint-disable react/prop-types */\n\n const settings = {\n dots: false,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n variableWidth: true,\n arrows: true,\n nextArrow: ,\n prevArrow: null,\n className: \"cd\"\n };\n\n return (\n \n {relatedList.length !== 0 && (\n <>\n

{RelatedBooksTitle}

\n
\n {relatedList.length > 2 ? (\n \n {relatedList.map((book, index) => (\n \n setSelectedBook(null)}\n selectBook={() => setSelectedBook(book.id)}\n />\n
\n ))}\n \n ) : (\n \n {relatedList.map((book, index) => (\n \n setSelectedBook(null)}\n selectBook={() => setSelectedBook(book.id)}\n />\n \n ))}\n \n )}\n \n \n )}\n
\n );\n};\n\nexport default RelatedBooks;\n","import React from \"react\";\n\nconst CloseIcon = (props) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default CloseIcon;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport {\n Col,\n Container,\n Modal as BModal,\n Row\n} from \"react-bootstrap\";\nimport CloseIcon from \"../../assets/svgs/close-icon\";\nimport styles from \"./Modal.module.scss\";\n\nconst Modal = ({\n isOpen,\n title,\n children,\n footer,\n onHide,\n imageSrc,\n header\n}) => {\n return (\n \n \n \n \n {header && (\n \n \n\n {title && (\n \n {title}\n \n )}\n
\n
\n )}\n {children}\n {footer && {footer}}\n \n {imageSrc && (\n \n )}\n
\n
\n \n );\n};\n\nModal.propTypes = {\n isOpen: PropTypes.bool,\n title: PropTypes.string,\n footer: PropTypes.node,\n onHide: PropTypes.func,\n imageSrc: PropTypes.string,\n children: PropTypes.node,\n header: PropTypes.bool\n};\n\nModal.defaultProps = {\n isOpen: false,\n onHide: () => {},\n header: true\n};\n\nexport default Modal;\n","import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\nimport PropTypes from \"prop-types\";\nimport styles from \"./ReactSliderButtonsStyle.module.scss\";\n\nconst NextArrow = ({ onClick }) => {\n return (\n \n \n \n );\n};\n\nNextArrow.propTypes = {\n onClick: PropTypes.func\n};\n\nexport default NextArrow;\n","import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport PropTypes from \"prop-types\";\nimport styles from \"./ReactSliderButtonsStyle.module.scss\";\nimport { faChevronRight } from \"@fortawesome/free-solid-svg-icons\";\n\nconst PrevArrow = ({ onClick }) => {\n return (\n \n \n \n );\n};\nPrevArrow.propTypes = {\n onClick: PropTypes.func\n};\nexport default PrevArrow;\n","import PropTypes from \"prop-types\";\nimport React from \"react\";\nimport styles from \"./Samples.module.scss\";\n\nconst Samples = ({ book }) => {\n return (\n
\n {book?.book_samples?.map((sample) => (\n
\n \n
\n ))}\n
\n );\n};\n\nSamples.propTypes = {\n book: PropTypes.object.isRequired\n};\n\nexport default Samples;\n","export default __webpack_public_path__ + \"static/media/VideoiconBW.60a9dd87.svg\";","export default __webpack_public_path__ + \"static/media/CompletedIcon.b1b39183.svg\";","import React, {\n useEffect,\n useState,\n useMemo,\n useCallback\n} from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useParams } from \"react-router\";\nimport {\n getBookTestsRequest,\n getSingleBookSupplementariesAction,\n getBookQuizzes,\n getBookSupplementaryProgress,\n getSingleBookAction\n} from \"../../../store/Books/actions\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faAngleDown } from \"@fortawesome/free-solid-svg-icons\";\nimport { ROUTE_PATHS } from \"../../../utils/PathsNames\";\nimport videoiconBW from \"../../../assets/svgs/VideoiconBW.svg\";\nimport completedIcon from \"../../../assets/svgs/CompletedIcon.svg\";\nimport styles from \"../AllBookSupplementaries/bookSupplementaries.module.scss\";\nimport Collapse from \"react-bootstrap/Collapse\";\nimport { Link, useLocation } from \"react-router-dom\";\n\nconst AllBookVideosComponent = () => {\n const { messages } = useIntl();\n const {\n books: { lectures, lecture, chapter, mins }\n } = messages;\n const { id } = useParams();\n const dispatch = useDispatch();\n const { pathname } = useLocation();\n\n const login = useSelector((state) => state.auth.login);\n const {\n singleBook,\n singleBookSupplementaries,\n singleBookTests,\n SupplementariesProgress\n } = useSelector((state) => state.books);\n\n const isProgram = pathname.includes(\"program\");\n const isPathAtBookProfile = pathname.includes(\"book-profile\");\n const isPathAtBookView = pathname.includes(\"book-view\");\n\n const [subscribed, setSubscribed] = useState(null);\n const [open, setOpen] = useState([]);\n const [videoDurations, setVideoDurations] = useState([]);\n\n // Fetch data on component mount\n useEffect(() => {\n dispatch(\n getSingleBookSupplementariesAction({ book_id: id, isProgram })\n );\n dispatch(getBookTestsRequest({ book_id: id }));\n // dispatch(getBookQuizzes({ book_id: id, page: -1 }));\n dispatch(getBookSupplementaryProgress({ book_id: +id }));\n dispatch(getSingleBookAction(id));\n }, [dispatch, id, isProgram]);\n\n // Update subscription status when singleBook or login changes\n useEffect(() => {\n if (singleBook?.id) {\n setSubscribed(\n Boolean(\n login?.institution_subscription?.id ||\n login?.is_beta ||\n singleBook?.is_subscribed\n )\n );\n }\n }, [singleBook?.id, login]);\n\n // Memoize sorted tests to avoid recalculating on every render\n const sortedTests = useMemo(\n () => singleBookTests.sort((a, b) => a.pre_page - b.pre_page),\n [singleBookTests]\n );\n\n // Memoize chapter supplementaries to optimize performance\n const chapterSupplementaries = useMemo(\n () =>\n sortedTests.map((test) => {\n return singleBookSupplementaries.filter(\n (video) =>\n video.book_page >= test.pre_page &&\n video.book_page <= test.post_page\n );\n }),\n [sortedTests, singleBookSupplementaries]\n );\n\n // Handle video durations\n useEffect(() => {\n let isMounted = true;\n if (subscribed && !isPathAtBookProfile && !isPathAtBookView) {\n const processVideos = async (videos) => {\n const durations = [];\n for (const video of videos) {\n if (Array.isArray(video.supplementary_materials)) {\n for (const supplementary of video.supplementary_materials) {\n const src = supplementary.url;\n const vidId = supplementary.id;\n durations.push({ id: vidId, duration: 0 });\n try {\n const duration = await getVideoDuration(src);\n const index = durations.findIndex(\n (item) => item.id === vidId\n );\n durations[index].duration = duration;\n } catch (error) {\n console.error(\"Error loading video:\", src, error);\n }\n }\n }\n }\n if (isMounted) {\n setVideoDurations((prevState) => [\n ...prevState,\n ...durations\n ]);\n }\n };\n\n const getVideoDuration = async (src) => {\n return new Promise((resolve, reject) => {\n const videoElement = document.createElement(\"video\");\n videoElement.preload = \"metadata\";\n videoElement.src = src;\n videoElement.onloadedmetadata = () =>\n resolve(videoElement.duration);\n videoElement.onerror = (event) => reject(event);\n });\n };\n\n const chunkArray = (arr, size) => {\n const chunkedArr = [];\n for (let i = 0; i < arr.length; i += size) {\n chunkedArr.push(arr.slice(i, i + size));\n }\n return chunkedArr;\n };\n\n const MAX_CONCURRENT_REQUESTS = 2;\n const chunkedVideos = chunkArray(\n singleBookSupplementaries,\n MAX_CONCURRENT_REQUESTS\n );\n\n if (isMounted) {\n (async () => {\n for (const videosChunk of chunkedVideos) {\n await processVideos(videosChunk);\n }\n })();\n }\n }\n\n return () => {\n isMounted = false;\n };\n }, [singleBookSupplementaries]);\n\n // Format time helper function\n const formatTime = useCallback(\n (seconds) => {\n if (!seconds) return `--:-- ${mins}`;\n const minutes = Math.floor(seconds / 60);\n const remainingSeconds = Math.floor(seconds % 60);\n return `${minutes}:${\n remainingSeconds < 10 ? \"0\" : \"\"\n }${remainingSeconds} ${mins}`;\n },\n [mins]\n );\n\n // Memoize handleToggle to avoid re-creating the function on every render\n const handleToggle = useCallback((index) => {\n setOpen((prevOpen) => {\n const newOpen = [...prevOpen];\n newOpen[index] = !newOpen[index];\n return newOpen;\n });\n }, []);\n\n return (\n 8 && isPathAtBookProfile\n ? \"650px\"\n : singleBookTests?.length > 7 && isPathAtBookView\n ? \"600px\"\n : \"100%\"\n }}\n className={`${\n isPathAtBookProfile\n ? styles.AllBookVideosContainerDivBookProfile\n : isPathAtBookView\n ? styles.AllBookVideosContainerDivBookView\n : \"\"\n } ${styles.thinScrollBarContainerDiv}`}\n >\n {sortedTests?.map((test, index) => (\n
\n {!isPathAtBookProfile && (\n
\n {test.pre_page} - {test.post_page}\n
\n )}\n \n
\n
\n {`${chapter} ${\n index + 1\n } : ${test.title}`}\n
\n
\n \n \n {chapterSupplementaries[index].length}{\" \"}\n {chapterSupplementaries[index].length >= 1\n ? lectures\n : lecture}\n \n handleToggle(index)}\n >\n \n
\n
\n
\n \n \n {chapterSupplementaries[index]?.length ? (\n chapterSupplementaries[index].map((book) =>\n book?.supplementary_materials?.map(\n (supplementary, i) => (\n \n \n {SupplementariesProgress[\n supplementary.supplementary_material_id\n ] ? (\n \n ) : (\n \n )}\n {subscribed ? (\n \n {supplementary.material_title}\n \n ) : (\n \n {supplementary.material_title}\n \n )}\n \n {!isPathAtBookProfile &&\n !isPathAtBookView &&\n subscribed ? (\n \n {formatTime(\n videoDurations.find(\n (e) => e.id === supplementary.id\n )?.duration\n )}\n

\n ) : null}\n \n )\n )\n )\n ) : (\n

\n No Book Supplementaries are added yet\n

\n )}\n \n
\n \n \n ))}\n \n );\n};\n\nexport default React.memo(AllBookVideosComponent);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Card as BootstrapCard } from \"react-bootstrap\";\n\nexport const Card = ({\n img,\n children,\n className,\n cardBodyClassName\n}) => {\n return (\n \n {img && (\n \n )}\n \n {children}\n \n \n );\n};\nCard.propTypes = {\n img: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n cardBodyClassName: PropTypes.string\n};\n\nCard.defaultProps = {\n img: \"\",\n className: \"\"\n};\n","import React from \"react\";\n\nconst ModalClose = (props) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ModalClose;\n","import React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { Col, Row } from \"react-bootstrap\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch } from \"react-redux\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { faCheck } from \"@fortawesome/free-solid-svg-icons\";\nimport BookCover from \"../../../../components/BookCover\";\nimport { Card as BootstrapCard } from \"../../../../components/Card/Card\";\nimport Button from \"../../../../components/Button\";\nimport { writtenBy } from \"../../../../utils/general\";\nimport messages from \"../../../../assets/locale/messages\";\nimport { ROUTE_PATHS } from \"../../../../utils/PathsNames\";\nimport ModalClose from \"../../../../assets/svgs/modal-close\";\nimport { setPaymentMethod } from \"../../../../store/Checkout/actions\";\nimport styles from \"./BookSubscription.module.scss\";\nimport { setSubscribeBookSelected } from \"../../../../store/Books/actions\";\nimport History from \"../../../../routes/History\";\n\nconst BooksNameAndAuthor = ({ book, className }) => {\n const { title = \"Unkown Title\", author = \"Unknoown Author\" } =\n book || {};\n const { locale } = useIntl();\n\n return (\n
\n

{title}

\n\n

\n {writtenBy(author, locale)}\n

\n
\n );\n};\nBooksNameAndAuthor.propTypes = {\n book: PropTypes.object,\n className: PropTypes.string\n};\n\nconst BookSubscriptionModal = ({\n singleBook,\n setSubscriptionModal\n}) => {\n const { locale } = useIntl();\n const message = messages[locale];\n const dispatch = useDispatch();\n\n const subscriptionList = [\n {\n icon: (\n \n ),\n list: (\n <>\n 12-Month\n \n {\" \"}\n Unlimited Access to{\" \"}\n \n {singleBook?.title}\n {\" \"}\n \n \n )\n },\n {\n icon: (\n \n ),\n list: message.booksubscription.subscriptionSecondService\n },\n {\n icon: (\n \n ),\n list: message.booksubscription.subscriptionThirdService\n }\n ];\n const subscritionButtons = [\n {\n isLink: true,\n slug: ROUTE_PATHS.checkout,\n text: message.buttons.paypalCheckout,\n className: `primary`,\n paymentMethod: \"paypal\"\n }\n // {\n // isLink: true,\n // slug: ROUTE_PATHS.checkout,\n // text: message.buttons.stripeCheckout,\n // className: `primary`,\n // paymentMethod: \"stripe\"\n // }\n ];\n return (\n <>\n \n \n setSubscriptionModal(false)}\n />\n

\n {message.booksubscription.subscritptionTitle}\n

\n \n {message.booksubscription.subscritptionInfo}\n

\n
\n \n \n
\n \n \n \n \n {message.booksubscription.yearlyPlan}\n

\n
\n {subscriptionList.map((item, index) => {\n return (\n \n \n {item.icon}\n \n \n {item.list}\n \n
\n );\n })}\n \n
\n \n
\n {\n if (\n JSON.parse(localStorage.getItem(\"user\")) ||\n JSON.parse(sessionStorage.getItem(\"user\"))\n ) {\n dispatch(setPaymentMethod(\"paypal\"));\n sessionStorage.setItem(\n \"bookToBuy\",\n JSON.stringify(singleBook)\n );\n dispatch(setSubscribeBookSelected(singleBook));\n // History.push(\n // `${ROUTE_PATHS.promocode}/${singleBook?.id}`\n // );\n History.push(\n `${ROUTE_PATHS.bookCheckout}/${singleBook?.id}`\n );\n } else {\n History.push(`${ROUTE_PATHS.signin}`);\n }\n }}\n >\n
Subscribe for
\n
${singleBook?.price}/ Year
\n
\n \n \n \n
\n \n {message.booksubscription.note}\n \n \n \n • {message.booksubscription.firstNoteSubscription}\n \n \n • {message.booksubscription.secondNoteSubscription}\n \n
\n \n \n
\n \n );\n};\nBookSubscriptionModal.propTypes = {\n singleBook: PropTypes.object,\n setSubscriptionModal: PropTypes.func\n};\nexport default BookSubscriptionModal;\n","import moment from \"moment\";\nimport * as pdfjsLib from \"pdfjs-dist/legacy/build/pdf\";\nimport PDFJSWorker from \"pdfjs-dist/legacy/build/pdf.worker.entry\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useState } from \"react\";\nimport { Tab, Tabs } from \"react-bootstrap\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useParams } from \"react-router\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport Slider from \"react-slick\";\nimport Button from \"../../../components/Button\";\nimport Modal from \"../../../components/Modal\";\nimport NextArrow from \"../../../components/ReactSliderButtons/NextArrow\";\nimport PrevArrow from \"../../../components/ReactSliderButtons/PrevArrow\";\nimport Samples from \"../../../components/SamplesOfBook/Samples\";\nimport {\n getBookQuizzes,\n getBookTestsRequest,\n getDirectorSingleBookAction,\n getSingleBookAction,\n getSingleBookSupplementariesAction,\n setSingleBookAction\n} from \"../../../store/Books/actions\";\nimport { ROUTE_PATHS } from \"../../../utils/PathsNames\";\nimport AllBookVideosComponent from \"../AllBookVideos/AllBookVideosComponent\";\nimport BookSubscriptionModal from \"../BookSubscribtion/BooksSubscribtionModal/BookSubscribtionModal\";\nimport styles from \"./ProfileData.module.scss\";\n\nconst tapsTitiles = {\n FrontMatter: \"FrontMatter\",\n Faculty: \"Faculty\",\n Overview: \"Overview\"\n};\n\nexport default function BookData() {\n /* eslint-disable react/prop-types */\n\n const settings = {\n dots: false,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n variableWidth: true,\n arrows: true,\n nextArrow: ,\n prevArrow: \n // className: \"cd\"\n };\n let params = useParams();\n const dispatch = useDispatch();\n const { pathname } = useLocation();\n const isProgram = pathname.includes(\"program\");\n const { messages } = useIntl();\n const releaseFormat = \"D MMM YYYY\";\n const login = useSelector((state) => state.auth.login);\n const [subscriptionModal, setSubscriptionModal] = useState(false);\n const [subscribed, setSubscribed] = useState(null);\n const {\n buttons: { preview, enroll },\n shared: { by },\n books: {\n NameOfTabs: {\n Overview: { OverviewTitle },\n Faculty,\n frontMatter\n },\n Statistics: {\n pages,\n Readinghours,\n Chapters,\n CME_Hours,\n Lectures,\n quizzes,\n Authors,\n Speakers\n }\n },\n errors: { subscriptionError },\n userBookList: {\n buttonStart,\n buttonContinue,\n completed,\n viewCourseLectures\n }\n } = messages;\n\n const {\n singleBook,\n singleBookQuizzes,\n singleBookSupplementaries,\n singleBookTests\n } = useSelector((state) => state.books);\n\n const currentSunscriptionLoader = useSelector(\n (state) => state.books.currentSunscriptionLoader\n );\n // console.log(\n // \"singleBookSupplementaries at book profile: \",\n // singleBookSupplementaries.length\n // );\n\n useEffect(() => {\n if (params?.id) {\n if (isProgram) {\n dispatch(getDirectorSingleBookAction(params.id));\n } else {\n dispatch(getSingleBookAction(params.id));\n getSingleBookSupplementariesAction({\n book_id: params?.id,\n isProgram\n });\n dispatch(getBookTestsRequest({ book_id: params?.id }));\n setSubscribed(\n login?.institution_subscription?.id ||\n login?.is_beta ||\n singleBook?.is_subscribed\n );\n }\n }\n }, [params?.id]);\n\n useEffect(() => {\n if (singleBook?.id) {\n setSubscribed(\n Boolean(\n login?.institution_subscription?.id ||\n login?.is_beta ||\n singleBook?.is_subscribed\n )\n );\n dispatch(\n getBookQuizzes({\n book_id: singleBook?.id,\n page: -1,\n isProgram\n })\n );\n }\n }, [singleBook]);\n\n useEffect(() => {\n return () => {\n dispatch(setSingleBookAction(null));\n };\n }, []);\n\n const bookStatistics = [\n {\n title: pages,\n value: singleBook?.number_of_pages\n },\n {\n title: Lectures,\n value: `${singleBookSupplementaries?.length}`\n },\n {\n title: Readinghours,\n value: `${singleBook?.reading_hours}`\n },\n {\n title: quizzes,\n value: singleBookQuizzes?.length\n },\n {\n title: Chapters,\n value: `${singleBookTests?.length}`\n },\n {\n title: CME_Hours,\n value: `${\n singleBook?.certificate?.credits\n ? singleBook?.certificate?.credits\n : 0\n }`\n },\n {\n title: Authors,\n value: `${\n singleBook?.number_of_authors\n ? singleBook?.number_of_authors\n : 0\n }`\n },\n {\n title: Speakers,\n value: `${\n singleBook?.number_of_speakers\n ? singleBook?.number_of_speakers\n : 0\n }`\n }\n ];\n const [currentTap, setCurrentTap] = useState(tapsTitiles.Overview);\n const [openedTaps, setopenedTaps] = useState([\n tapsTitiles.Overview\n ]);\n const tabs = [\n {\n title: OverviewTitle,\n content: openedTaps.find((t) => t === tapsTitiles.Overview) ? (\n \n ) : null,\n key: tapsTitiles.Overview\n },\n {\n title: Faculty,\n content: openedTaps.find((t) => t === tapsTitiles.Faculty) ? (\n \n ) : null,\n key: tapsTitiles.Faculty\n },\n {\n title: frontMatter,\n content: openedTaps.find(\n (t) => t === tapsTitiles.FrontMatter\n ) ? (\n \n ) : null,\n key: tapsTitiles.FrontMatter\n }\n ];\n console.log(\"current tap: \" + currentTap);\n\n const handleSubscriptionModal = () => {\n setSubscriptionModal(true);\n };\n\n const [gradientPercentage, setGradientPercentage] = useState(37);\n\n useEffect(() => {\n const updateGradient = () => {\n const screenWidth = window.innerWidth;\n\n // Dynamically calculate the percentage (e.g., based on a formula or breakpoints)\n const newPercentage =\n screenWidth > 1400\n ? 42\n : screenWidth > 1000\n ? 41\n : screenWidth > 930\n ? 42\n : screenWidth > 603\n ? 44\n : 40;\n setGradientPercentage(newPercentage);\n };\n\n // Initial calculation\n updateGradient();\n\n // Add event listener for resize\n window.addEventListener(\"resize\", updateGradient);\n\n // Cleanup on unmount\n return () => window.removeEventListener(\"resize\", updateGradient);\n }, []);\n\n const gradientStyle = {\n background: `linear-gradient(180deg, #eaf4ff ${gradientPercentage}%, #ffffff ${0}%)`\n };\n return (\n
\n
\n
\n
\n \n
\n {!subscribed && !isProgram && (\n
\n

${singleBook?.price}

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

{singleBook?.title}

\n {`${by} ${singleBook?.author}\n ${\n singleBook?.release_date\n ? ` | ${moment(singleBook.release_date).format(\n releaseFormat\n )}`\n : \"\"\n }`}\n
\n\n
\n
\n \n {!subscribed && (\n \n )}\n {subscribed && (\n <>\n {(singleBook?.book_progress?.is_survey_solved ||\n singleBook?.book_progress?.status ===\n \"completed\") && (\n \n )}\n {(singleBook?.book_progress?.status ===\n \"not_started\" ||\n (!singleBook?.book_progress &&\n login?.institution_subscription?.id) ||\n (!singleBook?.book_progress &&\n login?.is_beta)) && (\n \n )}\n {singleBook?.book_progress?.status ===\n \"in_progress\" && (\n \n )}\n \n )}\n
\n
\n\n
\n {bookStatistics.map(({ title, value }) =>\n value != 0 ? (\n
\n <>\n {value}\n {title}\n \n
\n ) : null\n )}\n
\n\n {singleBook?.senior_editors?.length ? (\n
\n

EDITORS

\n
\n \n {singleBook?.senior_editors?.map(\n (editor, index) => (\n \n \n

\n {editor.name} {editor.title}\n

\n
\n )\n )}\n \n
\n
\n ) : (\n
\n )}\n
\n
\n
\n
\n \n
\n
\n \n \n \n \n );\n}\n\nconst FrontMatterOrFacultyPdf = ({ pdfTtype, singleBook }) => {\n pdfjsLib.GlobalWorkerOptions.workerSrc = PDFJSWorker;\n const params = useParams();\n console.log(\"params id :\", params);\n\n const [scaleNumber, setScaleNumber] = useState(1);\n const [pdfUrl, setPdfUrl] = useState(null);\n const [activeBookProfile, setActiveBookProfile] = useState(null);\n const removeExistingCanvases = () => {\n const container = document.getElementById(\n pdfTtype === tapsTitiles.FrontMatter\n ? \"Container1\"\n : \"Container2\"\n );\n if (!container) return;\n\n // Get all elements with ID starting with \"pdfcanvas_\"\n // const existingCanvases = document.querySelectorAll(\"canvas\");\n const existingCanvases = container.querySelectorAll(\n \"[id^=pdfcanvas_]\"\n );\n // console.log(\"CAANNVVAASS\", existingCanvases);\n\n existingCanvases.forEach((canvas) =>\n container.removeChild(canvas)\n );\n };\n // Update `pdfUrl` whenever `pdfTtype` or `singleBook` changes\n useEffect(() => {\n // console.log(\"pdfTtype in useeffect: \", pdfTtype);\n\n if (pdfTtype === tapsTitiles.FrontMatter) {\n setPdfUrl(singleBook?.front_matter);\n setActiveBookProfile(\"front\");\n } else if (pdfTtype === tapsTitiles.Faculty) {\n setPdfUrl(singleBook?.faculty);\n setActiveBookProfile(\"faculty\");\n }\n }, [pdfTtype, singleBook]);\n\n useEffect(() => {\n const scaleFunc = () => {\n const screenWidth = window.innerWidth;\n const scaleNum =\n screenWidth <= 500 ? (screenWidth <= 330 ? 0.4 : 0.5) : 1;\n setScaleNumber(scaleNum);\n };\n\n scaleFunc();\n window.addEventListener(\"resize\", scaleFunc);\n\n const loadPdf = async () => {\n // console.log(\"pdfUrl -> \", pdfUrl);\n try {\n if (!pdfUrl) return;\n\n const pdf = await pdfjsLib.getDocument(pdfUrl).promise;\n const container = document.getElementById(\n pdfTtype === tapsTitiles.FrontMatter\n ? \"Container1\"\n : \"Container2\"\n );\n\n if (container) {\n container.innerHTML = \"\";\n }\n\n // if (!container) {\n // console.error(\"Container element not found\");\n // return;\n // }\n\n // Clear the existing canvases\n // container.innerHTML = \"\";\n\n if (!pdf) return;\n removeExistingCanvases();\n\n for (\n let pageNumber = 1;\n pageNumber <= pdf.numPages;\n pageNumber++\n ) {\n const page = await pdf.getPage(pageNumber);\n const viewport = page.getViewport({ scale: scaleNumber });\n const canvas = document.createElement(\"canvas\");\n canvas.id = `pdfcanvas_${pageNumber}`;\n container.appendChild(canvas);\n\n const context = canvas.getContext(\"2d\");\n\n const resolution = 3; // Higher resolution for better quality\n canvas.height = resolution * viewport.height;\n canvas.width = resolution * viewport.width;\n canvas.style.height = `${viewport.height}px`; // Display size\n canvas.style.width = `${viewport.width}px`;\n canvas.style.display = \"block\";\n const renderContext = {\n canvasContext: context,\n viewport,\n transform: [resolution, 0, 0, resolution, 0, 0]\n };\n await page.render(renderContext).promise;\n }\n } catch (error) {\n console.error(\"Error loading PDF:\", error);\n }\n };\n\n // Clear the container when switching between books or pdf types\n const container = document.getElementById(\n pdfTtype === tapsTitiles.FrontMatter\n ? \"Container1\"\n : \"Container2\"\n );\n if (container) {\n container.innerHTML = \"\"; // Clear existing content\n }\n\n loadPdf();\n\n // Cleanup function to clear container and remove event listener\n return () => {\n window.removeEventListener(\"resize\", scaleFunc);\n if (container) {\n container.innerHTML = \"\"; // Ensure the container is cleared on unmount or re-render\n }\n };\n }, [pdfUrl, scaleNumber, pdfTtype, singleBook?.id]);\n\n return (\n \n {activeBookProfile && (\n \n {/* ... (existing PDF rendering logic) */}\n \n )}\n \n );\n};\n\nconst Taps = ({\n tabs = [],\n currentTap,\n setCurrentTap,\n setopenedTaps\n}) => {\n return (\n <>\n {\n setCurrentTap(k);\n setopenedTaps((oldtaps) => {\n const newtaps = [...oldtaps];\n const ti = newtaps.findIndex((t) => t === k);\n if (ti > -1) return newtaps;\n else newtaps.push(k);\n return newtaps;\n });\n }}\n className={`${styles[\"taps-titles\"]} mb-3`}\n >\n {tabs.map((item, i) => {\n const { title, content, key } = item;\n return (\n \n {content}\n \n );\n })}\n \n \n );\n};\n\nTaps.propTypes = {\n data: PropTypes.array,\n InsideTaps: PropTypes.array\n};\nconst BreifComponent = ({ singleBook = {}, subscribed }) => {\n const { messages } = useIntl();\n\n const {\n books: {\n NameOfTabs: {\n Overview: {\n OverviewSections: { brief, sample, content }\n }\n }\n }\n } = messages;\n return (\n
\n
\n

{brief}

\n
{singleBook?.brief}
\n
\n
\n

{sample}

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

{content}

\n
\n \n
\n
\n \n );\n};\nBreifComponent.propTypes = {\n singleBook: PropTypes.object\n};\n// const Samples = ({ book }) => {\n// let params = useParams();\n\n// useEffect(() => {\n// let isMounted = true;\n// if (!book?.pdf) return;\n\n// const loadSample = async () => {\n// const url = book?.pdf;\n// pdfjsLib.GlobalWorkerOptions.workerSrc =\n// process.env.REACT_APP_PDF_WORKER;\n// const loadingTask = pdfjsLib.getDocument(url);\n// const pdf = await loadingTask.promise;\n\n// if (!isMounted) {\n// return;\n// }\n\n// // Clear the existing canvases in pdfContainer\n// const pdfContainer = document.getElementById(\"pdfContainer\");\n// if (pdfContainer) {\n// pdfContainer.innerHTML = \"\"; // Remove all existing child nodes\n// }\n\n// const resultArray = [3, 8, 11, 14, 16, 18];\n\n// const renderPage = async (pageNumber) => {\n// try {\n// if (!isMounted) {\n// return;\n// }\n\n// const page = await pdf.getPage(pageNumber);\n\n// const scale = 0.15;\n// const viewport = page.getViewport({\n// scale: scale\n// });\n\n// const canvas = document.createElement(\"canvas\");\n// canvas.id = \"pdfcanvas\" + pageNumber;\n// pdfContainer.appendChild(canvas);\n\n// const context = canvas.getContext(\"2d\");\n// canvas.height = viewport.height;\n// canvas.width = viewport.width;\n\n// const renderContext = {\n// canvasContext: context,\n// viewport: viewport\n// };\n\n// await page.render(renderContext).promise;\n\n// if (!isMounted) {\n// return;\n// }\n// } catch (error) {\n// console.error(`Error rendering page ${pageNumber}:`, error);\n// }\n// };\n\n// const renderingPromises = resultArray.map(renderPage);\n\n// await Promise.all(renderingPromises);\n// };\n\n// loadSample();\n\n// return () => {\n// isMounted = false;\n// };\n// }, [book?.pdf, params?.id]);\n\n// return (\n// \n// );\n// };\n\n// Samples.propTypes = {\n// book: PropTypes.object\n// };\n","export default __webpack_public_path__ + \"static/media/logo.d79e796d.png\";","export default __webpack_public_path__ + \"static/media/icon-facebook.b3a0ea91.svg\";","export default __webpack_public_path__ + \"static/media/icon-instgram.1711ea3e.svg\";","export default __webpack_public_path__ + \"static/media/icon-twitter.f9b1e700.svg\";","export default __webpack_public_path__ + \"static/media/linkedin.f93bfcdb.svg\";","export default __webpack_public_path__ + \"static/media/bookshelves.6be10cb8.jpg\";","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst ErrorMessage = ({ message }) => {\n return

{message}

;\n};\n\nErrorMessage.propTypes = {\n message: PropTypes.string\n};\n\nexport default ErrorMessage;\n","export default __webpack_public_path__ + \"static/media/google.a4fa9b6f.svg\";","export const boxStyle = {\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n width: \"fit-content\",\n transform: \"translate(-50%, -50%)\",\n bgcolor: \"background.paper\",\n borderRadius: \"8px\",\n boxShadow: 24,\n p: 4\n};\n","export default __webpack_public_path__ + \"static/media/Document.1dc4bead.svg\";","import Document from \"../assets/svgs/Document.svg\";\n\nexport const numbersOnly = (event) => {\n let key = window.event ? event.keyCode : event.which;\n if (\n event.keyCode == 8 ||\n event.keyCode == 46 ||\n event.keyCode == 37 ||\n event.keyCode == 39 ||\n (key >= 96 && key <= 105) // allow numbers from numpad\n ) {\n return true;\n } else if (key < 48 || key > 57) {\n return event.preventDefault();\n } else return true;\n};\n\nexport function formatOptions(element, id, label, value) {\n return {\n id: element[id],\n label: element[label],\n value: element[value || id]\n };\n}\n\nexport const getSupplementaryTypeLabel = (type) => {\n switch (type) {\n case 0:\n case \"video\":\n return {\n id: 0,\n label: \"video\",\n icon: \n };\n case 1:\n case \"image\":\n return {\n id: 1,\n label: \"image\",\n icon: \n };\n case 2:\n case \"DICOM\":\n return {\n id: 2,\n label: \"dicom\",\n icon: \n };\n default:\n break;\n }\n};\n\nexport function splitOnCapitals(str = \"\") {\n const regex = /(?<=\\b|[A-Z])(?=[A-Z][a-z]|\\d|[A-Z])/g;\n const matchesArray = str.match(regex);\n return matchesArray?.length ? matchesArray?.join(\" \") : str;\n}\n\nexport function capitalizeFirstLetter(str) {\n return str.replace(/^./, (match) => match.toUpperCase());\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ErrorMessage, Field } from \"formik\";\nimport CurrencyInput from \"react-currency-input-field\";\nimport { numbersOnly } from \"../../utils/Helpers\";\nimport styles from \"./Input.module.scss\";\n\nconst Input = ({\n name,\n label,\n placeholder,\n inputIcon,\n onIconClick,\n type,\n showCounter,\n charLimit,\n isRequired,\n inputShape,\n currencyPrefix,\n autoComplete,\n isNumber,\n ...rest\n}) => {\n const renderInput = (field, form) => {\n switch (inputShape) {\n case \"currency\":\n return (\n {\n form.setFieldValue(name, value);\n }}\n prefix={currencyPrefix}\n />\n );\n case \"textarea\":\n return (\n \n );\n default:\n return (\n numbersOnly(e) : null}\n {...rest}\n {...field}\n />\n );\n }\n };\n\n return (\n
\n
\n \n {({ field, form }) => (\n <>\n {renderInput(field, form)}\n {label && (\n \n {label}\n {isRequired && (\n *\n )}\n \n )}\n {showCounter && (\n \n {field.value.length}/{charLimit}\n \n )}\n \n )}\n \n {inputIcon && (\n \n {inputIcon}\n \n )}\n
\n \n
\n );\n};\n\nInput.propTypes = {\n name: PropTypes.string,\n label: PropTypes.string,\n placeholder: PropTypes.string,\n inputIcon: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.node,\n PropTypes.object\n ]),\n onIconClick: PropTypes.func,\n type: PropTypes.string,\n showCounter: PropTypes.bool,\n charLimit: PropTypes.number,\n isRequired: PropTypes.bool,\n isNumber: PropTypes.bool,\n inputShape: PropTypes.string,\n currencyPrefix: PropTypes.string,\n autoComplete: PropTypes.string\n};\n\nInput.defaultProps = {\n name: \"\",\n label: \"\",\n placeholder: \"\",\n type: \"text\",\n showCounter: false,\n isRequired: false,\n inputShape: null,\n currencyPrefix: \"$\",\n autoComplete: \"off\",\n isNumber: false,\n onIconClick: () => {}\n};\n\nexport default Input;\n","export const COLORS = {\n primary: \"#0e4dce\",\n secondary: \"#d24ec6\",\n bgPrimaryLight: \"#ecf1fb\",\n bgPrimaryMid: \"#d0dcf5\",\n black: \"#3d3d3d\",\n white: \"#ffffff\",\n gray: \"#807f7f\",\n grayLight: \"#f6f6f6\",\n bgPrimary: \"#f4f7fd\",\n blackMid: \"#5e5e5e\",\n grayMid: \"#bcbcbc\"\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport Select from \"react-select\";\nimport { ErrorMessage, Field } from \"formik\";\nimport _ from \"lodash\";\nimport { useIntl } from \"react-intl\";\nimport { COLORS } from \"../../utils/Theme\";\nimport styles from \"./Select.module.scss\";\n\nconst CustomSelect = ({\n name,\n options,\n placeholder,\n handleSelectChange,\n bgColor,\n textColor,\n isRequired,\n isMulti,\n isAddNoneOption,\n isMenuRelative,\n icon,\n width,\n isSearchable,\n containerClass,\n label,\n customStyle,\n showSelectedValue\n}) => {\n const Styles = {\n control: (styles) => ({\n ...styles,\n backgroundColor: bgColor ? bgColor : COLORS.white,\n borderRadius: \"12px\",\n border: 0,\n boxShadow: \"none\",\n minWidth: width,\n width: \"auto\",\n cursor: \"pointer\",\n justifyContent: \"center\"\n }),\n valueContainer: (styles) => {\n return {\n ...styles,\n padding: \"10px 14px\",\n display: showSelectedValue ? \"static\" : \"none\"\n };\n },\n option: (styles, { isSelected }) => {\n return {\n ...styles,\n color: isSelected ? COLORS.primary : COLORS.black,\n backgroundColor: isSelected ? \"transparent\" : COLORS.white,\n \":hover\": {\n color: COLORS.primary,\n backgroundColor: \"transparent\",\n cursor: \"pointer\"\n }\n };\n },\n menu: (styles) => {\n return {\n ...styles,\n boxShadow: \"2px 5px 15px 0 rgba(0, 0, 0, 0.1)\",\n borderRadius: \"12px\",\n overflow: \"hidden\",\n zIndex: 999,\n position: isMenuRelative ? \"relative\" : \"absolute\",\n ...customStyle\n };\n },\n placeholder: (styles) => ({\n ...styles,\n color: COLORS.black,\n fontFamily: \"Helvetica-Medium\",\n fontSize: \"14px\"\n }),\n singleValue: (styles) => ({\n ...styles,\n color: textColor\n }),\n indicatorSeparator: () => ({\n display: \"none\"\n })\n };\n\n const CustomIcon = ({ innerProps, isDisabled }) =>\n !isDisabled ? (\n
\n {icon}\n
\n ) : null;\n\n const { messages } = useIntl();\n\n const {\n shared: { none }\n } = messages;\n\n const getValue = (field) => {\n if (options) {\n return isMulti\n ? options.filter(\n (option) => field.value.indexOf(option.id) >= 0\n )\n : options.find((option) => option.id === field.value);\n } else {\n return isMulti ? [] : \"\";\n }\n };\n\n return (\n
\n \n {({ field, form }) => (\n
\n \n {placeholder}{\" \"}\n {isRequired && !label && (\n *\n )}\n \n }\n name={field.name}\n value={getValue(field)}\n onChange={(option) => {\n form.setFieldValue(field.name, option.id);\n _.isFunction(handleSelectChange) &&\n handleSelectChange(option.id);\n }}\n onBlur={field.onBlur}\n isMulti={isMulti}\n components={{\n DropdownIndicator: CustomIcon\n }}\n isSearchable={isSearchable}\n />\n {label && (\n \n {label}\n {isRequired && (\n *\n )}\n \n )}\n
\n )}\n
\n \n
\n );\n};\n\nCustomSelect.propTypes = {\n name: PropTypes.string,\n placeholder: PropTypes.string,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n id: PropTypes.oneOfType([PropTypes.string, PropTypes.number])\n .isRequired,\n label: PropTypes.string.isRequired,\n value: PropTypes.string.isRequired\n })\n ),\n handleSelectChange: PropTypes.func,\n bgColor: PropTypes.string,\n textColor: PropTypes.string,\n isRequired: PropTypes.bool,\n isMulti: PropTypes.bool,\n isAddNoneOption: PropTypes.bool,\n isMenuRelative: PropTypes.bool,\n icon: PropTypes.node,\n innerProps: PropTypes.object,\n isDisabled: PropTypes.bool,\n width: PropTypes.string,\n isSearchable: PropTypes.bool,\n containerClass: PropTypes.string,\n label: PropTypes.string,\n customStyle: PropTypes.object,\n showSelectedValue: PropTypes.bool\n};\n\nCustomSelect.defaultProps = {\n name: \"\",\n placeholder: \"\",\n options: [],\n isRequired: false,\n isMulti: false,\n isAddNoneOption: false,\n isMenuRelative: false,\n width: \"auto\",\n isSearchable: true,\n handleSelectChange: () => {},\n containerClass: \"\",\n label: \"\",\n customStyle: {},\n showSelectedValue: true\n};\n\nexport default CustomSelect;\n","import React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport { useGoogleLogin } from \"@react-oauth/google\";\n\nimport GoogleIcon from \"../../assets/svgs/google.svg\";\nimport { socialAuthorization } from \"../../store/Auth/actions\";\nimport styles from \"./GoogleButton.module.scss\";\nimport axios from \"axios\";\nimport { useState } from \"react\";\nimport { boxStyle } from \"../../containers/Books/BookViewer/boxStyle\";\nimport { Box, Modal } from \"@mui/material\";\nimport { Col, Container, Row } from \"react-bootstrap\";\nimport Input from \"../Input\";\nimport { useIntl } from \"react-intl\";\nimport CustomSelect from \"../Select\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { COLORS } from \"../../utils/Theme\";\nimport { formatOptions } from \"../../utils/Helpers\";\nimport { faChevronDown } from \"@fortawesome/free-solid-svg-icons\";\nimport Button from \"../Button\";\n\nconst GoogleButton = ({ text, type, registerData = {} }) => {\n const dispatch = useDispatch();\n const { messages } = useIntl();\n const {\n signup: { header, termsAgreement, signUpMessage, imageUpload },\n inputs: {\n email,\n password,\n phoneOptional,\n firstName,\n lastName,\n institution,\n city,\n country,\n job,\n ContinueRegisteration\n },\n buttons: { register }\n } = messages;\n const jobs = useSelector((state) => state.jobs.list);\n const countries = useSelector((state) => state.countries.list);\n\n const getUserInfo = async (token) => {\n return await axios({\n url: \"https://www.googleapis.com/oauth2/v3/userinfo\",\n method: \"GET\",\n headers: {\n Authorization: `Bearer ${token}`\n }\n })\n .then((response) => response)\n .catch((error) => console.log(\"get user info error\", error));\n };\n\n const [userGoogleData, setUserGoogleData] = useState({});\n const authorizeGoogleAccount = (response) => {\n getUserInfo(response.access_token).then((userInfo) => {\n const login = {\n social_provider_id: userInfo.data.sub,\n social_provider_type: \"google\"\n };\n if (type === \"signin\") {\n dispatch(\n socialAuthorization({\n ...login,\n first_name: userInfo.data.given_name,\n second_name: userInfo.data.family_name,\n email: userInfo.data.email,\n sign_in: true\n })\n );\n }\n if (type === \"signup\") {\n setOpenModal(true);\n console.log(login, userInfo);\n setUserGoogleData(userInfo);\n }\n });\n };\n\n const login = useGoogleLogin({\n onSuccess: (response) => {\n authorizeGoogleAccount(response);\n },\n onError: (error) => {\n console.log(\"error testing\", error);\n }\n });\n const [openModal, setOpenModal] = useState(false);\n return (\n <>\n \n {\n setOpenModal(false);\n }}\n aria-labelledby=\"modal-modal-title\"\n aria-describedby=\"modal-modal-description\"\n >\n \n

{ContinueRegisteration}

\n \n \n \n \n \n \n \n formatOptions(country, \"id\", \"name\")\n )}\n placeholder={country}\n name=\"country_id\"\n bgColor={COLORS.bgPrimaryLight}\n icon={}\n isSearchable={true}\n containerClass=\"mb-4\"\n isRequired\n />\n \n formatOptions(job, \"id\", \"job_type\")\n )}\n placeholder={job}\n name=\"job_id\"\n bgColor={COLORS.bgPrimaryLight}\n icon={}\n isSearchable={true}\n containerClass=\"mb-4\"\n isRequired\n />\n {\n dispatch(\n socialAuthorization({\n social_provider_id: userGoogleData.data?.sub,\n social_provider_type: \"google\",\n first_name: userGoogleData.data?.given_name,\n second_name: userGoogleData.data?.family_name,\n email: userGoogleData.data?.email,\n ...registerData\n })\n );\n }}\n />\n \n \n \n \n );\n};\n\nGoogleButton.propTypes = {\n text: PropTypes.string,\n type: PropTypes.string,\n registerData: PropTypes.object\n};\n\nGoogleButton.defaultProps = {\n text: \"Sign in with Google\",\n type: \"signin\"\n};\n\nexport default GoogleButton;\n","import React from \"react\";\nimport styles from \"./Or.module.scss\";\n\nconst Or = () => {\n return (\n
\n OR\n
\n );\n};\n\nexport default Or;\n","import { useLocation } from \"react-router-dom\";\n\nexport function useQuery() {\n return new URLSearchParams(useLocation().search);\n}\n","export const emailPattern =\n /^\\w+(?:\\.?|-??\\w+)*@\\w+(?:\\.?|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n","import * as Yup from \"yup\";\nimport { emailPattern } from \"../../constants/validations\";\nimport messages from \"../../assets/locale/messages\";\n\nexport const LOGIN_SCHEMA = (locale) => {\n const {\n inputs: {\n emailRequired,\n passwordRequired,\n emailShouldMatchEmailFormat\n }\n } = messages[locale];\n\n return Yup.object().shape({\n password: Yup.string(passwordRequired)\n .required(passwordRequired)\n .nullable(),\n\n email: Yup.string(passwordRequired)\n .email(emailShouldMatchEmailFormat)\n .matches(emailPattern, emailShouldMatchEmailFormat)\n .required(emailRequired)\n .nullable()\n });\n};\n","import { Form, Formik } from \"formik\";\nimport PropTypes from \"prop-types\";\nimport React, { useState } from \"react\";\nimport { Col, Container, Row } from \"react-bootstrap\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport Bookshelves from \"../../assets/images/bookshelves.jpg\";\nimport medblendLogo from \"../../assets/images/logo.png\";\nimport Button from \"../../components/Button\";\nimport ErrorMessage from \"../../components/ErrorMessage/ErrorMessge\";\nimport GoogleButton from \"../../components/GoogleButton\";\nimport Input from \"../../components/Input\";\nimport Modal from \"../../components/Modal\";\nimport Or from \"../../components/Or\";\nimport { useQuery } from \"../../hooks/useQuery\";\nimport {\n loginRequest,\n loginThenVerify\n} from \"../../store/Auth/actions\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport { LOGIN_SCHEMA } from \"./validations\";\n\nconst Login = ({ isLoginOpen, onLoginClose, isVerification }) => {\n console.log(\"isVerification\", {\n isLoginOpen,\n onLoginClose,\n isVerification\n });\n\n const dispatch = useDispatch();\n const query = useQuery();\n const [isShowPassword, setIsShowPassword] = useState(false);\n const login = useSelector((state) => state.auth.login);\n const { messages, locale } = useIntl();\n const {\n login: { header, isHaveAccount, createAccount },\n inputs: { email, password, remeberMe },\n buttons: { signIn },\n forgotPassword: { link },\n copyRights,\n contactUs\n } = messages;\n\n const setPasswordStatus = () => setIsShowPassword(!isShowPassword);\n // save hash value in redux store\n // make axios instance dynamic\n const { pathname } = useLocation();\n const isEditor = pathname.includes(\"editor\");\n const isProgram = pathname.includes(\"program\");\n const { isLoggedInAuthor } = useSelector(\n (state) => state.utilities\n );\n const handleSubmit = (data) => {\n const clonedData = {\n ...data,\n isEditor,\n isAuthor: isLoggedInAuthor,\n isProgram\n };\n if (isVerification && query.get(\"token\")) {\n console.log(\"query.get(token)\", query.get(\"token\"));\n console.log(\"clonedData\", clonedData);\n\n dispatch(\n loginThenVerify({\n clonedData,\n token: query.get(\"token\") || localStorage.getItem(\"token\")\n })\n );\n localStorage.removeItem(\"token\");\n } else {\n dispatch(loginRequest(clonedData));\n }\n };\n\n return (\n \n \n \n \n

{header}

\n \n \n \n {() => {\n return (\n
\n \n \n \n
\n onLoginClose()}\n >\n {\" \"}\n {link}\n \n
\n
\n
\n \n );\n }}\n \n
\n
\n {isHaveAccount}\n onLoginClose()}\n >\n {\" \"}\n {createAccount}\n \n
\n
\n \n

{copyRights}

\n onLoginClose()}\n >\n {contactUs}\n \n
\n \n
\n
\n \n );\n};\n\nLogin.propTypes = {\n isLoginOpen: PropTypes.bool,\n onLoginClose: PropTypes.func,\n isVerification: PropTypes.bool\n};\n\nLogin.defaultProps = {\n onLoginClose: () => {},\n isVerification: false\n};\n\nexport default Login;\n","import React, { useEffect, useState } from \"react\";\nimport { Col, Container, Row } from \"react-bootstrap\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport medblendLogo from \"../../assets/images/logo.png\";\nimport iconFacebook from \"../../assets/svgs/icon-facebook.svg\";\nimport iconInstagram from \"../../assets/svgs/icon-instgram.svg\";\nimport iconTwitter from \"../../assets/svgs/icon-twitter.svg\";\nimport iconLinkedin from \"../../assets/svgs/linkedin.svg\";\nimport {\n setLoginModalTrigger,\n toggleLogin\n} from \"../../store/Auth/actions\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport Login from \"../Login\";\nimport \"./Footer.scss\";\n\nconst Footer = () => {\n const dispatch = useDispatch();\n const { messages, locale } = useIntl();\n const user = useSelector((state) => state.auth.login);\n const setOpenLogin = () => dispatch(toggleLogin());\n const setLoginTrigger = (trigger) =>\n dispatch(setLoginModalTrigger(trigger));\n const isLoginOpen = useSelector(\n (state) => state.auth.loginModalOpen\n );\n const loginModalTrigger = useSelector(\n (state) => state.auth.loginModalTrigger\n );\n\n const {\n footer: {\n contactUs,\n aboutus,\n copyRight,\n Register,\n signin,\n digitalCourses,\n acoreTitle\n }\n } = messages;\n\n const [books, setbooks] = useState(null);\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n useEffect(async () => {\n // const getTheBooks =\n // isAuthor ? getAuthorBooks : getBooks;\n // let { data } = await getTheBooks({ page: 1, items: 17 });\n // setbooks(data.books);\n setbooks([]);\n }, []);\n\n const renderBookList = (bookList, List_margin_top = \"\") => {\n if (bookList) {\n return (\n
    \n {bookList.map((book, i) => (\n
  • \n \n {book.title}\n {\" \"}\n
  • \n ))}{\" \"}\n
\n );\n }\n return;\n };\n return (\n
\n
\n \n \n \n \n \n
\n \n \n \n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n
\n \n \n \n \n
\n {acoreTitle}\n
\n
    \n {\n const element = document.getElementById(\n \"about-us-section-id\"\n );\n const header =\n document.getElementById(\"header\");\n const headerOffset =\n (header?.clientHeight ?? 40) + 65; // adjust this value based on your needs\n const elementPosition =\n element?.getBoundingClientRect().top;\n const offsetPosition =\n elementPosition +\n window.pageYOffset -\n headerOffset;\n window.scrollTo({\n top: offsetPosition,\n behavior: \"smooth\"\n });\n }}\n >\n {aboutus}\n {/* {aboutus} */}\n \n
  • \n \n {contactUs}\n \n
  • \n {!user?.id && (\n <>\n
  • \n {\n setOpenLogin();\n setLoginTrigger(\"footer\");\n }}\n >\n {signin}\n \n
  • \n
  • \n \n {Register}\n \n
  • {\" \"}\n \n )}\n
\n \n
\n \n
\n \n\n \n \n \n
\n {digitalCourses}\n
\n
\n {renderBookList(\n books?.slice(0, 3),\n \"margin-top-list\"\n )}\n
\n \n \n
\n {renderBookList(\n books?.slice(4, 7),\n \"margin-top-list\"\n )}\n
\n \n \n
\n {renderBookList(\n books?.slice(8, 11),\n \"margin-top-list\"\n )}\n
\n \n
\n \n
\n \n \n

{copyRight}

\n \n
\n
\n {loginModalTrigger === \"footer\" && (\n {\n setOpenLogin();\n setLoginTrigger(\"\");\n }}\n lang={locale}\n />\n )}\n
\n
\n );\n};\n\nexport default Footer;\n","import { useEffect } from \"react\";\nimport { Container, Row, Col } from \"react-bootstrap\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport { userDetails } from \"../../../store/Auth/actions\";\nimport RelatedBooks from \"../RelatedBooks\";\nimport BookData from \"./BookData\";\nimport styles from \"./ProfileData.module.scss\";\nimport Footer from \"../../Footer\";\n\nconst BookProfile = () => {\n const dispatch = useDispatch();\n const login = useSelector((state) => state.auth.login);\n const { pathname } = useLocation();\n const isProgram = pathname.includes(\"program\");\n\n useEffect(() => {\n if (login?.auth_token && !isProgram) {\n dispatch(userDetails());\n }\n }, []);\n return (\n
\n \n \n
\n \n
\n \n
\n );\n};\n\nexport default BookProfile;\n","import React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { faFolderOpen } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\n\nconst EmptyState = () => {\n const { messages } = useIntl();\n const {\n shared: { emptyStateMsg }\n } = messages;\n\n return (\n
\n \n
{emptyStateMsg}
\n
\n );\n};\n\nexport default EmptyState;\n","import React from \"react\";\n\nconst SwapVerticalIcon = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default SwapVerticalIcon;\n","import React from \"react\";\n\nconst CategoriesListIcon = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default CategoriesListIcon;\n","import { useRef, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Button, Menu, MenuItem } from \"@mui/material\";\nimport CategoriesListIcon from \"../../assets/svgs/categories-list-icon\";\nimport useOutSideClickDetector from \"../../hooks/useOutSideClickDetector\";\n\nimport \"./CategoriesMenu.scss\";\n\nconst ITEM_HEIGHT = 48;\n\nexport default function CategoriesListIconMenu({\n categories,\n setSelectedCategory,\n selectedCategoryId\n}) {\n const [anchorEl, setAnchorEl] = useState(null);\n const categoryListRef = useRef();\n useOutSideClickDetector(categoryListRef, () => {\n handleSelectAndClose(null);\n });\n const open = Boolean(anchorEl);\n const handleClick = (event) => {\n if (!categories?.length) {\n event.preventDefault();\n return;\n }\n setAnchorEl(event.currentTarget);\n };\n\n const handleSelectAndClose = (id) => {\n setSelectedCategory(id);\n setAnchorEl(null);\n };\n\n return (\n
\n \n \n \n \n {categories?.length &&\n categories?.map((category) => (\n handleSelectAndClose(category?.id)}\n key={category?.id}\n selected={category?.id === selectedCategoryId}\n >\n {category?.name}\n \n ))}\n \n
\n );\n}\n\nCategoriesListIconMenu.propTypes = {\n categories: PropTypes.array,\n setSelectedCategory: PropTypes.func,\n selectedCategoryId: PropTypes.any\n};\n","import { BOOKS_LIST_TYPES } from \"../../../utils/Constants\";\n\nexport const getParams = (listType, items, page = 1) => {\n let params = {\n page,\n items,\n show_details: true\n };\n switch (listType) {\n case BOOKS_LIST_TYPES.featured:\n params.is_featured = true;\n break;\n default:\n break;\n }\n return params;\n};\n\nexport const getBooksListFromStore = (state, listType) => {\n switch (listType) {\n case BOOKS_LIST_TYPES.featured:\n return {\n booksList: state.books.featured.list,\n metaData: state.books.featured.meta\n };\n case BOOKS_LIST_TYPES.related:\n return {\n booksList: state.books.related.list,\n metaData: state.books.related.meta\n };\n default:\n return {\n booksList: state.books.list,\n metaData: state.books.meta\n };\n }\n};\n","import { Form, Formik } from \"formik\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useState } from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useParams } from \"react-router\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport SwapVerticalIcon from \"../../../assets/svgs/SwapVerticalIcon\";\nimport CategoriesListIconMenu from \"../../../components/CategoriesMenu\";\nimport CustomSelect from \"../../../components/Select\";\nimport {\n getAssignedBooksAction,\n getBooksAction,\n getEditoeAssignedBooksAction,\n setBooksFilters\n} from \"../../../store/Books/actions\";\nimport { SORT_BOOKS_OPTIONS } from \"../../../utils/Constants\";\nimport { getParams } from \"./BooksListingHelpers\";\n\nconst Filters = ({ items }) => {\n const dispatch = useDispatch();\n const { listType } = useParams();\n const { messages } = useIntl();\n const [selectedCategoryId, setSelectedCategoryId] = useState(\"\");\n\n const categories = useSelector((state) => state.categories.list);\n const booksFilters = useSelector((state) => state.books.filters);\n const loginData = useSelector((state) => state.auth.login);\n // console.log(\"loginData\", loginData);\n const { auth_token } = loginData || {};\n const params = getParams(listType, items);\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const isEditor = pathname.includes(\"editor\");\n useEffect(() => {\n const payload = {\n ...params,\n ...booksFilters,\n isAuthor,\n isEditor\n };\n if (auth_token && isAuthor) {\n dispatch(getAssignedBooksAction(payload));\n }\n if (auth_token && isEditor) {\n dispatch(getEditoeAssignedBooksAction(payload));\n }\n dispatch(getBooksAction(payload));\n // call get books on auth change as well\n }, [booksFilters, auth_token]);\n\n const [selectWidth, setselectWidth] = useState(\"40px\");\n const handleSort = (id) => {\n if (id) setselectWidth(\"170px\");\n dispatch(setBooksFilters({ ...booksFilters, sorting_term: id }));\n };\n\n const handleCategoriesFilter = (id) => {\n if (selectedCategoryId === id) {\n setSelectedCategoryId(null);\n dispatch(\n setBooksFilters({ ...booksFilters, category_id: null })\n );\n } else {\n if (typeof id === \"number\") {\n setSelectedCategoryId(id);\n const category = document?.querySelector(`#category_${id}`);\n if (category) category?.click();\n dispatch(\n setBooksFilters({ ...booksFilters, category_id: id })\n );\n }\n }\n };\n const customeSelectMenuStyle = {\n width: \"230px\",\n right: 0\n };\n const {\n books,\n shared: { sortBy }\n } = messages;\n\n return (\n
\n \n\n {/*
\n \n {categories?.map((category) => (\n handleCategoriesFilter(category.id)}\n >\n {category.name}\n
\n ))}\n \n
*/}\n \n {() => (\n
\n }\n width={selectWidth}\n isSearchable={true}\n />\n \n )}\n
\n \n );\n};\n\nFilters.propTypes = {\n items: PropTypes.number\n};\n\nFilters.defaultProps = {\n items: 12\n};\n\nexport default Filters;\n","import React from \"react\";\n\nconst BackArrow = () => {\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default BackArrow;\n","import React from \"react\";\n\nconst CloseButtonIcon = () => {\n return (\n \n \n \n \n \n \n );\n};\n\nexport default CloseButtonIcon;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useHistory } from \"react-router\";\nimport BackArrow from \"../../assets/svgs/back-arrow\";\nimport CloseButtonIcon from \"../../assets/svgs/close-button-icon\";\nimport styles from \"./BackButton.module.scss\";\nimport { faAngleLeft } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\n\nconst BackButton = ({ icon, className, otherWise }) => {\n const history = useHistory();\n\n const goBack = () => {\n otherWise ? otherWise() : history.goBack();\n };\n\n return (\n \n {icon === \"x\" ? (\n \n ) : icon === \"b\" ? (\n \n ) : (\n \n )}\n \n );\n};\n\nBackButton.propTypes = {\n icon: PropTypes.string,\n className: PropTypes.string,\n otherWise: PropTypes.func\n};\n\nBackButton.defaultProps = {\n icon: \"arrow\",\n className: \"\"\n};\n\nexport default BackButton;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useParams } from \"react-router\";\nimport { Link } from \"react-router-dom\";\nimport { Col, Container, Row } from \"react-bootstrap\";\nimport ClickableBookCover from \"../../../components/ClickableBookCover/ClickableBookCover\";\nimport EmptyState from \"../../../components/EmptyState\";\nimport {\n getBooksAction,\n getRelatedBooksAction,\n setBooksFilters\n} from \"../../../store/Books/actions\";\nimport { getCategoriesRequest } from \"../../../store/Categories/actions\";\nimport Filters from \"./Filters\";\nimport {\n getBooksListFromStore,\n getParams\n} from \"./BooksListingHelpers\";\nimport { ROUTE_PATHS } from \"../../../utils/PathsNames\";\nimport Footer from \"../../Footer\";\nimport styles from \"./BooksListing.module.scss\";\nimport { BOOKS_LIST_TYPES } from \"../../../utils/Constants\";\nimport BackButton from \"../../../components/BackButton\";\nimport { capitalize } from \"../../../utils/general\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\n\nconst BooksListing = ({\n items,\n isPaginated,\n fullLibrarySlug,\n hasFooter = true\n}) => {\n const dispatch = useDispatch();\n const { listType, bookId } = useParams();\n const { messages } = useIntl();\n const [selectedBook, setSelectedBook] = useState(null);\n\n const booksFilters = useSelector((state) => state.books.filters);\n const isLoading = useSelector((state) => state.loader);\n const { booksList, metaData } = useSelector((state) =>\n getBooksListFromStore(state, listType)\n );\n\n const params = getParams(listType, items);\n const { pathname } = useLocation();\n const isEditor = pathname.includes(\"editor\");\n const isProgram = pathname.includes(\"program\");\n\n const {\n books: { viewTheFullLibrary },\n shared: { viewMore },\n header: { digitalCourses }\n } = messages;\n\n useEffect(() => {\n dispatch(getCategoriesRequest());\n }, []);\n const { isLoggedInAuthor } = useSelector(\n (state) => state.utilities\n );\n const handleLoadMore = () => {\n let payload = {\n ...params,\n page: metaData.currentPage + 1,\n list: booksList,\n isLoadMore: true,\n isAuthor: isLoggedInAuthor,\n isEditor\n };\n if (listType === BOOKS_LIST_TYPES.related) {\n payload = { id: bookId, params: { ...payload } };\n dispatch(getRelatedBooksAction(payload));\n } else {\n payload = { ...payload, ...booksFilters };\n dispatch(getBooksAction(payload));\n }\n };\n\n useEffect(() => {\n return () => {\n dispatch(\n setBooksFilters({\n category_id: null,\n sorting_term: null,\n search_term: null\n })\n );\n };\n }, []);\n\n useEffect(() => {\n if (listType === BOOKS_LIST_TYPES.related) {\n const payload = { id: bookId, params };\n dispatch(getRelatedBooksAction(payload));\n }\n }, []);\n\n return (\n
\n
\n \n {listType && (\n
\n \n

{capitalize(listType)} Courses

\n
\n )}\n {listType !== BOOKS_LIST_TYPES.related && (\n
\n

\n {digitalCourses}\n

\n \n
\n )}\n \n {!isLoading &&\n booksList?.length > 0 &&\n booksList?.map((book, index) => (\n \n \n setSelectedBook(null)}\n selectBook={() => setSelectedBook(book.id)}\n />\n
\n \n ))}\n \n {isPaginated ? (\n <>\n {metaData?.count > booksList?.length && (\n
\n \n {viewMore}\n \n
\n )}\n \n ) : (\n
\n \n {viewTheFullLibrary}\n \n
\n )}\n {!isLoading && !booksList?.length && }\n \n \n {hasFooter && (\n <>\n
\n \n )}\n
\n );\n};\n\nBooksListing.propTypes = {\n items: PropTypes.number,\n onClick: PropTypes.func,\n direction: PropTypes.string,\n isPaginated: PropTypes.bool,\n hasFooter: PropTypes.bool,\n\n fullLibrarySlug: PropTypes.string\n};\n\nBooksListing.defaultProps = {\n items: 10,\n isPaginated: true,\n fullLibrarySlug: ROUTE_PATHS[\"books\"]\n};\n\nexport default BooksListing;\n","export default __webpack_public_path__ + \"static/media/Medblendcertificate1.926f13ec.svg\";","export default __webpack_public_path__ + \"static/media/Certificate-CME.e293d468.svg\";","export default __webpack_public_path__ + \"static/media/carbon_book.b741e235.svg\";","import React from \"react\";\n\nconst LockIcon = (props) => {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default LockIcon;\n","export default __webpack_public_path__ + \"static/media/QuiziconOneColor.f798bebe.svg\";","export default __webpack_public_path__ + \"static/media/VideoiconOneColor.442c1272.svg\";","import * as React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport PropTypes from \"prop-types\";\nimport { Box, LinearProgress } from \"@mui/material\";\n\nexport default function LinearProgressWithPagesLeft({\n currentProgress,\n totalPages\n}) {\n const { messages } = useIntl();\n return (\n \n \n \n {totalPages - currentProgress} {messages.books.pagesLeft}\n \n \n );\n}\n\nLinearProgressWithPagesLeft.propTypes = {\n currentProgress: PropTypes.any,\n totalPages: PropTypes.any\n};\n","export default __webpack_public_path__ + \"static/media/Group.4be6312d.svg\";","import { Typography } from \"@mui/material\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useState } from \"react\";\nimport Lightbox from \"react-image-lightbox\";\nimport \"react-image-lightbox/style.css\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch } from \"react-redux\";\nimport { useHistory } from \"react-router-dom\";\nimport Group from \"../../assets/svgs/Group.svg\";\nimport BackButton from \"../../components/BackButton\";\nimport Button from \"../../components/Button\";\nimport { setNewFinalTestAnswerRequest } from \"../../store/FinalTest/actions\";\nimport { showHideSnackbar } from \"../../store/Snackbar/actions\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport {\n SET_FINAL_TEST_MODE,\n SET_FINAL_TEST_WRAPPER_MODE\n} from \"../../store/Utilities/types\";\nimport {\n FinalTestMode,\n FinalTestWrapperViewMode\n} from \"../../utils/Constants\";\n\nfunction FinalTest({\n book_id,\n test_view_mode,\n finalTest,\n isModal,\n isProgram\n}) {\n const { messages } = useIntl();\n const {\n FinalTest: {\n allQuestionRequired,\n explanation,\n note,\n notedescription,\n FinalTest,\n courseTests\n }\n } = messages;\n const dispatch = useDispatch();\n const history = useHistory();\n\n const [ImageModalTest, setImageModalTest] = useState(null);\n const [allTestAnswers, setAllTestAnswers] = useState([]);\n\n const collectAnswers = async (questionId, answer) => {\n const questionExist = allTestAnswers.find(\n (ans) => ans.question_id === questionId\n );\n\n let payload = {\n question_id: questionId,\n answer_id: answer\n };\n\n if (questionExist) {\n setAllTestAnswers((oldAnswers) =>\n oldAnswers.map((ans) =>\n ans.question_id === questionId\n ? { ...ans, answer_id: answer }\n : ans\n )\n );\n } else {\n setAllTestAnswers((oldAnswers) => [...oldAnswers, payload]);\n }\n };\n useEffect(() => {\n return () => {\n dispatch({\n type: SET_FINAL_TEST_MODE,\n payload: FinalTestMode.View\n });\n dispatch({\n type: SET_FINAL_TEST_WRAPPER_MODE,\n payload: FinalTestWrapperViewMode.ViewScore\n });\n };\n }, []);\n const submitAnswers = async () => {\n if (\n allTestAnswers.length === finalTest?.details?.questions?.length\n ) {\n dispatch(\n setNewFinalTestAnswerRequest({\n book_id: book_id,\n answers: allTestAnswers\n })\n );\n if (isModal) {\n dispatch({\n type: SET_FINAL_TEST_WRAPPER_MODE,\n payload: FinalTestWrapperViewMode.ViewScore\n });\n } else {\n history.push(\n `${ROUTE_PATHS.FinalTest}/${FinalTestWrapperViewMode.ViewScore}/${book_id}`\n );\n }\n } else {\n dispatch(\n showHideSnackbar({\n isOpen: true,\n type: \"error\",\n message: allQuestionRequired\n })\n );\n }\n };\n\n const handleTestButtonClick = () => {\n let route = `${ROUTE_PATHS[\"bookAllTests\"]}/${book_id}`;\n if (isProgram)\n route = `${ROUTE_PATHS.programsBookAllTests}/${book_id}`;\n history.push(route);\n };\n const isView = test_view_mode === \"View\";\n\n return (\n <>\n
\n {!isModal && (\n
\n \n {courseTests}\n
\n )}\n \n {`${finalTest?.book_title} ${FinalTest}`}\n \n\n {finalTest?.note && (\n
\n {note} \n {`${finalTest?.note} , ${notedescription}`}\n
\n )}\n {ImageModalTest && (\n setImageModalTest(null)}\n />\n )}\n {finalTest?.details?.questions.map((question, questionId) => (\n
\n
\n
\n

Q{questionId + 1}-

\n

{question.question}

\n
\n\n {question.image_url && (\n \n setImageModalTest(question.image_url)\n }\n >\n \n
\n
\n \n
\n
\n
\n )}\n
\n
\n
    \n {question?.answer_choices?.map(\n (\n { answer, answer_choice_id, image_url, correct },\n index\n ) => {\n const userAnswer =\n finalTest?.user_answers?.answers?.find(\n (answer) =>\n answer.answer_id === answer_choice_id\n );\n return (\n
  1. \n
    \n {\n console.log(\n \"question\",\n question,\n answer_choice_id\n );\n\n collectAnswers(\n question.question_id,\n answer_choice_id\n );\n }}\n />\n {image_url && (\n {\n setImageModalTest(image_url);\n }}\n >\n \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n \n {answer}\n \n \n
\n \n );\n }\n )}\n {isView &&\n !!finalTest?.user_answers?.answers?.length &&\n question?.justification && (\n
\n

\n {explanation}:{` ${question?.justification}`}\n

\n\n {question.justification_image_url && (\n {\n setImageModalTest(\n question.justification_image_url\n );\n }}\n >\n \n
\n
\n \n
\n
\n
\n )}\n
\n )}\n \n \n \n ))}\n
\n \n
\n \n {/* )} */}\n \n );\n}\nFinalTest.propTypes = {\n book_id: PropTypes.any.isRequired,\n finalTest: PropTypes.object.isRequired,\n test_view_mode: PropTypes.string.isRequired,\n isModal: PropTypes.bool,\n isProgram: PropTypes.bool\n};\nexport default FinalTest;\n","import React from \"react\";\nimport BackButton from \"../../../components/BackButton\";\nimport { ROUTE_PATHS } from \"../../../utils/PathsNames\";\nimport { useHistory } from \"react-router-dom\";\nimport { Typography } from \"@mui/material\";\nimport { useIntl } from \"react-intl\";\nimport { CircularProgressbar } from \"react-circular-progressbar\";\nimport Button from \"../../../components/Button\";\nimport { useDispatch } from \"react-redux\";\nimport PropTypes from \"prop-types\";\nimport { SET_FINAL_TEST_MODE } from \"../../../store/Utilities/types\";\nimport { FinalTestMode } from \"../../../utils/Constants\";\n\nfunction ViewScoreFinalTest({\n book_id,\n finalTestAnswers,\n isModal,\n viewFinalTestFunc\n}) {\n const history = useHistory();\n const dispatch = useDispatch();\n const { messages } = useIntl();\n const {\n FinalTest: {\n FinalTest,\n reTakeFinalTest,\n viewFinalTest,\n success,\n failed,\n bestScoreAchieved,\n courseTests\n },\n buttons: { ok }\n } = messages;\n\n const setModeFinalTest = (mode) => {\n dispatch({\n type: SET_FINAL_TEST_MODE,\n payload: mode\n });\n };\n\n const handleBackButtonClick = () => {\n const route = `${ROUTE_PATHS[\"bookViewer\"]}/${book_id}`;\n history.push(route);\n };\n const handleBackToRetakeFinalTest = () => {\n if (isModal) setModeFinalTest(FinalTestMode.Take);\n viewFinalTestFunc?.(FinalTestMode.Take);\n };\n const handleBackToViewFinalTest = () => {\n if (isModal) setModeFinalTest(FinalTestMode.View);\n viewFinalTestFunc?.(FinalTestMode.View);\n };\n const handleTestButtonClick = () => {\n const route = `${ROUTE_PATHS[\"bookAllTests\"]}/${book_id}`;\n history.push(route);\n };\n return (\n <>\n
\n {!isModal && (\n
\n \n {courseTests}\n
\n )}\n\n \n {`${finalTestAnswers?.book_title} ${FinalTest}`}\n \n \n {bestScoreAchieved}\n \n {finalTestAnswers?.user_answers?.score > 50 ? (\n

{success}

\n ) : (\n

{failed}

\n )}\n
\n \n
\n
\n
\n
\n {\n handleBackToRetakeFinalTest();\n }}\n />\n
\n
\n {\n handleBackToViewFinalTest();\n }}\n />\n
\n\n {!isModal && (\n
\n {\n handleBackButtonClick();\n }}\n />\n
\n )}\n
\n \n );\n}\nViewScoreFinalTest.propTypes = {\n book_id: PropTypes.any,\n finalTestAnswers: PropTypes.object,\n isModal: PropTypes.bool,\n viewFinalTestFunc: PropTypes.func\n};\n\nexport default ViewScoreFinalTest;\n","import PropTypes from \"prop-types\";\nimport React, { useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useHistory, useLocation, useParams } from \"react-router-dom\";\nimport FinalTest from \".\";\nimport {\n author_portal,\n customer_portal,\n editor_portal,\n program_director_portal\n} from \"../../network/apis\";\nimport { getFinalTestRequest } from \"../../store/FinalTest/actions\";\nimport {\n SET_FINAL_TEST_MODE,\n SET_FINAL_TEST_WRAPPER_MODE\n} from \"../../store/Utilities/types\";\nimport {\n FinalTestMode,\n FinalTestWrapperViewMode\n} from \"../../utils/Constants\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\nimport ViewScoreFinalTest from \"./ViewScoreFinalTest\";\n\nfunction FinalTestWraper({ bookID, isModal }) {\n const { finalTestWrapperViewMode, modeFinalTest } = useSelector(\n (state) => state.utilities\n );\n const finalTest = useSelector(\n (state) => state.FinalTestReducer.finalTest\n );\n const { mode, book_id, test_view_mode } = useParams();\n const history = useHistory();\n // mode ==> test/score\n // test_view_mode ==?\n const { pathname } = useLocation();\n const isProgram = pathname.includes(\"program\");\n const isAuthor = pathname.includes(\"author\");\n const isEditor = pathname.includes(\"editor\");\n\n const firstTimeAnswering =\n !finalTest?.user_answers?.answers?.length;\n const dispatch = useDispatch();\n let bookId = bookID || book_id;\n let wrapperMode = mode || finalTestWrapperViewMode;\n let testViewMode = test_view_mode || modeFinalTest;\n useEffect(() => {\n if (firstTimeAnswering)\n dispatch({\n type: SET_FINAL_TEST_MODE,\n payload: FinalTestMode.Take\n });\n }, []);\n\n useEffect(() => {\n let portal = customer_portal;\n if (isProgram) {\n portal = program_director_portal;\n }\n if (isAuthor) {\n portal = author_portal;\n }\n if (isEditor) {\n portal = editor_portal;\n }\n dispatch(getFinalTestRequest({ portal, book_id: bookId }));\n }, [testViewMode]);\n\n const viewFinalTest = (testMode) => {\n //Take or View Final Test\n if (isModal) {\n dispatch({\n type: SET_FINAL_TEST_WRAPPER_MODE,\n payload: FinalTestWrapperViewMode.ViewTest\n });\n } else {\n const route = `${ROUTE_PATHS.FinalTest}/${FinalTestWrapperViewMode.ViewTest}/${book_id}/${testMode}`;\n history.push(route);\n }\n };\n\n return (\n <>\n {wrapperMode === FinalTestWrapperViewMode.ViewScore &&\n !firstTimeAnswering ? (\n \n ) : (\n \n )}\n \n );\n}\nFinalTestWraper.propTypes = {\n bookID: PropTypes.any,\n isModal: PropTypes.bool.isRequired\n};\n\nexport default FinalTestWraper;\n","import { Box, Modal } from \"@mui/material\";\nimport React from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { SET_OPEN_FINAL_TEST_MODAL } from \"../../../store/Utilities/types\";\nimport { boxStyle } from \"../../../containers/Books/BookViewer/boxStyle\";\nimport FinalTestWraper from \"../../../containers/FinalTest/FinalTestWraper\";\nimport PropTypes from \"prop-types\";\n\nfunction FinalTestModal({ book_id }) {\n const { showFinalTest } = useSelector((state) => state.utilities);\n const dispatch = useDispatch();\n const setOpenFinalTest = (open) => {\n dispatch({\n type: SET_OPEN_FINAL_TEST_MODAL,\n payload: open\n });\n };\n return (\n {\n setOpenFinalTest(false);\n }}\n aria-labelledby=\"modal-modal-title\"\n aria-describedby=\"modal-modal-description\"\n >\n \n \n \n \n );\n}\nFinalTestModal.propTypes = {\n book_id: PropTypes.any,\n finalTest: PropTypes.object\n};\n\nexport default FinalTestModal;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport CornerstoneViewport from \"react-cornerstone-viewport\";\n\nconst DicomViewer = ({ className, imageIds }) => {\n const [imageLinks, setImageLinks] = useState([]);\n\n useEffect(() => {\n imageIds.length &&\n setImageLinks(imageIds.map((image) => `dicomweb:${image}`));\n }, [imageIds]);\n\n const tools = [{ name: \"StackScrollMouseWheel\", mode: \"active\" }];\n\n const CustomOverlay = () => {\n return
;\n };\n\n return (\n imageLinks.length > 0 && (\n \n )\n );\n};\n\nDicomViewer.propTypes = {\n className: PropTypes.string,\n imageIds: PropTypes.arrayOf(PropTypes.string)\n};\n\nDicomViewer.defaultProps = {\n className: \"\",\n imageIds: []\n};\n\nexport default DicomViewer;\n","export default __webpack_public_path__ + \"static/media/open-tab.a45a4b7e.svg\";","const Play = () => {\n return (\n \n \n \n \n );\n};\n\nexport default Play;\n","export default __webpack_public_path__ + \"static/media/Videoicon.1380b14d.svg\";","export default __webpack_public_path__ + \"static/media/Photo.6a422d48.svg\";","export const BOOK_ISBN =\n /^(?=[0-9X]{10}$|(?=(?:[0-9]+[- ]){3})[- 0-9X]{13}$|97[89][0-9]{10}$|(?=(?:[0-9]+[- ]){4})[- 0-9]{17}$)(?:97[89][- ]?)?[0-9]{1,5}[- ]?[0-9]+[- ]?[0-9]+[- ]?[0-9X]$/;\n\nexport const KEEP_LINE_SPACES = /\\n\\r?/g;\n\nexport const strongPasswordPattern =\n /^(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.{8,}$)/;\n","import React from \"react\";\nimport ReactPlayer from \"react-player\";\nimport PropTypes from \"prop-types\";\nimport DicomViewer from \"../DicomViewer\";\nimport styles from \"./MaterialPreview.module.scss\";\nimport { getSupplementaryTypeLabel } from \"../../utils/Helpers\";\nimport { ImgDisplay } from \"../../hooks/ImgDisplay\";\nimport { Modal, Typography } from \"@mui/material\";\nimport { Box } from \"@mui/system\";\n\nimport {\n faTimes,\n faShareSquare\n} from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { useIntl } from \"react-intl\";\nimport LockIcon from \"../../assets/svgs/lock\";\nimport openTab from \"../../assets/svgs/open-tab.svg\";\nimport PlayIcon from \"../../assets/svgs/play\";\nimport History from \"../../routes/History\";\nimport Video from \"../../assets/svgs/Videoicon.svg\";\nimport Photo from \"../../assets/svgs/Photo.svg\";\n\nimport { KEEP_LINE_SPACES } from \"../../utils/Patterns\";\nimport MaterialModal from \"./MaterialModal\";\nimport { useDispatch } from \"react-redux\";\nimport {\n SET_MATERIAL_MODAL_DATA,\n SET_OPEN_MATERIAL_MODAL\n} from \"../../store/Utilities/types\";\n\nconst style = {\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\",\n width: 400,\n bgcolor: \"background.paper\",\n borderRadius: \"8px\",\n boxShadow: 24,\n p: 4\n};\n\nconst MaterialPreview = ({\n src,\n type,\n dicomImages,\n details,\n withModal,\n isBookSubscribed\n}) => {\n const { messages } = useIntl();\n const [newTabIconHovered, setNewTabIconHovered] =\n React.useState(false);\n const { shared } = messages;\n\n const renderPreview = ({ videoWithControls }) => {\n switch (type) {\n case 0: //video\n return (\n <>\n
\n \"medblend-image\"\n
\n
\n {details?.material_title}\n
\n \n );\n case 1: //image\n return (\n <>\n
\n \"medblend-image\"\n
\n
\n {details?.material_title}\n
\n \n );\n case 2: //dicom\n return (\n <>\n
\n \"medblend-image\"\n
\n
\n {details?.material_title}\n
\n \n );\n default:\n return null;\n }\n };\n\n const dispatch = useDispatch();\n const setOpenModal = (open) => {\n dispatch({\n type: SET_OPEN_MATERIAL_MODAL,\n payload: open\n });\n };\n const setModalData = () => {\n dispatch({\n type: SET_MATERIAL_MODAL_DATA,\n payload: {\n src,\n type,\n dicomImages,\n details\n }\n });\n };\n const WrappedPreview = ({ videoWithControls, isModal }) => {\n return (\n <>\n \n {!src && (\n \n {\n shared[\n `${getSupplementaryTypeLabel(type).label}Preview`\n ]\n }\n \n )}\n {\n if (withModal && isBookSubscribed) {\n e.preventDefault();\n setModalData();\n setOpenModal(true);\n }\n }}\n className={\n withModal ? styles.videoCover : styles.additionalWrapper\n }\n >\n {isModal\n ? renderModalPreview({\n videoWithControls,\n type,\n src,\n dicomImages\n })\n : renderPreview({\n videoWithControls,\n isBookSubscribed\n })}\n
\n \n \n {!isBookSubscribed && (\n
\n \n
\n )}\n \n );\n };\n\n return (\n <>\n {WrappedPreview({ videoWithControls: !withModal })}\n {/* \n
\n \n handleClose()}\n >\n \n
\n {WrappedPreview({\n videoWithControls: true,\n isModal: true\n })}\n {details.material_type === \"video\" && (\n \n {messages.watchNow}\n \n )}\n \n {details.material_title}\n \n \"\n )\n }}\n >

\n \"\n )\n }}\n >

\n
\n {\n localStorage.setItem(\n \"supplementary\",\n JSON.stringify(details)\n );\n window.open(\n `/supplementary/${details.id}`,\n \"_blank\"\n );\n }}\n rel=\"noreferrer\"\n >\n \n {openNewTab}\n \n {\n setNewTabIconHovered(true);\n }}\n onMouseLeave={() => {\n setNewTabIconHovered(false);\n }}\n />\n \n
\n \n \n */}\n \n );\n};\n\nMaterialPreview.propTypes = {\n src: PropTypes.string,\n type: PropTypes.number.isRequired,\n dicomImages: PropTypes.arrayOf(PropTypes.string),\n withModal: PropTypes.bool,\n videoWithControls: PropTypes.bool,\n details: PropTypes.object,\n isBookSubscribed: PropTypes.bool,\n isModal: PropTypes.bool\n};\n\nMaterialPreview.defaultProps = {\n src: \"\",\n type: 0,\n dicomImages: [],\n withModal: false,\n isBookSubscribed: false\n};\n\nexport default MaterialPreview;\n\nexport const renderModalPreview = ({\n videoWithControls,\n type,\n src,\n dicomImages\n}) => {\n switch (type) {\n case 0: //video\n return (\n
\n \n
\n );\n case 1: //image\n return (\n \n );\n case 2: //dicom\n return (\n \n );\n default:\n return null;\n }\n};\n\nexport const WrappedModal = ({\n videoWithControls,\n type,\n src,\n dicomImages,\n shared,\n withModal,\n isBookSubscribed\n}) => {\n const dispatch = useDispatch();\n const setOpenModal = (open) => {\n dispatch({\n type: SET_OPEN_MATERIAL_MODAL,\n payload: open\n });\n };\n return (\n <>\n
\n {!src && (\n \n {\n shared[\n `${getSupplementaryTypeLabel(type).label}Preview`\n ]\n }\n
\n )}\n\n {\n if (withModal && isBookSubscribed) {\n e.preventDefault();\n setOpenModal(true);\n }\n }}\n className={\n withModal ? styles.videoCover : styles.additionalWrapper\n }\n >\n {renderModalPreview({\n videoWithControls,\n type,\n src,\n dicomImages\n })}\n
\n \n \n {!isBookSubscribed && (\n
\n \n
\n )}\n \n );\n};\n\nWrappedModal.propTypes = {\n videoWithControls: PropTypes.bool,\n type: PropTypes.string,\n src: PropTypes.string,\n dicomImages: PropTypes.arrayOf(PropTypes.string),\n shared: PropTypes.object,\n withModal: PropTypes.bool,\n isBookSubscribed: PropTypes.bool\n};\n","import { faTimes } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport { Modal, Typography } from \"@mui/material\";\nimport { Box } from \"@mui/system\";\nimport PropTypes from \"prop-types\";\nimport React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { renderModalPreview } from \".\";\nimport openTab from \"../../assets/svgs/open-tab.svg\";\nimport { SET_OPEN_MATERIAL_MODAL } from \"../../store/Utilities/types\";\nimport { KEEP_LINE_SPACES } from \"../../utils/Patterns\";\nimport styles from \"./MaterialPreview.module.scss\";\nimport { useParams } from \"react-router-dom/cjs/react-router-dom\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport { ROUTE_PATHS } from \"../../utils/PathsNames\";\n\n// { details, type, src, dicomImages }\nfunction MaterialModal() {\n const { id } = useParams();\n const { pathname } = useLocation();\n const isProgram = pathname.includes(\"program\");\n const isAuthor = pathname.includes(\"author\");\n\n const [newTabIconHovered, setNewTabIconHovered] =\n React.useState(false);\n const {\n showMaterialModal,\n materialData: { details, type, src, dicomImages }\n } = useSelector((state) => state.utilities);\n const dispatch = useDispatch();\n const setOpenModal = (open) => {\n dispatch({\n type: SET_OPEN_MATERIAL_MODAL,\n payload: open\n });\n };\n\n const style = {\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\",\n width: 400,\n bgcolor: \"background.paper\",\n borderRadius: \"8px\",\n boxShadow: 24,\n p: 4\n };\n\n const { messages } = useIntl();\n const {\n shared,\n pdfViewer: { openNewTab }\n } = messages;\n return (\n <>\n {\n setOpenModal(false);\n }}\n aria-labelledby=\"modal-modal-title\"\n aria-describedby=\"modal-modal-description\"\n >\n
\n \n {\n setOpenModal(false);\n }}\n >\n \n
\n {renderModalPreview({\n videoWithControls: true,\n type,\n src,\n dicomImages\n })}\n {details?.material_type === \"video\" && (\n \n {messages.watchNow}\n \n )}\n \n {details?.material_title}\n \n \"\n )\n }}\n >

\n \"\n )\n }}\n >

\n
\n {\n localStorage.setItem(\n \"supplementary\",\n JSON.stringify(details)\n );\n window.open(\n `${\n isAuthor\n ? ROUTE_PATHS.authorsSupplementary\n : isProgram\n ? ROUTE_PATHS.programsSupplementary\n : ROUTE_PATHS.supplementary\n }/${details.id}/${id}`,\n \"_blank\"\n );\n }}\n rel=\"noreferrer\"\n >\n \n {openNewTab}\n \n {\n setNewTabIconHovered(true);\n }}\n onMouseLeave={() => {\n setNewTabIconHovered(false);\n }}\n />\n \n
\n \n \n \n \n );\n}\n\nMaterialModal.propTypes = {\n details: PropTypes.object,\n type: PropTypes.string,\n src: PropTypes.string,\n dicomImages: PropTypes.arrayOf(PropTypes.string),\n shared: PropTypes.object\n};\n\nexport default MaterialModal;\n","import { Modal, Typography } from \"@mui/material\";\nimport { Box } from \"@mui/system\";\nimport { default as React, useEffect, useState } from \"react\";\nimport { CircularProgressbar } from \"react-circular-progressbar\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom\";\nimport CloseButtonIcon from \"../../../assets/svgs/close-button-icon\";\nimport Group from \"../../../assets/svgs/Group.svg\";\nimport { boxStyle } from \"../../../containers/Books/BookViewer/boxStyle\";\nimport {\n author_portal,\n axiosInstance,\n customer_portal,\n program_director_portal\n} from \"../../../network/apis\";\nimport {\n answerBookSingleTestRequest,\n getBookSingleTestRequest,\n removeUpdateBookTestsStatus,\n updateBookTestsStatus\n} from \"../../../store/Books/actions\";\nimport { SET_OPEN_TEST_MODAL } from \"../../../store/Utilities/types\";\nimport Button from \"../../Button\";\nimport styles from \"./TestPreview.scss\";\n\nexport default function TestModal() {\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const isProgram = pathname.includes(\"program\");\n\n const dispatch = useDispatch();\n const { messages } = useIntl();\n const {\n test: {\n rightAnswer,\n wrongAnswer,\n score,\n explanation,\n notedescription,\n note,\n title,\n success,\n failed,\n mark,\n sectionscore,\n advice,\n testReport,\n pretest,\n posttest,\n pretestnotsolved,\n finaltest\n },\n buttons: { next, ok, submit }\n } = messages;\n\n const {\n showTestModal,\n testData: {\n testTypeQuestion,\n testType,\n setImageModal,\n markTestAsSolved,\n bookTest\n }\n } = useSelector((state) => state.utilities);\n\n const bookSingleTest = useSelector(\n (state) => state.books.bookSingleTest\n );\n\n const [testQuestionAnwseredView, setTestQuestionAnwseredView] =\n useState(false);\n const [notTestAllAnsweredOptionl, setNotTestAllAnsweredOptionl] =\n useState(false);\n\n const setImageModalToBook = (img) => {\n setImageModal({ src: img.src, title: img.title });\n };\n\n const getTotalScore = () => {\n const score = bookSingleTest\n ? bookSingleTest[`${testTypeQuestion}test_points`]\n : 0;\n return score ? score : 0;\n };\n\n const setOpenModal = (open) => {\n dispatch({\n type: SET_OPEN_TEST_MODAL,\n payload: open\n });\n if (!open) handleButtonClick(false);\n };\n\n const submitAnAnswer = async (questionId, answer) => {\n const payload = {\n test_question_id: questionId,\n test_answer_choice_id: answer,\n test_type: testType\n };\n await dispatch(answerBookSingleTestRequest(payload));\n dispatch(getBookSingleTestRequest({ id: bookTest.id }));\n };\n\n const [buttonClicked, setButtonClicked] = useState(false);\n\n const handleButtonClick = (clicked) => {\n setButtonClicked(clicked);\n };\n\n useEffect(async () => {\n if (buttonClicked || !bookSingleTest?.id || !showTestModal) {\n return;\n }\n\n const fetchURL = (url) =>\n axiosInstance.get(\n `${\n isAuthor\n ? author_portal\n : isProgram\n ? program_director_portal\n : customer_portal\n }/${url}`\n );\n const testPromise = fetchURL(`tests/${bookSingleTest?.id}`);\n testPromise\n .then((promiseResult) => {\n setTestQuestionAnwseredView(\n testType == 1\n ? promiseResult.data.test?.test_questions?.every(\n (question) => !!question[\"post_test_user_answer\"]\n )\n : promiseResult.data.test?.test_questions?.every(\n (question) => !!question[\"pre_test_user_answer\"]\n )\n );\n })\n .catch((err) => {\n // Handle Error\n });\n }, [\n testQuestionAnwseredView,\n bookSingleTest?.id,\n buttonClicked,\n showTestModal\n ]);\n return (\n <>\n {\n setOpenModal(false);\n }}\n aria-labelledby=\"modal-modal-title\"\n aria-describedby=\"modal-modal-description\"\n >\n \n 0 &&\n testType === 1\n ? \"relative bg-modal-image\"\n : \"relative\"\n }\n >\n {\n setOpenModal(false);\n }}\n className=\"cursor-pointer d-flex justify-content-end\"\n >\n \n \n {testType == 0 &&

{pretest}:

}\n {testType == 1 && (\n

\n {bookSingleTest.title\n .toLowerCase()\n .includes(\"final test\")\n ? finaltest\n : posttest}\n :\n

\n )}\n {testQuestionAnwseredView ? (\n <>\n \n {bookSingleTest?.title} {title}\n \n <>\n
\n {50 <\n (getTotalScore() / bookSingleTest?.total_points) *\n 100 ? (\n

\n {success}\n

\n ) : (\n

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

\n )}\n
\n \n
\n
\n
\n {\n setOpenModal(false);\n setNotTestAllAnsweredOptionl(false);\n setTestQuestionAnwseredView(false);\n markTestAsSolved(bookSingleTest.id);\n\n if (testType === 0)\n dispatch(\n removeUpdateBookTestsStatus({\n id: bookSingleTest.id,\n type: 0\n })\n );\n if (testType === 1)\n dispatch(\n updateBookTestsStatus({\n id: bookSingleTest.id,\n type: testType\n })\n );\n }}\n />\n
\n {\n setTestQuestionAnwseredView(false);\n handleButtonClick(true);\n }}\n />\n
\n
\n {bookSingleTest?.sections_results.length > 0 &&\n testType === 1 && (\n <>\n \n {testReport}\n {\" \"}\n
\n \n \n \n \n \n \n\n {bookSingleTest?.sections_results?.map(\n (row, i) => (\n <>\n \n \n\n \n \n \n \n )\n )}\n
{mark}{sectionscore}{advice}
{row.name} {row.percentage} {row.message}
\n
{\" \"}\n \n )}\n
\n \n \n ) : (\n <>\n \n {bookSingleTest?.title}\n \n {testType === 1 && (\n
\n {score}: {getTotalScore()}/\n {bookSingleTest?.total_points}\n
\n )}\n {bookSingleTest?.test_questions?.find(\n (qs) =>\n !!qs?.image_url ||\n qs?.test_answer_choices?.some(\n (ans) => ans.image_url\n )\n ) && (\n
\n {note} \n {notedescription}\n
\n )}\n\n
\n {bookSingleTest?.note}\n
\n {bookSingleTest && (\n <>\n {bookSingleTest?.test_questions?.map(\n (question, questionId) => (\n
\n
\n
\n

\n Q{questionId + 1}-\n

\n\n

\n {question.question}\n

\n
\n\n {question.image_url && (\n \n setImageModalToBook({\n src: question.image_url,\n title: `Q${questionId + 1}-${\n question.question\n }`\n })\n }\n >\n \n
\n
\n \n
\n
\n
\n )}\n
\n
\n
    \n {question?.test_answer_choices?.map(\n (\n {\n answer,\n id: answerId,\n image_url,\n correct\n },\n index\n ) => {\n return (\n
  1. \n
    \n
    \n \n {\n submitAnAnswer(\n question.id,\n answerId\n );\n if (\n testType === 0 &&\n !bookSingleTest.is_mandatory\n )\n dispatch(\n updateBookTestsStatus(\n {\n id: bookSingleTest.id,\n type: testType\n }\n )\n );\n }}\n />\n {image_url && (\n \n setImageModalToBook(\n {\n src: image_url,\n title: `${\n index + 1\n }-${answer}`\n }\n )\n }\n >\n \n
    \n
    \n \n
    \n
    \n
    \n )}\n\n \n {answer}\n \n \n
    \n
    \n {question[\n `${testTypeQuestion}test_user_answer`\n ] && (\n <>\n {question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct &&\n question[\n `${testTypeQuestion}test_user_answer`\n ]\n ?.test_answer_choice_id ===\n answerId &&\n testType === 1 && (\n
    \n {rightAnswer}\n
    \n )}\n\n {question[\n `${testTypeQuestion}test_user_answer`\n ]\n ?.test_answer_choice_id ===\n answerId &&\n question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct === false &&\n testType === 1 ? (\n
    \n {wrongAnswer}\n
    \n ) : (\n question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct ===\n false &&\n correct &&\n testType === 1 && (\n
    \n {rightAnswer}\n
    \n )\n )}\n \n )}\n
    \n
\n \n );\n }\n )}\n \n {!!question[\n `${testTypeQuestion}test_user_answer`\n ] &&\n !!question?.justification &&\n testType === 1 && (\n
\n {explanation} :\n {question?.justification}\n {question?.justification_image_url && (\n
\n \n
\n )}\n
\n )}\n \n \n )\n )}\n\n {bookSingleTest?.test_questions.every(\n (question) =>\n question?.[\n `${testTypeQuestion}test_user_answer`\n ]\n ) && (\n
\n {notTestAllAnsweredOptionl ? (\n {\n setTestQuestionAnwseredView(true);\n }}\n />\n ) : (\n {\n setOpenModal(false);\n }}\n />\n )}\n
\n )}\n \n )}\n \n )}\n \n \n \n \n );\n}\n","import { React, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport { faAngleDown } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\n\nimport Collapse from \"react-bootstrap/Collapse\";\nimport { useMediaQuery } from \"react-responsive\";\n// import Accordion from \"react-bootstrap/Accordion\";\n// import { Card } from \"react-bootstrap\";\n\nconst BookChapters = ({\n pdfViewer,\n outline,\n setMobileModalOpened\n}) => {\n const isSmallScreen = useMediaQuery({ maxWidth: 768 });\n const [open, setOpen] = useState([]);\n const handleToggle = (index) => {\n setOpen((prevOpen) => {\n const newOpen = [...prevOpen];\n if (newOpen[index] === undefined) newOpen[index] = true;\n else newOpen[index] = !newOpen[index];\n return newOpen;\n });\n };\n return (\n
    \n {outline?.map((o, index) => (\n
  • \n
    \n \n {\n pdfViewer.linkService.goToDestination(o?.dest);\n isSmallScreen\n ? setMobileModalOpened({\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n })\n : null;\n }}\n >\n {o?.title}\n
    \n {\n handleToggle(index);\n }}\n >\n \n \n \n \n
    \n {o.items.map((io, iindex) => (\n \n {\n pdfViewer.linkService.goToDestination(\n io?.dest\n );\n isSmallScreen\n ? setMobileModalOpened({\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n })\n : null;\n }}\n >\n {io?.title}\n
    \n \n ))}\n \n
    \n \n
  • \n ))}\n
\n\n // \n // \n // \n // \n // Click me!\n // \n // \n // \n // Hello!\n // \n // \n // \n );\n};\n\nBookChapters.propTypes = {\n pdfViewer: PropTypes.object,\n outline: PropTypes.array,\n setMobileModalOpened: PropTypes.func\n};\n\nexport default BookChapters;\n","import { useState, useEffect } from \"react\";\n\nconst bootstrapBreakPoints = new Map([]);\nbootstrapBreakPoints.set(0, \"xs\");\nbootstrapBreakPoints.set(576, \"sm\");\nbootstrapBreakPoints.set(768, \"md\");\nbootstrapBreakPoints.set(992, \"lg\");\nbootstrapBreakPoints.set(1200, \"xl\");\nbootstrapBreakPoints.set(1400, \"xxl\");\n\nfunction useWindowSize() {\n const [width, setWidth] = useState(window.innerWidth);\n const [height, setHeight] = useState(window.innerHeight);\n const [breakPointValue, setBreakPointValue] = useState();\n\n useEffect(() => {\n if (width >= 0 && width < 576) {\n setBreakPointValue(0);\n } else if (width >= 576 && width < 768) {\n setBreakPointValue(576);\n } else if (width >= 768 && width < 992) {\n setBreakPointValue(768);\n } else if (width >= 992 && width < 1200) {\n setBreakPointValue(992);\n } else if (width >= 1200 && width < 1400) {\n setBreakPointValue(1200);\n } else {\n setBreakPointValue(1400);\n }\n }, [width]);\n\n useEffect(() => {\n const handleResize = () => {\n setWidth(window.innerWidth);\n setHeight(window.innerHeight);\n };\n window.addEventListener(\"resize\", handleResize);\n return () => {\n window.removeEventListener(\"resize\", handleResize);\n };\n });\n\n return {\n width,\n height,\n breakPoint: bootstrapBreakPoints.get(breakPointValue)\n };\n}\n\nexport default useWindowSize;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\n\nconst TitleWithSubtitle = ({ title, subtitle }) => {\n return (\n
\n

\n {title}\n

\n \n {subtitle}\n \n
\n );\n};\n\nTitleWithSubtitle.propTypes = {\n title: PropTypes.string,\n subtitle: PropTypes.string\n};\n\nexport default TitleWithSubtitle;\n","import React from \"react\";\nimport { useIntl } from \"react-intl\";\nimport moment from \"moment\";\nimport PropTypes from \"prop-types\";\n// import BackButton from \"../../../components/BackButton\";\nimport TitleWithSubtitle from \"../../../components/TitleWithSubtitle\";\n\nconst BookInfo = ({ singleBook }) => {\n const releaseFormat = \"D MMM YYYY\";\n const { messages } = useIntl();\n const {\n shared: { by }\n } = messages;\n\n return (\n
\n {/* */}\n \n {/*
*/}\n
\n );\n};\nBookInfo.propTypes = {\n singleBook: PropTypes.object\n};\n\nBookInfo.defaultProps = {\n singleBook: {}\n};\nexport default BookInfo;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { ProgressBar } from \"react-bootstrap\";\nimport LockIcon from \"../../assets/svgs/lock\";\nimport styles from \"./PDFViewer.module.scss\";\n\nconst PDFViewerSample = ({ pdf, subscribed }) => {\n const renderPage = (props) => {\n const { canvasLayer, annotationLayer, pageIndex } = props;\n return (\n <>\n {\n !subscribed ? (\n pageIndex < 5 && pageIndex < 3 ? (\n <>\n
e.preventDefault()}>\n {canvasLayer.children}\n
\n {annotationLayer.children}\n \n ) : (\n <>\n {canvasLayer.children}\n
\n
\n \n
\n
\n {annotationLayer.children}\n \n )\n ) : (\n
\n {canvasLayer.children}\n {canvasLayer.children}\n
\n )\n // annotationLayer.children\n }\n \n );\n };\n\n const renderPageSubscribedUser = (props) => {\n const { canvasLayer, annotationLayer } = props;\n\n return (\n <>\n
e.preventDefault()}>\n {canvasLayer.children}\n
\n {annotationLayer.children}\n \n );\n };\n\n return (\n
\n {/* {pdf && (\n (\n
\n \n
\n )}\n />\n )} */}\n
\n );\n};\n\nPDFViewerSample.propTypes = {\n canvasLayer: PropTypes.object,\n annotationLayer: PropTypes.object,\n pageIndex: PropTypes.number,\n textLayer: PropTypes.object,\n pdf: PropTypes.string,\n subscribed: PropTypes.object\n};\n\nexport default PDFViewerSample;\n","/* eslint-disable react/prop-types */\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useRef, useState } from \"react\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { useDispatch } from \"react-redux\";\nimport { useParams } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport {\n author_portal,\n customer_portal,\n editor_portal,\n program_director_portal\n} from \"../../network/apis\";\nimport { updateBookProgress } from \"../../store/Books/actions\";\n// Import styles\nimport styles from \"./PDFViewer.module.scss\";\nimport \"./PDFViewerFull.scss\";\n\nconst PDFViewerFull = ({\n singleBook,\n sendBookMarksToParent,\n isBookSubscribed,\n setCurrentPage,\n setPagesNumber\n}) => {\n const dispatch = useDispatch();\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const isEditor = pathname.includes(\"editor\");\n const isProgram = pathname.includes(\"program\");\n\n const [notes, setNotes] = useState(\n singleBook?.book_progress?.highlights_and_notes.notesProgress\n );\n\n let { id } = useParams();\n\n const clickPrintScreen = function (e) {\n var keyCode = e.keyCode ? e.keyCode : e.which;\n if (keyCode == 44) {\n stopPrntScr();\n }\n };\n\n const iframeRef = useRef(null);\n\n useEffect(() => {\n if (singleBook?.book_progress?.highlights_and_notes) {\n setNotes(\n singleBook?.book_progress?.highlights_and_notes.notesProgress\n );\n }\n }, [singleBook?.book_progress?.highlights_and_notes]);\n\n function stopPrntScr() {\n var inpFld = document.createElement(\"input\");\n inpFld.setAttribute(\"value\", \".\");\n inpFld.setAttribute(\"width\", \"0\");\n inpFld.style.height = \"0px\";\n inpFld.style.width = \"0px\";\n inpFld.style.border = \"0px\";\n document.body.appendChild(inpFld);\n inpFld.select();\n document.execCommand(\"copy\");\n inpFld.remove(inpFld);\n }\n\n function AccessClipboardData() {\n try {\n window.clipboardData.setData(\"text\", \"Access Restricted\");\n } catch (err) {\n //\n }\n }\n useEffect(() => {\n document.addEventListener(\"keyup\", clickPrintScreen);\n const interval = setInterval(AccessClipboardData(), 300);\n\n return () => {\n document.removeEventListener(\"keyup\", clickPrintScreen);\n clearInterval(interval);\n };\n }, []);\n\n const [position, setPosition] = useState({\n selectionRegion: {\n left: \"0\",\n top: \"0\"\n }\n });\n\n useEffect(() => {\n if (singleBook?.pdf == null) return;\n const iframe = iframeRef.current;\n const iframeWindow = iframe?.contentWindow;\n\n // const goToPage = (pageNumber) => {\n // const iframe = iframeRef.current;\n // const iframeWindow = iframe?.contentWindow;\n // if (iframeWindow) {\n // iframeWindow.PDFViewerApplication.page = pageNumber;\n // setCurrentPage(pageNumber);\n // currentPageLocalComponent.current = pageNumber;\n // }\n // };\n // goToPage(20);\n const handlePageChange = (pageNumber) => {\n // Perform any additional logic here based on the new page number\n if (!document.fullscreenElement) setCurrentPage(pageNumber);\n currentPageLocalComponent.current = pageNumber;\n if (pageNumber > 15 && !isBookSubscribed) {\n iframeWindow.PDFViewerApplication.page = 1;\n // makeUnSubscribedNotScoll();\n }\n };\n\n const onPageChangeInIFrame = (event) => {\n const pageNumber = event.pageNumber;\n handlePageChange(pageNumber);\n // setCurrentProgress();\n };\n\n const addPageChangeEvent = () => {\n const pdfViewer = iframeWindow.PDFViewerApplication.pdfViewer;\n pdfViewer.eventBus.on(\"pagechanging\", onPageChangeInIFrame);\n };\n\n if (iframeWindow) {\n iframeWindow.onload = () => {\n const pdfViewerApplication =\n iframeWindow?.PDFViewerApplication;\n addPageChangeEvent();\n const pdfViewer = pdfViewerApplication?.pdfViewer;\n pdfViewer.eventBus.on(\n \"pagerendered\",\n () => {\n const pdfDocument =\n iframeWindow.PDFViewerApplication?.pdfDocument;\n const pdfOutlineViewer =\n iframeWindow.PDFViewerApplication?.pdfOutlineViewer;\n pdfDocument.getOutline().then((outline) => {\n sendBookMarksToParent(pdfOutlineViewer, outline);\n });\n },\n { once: true }\n );\n iframeWindow.oncontextmenu = (e) => {\n e.preventDefault();\n };\n let pdfWidth = iframe.contentDocument.body.scrollWidth;\n let containerWidth =\n iframe.contentDocument.getElementById(\n \"mainContainer\"\n ).scrollWidth;\n let initialScroll = (containerWidth - pdfWidth) / 2;\n iframeWindow.scrollTo(initialScroll, 0);\n };\n }\n }, [singleBook?.pdf]);\n\n const currentPageLocalComponent = useRef(0);\n\n const makeUnSubscribedNotScoll = () => {\n if (\n document.querySelector(\"#preventScroll .pdfViewer\") &&\n !isBookSubscribed &&\n currentPageLocalComponent.current > 3 &&\n document.querySelector(\n \"#preventScroll .rpv-default-layout__body\"\n ).scrollTop > 1555\n ) {\n document\n .querySelector(\"#preventScroll .rpv-default-layout__body\")\n .scrollTo(0, 0);\n }\n };\n\n const onPageChange = (e) => {\n setCurrentPage(e.currentPage + 1);\n currentPageLocalComponent.current = e.currentPage + 1;\n if (e.currentPage > 2) makeUnSubscribedNotScoll();\n };\n\n // eslint-disable-next-line no-unused-vars\n const setCurrentProgress = () => {\n dispatch(\n updateBookProgress({\n page: currentPageLocalComponent.current,\n singleBook,\n id\n })\n );\n };\n const backendUrl = (() => {\n let portal = customer_portal;\n if (isAuthor) portal = author_portal;\n if (isEditor) portal = editor_portal;\n if (isProgram) portal = program_director_portal;\n return `${process.env.REACT_APP_API_BASE_URL}${portal}`;\n })();\n return (\n <>\n e.preventDefault()}\n id=\"preventScroll\"\n className={` ${styles.fullWrapper} ${\n currentPageLocalComponent.current > 3 && !isBookSubscribed\n ? styles.preventScrollcls\n : null\n }`}\n >\n \n \n {singleBook?.pdf && (\n
\n \n
\n )}\n \n
\n \n \n );\n};\n\nPDFViewerFull.propTypes = {\n singleBook: PropTypes.object,\n canvasLayer: PropTypes.object,\n annotationLayer: PropTypes.object,\n pageIndex: PropTypes.number,\n textLayer: PropTypes.object,\n sendBookMarksToParent: PropTypes.func,\n isBookSubscribed: PropTypes.bool,\n setCurrentPage: PropTypes.func,\n setPagesNumber: PropTypes.func\n};\n\nPDFViewerFull.defaultProps = {\n singleBook: {},\n sendBookMarksToParent: () => {},\n isBookSubscribed: false\n};\n\nexport default PDFViewerFull;\n","import { React, useEffect } from \"react\";\nimport PropTypes from \"prop-types\";\nimport PDFViewerSample from \"./PDFViewerSample\";\nimport PDFViewerFull from \"./PDFViewerFull\";\nconst PDFViewer = ({\n singleBook,\n type,\n pdf,\n sendBookMarksToParent,\n subscribed,\n setCurrentPage,\n setPagesNumber\n}) => {\n const renderViewer = (type) => {\n switch (type) {\n case \"full\":\n return (\n \n );\n case \"preview\":\n return ;\n\n default:\n return null;\n }\n };\n return <>{renderViewer(type)};\n};\n\nPDFViewer.propTypes = {\n singleBook: PropTypes.object,\n type: PropTypes.string,\n pdf: PropTypes.string,\n sendBookMarksToParent: PropTypes.func,\n subscribed: PropTypes.bool,\n setCurrentPage: PropTypes.func,\n setPagesNumber: PropTypes.func\n};\n\nPDFViewer.defaultProps = {\n singleBook: {},\n type: \"full\",\n pdf: \"\",\n sendBookMarksToParent: () => {},\n isBookSubscribed: false\n};\n\nexport default PDFViewer;\n","import { useMemo } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { memo } from \"react\";\n\nimport PDFViewer from \"../../../components/PDFViewer\";\n\nconst BookPdfViewer = ({\n width,\n handleBookMarks,\n singleBook,\n isBookSubscribed,\n setCurrentPage,\n setPagesNumber\n}) => {\n const renderPdf = () => {\n return (\n <>\n \n \n );\n };\n const renderPdfViewer = useMemo(() => renderPdf(), [singleBook]);\n\n return (\n
\n \n {renderPdfViewer}\n
\n \n );\n};\n\nexport default memo(BookPdfViewer);\n\nBookPdfViewer.propTypes = {\n width: PropTypes.number,\n handleBookMarks: PropTypes.func,\n singleBook: PropTypes.object,\n isBookSubscribed: PropTypes.func,\n setCurrentPage: PropTypes.func,\n setPagesNumber: PropTypes.func\n};\n","export default __webpack_public_path__ + \"static/media/Quizicon.c3379200.svg\";","import React, { useState, useEffect } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useIntl } from \"react-intl\";\nimport PropTypes from \"prop-types\";\nimport { Typography } from \"@mui/material\";\nimport styles from \"./MaterialPreview.module.scss\";\nimport TestSvg from \"../../assets/svgs/Quizicon.svg\";\n\nimport {\n getCertainQuiz,\n setCertainQuiz\n} from \"../../store/Books/actions\";\nimport { Modal } from \"@mui/material\";\nimport Button from \"../Button\";\nimport { Box } from \"@mui/system\";\nimport { boxStyle } from \"../../containers/Books/BookViewer/boxStyle\";\nimport { axiosInstance, customer_portal } from \"../../network/apis\";\nimport CloseButtonIcon from \"../../assets/svgs/close-button-icon\";\nimport Group from \"../../assets/svgs/Group.svg\";\nimport \"./QuizPreview.scss\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom\";\n\nconst QuizPreview = ({\n quiz,\n singleBook,\n currentPage,\n setImageModal\n}) => {\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const isProgram = pathname.includes(\"program\");\n const { messages } = useIntl();\n const {\n quiz: { notedescription, note }\n } = messages;\n const [isOpen, setOpen] = useState(false);\n // eslint-disable-next-line no-unused-vars\n const [questionAnswers, setQuestionAnswer] = useState();\n const [userAnswers, setUserAnswers] = useState({});\n\n const dispatch = useDispatch();\n const {\n books: { quizDetails }\n } = useSelector((state) => state);\n useEffect(() => {\n if (quizDetails) {\n setQuestionAnswer(quizDetails);\n const oldAnswers = {};\n quizDetails?.questions?.forEach((question) => {\n if (question?.user_answer) {\n oldAnswers[question.user_answer?.question_id] =\n question?.user_answer?.answer_choice_id;\n }\n });\n setUserAnswers(oldAnswers);\n }\n }, [quizDetails]);\n\n const addUsersAnswer = (id, answer) => {\n const answers = { ...userAnswers };\n answers[id] = answer;\n setUserAnswers(answers);\n };\n\n const setImageModalToBook = (img) => {\n setImageModal({ src: img.src, title: img.title });\n };\n\n return (\n <>\n
\n
\n {\n setOpen(true);\n dispatch(\n getCertainQuiz({\n isAuthor,\n isProgram,\n id: quiz?.quiz_id,\n bookId: singleBook.id,\n page: currentPage\n })\n );\n }}\n >\n \"medblend-image\"\n
\n {quiz.quiz_title}\n
\n \n
\n
\n {\n dispatch(setCertainQuiz(null));\n setOpen(false);\n }}\n aria-labelledby=\"modal-modal-title\"\n aria-describedby=\"modal-modal-description\"\n >\n \n
\n \n \n {quizDetails?.title}\n \n {\n setOpen(false);\n }}\n >\n \n \n
\n
\n Score:{\" \"}\n {quizDetails?.questions?.[0]?.user_answer\n ?.user_gained_points\n ? quizDetails?.questions?.[0]?.user_answer\n ?.user_gained_points\n : 0}\n /{quizDetails?.total_points}\n
\n {quizDetails?.questions?.find(\n (qs) =>\n !!qs?.image_url ||\n qs?.answer_choices?.some((ans) => ans.image_url)\n ) && (\n
\n {note} \n {notedescription}\n
\n )}\n
\n {quizDetails?.questions?.map((question, i) => {\n return (\n
\n
\n

Q{i + 1}-

\n

{question.question}

\n
\n {question.image_url && (\n \n setImageModalToBook({\n src: question.image_url,\n title: `Q${i + 1}-${question.question}`\n })\n }\n >\n \n
\n
\n \"medblend-image\"\n
\n
\n
\n )}\n
    \n {question.answer_choices.map(\n (\n { answer, id: answerId, image_url, correct },\n index\n ) => (\n
  1. \n
    \n \n {\n try {\n await axiosInstance.post(\n `${customer_portal}/questions/${question.id}/quiz_question_answer`,\n {\n answer_choice_id: answerId,\n book_quiz_id:\n quizDetails?.book_quiz_id\n }\n );\n await dispatch(\n getCertainQuiz({\n id: quiz?.quiz_id,\n bookId: singleBook.id,\n page: currentPage\n })\n );\n } catch (error) {\n //\n }\n addUsersAnswer(\n question.id,\n answerId\n );\n }}\n />\n {image_url && (\n \n setImageModalToBook({\n src: image_url,\n title: `${index + 1}-${answer}`\n })\n }\n >\n \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n {answer}\n \n \n
    \n {userAnswers?.[question.id] ===\n answerId ? (\n <>\n {correct && (\n
    \n correct\n
    \n )}\n {correct === false && (\n
    wrong
    \n )}\n \n ) : (\n userAnswers?.[question.id] &&\n correct && (\n
    \n correct{\" \"}\n
    \n )\n )}\n
    \n
\n \n )\n )}\n \n {userAnswers?.[question.id] &&\n question.justification && (\n <>\n
\n

{question.justification}

\n {question.justification_image_url && (\n
\n \n
\n )}\n
\n \n )}\n \n );\n })}\n {quizDetails?.questions?.length ===\n Object.keys(userAnswers).length && (\n
\n {\n setOpen(false);\n }}\n >\n
\n )}\n \n \n \n \n );\n};\n\nQuizPreview.propTypes = {\n quiz: PropTypes.object,\n singleBook: PropTypes.object,\n currentPage: PropTypes.number,\n setImageModal: PropTypes.func\n};\n\nexport default QuizPreview;\n","import { Modal, Typography } from \"@mui/material\";\nimport { Box } from \"@mui/system\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useState } from \"react\";\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport { CircularProgressbar } from \"react-circular-progressbar\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom\";\nimport CloseButtonIcon from \"../../../assets/svgs/close-button-icon\";\nimport Group from \"../../../assets/svgs/Group.svg\";\nimport TestSvg from \"../../../assets/svgs/Quizicon.svg\";\nimport { boxStyle } from \"../../../containers/Books/BookViewer/boxStyle\";\nimport {\n author_portal,\n axiosInstance,\n customer_portal,\n program_director_portal\n} from \"../../../network/apis\";\nimport {\n answerBookSingleTestRequest,\n getBookSingleTestRequest,\n removeUpdateBookTestsStatus,\n updateBookTestsStatus\n} from \"../../../store/Books/actions\";\nimport {\n SET_OPEN_TEST_MODAL,\n SET_TEST_MODAL_DATA\n} from \"../../../store/Utilities/types\";\nimport Button from \"../../Button\";\nimport MaterialPreviewStyles from \"../MaterialPreview.module.scss\";\n\nexport default function Test({\n bookTest,\n testType,\n setImageModal,\n markTestAsSolved\n}) {\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const isProgram = pathname.includes(\"program\");\n\n const { messages } = useIntl();\n const {\n test: {\n rightAnswer,\n wrongAnswer,\n score,\n explanation,\n notedescription,\n note,\n title,\n success,\n failed,\n mark,\n sectionscore,\n advice,\n testReport,\n pretest,\n posttest,\n pretestnotsolved,\n finaltest\n },\n buttons: { next, ok, submit }\n } = messages;\n\n const dispatch = useDispatch();\n\n const bookSingleTest = useSelector(\n (state) => state.books.bookSingleTest\n );\n\n const [notTestAllAnsweredOptionl, setNotTestAllAnsweredOptionl] =\n useState(false);\n // const [TestPrePageIconShow, setTestPrePageIconShow] =\n // useState(true);\n\n const [testTypeQuestion, setTestTypeQuestion] = useState();\n const [testQuestionAnwseredView, setTestQuestionAnwseredView] =\n useState(false);\n\n const [isOpen, setOpen] = useState(false);\n useEffect(async () => {\n if (bookTest?.id) {\n await dispatch(\n getBookSingleTestRequest({\n id: bookTest?.id,\n isAuthor,\n isProgram\n })\n );\n }\n }, [bookTest]);\n\n const [isPreTestSolved, setIsPreTestSolved] = useState(false);\n\n useEffect(async () => {\n if (bookSingleTest?.id) {\n if (bookSingleTest.is_mandatory) {\n bookSingleTest?.test_questions?.every(\n (question) => question[`post_test_user_answer`] !== null\n ) || testType === 1\n ? setTestTypeQuestion(\"post_\")\n : setTestTypeQuestion(\"pre_\");\n } else {\n (bookSingleTest?.test_questions?.every(\n (question) => question[`post_test_user_answer`] !== null\n ) &&\n bookSingleTest?.test_questions?.every(\n (question) => question[`pre_test_user_answer`] !== null\n )) ||\n testType === 1\n ? setTestTypeQuestion(\"post_\")\n : setTestTypeQuestion(\"pre_\");\n }\n if (\n bookSingleTest?.test_questions?.every(\n (question) => question[`pre_test_user_answer`] !== null\n )\n )\n setIsPreTestSolved(true);\n }\n }, [bookSingleTest, testType]);\n\n const [buttonClicked, setButtonClicked] = useState(false);\n\n useEffect(async () => {\n if (buttonClicked || !bookSingleTest?.id) {\n return;\n }\n const fetchURL = (url) =>\n axiosInstance.get(\n `${\n isAuthor\n ? author_portal\n : isProgram\n ? program_director_portal\n : customer_portal\n }/${url}`\n );\n const testPromise = fetchURL(`tests/${bookSingleTest?.id}`);\n\n testPromise\n .then((promiseResult) => {\n const postTestAnswered =\n promiseResult.data.test?.test_questions?.every(\n (question) => !!question[\"post_test_user_answer\"]\n );\n const preTestAnswered =\n promiseResult.data.test?.test_questions?.every(\n (question) => !!question[\"pre_test_user_answer\"]\n );\n setTestQuestionAnwseredView(\n testType == 1 ? postTestAnswered : preTestAnswered\n );\n })\n .catch((err) => {\n // Handle Error\n });\n }, [testQuestionAnwseredView, bookSingleTest?.id]);\n\n const handleButtonClick = () => {\n setButtonClicked(true);\n };\n\n useEffect(() => {\n let isMounted = true; // Flag to track if the component is mounted\n\n const fetchData = async () => {\n try {\n const bookTestCheck = await axiosInstance.get(\n `${\n isAuthor\n ? author_portal\n : isProgram\n ? program_director_portal\n : customer_portal\n }/tests/${bookTest.id}`\n );\n\n if (isMounted) {\n bookTestCheck?.data?.test?.test_questions?.every(\n (question) =>\n question?.[\n `${testType === 0 ? \"pre_\" : \"post_\"}test_user_answer`\n ]\n ) === false && !bookTestCheck?.data?.test?.is_mandatory\n ? setNotTestAllAnsweredOptionl(true)\n : setNotTestAllAnsweredOptionl(false);\n\n // if (\n // testType === 0 &&\n // bookTestCheck?.test_questions?.every(\n // (question) => question[`post_test_user_answer`] !== null\n // )\n // ) {\n // setTestPrePageIconShow(false);\n // }\n }\n } catch (error) {\n // Handle errors here\n console.error(error);\n }\n };\n\n fetchData(); // Initial data fetch\n\n // Cleanup function\n return () => {\n isMounted = false; // Set the flag to false when the component is unmounted\n };\n }, [bookTest?.id, testType]);\n\n const RenderTooltip = ({ children }) => (\n {pretestnotsolved}}>\n {children}\n \n );\n\n const RenderPostTest = () => (\n
\n
\n {\n // setOpen(true);\n setModalData();\n setOpenModal(true);\n }}\n disabled={!isPreTestSolved}\n >\n \"medblend-image\"\n
\n {bookSingleTest?.title}{\" \"}\n {bookSingleTest?.title\n .toLowerCase()\n .includes(\"final test\")\n ? finaltest\n : posttest}\n
\n \n
\n
\n );\n\n RenderTooltip.propTypes = {\n children: PropTypes.any\n };\n\n const getTotalScore = () => {\n const score = bookSingleTest\n ? bookSingleTest[`${testTypeQuestion}test_points`]\n : 0;\n return score ? score : 0;\n };\n const submitAnAnswer = async (questionId, answer) => {\n const payload = {\n test_question_id: questionId,\n test_answer_choice_id: answer,\n test_type: testType\n };\n await dispatch(answerBookSingleTestRequest(payload));\n dispatch(getBookSingleTestRequest({ id: bookTest.id }));\n };\n\n const setImageModalToBook = (img) => {\n setImageModal({ src: img });\n };\n\n const setOpenModal = (open) => {\n dispatch({\n type: SET_OPEN_TEST_MODAL,\n payload: open\n });\n };\n\n const setModalData = () => {\n dispatch({\n type: SET_TEST_MODAL_DATA,\n payload: {\n testTypeQuestion,\n testType,\n setImageModal,\n markTestAsSolved,\n bookTest\n }\n });\n };\n\n return (\n <>\n {testType === 0 && (\n <>\n
\n
\n {\n // setOpen(true);\n // add data to test modal\n setModalData();\n setOpenModal(true);\n }}\n >\n \"medblend-image\"\n
\n {bookSingleTest?.title} {pretest}\n
\n \n
\n
\n \n )}\n {testType === 1 && (\n <>\n {isPreTestSolved ? (\n RenderPostTest()\n ) : (\n {RenderPostTest()}\n )}\n \n )}\n {/* {\n setOpen(false);\n }}\n aria-labelledby=\"modal-modal-title\"\n aria-describedby=\"modal-modal-description\"\n >\n \n 0 &&\n testType === 1\n ? \"relative bg-modal-image\"\n : \"relative\"\n }\n >\n {\n setOpen(false);\n }}\n className=\"cursor-pointer d-flex justify-content-end\"\n >\n \n \n {testQuestionAnwseredView ? (\n <>\n \n {bookSingleTest?.title} {title}\n \n <>\n
\n {50 <\n (getTotalScore() / bookSingleTest?.total_points) *\n 100 ? (\n

\n {success}\n

\n ) : (\n

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

\n )}\n
\n \n
\n
\n
\n {\n setOpen(false);\n setNotTestAllAnsweredOptionl(false);\n setTestQuestionAnwseredView(false);\n markTestAsSolved(bookSingleTest.id);\n\n if (testType === 0)\n dispatch(\n removeUpdateBookTestsStatus({\n id: bookSingleTest.id,\n type: 0\n })\n );\n if (testType === 1)\n dispatch(\n updateBookTestsStatus({\n id: bookSingleTest.id,\n type: testType\n })\n );\n }}\n />\n {\n setTestQuestionAnwseredView(false);\n }}\n />\n
\n
\n {bookSingleTest?.sections_results.length > 0 &&\n testType === 1 && (\n <>\n \n {testReport}\n {\" \"}\n
\n \n \n \n \n \n \n\n {bookSingleTest?.sections_results?.map(\n (row, i) => (\n <>\n \n \n\n \n \n \n \n )\n )}\n
{mark}{sectionscore}{advice}
{row.name} {row.percentage} {row.message}
\n
{\" \"}\n \n )}\n
\n \n \n ) : (\n <>\n \n {bookSingleTest?.title}\n \n {testType === 1 && (\n
\n {score}: {getTotalScore()}/\n {bookSingleTest?.total_points}\n
\n )}\n {bookSingleTest?.test_questions?.find(\n (qs) =>\n !!qs?.image_url ||\n qs?.test_answer_choices?.some(\n (ans) => ans.image_url\n )\n ) && (\n
\n {note} \n {notedescription}\n
\n )}\n\n
\n {bookSingleTest?.note}\n
\n {bookSingleTest && (\n <>\n {bookSingleTest?.test_questions?.map(\n (question, questionId) => (\n
\n
\n
\n

\n Q{questionId + 1}-\n

\n\n

\n {question.question} ?\n

\n
\n\n {question.image_url && (\n \n setImageModalToBook(\n question.image_url\n )\n }\n >\n \n
\n
\n \n
\n
\n
\n )}\n
\n
\n {question?.test_answer_choices?.map(\n (\n {\n answer,\n id: answerId,\n image_url,\n correct\n },\n index\n ) => (\n \n
\n
\n \n {\n submitAnAnswer(\n question.id,\n answerId\n );\n if (\n testType === 0 &&\n !bookSingleTest.is_mandatory\n )\n dispatch(\n updateBookTestsStatus(\n {\n id: bookSingleTest.id,\n type: testType\n }\n )\n );\n }}\n />\n {image_url && (\n \n setImageModalToBook(\n image_url\n )\n }\n >\n \n
\n
\n \n
\n
\n
\n )}\n\n \n {answer}\n \n \n
\n
\n {question[\n `${testTypeQuestion}test_user_answer`\n ] && (\n <>\n {question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct &&\n question[\n `${testTypeQuestion}test_user_answer`\n ]\n ?.test_answer_choice_id ===\n answerId &&\n testType === 1 && (\n
\n {rightAnswer}\n
\n )}\n\n {question[\n `${testTypeQuestion}test_user_answer`\n ]?.test_answer_choice_id ===\n answerId &&\n question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct === false &&\n testType === 1 ? (\n
\n {wrongAnswer}\n
\n ) : (\n question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct === false &&\n correct &&\n testType === 1 && (\n
\n {rightAnswer}\n
\n )\n )}\n \n )}\n
\n
\n \n )\n )}\n {question[\n `${testTypeQuestion}test_user_answer`\n ] &&\n question?.test_answer_choices[0]\n .justification &&\n testType === 1 && (\n
\n {explanation} :\n {\n question?.test_answer_choices[0]\n .justification\n }\n
\n )}\n \n \n )\n )}\n\n {bookSingleTest?.test_questions.every(\n (question) =>\n question?.[\n `${testTypeQuestion}test_user_answer`\n ]\n ) && (\n
\n {notTestAllAnsweredOptionl ? (\n {\n setTestQuestionAnwseredView(true);\n }}\n />\n ) : (\n {\n setOpen(false);\n }}\n />\n )}\n
\n )}\n \n )}\n \n )}\n \n \n */}\n \n );\n}\n\nTest.propTypes = {\n closeTestModal: PropTypes.func,\n bookTest: PropTypes.object,\n testAllAnwsered: PropTypes.boolean,\n testType: PropTypes.number,\n setImageModal: PropTypes.func,\n markTestAsSolved: PropTypes.func\n};\n","export default __webpack_public_path__ + \"static/media/survey.0566c51e.svg\";","import React from \"react\";\nimport MaterialPreviewStyles from \"./MaterialPreview.module.scss\";\nimport surveySVG from \"../../assets/svgs/survey.svg\";\nimport { useDispatch } from \"react-redux\";\nimport { SET_OPEN_SURVEY } from \"../../store/Utilities/types\";\nimport { useIntl } from \"react-intl\";\n\nexport default function SurveyPreview() {\n const { messages } = useIntl();\n const { survey } = messages;\n\n const dispatch = useDispatch();\n const setOpenSurvey = (open) => {\n dispatch({\n type: SET_OPEN_SURVEY,\n payload: open\n });\n };\n\n return (\n
\n
\n {\n setOpenSurvey(true);\n }}\n >\n \"survey-image\"\n
{survey ?? \"Survey\"}
\n \n
\n
\n );\n}\n","import React from \"react\";\nimport { useDispatch } from \"react-redux\";\nimport { SET_OPEN_FINAL_TEST_MODAL } from \"../../../store/Utilities/types\";\nimport MaterialPreviewStyles from \"../MaterialPreview.module.scss\";\nimport AssignmentIcon from \"@mui/icons-material/Assignment\";\nimport { useIntl } from \"react-intl\";\nfunction FinalTestPreview() {\n const dispatch = useDispatch();\n const { messages } = useIntl();\n const {\n FinalTest: { FinalTest }\n } = messages;\n const setOpenFinalTest = (open) => {\n dispatch({\n type: SET_OPEN_FINAL_TEST_MODAL,\n payload: open\n });\n };\n\n return (\n
\n
\n {\n setOpenFinalTest(true);\n }}\n >\n \n
{FinalTest}
\n \n
\n
\n );\n}\n\nexport default FinalTestPreview;\n","import React from \"react\";\nimport \"react-image-lightbox/style.css\";\nimport MaterialPreview from \"../MaterialPreview\";\nimport QuizPreview from \"../MaterialPreview/QuizPreview\";\nimport TestPreview from \"../MaterialPreview/TestPreview\";\nimport { getSupplementaryTypeLabel } from \"../../utils/Helpers\";\nimport PropTypes from \"prop-types\";\n// import \"./BookViewer.scss\";\nimport styles from \"./SectionSupplementaries.module.scss\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport { useState } from \"react\";\nimport SurveyPreview from \"../MaterialPreview/SurveyPreview\";\nimport FinalTestPreview from \"../MaterialPreview/FinalTestPreview\";\nimport surveySVG from \"../../assets/svgs/survey.svg\";\nimport Video from \"../../assets/svgs/Videoicon.svg\";\nimport TestSvg from \"../../assets/svgs/Quizicon.svg\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport AssignmentIcon from \"@mui/icons-material/Assignment\";\nimport {\n faChevronDown,\n faChevronUp\n} from \"@fortawesome/free-solid-svg-icons\";\nfunction MobileSupplementaries({\n singleBookSupplementaries,\n singleBookQuizzes,\n singleBookTests,\n setImageModalFromTest,\n currentPage,\n isBookSubscribed,\n singleBook,\n markTestAsSolved,\n supplementariesContainerRef,\n survey,\n finalTest\n}) {\n const [hideSupplementeries, setHideSupplementeries] =\n useState(true);\n let isQuizzesExist = singleBookQuizzes?.filter(\n (quiz) => quiz.book_page === currentPage\n );\n let isTestExist = singleBookTests?.filter(\n (test) =>\n test.pre_page === currentPage || test.post_page === currentPage\n );\n\n let isSupplementaryExist =\n isBookSubscribed() &&\n singleBookSupplementaries.find((supplementary) => {\n return supplementary.book_page === currentPage;\n })?.supplementary_materials;\n\n return (\n <>\n {hideSupplementeries ? (\n setHideSupplementeries(false)}\n className={styles[\"hideSupplementeriesDiv\"]}\n >\n
\n {isBookSubscribed() && (\n
\n {isSupplementaryExist?.map((supplementary) => (\n \n ))}\n {isQuizzesExist?.map((quiz) => (\n \"Icon\"\n ))}\n {isTestExist?.length > 0 ? (\n \"Icon\"\n ) : null}\n {currentPage === singleBook?.number_of_pages &&\n finalTest && (\n \n )}\n {!singleBook?.book_progress?.is_survey_solved &&\n survey &&\n currentPage === singleBook?.number_of_pages && (\n \"survey-image\"\n )}\n
\n )}\n
\n {(isSupplementaryExist ||\n isQuizzesExist?.length ||\n isTestExist?.length ||\n currentPage === singleBook?.number_of_pages) && (\n \n \n \n )}\n \n ) : (\n e.preventDefault()}\n style={{ display: hideSupplementeries ? \"none\" : \"flex\" }}\n >\n \n {/* Supplementary video demo view for unsubscriber user */}\n {!singleBookSupplementaries.filter(\n (sub) => sub.book_page === 1\n )?.length &&\n currentPage === 1 &&\n !isBookSubscribed() && (\n
\n \n
\n )}\n {isBookSubscribed() &&\n singleBookSupplementaries\n .find((supplementary) => {\n return supplementary.book_page === currentPage;\n })\n ?.supplementary_materials?.map(\n (singleSupplementary, index) => (\n \n \n \n )\n )}\n {isBookSubscribed() &&\n singleBookQuizzes?.map((quiz, index) => {\n if (quiz.book_page === currentPage) {\n return (\n \n \n \n );\n } else {\n return \"\";\n }\n })}\n {singleBookTests?.map((test, index) => {\n // if (bookSingleTestCanceled[test?.id]) {\n const type = test.pre_page === currentPage ? 0 : 1;\n if (\n (test.pre_page === currentPage ||\n test.post_page === currentPage) &&\n // bookSingleTestCanceled[test?.id][type] &&\n (type === 1 || !test.isPreTestSolved) &&\n (!test?.title.toLowerCase().includes(\"final test\") ||\n type == 1)\n ) {\n return (\n \n \n \n );\n }\n // } else {\n // return \"\";\n // }\n })}\n {!singleBook?.book_progress?.is_survey_solved &&\n survey &&\n currentPage == singleBook?.number_of_pages && (\n \n )}\n {isBookSubscribed() &&\n finalTest &&\n currentPage == singleBook?.number_of_pages && (\n
\n \n
\n )}\n \n
\n setHideSupplementeries(true)}\n />\n
\n \n )}\n \n );\n}\n\nMobileSupplementaries.propTypes = {\n singleBookSupplementaries: PropTypes.array,\n singleBookQuizzes: PropTypes.array,\n singleBookTests: PropTypes.array,\n setImageModalFromTest: PropTypes.func,\n currentPage: PropTypes.number,\n isBookSubscribed: PropTypes.func,\n singleBook: PropTypes.object,\n markTestAsSolved: PropTypes.func,\n supplementariesContainerRef: PropTypes.object,\n survey: PropTypes.object,\n finalTest: PropTypes.object\n};\n\n// MobileSupplementaries.defaultProps = {\n// singleBook: {},\n// sendBookMarksToParent: () => {},\n// isBookSubscribed: false\n// };\n\nexport default MobileSupplementaries;\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useDispatch, useSelector } from \"react-redux\";\n\nimport { Typography } from \"@mui/material\";\nimport Button from \"../../../components/Button\";\nimport styles from \"./SurveyBody.module.scss\";\nimport {\n axiosInstance,\n customer_portal,\n author_portal\n} from \"../../../network/apis\";\nimport _ from \"lodash\";\nimport { getSingleBookAction } from \"../../../store/Books/actions\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom\";\nexport function SurveyBody({\n survey,\n getSurveyData,\n closeSurveyModal,\n singleBook,\n setOpenCertificateModal,\n lastPage,\n finalTest,\n id\n}) {\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const [answers, setAnswers] = useState([]);\n const [disabledSurvey, setdisabledSurvey] = useState(false);\n const dispatch = useDispatch();\n let answerArr = [];\n\n const typesOfQuestions = survey?.survey_questions?.map(\n (question) => question?.question_type\n );\n\n const submitAnAnswer = async () => {\n let payload = {\n survey_id: survey.id,\n answers\n };\n setdisabledSurvey(true);\n try {\n await axiosInstance.post(\n `${\n isAuthor ? author_portal : customer_portal\n }/survey_answers`,\n payload\n );\n await getSurveyData();\n dispatch(getSingleBookAction(id));\n if (\n singleBook.certificate &&\n finalTest.finalTest?.user_answers?.score >= 70\n )\n setOpenCertificateModal(true);\n } catch (error) {\n console.error(error);\n }\n };\n\n const answerOpenEndQuestion = (questionId, text) => {\n if (answers.find((el) => el.survey_question_id === questionId)) {\n answerArr = answers.map((el) => {\n if (el.survey_question_id === questionId) {\n return {\n survey_question_id: questionId,\n open_ended_answer: text\n };\n } else {\n return el;\n }\n });\n setAnswers([...answerArr]);\n } else {\n setAnswers([\n ...answers,\n {\n survey_question_id: questionId,\n open_ended_answer: text\n }\n ]);\n }\n };\n\n const answerRatingQuestion = (e, questionId) => {\n if (answers.find((el) => el.survey_question_id === questionId)) {\n answerArr = answers.map((el) => {\n if (el.survey_question_id === questionId) {\n return {\n survey_question_id: questionId,\n rating: e.target.value\n };\n } else {\n return el;\n }\n });\n setAnswers([...answerArr]);\n } else {\n setAnswers([\n ...answers,\n {\n survey_question_id: questionId,\n rating: e.target.value\n }\n ]);\n }\n };\n\n const answerMCQQuestion = (questionId, answerId, type) => {\n if (answers.find((el) => el.survey_question_id === questionId)) {\n answerArr = answers.map((el) => {\n if (el.survey_question_id === questionId) {\n return {\n survey_question_id: questionId,\n survey_question_answer_choice_ids:\n el.survey_question_answer_choice_ids.find(\n (el) => el === answerId\n )\n ? [\n ...el.survey_question_answer_choice_ids.filter(\n (el) => el !== answerId\n )\n ]\n : type === \"single\"\n ? [answerId]\n : [...el.survey_question_answer_choice_ids, answerId]\n };\n } else {\n return el;\n }\n });\n setAnswers([...answerArr]);\n } else {\n setAnswers([\n ...answers,\n {\n survey_question_id: questionId,\n survey_question_answer_choice_ids: [answerId]\n }\n ]);\n }\n };\n\n const updateOpenEndedAnswer = (e, questionId) => {\n answerOpenEndQuestion(questionId, e.target.value);\n };\n\n let OpenEnded = \"Open Ended \";\n return (\n
\n \n {survey.title}\n \n

\n This Survey contains {_.uniq(typesOfQuestions)?.length} types\n of questions:\n {Array.from(new Set(typesOfQuestions)).map((el, index) => {\n el = el === \"OpenEnded\" ? OpenEnded : el;\n return index === 0 ? \" \" + el : \" - \" + el;\n })}\n

\n
\n Please honestly answer the survey question to complete the\n book\n
\n {survey.survey_questions\n .sort((q) => q.question_type)\n .map((question, questionId) => (\n
\n
\n

Q{questionId + 1}-

\n

{question.question}

\n
\n
\n {question.question_type === \"MCQ\" &&\n question.is_mcq_single_choice === false &&\n question.survey_question_answer_choices.map(\n ({ answer_choice, id: answerId }) => (\n \n {\n answerMCQQuestion(\n question.id,\n answerId,\n \"multiple\"\n );\n }}\n />\n \n {answer_choice}\n \n \n )\n )}\n {question.question_type === \"MCQ\" &&\n question.is_mcq_single_choice &&\n question.survey_question_answer_choices.map(\n ({ answer_choice, id: answerId }) => (\n \n {\n answerMCQQuestion(\n question.id,\n answerId,\n \"single\"\n );\n }}\n />\n \n {answer_choice}\n \n \n )\n )}\n
\n\n \n {question.question_type === \"Rating\" && (\n <>\n {question.survey_question_answer_choices.map(\n ({ id, answer_choice }, i) => {\n return (\n \n \n {answer_choice.replace(\"_\", \" \")}\n
\n {`(${\n question.survey_question_answer_choices\n .length - i\n })`}\n \n {\n answerRatingQuestion(e, question.id);\n }}\n />\n
\n );\n }\n )}\n \n )}\n
\n\n {question.question_type === \"OpenEnded\" && (\n \n {\n updateOpenEndedAnswer(e, question.id, questionId);\n }}\n />\n \n )}\n \n ))}\n\n {(survey?.survey_questions\n ?.map((x) => x?.user_answer)\n .every((q) => !!q) ||\n (answers.length === survey?.survey_questions?.length &&\n !answers.find(\n (el) =>\n el?.survey_question_answer_choice_ids?.length === 0\n ) &&\n !answers.find((el) => el?.open_ended_answer === \"\"))) && (\n
\n {\n closeSurveyModal();\n\n submitAnAnswer();\n }}\n >\n
\n )}\n \n );\n}\n\nSurveyBody.propTypes = {\n survey: PropTypes.object,\n getSurveyData: PropTypes.func,\n closeSurveyModal: PropTypes.func,\n singleBook: PropTypes.object,\n setOpenCertificateModal: PropTypes.func,\n lastPage: PropTypes.any,\n finalTest: PropTypes.object,\n id: PropTypes.any\n};\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { useSelector, useDispatch } from \"react-redux\";\nimport { useIntl } from \"react-intl\";\nimport { Typography } from \"@mui/material\";\n\nimport { CircularProgressbar } from \"react-circular-progressbar\";\nimport \"react-circular-progressbar/dist/styles.css\";\nimport CloseButtonIcon from \"../../../../assets/svgs/close-button-icon\";\n\nimport {\n getBookSingleTestRequest,\n answerBookSingleTestRequest,\n updateBookTestsStatus,\n removeUpdateBookTestsStatus\n} from \"../../../../store/Books/actions\";\nimport Group from \"../../../../assets/svgs/Group.svg\";\nimport Button from \"../../../../components/Button\";\nimport \"./Test.scss\";\nimport { KEEP_LINE_SPACES } from \"../../../../utils/Patterns\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom\";\n\nexport default function Test({\n testAllAnwsered,\n closeTestModal,\n bookTest,\n testType,\n setImageModal,\n markTestAsSolved,\n setSectionScorePopUp\n}) {\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const isProgram = pathname.includes(\"program\");\n\n const { messages } = useIntl();\n const {\n test: {\n title,\n rightAnswer,\n success,\n failed,\n wrongAnswer,\n score,\n explanation,\n answeredTest,\n viewTest,\n notedescription,\n note,\n mark,\n sectionscore,\n advice,\n testReport\n },\n buttons: { submit, ok }\n } = messages;\n\n const dispatch = useDispatch();\n\n const bookSingleTest = useSelector(\n (state) => state.books.bookSingleTest\n );\n // const bookSingleTestCanceled = useSelector(\n // (state) => state.books.bookSingleTestCanceled\n // );\n\n const [testTypeQuestion, setTestTypeQuestion] = useState(\"pre_\");\n\n const [testQuestionAnwseredView, setTestQuestionAnwseredView] =\n useState(null);\n\n const [scoreView, setScoreView] = useState(false);\n\n useEffect(async () => {\n testType === 0\n ? setTestTypeQuestion(\"pre_\")\n : setTestTypeQuestion(\"post_\");\n\n testAllAnwsered\n ? setTestQuestionAnwseredView(true)\n : setTestQuestionAnwseredView(false);\n if (bookTest?.id) {\n await dispatch(\n getBookSingleTestRequest({\n id: bookTest.id,\n isAuthor,\n isProgram\n })\n );\n }\n }, [bookTest, testType, testAllAnwsered]);\n\n const getTotalScore = () => {\n const score = bookSingleTest\n ? bookSingleTest[`${testTypeQuestion}test_points`]\n : 0;\n return score ? score : 0;\n };\n\n const submitAnAnswer = async (questionId, answer) => {\n const payload = {\n test_question_id: questionId,\n test_answer_choice_id: answer,\n test_type: testType\n };\n try {\n await dispatch(answerBookSingleTestRequest(payload));\n } catch (err) {\n console.error(err);\n }\n };\n\n const setImageModalToBook = (img) => {\n setImageModal({ src: img.src, title: img.title });\n };\n\n const setSectionScorePopUpToBook = () => {\n setSectionScorePopUp();\n };\n return (\n <>\n 0 &&\n testType === 1\n ? \"relative bg-modal-image\"\n : \"relative\"\n }\n >\n {\n closeTestModal();\n }}\n className=\"cursor-pointer d-flex justify-content-end\"\n >\n \n \n {testQuestionAnwseredView ? (\n <>\n \n {bookSingleTest?.title} {title} {answeredTest}\n \n <>\n
\n {50 <\n (getTotalScore() / bookSingleTest?.total_points) *\n 100 ? (\n

\n {success}\n

\n ) : (\n

{failed}

\n )}\n
\n \n
\n
\n
\n
\n {\n dispatch(\n updateBookTestsStatus({\n id: bookSingleTest.id,\n type: testType\n })\n );\n\n setTestQuestionAnwseredView(false);\n }}\n />\n
\n
\n {\n closeTestModal();\n // if (testType === 1)\n // dispatch(\n // updateBookTestsStatus({\n // id: bookSingleTest.id,\n // type: testType\n // })\n // );\n }}\n />\n
\n
\n \n \n ) : (\n <>\n {scoreView ? (\n <>\n <>\n \n {bookSingleTest?.title} {title}\n \n <>\n
\n {50 <\n (getTotalScore() /\n bookSingleTest?.total_points) *\n 100 ? (\n

\n {success}\n

\n ) : (\n

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

\n )}\n
\n \n
\n
\n \n\n
\n
\n {\n if (testType === 1)\n dispatch(\n updateBookTestsStatus({\n id: bookSingleTest.id,\n type: testType\n })\n );\n closeTestModal(testType);\n }}\n />\n
\n
\n\n {bookSingleTest?.sections_results.length > 0 &&\n testType === 1 && (\n <>\n \n {testReport}\n {\" \"}\n
\n \n \n \n \n \n \n\n {bookSingleTest?.sections_results?.map(\n (row, i) => (\n <>\n \n \n\n \n \n \n \n )\n )}\n
{mark}{sectionscore}{advice}
{row.name} {row.percentage} {row.message}
\n
{\" \"}\n \n )}\n \n \n ) : (\n <>\n \n {bookSingleTest?.title} {title}\n \n {testType === 1 && (\n
\n {score}: {getTotalScore()}/\n {bookSingleTest?.total_points}\n
\n )}\n {bookSingleTest?.test_questions?.find(\n (qs) =>\n !!qs?.image_url ||\n qs?.test_answer_choices?.some(\n (ans) => ans.image_url\n )\n ) && (\n
\n {note} \n {notedescription}\n
\n )}\n
\n \"\n )\n }}\n >\n
\n {bookSingleTest && (\n <>\n {bookSingleTest?.test_questions?.map(\n (question, questionId) => (\n
\n
\n
\n

\n Q{questionId + 1}-\n

\n\n

\n {question.question}\n

\n
\n\n {question.image_url && (\n \n setImageModalToBook({\n src: question.image_url,\n title: `Q${questionId + 1}-${\n question.question\n }`\n })\n }\n >\n \n
\n
\n \n
\n
\n
\n )}\n
\n
\n
    \n {question?.test_answer_choices?.map(\n (\n {\n answer,\n id: answerId,\n image_url,\n correct\n },\n index\n ) => (\n
  1. \n
    \n
    \n \n {\n submitAnAnswer(\n question.id,\n answerId\n );\n if (\n testType === 0 &&\n !bookSingleTest.is_mandatory\n )\n dispatch(\n updateBookTestsStatus(\n {\n id: bookSingleTest.id,\n type: testType\n }\n )\n );\n }}\n />\n {image_url && (\n \n setImageModalToBook({\n src: image_url,\n title: `${\n index + 1\n }-${answer}`\n })\n }\n >\n \n
    \n
    \n \n
    \n
    \n
    \n )}\n \n {answer}\n \n \n
    \n
    \n {question[\n `${testTypeQuestion}test_user_answer`\n ] && (\n <>\n {question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct &&\n question[\n `${testTypeQuestion}test_user_answer`\n ]\n ?.test_answer_choice_id ===\n answerId &&\n testType === 1 && (\n
    \n {rightAnswer}\n
    \n )}\n {question[\n `${testTypeQuestion}test_user_answer`\n ]\n ?.test_answer_choice_id ===\n answerId &&\n question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct === false &&\n testType === 1 ? (\n
    \n {wrongAnswer}\n
    \n ) : (\n question[\n `${testTypeQuestion}test_user_answer`\n ]?.correct === false &&\n correct &&\n testType === 1 && (\n
    \n {rightAnswer}\n
    \n )\n )}\n \n )}\n
    \n
\n \n )\n )}\n \n {!!question[\n `${testTypeQuestion}test_user_answer`\n ] &&\n !!question?.justification &&\n testType === 1 && (\n
\n {explanation} :\n {question?.justification}\n {question?.justification_image_url && (\n
\n \n
\n )}\n
\n )}\n \n \n )\n )}\n\n {bookSingleTest?.test_questions.every(\n (question) =>\n question?.[\n `${testTypeQuestion}test_user_answer`\n ]\n ) && (\n
\n {\n markTestAsSolved(bookSingleTest.id);\n if (testType === 0) {\n dispatch(\n removeUpdateBookTestsStatus({\n id: bookTest?.id,\n type: 0\n })\n );\n setSectionScorePopUpToBook();\n }\n if (testType === 1)\n dispatch(\n updateBookTestsStatus({\n id: bookSingleTest.id,\n type: testType\n })\n );\n\n if (testAllAnwsered) {\n closeTestModal(testType);\n }\n if (!testAllAnwsered) {\n setScoreView(true);\n }\n }}\n />\n
\n )}\n \n )}\n \n )}\n \n )}\n \n \n );\n}\n\nTest.propTypes = {\n closeTestModal: PropTypes.func,\n markTestAsSolved: PropTypes.func,\n bookTest: PropTypes.object,\n testAllAnwsered: PropTypes.boolean,\n testType: PropTypes.number,\n setImageModal: PropTypes.func,\n setSectionScorePopUp: PropTypes.func\n};\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nconst VideoIcon = ({ IsIconActive, onClick }) => {\n return (\n
\n {!IsIconActive ? (\n \n \n \n \n \n \n \n ) : (\n \n \n \n \n )}\n
\n );\n};\nVideoIcon.propTypes = {\n IsIconActive: PropTypes.bool,\n onClick: PropTypes.func\n};\nexport default React.memo(VideoIcon);\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nfunction TestIconBookView({ IsIconActive, onClick }) {\n return (\n
\n {!IsIconActive ? (\n \n \n \n \n \n \n \n ) : (\n \n \n \n \n \n )}\n
\n );\n}\nTestIconBookView.propTypes = {\n IsIconActive: PropTypes.bool,\n onClick: PropTypes.func\n};\nexport default TestIconBookView;\n","export default __webpack_public_path__ + \"static/media/QuiziconBW.17482442.svg\";","export default __webpack_public_path__ + \"static/media/TesticonBW.b4d05676.svg\";","import { faAngleDown } from \"@fortawesome/free-solid-svg-icons\";\nimport { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\nimport PropTypes from \"prop-types\";\nimport React, { useEffect, useMemo, useState } from \"react\";\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\nimport Collapse from \"react-bootstrap/Collapse\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useHistory, useParams } from \"react-router\";\nimport { Link, useLocation } from \"react-router-dom\";\nimport completedIcon from \"../../../assets/svgs/CompletedIcon.svg\";\nimport quiziconBW from \"../../../assets/svgs/QuiziconBW.svg\";\nimport testiconBW from \"../../../assets/svgs/TesticonBW.svg\";\nimport Button from \"../../../components/Button\";\nimport {\n author_portal,\n axiosInstance,\n customer_portal,\n editor_portal,\n program_director_portal\n} from \"../../../network/apis\";\nimport {\n getBookQuizzes,\n getBookTestsRequest,\n getSingleBookAction,\n getSingleBookSupplementariesAction\n} from \"../../../store/Books/actions\";\nimport { getFinalTestRequest } from \"../../../store/FinalTest/actions\";\nimport { showHideSnackbar } from \"../../../store/Snackbar/actions\";\nimport {\n FinalTestMode,\n FinalTestWrapperViewMode\n} from \"../../../utils/Constants\";\nimport { ROUTE_PATHS } from \"../../../utils/PathsNames\";\nimport styles from \"../AllBookSupplementaries/bookSupplementaries.module.scss\";\n\nfunction AllBookTestsComponent() {\n const { messages } = useIntl();\n const { pathname } = useLocation();\n const isProgram = pathname.includes(\"program\");\n const isAuthor = pathname.includes(\"author\");\n const isEditor = pathname.includes(\"editor\");\n const {\n books: { lectures, tests },\n test: {\n pretestnotsolved,\n pretest,\n posttest,\n finaltest,\n FinalTestNotFound\n }\n } = messages;\n const { id } = useParams();\n const [subscribed, setSubscribed] = useState(null);\n const login = useSelector((state) => state.auth.login);\n const { singleBook } = useSelector((state) => state.books);\n const dispatch = useDispatch();\n const history = useHistory();\n const finalTest = useSelector(\n (state) => state.FinalTestReducer.finalTest\n );\n\n const {\n books: { singleBookTests, singleBookQuizzes }\n } = useSelector((state) => state);\n\n useEffect(() => {\n dispatch(getSingleBookSupplementariesAction({ book_id: id }));\n dispatch(getBookTestsRequest({ book_id: id }));\n dispatch(getBookQuizzes({ book_id: id, page: -1 }));\n }, [id]);\n\n useEffect(() => {\n dispatch(getSingleBookAction(id));\n if (singleBook?.id) {\n setSubscribed(\n Boolean(\n login?.institution_subscription?.id ||\n login?.is_beta ||\n singleBook?.is_subscribed\n )\n );\n }\n }, [singleBook?.id]);\n\n useEffect(() => {\n if (subscribed) {\n let portal = customer_portal;\n if (isProgram) portal = program_director_portal;\n if (isAuthor) portal = author_portal;\n if (isEditor) portal = editor_portal;\n\n dispatch(getFinalTestRequest({ portal, book_id: id }));\n }\n }, [id, subscribed]);\n\n const [open, setOpen] = useState([]);\n const handleToggle = (index) => {\n setOpen((prevOpen) => {\n const newOpen = [...prevOpen];\n if (newOpen[index] === undefined) newOpen[index] = true;\n else newOpen[index] = !newOpen[index];\n return newOpen;\n });\n };\n\n const sortedTests = useMemo(\n () => singleBookTests.sort((a, b) => a.pre_page - b.pre_page),\n [singleBookTests]\n );\n const chapterQuizzes = useMemo(() => {\n return sortedTests.map((test) =>\n singleBookQuizzes.filter(\n (quiz) =>\n quiz.book_page >= test.pre_page &&\n quiz.book_page <= test.post_page\n )\n );\n }, [sortedTests, singleBookQuizzes]);\n\n const [testResults, setTestsResults] = useState([]);\n const [quizResults, setQuizResults] = useState([]);\n useEffect(() => {\n let isMounted = true;\n\n const fetchURL = (url) =>\n axiosInstance.get(\n `${\n isAuthor\n ? author_portal\n : isProgram\n ? program_director_portal\n : customer_portal\n }/${url}`\n );\n\n const fetchTests = async () => {\n try {\n const promiseArray = sortedTests\n .map((test) => `tests/${test.id}`)\n .map(fetchURL);\n\n const promiseResult = await Promise.all(promiseArray);\n\n if (isMounted) {\n setTestsResults(\n promiseResult.map((test) => {\n const thisTest = test.data.test;\n return {\n ...thisTest,\n isPreTestSolved: thisTest?.test_questions?.every(\n (question) => !!question[`pre_test_user_answer`]\n ),\n isPostTestSolved: thisTest?.test_questions?.every(\n (question) => !!question[`post_test_user_answer`]\n )\n };\n })\n );\n }\n } catch (error) {\n // Handle errors here\n console.error(error);\n }\n };\n\n const fetchQuizzes = async () => {\n try {\n const promiseArrayQuiz = chapterQuizzes.map((test) =>\n test\n .map(\n (quiz) =>\n `/quizzes/${quiz.quiz_id}?book_id=${id}&book_page=${quiz.book_page}`\n )\n .map(fetchURL)\n );\n\n const nestedPromiseResult = await Promise.all(\n promiseArrayQuiz.map((promiseArray) =>\n Promise.all(promiseArray)\n )\n );\n\n if (isMounted) {\n setQuizResults(\n nestedPromiseResult.map((test) =>\n test.map((quiz) => {\n const thisQuiz = quiz.data.quiz;\n return {\n ...thisQuiz,\n isQuizSolved: thisQuiz?.questions?.every(\n (question) => !!question[`user_answer`]\n )\n };\n })\n )\n );\n }\n } catch (error) {\n // Handle errors here\n console.error(error);\n }\n };\n // let a = \"a\";\n const fetchData = async () => {\n fetchTests();\n fetchQuizzes();\n };\n if (subscribed) fetchData();\n\n return () => {\n isMounted = false;\n };\n }, [sortedTests, singleBookQuizzes]);\n const goToFinalTestOrScoreView = () => {\n if (isProgram) {\n history.push(\n `${ROUTE_PATHS.programsFinalTest}/${FinalTestWrapperViewMode.ViewTest}/${id}/${FinalTestMode.Take}`\n );\n return;\n } else if (isAuthor) {\n history.push(\n `${ROUTE_PATHS.authorsFinalTest}/${FinalTestWrapperViewMode.ViewTest}/${id}/${FinalTestMode.Take}`\n );\n return;\n }\n ///////// STUDENT TEST //////////////\n if (finalTest?.user_answers?.answers?.length > 0) {\n history.push(\n `${ROUTE_PATHS.FinalTest}/${FinalTestWrapperViewMode.ViewScore}/${id}`\n );\n } else if (finalTest?.details?.questions?.length > 0) {\n history.push(\n `${ROUTE_PATHS.FinalTest}/${FinalTestWrapperViewMode.ViewTest}/${id}/${FinalTestMode.Take}`\n );\n } else {\n dispatch(\n showHideSnackbar({\n isOpen: true,\n type: \"error\",\n message: FinalTestNotFound\n })\n );\n }\n };\n\n const RenderTooltip = ({ children }) => (\n {pretestnotsolved}}>\n {children}\n \n );\n //renderTestSpan not understand the porpose of the component\n const renderTestSpan = (index, sortedTests, test, testResults) => (\n \n {subscribed ? (\n \n {testResults[index]?.isPostTestSolved ? (\n \n ) : (\n \n )}\n\n {`${sortedTests[index].title} ${posttest}`}\n \n ) : (\n \n \n {`${sortedTests[index].title} ${posttest}`}\n \n )}\n \n );\n\n RenderTooltip.propTypes = {\n children: PropTypes.any\n };\n const isPathAtBookView = pathname.includes(\"book-view\");\n return (\n 7 && isPathAtBookView\n ? \"600px\"\n : \"100%\"\n }}\n className={`${\n isPathAtBookView\n ? styles.AllBookTestsContainerDivBookView\n : \"\"\n } ${styles.thinScrollBarContainerDiv}`}\n >\n {sortedTests?.map((test, index) => (\n
\n \n {test.pre_page} - {test.post_page}\n
\n \n
\n
\n {`Chapter ${\n index + 1\n } : ${test.title}`}\n
\n
\n \n \n {chapterQuizzes[index].length}\n {chapterQuizzes[index].length >= 1\n ? \" Quizzes\"\n : \" Quiz\"}\n \n \n Test\n {\n handleToggle(index);\n }}\n >\n \n
\n
\n \n \n \n {\n \n \n {subscribed ? (\n \n {testResults[index]?.isPreTestSolved ? (\n \n ) : (\n \n )}\n\n {`${sortedTests[index].title} ${pretest}`}\n \n ) : (\n \n \n {`${sortedTests[index].title} ${pretest}`}\n \n )}\n \n \n }\n {chapterQuizzes[index]?.length ||\n sortedTests[index]?.length ? (\n <>\n {chapterQuizzes[index].map((test, i) => (\n \n \n {subscribed ? (\n \n {quizResults[index]?.[i]\n ?.isQuizSolved ? (\n \n ) : (\n \n )}\n\n {test.quiz_title}\n \n ) : (\n \n \n {test.quiz_title}\n \n )}\n \n \n ))}\n {\n \n {!testResults[index]?.isPreTestSolved ? (\n \n {renderTestSpan(\n index,\n sortedTests,\n test,\n testResults\n )}\n \n ) : (\n renderTestSpan(\n index,\n sortedTests,\n test,\n testResults\n )\n )}\n \n }\n \n ) : (\n

\n No Book Supplementaries are added yet\n

\n )}\n \n
\n \n \n ))}\n
\n \n
\n \n );\n}\n\nexport default AllBookTestsComponent;\n","export default __webpack_public_path__ + \"static/media/arrowBackBookViewMobile.aa4fd1b8.svg\";","import React, { useEffect } from \"react\";\nimport CloseIcon from \"../../assets/svgs/close-icon\";\nimport PropTypes from \"prop-types\";\nimport styles from \"./MobileDrawerBookView.module.scss\";\nimport arrowBackBookViewMobile from \"../../assets/svgs/arrowBackBookViewMobile.svg\";\nfunction MobileDrawerBookView({\n children,\n onClickClose,\n openModal,\n title\n}) {\n useEffect(() => {\n if (!openModal) return;\n\n const handleClickOutside = (event) => {\n if (\n event.target.tagName.toLowerCase() === \"img\" ||\n event.target?.parentElement?.classList?.contains(\"notes\") ||\n event.target?.parentElement?.parentElement?.classList?.contains(\n \"notes\"\n )\n ) {\n onClickClose();\n }\n };\n\n document.addEventListener(\"click\", handleClickOutside);\n\n return () => {\n document.removeEventListener(\"click\", handleClickOutside);\n };\n }, [openModal, onClickClose]);\n\n return (\n \n
\n \n \n {title}\n

\n \n {title === \"Book\" ? (\n <>\n \n \n \n \n\n \n Thumbnails\n \n \n \n \n \n \n \n Chapter Index\n \n \n \n ) : (\n <>\n )}\n
\n \n
{children}
\n \n );\n}\n\nMobileDrawerBookView.propTypes = {\n children: PropTypes.node,\n onClickClose: PropTypes.func,\n openModal: PropTypes.bool,\n title: PropTypes.string\n};\n\nexport default MobileDrawerBookView;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nfunction NoteIconBookView({ IsIconActive, onClick, id }) {\n return (\n
\n {!IsIconActive ? (\n \n \n \n \n \n \n \n ) : (\n \n \n \n )}\n
\n );\n}\nNoteIconBookView.propTypes = {\n IsIconActive: PropTypes.bool,\n onClick: PropTypes.func,\n id: PropTypes.string\n};\nexport default NoteIconBookView;\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nfunction ListIconsBookView({ IsIconActive, onClick }) {\n return (\n
\n {!IsIconActive ? (\n \n \n \n ) : (\n \n \n \n )}\n
\n );\n}\nListIconsBookView.propTypes = {\n IsIconActive: PropTypes.bool,\n onClick: PropTypes.func\n};\nexport default ListIconsBookView;\n","import { getSupplementaryTypeLabel } from \"../../utils/Helpers\";\nimport MaterialPreview from \"../MaterialPreview\";\nimport FinalTestPreview from \"../MaterialPreview/FinalTestPreview\";\nimport QuizPreview from \"../MaterialPreview/QuizPreview\";\nimport SurveyPreview from \"../MaterialPreview/SurveyPreview\";\nimport TestPreview from \"../MaterialPreview/TestPreview\";\nimport styles from \"./SectionSupplementaries.module.scss\";\nfunction Supplementaries(\n pageSupplementaries,\n singleBookSupplementaries,\n singleBookQuizzes,\n singleBookTests,\n testAllAnwsered,\n testType,\n setImageModalFromTest,\n bookSingleTestCanceled,\n currentPage,\n isBookSubscribed,\n singleBook,\n markTestAsSolved,\n supplementariesContainerRef,\n survey,\n finalTest\n) {\n return (\n e.preventDefault()}\n >\n
\n {pageSupplementaries}\n
\n \n {/* Supplementary video demo view for unsubscriber user */}\n {!singleBookSupplementaries.filter(\n (sub) => sub.book_page === 1\n )?.length &&\n currentPage === 1 &&\n !isBookSubscribed() && (\n
\n \n
\n )}\n {isBookSubscribed() &&\n singleBookSupplementaries\n .find((supplementary) => {\n return supplementary.book_page === currentPage;\n })\n ?.supplementary_materials?.map(\n (singleSupplementary, index) => (\n \n \n \n )\n )}\n {isBookSubscribed() &&\n singleBookQuizzes?.map((quiz, index) => {\n if (quiz.book_page === currentPage) {\n return (\n \n \n \n );\n } else {\n return \"\";\n }\n })}\n {singleBookTests?.map((test, index) => {\n // if (bookSingleTestCanceled[test?.id]) {\n const type = test.pre_page === currentPage ? 0 : 1;\n if (\n (test.pre_page === currentPage ||\n test.post_page === currentPage) &&\n // bookSingleTestCanceled[test?.id][type] &&\n (type === 1 || !test.isPreTestSolved) &&\n (!test?.title.toLowerCase().includes(\"final test\") ||\n type == 1)\n ) {\n return (\n \n \n \n );\n }\n })}\n {!singleBook?.book_progress?.is_survey_solved &&\n survey &&\n currentPage == singleBook?.number_of_pages && (\n
\n \n
\n )}\n {isBookSubscribed() &&\n finalTest?.details?.questions?.length > 0 &&\n currentPage == singleBook?.number_of_pages && (\n
\n \n
\n )}\n \n \n );\n}\n\nexport default Supplementaries;\n","import { Box, Modal, Typography } from \"@mui/material\";\nimport moment from \"moment\";\nimport React, { useEffect, useRef, useState } from \"react\";\nimport Lightbox from \"react-image-lightbox\";\nimport \"react-image-lightbox/style.css\";\nimport { useIntl } from \"react-intl\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useMediaQuery } from \"react-responsive\";\nimport { useParams } from \"react-router-dom\";\nimport { useLocation } from \"react-router-dom/cjs/react-router-dom.min\";\nimport CertificateMedblend from \"../../../assets/images/Medblendcertificate1.svg\";\nimport CertificateCME from \"../../../assets/images/Certificate-CME.svg\";\nimport BookIcon from \"../../../assets/svgs/carbon_book.svg\";\nimport LockIcon from \"../../../assets/svgs/lock\";\nimport CourseQuizezIcon from \"../../../assets/svgs/QuiziconOneColor.svg\";\nimport CourseVidsIcon from \"../../../assets/svgs/VideoiconOneColor.svg\";\nimport Button from \"../../../components/Button\";\nimport LinearProgressWithPagesLeft from \"../../../components/LinearProgress\";\nimport FinalTestModal from \"../../../components/MaterialPreview/FinalTestPreview/FinalTestModal\";\nimport MaterialModal from \"../../../components/MaterialPreview/MaterialModal\";\nimport TestModal from \"../../../components/MaterialPreview/TestPreview/TestModal\";\nimport ModalComponent from \"../../../components/Modal\";\nimport BookChapters from \"../../../components/PDFViewer/BookChapters\";\nimport useWindowSize from \"../../../hooks/useWindowSize\";\nimport {\n author_portal,\n axiosInstance,\n customer_portal,\n editor_portal,\n program_director_portal\n} from \"../../../network/apis\";\nimport { userDetails } from \"../../../store/Auth/actions\";\nimport {\n createBookTestsStatus,\n getAuthorSingleBookAction,\n getBookQuizzes,\n getBookTestsRequest,\n getDirectorSingleBookAction,\n getEditorSingleBookAction,\n getSingleBookAction,\n getSingleBookSupplementariesAction,\n getSingleCertificateRequest,\n setSingleBookAction,\n updateBookTestsStatus\n} from \"../../../store/Books/actions\";\nimport { getFinalTestRequest } from \"../../../store/FinalTest/actions\";\nimport {\n SET_OPEN_FINAL_TEST_MODAL,\n SET_OPEN_SURVEY\n} from \"../../../store/Utilities/types\";\nimport Auth from \"../../../utils/Auth\";\nimport { ROUTE_PATHS } from \"../../../utils/PathsNames\";\nimport Footer from \"../../Footer\";\nimport BookSubscriptionModal from \"../BookSubscribtion/BooksSubscribtionModal/BookSubscribtionModal\";\nimport BookInfo from \"./BookInfo\";\nimport BookPdfViewer from \"./BookPdfViewer\";\nimport \"./BookViewer.scss\";\nimport { boxStyle } from \"./boxStyle\";\nimport MobileSupplementaries from \"../../../components/SupplementaySection/MobileSupplementaries\";\nimport { SurveyBody } from \"./SurveyBody\";\nimport Test from \"./Test\";\nimport { jsPDF } from \"jspdf\";\nimport AllBookVideosComponent from \"../AllBookVideos/AllBookVideosComponent\";\nimport VideoIcon from \"../../../assets/svgs/VideoIcon\";\nimport TestIconBookView from \"../../../assets/svgs/TestIconBookView\";\nimport AllBookTestsComponent from \"../AllBookTests/AllBookTestsComponent\";\nimport MobileDrawerBookView from \"../../../components/MobileDrawer/MobileDrawerBookView\";\nimport NoteIconBookView from \"../../../assets/svgs/NoteIconBookView\";\nimport ListIconsBookView from \"../../../assets/svgs/ListIconsBookView\";\nimport Supplementaries from \"../../../components/SupplementaySection/Supplementaries\";\n\nconst BookViewer = () => {\n const { pathname } = useLocation();\n const isAuthor = pathname.includes(\"author\");\n const isEditor = pathname.includes(\"editor\");\n const isProgram = pathname.includes(\"program\");\n const singleCertificate = useSelector(\n (state) => state.books.singleCertificate\n );\n\n const dispatch = useDispatch();\n const currentUser = useSelector((state) => state.auth.login);\n const isSmallScreen = useMediaQuery({ maxWidth: 768 });\n\n useEffect(() => {\n if (\n !(isAuthor || isEditor || isProgram) &&\n currentUser?.auth_token\n ) {\n dispatch(userDetails());\n }\n }, []);\n\n const [openMobileModal, setMobileModalOpened] = useState({\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n });\n //\n const [sectionScoredAlert, setSectionScoredAlert] = useState(false);\n const [sectionPreScoredPages, setSectionPreScoredPages] = useState(\n []\n );\n\n const [testResults, setTestsResults] = useState([]);\n const canvasRef = useRef(null);\n const [canvasDivRef, setCanvasDivRef] = useState(null);\n const handleCloseCertificate = () => {\n setOpenCertificateModal(false);\n setCanvasDivRef(null);\n };\n\n let { id } = useParams();\n const { messages } = useIntl();\n const {\n test: { pretest, posttest, finaltest },\n books: {\n // chaptersIndex,\n // showYourProgress,\n // viewAllBookSupplementaries,\n // viewAllBookVideos,\n lectures,\n tests,\n ViewCertificate,\n pageSupplementaries,\n oldVersion,\n availableHint,\n scoreNote\n },\n buttons: { enroll }\n } = messages;\n\n const {\n singleBook,\n singleBookSupplementaries,\n singleBookQuizzes,\n singleBookTests,\n bookSingleTestCanceled\n } = useSelector((state) => state.books);\n\n const { width } = useWindowSize();\n\n const [currentPage, setCurrentPage] = useState(0);\n\n useEffect(() => {\n let portal = customer_portal;\n if (isProgram) {\n portal = program_director_portal;\n }\n if (isAuthor) {\n portal = author_portal;\n }\n if (isEditor) {\n portal = editor_portal;\n }\n dispatch(getFinalTestRequest({ portal, book_id: id }));\n }, []);\n const finalTest = useSelector(\n (state) => state.FinalTestReducer.finalTest\n );\n // what is a modal and for what\n const [open, setOpen] = useState(false);\n const handleOpen = () => setOpen(true);\n const handleClose = () => setOpen(false);\n const [pdfViewer, setPdfViewer] = useState(null);\n const [outline, setOutline] = useState(null);\n const [survey, setSurvey] = useState(null);\n const [bookTest, setbookTest] = useState(null);\n const [testType, setTestType] = useState(0);\n const [testTypeMandatory, setTestTypeMandatory] = useState(false);\n const [openTestModal, setOpenTestModal] = useState(false);\n const [testAllAnwsered, setTestAllAnwsered] = useState(null);\n const [subscriptionModal, setSubscriptionModal] = useState(false);\n\n const [pagesNumber, setPagesNumber] = useState(0);\n const [ImageModalTest, setImageModalTest] = useState({\n src: \"\",\n title: \"\"\n });\n\n const [openCertificateModal, setOpenCertificateModal] =\n useState(false);\n\n const closeTestModal = () => {\n setOpenTestModal(false);\n\n if (!bookTest?.is_mandatory && testType === 1) {\n dispatch(\n updateBookTestsStatus({\n id: bookTest?.id,\n type: currentPage === bookTest.pre_page ? 0 : 1\n })\n );\n }\n };\n\n const isBookSubscribed = () => {\n if (Auth.getAuth() && (isAuthor || isEditor || isProgram))\n return true;\n return (\n singleBook?.is_subscribed ||\n currentUser?.institution_subscription?.id ||\n currentUser?.is_beta\n );\n };\n const handleBookMarks = (pdfViewerOutline, outline) => {\n setPdfViewer(pdfViewerOutline);\n setOutline(outline);\n };\n\n useEffect(() => {\n if (id) {\n if (isAuthor) {\n dispatch(getAuthorSingleBookAction(id));\n dispatch(\n getSingleBookSupplementariesAction({\n book_id: id,\n isAuthor\n })\n );\n dispatch(getBookQuizzes({ book_id: id, page: -1, isAuthor }));\n if (currentUser?.auth_token) {\n dispatch(getBookTestsRequest({ book_id: id, isAuthor }));\n }\n } else if (isEditor) {\n dispatch(getEditorSingleBookAction(id));\n } else if (isProgram) {\n dispatch(getDirectorSingleBookAction(id));\n dispatch(\n getSingleBookSupplementariesAction({\n book_id: id,\n isProgram\n })\n );\n dispatch(\n getBookQuizzes({ book_id: id, page: -1, isProgram })\n );\n\n if (currentUser?.auth_token) {\n dispatch(getBookTestsRequest({ book_id: id, isAuthor }));\n }\n } else {\n dispatch(getSingleBookAction(id));\n dispatch(\n getSingleBookSupplementariesAction({\n book_id: id,\n isAuthor\n })\n );\n dispatch(getBookQuizzes({ book_id: id, page: -1 }));\n if (currentUser?.auth_token) {\n dispatch(getBookTestsRequest({ book_id: id }));\n }\n }\n } else {\n return null;\n }\n return () => {\n dispatch(setSingleBookAction(null));\n };\n }, []);\n\n useEffect(() => {\n if (currentUser?.auth_token) {\n const booksViewedTests = {};\n singleBookTests.forEach((test) => {\n booksViewedTests[test?.id] = { 0: false, 1: false };\n });\n dispatch(createBookTestsStatus(booksViewedTests));\n renderTest();\n }\n }, [singleBookTests]);\n\n const getSurveyData = async () => {\n try {\n const survey = await axiosInstance.get(\n `${isAuthor ? author_portal : customer_portal}/surveys/${\n singleBook?.survey_id\n }`\n );\n setSurvey(survey.data.survey);\n } catch (err) {\n console.error(err);\n }\n };\n const formatDateSubscrintion = (date) => {\n return moment(date).format(\"DD MM YYYY\");\n };\n\n useEffect(() => {\n if (\n isBookSubscribed() &&\n singleBook?.survey_id &&\n singleBook?.has_survey &&\n !singleBook?.book_progress?.is_survey_solved\n ) {\n if (!isProgram) getSurveyData(); // temp flag until decide program director page elements\n }\n checkForScoreSectionPopUp();\n }, [singleBook]);\n\n const checkForScoreSectionPopUp = () => {\n let sectionPreScoredPagesArr = [];\n\n singleBook?.sections_results?.map((section) => {\n if (section.pre_test_score_percentage < 80) {\n sectionPreScoredPagesArr.push(section.section_from);\n\n setSectionPreScoredPages(sectionPreScoredPagesArr);\n }\n });\n };\n const initCheckForScoreSectionPopUp = () => {\n if (isAuthor) {\n dispatch(getAuthorSingleBookAction(id));\n } else if (isEditor) {\n dispatch(getEditorSingleBookAction(id));\n } else if (isProgram) {\n dispatch(getDirectorSingleBookAction(id));\n } else {\n dispatch(getSingleBookAction(id));\n }\n\n checkForScoreSectionPopUp();\n };\n\n // Test\n\n useEffect(() => {\n if (currentUser?.auth_token) {\n const currentTest = testResults.find(\n ({\n pre_page,\n post_page,\n id,\n is_mandatory,\n isPreTestSolved,\n isPostTestSolved\n }) => {\n // if (bookSingleTestCanceled[id]) {\n // const { 0: prepageCancelled, 1: postpageCancelled } =\n // bookSingleTestCanceled[id];\n\n if (is_mandatory) {\n // if (isPreTestSolved) {\n // dispatch(\n // updateBookTestsStatus({\n // id: id,\n // type: 0\n // })\n // );\n // }\n if (isPostTestSolved && isPreTestSolved) {\n dispatch(\n updateBookTestsStatus({\n id: id,\n type: 1\n })\n );\n }\n\n return (\n (!isPreTestSolved && currentPage >= pre_page) ||\n // && !prepageCancelled)\n (!isPostTestSolved && currentPage >= post_page)\n // && !postpageCancelled)\n );\n }\n\n if (!is_mandatory) {\n // if (!isPreTestSolved || isPostTestSolved) {\n // if (!isPreTestSolved) {\n // dispatch(\n // updateBookTestsStatus({\n // id: id,\n // type: 0\n // })\n // );\n // }\n // if (isPreTestSolved) {\n // dispatch(\n // removeUpdateBookTestsStatus({\n // id: id,\n // type: 0\n // })\n // );\n // }\n if (\n (isPostTestSolved && isPreTestSolved) ||\n isPostTestSolved\n ) {\n dispatch(\n updateBookTestsStatus({\n id: id,\n type: 1\n })\n );\n }\n // }\n return (\n (!isPreTestSolved && currentPage === pre_page) ||\n // && !prepageCancelled)\n (!isPostTestSolved && currentPage === post_page)\n // && !postpageCancelled)\n );\n }\n }\n // }\n );\n\n if (currentTest) {\n if (\n currentTest.is_mandatory &&\n document.fullscreenElement !== null\n ) {\n document.exitFullscreen();\n }\n openTest(currentTest);\n }\n }\n }, [currentPage]);\n\n const setOpenSurvey = (open) => {\n dispatch({\n type: SET_OPEN_SURVEY,\n payload: open\n });\n };\n const setOpenFinalTest = (open) => {\n dispatch({\n type: SET_OPEN_FINAL_TEST_MODAL,\n payload: open\n });\n };\n const { showSurvey } = useSelector((state) => state.utilities);\n\n const closeSurveyModal = () => setOpenSurvey(false);\n const closeFinalTestModal = () => setOpenFinalTest(false);\n useEffect(() => {\n if (currentPage === singleBook?.number_of_pages)\n if (\n singleBook?.has_survey &&\n !singleBook?.book_progress?.is_survey_solved &&\n survey?.survey_questions.length &&\n !survey?.survey_questions\n ?.map((x) => x?.user_answer)\n .every((q) => !!q)\n ) {\n setOpenSurvey(true);\n }\n }, [currentPage]);\n\n useEffect(() => {\n if (sectionPreScoredPages.includes(currentPage)) {\n setSectionScoredAlert(true);\n } else {\n setSectionScoredAlert(false);\n }\n }, [currentPage]);\n\n const openTest = (test) => {\n let testType = 0;\n\n if (\n (test.is_mandatory &&\n test.isPreTestSolved &&\n currentPage >= test.post_page) ||\n (!test.is_mandatory && currentPage === test.post_page)\n ) {\n testType = 1;\n }\n if (testType === null || openTestModal === true) return;\n\n // pre test\n if (!test.isPreTestSolved && testType == 0) {\n setTestType(testType);\n setbookTest(test);\n setTestTypeMandatory(test.is_mandatory);\n setOpenTestModal(true);\n } else if (\n test.isPreTestSolved &&\n !test.isPostTestSolved &&\n testType == 1\n ) {\n setTestType(testType);\n setbookTest(test);\n setTestTypeMandatory(test.is_mandatory);\n setOpenTestModal(true);\n }\n\n // if (\n // !test.isPreTestSolved ||\n // !test.isPostTestSolved\n // // && !bookSingleTestCanceled[test?.id][testType]\n // ) {\n // setTestType(testType);\n\n // setbookTest(test);\n // setTestTypeMandatory(test.is_mandatory);\n // setOpenTestModal(true);\n // }\n if (testType === 0 && !test.isPreTestSolved) {\n dispatch(\n updateBookTestsStatus({\n id: test.id,\n type: 0\n })\n );\n }\n };\n\n const renderTest = async () => {\n const sortesTests = singleBookTests.sort(\n (a, b) => a.pre_page - b.pre_page\n );\n\n const fetchURL = (url) =>\n axiosInstance.get(\n `${\n isAuthor\n ? author_portal\n : isProgram\n ? program_director_portal\n : customer_portal\n }/${url}`\n );\n\n const promiseArray = sortesTests\n .map((test) => `tests/${test.id}`)\n .map(fetchURL);\n\n Promise.all(promiseArray)\n .then((promiseResult) => {\n setTestsResults(\n promiseResult.map((test) => {\n const thisTest = test.data.test;\n\n // if (!test.is_mandatory) {\n // updateBookTestsStatus({\n // id: test?.id,\n // type: testType\n // });\n // }\n\n return {\n ...thisTest,\n isPreTestSolved: thisTest?.test_questions?.every(\n (question) => !!question[`pre_test_user_answer`]\n ),\n isPostTestSolved: thisTest?.test_questions?.every(\n (question) => !!question[`post_test_user_answer`]\n )\n };\n })\n );\n })\n .catch((err) => {\n // Handle Error\n });\n };\n\n const setCurrentPageToBook = (e) => {\n setCurrentPage(e);\n };\n const markTestAsSolved = (id) => {\n const updatedTests = testResults.map((test) => {\n return id === test.id\n ? {\n ...test,\n ...(testType === 0\n ? { isPreTestSolved: true }\n : { isPostTestSolved: true })\n }\n : { ...test };\n });\n setTestsResults(updatedTests);\n };\n\n const setImageModalFromTest = (data) => setImageModalTest(data);\n\n // certificate\n useEffect(() => {\n if (id) {\n dispatch(\n getFinalTestRequest({\n portal: customer_portal,\n book_id: id\n })\n );\n }\n }, [id, singleBook]);\n\n // const downloadCertificate = () => {\n // const canvas = canvasRef.current;\n // if (!canvas) return;\n\n // if (!canvas) {\n // console.error(\"Canvas reference is missing or not rendered.\");\n // return;\n // }\n\n // // Ensure canvas content is drawn/rendered\n // const imgData = canvas.toDataURL(\"image/png\", 1.0); // Maximum quality PNG\n\n // if (!imgData || imgData === \"data:,\") {\n // console.error(\"Canvas is empty or not rendered properly.\");\n // return;\n // }\n\n // // Create a jsPDF instance\n // const pdf = new jsPDF({\n // orientation: \"landscape\",\n // unit: \"pt\",\n // format: [canvas.width, canvas.height] // Match canvas dimensions\n // });\n\n // // Get canvas dimensions\n // const canvasWidth = canvas.width;\n // const canvasHeight = canvas.height;\n\n // // Scale the image to fit the PDF\n // const pdfWidth = pdf.internal.pageSize.getWidth();\n // const pdfHeight = pdf.internal.pageSize.getHeight();\n // const aspectRatio = canvasWidth / canvasHeight;\n\n // let imgWidth = pdfWidth;\n // let imgHeight = pdfWidth / aspectRatio;\n\n // if (imgHeight > pdfHeight) {\n // imgHeight = pdfHeight;\n // imgWidth = pdfHeight * aspectRatio;\n // }\n\n // // Add the image to the PDF\n // pdf.addImage(imgData, \"PNG\", 0, 0, imgWidth, imgHeight);\n\n // // Save the PDF\n // pdf.save(\"certificate.pdf\");\n // };\n const downloadCertificate = () => {\n const canvas = canvasRef.current;\n if (!canvas) {\n console.error(\"Canvas reference is missing or not rendered.\");\n return;\n }\n\n // Ensure canvas content is drawn/rendered\n const imgData = canvas.toDataURL(\"image/png\", 1.0); // Maximum quality PNG\n\n if (!imgData || imgData === \"data:,\") {\n console.error(\"Canvas is empty or not rendered properly.\");\n return;\n }\n\n // Try to generate a PDF using jsPDF\n try {\n const pdf = new jsPDF({\n orientation: \"landscape\",\n unit: \"pt\",\n format: [canvas.width, canvas.height] // Match canvas dimensions\n });\n\n // Get canvas dimensions\n const canvasWidth = canvas.width;\n const canvasHeight = canvas.height;\n\n // Scale the image to fit the PDF\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHeight = pdf.internal.pageSize.getHeight();\n const aspectRatio = canvasWidth / canvasHeight;\n\n let imgWidth = pdfWidth;\n let imgHeight = pdfWidth / aspectRatio;\n\n if (imgHeight > pdfHeight) {\n imgHeight = pdfHeight;\n imgWidth = pdfHeight * aspectRatio;\n }\n\n // Add the image to the PDF\n pdf.addImage(imgData, \"PNG\", 0, 0, imgWidth, imgHeight);\n\n // Save the PDF\n pdf.save(\"certificate.pdf\");\n } catch (error) {\n console.error(\n \"Failed to generate PDF. Falling back to image download.\",\n error\n );\n\n // Fallback: Download as PNG image\n const link = document.createElement(\"a\");\n link.href = imgData;\n link.download = \"certificate.png\";\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n }\n };\n const downloadCertificateCME = () => {\n const canvas = canvasRef.current;\n // if (!canvas) return;\n\n if (!canvas) {\n console.error(\"Canvas reference is missing or not rendered.\");\n return;\n }\n\n // Ensure canvas content is drawn/rendered\n const imgData = canvas.toDataURL(\"image/png\", 1.0); // Maximum quality PNG\n\n if (!imgData || imgData === \"data:,\") {\n console.error(\"Canvas is empty or not rendered properly.\");\n return;\n }\n\n // Create a jsPDF instance\n const pdf = new jsPDF({\n orientation: \"landscape\",\n unit: \"pt\",\n format: [canvas.width, canvas.height] // Match canvas dimensions\n });\n\n // Get canvas dimensions\n const canvasWidth = canvas.width;\n const canvasHeight = canvas.height;\n\n // Scale the image to fit the PDF\n const pdfWidth = pdf.internal.pageSize.getWidth();\n const pdfHeight = pdf.internal.pageSize.getHeight();\n const aspectRatio = canvasWidth / canvasHeight;\n\n let imgWidth = pdfWidth;\n let imgHeight = pdfWidth / aspectRatio;\n\n if (imgHeight > pdfHeight) {\n imgHeight = pdfHeight;\n imgWidth = pdfHeight * aspectRatio;\n }\n\n // Add the image to the PDF\n pdf.addImage(imgData, \"PNG\", 0, 0, imgWidth, imgHeight);\n\n // Save the PDF\n pdf.save(\"certificate CME.pdf\");\n };\n\n const displayCertificateCME = () => {\n const canvas = canvasDivRef;\n if (!canvas) return;\n const ctx = canvas.getContext(\"2d\");\n\n // Adjust canvas resolution for better quality\n const dpr = window.devicePixelRatio || 1;\n const canvasWidth = 700; // Desired width in CSS pixels\n const canvasHeight = 500; // Desired height in CSS pixels\n\n canvas.width = canvasWidth * dpr;\n canvas.height = canvasHeight * dpr;\n canvas.style.width = `${canvasWidth}px`;\n canvas.style.height = `${canvasHeight}px`;\n\n ctx.scale(dpr, dpr);\n\n const usersName = singleCertificate?.user_name;\n // user?.first_name + \" \" + user?.second_name || \"\";\n const bookName = singleCertificate?.book_title || \"\";\n const submissionDate =\n singleCertificate?.certificate?.submission_date;\n const SubmissionEdit = submissionDate\n .split(\"T\")[0]\n .split(\"-\")\n .reverse()\n .join(\"/\");\n const issueDate = singleCertificate?.issue_date;\n const issueDateEdited = issueDate\n ?.split(\"T\")[0]\n .split(\"-\")\n .reverse()\n .join(\"/\");\n const certificateID =\n singleCertificate?.certificate?.certificate_unique_id;\n const hours =\n singleCertificate?.certificate?.hours_of_participation;\n const image = new Image();\n image.src = CertificateCME;\n\n image.onload = () => {\n ctx.imageSmoothingQuality = \"high\";\n ctx.drawImage(image, 0, 0, canvasWidth, canvasHeight);\n\n // Set font style for username\n ctx.font = \"40px Inter\";\n ctx.fillStyle = \"#000000\";\n ctx.textAlign = \"center\";\n\n const canvasCenterX = canvasWidth / 2;\n\n // Break long names into two lines\n if (usersName.length > 20) {\n const maxLineLength = 21;\n const breakIndex = usersName.lastIndexOf(\" \", maxLineLength);\n\n // First line of name\n const firstLine = usersName.slice(0, breakIndex);\n ctx.fillText(firstLine, canvasCenterX, 135);\n\n // Second line of name\n const secondLine = usersName.slice(breakIndex + 1);\n ctx.fillText(secondLine, canvasCenterX, 170);\n } else {\n ctx.fillText(usersName, canvasCenterX, 150);\n }\n\n // Book name\n ctx.font = \"10px sans-serif\";\n if (bookName.length > 63) {\n const maxBookLineLength = 64;\n const bookBreakIndex = bookName.lastIndexOf(\n \" \",\n maxBookLineLength\n );\n\n const firstBookLine = bookName.slice(0, bookBreakIndex);\n ctx.fillText(firstBookLine, canvasCenterX, 190);\n\n const secondBookLine = bookName.slice(bookBreakIndex + 1);\n ctx.fillText(secondBookLine, canvasCenterX, 195);\n } else {\n ctx.fillText(bookName, canvasCenterX, 205);\n }\n //SUBMISSION DATE\n ctx.font = \"8px sans-serif\";\n ctx.fillText(SubmissionEdit, canvasCenterX + 55, 217);\n // CME HOURS\n ctx.font = \"8px sans-serif\";\n ctx.fillText(hours, canvasCenterX + 46, 230.3);\n //CME HOURS AT DISCRIPTION\n ctx.font = \"8px sans-serif\";\n ctx.fillText(hours, canvasCenterX + 112, 300);\n //ISSUE DATE\n ctx.fillStyle = \"#6c6b68\";\n ctx.font = \"8px sans-serif\";\n ctx.fillText(issueDateEdited, canvasCenterX - 86, 456);\n //CERTIFICATE ID\n ctx.font = \"8px sans-serif\";\n ctx.fillText(certificateID, canvasCenterX + 146, 455);\n };\n\n image.onerror = () => {\n console.error(\"Failed to load the certificate image.\");\n };\n };\n // const displayCertificate = () => {\n // const canvas = canvasDivRef;\n // if (!canvas) return;\n // const ctx = canvas.getContext(\"2d\");\n // const usersName = singleCertificate?.user_name;\n // const bookName = singleCertificate?.book_title;\n // const bookauthor = singleCertificate?.author_name;\n // //for best resolution\n // // console.log(\"window.devicePixelRatio\", window.devicePixelRatio);\n\n // const dpr = window.devicePixelRatio || 1;\n // const canvasWidth = 700;\n // const canvasHeight = 500;\n // canvas.width = canvasWidth * dpr;\n // canvas.height = canvasHeight * dpr;\n // canvas.style.width = `${canvasWidth}px`;\n // canvas.style.height = `${canvasHeight}px`;\n // const canvasCenterX = canvasWidth / 2;\n // ctx.scale(dpr, dpr);\n\n // const image = new Image();\n // image.src = CertificateMedblend;\n // image.onload = () => {\n // ctx.imageSmoothingQuality = \"high\";\n // ctx.drawImage(image, 0, 0, canvasWidth, canvasHeight);\n // ctx.textAlign = \"center\";\n // ctx.font = \"25px sans-serif\";\n // ctx.fillStyle = \"#464B55\";\n // // title\n // const demotitle =\n // singleCertificate?.certificate?.certificate_title;\n // ctx.fillText(demotitle, canvasCenterX, 155);\n // // presnst to\n // ctx.font = \"17px monospace\";\n // ctx.textAlign = \"center\";\n\n // const demoToUserHint =\n // \"This certificate is proudly presented to\";\n\n // ctx.fillText(demoToUserHint, canvasCenterX, 190);\n // //username\n // ctx.font = \"bold italic 30px Arial\";\n // ctx.fillStyle = \"#0e4dce\";\n\n // ctx.fillText(usersName, canvasCenterX, 225);\n // // Book\n // ctx.font = \"12px Arial\";\n // ctx.fillStyle = \"#464B55\";\n\n // ctx.fillText(\"For Completing\", canvasCenterX, 255);\n // ctx.font = \"17px Arial\";\n // ctx.fillStyle = \"#0e4dce\";\n\n // // separate bookname to 2 line\n // if (bookName?.length > 63) {\n // const demobookNameindex = bookName.lastIndexOf(\" \", 64);\n // ctx.fillText(bookName.slice(0, demobookNameindex), 160, 275);\n // ctx.fillText(\n // bookName.slice(demobookNameindex + 1, bookName.length),\n // canvasCenterX,\n // 295\n // );\n // ctx.font = \"italic 10px Arial\";\n // ctx.fillStyle = \"#464B55\";\n // ctx.fillText(` by ${bookauthor}`, 170, 310);\n // } else {\n // ctx.fillText(bookName, canvasCenterX, 275);\n // ctx.font = \"italic 10px Arial\";\n // ctx.fillStyle = \"#464B55\";\n // ctx.fillText(`by ${bookauthor}`, canvasCenterX, 295);\n // }\n\n // // const creditHours = singleBook?.certificate.credits;\n // const creditType =\n // singleCertificate?.certificate?.certificate_type;\n\n // ctx.font = \"12px Arial\";\n // ctx.fillStyle = \"#2e2e2e\";\n\n // ctx.fillText(\n // `and has been awarded ${creditType} credits `,\n // canvasCenterX,\n // 370\n // );\n\n // // description\n // ctx.font = \" 12px Arial\";\n // ctx.fillStyle = \"#5e5e5e\";\n\n // const certificateDescription =\n // singleCertificate?.certificate?.certificate_description;\n // if (certificateDescription?.length > 70) {\n // const demoDescription1index =\n // certificateDescription.lastIndexOf(\" \", 71);\n // ctx.fillText(\n // certificateDescription.slice(0, demoDescription1index),\n // canvasCenterX,\n // 330\n // );\n // ctx.fillText(\n // certificateDescription.slice(\n // demoDescription1index + 1,\n // certificateDescription.length\n // ),\n // canvasCenterX,\n // 350\n // );\n // } else {\n // ctx.fillText(certificateDescription, canvasCenterX, 330);\n // }\n // };\n // image.onerror = () => {\n // console.error(\"Failed to load the certificate image.\");\n // };\n // };\n const displayCertificate = () => {\n const canvas = canvasDivRef;\n if (!canvas) return;\n const ctx = canvas.getContext(\"2d\");\n const usersName = singleCertificate?.user_name;\n const bookName = singleCertificate?.book_title;\n const bookauthor = singleCertificate?.author_name;\n\n // Calculate canvas size based on screen width\n const screenWidth = window.innerWidth;\n const canvasWidth = Math.min(700, screenWidth * 0.9); // 90% of screen width or 700px, whichever is smaller\n const canvasHeight = (canvasWidth / 700) * 500; // Maintain aspect ratio\n\n const dpr = window.devicePixelRatio || 1;\n canvas.width = canvasWidth * dpr;\n canvas.height = canvasHeight * dpr;\n canvas.style.width = `${canvasWidth}px`;\n canvas.style.height = `${canvasHeight}px`;\n const canvasCenterX = canvasWidth / 2;\n ctx.scale(dpr, dpr);\n\n const image = new Image();\n image.src = CertificateMedblend;\n image.onload = () => {\n ctx.imageSmoothingQuality = \"high\";\n ctx.drawImage(image, 0, 0, canvasWidth, canvasHeight);\n ctx.textAlign = \"center\";\n\n // Calculate font sizes based on canvas width\n const baseFontSize = canvasWidth / 28; // Adjust this factor as needed\n ctx.font = `${baseFontSize}px sans-serif`;\n ctx.fillStyle = \"#464B55\";\n\n // title\n const demotitle =\n singleCertificate?.certificate?.certificate_title;\n ctx.fillText(demotitle, canvasCenterX, canvasHeight * 0.31);\n\n // present to\n ctx.font = `${baseFontSize * 0.68}px monospace`;\n const demoToUserHint =\n \"This certificate is proudly presented to\";\n ctx.fillText(\n demoToUserHint,\n canvasCenterX,\n canvasHeight * 0.38\n );\n\n // username\n ctx.font = `bold italic ${baseFontSize * 1.2}px Arial`;\n ctx.fillStyle = \"#0e4dce\";\n ctx.fillText(usersName, canvasCenterX, canvasHeight * 0.45);\n\n // Book\n ctx.font = `${baseFontSize * 0.48}px Arial`;\n ctx.fillStyle = \"#464B55\";\n ctx.fillText(\n \"For Completing\",\n canvasCenterX,\n canvasHeight * 0.51\n );\n\n ctx.font = `${baseFontSize * 0.68}px Arial`;\n ctx.fillStyle = \"#0e4dce\";\n\n // separate bookname to 2 lines\n if (bookName?.length > 63) {\n const demobookNameindex = bookName.lastIndexOf(\" \", 64);\n ctx.fillText(\n bookName.slice(0, demobookNameindex),\n canvasWidth * 0.23,\n canvasHeight * 0.55\n );\n ctx.fillText(\n bookName.slice(demobookNameindex + 1, bookName.length),\n canvasCenterX,\n canvasHeight * 0.59\n );\n ctx.font = `italic ${baseFontSize * 0.4}px Arial`;\n ctx.fillStyle = \"#464B55\";\n ctx.fillText(\n `by ${bookauthor}`,\n canvasWidth * 0.24,\n canvasHeight * 0.62\n );\n } else {\n ctx.fillText(bookName, canvasCenterX, canvasHeight * 0.55);\n ctx.font = `italic ${baseFontSize * 0.4}px Arial`;\n ctx.fillStyle = \"#464B55\";\n ctx.fillText(\n `by ${bookauthor}`,\n canvasCenterX,\n canvasHeight * 0.59\n );\n }\n\n const creditType =\n singleCertificate?.certificate?.certificate_type;\n ctx.font = `${baseFontSize * 0.48}px Arial`;\n ctx.fillStyle = \"#2e2e2e\";\n ctx.fillText(\n `and has been awarded ${creditType} credits`,\n canvasCenterX,\n canvasHeight * 0.74\n );\n\n // description\n ctx.font = `${baseFontSize * 0.48}px Arial`;\n ctx.fillStyle = \"#5e5e5e\";\n const certificateDescription =\n singleCertificate?.certificate?.certificate_description;\n if (certificateDescription?.length > 70) {\n const demoDescription1index =\n certificateDescription.lastIndexOf(\" \", 71);\n ctx.fillText(\n certificateDescription.slice(0, demoDescription1index),\n canvasCenterX,\n canvasHeight * 0.66\n );\n ctx.fillText(\n certificateDescription.slice(\n demoDescription1index + 1,\n certificateDescription.length\n ),\n canvasCenterX,\n canvasHeight * 0.7\n );\n } else {\n ctx.fillText(\n certificateDescription,\n canvasCenterX,\n canvasHeight * 0.66\n );\n }\n };\n image.onerror = () => {\n console.error(\"Failed to load the certificate image.\");\n };\n };\n\n // Recalculate canvas and font sizes on window resize\n useEffect(() => {\n const handleResize = () => displayCertificate();\n window.addEventListener(\"resize\", handleResize);\n return () => window.removeEventListener(\"resize\", handleResize);\n }, []);\n\n const [certificateRequested, setCertificateRequested] =\n useState(false);\n\n useEffect(() => {\n const fetchCertificate = async () => {\n if (\n openCertificateModal &&\n singleBook?.book_progress?.is_survey_solved &&\n singleBook.certificate &&\n finalTest?.user_answers?.score &&\n !certificateRequested\n ) {\n await dispatch(getSingleCertificateRequest({ book_id: id }));\n setCertificateRequested(true);\n }\n };\n\n if (openCertificateModal) {\n fetchCertificate();\n } else {\n canvasRef.current = null;\n setCertificateRequested(false); // Reset when modal closes\n }\n }, [openCertificateModal]); // Only depend on modal opening\n\n useEffect(() => {\n if (!openCertificateModal || !singleCertificate?.certificate)\n return;\n\n if (singleCertificate.certificate.hours_of_participation) {\n displayCertificateCME();\n } else if (\n singleCertificate.certificate.certificate_type === \"MEDBLEND\"\n ) {\n displayCertificate();\n }\n }, [singleCertificate, openCertificateModal]); // Depend on `singleCertificate` updates\n\n const [showSupplementaries, setShowSupplementaries] =\n useState(false);\n const supplementariesContainerRef = useRef();\n useEffect(() => {\n if (showSupplementaries) {\n supplementariesContainerRef.current.style.width = \"100%\";\n }\n }, [showSupplementaries]);\n\n const handleSubscriptionModal = () => {\n setSubscriptionModal(true);\n };\n\n return (\n
\n {/* // Test Modal */}\n {isBookSubscribed() && (\n <>\n {ImageModalTest.src && (\n \n setImageModalTest({ src: \"\", title: \"\" })\n }\n imageTitle={ImageModalTest.title}\n />\n )}\n \n \n {testType == 0 &&

{pretest}:

}\n {testType == 1 && (\n

\n {\" \"}\n {bookTest.title.toLowerCase().includes(\"final test\")\n ? finaltest\n : posttest}\n :{\" \"}\n

\n )}\n {bookTest && (\n \n )}\n \n \n \n )}\n {/* SurveyModal */}\n \n \n {!singleBook?.book_progress?.is_survey_solved &&\n survey &&\n currentPage ===\n (pagesNumber || singleBook?.number_of_pages) && (\n \n )}\n \n \n {/* BookSubscription */}\n \n \n \n {/* certificate_modal */}\n
\n \n \n {singleCertificate?.certificate?.hours_of_participation ||\n singleCertificate?.certificate?.certificate_type ===\n \"MEDBLEND\" ? (\n <>\n {\n canvasRef.current = ref;\n setCanvasDivRef(ref);\n }}\n id=\"canvas\"\n height=\"483px\"\n width=\"700px\"\n >\n \n singleCertificate?.certificate\n ?.hours_of_participation\n ? downloadCertificateCME()\n : downloadCertificate()\n }\n >\n Download\n \n \n ) : (\n

The certificate is currently not valid.

\n )}\n
\n \n
\n {/*LinearProgress*/}\n \n \n \n \n \n \n \n \n
\n
\n <>\n {isSmallScreen && (\n <>\n
\n
\n
\n \n

{singleBook?.title}

\n
\n
\n \n setMobileModalOpened(\n openMobileModal.lecturesModal\n ? {\n lecturesModal: false,\n testsModal: false,\n notesModal: false\n }\n : {\n lecturesModal: true,\n notesModal: false,\n testsModal: false\n }\n )\n }\n />\n \n setMobileModalOpened(\n openMobileModal.testsModal\n ? {\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n }\n : {\n lecturesModal: false,\n testsModal: true,\n notesModal: false,\n bookModal: false\n }\n )\n }\n />\n \n setMobileModalOpened(\n openMobileModal.notesModal\n ? {\n testsModal: false,\n lecturesModal: false,\n notesModal: false,\n bookModal: false\n }\n : {\n testsModal: false,\n lecturesModal: false,\n notesModal: true,\n bookModal: false\n }\n )\n }\n />\n \n setMobileModalOpened(\n openMobileModal.bookModal\n ? {\n testsModal: false,\n lecturesModal: false,\n notesModal: false,\n bookModal: false\n }\n : {\n testsModal: false,\n lecturesModal: false,\n notesModal: false,\n bookModal: true\n }\n )\n }\n />\n
\n
\n\n \n
\n \n \n \n {sectionScoredAlert && (\n \n {scoreNote}\n
\n )}\n
\n {/* to be a container */}\n \n setMobileModalOpened({\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n })\n }\n >\n \n \n \n setMobileModalOpened({\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n })\n }\n >\n \n \n \n setMobileModalOpened({\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n })\n }\n >\n
\n \n \n setMobileModalOpened({\n lecturesModal: false,\n testsModal: false,\n notesModal: false,\n bookModal: false\n })\n }\n >\n \n\n \n \n \n \n )}\n\n
\n \n {/* 2 button to lectures or tests */}\n \n
\n \n \n \n {lectures}\n \n \n
\n
\n \n \n \n {tests}\n \n \n
\n
\n {/* link of old book */}\n {isBookSubscribed() &&\n singleBook?.old_version_book?.id &&\n singleBook?.old_version_book?.deprecation ===\n \"pending\" && (\n
\n \n {\" \"}\n {oldVersion}\n \n

\n {\" \"}\n {availableHint}{\" \"}\n {formatDateSubscrintion(\n singleBook?.old_version_book\n ?.deprecation_date\n )}\n

\n
\n )}\n {/* button_display_certifiacte */}\n {(survey?.survey_questions\n ?.map((x) => x?.user_answer)\n .every((q) => !!q) ||\n singleBook?.book_progress?.is_survey_solved) &&\n finalTest?.user_answers?.score >= 70 &&\n singleBook.certificate && (\n setOpenCertificateModal(true)}\n />\n )}\n\n {/* toolbarSidebar buttons*/}\n
\n
\n
\n \n \n \n \n \n \n Chapter Index\n \n \n \n \n \n \n\n \n Notes\n \n \n \n \n \n \n\n \n Thumbnails\n \n \n
\n
\n
\n {/* sidebar content*/}\n {!isBookSubscribed() && (\n
\n
\n \n
\n
\n )}\n
\n \n \n
\n \n \n \n \n {/* enrollButton */}\n {!isBookSubscribed() && (\n
\n

${singleBook?.price}

\n \n
\n )}\n \n {isSmallScreen ? null : (\n <>\n \n \n\n {sectionScoredAlert && (\n \n {scoreNote}\n \n )}\n \n {Supplementaries(\n pageSupplementaries,\n singleBookSupplementaries,\n singleBookQuizzes,\n singleBookTests,\n testAllAnwsered,\n testType,\n setImageModalFromTest,\n bookSingleTestCanceled,\n currentPage,\n isBookSubscribed,\n singleBook,\n markTestAsSolved,\n supplementariesContainerRef,\n survey,\n finalTest\n )}\n \n )}\n \n \n \n \n \n \n \n