{"version":3,"sources":["constants/enums.js","constants/index.js","lib/hooks.js","store/users/actions.js","components/core/Loader.js","api/endpoints/fetchUsersWithRelations.js","store/analytics/constants.js","store/users/constants.js","store/auth/authSlice.js","auth/Auth0Provider.js","auth/index.js","components/PrivateRoute.js","components/core/Toast.js","components/core/Notifications.js","App.js","reportWebVitals.js","store/app/reducer.js","store/users/reducer.js","store/analytics/reducer.js","store/networkCampaigns/constants.js","store/networkCampaigns/reducer.js","store/facebook/constants.js","store/facebook/reducer.js","store/refreshData/constants.js","store/refreshData/reducer.js","store/accountManager/constants.js","store/accountManager/reducer.js","store/adAccounts/constants.js","store/adAccounts/reducer.js","store/pixel/constants.js","store/pixel/reducer.js","store/adGenerator/reducer.js","store/accountingAndActivity/constants.js","store/accountingAndActivity/reducer.js","store/columnPresets/reducer.js","store/AppReducers.js","store/index.js","components/GlobalStyles.js","api/AuthInject.js","index.js","store/app/constants.js","store/adGenerator/constants.js","store/columnPresets/constants.js","api/api.js","store/app/actions.js","context/NotificationContext.js"],"names":["FetchStatus","SUCCESS","FAILURE","PENDING","UserRoles","ADMIN","MEDIA_BUYER","DataSourcesNames","DataSources","trafficSources","FACEBOK","name","dataIndex","disabled","image","src","GOOGLE","OUTBRAIN","networks","CROSSROADS","AMG","PROPER","SYSTEM1","role","alwaysPresentColumns","nonSortableColumns","useRedux","keys","eqFunc","arguments","length","undefined","isequal","dispatch","useDispatch","useSelector","store","keyList","Array","isArray","mapped","forEach","key","value","includes","get","push","useWindowSize","windowSize","setWindowSize","useState","width","height","useEffect","handleResize","window","innerWidth","innerHeight","addEventListener","removeEventListener","baseURL","process","addUsersErrors","data","type","ADD_USERS_ERRORS","payload","receiveUsersForMenuData","RECEIVE_USERS_FOR_MENU_DATA","setFetchUserAccountsStatus","status","SET_FETCH_USER_ACCOUNTS_STATUS","fetchUserAccounts","token","permissions","async","toLowerCase","url","concat","axios","user","headers","Authorization","eligibleAccounts","filter","account","RECEIVE_USER_ACCOUNTS_DATA","receiveUserAccountsData","response","Container","styled","div","_templateObject","_taggedTemplateLiteral","props","Loader","_ref","_jsx","children","Spin","size","fetchUsersWithRelations","api","params","error","console","ADD_NETWORK_ERRORS","REMOVE_NETWORK_ERRORS","SET_FETCH_NETWORK_STATUS","RECEIVE_NETWORK_DATA","RECEIVE_NETWORK_BY_CAMPAIGN_ID_DATA","RECEIVE_FACEBOOK_NETWORK_DATA","RECEIVE_GOOGLE_NETWORK_DATA","SET_FETCH_NETWORK_CAMPAIGN_ID_STATUS","SET_FETCH_NETWORK_FACEBOOK_STATUS","SET_FETCH_NETWORK_GOOGLE_STATUS","SET_FETCH_NETWORK_CAMPAIGN_BY_RANGE_STATUS","RECEIVE_NETWORK_CAMPAIGN_BY_RANGE","SET_FETCH_NETWORK_HOURLY_STATUS","RECEIVE_NETWORK_HOURLY_DATA","SET_FETCH_NETWORK_HOURLY_CAMPAIGN_STATUS","RECEIVE_NETWORK_HOURLY_CAMPAIGN_DATA","SET_FETCH_AD_ACCOUNT_VIEW_STATUS","RECEIVE_AD_ACCOUNT_VIEW_DATA","SET_FETCH_NETWORK_CAMPAIGN_VIEW_STATUS","RECEIVE_NETWORK_CAMPAIGN_VIEW_DATA","REMOVE_USERS_ERRORS","SET_FETCH_USERS_FOR_MENU_STATUS","fetchAuthData","createAsyncThunk","rejectWithValue","email","image_url","picture","nickname","sub","post","message","addFacebookAccount","addGoogleAccount","code","addOutbrainAccount","userObj","reauthorizeFacebook","accountId","reauthorizeGoogle","deleteAccount","delete","authSlice","createSlice","initialState","errors","fetchAuthStatus","addFacebookAccountStatus","addGoogleAccountStatus","reauthorizeFacebookStatus","reauthorizeGoogleStatus","deleteAccountStatus","addOutbrainAccountStatus","authData","facebookAccountData","googleAccountData","outbrainAccountData","reducers","setToken","state","action","addAuthErrors","removeAuthErrors","setFetchAuthStatus","extraReducers","builder","addCase","pending","fulfilled","rejected","actions","AuthWrapper","isAuthenticated","getAccessTokenSilently","useAuth0","history","useHistory","usersWithAdAccounts","accessToken","permission","setMediaBuyerId","isAdmin","_Fragment","propTypes","PropTypes","node","Auth0ProviderWithHistory","Auth0Provider","_ref2","domain","clientId","redirectUri","location","origin","onRedirectCallback","appState","returnTo","pathname","scope","audience","useRefreshTokens","PrivateRoute","component","args","_objectWithoutProperties","_excluded","Route","_objectSpread","withAuthenticationRequired","Toaster","notification","Notification","setNotification","onClose","_jsxs","className","onClick","Notifications","notifications","removeNotification","useNotifications","map","id","Dashboard","lazy","LoginPage","PrivacyPolicy","TermsOfService","AppStyle","App","isLoading","pageLoader","Switch","Suspense","fallback","exact","path","reportWebVitals","onPerfEntry","Function","then","getCLS","getFID","getFCP","getLCP","getTTFB","mediaBuyerInitials","adAccountId","usersReducer","SET_MEDIA_BUYER_ID","SET_AD_ACCOUNT_ID","SET_NOTIFICATION","SET_TOKEN","fetchUsersForMenuStatus","fetchUserAccountsStatus","userAccountsData","usersDataForMenu","fetchNetworkStatus","fetchNetworkFacebookStatus","fetchNetworkGoogleStatus","fetchNetworkCampaignIdStatus","fetchNetworkCampaignByRangeStatus","fetchNetworkHourlyStatus","fetchNetworkHourlyCampaignStatus","fetchAdAccountViewStatus","fetchNetworkCampaignViewStatus","networkDataByMediaBuyer","networkByCampaignIdData","networkFacebookData","networkGoogleData","networkCampaignByRangeData","networkHourlyData","networkHourlyCampaignData","adAccountViewData","networkCampaignViewData","analyticsReducer","networkCampaigns","networkCampaignsStatus","networkCampaignsReducer","fetchFacebookStatus","facebookData","identity","facebookReducer","refreshDataStatus","refreshDataReducer","campaignsData","campaignsCount","accountManagerReducer","adAccounts","adAccountsReducer","pixels","pixelsReducer","googleSpreadsheetId","googleSpreadsheetGenerateStatus","storedRequest","storedRequestStatus","requests","requestsStatus","adGeneratorReducer","CREATE_GOOGLE_SPREADSHEET_ERRORS","GOOGLE_SPREADSHEET_GENERATE_STATUS","CREATE_GOOGLE_SPREADSHET","STORE_REQUEST_ERRORS","STORE_REQUEST_STATUS","STORE_REQUEST","FETCH_REQUESTS_ERRORS","FETCH_REQUESTS_STATUS","FETCH_REQUESTS","crossroadsTotalsData","crossroadsTotalsDataByMediaBuyers","mediaBuyersActivityReport","accountingAndActivityReducer","columnPresets","columnPresetsStatus","createColumnPresetStatus","deleteColumnPresetStatus","columnPresetsReducer","GET_COLUMN_PRESETS_ERRORS","GET_COLUMN_PRESETS_STATUS","GET_COLUMN_PRESETS","CREATE_COLUMN_PRESET_ERRORS","CREATE_COLUMN_PRESET_STATUS","CREATE_COLUMN_PRESET","DELETE_COLUMN_PRESET_ERRORS","DELETE_COLUMN_PRESET_STATUS","DELETE_COLUMN_PRESET","columnPreset","combineReducers","app","appReducer","auth","analytics","facebook","users","refresh","accountManager","adGenerator","accountingAndActivity","persistConfig","storage","persistedReducer","persistReducer","AppReducers","configureStore","reducer","middleware","thunk","devTools","persistor","persistStore","GlobalStyle","createGlobalStyle","normalize","AuthInject","setAuthGetterEffluxBE","setAuthGetterLauncherBE","ReactDOM","render","Router","Provider","PersistGate","loading","NotificationProvider","document","getElementById","create","launcherAPI","cronAPI","getTokenEffluxBE","getTokenLauncherBE","tokenGetter","interceptors","request","use","config","e","parsedData","split","item","join","NotificationContext","createContext","REMOVE_NOTIFICATION","notificationReducer","log","useReducer","addNotification","Date","now","setTimeout","useContext"],"mappings":"+GAAA,sGAAO,MAAMA,EAAc,CACzBC,QAAS,UACTC,QAAS,UACTC,QAAS,WAGEC,EAAY,CACvBC,MAAO,QACPC,YAAa,eAGFC,EACD,WADCA,EAEH,SAFGA,EAGD,WAHCA,EAIC,aAJDA,EAKN,MALMA,EAMH,SANGA,EAOF,WAGEC,EAAc,CACzBC,eAAgB,CACdC,QAAS,CACPC,KAAMJ,EACNK,UAAW,WACXC,UAAU,EACVC,MAAO,CACLC,IAAK,yBAGTC,OAAQ,CACNL,KAAMJ,EACNK,UAAW,SACXC,UAAU,EACVC,MAAO,CACLC,IAAK,uBAGTE,SAAU,CACRN,KAAMJ,EACNK,UAAW,WACXC,UAAU,EACVC,MAAO,CACLC,IAAK,0BA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AAM2F,EAAKqK,KAAKC,MAChBzW,EAAS,CACP+B,KA1BmB,mBA2BnBE,QAAS,CAAEkK,KAAI3F,aAIjBkQ,YAAW,KACT1W,EAAS,CAAE+B,KAAMoU,EAAqBlU,QAASkK,GAAK,GACnD,IAAK,EAS+DH,mBAL7CG,IAC1BnM,EAAS,CAAE+B,KAAMoU,EAAqBlU,QAASkK,GAAK,GAIwClI,SACzFA,GAC4B,EAUtBgI,EAAmBA,IAAM0K,qBAAWV,E","file":"static/js/main.0e933029.chunk.js","sourcesContent":["export const FetchStatus = {\n SUCCESS: 'success',\n FAILURE: 'failure',\n PENDING: 'pending'\n};\n\nexport const UserRoles = {\n ADMIN: 'admin',\n MEDIA_BUYER: 'media_buyer'\n};\n\nexport const DataSourcesNames = {\n FACEBOOK: 'Facebook',\n GOOGLE: 'Google',\n OUTBRAIN: 'Outbrain',\n CROSSROADS: 'Crossroads',\n AMG: 'AMG',\n PROPER: 'Proper',\n SYSTEM1: 'System 1'\n};\n\nexport const DataSources = {\n trafficSources: {\n FACEBOK: {\n name: DataSourcesNames.FACEBOOK,\n dataIndex: 'facebook',\n disabled: false,\n image: {\n src: '/images/facebook.png'\n }\n },\n GOOGLE: {\n name: DataSourcesNames.GOOGLE,\n dataIndex: 'google',\n disabled: true,\n image: {\n src: '/images/google.png'\n }\n },\n OUTBRAIN: {\n name: DataSourcesNames.OUTBRAIN,\n dataIndex: 'outbrain',\n disabled: true,\n image: {\n src: '/images/outbrain.png'\n }\n }\n },\n networks: {\n CROSSROADS: {\n name: DataSourcesNames.CROSSROADS,\n dataIndex: 'crossroads',\n disabled: false,\n image: {\n src: '/images/crossroads.png'\n }\n },\n AMG: {\n name: DataSourcesNames.AMG,\n dataIndex: 'amg',\n disabled: true,\n image: {\n src: '/images/amg.png'\n }\n },\n PROPER: {\n name: DataSourcesNames.PROPER,\n dataIndex: 'proper',\n disabled: true,\n image: {\n src: '/images/sovrn.png'\n }\n },\n SYSTEM1: {\n name: DataSourcesNames.SYSTEM1,\n dataIndex: 'system1',\n disabled: true,\n image: {\n src: '/images/system1.png'\n }\n }\n }\n};\n\nexport const DataSourcesArr = {\n trafficSources: [\n {\n name: DataSourcesNames.FACEBOOK,\n dataIndex: 'facebook',\n disabled: false,\n image: {\n src: '/images/facebook.png'\n }\n },\n {\n name: DataSourcesNames.GOOGLE,\n dataIndex: 'google',\n disabled: true,\n image: {\n src: '/images/google.png'\n }\n },\n {\n name: DataSourcesNames.OUTBRAIN,\n dataIndex: 'outbrain',\n disabled: true,\n image: {\n src: '/images/outbrain.png'\n }\n }\n ],\n networks: [\n {\n name: DataSourcesNames.CROSSROADS,\n dataIndex: 'crossroads',\n disabled: false,\n image: {\n src: '/images/crossroads.png'\n }\n },\n {\n name: DataSourcesNames.AMG,\n dataIndex: 'amg',\n disabled: true,\n image: {\n src: '/images/amg.png'\n }\n },\n {\n name: DataSourcesNames.PROPER,\n dataIndex: 'proper',\n disabled: true,\n image: {\n src: '/images/sovrn.png'\n }\n },\n {\n name: DataSourcesNames.SYSTEM1,\n dataIndex: 'system1',\n disabled: true,\n image: {\n src: '/images/system1.png'\n }\n }\n ]\n};\n\nexport const CampaignStatuses = {\n PAUSED: 'red',\n ACTIVE: 'green'\n};\n","// eslint-disable-next-line import/prefer-default-export\nexport const role = 'http://efflux.netlify.app/roles';\nexport const alwaysPresentColumns = [\n 'date',\n 'name',\n 'id',\n 'adsetName',\n 'adsetId'\n];\nexport const nonSortableColumns = ['id', 'name', 'status'];\n","import {useEffect, useState} from 'react';\nimport {useDispatch, useSelector} from 'react-redux';\nimport {get, isequal} from 'lodash';\n\nconst useRedux = (keys, eqFunc = isequal) => {\n const dispatch = useDispatch();\n return useSelector((store) => {\n const keyList = Array.isArray(keys) ? keys : [keys];\n const mapped = [];\n\n keyList.forEach((key) => {\n const value = key.includes('.') ? get(store, key) : store[key];\n mapped.push(value);\n });\n\n mapped.push(dispatch);\n return mapped;\n }, eqFunc);\n};\n\n// https://usehooks.com/useWindowSize/\nconst useWindowSize = () => {\n // Initialize state with undefined width/height so server and client renders match\n // Learn more here: https://joshwcomeau.com/react/the-perils-of-rehydration/\n const [windowSize, setWindowSize] = useState({\n width: undefined,\n height: undefined\n });\n useEffect(() => {\n // Handler to call on window resize\n function handleResize() {\n // Set window width/height to state\n setWindowSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n // Add event listener\n window.addEventListener('resize', handleResize);\n // Call handler right away so state gets updated with initial window size\n handleResize();\n // Remove event listener on cleanup\n return () => window.removeEventListener('resize', handleResize);\n }, []); // Empty array ensures that effect is only run on mount\n return windowSize;\n};\n\nexport {useRedux, useWindowSize};\n","import axios from 'axios';\nimport {FetchStatus} from '../../constants/enums';\nimport {\n ADD_USERS_ERRORS,\n REMOVE_USERS_ERRORS,\n SET_FETCH_USERS_FOR_MENU_STATUS,\n RECEIVE_USERS_FOR_MENU_DATA,\n SET_FETCH_USER_ACCOUNTS_STATUS,\n RECEIVE_USER_ACCOUNTS_DATA\n} from './constants';\n\nconst baseURL = process.env.REACT_APP_BACKEND_URL;\n\n// Errors\nexport const addUsersErrors = (data) => {\n return {\n type: ADD_USERS_ERRORS,\n payload: data\n };\n};\n\nexport const removeUsersErrors = () => {\n return {type: REMOVE_USERS_ERRORS};\n};\n\nexport const setFetchUsersForMenuStatus = (status) => {\n return {\n type: SET_FETCH_USERS_FOR_MENU_STATUS,\n payload: status\n };\n};\n\nexport const receiveUsersForMenuData = (data) => {\n return {\n type: RECEIVE_USERS_FOR_MENU_DATA,\n payload: data\n };\n};\n\nexport const setFetchUserAccountsStatus = (status) => {\n return {\n type: SET_FETCH_USER_ACCOUNTS_STATUS,\n payload: status\n };\n};\n\nconst receiveUserAccountsData = (data) => {\n return {\n type: RECEIVE_USER_ACCOUNTS_DATA,\n payload: data\n };\n};\n\nexport const fetchUsersForMenu =\n (token, permissions) => async (dispatch, getState) => {\n permissions = permissions.toLowerCase();\n\n if (getState().users.fetchUsersForMenuStatus !== null) return;\n\n dispatch(setFetchUsersForMenuStatus(FetchStatus.PENDING));\n const url = `${baseURL}api/temp/users`;\n try {\n const {data} = await axios.get(url, {\n user: {permissions},\n headers: {\n Authorization: `Bearer ${token}`\n }\n });\n\n const result = data.map((userRecord) => {\n return {\n // eslint-disable-next-line max-len\n name:\n userRecord.nickname.charAt(0).toUpperCase() +\n userRecord.nickname.slice(1),\n mediaId:\n userRecord.nickname === 'admin'\n ? 'admin'\n : userRecord.id.toString(),\n accounts: userRecord.ad_accounts\n };\n });\n\n dispatch(setFetchUsersForMenuStatus(FetchStatus.SUCCESS));\n dispatch(receiveUsersForMenuData(result));\n } catch ({response}) {\n dispatch(addUsersErrors(response));\n dispatch(setFetchUsersForMenuStatus(FetchStatus.FAILURE));\n }\n };\n\nexport const fetchUserAccounts = (token, permissions) => async (dispatch) => {\n permissions = permissions.toLowerCase();\n let url = '';\n // If admin fetch users, otherwise fetch user accounts\n // NOTE: api/users/user_accounts doesn't exist on goerge-efflux-platform\n // if (permissions !== 'admin') url = `${baseURL}api/users/user_accounts`;\n // else url = `${baseURL}api/users`\n url = `${baseURL}api/temp/user_accounts`;\n\n dispatch(setFetchUserAccountsStatus(FetchStatus.PENDING));\n try {\n const {data} = await axios.get(url, {\n user: {permissions},\n headers: {\n Authorization: `Bearer ${token}`\n }\n });\n\n // filter elligible accounts\n const eligibleAccounts = data.filter((account) => account.token !== null);\n\n dispatch(setFetchUserAccountsStatus(FetchStatus.SUCCESS));\n dispatch(receiveUserAccountsData(eligibleAccounts));\n } catch ({response}) {\n dispatch(addUsersErrors(response));\n dispatch(setFetchUserAccountsStatus(FetchStatus.FAILURE));\n }\n};\n","import styled from 'styled-components';\nimport Spin from 'antd/lib/spin/index';\nimport PropTypes from 'prop-types';\n\nconst Loader = ({height = '60vh'}) => {\n return (\n
{message}
\n {/* Explicitly setting type=\"button\" */}\n