{"version":3,"sources":["constants/index.js","utils/index.js","reducers/app.js","reducers/index.js","config/redux/index.js","config/http/index.js","actions/index.js","components/Navbar/Navbar.js","components/Loader/Loader.js","pages/home/NumberOfTeamsDetails.js","pages/home/RegistrationStatus.js","components/TournamentList/TournamentList.js","components/TournamentList/index.js","pages/home/index.js","components/PageTitle/PageTitle.js","pages/contact/index.js","components/Table/Table.js","components/Modal/Modal.js","pages/ranking/historyDetailsModal.js","components/RenderInput/RenderInput.js","pages/ranking/rankFilterForm.js","pages/ranking/index.js","components/EventSidebar/EventSidebar.js","pages/eventDetails/index.js","components/EventInfoBanner/EventInfoBanner.js","components/Buttons/Buttons.js","pages/eventDetails/register/registerForm.js","pages/eventDetails/register/previewRegister.js","pages/eventDetails/register/index.js","components/LoginForm/LoginForm.js","pages/login/index.js","pages/register/form.js","pages/register/index.js","pages/register/confirmRegister.js","components/ChangePasswordForm/ChangePasswordForm.js","pages/changePassword/index.js","components/ForgotPasswordForm/ForgotPasswordForm.js","pages/forgotPassword/index.js","pages/profile_admin/index.js","components/ImageUploader/index.js","components/ImageUploader/ImageUploader.js","pages/profile_user/form.js","pages/profile_user/playerHistoryList.js","pages/profile_user/index.js","components/Breadcrumb/Breadcrumb.js","pages/admin_pages/tournaments/form.js","pages/admin_pages/tournaments/filterForm.js","pages/admin_pages/tournaments/index.js","pages/eventDetails/basicDetails/index.js","pages/eventDetails/documents/index.js","pages/eventDetails/teams/filterForm.js","pages/eventDetails/teams/index.js","pages/eventDetails/games/filterForm.js","pages/eventDetails/games/index.js","pages/eventDetails/ranking/filterForm.js","pages/eventDetails/ranking/index.js","pages/eventDetails/contact/index.js","pages/admin_pages/schedule/form.js","pages/admin_pages/schedule/filterForm.js","pages/admin_pages/schedule/index.js","pages/admin_pages/games/form.js","pages/admin_pages/games/gameScoreForm.js","pages/admin_pages/games/filterForm.js","pages/admin_pages/games/index.js","pages/admin_pages/games/utils.js","pages/admin_pages/teams/form.js","pages/admin_pages/teams/filterForm.js","pages/admin_pages/teams/index.js","pages/admin_pages/agreementFiles/filterForm.js","utils/file.js","pages/admin_pages/agreementFiles/form.js","pages/admin_pages/agreementFiles/index.js","components/PageInConstruction/PageInConstruction.js","pages/admin_pages/cities/index.js","pages/admin_pages/players/form.js","pages/admin_pages/players/filterForm.js","pages/admin_pages/players/index.js","pages/admin_pages/playersHistory/index.js","pages/admin_pages/sponsors/index.js","pages/admin_pages/tshirtSizes/index.js","pages/admin_pages/rankings/form.js","pages/admin_pages/rankings/filterForm.js","pages/admin_pages/rankings/index.js","pages/admin_pages/reports/filterForm.js","pages/admin_pages/reports/index.js","pages/admin_pages/users/index.js","pages/tournaments/index.js","config/routes/index.js","components/PageNotFound/PageNotFound.js","components/Router/Router.js","components/Footer/Footer.js","pages/layout/index.js","components/Notification/Notification.js","pages/app/index.js","serviceWorker.js","index.js"],"names":["TIME_FORMATS","PATH_URLS","SIDEBAR_ITEM_KEYS","APIs","SCREEN_WIDTH_SIZE","EVENT_CATEGORY","GENDER_CATEGORY_OPTIONS","id","name","REGISTERED_TEAM_STATUS","REGISTERED_TEAM_STATUS_OPTIONS","ACTIONS_TYPES","LOCAL_STORAGE_TAGS","PERMISSIONS","PERMISSION_TYPES","ROLE_TYPES","ADMIN_MENU_CATEGORY","TOURNAMENTS","PLAYERS","GENERAL","getToken","localStorage","getItem","checkPermission","permission","type","parseJwt","jwt","decode","_","get","indexOf","checkRole","role","getFormattedPeriod","start","end","startMonth","endMonth","startDay","moment","format","endDay","year","month","getFormattedURL","url","substring","getSplitTitle","text","search","title","split","subtitle","getTeamsOptions","list","map","item","teamId","teamName","getUsersOptions","userId","username","getYearsOptions","yearsList","maxYear","i","push","getTeamStatusName","status","statusDetails","find","sts","getCalculatedNumberOfTeams","allowed","registrationDetails","registeredAndConfirmed","Registered","Confirmed","isFullDraw","availableSpotsOnDraw","pendingTeams","Pending","withdrawnTeams","Cancelled","reducer","state","loadingLogin","action","token","payload","isLoggedIn","loading","userProfile","saveLoading","tournamentsList","loadingTournamentDetails","tournamentDetails","tournamentsNavbarList","managerTournamentsLoading","managerTournamentsList","loadingMainEvent","upcomingTournament","citiesList","rankingList","loadingPlayers","playersList","sizesList","teamsList","gamesList","historyLoading","playerHistory","schedulesList","sponsorsList","usersList","tournamentRankingsList","downloadLoading","documents","createNotification","notification","message","timeout","undefined","iconType","icon","iconColor","color","className","messages","concat","notificationId","filter","reducers","appReducer","history","createBrowserHistory","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","store","initialState","createStore","combineReducers","router","connectRouter","applyMiddleware","routerMiddleware","thunk","configureStore","headers","Authorization","http","Axios","create","baseURL","interceptors","response","use","error","data","dispatch","AppActions","Promise","reject","switchRoute","path","notify","addNotification","notifySuccess","notifyWarning","notifyError","login","body","a","async","loginInit","post","loginFailure","defaults","getUserProfile","mustReset","loginSuccess","setItem","logout","removeItem","logoutSuccess","resetPasswordInit","resetPasswordSuccess","resetPasswordFailure","forgotPasswordInit","forgotPasswordSuccess","forgotPasswordFailure","registerPlayerInit","registerPlayerSuccess","registerPlayerFailure","confirmRegisterInit","confirmRegisterSuccess","confirmRegisterFailure","getUserProfileInit","getUserProfileSuccess","JSON","stringify","getUserProfileFailure","saveItemInit","saveItemSuccess","saveItemFailure","getTournaments","params","getTournamentsInit","getTournamentsSuccess","getTournamentsFailure","getTournamentById","getTournamentByIdInit","getTournamentByIdSuccess","getTournamentByIdFailure","resetTournamentById","getTournamentsNavBarInit","getTournamentsNavBarSuccess","getTournamentsNavBarFailure","getManagerTournaments","getManagerTournamentsInit","getManagerTournamentsSuccess","getManagerTournamentsFailure","resetManagerTournaments","getUpcomingTournamentInit","getUpcomingTournamentSuccess","getUpcomingTournamentFailure","getRankingInit","getRankingSuccess","getRankingFailure","getCities","getCitiesInit","getCitiesSuccess","getCitiesFailure","resetCities","getSizes","getSizesInit","getSizesSuccess","getSizesFailure","resetSizes","getPlayers","getPlayersInit","getPlayersSuccess","getPlayersFailure","resetPlayers","getTeams","getTeamsInit","getTeamsSuccess","getTeamsFailure","resetTeams","getGames","getGamesInit","getGamesSuccess","getGamesFailure","resetGames","getPlayerHistory","getPlayerHistoryInit","getPlayerHistorySuccess","getPlayerHistoryFailure","getSchedules","getSchedulesInit","getSchedulesSuccess","getSchedulesFailure","resetSchedules","getTournamentRankings","getTournamentRankingsInit","getTournamentRankingsSuccess","getTournamentRankingsFailure","resetTournamentRankings","getSponsorsInit","getSponsorsSuccess","getSponsorsFailure","getUsers","getUsersInit","getUsersSuccess","getUsersFailure","base64ToArrayBuffer","base64","fileContents","binaryString","atob","byteNumbers","Array","length","charCodeAt","byteArray","Uint8Array","blob","fileName","URL","createObjectURL","anchorElem","document","createElement","href","download","appendChild","click","removeChild","saveAs","Blob","contentType","fileDownloadName","downloadReportInit","downloadReportSuccess","downloadReportFailure","getTournamentDocuments","getTournamentDocumentsInit","getTournamentDocumentsSuccess","getTournamentDocumentsFailure","uploadTournamentDocumentInit","uploadTournamentDocumentSuccess","uploadTournamentDocumentFailure","NavbarMenu","this","props","events","userName","getUserName","Col","Row","Nav","Link","src","location","origin","alt","Item","eventKey","NavDropdown","alignRight","onClick","size","sort","b","startDate","diff","ev","index","lastItem","key","endDate","cityName","Divider","resetTournaments","React","Component","withConnect","connect","Loader","Spinner","animation","NumberOfTeamsDetails","tournament","menTeamsDetails","numberOfMenTeamsAllowed","numberOfMenTeams","womenTeamsDetails","numberOfWomenTeamsAllowed","numberOfWomenTeams","style","display","gridTemplateColumns","RegistrationStatus","startRegister","startDateRegister","endRegister","endDateRegister","registerOpen","registerClosed","isSameOrAfter","isSameOrBefore","isAfter","TournamentList","isActiveClassName","isBefore","backgroundImage","smallImage","HomePage","pastTournamentsHandler","setState","prevState","showPastTournaments","getMainEvent","includeSmallImage","image","PageTitle","xs","ContactPage","md","span","offset","lg","Container","mapTableDataBySortProperty","header","mapProperties","property","isArray","TableComponent","indexColumn","editable","removable","onEditItem","onDeleteItem","noDataMessage","noCollapsing","otherButtons","otherIndependentButtons","collapseTable","innerWidth","Table","striped","bordered","dataItem","displayData","displayValue","emphasizedColumn","button","hover","value","OverlayTrigger","rootClose","delay","show","hide","trigger","placement","overlay","Popover","Content","label","ModalComponent","onHide","children","Modal","aria-labelledby","centered","backdrop","keyboard","Header","closeButton","Title","Body","ConfirmModal","content","handleConfirm","handleClose","Footer","Button","variant","tournamentName","playerTwoName","HistoryDetailsModal","CustomInputComponent","placeholder","field","input","form","touched","errors","setFieldValue","setFieldTouched","Form","Control","isInvalid","CustomTextAreaComponent","as","CustomDropdownComponent","submitForm","values","options","submitOnChange","noEmptyField","onChangeCallback","optionsWithNull","dropdownOptions","isDisabled","disabled","useEffect","option","onChange","e","target","onBlur","opt","fullName","toString","CustomCheckboxComponent","Group","controlId","Check","checked","CustomRadioCheckComponent","itemsDirection","paddingRight","CustomTimePickerComponent","useState","timeValue","setTimeValue","hour","min","date","set","minute","ampm","CustomDatePickerComponent","dateValue","setDateValue","DatePicker","emptyFormObject","category","cityId","RankFilterForm","onSubmit","initialValues","component","RankingPage","openHistoryModal","playerDetails","openPlayerHistoryModal","playerId","closeModal","filterData","getRanking","categoryId","totalPoints","width","padding","justifyContent","resetRanking","withRouter","closeSidebar","openSideBar","eventId","onSelectMenuItem","eventRoutes","route","showInMenu","isAvailable","to","activeClassName","pageTitle","EventDetailsPage","handleOpenSidebar","handleCloseSidebar","handleSelectMenuItemFromSmallDevices","screen","availWidth","event","match","exact","EventInfoBanner","SubmitButton","SpinnerButton","aria-hidden","BackButton","AddButton","RemoveButton","DownloadButton","RegisterForm","onRegisterTeam","sizesOptions","citiesOptions","femaleRegister","playersOptions","player","rules","termsAndConditions","validate","contact","playerOneId","playerOneSizeId","playerTwoId","playerTwoSizeId","PreviewRegister","handleBackToRegister","handleConfirmRegister","playerNo","details","selectedPlayer","sizeName","city","firstName","lastName","getPlayerDetails","EventRegister","maleRegister","openRegisterForm","registerBody","showPreview","onOpenRegisterTeam","onlyUnregistered","tournamentId","onConfirmRegister","registerTeam","onBackToRegister","goBackToCategories","fluid","password","LoginForm","userAuthentication","credentials","gender","email","confirmPassword","photo","editorRef","createRef","onFilesUploaded","current","getImage","toDataURL","replace","xl","RegisterPage","onRegisterPlayer","registerPlayer","confirmRegister","oldPassword","ChangePasswordForm","onSavePassword","onCancelChangePasswordForm","resetPassword","put","ForgotPasswordForm","onSendEmail","forgotPassword","AdminProfile","Object","keys","routes","menu","ImageUploader","handleNewImage","files","imageIsTooBig","handleScale","scale","parseFloat","handlePositionChange","position","handleRemoveImage","defaultAvatar","height","allowZoomOut","x","y","rotate","borderRadius","preview","ref","onPositionChange","max","step","defaultValue","sizeId","weight","birthdate","UserProfileForm","PlayerHistoryList","firstThree","place","UserProfile","openForm","openHistory","onOpenForm","onCloseForm","onSaveProfile","updateUserProfile","BreadcrumbComponent","links","Breadcrumb","link","isActive","active","cityID","information","managerId","facebookEventLink","contactEmail","contactPhone","TournamentsForm","imageTooBig","handleBigImages","isTooBig","usersOptions","rows","RankingsFilterForm","sm","Admin_Tournaments","openConfirm","editItem","deleteItem","res","closeForm","saveTournament","editTournament","addTournament","onConfirmDelete","deleteTournament","closeConfirm","bodyFormData","FormData","append","delete","numberOfMenTeamsRegistered","numberOfWomenTeamsRegistered","formattedFacebookLink","EventDocuments","handleDownloadFile","doc","file","fileType","TeamsFilterForm","onFilterTeams","statusOptions","EventPlayers","players","teamStatus","GamesFilterForm","teamsOptions","onFilterGames","scheduleOptions","EventGames","scheduleId","teamOneName","playerOneTeamOne","playerTwoTeamOne","teamTwoName","playerOneTeamTwo","playerTwoTeamTwo","finalScore","gameResultsDto","setResults","teamOneScore","teamTwoScore","TournamentRankingsFilterForm","onFilterRankings","EventRanking","tournamentID","SchedulesForm","SchedulesFilterForm","Admin_Schedule","saveSchedule","editSchedule","addSchedule","deleteSchedule","tournaments","teamOneId","teamTwoId","gameNumber","GamesForm","handleSelectCategory","SETS_INDEXES","GameScoreForm","game","Admin_Games","openScoreForm","gameItem","filterFormTeamsList","includeTeamsFromSystem","getFilterParams","teams","saveGame","editGame","addGame","deleteGame","onOpenEditFinalScoreForm","saveGameScore","editGameResults","addGameResults","scheduleName","gameId","TeamsForm","edit","onChangeTeamCategory","isPlayersDisabled","formProps","validateOnMount","validateOnBlur","v","noPlayersMessage","isValid","TeamFilterForm","Admin_Teams","handleChangeTeamCategory","saveTeam","editTeam","addTeam","deleteTeam","Badge","float","bg","FilesFilterForm","readInputFile","inputFile","fileReader","FileReader","resolve","onerror","abort","onloadend","readEndEvent","result","fileData","substr","readAsDataURL","AgreementFilesForm","uploadedFile","setUploadedFile","warning","setWarning","setError","CvFile","all","filesObjectList","onChangeHandler","accept","Admin_AgreementFiles","uploadFile","uploadTournamentDocument","deleteFile","onDownloadFile","documentID","PageInConstruction","Admin_Cities","PlayersForm","PlayersFilterForm","Admin_Players","deletePlayer","savePlayer","editPlayer","addPlayer","Admin_PlayersHistory","Admin_Sponsors","getSponsors","resetSponsors","Admin_TshirtSizes","points","RankingsForm","categoryOptions","tournamentRankingId","Admin_Rankings","deleteTournamentRankings","saveRankings","editTournamentRankings","addTournamentRankings","ReportsFilterForm","AdminReports","downloadTeamDetailsReport","downloadGamesTimetableReport","downloadFinalRankingReport","isAdmin","isSuperAdmin","Admin_Users","resetUsers","tournamentsByYear","tournamentYear","getTournamentsByYear","reverse","isManagerOrAdmin","Home","Ranking","Contact","TYPE","Admin_Schedules","Admin_Reports","LoginPage","ConfirmRegister","ChangePassword","ForgotPassword","Tournaments","EventBasicDetails","EventRankings","EventContact","RouterComponent","Layout","Navbar","removeNotification","setTimeout","Toast","onClose","clearTimeout","autohide","App","Notification","refreshLogin","resetPass","parse","authToken","current_time","Date","getTime","Boolean","hostname","ReactDOM","render","utils","MomentUtils","getElementById","navigator","serviceWorker","ready","then","registration","unregister"],"mappings":"gaAAaA,EACO,cADPA,EAEJ,KAFIA,EAII,MAJJA,EAMH,OANGA,EAQI,aAGJC,EACH,IADGA,EAEF,SAFEA,EAGA,WAHAA,EAIA,WAJAA,EAKF,SALEA,E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b,kBAAC,GAAD,QAGRyJ,SAASgmB,eAAe,SDkHtB,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMC,MAAK,SAAAC,GACjCA,EAAaC,kB","file":"static/js/main.eefe591f.chunk.js","sourcesContent":["export const TIME_FORMATS = {\n DAY_MONTH_YEAR: 'DD MMM YYYY',\n DAY: 'DD',\n NUMBERED_MONTH: 'MM',\n SHORT_MONTH: 'MMM',\n LONG_MONTH: 'MMMM',\n YEAR: 'YYYY',\n TIME:'HH:MM',\n API_REQUEST: 'YYYY-MM-DD'\n};\n\nexport const PATH_URLS = {\n HOME: '/',\n ABOUT: '/about',\n CONTACT: '/contact',\n RANKING: '/ranking',\n EVENT: '/event',\n LOGIN: '/login',\n REGISTER: '/register',\n CONFIRM_REGISTER: '/confirm',\n FORGOT_PASSWORD: '/forgot-password',\n CHANGE_PASSWORD: '/change-password',\n USER_PROFILE: '/player-profile',\n ADMIN_PROFILE: '/admin',\n ADMIN_TOURNAMENTS: '/tournaments',\n ADMIN_SCHEDULES: '/schedules',\n ADMIN_GAMES: '/games',\n ADMIN_TEAMS: '/teams',\n ADMIN_AGREEMENT_FILES: '/agreement-files',\n ADMIN_CITIES: '/cities',\n ADMIN_PLAYERS: '/players',\n ADMIN_PLAYERS_HISTORY: '/players-history',\n ADMIN_SPONSORS: '/sponsors',\n ADMIN_REGISTER: '/register',\n ADMIN_TSHIRT_SIZES: '/t-shirt-sizes',\n EVENT_DETAILS: '/details',\n EVENT_REGISTER: '/register',\n EVENT_TEAMS: '/teams',\n EVENT_SPONSORS: '/sponsors',\n EVENT_CONTACT: '/contact',\n EVENT_GAMES: '/games',\n ADMIN_TOURNAMENT_RANKINGS: '/rankings',\n ADMIN_REPORTS: '/reports',\n ADMIN_USERS: '/users',\n TOURNAMENTS: '/tournaments',\n};\n\nexport const SIDEBAR_ITEM_KEYS = {\n DETAILS: '/details',\n REGISTER: '/register',\n PLAYERS: '/players',\n // SPONSORS: 'sponsors',\n CONTACT: '/contact',\n TEAMS: '/teams',\n GAMES: '/games',\n DOCUMENTS: '/documents',\n RANKING: '/ranking',\n};\n\nexport const SIDEBAR_ITEM_DETAILS = [\n {key: SIDEBAR_ITEM_KEYS.DETAILS, title: 'Event Details'},\n {key: SIDEBAR_ITEM_KEYS.REGISTER, title: 'Register'},\n {key: SIDEBAR_ITEM_KEYS.TEAMS, title: 'Teams'},\n {key: SIDEBAR_ITEM_KEYS.GAMES, title: 'Games'},\n {key: SIDEBAR_ITEM_KEYS.RANKING, title: 'Rankings'},\n // {key: SIDEBAR_ITEM_KEYS.SPONSORS, title: 'Sponsors'},\n {key: SIDEBAR_ITEM_KEYS.DOCUMENTS, title: 'Files'},\n {key: SIDEBAR_ITEM_KEYS.CONTACT, title: 'Contact'},\n];\n\nexport const APIs = {\n SIZE: '/sizes',\n CITY: '/cities',\n TOURNAMENT: '/tournaments',\n MANAGER_TOURNAMENT: '/tournaments/managerTournaments',\n UPCOMING_TOURNAMENT: '/upcomingTournament',\n REGISTER: '/tournamentRegister',\n PLAYERS: '/players',\n CONFIRM_REGISTER: '/players/confirmRegister',\n TEAMS: '/teams',\n SCHEDULE: '/schedules',\n SPONSORS: '/sponsors',\n GAMES: '/games',\n GAME_RESULTS: '/gameResults',\n USER: '/user',\n USERS: '/users',\n DOCUMENTS: '/documents',\n RANK: '/rank',\n USER_PROFILE: '/userprofile',\n PLAYER_HISTORY: '/PlayerHistories',\n TOURNAMENT_RANKINGS: '/tournamentRankings',\n REPORT: '/reports',\n REPORT_TEAMS_DETAILS: '/reports/tournamentTeamDetails',\n REPORT_GAMES_TIMETABLE: '/reports/TournamentSchedule',\n REPORT_TEAMS_FINAL_RANKING: '/reports/TournamentRanking',\n};\n\nexport const SCREEN_WIDTH_SIZE = {\n XS: 575,\n SM: 767,\n MD: 991,\n LG: 1199,\n};\nexport const EVENT_CATEGORY = {\n MALE: 1,\n FEMALE: 2\n};\nexport const GENDER_CATEGORY_OPTIONS = [\n {id: 1, name: 'Men'},\n {id: 2, name: 'Women'}\n];\n\nexport const REGISTERED_TEAM_STATUS = {\n REGISTERED: 1,\n PENDING: 2,\n CONFIRMED: 3,\n CANCELLED: 4,\n};\nexport const REGISTERED_TEAM_STATUS_OPTIONS = [\n {id: REGISTERED_TEAM_STATUS.REGISTERED, name: 'Registered'},\n {id: REGISTERED_TEAM_STATUS.PENDING, name: 'Pending'},\n {id: REGISTERED_TEAM_STATUS.CONFIRMED, name: 'Confirmed'},\n {id: REGISTERED_TEAM_STATUS.CANCELLED, name: 'Withdrawn'}\n];\n\nexport const ACTIONS_TYPES = {\n ADD_NOTIFICATION: 'ADD_NOTIFICATION',\n REMOVE_NOTIFICATION: 'REMOVE_NOTIFICATION',\n LOGIN_INIT: 'LOGIN_INIT',\n LOGIN_SUCCESS: 'LOGIN_SUCCESS',\n LOGIN_FAILURE: 'LOGIN_FAILURE',\n RESET_PASSWORD_INIT: 'RESET_PASSWORD_INIT',\n RESET_PASSWORD_SUCCESS: 'RESET_PASSWORD_SUCCESS',\n RESET_PASSWORD_FAILURE: 'RESET_PASSWORD_FAILURE',\n FORGOT_PASSWORD_INIT: 'FORGOT_PASSWORD_INIT',\n FORGOT_PASSWORD_SUCCESS: 'FORGOT_PASSWORD_SUCCESS',\n FORGOT_PASSWORD_FAILURE: 'FORGOT_PASSWORD_FAILURE',\n REGISTER_PLAYER_INIT: 'REGISTER_PLAYER_INIT',\n REGISTER_PLAYER_SUCCESS: 'REGISTER_PLAYER_SUCCESS',\n REGISTER_PLAYER_FAILURE: 'REGISTER_PLAYER_FAILURE',\n CONFIRM_REGISTER_INIT: 'CONFIRM_REGISTER_INIT',\n CONFIRM_REGISTER_SUCCESS: 'CONFIRM_REGISTER_SUCCESS',\n CONFIRM_REGISTER_FAILURE: 'CONFIRM_REGISTER_FAILURE',\n LOGOUT_SUCCESS: 'LOGOUT_SUCCESS',\n SAVE_ITEM_INIT: 'SAVE_ITEM_INIT',\n SAVE_ITEM_SUCCESS: 'SAVE_ITEM_SUCCESS',\n SAVE_ITEM_FAILURE: 'SAVE_ITEM_FAILURE',\n GET_TOURNAMENTS_INIT: 'GET_TOURNAMENTS_INIT',\n GET_TOURNAMENTS_SUCCESS: 'GET_TOURNAMENTS_SUCCESS',\n GET_TOURNAMENTS_FAILURE: 'GET_TOURNAMENTS_FAILURE',\n GET_TOURNAMENT_BY_ID_INIT: 'GET_TOURNAMENT_BY_ID_INIT',\n GET_TOURNAMENT_BY_ID_SUCCESS: 'GET_TOURNAMENT_BY_ID_SUCCESS',\n GET_TOURNAMENT_BY_ID_FAILURE: 'GET_TOURNAMENT_BY_ID_FAILURE',\n GET_TOURNAMENTS_NAVBAR_INIT: 'GET_TOURNAMENTS_NAVBAR_INIT',\n GET_TOURNAMENTS_NAVBAR_SUCCESS: 'GET_TOURNAMENTS_NAVBAR_SUCCESS',\n GET_TOURNAMENTS_NAVBAR_FAILURE: 'GET_TOURNAMENTS_NAVBAR_FAILURE',\n GET_UPCOMING_TOURNAMENT_INIT: 'GET_UPCOMING_TOURNAMENT_INIT',\n GET_UPCOMING_TOURNAMENT_SUCCESS: 'GET_UPCOMING_TOURNAMENT_SUCCESS',\n GET_UPCOMING_TOURNAMENT_FAILURE: 'GET_UPCOMING_TOURNAMENT_FAILURE',\n GET_MANAGER_TOURNAMENTS_INIT: 'GET_MANAGER_TOURNAMENTS_INIT',\n GET_MANAGER_TOURNAMENTS_SUCCESS: 'GET_MANAGER_TOURNAMENTS_SUCCESS',\n GET_MANAGER_TOURNAMENTS_FAILURE: 'GET_MANAGER_TOURNAMENTS_FAILURE',\n GET_RANKING_INIT: 'GET_RANKING_INIT',\n GET_RANKING_SUCCESS: 'GET_RANKING_SUCCESS',\n GET_RANKING_FAILURE: 'GET_RANKING_FAILURE',\n GET_CITIES_INIT: 'GET_CITIES_INIT',\n GET_CITIES_SUCCESS: 'GET_CITIES_SUCCESS',\n GET_CITIES_FAILURE: 'GET_CITIES_FAILURE',\n GET_PLAYERS_INIT: 'GET_PLAYERS_INIT',\n GET_PLAYERS_SUCCESS: 'GET_PLAYERS_SUCCESS',\n GET_PLAYERS_FAILURE: 'GET_PLAYERS_FAILURE',\n GET_SIZES_INIT: 'GET_SIZES_INIT',\n GET_SIZES_SUCCESS: 'GET_SIZES_SUCCESS',\n GET_SIZES_FAILURE: 'GET_SIZES_FAILURE',\n GET_TEAMS_INIT: 'GET_TEAMS_INIT',\n GET_TEAMS_SUCCESS: 'GET_TEAMS_SUCCESS',\n GET_TEAMS_FAILURE: 'GET_TEAMS_FAILURE',\n GET_GAMES_INIT: 'GET_GAMES_INIT',\n GET_GAMES_SUCCESS: 'GET_GAMES_SUCCESS',\n GET_GAMES_FAILURE: 'GET_GAMES_FAILURE',\n GET_PLAYER_HISTORY_INIT: 'GET_PLAYER_HISTORY_INIT',\n GET_PLAYER_HISTORY_SUCCESS: 'GET_PLAYER_HISTORY_SUCCESS',\n GET_PLAYER_HISTORY_FAILURE: 'GET_PLAYER_HISTORY_FAILURE',\n GET_USER_PROFILE_INIT: 'GET_USER_PROFILE_INIT',\n GET_USER_PROFILE_SUCCESS: 'GET_USER_PROFILE_SUCCESS',\n GET_USER_PROFILE_FAILURE: 'GET_USER_PROFILE_FAILURE',\n GET_SCHEDULES_INIT: 'GET_SCHEDULES_INIT',\n GET_SCHEDULES_SUCCESS: 'GET_SCHEDULES_SUCCESS',\n GET_SCHEDULES_FAILURE: 'GET_SCHEDULES_FAILURE',\n GET_SPONSORS_INIT: 'GET_SPONSORS_INIT',\n GET_SPONSORS_SUCCESS: 'GET_SPONSORS_SUCCESS',\n GET_SPONSORS_FAILURE: 'GET_SPONSORS_FAILURE',\n GET_USERS_INIT: 'GET_USERS_INIT',\n GET_USERS_SUCCESS: 'GET_USERS_SUCCESS',\n GET_USERS_FAILURE: 'GET_USERS_FAILURE',\n GET_TOURNAMENT_RANKINGS_INIT: 'GET_TOURNAMENT_RANKINGS_INIT',\n GET_TOURNAMENT_RANKINGS_SUCCESS: 'GET_TOURNAMENT_RANKINGS_SUCCESS',\n GET_TOURNAMENT_RANKINGS_FAILURE: 'GET_TOURNAMENT_RANKINGS_FAILURE',\n DOWNLOAD_REPORT_INIT: 'DOWNLOAD_REPORT_INIT',\n DOWNLOAD_REPORT_SUCCESS: 'DOWNLOAD_REPORT_SUCCESS',\n DOWNLOAD_REPORT_FAILURE: 'DOWNLOAD_REPORT_FAILURE',\n GET_DOCUMENTS_INIT: 'GET_DOCUMENTS_INIT',\n GET_DOCUMENTS_SUCCESS: 'GET_DOCUMENTS_SUCCESS',\n GET_DOCUMENTS_FAILURE: 'GET_DOCUMENTS_FAILURE',\n UPLOAD_DOCUMENTS_INIT: 'UPLOAD_DOCUMENTS_INIT',\n UPLOAD_DOCUMENTS_SUCCESS: 'UPLOAD_DOCUMENTS_SUCCESS',\n UPLOAD_DOCUMENTS_FAILURE: 'UPLOAD_DOCUMENTS_FAILURE',\n};\n\nexport const LOCAL_STORAGE_TAGS = {\n BVR_USER_TOKEN: 'BVR_USER_TOKEN',\n BVR_MUST_RESET_PASSWORD: 'BVR_MUST_RESET_PASSWORD',\n BVR_USER_PROFILE: 'BVR_USER_PROFILE',\n BVR_EVENT_DETAILS: 'BVR_EVENT_DETAILS',\n};\n\nexport const PERMISSIONS = {\n Tournaments: 'Tournaments',\n Games: 'Games',\n Teams: 'Teams',\n Sizes: 'Sizes',\n Cities: 'Cities',\n Register: 'Register',\n Agreements: 'Agreements',\n RolePermissions: 'RolePermissions',\n Players: 'Players',\n PlayerHistories: 'PlayerHistories',\n PlayerNumberSizes: 'PlayerNumberSizes',\n Schedules: 'Schedules',\n Sponsors: 'Sponsors',\n TournamentRankings: 'TournamentRankings',\n Users: 'Users',\n SuperAdmin: 'Super',\n};\n\nexport const PERMISSION_TYPES={\n ADMIN: 'ADMIN',\n VIEW: 'VIEW',\n ADD:'ADD',\n UPDATE:'UPDATE',\n DELETE:'DELETE',\n};\n\nexport const ROLE_TYPES={\n SUPER_ADMIN: 'SuperAdmin',\n ADMIN: 'IsAdmin',\n MANAGER: 'TournamentManager'\n};\nexport const NOTIFICATION_DEFAULT_TIMEOUT = 7000;\nexport const NOTIFICATION_ANIMATION = 'fade up'; //semantic ui enum\n\nexport const ADMIN_MENU_CATEGORY = {\n TOURNAMENTS: 'Tournaments',\n PLAYERS: 'Players',\n GENERAL: 'General Information',\n};\n\nexport const DOC_TYPES = {\n RULES: 1,\n TERMS_CONDITIONS: 2,\n OTHER: 3\n};\n","import moment from 'moment';\nimport {REGISTERED_TEAM_STATUS_OPTIONS, TIME_FORMATS} from \"constants/index\";\nimport jwt from 'jsonwebtoken';\nimport {LOCAL_STORAGE_TAGS} from \"constants/index\";\nimport _ from 'lodash';\n\nexport const getToken = () => {\n return localStorage.getItem(LOCAL_STORAGE_TAGS.BVR_USER_TOKEN);\n};\n\nexport const getUsername = () => {\n const parseJwt = jwt.decode(getToken());\n return _.get(parseJwt, 'http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name', []);\n};\nexport const getUserName = () => {\n const parseJwt = jwt.decode(getToken());\n return _.get(parseJwt, 'Name', []);\n};\n\nexport const checkPermission = (permission, type) => {\n const parseJwt = jwt.decode(getToken());\n const permissions = _.get(parseJwt, 'Permission', []);\n const index = permissions.indexOf(`${type}_${permission}`);\n return index !== -1;\n};\n\nexport const checkRole = (role) => {\n const parseJwt = jwt.decode(getToken());\n const jwtRoles = _.get(parseJwt, 'http://schemas.microsoft.com/ws/2008/06/identity/claims/role', []);\n const index = jwtRoles.indexOf(role);\n return index !== -1;\n};\n\nexport const getAge = (birthdate) => {\n return moment().diff(moment(birthdate), 'years');\n};\n\nexport const getRemainingTime = (start) => {\n let remainingTime = {};\n \n let days = moment(start).diff(moment(), 'days');\n \n let x = moment().add(days, 'days');\n let hours = moment(start).diff(moment(x), 'hours');\n \n let y = moment(x).add(hours, 'hours');\n let minutes = moment(start).diff(moment(y), 'minutes');\n \n let z = moment(y).add(minutes, 'minutes');\n \n remainingTime.days = days;\n remainingTime.hours = hours;\n remainingTime.minutes = minutes;\n remainingTime.seconds = moment(start).diff(moment(z), 'seconds');\n \n return remainingTime;\n};\n\nexport const getFormattedPeriod = (start, end) => {\n if (start && end) {\n let startDay = moment(start).format(TIME_FORMATS.DAY);\n let endDay = moment(end).format(TIME_FORMATS.DAY);\n let year = moment(start).format(TIME_FORMATS.YEAR);\n \n let startMonth;\n let endMonth;\n if (moment(start).month() === moment(end).month()) {\n startMonth = moment(start).format(TIME_FORMATS.SHORT_MONTH);\n return `${startDay} - ${endDay} ${startMonth} ${year}`;\n } else {\n startMonth = moment(start).format(TIME_FORMATS.SHORT_MONTH);\n endMonth = moment(end).format(TIME_FORMATS.SHORT_MONTH);\n return `${startDay} ${startMonth} - ${endDay} ${endMonth} ${year}`;\n }\n } else if (start && !end) {\n let startDay = moment(start).format(TIME_FORMATS.DAY);\n let year = moment(start).format(TIME_FORMATS.YEAR);\n let startMonth = moment(start).format(TIME_FORMATS.SHORT_MONTH);\n return `${startDay} ${startMonth} ${year} - /`;\n } else if (!start && end) {\n let endDay = moment(end).format(TIME_FORMATS.DAY);\n let year = moment(end).format(TIME_FORMATS.YEAR);\n let endMonth = moment(end).format(TIME_FORMATS.SHORT_MONTH);\n return `/ - ${endDay} ${endMonth} ${year}`;\n }\n \n};\n\nexport const getFormattedURL = (url) => {\n if (url) {\n let result = url.substring(0, 5);\n if (result === 'http') {\n return url;\n }\n return `http://${url}`;\n }\n return '';\n \n};\n\nexport const getSplitTitle = (text) => {\n let hasDash;\n if (text) {\n hasDash = text.search(\"-\") !== -1;\n if (hasDash) {\n let title = text.split(\" - \")[0];\n let subtitle = text.split(\" - \")[1];\n return {\n title: title,\n subtitle: subtitle\n };\n } else return {title: text, subtitle: null};\n } else return {title: null};\n \n};\n\nexport const getCollapsedText = (text, length = 20) => {\n let minCollapsingLength = length;\n if (text && text.length > minCollapsingLength)\n return `${text.substring(0, minCollapsingLength)} ... `;\n return text;\n};\n\nexport const getTeamsOptions = (list = []) => list.map(item => (\n {\n id: item.teamId,\n name: item.teamName\n } || []\n));\n\nexport const getUsersOptions = (list = []) => list.map(item => (\n {\n id: item.userId,\n name: item.username\n } || []\n));\n\n\n// export const getImageBlob = (b64Data) => {\n// const splitDataURI = b64Data.split(',')\n// const byteString = splitDataURI[0].indexOf('base64') >= 0 ? atob(splitDataURI[1]) : decodeURI(splitDataURI[1])\n// const mimeString = splitDataURI[0].split(':')[1].split(';')[0];\n//\n// const ia = new Uint8Array(byteString.length)\n// for (let i = 0; i < byteString.length; i++)\n// ia[i] = byteString.charCodeAt(i)\n//\n// return new Blob([ia], { type: mimeString });\n//\n// };\nexport function getImageBlob(b64Data, contentType, sliceSize) {\n contentType = contentType || 'image/png';\n sliceSize = sliceSize || 512;\n \n let byteCharacters = atob(b64Data);\n let byteArrays = [];\n \n for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {\n let slice = byteCharacters.slice(offset, offset + sliceSize);\n \n let byteNumbers = new Array(slice.length);\n for (let i = 0; i < slice.length; i++) {\n byteNumbers[i] = slice.charCodeAt(i);\n }\n \n let byteArray = new Uint8Array(byteNumbers);\n \n byteArrays.push(byteArray);\n }\n \n let blob = new Blob(byteArrays, {type: contentType});\n return blob;\n}\n\nexport const getYearsOptions = () => {\n let yearsList = [];\n let minYear = 2020;\n let maxYear = moment().year() + 1;\n \n for (let i = minYear; i <= maxYear; i++) {\n yearsList.push({id: i, name: i});\n }\n return yearsList;\n};\n\nexport const getTeamStatusName = status => {\n let name = null;\n let statusDetails = REGISTERED_TEAM_STATUS_OPTIONS.find(sts => status === sts.id);\n if (statusDetails) {\n name = statusDetails.name;\n }\n return name;\n};\n\nexport function getCalculatedNumberOfTeams(allowed, registrationDetails) {\n const registeredAndConfirmed = registrationDetails.Registered + registrationDetails.Confirmed;\n const isFullDraw = allowed - registeredAndConfirmed <= 0;\n const availableSpotsOnDraw = isFullDraw ? 0 : allowed - registeredAndConfirmed;\n const pendingTeams = registrationDetails.Pending;\n const withdrawnTeams = registrationDetails.Cancelled;\n \n return {\n allowed,\n isFullDraw,\n availableSpotsOnDraw,\n pendingTeams,\n withdrawnTeams\n };\n}\n\nexport const getCategoryOptions =()=> [{id:1,name: 'Men'},{id:2,name:'Women'}];\nexport const getTeamsStatusOptions=()=>[{id:'REGISTERED',name:\"Registered\"},{id:'CONFIRMED',name:'Confirmed'},{\n id:'PENDING', name:'Pending'},{id:'WITHDRAWN', name:'Withdrawn'}];","import {ACTIONS_TYPES} from \"constants/index\";\n\nconst initialState = () => ({\n loading: false,\n loadingLogin: false,\n saveLoading: false,\n tournamentsList: [],\n managerTournamentsList: [],\n token: null,\n isLoggedIn: false,\n citiesList: [],\n rankingList:[],\n playersList:[],\n teamsList:[],\n gamesList:[],\n messages: [],\n userProfile:{},\n schedulesList: [],\n loadingPlayers:false,\n sponsorsList:[],\n usersList:[],\n tournamentRankingsList:[],\n upcomingTournament: [],\n tournamentsNavbarList: [],\n downloadLoading: false,\n loadingMainEvent: false,\n managerTournamentsLoading: false,\n historyLoading: false,\n loadingTournamentDetails: false,\n tournamentDetails: {},\n documents:[]\n});\n\nlet reducer = {};\n\n//region AUTHENTICATION\nreducer[ACTIONS_TYPES.LOGIN_INIT] = (state) => ({\n ...state,\n loadingLogin: true\n});\nreducer[ACTIONS_TYPES.LOGIN_SUCCESS] = (state, action) => ({\n ...state,\n loadingLogin: false,\n token: action.payload,\n isLoggedIn: true\n});\nreducer[ACTIONS_TYPES.LOGIN_FAILURE] = (state) => ({\n ...state,\n loadingLogin: false,\n token: null,\n isLoggedIn: false\n});\nreducer[ACTIONS_TYPES.RESET_PASSWORD_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.RESET_PASSWORD_SUCCESS] = (state) => ({\n ...state,\n loading: false,\n isLoggedIn: true\n});\nreducer[ACTIONS_TYPES.RESET_PASSWORD_FAILURE] = (state) => ({\n ...state,\n loading: false,\n isLoggedIn: false\n});\nreducer[ACTIONS_TYPES.FORGOT_PASSWORD_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.FORGOT_PASSWORD_SUCCESS] = (state) => ({\n ...state,\n loading: false,\n});\nreducer[ACTIONS_TYPES.FORGOT_PASSWORD_FAILURE] = (state) => ({\n ...state,\n loading: false,\n});\nreducer[ACTIONS_TYPES.REGISTER_PLAYER_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.REGISTER_PLAYER_SUCCESS] = (state) => ({\n ...state,\n loading: false,\n});\nreducer[ACTIONS_TYPES.REGISTER_PLAYER_FAILURE] = (state) => ({\n ...state,\n loading: false,\n});\nreducer[ACTIONS_TYPES.CONFIRM_REGISTER_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.CONFIRM_REGISTER_SUCCESS] = (state) => ({\n ...state,\n loading: false,\n});\nreducer[ACTIONS_TYPES.CONFIRM_REGISTER_FAILURE] = (state) => ({\n ...state,\n loading: false,\n});\n\nreducer[ACTIONS_TYPES.LOGOUT_SUCCESS] = (state) => ({\n ...state,\n loading: false,\n token: null,\n isLoggedIn: false\n});\n\nreducer[ACTIONS_TYPES.GET_USER_PROFILE_INIT] = (state,action) => ({\n ...state,\n loading: true,\n});\nreducer[ACTIONS_TYPES.GET_USER_PROFILE_SUCCESS] = (state,action) => ({\n ...state,\n userProfile: action.payload,\n loading: false,\n});\nreducer[ACTIONS_TYPES.GET_USER_PROFILE_FAILURE] = (state,action) => ({\n ...state,\n loading: false,\n userProfile:{}\n});\n//endregion AUTHENTICATION\n\nreducer[ACTIONS_TYPES.SAVE_ITEM_INIT] = (state) => ({\n ...state,\n saveLoading: true\n});\nreducer[ACTIONS_TYPES.SAVE_ITEM_SUCCESS] = (state, action) => ({\n ...state,\n saveLoading: false,\n});\nreducer[ACTIONS_TYPES.SAVE_ITEM_FAILURE] = (state) => ({\n ...state,\n saveLoading: false,\n});\n\n//region TOURNAMENTS\nreducer[ACTIONS_TYPES.GET_TOURNAMENTS_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENTS_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n tournamentsList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENTS_FAILURE] = (state) => ({\n ...state,\n loading: false,\n tournamentsList: []\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENT_BY_ID_INIT] = (state) => ({\n ...state,\n loadingTournamentDetails: true\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENT_BY_ID_SUCCESS] = (state, action) => ({\n ...state,\n loadingTournamentDetails: false,\n tournamentDetails: action.payload\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENT_BY_ID_FAILURE] = (state) => ({\n ...state,\n loadingTournamentDetails: false,\n tournamentDetails: {}\n});\n\nreducer[ACTIONS_TYPES.GET_TOURNAMENTS_NAVBAR_INIT] = (state) => ({\n ...state,\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENTS_NAVBAR_SUCCESS] = (state, action) => ({\n ...state,\n tournamentsNavbarList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENTS_NAVBAR_FAILURE] = (state) => ({\n ...state,\n tournamentsNavbarList: []\n});\nreducer[ACTIONS_TYPES.GET_MANAGER_TOURNAMENTS_INIT] = (state) => ({\n ...state,\n managerTournamentsLoading: true\n});\nreducer[ACTIONS_TYPES.GET_MANAGER_TOURNAMENTS_SUCCESS] = (state, action) => ({\n ...state,\n managerTournamentsLoading: false,\n managerTournamentsList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_MANAGER_TOURNAMENTS_FAILURE] = (state) => ({\n ...state,\n managerTournamentsLoading: false,\n managerTournamentsList: []\n});\nreducer[ACTIONS_TYPES.GET_UPCOMING_TOURNAMENT_INIT] = (state) => ({\n ...state,\n loadingMainEvent: true\n});\nreducer[ACTIONS_TYPES.GET_UPCOMING_TOURNAMENT_SUCCESS] = (state, action) => ({\n ...state,\n loadingMainEvent: false,\n upcomingTournament: action.payload\n});\nreducer[ACTIONS_TYPES.GET_UPCOMING_TOURNAMENT_FAILURE] = (state) => ({\n ...state,\n loadingMainEvent: false,\n upcomingTournament: []\n});\n//endregion TOURNAMENTS\n//\n// region CITIES\nreducer[ACTIONS_TYPES.GET_CITIES_INIT] = (state) => ({\n ...state,\n // loading: true\n});\nreducer[ACTIONS_TYPES.GET_CITIES_SUCCESS] = (state, action) => ({\n ...state,\n // loading: false,\n citiesList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_CITIES_FAILURE] = (state) => ({\n ...state,\n // loading: false,\n citiesList: []\n});\n//endregion CITIES\n\n// region RANKING\nreducer[ACTIONS_TYPES.GET_RANKING_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_RANKING_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n rankingList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_RANKING_FAILURE] = (state) => ({\n ...state,\n loading: false,\n rankingList: []\n});\n//endregion RANKING\n\n// region PLAYERS\nreducer[ACTIONS_TYPES.GET_PLAYERS_INIT] = (state) => ({\n ...state,\n loadingPlayers: true\n});\nreducer[ACTIONS_TYPES.GET_PLAYERS_SUCCESS] = (state, action) => ({\n ...state,\n loadingPlayers: false,\n playersList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_PLAYERS_FAILURE] = (state) => ({\n ...state,\n loadingPlayers: false,\n playersList: []\n});\n//endregion PLAYERS\n//\n// region PLAYERS\nreducer[ACTIONS_TYPES.GET_SIZES_INIT] = (state) => ({\n ...state,\n // loading: true\n});\nreducer[ACTIONS_TYPES.GET_SIZES_SUCCESS] = (state, action) => ({\n ...state,\n // loading: false,\n sizesList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_SIZES_FAILURE] = (state) => ({\n ...state,\n // loading: false,\n sizesList: []\n});\n//endregion PLAYERS\n//\n// region TEAMS\nreducer[ACTIONS_TYPES.GET_TEAMS_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_TEAMS_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n teamsList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_TEAMS_FAILURE] = (state) => ({\n ...state,\n loading: false,\n teamsList: []\n});\n//endregion TEAMS\n//\n// region GAMES\nreducer[ACTIONS_TYPES.GET_GAMES_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_GAMES_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n gamesList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_GAMES_FAILURE] = (state) => ({\n ...state,\n loading: false,\n gamesList: []\n});\n//endregion GAMES\n//\n// region PLAYER HISTORY\nreducer[ACTIONS_TYPES.GET_PLAYER_HISTORY_INIT] = (state) => ({\n ...state,\n historyLoading: true\n});\nreducer[ACTIONS_TYPES.GET_PLAYER_HISTORY_SUCCESS] = (state, action) => ({\n ...state,\n historyLoading: false,\n playerHistory: action.payload\n});\nreducer[ACTIONS_TYPES.GET_PLAYER_HISTORY_FAILURE] = (state) => ({\n ...state,\n historyLoading: false,\n playerHistory: []\n});\n//endregion PLAYER HISTORY\n//\n// region SCHEDULES\nreducer[ACTIONS_TYPES.GET_SCHEDULES_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_SCHEDULES_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n schedulesList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_SCHEDULES_FAILURE] = (state) => ({\n ...state,\n loading: false,\n schedulesList: []\n});\n//endregion SCHEDULES\n//\n// region SPONSORS\nreducer[ACTIONS_TYPES.GET_SPONSORS_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_SPONSORS_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n sponsorsList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_SPONSORS_FAILURE] = (state) => ({\n ...state,\n loading: false,\n sponsorsList: []\n});\n//endregion SPONSORS\n//\n// region USERS\nreducer[ACTIONS_TYPES.GET_USERS_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_USERS_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n usersList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_USERS_FAILURE] = (state) => ({\n ...state,\n loading: false,\n usersList: []\n});\n//endregion USERS\n//\n// region TOURNAMENT RANKINGS\nreducer[ACTIONS_TYPES.GET_TOURNAMENT_RANKINGS_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENT_RANKINGS_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n tournamentRankingsList: action.payload\n});\nreducer[ACTIONS_TYPES.GET_TOURNAMENT_RANKINGS_FAILURE] = (state) => ({\n ...state,\n loading: false,\n tournamentRankingsList: []\n});\n//endregion TOURNAMENT RANKINGS\n\n// region DOWNLOAD\nreducer[ACTIONS_TYPES.DOWNLOAD_REPORT_INIT] = (state) => ({\n ...state,\n downloadLoading: true\n});\nreducer[ACTIONS_TYPES.DOWNLOAD_REPORT_SUCCESS] = (state, action) => ({\n ...state,\n downloadLoading: false,\n});\nreducer[ACTIONS_TYPES.DOWNLOAD_REPORT_FAILURE] = (state) => ({\n ...state,\n downloadLoading: false,\n});\n//endregion DOWNLOAD\n\n// region GET FILES\nreducer[ACTIONS_TYPES.GET_DOCUMENTS_INIT] = (state) => ({\n ...state,\n loading: true\n});\nreducer[ACTIONS_TYPES.GET_DOCUMENTS_SUCCESS] = (state, action) => ({\n ...state,\n loading: false,\n documents: action.payload\n});\nreducer[ACTIONS_TYPES.GET_DOCUMENTS_FAILURE] = (state) => ({\n ...state,\n loading: false,\n});\n//endregion GET FILES\n// region UPLOAD FILES\nreducer[ACTIONS_TYPES.UPLOAD_DOCUMENTS_INIT] = (state) => ({\n ...state,\n saveLoading: true\n});\nreducer[ACTIONS_TYPES.UPLOAD_DOCUMENTS_SUCCESS] = (state) => ({\n ...state,\n saveLoading: false,\n});\nreducer[ACTIONS_TYPES.UPLOAD_DOCUMENTS_FAILURE] = (state) => ({\n ...state,\n saveLoading: false,\n});\n//endregion UPLOAD FILES\n\n//region NOTIFICATION REDUCER\n\nconst createNotification = (() => {\n let id = 0;\n return (notification) => {\n const currentId = id++;\n return {\n id: currentId,\n message: notification.message,\n timeout: undefined,\n iconType: notification.icon,\n iconColor: notification.color,\n className: notification.className,\n };\n };\n})();\n\nreducer[ACTIONS_TYPES.ADD_NOTIFICATION] = (state, action) => {\n const notification = action.payload;\n const message = createNotification(notification);\n const messages = state.messages.concat(message);\n return {\n ...state,\n messages,\n };\n};\nreducer[ACTIONS_TYPES.REMOVE_NOTIFICATION] = (state, action) => {\n const notificationId = action.payload;\n const messages = [].concat(state.messages).filter((message) => message.id !== notificationId);\n return {\n ...state,\n messages,\n };\n};\n\n//endregion NOTIFICATION REDUCER\n\nconst mainReducer = (state = initialState(), action) => {\n return reducer[action.type] ? reducer[action.type](state, action) : state;\n};\n\nexport default mainReducer;","import appReducer from './app';\n\nconst reducers = {\n appReducer,\n};\n\nexport default reducers;\n","import { createStore, combineReducers, applyMiddleware, compose } from \"redux\";\nimport thunk from \"redux-thunk\";\nimport { createBrowserHistory } from \"history\";\nimport reducers from \"reducers\";\nimport { routerMiddleware, connectRouter } from \"connected-react-router\";\n\nconst createRootReducer = (history) =>\n combineReducers({\n ...reducers,\n router: connectRouter(history),\n });\n\nexport const history = createBrowserHistory();\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\n\nconst configureStore = (initialState) => {\n const store = createStore(\n createRootReducer(history),\n initialState,\n composeEnhancers(applyMiddleware(routerMiddleware(history), thunk))\n );\n\n return store;\n};\n\nconst store = configureStore();\n\nexport default store;\n","import Axios from 'axios';\nimport {getToken} from 'utils/index';\nimport store from 'config/redux';\nimport * as AppActions from 'actions';\n\nconst headers = {\n 'Accept': 'application/json'\n // 'Content-Type': 'application/json'\n};\nconst token = getToken();\n\nif (token) {\n headers.Authorization = `Bearer ${token}`;\n}\nelse {\n // headers.Authorization = undefined;\n}\nconst http = Axios.create({\n baseURL: 'https://beachvolleyromania.ro/WebApi/api/', //PROD ENV\n // baseURL: 'http://dev.beachvolleyromania.ro/WebApi/api/', //DEV ENV\n headers\n});\n\nhttp.interceptors.response.use((response) => {\n return response;\n },\n (error) => {\n if (error && error.response) {\n if(error.response.data.error.message){\n store.dispatch(AppActions.notifyError(error.response.data.error.message));\n }\n else {\n store.dispatch(AppActions.notifyError('Something went wrong. Try again or contact the support team.'));\n }\n \n }\n return Promise.reject(error);\n }\n);\n\nexport default http;","import React from 'react';\nimport http from \"config/http\";\nimport {APIs, ACTIONS_TYPES, LOCAL_STORAGE_TAGS, PATH_URLS} from 'constants/index';\nimport jwt from 'jsonwebtoken';\nimport {push} from 'react-router-redux';\nimport {checkRole, getToken} from 'utils/index';\n\nexport const switchRoute = path => (dispatch) => {\n dispatch(push(path));\n};\n//region NOTIFICATIONS\nconst notify = (icon, color, className) => (message) => (dispatch) => {\n return dispatch(\n addNotification({\n icon,\n color,\n className,\n message\n })\n );\n};\n\nexport const notifySuccess = notify('success', '#139680', 'notification-success');\nexport const notifyWarning = notify('warning', '#fd9a03', 'notification-warning');\nexport const notifyError = notify('error', '#961329', 'notification-error');\n\nconst addNotification = (payload) => ({type: ACTIONS_TYPES.ADD_NOTIFICATION, payload});\nexport const removeNotification = (payload) => (dispatch) => dispatch({\n type: ACTIONS_TYPES.REMOVE_NOTIFICATION,\n payload\n});\n\n//endregion NOTIFICATIONS\n\n//region AUTHENTICATION\nexport const refreshLogin = () => async dispatch => {\n const resetPass = localStorage.getItem(LOCAL_STORAGE_TAGS.BVR_MUST_RESET_PASSWORD);\n const userProfile = JSON.parse(localStorage.getItem(LOCAL_STORAGE_TAGS.BVR_USER_PROFILE));\n if (resetPass === 'true') {\n await dispatch(switchRoute(PATH_URLS.CHANGE_PASSWORD));\n // dispatch(onFirstLoginResetPass(true));\n }\n else {\n const authToken = getToken();\n const parseJwt = jwt.decode(authToken);\n let current_time = new Date().getTime() / 1000;\n \n if (authToken) {\n if ((parseJwt && current_time > parseJwt['exp']) || authToken === '') {\n dispatch(notifyWarning('Your authentication token has expired! '));\n dispatch(logout());\n dispatch(getUserProfileFailure());\n }\n else {\n dispatch(getUserProfileSuccess(userProfile));\n dispatch(loginSuccess(authToken));\n }\n }\n }\n};\n\nexport const login = (body) => async dispatch => {\n dispatch(loginInit());\n let response;\n try {\n response = await http.post(APIs.USER, body);\n }\n catch (e) {\n dispatch(loginFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n \n if (response.data && response.data.token) {\n \n http.defaults.headers['Authorization'] = `Bearer ${response.data.token}`;\n \n await dispatch(getUserProfile());\n if (response.data.mustReset) {\n dispatch(loginSuccess(response.data.token));\n dispatch(switchRoute(PATH_URLS.CHANGE_PASSWORD));\n localStorage.setItem(LOCAL_STORAGE_TAGS.BVR_MUST_RESET_PASSWORD, response.data.mustReset);\n }\n else {\n localStorage.setItem(LOCAL_STORAGE_TAGS.BVR_USER_TOKEN, response.data.token);\n dispatch(loginSuccess(response.data.token));\n if (checkRole('SuperAdmin')) {\n dispatch(switchRoute(PATH_URLS.ADMIN_PROFILE));\n }\n else {\n dispatch(switchRoute(PATH_URLS.HOME));\n }\n dispatch(notifySuccess('Login success'));\n }\n \n return response.data;\n }\n};\n\nconst loginInit = () => ({type: ACTIONS_TYPES.LOGIN_INIT});\nconst loginSuccess = (payload) => ({type: ACTIONS_TYPES.LOGIN_SUCCESS, payload});\nconst loginFailure = () => ({type: ACTIONS_TYPES.LOGIN_FAILURE});\n\nexport const logout = () => dispatch => {\n localStorage.removeItem(LOCAL_STORAGE_TAGS.BVR_USER_TOKEN);\n localStorage.removeItem(LOCAL_STORAGE_TAGS.BVR_MUST_RESET_PASSWORD);\n localStorage.removeItem(LOCAL_STORAGE_TAGS.BVR_USER_PROFILE);\n dispatch(logoutSuccess());\n dispatch(switchRoute(PATH_URLS.LOGIN));\n};\nconst logoutSuccess = () => ({type: ACTIONS_TYPES.LOGOUT_SUCCESS});\n\nexport const resetPassword = (credentials) => async dispatch => {\n dispatch(resetPasswordInit());\n try {\n await http.put(`${APIs.USERS}/${credentials.userId}`, credentials);\n dispatch(resetPasswordSuccess());\n dispatch(switchRoute(PATH_URLS.USER_PROFILE));\n localStorage.removeItem(LOCAL_STORAGE_TAGS.BVR_MUST_RESET_PASSWORD);\n dispatch(notifySuccess('Password changed'));\n }\n catch (e) {\n dispatch(resetPasswordFailure());\n dispatch(notifyError('Password cannot be changed'));\n }\n};\nconst resetPasswordInit = () => ({type: ACTIONS_TYPES.RESET_PASSWORD_INIT});\nconst resetPasswordSuccess = (payload) => ({type: ACTIONS_TYPES.RESET_PASSWORD_SUCCESS, payload});\nconst resetPasswordFailure = () => ({type: ACTIONS_TYPES.RESET_PASSWORD_FAILURE});\n\nexport const forgotPassword = (body) => async dispatch => {\n dispatch(forgotPasswordInit());\n try {\n await http.put(`${APIs.USERS}?email=${body.email}`);\n dispatch(forgotPasswordSuccess());\n dispatch(switchRoute(PATH_URLS.LOGIN));\n dispatch(notifySuccess('You should receive an e-mail soon with your new password.'));\n }\n catch (e) {\n dispatch(forgotPasswordFailure());\n dispatch(notifyError('Something went wrong. Please try again!'));\n }\n};\nconst forgotPasswordInit = () => ({type: ACTIONS_TYPES.FORGOT_PASSWORD_INIT});\nconst forgotPasswordSuccess = (payload) => ({type: ACTIONS_TYPES.FORGOT_PASSWORD_SUCCESS, payload});\nconst forgotPasswordFailure = () => ({type: ACTIONS_TYPES.FORGOT_PASSWORD_FAILURE});\n\n\nexport const registerPlayer = (body) => async dispatch => {\n dispatch(registerPlayerInit());\n try {\n await http.post(APIs.PLAYERS, body);\n dispatch(registerPlayerSuccess());\n dispatch(notifySuccess('Your account have successfully been created. You just have to confirm it from your e-mail.'));\n dispatch(switchRoute(PATH_URLS.LOGIN));\n }\n catch (e) {\n dispatch(registerPlayerFailure());\n dispatch(notifyError('An error occurred. Your account has not been created !'));\n }\n};\nconst registerPlayerInit = () => ({type: ACTIONS_TYPES.REGISTER_PLAYER_INIT});\nconst registerPlayerSuccess = (payload) => ({type: ACTIONS_TYPES.REGISTER_PLAYER_SUCCESS, payload});\nconst registerPlayerFailure = () => ({type: ACTIONS_TYPES.REGISTER_PLAYER_FAILURE});\n\n\nexport const confirmRegister = (params) => async dispatch => {\n dispatch(confirmRegisterInit());\n try {\n await http.get(APIs.CONFIRM_REGISTER, {params});\n \n localStorage.setItem(LOCAL_STORAGE_TAGS.BVR_USER_TOKEN, params.token);\n http.defaults.headers['Authorization'] = `Bearer ${params.token}`;\n \n await dispatch(getUserProfile());\n dispatch(loginSuccess(params.token));\n \n dispatch(confirmRegisterSuccess());\n dispatch(notifySuccess('Welcome! You have successfully logged in.'));\n dispatch(switchRoute(PATH_URLS.HOME));\n }\n catch (e) {\n dispatch(confirmRegisterFailure());\n dispatch(switchRoute(PATH_URLS.LOGIN));\n dispatch(notifyError('An error occurred. Your account has not been confirmed !'));\n }\n};\nconst confirmRegisterInit = () => ({type: ACTIONS_TYPES.CONFIRM_REGISTER_INIT});\nconst confirmRegisterSuccess = (payload) => ({type: ACTIONS_TYPES.CONFIRM_REGISTER_SUCCESS, payload});\nconst confirmRegisterFailure = () => ({type: ACTIONS_TYPES.CONFIRM_REGISTER_FAILURE});\n\n\n//endregion AUTHENTICATION\n\n//region USER PROFILEf\n\nexport const getUserProfile = () => async dispatch => {\n dispatch(getUserProfileInit());\n try {\n const response = await http.get(APIs.USER_PROFILE);\n dispatch(getUserProfileSuccess(response.data));\n localStorage.setItem(LOCAL_STORAGE_TAGS.BVR_USER_PROFILE, JSON.stringify(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getUserProfileFailure());\n }\n};\nexport const updateUserProfile = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.put(`${APIs.USER_PROFILE}/${body.id}`, body);\n dispatch(saveItemSuccess());\n dispatch(notifySuccess('Your profile information was successfully updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error occurred. Your profile information could not have been saved !'));\n }\n};\n\nconst getUserProfileInit = () => ({type: ACTIONS_TYPES.GET_USER_PROFILE_INIT});\nconst getUserProfileSuccess = (payload) => ({type: ACTIONS_TYPES.GET_USER_PROFILE_SUCCESS, payload});\nconst getUserProfileFailure = () => ({type: ACTIONS_TYPES.GET_USER_PROFILE_FAILURE});\n//endregion USER PROFILE\n\nconst saveItemInit = () => ({type: ACTIONS_TYPES.SAVE_ITEM_INIT});\nconst saveItemSuccess = (payload) => ({type: ACTIONS_TYPES.SAVE_ITEM_SUCCESS, payload});\nconst saveItemFailure = () => ({type: ACTIONS_TYPES.SAVE_ITEM_FAILURE});\n\n//region TOURNAMENTS\nexport const getTournaments = (params) => async dispatch => {\n dispatch(getTournamentsInit());\n try {\n const response = await http.get(APIs.TOURNAMENT, {params});\n dispatch(getTournamentsSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getTournamentsFailure());\n }\n};\nexport const resetTournaments = () => dispatch => dispatch(getTournamentsSuccess([]));\nconst getTournamentsInit = () => ({type: ACTIONS_TYPES.GET_TOURNAMENTS_INIT});\nconst getTournamentsSuccess = (payload) => ({type: ACTIONS_TYPES.GET_TOURNAMENTS_SUCCESS, payload});\nconst getTournamentsFailure = () => ({type: ACTIONS_TYPES.GET_TOURNAMENTS_FAILURE});\n\nexport const getTournamentById = (id) => async dispatch => {\n dispatch(getTournamentByIdInit());\n try {\n const response = await http.get(`${APIs.TOURNAMENT}/${id}`);\n dispatch(getTournamentByIdSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getTournamentByIdFailure());\n }\n};\nexport const resetTournamentById = () => dispatch => dispatch(getTournamentByIdSuccess([]));\nconst getTournamentByIdInit = () => ({type: ACTIONS_TYPES.GET_TOURNAMENT_BY_ID_INIT});\nconst getTournamentByIdSuccess = (payload) => ({type: ACTIONS_TYPES.GET_TOURNAMENT_BY_ID_SUCCESS, payload});\nconst getTournamentByIdFailure = () => ({type: ACTIONS_TYPES.GET_TOURNAMENT_BY_ID_FAILURE});\n\nexport const getTournamentsNavBar = (params) => async dispatch => {\n dispatch(getTournamentsNavBarInit());\n try {\n const response = await http.get(APIs.TOURNAMENT, {params});\n dispatch(getTournamentsNavBarSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getTournamentsNavBarFailure());\n }\n};\nexport const resetTournamentsNavBar = () => dispatch => dispatch(getTournamentsNavBarSuccess([]));\nconst getTournamentsNavBarInit = () => ({type: ACTIONS_TYPES.GET_TOURNAMENTS_NAVBAR_INIT});\nconst getTournamentsNavBarSuccess = (payload) => ({type: ACTIONS_TYPES.GET_TOURNAMENTS_NAVBAR_SUCCESS, payload});\nconst getTournamentsNavBarFailure = () => ({type: ACTIONS_TYPES.GET_TOURNAMENTS_NAVBAR_FAILURE});\n\n\nexport const getManagerTournaments = (params) => async dispatch => {\n dispatch(getManagerTournamentsInit());\n try {\n const response = await http.get(APIs.MANAGER_TOURNAMENT, {params});\n dispatch(getManagerTournamentsSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getManagerTournamentsFailure());\n }\n};\n\nexport const resetManagerTournaments = () => dispatch => dispatch(getManagerTournamentsSuccess([]));\nconst getManagerTournamentsInit = () => ({type: ACTIONS_TYPES.GET_MANAGER_TOURNAMENTS_INIT});\nconst getManagerTournamentsSuccess = (payload) => ({type: ACTIONS_TYPES.GET_MANAGER_TOURNAMENTS_SUCCESS, payload});\nconst getManagerTournamentsFailure = () => ({type: ACTIONS_TYPES.GET_MANAGER_TOURNAMENTS_FAILURE});\n\n\nexport const getUpcomingTournament = () => async dispatch => {\n dispatch(getUpcomingTournamentInit());\n try {\n const response = await http.get(APIs.UPCOMING_TOURNAMENT);\n dispatch(getUpcomingTournamentSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getUpcomingTournamentFailure());\n }\n};\nconst getUpcomingTournamentInit = () => ({type: ACTIONS_TYPES.GET_UPCOMING_TOURNAMENT_INIT});\nconst getUpcomingTournamentSuccess = (payload) => ({type: ACTIONS_TYPES.GET_UPCOMING_TOURNAMENT_SUCCESS, payload});\nconst getUpcomingTournamentFailure = () => ({type: ACTIONS_TYPES.GET_UPCOMING_TOURNAMENT_FAILURE});\n\n\nexport const addTournament = (body) => async dispatch => {\n dispatch(saveItemInit());\n const bodyFormData = new FormData();\n Object.keys(body).map(key => {\n if (body[key]) {\n bodyFormData.append(key, body[key]);\n }\n \n });\n try {\n const response = await http.post(APIs.TOURNAMENT, bodyFormData);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('New tournament added'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const editTournament = (body) => async dispatch => {\n dispatch(saveItemInit());\n const bodyFormData = new FormData();\n Object.keys(body).map(key => {\n if (body[key]) {\n bodyFormData.append(key, body[key]);\n }\n });\n try {\n const response = await http.put(`${APIs.TOURNAMENT}/${body.id}`, bodyFormData);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Tournament updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nexport const deleteTournament = (body) => async dispatch => {\n dispatch(saveItemInit());\n \n try {\n const response = await http.delete(`${APIs.TOURNAMENT}/${body.id}`);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Tournament removed'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\n//endregion TOURNAMENTS\n\n\n// region REGISTER TEAM\nexport const registerTeam = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.post(APIs.REGISTER, body);\n dispatch(saveItemSuccess());\n dispatch(notifySuccess('Successfully registered !'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n// endregion REGISTER TEAM\n\n//region RANKING\nexport const getRanking = (params) => async dispatch => {\n dispatch(getRankingInit());\n try {\n const response = await http.get(APIs.RANK, {params});\n dispatch(getRankingSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getRankingFailure());\n }\n};\nexport const resetRanking = () => dispatch => dispatch(getRankingSuccess([]));\nconst getRankingInit = () => ({type: ACTIONS_TYPES.GET_RANKING_INIT});\nconst getRankingSuccess = (payload) => ({type: ACTIONS_TYPES.GET_RANKING_SUCCESS, payload});\nconst getRankingFailure = () => ({type: ACTIONS_TYPES.GET_RANKING_FAILURE});\n//endregion RANKING\n\n//region CITIES\nexport const getCities = () => async dispatch => {\n dispatch(getCitiesInit());\n try {\n const response = await http.get(APIs.CITY);\n dispatch(getCitiesSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getCitiesFailure());\n }\n};\nexport const resetCities = () => dispatch => dispatch(getCitiesSuccess([]));\nconst getCitiesInit = () => ({type: ACTIONS_TYPES.GET_CITIES_INIT});\nconst getCitiesSuccess = (payload) => ({type: ACTIONS_TYPES.GET_CITIES_SUCCESS, payload});\nconst getCitiesFailure = () => ({type: ACTIONS_TYPES.GET_CITIES_FAILURE});\n\n//endregion CITIES\n//\n// region SIZES\nexport const getSizes = () => async dispatch => {\n dispatch(getSizesInit());\n try {\n const response = await http.get(APIs.SIZE);\n dispatch(getSizesSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getSizesFailure());\n }\n};\nexport const resetSizes = () => dispatch => dispatch(getSizesSuccess([]));\nconst getSizesInit = () => ({type: ACTIONS_TYPES.GET_SIZES_INIT});\nconst getSizesSuccess = (payload) => ({type: ACTIONS_TYPES.GET_SIZES_SUCCESS, payload});\nconst getSizesFailure = () => ({type: ACTIONS_TYPES.GET_SIZES_FAILURE});\n\n//endregion SIZES\n//\n// region PLAYERS\nexport const getPlayers = (params) => async dispatch => {\n dispatch(getPlayersInit());\n try {\n const response = await http.get(APIs.PLAYERS, {params});\n dispatch(getPlayersSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getPlayersFailure());\n }\n};\nexport const resetPlayers = () => dispatch => dispatch(getPlayersSuccess([]));\nconst getPlayersInit = () => ({type: ACTIONS_TYPES.GET_PLAYERS_INIT});\nconst getPlayersSuccess = (payload) => ({type: ACTIONS_TYPES.GET_PLAYERS_SUCCESS, payload});\nconst getPlayersFailure = () => ({type: ACTIONS_TYPES.GET_PLAYERS_FAILURE});\n\nexport const addPlayer = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.post(APIs.PLAYERS, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('New player added'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const editPlayer = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.put(`${APIs.PLAYERS}/${body.id}`, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Player updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nexport const deletePlayer = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.delete(`${APIs.PLAYERS}/${body.id}`);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Team removed'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\n//endregion PLAYERS\n//\n// region TEAMS\nexport const getTeams = (params) => async dispatch => {\n dispatch(getTeamsInit());\n try {\n const response = await http.get(APIs.TEAMS, {params});\n dispatch(getTeamsSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getTeamsFailure());\n }\n};\nexport const resetTeams = () => dispatch => dispatch(getTeamsSuccess([]));\nconst getTeamsInit = () => ({type: ACTIONS_TYPES.GET_TEAMS_INIT});\nconst getTeamsSuccess = (payload) => ({type: ACTIONS_TYPES.GET_TEAMS_SUCCESS, payload});\nconst getTeamsFailure = () => ({type: ACTIONS_TYPES.GET_TEAMS_FAILURE});\n\nexport const addTeam = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.post(APIs.TEAMS, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('New team added'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const editTeam = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.put(`${APIs.TEAMS}/${body.teamId}`, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Team updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nexport const deleteTeam = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.delete(`${APIs.TEAMS}/${body.teamId}`);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Team removed'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\n//endregion TEAMS\n//\n// region GAMES\nexport const getGames = (params) => async dispatch => {\n dispatch(getGamesInit());\n try {\n const response = await http.get(APIs.GAMES, {params});\n dispatch(getGamesSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getGamesFailure());\n }\n};\nexport const resetGames = () => dispatch => dispatch(getGamesSuccess([]));\nconst getGamesInit = () => ({type: ACTIONS_TYPES.GET_GAMES_INIT});\nconst getGamesSuccess = (payload) => ({type: ACTIONS_TYPES.GET_GAMES_SUCCESS, payload});\nconst getGamesFailure = () => ({type: ACTIONS_TYPES.GET_GAMES_FAILURE});\n\nexport const addGame = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.post(APIs.GAMES, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('New game added'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const editGame = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.put(`${APIs.GAMES}/${body.id}`, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Game updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nexport const deleteGame = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.delete(`${APIs.GAMES}/${body.id}`);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Game removed'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nexport const addGameResults = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.post(APIs.GAME_RESULTS, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Game results added'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const editGameResults = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.put(`${APIs.GAME_RESULTS}`, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Game results updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n//endregion GAMES\n//\n// region PLAYER HISTORY\nexport const getPlayerHistory = (params) => async dispatch => {\n dispatch(getPlayerHistoryInit());\n try {\n const response = await http.get(APIs.PLAYER_HISTORY, {params});\n dispatch(getPlayerHistorySuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getPlayerHistoryFailure());\n }\n};\nexport const resetPlayerHistory = () => dispatch => dispatch(getPlayerHistorySuccess([]));\nconst getPlayerHistoryInit = () => ({type: ACTIONS_TYPES.GET_PLAYER_HISTORY_INIT});\nconst getPlayerHistorySuccess = (payload) => ({type: ACTIONS_TYPES.GET_PLAYER_HISTORY_SUCCESS, payload});\nconst getPlayerHistoryFailure = () => ({type: ACTIONS_TYPES.GET_PLAYER_HISTORY_FAILURE});\n\n//endregion PLAYER HISTORY\n//\n// region SCHEDULES\nexport const getSchedules = (params) => async dispatch => {\n dispatch(getSchedulesInit());\n try {\n const response = await http.get(APIs.SCHEDULE, {params});\n dispatch(getSchedulesSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getSchedulesFailure());\n }\n};\nexport const resetSchedules = () => dispatch => dispatch(getSchedulesSuccess([]));\nconst getSchedulesInit = () => ({type: ACTIONS_TYPES.GET_SCHEDULES_INIT});\nconst getSchedulesSuccess = (payload) => ({type: ACTIONS_TYPES.GET_SCHEDULES_SUCCESS, payload});\nconst getSchedulesFailure = () => ({type: ACTIONS_TYPES.GET_SCHEDULES_FAILURE});\n\nexport const addSchedule = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.post(APIs.SCHEDULE, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('New schedule added'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const editSchedule = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.put(`${APIs.SCHEDULE}/${body.id}`, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Schedule updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nexport const deleteSchedule = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.delete(`${APIs.SCHEDULE}/${body.id}`);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Schedule removed'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\n//endregion SCHEDULES\n//\n// region TOURNAMENT RANKINGS\nexport const getTournamentRankings = (params) => async dispatch => {\n dispatch(getTournamentRankingsInit());\n try {\n const response = await http.get(APIs.TOURNAMENT_RANKINGS, {params});\n dispatch(getTournamentRankingsSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getTournamentRankingsFailure());\n }\n};\nexport const resetTournamentRankings = () => dispatch => dispatch(getTournamentRankingsSuccess([]));\nconst getTournamentRankingsInit = () => ({type: ACTIONS_TYPES.GET_TOURNAMENT_RANKINGS_INIT});\nconst getTournamentRankingsSuccess = (payload) => ({type: ACTIONS_TYPES.GET_TOURNAMENT_RANKINGS_SUCCESS, payload});\nconst getTournamentRankingsFailure = () => ({type: ACTIONS_TYPES.GET_TOURNAMENT_RANKINGS_FAILURE});\n\nexport const addTournamentRankings = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.post(APIs.TOURNAMENT_RANKINGS, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('New ranking added'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const editTournamentRankings = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.put(`${APIs.TOURNAMENT_RANKINGS}/${body.tournamentRankingId}`, body);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Ranking updated'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nexport const deleteTournamentRankings = (body) => async dispatch => {\n dispatch(saveItemInit());\n try {\n const response = await http.delete(`${APIs.TOURNAMENT_RANKINGS}/${body.tournamentRankingId}`);\n dispatch(saveItemSuccess(response.data));\n dispatch(notifySuccess('Ranking removed'));\n return response.data;\n }\n catch (e) {\n dispatch(saveItemFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\n//endregion TOURNAMENT RANKINGS\n\n// region SPONSORS\nexport const getSponsors = (params) => async dispatch => {\n dispatch(getSponsorsInit());\n try {\n const response = await http.get(APIs.SPONSORS, {params});\n dispatch(getSponsorsSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getSponsorsFailure());\n }\n};\nexport const resetSponsors = () => dispatch => dispatch(getSponsorsSuccess([]));\nconst getSponsorsInit = () => ({type: ACTIONS_TYPES.GET_SPONSORS_INIT});\nconst getSponsorsSuccess = (payload) => ({type: ACTIONS_TYPES.GET_SPONSORS_SUCCESS, payload});\nconst getSponsorsFailure = () => ({type: ACTIONS_TYPES.GET_SPONSORS_FAILURE});\n\n//endregion SPONSORS\n\nexport const getUsers = (params) => async dispatch => {\n dispatch(getUsersInit());\n try {\n const response = await http.get(APIs.USERS, {params});\n dispatch(getUsersSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getUsersFailure());\n }\n};\n\nexport const resetUsers = () => dispatch => dispatch(getUsersSuccess([]));\nconst getUsersInit = () => ({type: ACTIONS_TYPES.GET_USERS_INIT});\nconst getUsersSuccess = (payload) => ({type: ACTIONS_TYPES.GET_USERS_SUCCESS, payload});\nconst getUsersFailure = () => ({type: ACTIONS_TYPES.GET_USERS_FAILURE});\n\n\nconst saveAs = (blob, fileName) => {\n let url = window.URL.createObjectURL(blob);\n \n let anchorElem = document.createElement('a');\n anchorElem.href = url;\n anchorElem.download = fileName;\n document.body.appendChild(anchorElem);\n anchorElem.click();\n document.body.removeChild(anchorElem);\n};\nexport const base64ToArrayBuffer = (data) => {\n const base64 = data.fileContents;\n let binaryString = atob(base64);\n let byteNumbers = new Array(binaryString.length);\n for (let i = 0; i < binaryString.length; i++) {\n byteNumbers[i] = binaryString.charCodeAt(i);\n }\n let byteArray = new Uint8Array(byteNumbers);\n let blob = new Blob([byteArray], {\n type: data.contentType\n });\n let fileName = data.fileDownloadName;\n saveAs(blob, fileName);\n};\n\n\nexport const downloadTeamDetailsReport = (params) => async dispatch => {\n dispatch(downloadReportInit());\n try {\n const response = await http.get(APIs.REPORT_TEAMS_DETAILS, {params});\n base64ToArrayBuffer(response.data);\n \n dispatch(downloadReportSuccess());\n dispatch(notifySuccess('Report downloaded'));\n }\n catch (e) {\n dispatch(downloadReportFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const downloadGamesTimetableReport = (params) => async dispatch => {\n dispatch(downloadReportInit());\n try {\n const response = await http.get(APIs.REPORT_GAMES_TIMETABLE, {params});\n base64ToArrayBuffer(response.data);\n \n dispatch(downloadReportSuccess());\n dispatch(notifySuccess('Report downloaded'));\n }\n catch (e) {\n dispatch(downloadReportFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\nexport const downloadFinalRankingReport = (params) => async dispatch => {\n dispatch(downloadReportInit());\n try {\n const response = await http.get(APIs.REPORT_TEAMS_FINAL_RANKING, {params});\n base64ToArrayBuffer(response.data);\n \n dispatch(downloadReportSuccess());\n dispatch(notifySuccess('Report downloaded'));\n }\n catch (e) {\n dispatch(downloadReportFailure());\n dispatch(notifyError('An error has occurred !'));\n }\n};\n\nconst downloadReportInit = () => ({type: ACTIONS_TYPES.DOWNLOAD_REPORT_INIT});\nconst downloadReportSuccess = (payload) => ({type: ACTIONS_TYPES.DOWNLOAD_REPORT_SUCCESS, payload});\nconst downloadReportFailure = () => ({type: ACTIONS_TYPES.DOWNLOAD_REPORT_FAILURE});\n\nexport const getTournamentDocuments = (params) => async dispatch => {\n dispatch(getTournamentDocumentsInit());\n try {\n const response = await http.get(APIs.DOCUMENTS, {params});\n dispatch(getTournamentDocumentsSuccess(response.data));\n return response.data;\n }\n catch (e) {\n dispatch(getTournamentDocumentsFailure());\n }\n};\n\nexport const resetDocuments = () => dispatch => dispatch(getTournamentDocumentsSuccess([]));\nconst getTournamentDocumentsInit = () => ({type: ACTIONS_TYPES.GET_DOCUMENTS_INIT});\nconst getTournamentDocumentsSuccess = (payload) => ({type: ACTIONS_TYPES.GET_DOCUMENTS_SUCCESS, payload});\nconst getTournamentDocumentsFailure = () => ({type: ACTIONS_TYPES.GET_DOCUMENTS_FAILURE});\n\nexport const uploadTournamentDocument = (body) => async dispatch => {\n dispatch(uploadTournamentDocumentInit());\n try {\n await http.post(APIs.DOCUMENTS, body);\n dispatch(uploadTournamentDocumentSuccess());\n }\n catch (e) {\n dispatch(uploadTournamentDocumentFailure());\n }\n};\n\nconst uploadTournamentDocumentInit = () => ({type: ACTIONS_TYPES.UPLOAD_DOCUMENTS_INIT});\nconst uploadTournamentDocumentSuccess = (payload) => ({type: ACTIONS_TYPES.UPLOAD_DOCUMENTS_SUCCESS, payload});\nconst uploadTournamentDocumentFailure = () => ({type: ACTIONS_TYPES.UPLOAD_DOCUMENTS_FAILURE});\n\nexport const deleteFile = (file) => async dispatch => {\n try {\n await http.delete(`${APIs.DOCUMENTS}/${file.documentID}`);\n }\n catch (e) {\n }\n};\n","import React, {Fragment} from 'react';\nimport 'style/index.css';\nimport {Nav, NavDropdown, Row, Col} from 'react-bootstrap';\nimport {House} from 'react-bootstrap-icons';\nimport {PATH_URLS, SIDEBAR_ITEM_KEYS} from \"constants/index\";\nimport {checkRole, getFormattedPeriod, getSplitTitle, getUserName} from \"utils\";\nimport * as AppActions from 'actions';\nimport {connect} from 'react-redux';\nimport moment from 'moment';\nimport {ROLE_TYPES} from 'constants/index';\n\nclass NavbarMenu extends React.Component {\n render() {\n const {events = [], isLoggedIn, logout} = this.props;\n let userName = getUserName();\n return (\n
\n {indexColumn &&\n \n \n }\n {header.map((item, index) => {\n let displayValue;\n if (typeof displayData[index] === 'object') {\n displayValue = displayData[index].display;\n } else {\n displayValue = displayData[index];\n }\n return (\n # {index + 1} \n \n \n );\n })}\n {(editable || removable || otherButtons || otherIndependentButtons) &&\n \n {item.display}\n \n \n {displayValue}\n \n \n {otherIndependentButtons && otherIndependentButtons.map((button, index) => (\n \n }\n button.action(dataItem)}>\n {button.icon}\n \n ))}\n {removable &&\n onDeleteItem(dataItem)}>\n \n }\n {editable &&\n onEditItem(dataItem)}>\n \n }\n {otherButtons && otherButtons.map((button, index) => (\n button.action(dataItem)}>\n {button.icon}\n \n ))}\n | \n
# | \n }\n {header.map((item, index) => (\n{item.display} | \n ))}\n {(editable || removable) &&\n\n | \n }\n
---|---|---|
{index + 1} | \n }\n {displayData.map((value, index) => {\n let displayValue;\n if (typeof value === 'object') {\n displayValue = value.display;\n } else {\n displayValue = value;\n }\n return (\n{displayValue} | \n );\n })}\n {(editable || removable || otherButtons || otherIndependentButtons) &&\n\n {otherIndependentButtons && otherIndependentButtons.map((button, index) => (\n button.action(dataItem)}>\n {button.icon}\n \n ))}\n {(editable || removable || otherButtons) &&\n button.action(dataItem)}>\n {button.icon} {button.label}\n \n ))}\n {editable &&\n onEditItem(dataItem)}>\n \n }\n {removable &&\n onDeleteItem(dataItem)}>\n \n }\n \n \n | \n }\n
\n \n
\n Welcome to Beach Volley Romania!\n
\n\n This is an online platform dedicated to the amateur beach volleyball players community. Here you can be up-to-date with all the beach volleyball events that matter to you, see the registered teams, games schedules, results and rankings!\n
\n\n
\n
{tournamentDetails.information}\n \n {tournamentDetails.facebookEventLink &&\n