{"version":3,"sources":["utils/user/permissions.js","components/wrappers/withConfig.js","utils/constants/userSettings.js","components/wrappers/UserContext.js","utils/constants/urls.js","components/elem/ToolkitVersion.js","components/features/user/Login.js","components/elem/GridFilters.js","components/features/psap-list/UserPSAPTable.js","components/features/psap-list/AllPSAPTable.js","components/elem/Toast.js","components/wrappers/APIRequestContext.js","components/wrappers/PSAPContext.js","components/elem/Spinner.js","components/features/psap-list/PSAPListPage.js","components/features/detail-page/DownloadButton.js","components/features/detail-page/UploadActionButton.js","components/elem/Modal.js","components/features/detail-page/UploadTable.js","components/wrappers/useModal.js","components/wrappers/PSAPDetailContext.js","components/features/detail-page/UploadForm.js","components/features/detail-page/UploadButton.js","components/features/detail-page/ClearButton.js","components/features/detail-page/DetailPage.js","components/features/user/RestrictedAccess.js","components/elem/NavBar.js","components/features/user/CallbackComponent.js","components/elem/Header.js","App.js","index.js"],"names":["getRoles","user","profile","role","roles","Array","isArray","filter","x","startsWith","map","replace","join","checkRole","toLowerCase","includes","hasApplicationAccess","some","isSysAdmin","withConfig","WrappedComponent","props","state","config","window","$config","this","React","Component","settings","authority","process","client_id","client_secret","redirect_uri","silent_redirect_uri","REACT_APP_OIDC_CLIENT_SILENT_REDIRECT_URI","response_type","scope","post_logout_redirect_uri","automaticSilentRenew","UserContext","createContext","AppUserContextProvider","loadingUser","children","client","useAuth","userManager","useState","setRoles","setUser","useEffect","getUser","a","u","console","log","Provider","value","UserContextProvider","UserManager","autoSignIn","urls","home","login","userCallback","newRegistration","changePassword","manageUsers","psapDetail","version","setVersion","API_URL","fetch","then","response","text","data","catch","error","Login","useContext","to","pathname","className","onClick","signinRedirect","target","rel","href","IncludesFilter","column","filterValue","preFilteredRows","setFilter","count","length","onChange","e","undefined","placeholder","fuzzyTextFilterFn","rows","id","matchSorter","keys","row","values","autoRemove","val","filterTypes","fuzzyText","rowValue","String","PSAPTable","psaps","visibleSearch","setVisibleSearch","DetailCell","MergeCell","ValidationCell","defaultColumn","useMemo","Filter","columns","Header","accessor","Cell","cell","original","Id","disableFilters","tableData","forEach","psap","Uploads","lastUploadDate","reduce","b","UploadDate","successfullUploads","upload","MergeStatus","ValidationStatus","ArchiveStatus","lastSuccesfulUpload","push","slice","lastMerge","lastValidation","lastSuccessfull","calcTableDate","useTable","initialState","pageIndex","pageSize","useFilters","useSortBy","usePagination","getTableProps","getTableBodyProps","headerGroups","prepareRow","page","canPreviousPage","canNextPage","pageOptions","pageCount","gotoPage","nextPage","previousPage","headerGroup","getHeaderGroupProps","headers","getHeaderProps","getSortByToggleProps","isSorted","isSortedDesc","render","canFilter","handleSearch","style","indexOf","display","i","getRowProps","cells","getCellProps","justifyContent","alignItems","disabled","DateCell","Toast","DISPLAY_TOASTS","ToastLogic","level","message","toastConfig","toast","success","info","APIRequestContext","APIRequestContextProvider","authenticatedFetch","useCallback","endpoint","options","fetchOptions","Authorization","access_token","method","PSAPContext","PSAPContextProvider","loading","setLoading","PSAPs","setPSAPs","PSAPUpdates","setPSAPUpdates","newObject","setNewObject","ok","json","Error","finally","SimpleSpinner","extraClass","size","PureComponent","PSAPListPage","paddingTop","type","name","setShowModal","uploadId","blob","saveAs","textTransform","action","Modal","toggle","header","footer","body","aria-label","UploadTable","uploads","readOnly","showModal","alertMessage","setAlertMessage","alertHeader","setAlertHeader","showMessage","ActionCell","noFinal","DownloadButton","FileNameDisplay","MergeDate","item","Object","key","sortBy","desc","isShowing","useModal","setIsShowing","PSAPDetailContext","PSAPDetailContextProvider","PSAPId","useParams","PSAP","find","Number","handleUpload","uploading","uploadingFile","useForm","register","handleSubmit","errors","fileName","setFileName","setResponse","uploadFile","file","formData","FormData","append","File","FileName","mode","POST","lastIndexOf","onSubmit","event","files","accept","ref","required","UploadButton","setUploading","Name","form","status","DetailPage","ReadOnly","RestrictedAccessPage","signoutRedirect","RestrictedAccess","allowedRoles","hasAccess","setHasAccess","hasAccessButNoRoles","setHasAccessButNoRoles","checkClientAccess","active","setActive","admin","isAdmin","sysadmin","data-target","aria-expanded","CallbackComponent","t","setTimeout","location","clearTimeout","Spinner","APP_TITLE","App","Fragment","exact","path","component","ReactDOM","StrictMode","document","getElementById"],"mappings":"8NAEMA,EAAW,SAAAC,GACb,GAAIA,GAAQA,EAAKC,SAAWD,EAAKC,QAAQC,KAAM,CAC3C,IAAMC,EAAQH,EAAKC,QAAQC,KAC3B,OAAIE,MAAMC,QAAQF,GACKA,EACEG,QAAO,SAAAC,GAAC,OAAIA,EAAEC,WAAW,WAAmB,gBAAND,KACtCE,KAAI,SAAAF,GAAC,OAAIA,EAAEG,QAAQ,SAAU,OAChCC,KAAK,KAEhBR,EAGX,MAAO,IAITS,EAAY,SAACV,EAAMC,GACrB,SAAIA,IAASD,IACFC,EAAMU,cAAcC,SAASZ,EAAKW,gBAM3CE,EAAuB,SAAAf,GACzB,GAAIA,GAAQA,EAAKC,SAAWD,EAAKC,QAAQC,KAAM,CAC3C,IAAMC,EAAQH,EAAKC,QAAQC,KAC3B,QAAIE,MAAMC,QAAQF,IACIA,EAAMa,MAAK,SAAAT,GAAC,OAAIA,EAAEO,SAAS,UAAYP,EAAEO,SAAS,cAMxE,OAAO,GAMTG,EAAa,SAAAd,GAAK,OAAIS,EAAU,cAAeT,I,uCCxBtCe,EAhBI,SAAAC,GACf,yDACI,WAAYC,GAAQ,IAAD,8BACf,cAAMA,IACDC,MAAQ,CACTC,OAAQC,OAAOC,SAHJ,EADvB,qDAQQ,OACI,cAACL,EAAD,aAAkBG,OAAQG,KAAKJ,MAAMC,QAAYG,KAAKL,YATlE,GAAqBM,IAAMC,YCUhBC,EAbA,CACXC,UAAWC,+BACXC,UAAWD,QACXE,cAAeF,uBACfG,aAAcH,4CACdI,oBAAqBJ,0nCAAYK,0CACjCC,cAAeN,OACfO,MAAOP,wCACPQ,yBAA0BR,+BAC1BS,sBAAsB,GCFpBC,EAAcC,wBAAc,MAE5BC,EAAyBxB,GAAW,YAAgC,IAA7ByB,EAA4B,EAA5BA,YAAaC,EAAe,EAAfA,SACjCC,EAAW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IuP,aAAc,CACV,QACA,OACA,SAJR,SAOI,cAAC,EAAD,WAIZ,cAAC,IAAD,CAAOuB,KAAM/Q,EAAKE,MAAO4Q,OAAK,EAACE,UAAW9P,IAC1C,cAAC,IAAD,CACI6P,KAAM/Q,EAAKG,aACX2Q,OAAK,EACLE,UAAWX,gBAOnC,cAACnI,EAAD,QC5DR+I,IAAS7J,OACP,cAAC,IAAM8J,WAAP,UACE,cAAC,GAAD,MAEFC,SAASC,eAAe,W","file":"static/js/main.49cb456d.chunk.js","sourcesContent":["// const submitterRegex = new RegExp('Submitter_([A-Za-z]+)')\r\n\r\nconst getRoles = user => {\r\n if (user && user.profile && user.profile.role) {\r\n const roles = user.profile.role\r\n if (Array.isArray(roles)) {\r\n const ng911roles = roles\r\n .filter(x => x.startsWith(\"NG911_\") || x === \"SystemAdmin\")\r\n .map(x => x.replace(\"NG911_\", \"\"))\r\n return ng911roles.join(',')\r\n } else {\r\n return roles\r\n }\r\n } else {\r\n return ''\r\n }\r\n}\r\n\r\nconst checkRole = (role, roles) => {\r\n if (roles && role) {\r\n return roles.toLowerCase().includes(role.toLowerCase())\r\n } else {\r\n return false\r\n }\r\n}\r\n\r\nconst hasApplicationAccess = user => {\r\n if (user && user.profile && user.profile.role) {\r\n const roles = user.profile.role\r\n if (Array.isArray(roles)) {\r\n const hasAccess = roles.some(x => x.includes('NG911') && x.includes('Allowed'))\r\n return hasAccess\r\n } else {\r\n return false\r\n }\r\n } else {\r\n return false\r\n }\r\n}\r\n\r\nconst isAdmin = roles => checkRole('Admin', roles)\r\n\r\nconst isSysAdmin = roles => checkRole('SystemAdmin', roles)\r\n\r\nexport {\r\n getRoles,\r\n checkRole,\r\n isAdmin,\r\n isSysAdmin,\r\n hasApplicationAccess\r\n}\r\n","import React from 'react'\r\n\r\nconst withConfig = WrappedComponent => {\r\n return class extends React.Component {\r\n constructor(props) {\r\n super(props)\r\n this.state = {\r\n config: window.$config,\r\n }\r\n }\r\n render() {\r\n return (\r\n
Current Version of Toolkit: {version}
\r\n\r\n The Oklahoma NG911 Portal is a web based content\r\n management tool developed by the Oklahoma Office of\r\n Geographic Information (OGI) on behalf of the Oklahoma\r\n 9-1-1 Management Authority (OK911MA) to support the\r\n Oklahoma NG911 Program. It provides a means for members\r\n of the OGI, OK911MA, Oklahoma PSAPs and individuals and\r\n organizations participating in Oklahoma NG911 Program to\r\n facilitate the management and processing of PSAP NG911\r\n data. This will also allow participants to stay informed\r\n of the various projects and ongoing work being performed\r\n by the PSAP’s and contractors. \r\n
\r\n\r\n For more information on the Oklahoma 9-1-1\r\n Management Authority, please visit their website. For more information on the Oklahoma Next Generation\r\n 911 (NG911) and Address Standard along with the\r\n NG911 GIS Toolkit, please visit our website. For questions about the Oklahoma NG911 Portal,\r\n contact Shellie Willoughby.\r\n
\r\n\r\n \r\n \r\n {column.isSorted ? (\r\n column.isSortedDesc ? (\r\n \r\n | \r\n ))}\r\n
---|
\r\n {cell.render('Cell')}\r\n | \r\n )\r\n })}\r\n
\r\n \r\n \r\n {column.isSorted ? (\r\n column.isSortedDesc ? (\r\n \r\n | \r\n ))}\r\n
---|
\r\n {cell.render('Cell')}\r\n | \r\n )\r\n })}\r\n
\r\n {header}\r\n
\r\n \r\n{alertMessage}
}\r\n />\r\n ) : null}\r\n\r\n {column.render('Header')}\r\n \r\n {column.isSorted ? (\r\n column.isSortedDesc ? (\r\n | \r\n ))}\r\n
---|
\r\n {cell.render('Cell')}\r\n | \r\n )\r\n })}\r\n
{text}
\r\n >\r\n )\r\n }\r\n />\r\n ) : (\r\n <>\r\n{alertMessage}
}\r\n />\r\n ) : (\r\n <>\r\n {isSysAdmin(roles) && (\r\n{alertMessage}
}\r\n />\r\n ) : null}\r\n \r\n >\r\n )\r\n}\r\n\r\nexport default withConfig(NavBar)\r\n","import React, { useEffect } from 'react'\r\n\r\nimport urls from '../../../utils/constants/urls'\r\nimport Spinner from '../../elem/Spinner'\r\n\r\nconst CallbackComponent = () => {\r\n useEffect(() => {\r\n const t = setTimeout(() => {\r\n window.location = urls.home\r\n }, 5000)\r\n return () => clearTimeout(t)\r\n }, [])\r\n\r\n return