\n );\n};\n\nexport default ButtonGroup;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst TravelQuestion: React.FC = ({\n setCount,\n count,\n}) => {\n /**\n * count rules for this component\n *\n * the number in count is used to determine where in the chain of components to go to next\n *\n * Symptom Question ->\n * 0 Travel Question ->\n * 1 Are you Aircrew Question ->\n * 2 Where did you travel Question ->\n * 3 Exposure Question\n *\n * If we say no then we want to skip the next 2 questions\n *\n */\n\n return (\n
\n \n Within the last 14 days have you or anyone in your household traveled\n outside of the state of Hawai'i?\n \n
\n
{\n setCount(1);\n }}\n >\n Yes\n
\n
{\n // three to skip the aircrew question\n setCount(3);\n }}\n >\n No\n
\n
\n
\n );\n};\n\nexport default TravelQuestion;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst TravelAircrewQuestion: React.FC = ({\n setCount,\n count,\n}) => {\n return (\n <>\n \n Are you Aircrew or an immediate household member to Aircrew personnel?\n \n
\n
{\n setCount(1);\n }}\n >\n Yes\n
\n
{\n // two to skip the aircrew question\n setCount(2);\n }}\n >\n No\n
\n
\n >\n );\n};\n\nexport default TravelAircrewQuestion;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst AircrewDetailQuestion: React.FC = ({\n setCount,\n count,\n}) => {\n return (\n <>\n What applies to you?\n
\n
{\n setCount(1);\n }}\n >\n Traveled as Aircrew on official orders\n
\n
setCount(2)}\n >\n Traveled as Aircrew on official orders and took leave in conjunction\n
\n\n
setCount(3)}\n >\n Non-Aircrew Travel (leave)\n
\n
\n >\n );\n};\n\nexport default AircrewDetailQuestion;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst ExposureQuestion: React.FC = ({\n count,\n setCount,\n}) => {\n return (\n <>\n \n In the last 14 days, what is your (or patient's) exposure to others\n who are known to have COVID-19?\n \n
\n
setCount(2)}\n >\n Living with someone who has active COVID-19\n
\n
setCount(3)}\n >\n Had close contact for greater than 15 minutes with someone who has\n COVID-19\n
\n
setCount(-1)}\n >\n No exposure\n
\n
\n >\n );\n};\n\nexport default ExposureQuestion;\n","import React, { useEffect, useState } from 'react';\nimport { emergencyQuestions, symptoms } from '../../const/healthQuestions';\nimport CheckBoxListItemQuestion from '../Questions/CheckBoxListItemQuestion';\nimport StartPage from '../StartPage/StartPage';\nimport { surveyContainer } from '../../const/Styles';\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\nimport ButtonGroup from '../ButtonGroup/ButtonGroup';\nimport TravelQuestion from '../Questions/TravelQuestion';\nimport TravelAircrewQuestion from '../Questions/TravelAircrewQuestion';\nimport AircrewDetailQuestion from '../Questions/AircrewDetailQuestion';\nimport ExposureQuestion from '../Questions/ExposureQuestion';\n\nconst Survey: React.FC<{ setResult: any }> = ({ setResult }) => {\n const [isCovid, setIsCovid] = useState(false);\n\n useEffect(() => {\n if (isCovid) {\n setResult('red');\n }\n }, [isCovid, setResult]);\n\n const StartPageComp = ;\n const [transKey, setTransKey] = useState(0);\n const [questionPointCounter, setquestionPointCounter] = useState(0);\n\n const TravelQuestionComp = (\n \n );\n\n // are you aircrew question\n const isAircrewQuestion = (\n \n );\n\n const AircrewDetailQuestionComp = (\n \n );\n\n const ExposureQuestionComp = (\n \n );\n\n const transitionForward = (num: number) => setTransKey((key) => key + num);\n const transitionBackward = (num: number) => setTransKey((key) => key - num);\n\n interface ISurveyComponent {\n component: JSX.Element;\n onStart?: () => void;\n onBack?: () => void;\n onContinue?: () => void;\n }\n\n const surveyComponent: ISurveyComponent[] = [\n {\n component: StartPageComp,\n onStart: () => {\n transitionForward(1);\n },\n },\n {\n component: (\n setquestionPointCounter(points)}\n count={questionPointCounter}\n >\n Are you (or the patient) experiencing any of the following symptoms?\n Check all that apply.\n \n ),\n onContinue: () => {\n if (questionPointCounter > 1) {\n setResult('911');\n }\n transitionForward(1);\n setquestionPointCounter(0);\n },\n },\n {\n component: (\n setquestionPointCounter(points)}\n count={questionPointCounter}\n >\n In the last 14 days have you (or patient's) started experiencing\n any of these symptoms?\n \n ),\n onContinue: () => {\n setIsCovid(() => questionPointCounter > 1);\n transitionForward(1);\n setquestionPointCounter(0);\n },\n onBack: () => {\n setquestionPointCounter(1);\n transitionBackward(1);\n },\n },\n {\n component: TravelQuestionComp,\n onBack: () => transitionBackward(1),\n onContinue: () => {\n transitionForward(questionPointCounter);\n setquestionPointCounter(0);\n },\n },\n {\n component: isAircrewQuestion,\n onBack: () => transitionBackward(1),\n onContinue: () => {\n transitionForward(questionPointCounter);\n setIsCovid(questionPointCounter > 1);\n setquestionPointCounter(0);\n },\n },\n {\n component: AircrewDetailQuestionComp,\n onBack: () => transitionBackward(1),\n onContinue: () => {\n transitionForward(1);\n setIsCovid(questionPointCounter > 1);\n setquestionPointCounter(0);\n },\n },\n {\n component: ExposureQuestionComp,\n onBack: () => {\n transitionBackward(2);\n setquestionPointCounter(0);\n },\n onContinue: () => {\n // greater than 0 means exposure\n setResult(questionPointCounter > 0 ? 'red' : 'green');\n },\n },\n ];\n\n useEffect(() => {\n console.log('change');\n }, [surveyComponent]);\n\n return (\n \n \n \n
;\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\ntype Config = {\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\n};\n\nexport function register(config?: Config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(\n process.env.PUBLIC_URL,\n window.location.href\n );\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' }\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\ndeclare global {\n interface Window {\n vh: number;\n }\n}\n\ndocument.documentElement.style.setProperty('--vh', `${window.vh}px`);\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","module.exports = __webpack_public_path__ + \"static/media/stopSign.28010a42.svg\";"],"sourceRoot":""}
\ No newline at end of file
diff --git a/sites/stop-light/static/js/main.91bd0329.chunk.js b/sites/stop-light/static/js/main.91bd0329.chunk.js
new file mode 100644
index 0000000000000000000000000000000000000000..3b336f586cad5a4ca06c0f295d392315f4d92a18
--- /dev/null
+++ b/sites/stop-light/static/js/main.91bd0329.chunk.js
@@ -0,0 +1,2 @@
+(this["webpackJsonpcovid-screen"]=this["webpackJsonpcovid-screen"]||[]).push([[0],{14:function(e,t,n){e.exports=n.p+"static/media/checkmark.464438aa.svg"},15:function(e,t,n){e.exports=n.p+"static/media/tron.48f173e3.svg"},16:function(e,t,n){e.exports=n.p+"static/media/medWerx.c97f311f.svg"},19:function(e,t,n){e.exports=n(26)},26:function(e,t,n){"use strict";n.r(t);var o=n(0),a=n.n(o),c=n(5),i=n.n(c),r=n(2),l=n(9),u=n.n(l),s=["808-448-6372","808-448-6729","808-448-6334"],d=function(){return a.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",marginTop:"1%"}},a.a.createElement("div",{style:{backgroundImage:"url(".concat(u.a,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"100%",height:.6*document.body.clientWidth,width:.6*document.body.clientWidth}}),a.a.createElement("div",{className:"roboto white ttu b",style:{fontSize:"6vh",marginBottom:"5%"}},"do not enter!"),a.a.createElement("div",{className:"roboto ttu white"},"please call public health for further screening"),s.map((function(e,t){return a.a.createElement("a",{key:t,href:"tel:".concat(e),className:"white tc",style:{fontSize:"3vh",marginTop:"3%"}},e)})))},m=n(14),h=n.n(m),p=function(){return a.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",marginTop:20}},a.a.createElement("div",{className:"roboto white ttu b mt3",style:{fontSize:"6vh"}},"you are cleared!"),a.a.createElement("div",{style:{backgroundImage:"url(".concat(h.a,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"100%",height:.4*document.body.clientWidth,width:.5*document.body.clientWidth}}),a.a.createElement("div",{className:"roboto white mv4",style:{fontSize:"3vh",width:"75%"}},"Please proceed to your appointment area and show them this screen."))},b=function(){return a.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",marginTop:"2%"}},a.a.createElement("div",{style:{backgroundImage:"url(".concat(u.a,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"cover",height:.6*document.body.clientWidth,width:.6*document.body.clientWidth}}),a.a.createElement("div",{className:"roboto white ttu",style:{fontSize:35,textDecoration:"underline",marginTop:"5%"}},"do not enter"),a.a.createElement("div",{className:"roboto white ttu b f1 mb4",style:{fontSize:48,lineHeight:".7"}},"Call 911!"))},f=n(1),g=n(12),E=n.n(g),y=function(){return a.a.createElement("div",{style:{position:"fixed",bottom:20,left:0,right:0}},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},v.timeStamp),{},{color:"white"})},E()().format("MM/DD/YYYY")),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},v.timeStamp),{},{color:"white"})},E()().format("HH:mm")))},v={timeStamp:{fontWeight:700,fontSize:"5vh",textAlign:"center"}},k=function(e){var t=e.result;return a.a.createElement("div",null,w[t],a.a.createElement(y,null))},w={911:a.a.createElement(b,null),red:a.a.createElement(d,null),green:a.a.createElement(p,null)},C=[{symptom:"Severe constant chest pain and/or pressure",points:2,checked:!1},{symptom:"Extreme difficulty breathing",points:2,checked:!1},{symptom:"Severe, constant lightheadedness",points:2,checked:!1},{symptom:"Serious disorientation or unresponsiveness",points:2,checked:!1},{symptom:"None of the Above",points:1,checked:!1}],x=[{symptom:"Fever or chills",points:2,checked:!1},{symptom:"Mild or moderate difficulty breathing",points:2,checked:!1},{symptom:"New or worsening cough",points:2,checked:!1},{symptom:"Sustained loss of smell, taste or appetite",points:2,checked:!1},{symptom:"Sore Throat",points:2,checked:!1},{symptom:"Vomiting or diarrhea",points:2,checked:!1},{symptom:"Aching throughout the body",points:2,checked:!1},{symptom:"None of the Above",points:1,checked:!1}],j=n(17),O={display:"flex",marginBottom:15,alignItems:"center",padding:5,paddingLeft:20,border:"1px solid #b8b8b8",borderRadius:10,boxShadow:"0px 2px 5px #b8b8b8",width:"90%",height:"100px",marginLeft:"auto",marginRight:"auto",textAlign:"center",justifyContent:"center"},S={textAlign:"center"},A={paddingTop:"5%",paddingLeft:50,paddingRight:50,paddingBottom:"2.5%",display:"flex",flexDirection:"column",textAlign:"center",justifyContent:"space-between"},N={fontSize:24,fontFamily:"Roboto",color:"#4A4A4A",lineHeight:1.2},B={width:"100%",height:"calc(".concat(100*window.vh,"px - 64px)"),textAlign:"left",overflowY:"scroll",paddingBottom:200},I=function(e){var t=e.children;return a.a.createElement("div",{id:"questionHeader",style:A},a.a.createElement("div",{style:N},t))},W={checkboxListItem:{display:"flex",marginBottom:15,alignItems:"center",padding:5,paddingLeft:20,border:"1px solid #b8b8b8",borderRadius:10,boxShadow:"0px 2px 5px #b8b8b8",width:"90%",height:"100px",marginLeft:"auto",marginRight:"auto"},button:{margin:5,marginTop:10,borderRadius:50,width:190}},R=function(e){var t=e.count,n=e.setCount,c=e.optionsList,i=e.children,l=Object(o.useState)(Object(j.a)(c)),u=Object(r.a)(l,2),s=u[0],d=u[1];return a.a.createElement("div",null,a.a.createElement(I,null,i),a.a.createElement("div",{style:B},s.map((function(e,o){return a.a.createElement("div",{key:"checkbox-".concat(o),style:Object(f.a)(Object(f.a)({},W.checkboxListItem),{},{backgroundColor:"".concat(e.checked?"#E0E0E0":"white")}),onClick:function(){!function(e,o){var a=t+(e.checked?-1*e.points:e.points);1===e.points?(d((function(e){return e.map((function(e,t){return t!==o?Object(f.a)(Object(f.a)({},e),{},{checked:!1}):Object(f.a)(Object(f.a)({},e),{},{checked:!e.checked})}))})),a=e.checked?0:1):d((function(e){return e.map((function(t,n){return n===e.length-1?Object(f.a)(Object(f.a)({},t),{},{checked:!1}):n!==o?t:Object(f.a)(Object(f.a)({},t),{},{checked:!t.checked})}))})),a%2===1&&a>2&&(a-=1),n(a)}(e,o)}},a.a.createElement("div",{className:"checkered ".concat(e.checked?"checked":""),style:{height:30,width:30,borderRadius:6}}),a.a.createElement("div",{className:"ml2 w-90"},e.symptom))}))))},D=n(15),T=n.n(D),z=n(16),L=n.n(z),Y=function(){return a.a.createElement("div",{style:F.startContainer},a.a.createElement("div",{className:"flex"},a.a.createElement("div",{style:{backgroundImage:"url(".concat(L.a,")"),backgroundRepeat:"no-repeat",backgroundPositionY:"center",height:.8*document.body.clientWidth,width:.8*document.body.clientWidth}})),a.a.createElement("div",null,a.a.createElement("div",{style:F.title},"Covid-19 Screener")),a.a.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",fontFamily:"roboto",fontSize:14,marginTop:-30}},"Powered by",a.a.createElement("div",{style:{backgroundImage:"url(".concat(T.a,")"),backgroundRepeat:"no-repeat",backgroundPositionY:"center",height:.2*document.body.clientWidth,width:.2*document.body.clientWidth}})))},F={startContainer:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",justifyContent:"center",marginTop:10},title:{marginTop:30,fontSize:33}},P=n(28),H=n(29),M=function(e){var t=e.onStart,n=e.onContinue,o=e.onBack,c=e.count;return a.a.createElement("div",{className:"h3 flex w-100 m0 p0 f1 white fw2 ttu",style:{bottom:0,fontFamily:"roboto",position:"fixed"}},t&&a.a.createElement("div",{style:{flex:1,backgroundColor:"#3B48CD"},onClick:t},"Start"),o&&a.a.createElement("div",{style:{flex:1,backgroundColor:"#8695B5"},onClick:o},"Back"),n&&a.a.createElement("div",{style:{flex:1,backgroundColor:"".concat(0!==c?"#3B48CD":"#BFC3DB")},onClick:0!==c?n:null},"Next"))},V=function(e){var t=e.setCount,n=e.count;return a.a.createElement("div",null,a.a.createElement(I,null,"Within the last 14 days have you or anyone in your household traveled outside of the state of Hawai'i?"),a.a.createElement("div",{style:B},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(1===n?"#E0E0E0":"white")}),onClick:function(){t(1)}},"Yes"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(3===n?"#E0E0E0":"white")}),onClick:function(){t(3)}},"No")))},J=function(e){var t=e.setCount,n=e.count;return a.a.createElement(a.a.Fragment,null,a.a.createElement(I,null,"Are you Aircrew or an immediate household member to Aircrew personnel?"),a.a.createElement("div",{style:B},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(1===n?"#E0E0E0":"white")}),onClick:function(){t(1)}},"Yes"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(2===n?"#E0E0E0":"white")}),onClick:function(){t(2)}},"No")))},q=function(e){var t=e.setCount,n=e.count;return a.a.createElement(a.a.Fragment,null,a.a.createElement(I,null,"What applies to you?"),a.a.createElement("div",{style:B},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(1===n?"#E0E0E0":"white")}),onClick:function(){t(1)}},"Traveled as Aircrew on official orders"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(2===n?"#E0E0E0":"white")}),onClick:function(){return t(2)}},"Traveled as Aircrew on official orders and took leave in conjunction"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(3===n?"#E0E0E0":"white")}),onClick:function(){return t(3)}},"Non-Aircrew Travel (leave)")))},$=function(e){var t=e.count,n=e.setCount;return a.a.createElement(a.a.Fragment,null,a.a.createElement(I,null,"In the last 14 days, what is your (or patient's) exposure to others who are known to have COVID-19?"),a.a.createElement("div",{style:B},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(2===t?"#E0E0E0":"white")}),onClick:function(){return n(2)}},"Living with someone who has active COVID-19"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(3===t?"#E0E0E0":"white")}),onClick:function(){return n(3)}},"Had close contact for greater than 15 minutes with someone who has COVID-19"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},O),{},{backgroundColor:"".concat(-1===t?"#E0E0E0":"white")}),onClick:function(){return n(-1)}},"No exposure")))},G=function(e){var t=e.setResult,n=Object(o.useState)(!1),c=Object(r.a)(n,2),i=c[0],l=c[1];Object(o.useEffect)((function(){i&&t("red")}),[i,t]);var u=a.a.createElement(Y,null),s=Object(o.useState)(0),d=Object(r.a)(s,2),m=d[0],h=d[1],p=Object(o.useState)(0),b=Object(r.a)(p,2),f=b[0],g=b[1],E=a.a.createElement(V,{count:f,setCount:g}),y=a.a.createElement(J,{count:f,setCount:g}),v=a.a.createElement(q,{count:f,setCount:g}),k=a.a.createElement($,{setCount:g,count:f}),w=function(e){return h((function(t){return t+e}))},j=function(e){return h((function(t){return t-e}))},O=[{component:u,onStart:function(){w(1)}},{component:a.a.createElement(R,{optionsList:C,setCount:function(e){return g(e)},count:f},"Are you (or the patient) experiencing any of the following symptoms? Check all that apply."),onContinue:function(){f>1&&t("911"),w(1),g(0)}},{component:a.a.createElement(R,{optionsList:x,setCount:function(e){return g(e)},count:f},"In the last 14 days have you (or patient's) started experiencing any of these symptoms?"),onContinue:function(){l((function(){return f>1})),w(1),g(0)},onBack:function(){g(1),j(1)}},{component:E,onBack:function(){return j(1)},onContinue:function(){w(f),g(0)}},{component:y,onBack:function(){return j(1)},onContinue:function(){w(f),l(f>1),g(0)}},{component:v,onBack:function(){return j(1)},onContinue:function(){w(1),l(f>1),g(0)}},{component:k,onBack:function(){j(2),g(0)},onContinue:function(){t(f>0?"red":"green")}}];return Object(o.useEffect)((function(){}),[O]),a.a.createElement(P.a,{timeout:1e4,in:!0,appear:!0,exit:!0,classNames:"trans"},a.a.createElement(H.a,{id:"surveyContainer",style:S},a.a.createElement(P.a,{key:m,timeout:1e4,classNames:"trans"},a.a.createElement("div",null,O[m].component)),a.a.createElement(M,{count:f,onStart:O[m].onStart,onContinue:O[m].onContinue,onBack:O[m].onBack})))};var K=function(){var e=Object(o.useState)(""),t=Object(r.a)(e,2),n=t[0],c=t[1];return a.a.createElement("div",{className:"background-".concat(n)},""!==n?a.a.createElement(k,{result:n}):a.a.createElement("div",null,a.a.createElement(G,{setResult:c})))};Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));document.documentElement.style.setProperty("--vh","".concat(window.vh,"px")),i.a.render(a.a.createElement(a.a.StrictMode,null,a.a.createElement(K,null)),document.getElementById("root")),"serviceWorker"in navigator&&navigator.serviceWorker.ready.then((function(e){e.unregister()})).catch((function(e){console.error(e.message)}))},9:function(e,t,n){e.exports=n.p+"static/media/stopSign.28010a42.svg"}},[[19,1,2]]]);
+//# sourceMappingURL=main.91bd0329.chunk.js.map
\ No newline at end of file
diff --git a/sites/stop-light/static/js/main.91bd0329.chunk.js.map b/sites/stop-light/static/js/main.91bd0329.chunk.js.map
new file mode 100644
index 0000000000000000000000000000000000000000..7385e61d86aa62ec329c068dd98e1ba72e881312
--- /dev/null
+++ b/sites/stop-light/static/js/main.91bd0329.chunk.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["assets/checkmark.svg","assets/tron.svg","assets/medWerx.svg","components/ResultScreen/RedScreen.tsx","components/ResultScreen/GreenScreen.tsx","components/ResultScreen/BlueScreen.tsx","components/ResultScreen/TimeStamp.tsx","components/ResultScreen/ResultScreen.tsx","const/healthQuestions.ts","const/Styles.ts","components/Questions/QuestionHeader.tsx","components/Questions/CheckBoxListItemQuestion.tsx","components/StartPage/StartPage.tsx","components/ButtonGroup/ButtonGroup.tsx","components/Questions/TravelQuestion.tsx","components/Questions/TravelAircrewQuestion.tsx","components/Questions/AircrewDetailQuestion.tsx","components/Questions/ExposureQuestion.tsx","components/Survey/Survey.tsx","App.tsx","serviceWorker.ts","index.tsx","assets/stopSign.svg"],"names":["module","exports","phoneNumbers","RedScreen","style","display","flexDirection","alignItems","textAlign","marginTop","backgroundImage","stopSign","backgroundRepeat","backgroundPosition","backgroundSize","height","document","body","clientWidth","width","className","fontSize","marginBottom","map","number","i","key","href","GreenScreen","checkmark","BlueScreen","textDecoration","lineHeight","TimeStamp","position","bottom","left","right","styles","timeStamp","color","dayjs","format","fontWeight","ResultScreen","result","screens","911","red","green","emergencyQuestions","symptom","points","checked","symptoms","button","padding","paddingLeft","border","borderRadius","boxShadow","marginLeft","marginRight","justifyContent","surveyContainer","questionContainer","paddingTop","paddingRight","paddingBottom","questionHeader","fontFamily","listContainer","window","vh","overflowY","Question","children","id","checkboxListItem","margin","CheckBoxListItemQuestion","count","setCount","optionsList","useState","list","setlist","option","index","backgroundColor","onClick","newcount","listState","o","length","handleClick","StartPage","startContainer","medWerxLogo","backgroundPositionY","title","tronLogo","ButtonGroup","onStart","onContinue","onBack","flex","TravelQuestion","TravelAircrewQuestion","AircrewDetailQuestion","ExposureQuestion","Survey","setResult","isCovid","setIsCovid","useEffect","StartPageComp","transKey","setTransKey","questionPointCounter","setquestionPointCounter","TravelQuestionComp","isAircrewQuestion","AircrewDetailQuestionComp","ExposureQuestionComp","transitionForward","num","transitionBackward","surveyComponent","component","CSSTransition","timeout","in","appear","exit","classNames","TransitionGroup","App","Boolean","location","hostname","match","documentElement","setProperty","ReactDOM","render","StrictMode","getElementById","navigator","serviceWorker","ready","then","registration","unregister","catch","error","console","message"],"mappings":"sGAAAA,EAAOC,QAAU,IAA0B,uC,mBCA3CD,EAAOC,QAAU,IAA0B,kC,mBCA3CD,EAAOC,QAAU,IAA0B,qC,sICGrCC,EAAe,CAAC,eAAgB,eAAgB,gBA8CvCC,EA5CG,WAChB,OACE,yBACEC,MAAO,CACLC,QAAS,OACTC,cAAe,SACfC,WAAY,SACZC,UAAW,SACXC,UAAW,OAGb,yBACEL,MAAO,CACLM,gBAAgB,OAAD,OAASC,IAAT,KACfC,iBAAkB,YAClBC,mBAAoB,SACpBC,eAAgB,OAChBC,OAAoC,GAA5BC,SAASC,KAAKC,YACtBC,MAAmC,GAA5BH,SAASC,KAAKC,eAGzB,yBACEE,UAAU,qBACVhB,MAAO,CAAEiB,SAAU,MAAOC,aAAc,OAF1C,iBAMA,yBAAKF,UAAU,oBAAf,mDAGClB,EAAaqB,KAAI,SAACC,EAAQC,GAAT,OAChB,uBACEC,IAAKD,EACLE,KAAI,cAASH,GACbJ,UAAU,WACVhB,MAAO,CAAEiB,SAAU,MAAOZ,UAAW,OAEpCe,Q,iBCHII,EAp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,EACNC,WAAY,SAEZ,kBAACC,EAAA,EAAD,CAAiB3D,GAAG,kBAAkBzE,MAAO4D,GAC3C,kBAACkE,EAAA,EAAD,CAAexG,IAAK2F,EAAUc,QAAS,IAAOI,WAAY,SACxD,6BAAMP,EAAgBX,GAAUY,YAElC,kBAAC,EAAD,CACEhD,MAAOsC,EACPhB,QAASyB,EAAgBX,GAAUd,QACnCC,WAAYwB,EAAgBX,GAAUb,WACtCC,OAAQuB,EAAgBX,GAAUZ,YCnJ7BgC,MAjBf,WAAgB,IAAD,EACerD,mBAAS,IADxB,mBACNvC,EADM,KACEmE,EADF,KAcb,OAAO,yBAAK5F,UAAS,qBAAgByB,IAVjB,KAAXA,EACL,kBAAC,EAAD,CAAcA,OAAQA,IAEtB,6BACE,kBAAC,EAAD,CAAQmE,UAAWA,OCAP0B,QACW,cAA7BlE,OAAOmE,SAASC,UAEe,UAA7BpE,OAAOmE,SAASC,UAEhBpE,OAAOmE,SAASC,SAASC,MACvB,2DCPN7H,SAAS8H,gBAAgB1I,MAAM2I,YAAY,OAA3C,UAAsDvE,OAAOC,GAA7D,OAEAuE,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEFlI,SAASmI,eAAe,SD0HpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLC,QAAQD,MAAMA,EAAME,a,kBEjJ5B7J,EAAOC,QAAU,IAA0B,uC","file":"static/js/main.91bd0329.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/checkmark.464438aa.svg\";","module.exports = __webpack_public_path__ + \"static/media/tron.48f173e3.svg\";","module.exports = __webpack_public_path__ + \"static/media/medWerx.c97f311f.svg\";","import React from 'react';\nimport stopSign from '../../assets/stopSign.svg';\n\nconst phoneNumbers = ['808-448-6372', '808-448-6729', '808-448-6334'];\n\nconst RedScreen = () => {\n return (\n
\n \n
\n do not enter!\n
\n
\n please call public health for further screening\n
\n );\n};\n\nexport default ButtonGroup;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst TravelQuestion: React.FC = ({\n setCount,\n count,\n}) => {\n /**\n * count rules for this component\n *\n * the number in count is used to determine where in the chain of components to go to next\n *\n * Symptom Question ->\n * 0 Travel Question ->\n * 1 Are you Aircrew Question ->\n * 2 Where did you travel Question ->\n * 3 Exposure Question\n *\n * If we say no then we want to skip the next 2 questions\n *\n */\n\n return (\n
\n \n Within the last 14 days have you or anyone in your household traveled\n outside of the state of Hawai'i?\n \n
\n
{\n setCount(1);\n }}\n >\n Yes\n
\n
{\n // three to skip the aircrew question\n setCount(3);\n }}\n >\n No\n
\n
\n
\n );\n};\n\nexport default TravelQuestion;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst TravelAircrewQuestion: React.FC = ({\n setCount,\n count,\n}) => {\n return (\n <>\n \n Are you Aircrew or an immediate household member to Aircrew personnel?\n \n
\n
{\n setCount(1);\n }}\n >\n Yes\n
\n
{\n // two to skip the aircrew question\n setCount(2);\n }}\n >\n No\n
\n
\n >\n );\n};\n\nexport default TravelAircrewQuestion;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst AircrewDetailQuestion: React.FC = ({\n setCount,\n count,\n}) => {\n return (\n <>\n What applies to you?\n
\n
{\n setCount(1);\n }}\n >\n Traveled as Aircrew on official orders\n
\n
setCount(2)}\n >\n Traveled as Aircrew on official orders and took leave in conjunction\n
\n\n
setCount(3)}\n >\n Non-Aircrew Travel (leave)\n
\n
\n >\n );\n};\n\nexport default AircrewDetailQuestion;\n","import React from 'react';\nimport { ICountComponentProps } from '../../const/interfaces';\nimport { button, listContainer } from '../../const/Styles';\nimport Question from './QuestionHeader';\n\nconst ExposureQuestion: React.FC = ({\n count,\n setCount,\n}) => {\n return (\n <>\n \n In the last 14 days, what is your (or patient's) exposure to others\n who are known to have COVID-19?\n \n
\n
setCount(2)}\n >\n Living with someone who has active COVID-19\n
\n
setCount(3)}\n >\n Had close contact for greater than 15 minutes with someone who has\n COVID-19\n
\n
setCount(-1)}\n >\n No exposure\n
\n
\n >\n );\n};\n\nexport default ExposureQuestion;\n","import React, { useEffect, useState } from 'react';\nimport { emergencyQuestions, symptoms } from '../../const/healthQuestions';\nimport CheckBoxListItemQuestion from '../Questions/CheckBoxListItemQuestion';\nimport StartPage from '../StartPage/StartPage';\nimport { surveyContainer } from '../../const/Styles';\nimport { CSSTransition, TransitionGroup } from 'react-transition-group';\nimport ButtonGroup from '../ButtonGroup/ButtonGroup';\nimport TravelQuestion from '../Questions/TravelQuestion';\nimport TravelAircrewQuestion from '../Questions/TravelAircrewQuestion';\nimport AircrewDetailQuestion from '../Questions/AircrewDetailQuestion';\nimport ExposureQuestion from '../Questions/ExposureQuestion';\n\nconst Survey: React.FC<{ setResult: any }> = ({ setResult }) => {\n const [isCovid, setIsCovid] = useState(false);\n\n useEffect(() => {\n if (isCovid) {\n setResult('red');\n }\n }, [isCovid, setResult]);\n\n const StartPageComp = ;\n const [transKey, setTransKey] = useState(0);\n const [questionPointCounter, setquestionPointCounter] = useState(0);\n\n const TravelQuestionComp = (\n \n );\n\n // are you aircrew question\n const isAircrewQuestion = (\n \n );\n\n const AircrewDetailQuestionComp = (\n \n );\n\n const ExposureQuestionComp = (\n \n );\n\n const transitionForward = (num: number) => setTransKey((key) => key + num);\n const transitionBackward = (num: number) => setTransKey((key) => key - num);\n\n interface ISurveyComponent {\n component: JSX.Element;\n onStart?: () => void;\n onBack?: () => void;\n onContinue?: () => void;\n }\n\n const surveyComponent: ISurveyComponent[] = [\n {\n component: StartPageComp,\n onStart: () => {\n transitionForward(1);\n },\n },\n {\n component: (\n setquestionPointCounter(points)}\n count={questionPointCounter}\n >\n Are you (or the patient) experiencing any of the following symptoms?\n Check all that apply.\n \n ),\n onContinue: () => {\n if (questionPointCounter > 1) {\n setResult('911');\n }\n transitionForward(1);\n setquestionPointCounter(0);\n },\n },\n {\n component: (\n setquestionPointCounter(points)}\n count={questionPointCounter}\n >\n In the last 14 days have you (or patient's) started experiencing\n any of these symptoms?\n \n ),\n onContinue: () => {\n setIsCovid(() => questionPointCounter > 1);\n transitionForward(1);\n setquestionPointCounter(0);\n },\n onBack: () => {\n setquestionPointCounter(1);\n transitionBackward(1);\n },\n },\n {\n component: TravelQuestionComp,\n onBack: () => transitionBackward(1),\n onContinue: () => {\n transitionForward(questionPointCounter);\n setquestionPointCounter(0);\n },\n },\n {\n component: isAircrewQuestion,\n onBack: () => transitionBackward(1),\n onContinue: () => {\n transitionForward(questionPointCounter);\n setIsCovid(questionPointCounter > 1);\n setquestionPointCounter(0);\n },\n },\n {\n component: AircrewDetailQuestionComp,\n onBack: () => transitionBackward(1),\n onContinue: () => {\n transitionForward(1);\n setIsCovid(questionPointCounter > 1);\n setquestionPointCounter(0);\n },\n },\n {\n component: ExposureQuestionComp,\n onBack: () => {\n transitionBackward(2);\n setquestionPointCounter(0);\n },\n onContinue: () => {\n // greater than 0 means exposure\n setResult(questionPointCounter > 0 ? 'red' : 'green');\n },\n },\n ];\n\n useEffect(() => {}, [surveyComponent]);\n\n return (\n \n \n \n
;\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\ntype Config = {\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\n};\n\nexport function register(config?: Config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(\n process.env.PUBLIC_URL,\n window.location.href\n );\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' }\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\ndeclare global {\n interface Window {\n vh: number;\n }\n}\n\ndocument.documentElement.style.setProperty('--vh', `${window.vh}px`);\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root')\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","module.exports = __webpack_public_path__ + \"static/media/stopSign.28010a42.svg\";"],"sourceRoot":""}
\ No newline at end of file