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N_E/./src/shared/components/Section.js","webpack://_N_E/./src/shared/components/WebLogImage.js","webpack://_N_E/?483e"],"sourcesContent":["import { css, jsx } from '@emotion/core';\nimport React, { useEffect } from 'react';\n\nimport Container from '@/src/shared/components/Container';\nimport Layout from '@/src/shared/components/Layout';\nimport Section from '@/src/shared/components/Section';\nimport WebLogImage from '@/src/shared/components/WebLogImage';\n\nconst surveySrc =\n 'https://widget.surveymonkey.com/collect/website/js/tRaiETqnLgj758hTBazgd_2BubSJEoVMSXyhpZ3VDb5_2BldicKBME_2Fid_2Fdjp4V4Halv.js';\nconst linkId = 'apci-smcx-link';\n\nconst style = {\n smcxContainer: css`\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n .smcx-widget {\n z-index: 0;\n }\n `,\n};\n\nconst SurveyMonkey = () => {\n useEffect(() => {\n /* eslint-disable */\n (function(t, e, s, n) {\n var o, a, c;\n (t.SMCX = t.SMCX || []),\n e.getElementById(n) ||\n ((a = e.getElementById(linkId)),\n (c = e.createElement(s)),\n (c.type = 'text/javascript'),\n (c.async = !0),\n (c.id = n),\n (c.src = surveySrc),\n a.parentNode.insertBefore(c, a));\n })(window, document, 'script', 'smcx-sdk');\n }, []);\n\n return (\n \n \n \n \n );\n};\n\nexport default SurveyMonkey;\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 );\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
;\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","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/site-feedback\",\n function () {\n return require(\"private-next-pages/site-feedback/index.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/site-feedback\"])\n });\n }\n "],"names":["linkId","style","smcxContainer","useEffect","t","e","s","n","a","c","SMCX","getElementById","createElement","type","async","id","src","parentNode","insertBefore","window","document","css","browserPath","title","Layout","children","this","props","PureComponent","section","halfPad","paddingValue","bp","theme","white","colors","gray","blue","Section","bgColor","defaultProps","weblogImg","host","process","WebLogImage","personId","path","sitePageId","pagedata","query","useRouter","source","pageTitle","MetaTitle","url","location","pathname","alt","connect","state","auth","userinfo","PersonID","__NEXT_P","push"],"sourceRoot":""}