Covid Screener
\ No newline at end of file
+Covid Screener
\ No newline at end of file
diff --git a/sites/stop-light/precache-manifest.1017192a0af32d956f52e0c0e375ac4b.js b/sites/stop-light/precache-manifest.1017192a0af32d956f52e0c0e375ac4b.js
new file mode 100644
index 0000000000000000000000000000000000000000..0113e9c941aa27c9b6352c8929d59a8d5ff3c02e
--- /dev/null
+++ b/sites/stop-light/precache-manifest.1017192a0af32d956f52e0c0e375ac4b.js
@@ -0,0 +1,38 @@
+self.__precacheManifest = (self.__precacheManifest || []).concat([
+ {
+ "revision": "a5feceab2f8cb86c09e8321d1a4d3424",
+ "url": "/index.html"
+ },
+ {
+ "revision": "d8541c950f525126b342",
+ "url": "/static/js/2.3c41464b.chunk.js"
+ },
+ {
+ "revision": "e88a3e95b5364d46e95b35ae8c0dc27d",
+ "url": "/static/js/2.3c41464b.chunk.js.LICENSE.txt"
+ },
+ {
+ "revision": "f01a5411257450dc692b",
+ "url": "/static/js/main.20c9b360.chunk.js"
+ },
+ {
+ "revision": "5e3981870a8f9ce80bfe",
+ "url": "/static/js/runtime-main.c00bcbac.js"
+ },
+ {
+ "revision": "464438aa8b61061a0458495ba0d4501d",
+ "url": "/static/media/checkmark.464438aa.svg"
+ },
+ {
+ "revision": "c97f311fdba2094018a51ef9f44b9654",
+ "url": "/static/media/medWerx.c97f311f.svg"
+ },
+ {
+ "revision": "28010a4247054d64d2448743883b1928",
+ "url": "/static/media/stopSign.28010a42.svg"
+ },
+ {
+ "revision": "48f173e377f5876ee2b6e6671688f0e8",
+ "url": "/static/media/tron.48f173e3.svg"
+ }
+]);
\ No newline at end of file
diff --git a/sites/stop-light/service-worker.js b/sites/stop-light/service-worker.js
index d5b8ccb2bcb7b9b0526ce81dca1663b247f37660..93368cb94568d11dfaa92ca64fa51e8a682b361c 100644
--- a/sites/stop-light/service-worker.js
+++ b/sites/stop-light/service-worker.js
@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
- "/precache-manifest.49afc1ef498c1512a22ea200f417685d.js"
+ "/precache-manifest.1017192a0af32d956f52e0c0e375ac4b.js"
);
self.addEventListener('message', (event) => {
diff --git a/sites/stop-light/static/js/main.20c9b360.chunk.js b/sites/stop-light/static/js/main.20c9b360.chunk.js
new file mode 100644
index 0000000000000000000000000000000000000000..c28865025e7c63f58b1c0c2002de3112b37600e2
--- /dev/null
+++ b/sites/stop-light/static/js/main.20c9b360.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),r=n.n(c),i=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:20}},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 mb4",style:{fontSize:"30pt"}},"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 f4 tc mt3",style:{}},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:"48pt"}},"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:"18pt",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:20}},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 mt5",style:{fontSize:"35pt",textDecoration:"underline"}},"do not enter"),a.a.createElement("div",{className:"roboto white ttu b f1 mb4",style:{fontSize:"48pt",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:50,textAlign:"center"}},k=function(e){var t=e.result;return a.a.createElement("div",null,C[t],a.a.createElement(y,null))},C={911:a.a.createElement(b,null),red:a.a.createElement(d,null),green:a.a.createElement(p,null)},w=[{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="".concat(window.vh*(window.navigator.userAgent.includes("iPhone")?70:74),"px"),S={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"},A={textAlign:"center"},N={paddingTop:50,paddingLeft:50,paddingRight:50,paddingBottom:25,display:"flex",flexDirection:"column",textAlign:"center",justifyContent:"space-between"},B={fontSize:24,fontFamily:"Roboto",color:"#4A4A4A",lineHeight:1.2},I={width:"100%",height:"calc(".concat(O," - ").concat("4rem",")"),textAlign:"left",overflowY:"scroll",marginBottom:5},W=function(e){var t=e.children;return a.a.createElement("div",{id:"questionHeader",style:N},a.a.createElement("div",{style:B},t))},R={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}},D=function(e){var t=e.count,n=e.setCount,c=e.optionsList,r=e.children,l=Object(o.useState)(Object(j.a)(c)),u=Object(i.a)(l,2),s=u[0],d=u[1];return a.a.createElement("div",{style:{marginBottom:"4rem"}},a.a.createElement(W,null,r),a.a.createElement("div",{style:I},s.map((function(e,o){return a.a.createElement("div",{key:"checkbox-".concat(o),style:Object(f.a)(Object(f.a)({},R.checkboxListItem),{},{backgroundColor:"".concat(e.checked?"#E0E0E0":"white")}),onClickCapture: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"},e.symptom))}))))},z=n(15),T=n.n(z),L=n(16),P=n.n(L),Y=function(){return a.a.createElement("div",{style:F.startContainer},a.a.createElement("div",{className:"flex"},a.a.createElement("div",{style:{backgroundImage:"url(".concat(P.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:-20}},"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:75},title:{marginTop:30,fontSize:33}},H=n(28),M=n(29),V=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"},onClickCapture:t},"Start"),o&&a.a.createElement("div",{style:{flex:1,backgroundColor:"#8695B5"},onClickCapture:o},"Back"),n&&a.a.createElement("div",{style:{flex:1,backgroundColor:"".concat(0!==c?"#3B48CD":"#BFC3DB")},onClickCapture:0!==c?n:null,onClick:function(){return console.log("next")}},"Next"))},J=function(e){var t=e.setCount,n=e.count;return a.a.createElement("div",null,a.a.createElement(W,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:I},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(1===n?"#E0E0E0":"white")}),onClickCapture:function(){t(1)}},"Yes"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(3===n?"#E0E0E0":"white")}),onClickCapture:function(){t(3)}},"No")))},q=function(e){var t=e.setCount,n=e.count;return a.a.createElement(a.a.Fragment,null,a.a.createElement(W,null,"Are you Aircrew or an immediate household member to Aircrew personnel?"),a.a.createElement("div",{style:I},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(1===n?"#E0E0E0":"white")}),onClickCapture:function(){t(1)}},"Yes"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(2===n?"#E0E0E0":"white")}),onClickCapture:function(){t(2)}},"No")))},$=function(e){var t=e.setCount,n=e.count;return a.a.createElement(a.a.Fragment,null,a.a.createElement(W,null,"What applies to you?"),a.a.createElement("div",{style:I},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(1===n?"#E0E0E0":"white")}),onClickCapture:function(){t(1)}},"Traveled as Aircrew on official orders"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(2===n?"#E0E0E0":"white")}),onClickCapture: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)({},S),{},{backgroundColor:"".concat(3===n?"#E0E0E0":"white")}),onClickCapture:function(){return t(3)}},"Non-Aircrew Travel (leave)")))},G=function(e){var t=e.count,n=e.setCount;return a.a.createElement(a.a.Fragment,null,a.a.createElement(W,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:I},a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(2===t?"#E0E0E0":"white")}),onClickCapture:function(){return n(2)}},"Living with someone who has active COVID-19"),a.a.createElement("div",{style:Object(f.a)(Object(f.a)({},S),{},{backgroundColor:"".concat(3===t?"#E0E0E0":"white")}),onClickCapture: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)({},S),{},{backgroundColor:"".concat(-1===t?"#E0E0E0":"white")}),onClickCapture:function(){return n(-1)}},"No exposure")))},K=function(e){var t=e.setResult,n=Object(o.useState)(!1),c=Object(i.a)(n,2),r=c[0],l=c[1];Object(o.useEffect)((function(){r&&t("red")}),[r,t]);var u=a.a.createElement(Y,null),s=Object(o.useState)(0),d=Object(i.a)(s,2),m=d[0],h=d[1],p=Object(o.useState)(0),b=Object(i.a)(p,2),f=b[0],g=b[1],E=a.a.createElement(J,{count:f,setCount:g}),y=a.a.createElement(q,{count:f,setCount:g}),v=a.a.createElement($,{count:f,setCount:g}),k=a.a.createElement(G,{setCount:g,count:f}),C=function(e){return h((function(t){return t+e}))},j=function(e){return h((function(t){return t-e}))},O=[{component:u,onStart:function(){C(1)}},{component:a.a.createElement(D,{optionsList:w,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"),C(1),g(0)}},{component:a.a.createElement(D,{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})),C(1),g(0)},onBack:function(){g(1),j(1)}},{component:E,onBack:function(){return j(1)},onContinue:function(){C(f),g(0)}},{component:y,onBack:function(){return j(1)},onContinue:function(){C(f),l(f>1),g(0)}},{component:v,onBack:function(){return j(1)},onContinue:function(){C(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(){console.log("change")}),[O]),a.a.createElement(H.a,{timeout:1e4,in:!0,appear:!0,exit:!0,classNames:"trans"},a.a.createElement(M.a,{id:"surveyContainer",style:A},a.a.createElement(H.a,{key:m,timeout:1e4,classNames:"trans"},a.a.createElement("div",null,O[m].component)),a.a.createElement(V,{count:f,onStart:O[m].onStart,onContinue:O[m].onContinue,onBack:O[m].onBack})))};var Q=function(){var e=Object(o.useState)(""),t=Object(i.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(K,{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")),r.a.render(a.a.createElement(a.a.StrictMode,null,a.a.createElement(Q,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.20c9b360.chunk.js.map
\ No newline at end of file
diff --git a/sites/stop-light/static/js/main.73eb1a1a.chunk.js.map b/sites/stop-light/static/js/main.20c9b360.chunk.js.map
similarity index 68%
rename from sites/stop-light/static/js/main.73eb1a1a.chunk.js.map
rename to sites/stop-light/static/js/main.20c9b360.chunk.js.map
index ca7c81cc96c385e183a815ffa0be9f6c62ae7a29..daae01411cff24a9bcd923e5f6f2431f4764c15b 100644
--- a/sites/stop-light/static/js/main.73eb1a1a.chunk.js.map
+++ b/sites/stop-light/static/js/main.20c9b360.chunk.js.map
@@ -1 +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","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","questionListHeight","window","vh","navigator","userAgent","includes","button","marginBottom","padding","paddingLeft","border","borderRadius","boxShadow","marginLeft","marginRight","justifyContent","surveyContainer","questionContainer","paddingTop","paddingRight","paddingBottom","questionHeader","fontFamily","listContainer","overflowY","Question","children","id","checkboxListItem","margin","CheckBoxListItemQuestion","count","setCount","optionsList","useState","list","setlist","option","index","backgroundColor","onClickCapture","newcount","listState","o","length","handleClick","StartPage","startContainer","medWerxLogo","backgroundPositionY","title","tronLogo","ButtonGroup","onStart","onContinue","onBack","flex","onClick","console","log","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","serviceWorker","ready","then","registration","unregister","catch","error","message"],"mappings":"sGAAAA,EAAOC,QAAU,IAA0B,uC,mBCA3CD,EAAOC,QAAU,IA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,EAAD,CAAQ2E,UAAWA,OCAP0B,QACW,cAA7B1F,OAAO2F,SAASC,UAEe,UAA7B5F,OAAO2F,SAASC,UAEhB5F,OAAO2F,SAASC,SAASC,MACvB,2DCPNpI,SAASqI,gBAAgBjJ,MAAMkJ,YAAY,OAA3C,UAAsD/F,OAAOC,GAA7D,OAEA+F,IAASC,OACP,kBAAC,IAAMC,WAAP,KACE,kBAAC,EAAD,OAEFzI,SAAS0I,eAAe,SD0HpB,kBAAmBjG,WACrBA,UAAUkG,cAAcC,MACrBC,MAAK,SAAAC,GACJA,EAAaC,gBAEdC,OAAM,SAAAC,GACLjD,QAAQiD,MAAMA,EAAMC,a,kBEjJ5BlK,EAAOC,QAAU,IAA0B,uC","file":"static/js/main.73eb1a1a.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 Trave (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
+{"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","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","questionListHeight","window","vh","navigator","userAgent","includes","button","marginBottom","padding","paddingLeft","border","borderRadius","boxShadow","marginLeft","marginRight","justifyContent","surveyContainer","questionContainer","paddingTop","paddingRight","paddingBottom","questionHeader","fontFamily","listContainer","overflowY","Question","children","id","checkboxListItem","margin","CheckBoxListItemQuestion","count","setCount","optionsList","useState","list","setlist","option","index","backgroundColor","onClickCapture","newcount","listState","o","length","handleClick","StartPage","startContainer","medWerxLogo","backgroundPositionY","title","tronLogo","ButtonGroup","onStart","onContinue","onBack","flex","onClick","console","log","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","serviceWorker","ready","then","registration","unregister","catch","error","message"],"mappings":"sGAAAA,EAAOC,QAAU,IAA0B,uC,mBCA3CD,EAAOC,QAAU,IAA0B,kC,mBCA3CD,EAAOC,QAAU,IAA0B,qC,sICGrCC,EAAe,CAAC,eAAgB,eAAgB,gBA2CvCC,EAzCG,WAChB,OACE,yBACEC,MAAO,CACLC,QAAS,OACTC,cAAe,SACfC,WAAY,SACZC,UAAW,SACXC,UAAW,KAGb,yBACEL,MAAO,CACLM,gBAAgB,OAAD,OAASC,IAAT,KACfC,iBAAkB,YAClBC,mBAAoB,SACpBC,eAAgB,OAChBC,OAAoC,GAA5BC,SAASC,KAAKC,YACtBC,MAAmC,GAA5BH,SAASC,KAAKC,eAGzB,yBAAKE,UAAU,yBAAyBhB,MAAO,CAAEiB,SAAU,SAA3D,iBAGA,yBAAKD,UAAU,oBAAf,mDAGClB,EAAaoB,KAAI,SAACC,EAAQC,GAAT,OAChB,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["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(() => {\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