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,CACZuD,YAAa,CAAF,0HAuCb,IA7BA,SAA4BlD,GA0B1B,OAzBA,SAAsBT,GACpB,OAA0D4D,EAAAA,EAAAA,MAAlDC,EAAR,EAAQA,UAAWC,EAAnB,EAAmBA,gBAAiBC,EAApC,EAAoCA,kBAE9BC,IADepB,EAAAA,EAAAA,aAAbO,UACac,EAAAA,EAAAA,KAAY,SAAAV,GAAK,OAAIA,EAAMC,KAAKK,cAErD,OAAIA,GAAaG,GAEb,eAAKlD,IAAKV,EAAMuD,cACd,QAAC,IAAD,OAKDE,GAAcG,GAAiBF,GAS7B,QAACrD,EAAcT,IARpB+D,EAAkB,CAChBG,SAAU,CACRC,SAAUlB,OAAOC,SAASC,YAGvB,S,sBCvCbiB,EAAOpG,QAAU,EAAjB","sources":["webpack://_N_E/./node_modules/next/dist/pages/_error.js","webpack://_N_E/./src/account/components/HeaderSection.js","webpack://_N_E/./src/shared/components/Layout.js","webpack://_N_E/./src/shared/components/Section.js","webpack://_N_E/./src/shared/components/WebLogImage.js","webpack://_N_E/./src/shared/components/WithAuthentication/index.js","webpack://_N_E/./node_modules/next/error.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nvar _head = _interop_require_default(require(\"../shared/lib/head\"));\nconst statusCodes = {\n 400: 'Bad Request',\n 404: 'This page could not be found',\n 405: 'Method Not Allowed',\n 500: 'Internal Server Error'\n};\nfunction _getInitialProps({ res , err }) {\n const statusCode = res && res.statusCode ? res.statusCode : err ? err.statusCode : 404;\n return {\n statusCode\n };\n}\nconst styles = {\n error: {\n fontFamily: '-apple-system, BlinkMacSystemFont, Roboto, \"Segoe UI\", \"Fira Sans\", Avenir, \"Helvetica Neue\", \"Lucida Grande\", sans-serif',\n height: '100vh',\n textAlign: 'center',\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'center',\n justifyContent: 'center'\n },\n desc: {\n display: 'inline-block',\n textAlign: 'left',\n lineHeight: '49px',\n height: '49px',\n verticalAlign: 'middle'\n },\n h1: {\n display: 'inline-block',\n margin: 0,\n marginRight: '20px',\n padding: '0 23px 0 0',\n fontSize: '24px',\n fontWeight: 500,\n verticalAlign: 'top',\n lineHeight: '49px'\n },\n h2: {\n fontSize: '14px',\n fontWeight: 'normal',\n lineHeight: '49px',\n margin: 0,\n padding: 0\n }\n};\nvar _Component;\nclass Error extends (_Component = _react.default.Component) {\n render() {\n const { statusCode , withDarkMode =true } = this.props;\n const title = this.props.title || statusCodes[statusCode] || 'An unexpected error has occurred';\n return /*#__PURE__*/ _react.default.createElement(\"div\", {\n style: styles.error\n }, /*#__PURE__*/ _react.default.createElement(_head.default, null, /*#__PURE__*/ _react.default.createElement(\"title\", null, statusCode ? `${statusCode}: ${title}` : 'Application error: a client-side exception has occurred')), /*#__PURE__*/ _react.default.createElement(\"div\", null, /*#__PURE__*/ _react.default.createElement(\"style\", {\n dangerouslySetInnerHTML: {\n __html: `\n body { margin: 0; color: #000; background: #fff; }\n .next-error-h1 {\n border-right: 1px solid rgba(0, 0, 0, .3);\n }\n\n ${withDarkMode ? `@media (prefers-color-scheme: dark) {\n body { color: #fff; background: #000; }\n .next-error-h1 {\n border-right: 1px solid rgba(255, 255, 255, .3);\n }\n }` : ''}`\n }\n }), statusCode ? /*#__PURE__*/ _react.default.createElement(\"h1\", {\n className: \"next-error-h1\",\n style: styles.h1\n }, statusCode) : null, /*#__PURE__*/ _react.default.createElement(\"div\", {\n style: styles.desc\n }, /*#__PURE__*/ _react.default.createElement(\"h2\", {\n style: styles.h2\n }, this.props.title || statusCode ? title : /*#__PURE__*/ _react.default.createElement(_react.default.Fragment, null, \"Application error: a client-side exception has occurred (see the browser console for more information)\"), \".\"))));\n }\n}\nError.displayName = 'ErrorPage';\nError.getInitialProps = _getInitialProps;\nError.origGetInitialProps = _getInitialProps;\nexports.default = Error;\n\n//# sourceMappingURL=_error.js.map","import { css } from '@emotion/react';\nimport React from 'react';\n\nimport Divider from '@/src/shared/components/Divider';\nimport Heading from '@/src/shared/components/Heading';\nimport { colors } from '@/styles';\n\nconst styles = {\n headerSectionContainer: css`\n top: 7.5rem;\n background-color: ${colors.white};\n z-index: 1000;\n `,\n};\n\nfunction HeaderSection({ headerText }) {\n return (\n
\n \n {headerText}\n \n \n
\n );\n}\n\nexport default HeaderSection;\n","import PropTypes from 'prop-types';\nimport React, { PureComponent } from 'react';\n\nclass Layout extends PureComponent {\n render() {\n const { children } = this.props;\n return <>{children};\n }\n}\n\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default Layout;\n","import { css, jsx } from '@emotion/react';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { bp, colors } from '@/styles';\n\nconst style = {\n section: halfPad => {\n const paddingValue = halfPad ? 20 : 40;\n return css`\n padding-top: ${paddingValue}px;\n padding-bottom: ${paddingValue}px;\n @media ${bp.md} {\n padding-top: ${paddingValue * 2}px;\n padding-bottom: ${paddingValue * 2}px;\n }\n @media print {\n padding-top: 28px !important;\n padding-bottom: 28px !important;\n }\n &:empty {\n padding: 0;\n }\n `;\n },\n theme: {\n white: css`\n background-color: ${colors.white};\n `,\n gray: css`\n background-color: ${colors.accentGrayUltralight};\n `,\n blue: css`\n color: ${colors.white};\n background-color: ${colors.secondaryBlue};\n `,\n },\n};\n\nconst Section = ({ bgColor, children, halfPad, ...props }) => {\n return (\n
\n {children}\n
\n );\n};\n\nSection.propTypes = {\n bgColor: PropTypes.oneOf(['gray', 'white', 'blue']),\n children: PropTypes.node.isRequired,\n halfPad: PropTypes.bool,\n};\n\nSection.defaultProps = {\n bgColor: 'white',\n halfPad: false,\n};\n\nexport default Section;\n","import { css } from '@emotion/core';\nimport { useRouter } from 'next/router';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { connect } from 'react-redux';\n\nconst style = {\n weblogImg: css`\n display: none;\n `,\n};\n\nconst host = process.env.API_ROOT;\nconst isBrowser = typeof window !== 'undefined';\n\nconst WebLogImage = props => {\n const { personId, path, sitePageId, title, pagedata, browserPath } = props;\n\n const router = useRouter();\n const { query } = router;\n const source = query.source ? query.source : 'web';\n const pageTitle = title || pagedata.MetaTitle || 'APCIA';\n const url =\n browserPath && isBrowser\n ? `${host}${window.location.pathname}`\n : `${host}${path}${sitePageId ? '/' : ''}${sitePageId}`;\n\n const src = `/pciwebsite/weblogging/Log/Create?url=${url}&id=${sitePageId}&personid=${personId}&source=${source}&title=${pageTitle}`;\n\n return \"web;\n};\n\nfunction mapStateToProps(state) {\n const {\n auth: {\n userinfo: { PersonID },\n },\n } = state;\n return {\n personId: PersonID,\n };\n}\n\nWebLogImage.propTypes = {\n path: PropTypes.string,\n sitePageId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n title: PropTypes.string,\n pagedata: PropTypes.object,\n browserPath: PropTypes.bool,\n};\n\nWebLogImage.defaultProps = {\n path: '',\n sitePageId: '',\n title: '',\n pagedata: {},\n browserPath: false,\n};\n\nexport default connect(mapStateToProps)(WebLogImage);\n","import { useAuth0 } from '@auth0/auth0-react';\nimport { css, jsx } from '@emotion/core';\nimport Router, { useRouter } from 'next/router';\nimport React from 'react';\nimport { useSelector } from 'react-redux';\n\nimport LoadingPage from '../LoadingPage/LoadingPage';\n\nconst style = {\n loadingPage: css`\n height: 100vh;\n width: 100vw;\n background: white;\n display: flex;\n justify-content: center;\n align-items: center;\n `,\n};\n\nfunction withAuthentication(Component) {\n function NewComponent(props) {\n const { isLoading, isAuthenticated, loginWithRedirect } = useAuth0();\n const { pathname } = useRouter();\n const stateLoading = useSelector(state => state.auth.isLoading);\n\n if (isLoading || stateLoading) {\n return (\n
\n \n
\n );\n }\n\n if (!isLoading && !stateLoading && !isAuthenticated) {\n loginWithRedirect({\n appState: {\n returnTo: window.location.pathname,\n },\n });\n return null;\n }\n\n return ;\n }\n\n return NewComponent;\n}\n\nexport default withAuthentication;\n","module.exports = require('./dist/pages/_error')\n"],"names":["Object","defineProperty","exports","value","_interop_require_default","require","_react","_head","statusCodes","_getInitialProps","res","err","statusCode","styles","error","fontFamily","height","textAlign","display","flexDirection","alignItems","justifyContent","desc","lineHeight","verticalAlign","h1","margin","marginRight","padding","fontSize","fontWeight","h2","Error","this","props","withDarkMode","title","createElement","style","dangerouslySetInnerHTML","__html","className","Fragment","Component","displayName","getInitialProps","origGetInitialProps","headerSectionContainer","css","colors","headerText","type","weight","theme","size","Layout","children","PureComponent","section","halfPad","paddingValue","bp","white","gray","blue","Section","bgColor","defaultProps","weblogImg","host","process","WebLogImage","personId","path","sitePageId","pagedata","browserPath","query","useRouter","source","pageTitle","MetaTitle","url","window","location","pathname","src","alt","connect","state","auth","userinfo","PersonID","loadingPage","useAuth0","isLoading","isAuthenticated","loginWithRedirect","stateLoading","useSelector","appState","returnTo","module"],"sourceRoot":""}