{"version":3,"sources":["Components/Header.js","Components/Footer.js","Components/Home.js","Components/Sidebar.js","AppConfig.js","Components/CheckIndividual.js","Components/CheckFlight.js","Components/TestModal.js","Components/CheckAirline.js","Components/ChangePassword.js","Components/PDFView.js","Components/ModalHeader.js","Components/ModalContent.js","Components/ModalFooter.js","Components/ModalContainer.js","Components/Main.js","Components/NotFound.js","Components/Login.js","App.js","serviceWorker.js","index.js"],"names":["Header","rToggleNav","window","ToggleNav","style","zIndex","position","width","paddingTop","height","backgroundImage","title","fontFamily","padding","fontSize","textAlign","fontWeight","color","cursor","onClick","this","React","Component","Footer","bottom","float","marginTop","marginRight","Home","props","OpenNav","User","UserOrganizationType","className","data-toggle","data-trigger","key","to","backgroundColor","aria-hidden","Sidebar","fetchUserDetails","console","log","user","mylsataku","get","setState","userName","UserName","userOrg","UserOrganizationId","userRole","UserId","UserID","srcOrgLogoUrl","OrgLogoUrl","lstOrganizations","rLogOut","removeAll","location","state","id","paddingBottom","display","href","appCred","buildVersion","appUrl","appServer","CheckIndividual","ClearInputs","refs","PatientUnitNumber","value","TicketNumber","Surname","BookingRef","UserOrgType","FlightCarrier","FlightData","FlightDataSearch","setSBReqData","reqData","UserOrgId","qPassengerSurName","qFlightBookingRefNo","fetchFlightDetails","setMRNReqData","setTicketReqData","isLoading","APIRequestAuth","then","apiRes","_searchablelist","JSON","parse","stringify","ResponseResult","ResponseCode","NoRecordFound","catch","error","handleFlightCarrier","event","target","handleSurname","handlePatientUnitNumber","handleTicketNumber","length","maxLength","slice","handleBookingRef","getBorderColor","obj","Status","Result","access_token","FlightCarrierList","CloseNav","marginLeft","marginBottom","role","borderBottom","border","aria-controls","aria-selected","paddingLeft","paddingRight","placeholder","ref","required","aria-describedby","onChange","map","i","text","type","name","maxHeight","borderLeftWidth","borderColor","borderRight","PassengerName","Gender","PatientAge","FlightCareer","PassengerPassportNo","FlightBookingRefNo","FlightNumber","DisplayFlightDate","Description","UnitNumber","SpecimenId","Location","DisplayCollectionDttm","DisplaySignoutDttm","_Result","CheckFlight","handleSearch","toLowerCase","ddiv","temp","filter","item","includes","handleResultStatus","property","SearchBox","FlightDate","FlightNo","handleReport","divLoader","PDF","EXCEL","moment","format","b64Report","OpenPDFViewer","translationObj","translatedArr","Object","keys","forEach","index","push","OpenEXCELViewer","calcHeight","handleFlightNo","OpenConsentForm","base64img","_ModalContext","SetModalContext","overflowY","src","OpenModal","setFlightDate","date","txtSearch","defaultValue","disabled","placeholderText","selected","selectsEnd","dateFormat","maxWidth","ConsentFormB64","hidden","CheckAirline","byteCharacters","atob","byteNumbers","Array","charCodeAt","byteArray","Uint8Array","file","Blob","fileURL","URL","createObjectURL","open","localStorage","getItem","ChangePassword","rChangePassword","ValidateChangePassword","KeyPressHook","customAlert","isDisplay","AlertText","AlertType","which","preventDefault","username","password","passwordInput","focus","KeyUpHook","getModifierState","oldpassword","newpassword","verifypassword","e","document","addEventListener","handleUserInput","input","PDFView","ModalHeader","MdlClose","CloseModal","ModalContent","Content","ModalFooter","ModalContainer","funcModalContent","funcModalFooter","ModalContext","opacity","borderRadius","margin","Main","isUserLoggedIn","isForceChangePassword","ForceChangePassword","NormalRoutes","exact","path","component","SetModalContent","render","ForceAuthRoutes","Helmet","rel","ServerName","NotFound","Login","rLogin","usernameInput","removeEventListener","backgroundSize","autoFocus","htmlFor","App","SecureLS","encodingType","cryptoJS","CryptoJS","Boolean","hostname","match","ReactDOM","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"oNAyBeA,E,4MArBbC,WAAa,WACXC,OAAOC,a,oGAQP,OACE,4BAAQC,MAAO,CAACC,OAAQ,EAAGC,SAAU,QAASC,MAAO,OAAQC,WAAY,MAAOC,OAAQ,OAAQC,gBAAiB,gDACjH,6BACE,0BAAMC,MAAM,GAAGP,MAAO,CAACQ,WAAY,wBAAyBC,QAAS,OAAQC,SAAU,OAAQC,UAAW,OAAQC,WAAY,IAAKC,MAAO,QAASC,OAAQ,WAAYC,QAASC,KAAKnB,YAArL,mC,GA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BAAC,EAAD,MAAmB,kBAAC,EAAD,W,GAlBlClP,IAAMC,WCpBJ2Q,QACW,cAA7B/R,OAAO0D,SAASsO,UAEe,UAA7BhS,OAAO0D,SAASsO,UAEhBhS,OAAO0D,SAASsO,SAASC,MACvB,2DCZNC,IAASrB,OAAO,kBAAC,EAAD,MAAS3B,SAASiD,eAAe,SD6H3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAM5M,MAAK,SAAA6M,GACjCA,EAAaC,iB","file":"static/js/main.94472d81.chunk.js","sourcesContent":["import React from 'react';\r\n\r\nclass Header extends React.Component {\r\n \r\n rToggleNav = ()=>{\r\n window.ToggleNav()\r\n }\r\n \r\n componentDidMount () {\r\n\r\n\t}\r\n \r\n render() {\r\n return (\r\n
\r\n
\r\n \r\n Travel Check   ☰\r\n \r\n
\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default Header;\r\n","import React from 'react';\r\n\r\nclass Footer extends React.Component {\r\n\tcomponentDidMount () {\r\n\r\n\t}\r\n\t\r\n render() {\r\n return (\r\n\t\t\r\n \r\n\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default Footer;\r\n","import React from 'react';\r\nimport {Link} from 'react-router-dom';\r\n\r\nclass Home extends React.Component {\r\n constructor(props){\r\n super(props);\r\n \r\n }\r\n\r\n\tcomponentDidMount () {\r\n window.OpenNav()\r\n\t}\r\n\t\r\n render() {\r\n let user = this.props.User//JSON.parse(window.localStorage.getItem(\"User\"));\r\n let userOrg = user.User.UserOrganizationType;\r\n return (\r\n \r\n
\r\n

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n

Check Individual Passenger

\r\n
\r\n
\r\n
\r\n Click here\r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

Check Flight

\r\n
\r\n
\r\n
\r\n Click here\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n {/*
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n

Check Airline

\r\n
\r\n
\r\n
\r\n Click here\r\n
\r\n
\r\n
\r\n \r\n
\r\n
*/}\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default Home;\r\n","import React from 'react';\r\nimport { Link } from 'react-router-dom';\r\n\r\nclass Sidebar extends React.Component {\r\n constructor(){\r\n super();\r\n\r\n this.state ={\r\n userName : '',\r\n userOrg :'',\r\n UserId :'',\r\n userRole:'',\r\n srcOrgLogoUrl : '',\r\n lstOrganizations :[]\r\n };\r\n }\r\n\r\n fetchUserDetails = () =>{\r\n console.log('hereUser');\r\n let user = window.mylsataku.get('cache2'); //JSON.parse(window.localStorage.getItem(\"User\"));\r\n //let refresh_token = user.User.UserName;\r\n this.setState ({\r\n userName : user.User.UserName,\r\n userOrg :user.User.UserOrganizationId,\r\n userRole:user.User.UserOrganizationType,\r\n UserId: user.User.UserID,\r\n srcOrgLogoUrl :user.User.OrgLogoUrl,\r\n lstOrganizations : user.User.lstOrganizations\r\n });\r\n\r\n// console.log(this.state.userOrg + \" this.state\");\r\n// let temp = this.state.lstOrganizations.filter(function(item) {\r\n// return ((item.id||'').toLowerCase() == (this.state.userOrg.toLowerCase()))\r\n// })\r\n// console.log(temp);\r\n// this.setState({\r\n// userOrg : temp.map((obj)=> obj.text )\r\n// })\r\n\r\n }\r\n rLogOut = () =>{\r\n window.mylsataku.removeAll();\r\n //localStorage.clear();\r\n window.location = '/';\r\n }\r\n\r\n\tcomponentDidMount () {\r\n this.fetchUserDetails();\r\n\t}\r\n\t\r\n render() {\r\n return (\r\n
\r\n
\r\n{ /*\r\n\r\n\r\n\"Generic\r\n \r\n*/}\r\n\r\n
\r\n
{this.state.userName}
\r\n \r\n

{this.state.userRole}

\r\n {/*

{this.state.UserId}

*/}\r\n
\r\n Home\r\n Check Individual\r\n Check Flight\r\n Change Password\r\n {/* Check Airline \r\n */}\r\n\r\n\r\n {/*\r\n \r\n\r\n this.props.User.menus.map((obj, i) => \r\n
\r\n {obj.MenuDescription} \r\n \r\n {(obj.lstChildOpts.length > 0 ? \r\n \r\n : () \r\n )}\r\n \r\n \r\n
\r\n {obj.lstChildOpts.map((ch, j)=>\r\n
\r\n \r\n \r\n {ch.MenuDescription}\r\n \r\n
\r\n )}\r\n
\r\n
\r\n )*/}\r\n Logout\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default Sidebar;\r\n","\r\nexport const appCred = { \r\n buildVersion : '1.0',\r\n //appUrl : 'http://localhost:1905/',\r\n appUrl : 'https://hisapiemirateconnect.aku.edu/',\r\n appServer : 'VPCWEBAPP5'\r\n};","import React from 'react';\r\nimport {appCred} from '../AppConfig.js';\r\nimport { Link } from 'react-router-dom';\r\n\r\n\r\nclass CheckIndividual extends React.Component {\r\n constructor(){\r\n super();\r\n \r\n let user = window.mylsataku.get('cache2'); //JSON.parse(window.localStorage.getItem(\"User\"));\r\n\r\n this.state = {\r\n FlightCarrier : '',\r\n PatientUnitNumber : '',\r\n TicketNumber : '',\r\n Surname : '',\r\n BookingRef : '',\r\n access_token : '',\r\n qPassengerSurName : '',\r\n qFlightBookingRefNo : '',\r\n FlightData : [],\r\n FlightDataSearch : [],\r\n isLoading : false,\r\n NoRecordFound : false,\r\n UserOrgId : user.User.UserOrganizationId,\r\n UserOrgType : user.User.UserOrganizationType,\r\n FlightCarrierList : user.User.lstOrganizations\r\n }\r\n }\r\n\r\n ClearInputs = () =>{\r\n this.refs.PatientUnitNumber.value = '';\r\n this.refs.TicketNumber.value = '';\r\n this.refs.Surname.value = '';\r\n this.refs.BookingRef.value = '';\r\n if(this.state.UserOrgType != \"AIRLINE\"){\r\n this.refs.FlightCarrier.value = 'Select Carrier';\r\n } \r\n\r\n this.setState({\r\n FlightData : [],\r\n FlightDataSearch : [],\r\n TicketNumber : '',\r\n PatientUnitNumber : ''\r\n //FlightNo : '',\r\n //FlightCarrier: ''\r\n })\r\n }\r\n\r\n setSBReqData = () => {\r\n console.log('setSBReqData');\r\n let reqData = '';\r\n if (this.state.UserOrgType == \"AIRLINE\"){\r\n reqData = { \"key\": \"PASSENGER\", \"qFlightCareer\" : this.state.UserOrgId, 'qPassengerSurName': this.state.qPassengerSurName , 'qFlightBookingRefNo' : this.state.qFlightBookingRefNo }\r\n }else{ \r\n reqData = { \"key\": \"PASSENGER\", \"qFlightCareer\" : this.state.FlightCarrier, 'qPassengerSurName': this.state.qPassengerSurName , 'qFlightBookingRefNo' : this.state.qFlightBookingRefNo }\r\n }\r\n\r\n this.fetchFlightDetails(reqData);\r\n }\r\n\r\n setMRNReqData = () => {\r\n console.log('setMRNReqData');\r\n let reqData = { \"key\": \"UNITNUMBER\", \"qUnitNumber\" : this.state.PatientUnitNumber }\r\n \r\n this.fetchFlightDetails(reqData);\r\n }\r\n\r\n setTicketReqData = () => {\r\n console.log('setTicketReqData');\r\n let reqData = { \"key\": \"TICKETNUMBER\", \"qTicketNumber\" : this.state.TicketNumber }\r\n \r\n this.fetchFlightDetails(reqData);\r\n }\r\n\r\n fetchFlightDetails = (reqData)=>{\r\n this.setState({\r\n isLoading : true\r\n }) \r\n console.log('fetchIndividualFlightDetails called');\r\n //console.log(this.state.FlightDate);\r\n \r\n /*let reqData = '';\r\n if (this.state.UserOrgType == \"AIRLINE\"){\r\n reqData = { \"qFlightCareer\" : this.state.UserOrgId, 'qPassengerSurName': this.state.qPassengerSurName , 'qFlightBookingRefNo' : this.state.qFlightBookingRefNo }\r\n }else{ \r\n reqData = { \"qFlightCareer\" : this.state.FlightCarrier, 'qPassengerSurName': this.state.qPassengerSurName , 'qFlightBookingRefNo' : this.state.qFlightBookingRefNo }\r\n }*/\r\n\r\n window.APIRequestAuth(appCred,'AirlineCovidManager.GetFlightData',reqData).then((apiRes)=>{\r\n //console.log(reqData);\r\n //console.log(apiRes);\r\n let _searchablelist = JSON.parse(JSON.stringify(apiRes.ResponseResult));\r\n\r\n if(apiRes.ResponseCode == 200){\r\n \r\n this.setState({\r\n isLoading : false,\r\n FlightData : apiRes.ResponseResult,\r\n FlightDataSearch : _searchablelist\r\n })\r\n }\r\n else{\r\n this.setState({\r\n isLoading : false,\r\n NoRecordFound : true,\r\n FlightData : apiRes.ResponseResult,\r\n FlightDataSearch : _searchablelist\r\n })\r\n }\r\n }).catch((error) => {\r\n console.log(error)\r\n })\r\n\r\n } \r\n\r\n\r\n handleFlightCarrier = (event) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n FlightCarrier: event.target.value\r\n });\r\n }\r\n\r\n handleSurname = (event) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n qPassengerSurName: event.target.value\r\n });\r\n }\r\n\r\n handlePatientUnitNumber = (event) =>{\r\n //console.log('')\r\n this.setState({\r\n PatientUnitNumber: event.target.value\r\n });\r\n }\r\n\r\n handleTicketNumber = (event) =>{\r\n //console.log('')\r\n if (event.target.value.length > event.target.maxLength) {\r\n event.target.value = event.target.value.slice(0, event.target.maxLength)\r\n \r\n }\r\n \r\n this.setState({\r\n TicketNumber: event.target.value\r\n });\r\n }\r\n\r\n handleBookingRef = (event) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n qFlightBookingRefNo: event.target.value\r\n });\r\n }\r\n \r\n getBorderColor = (obj)=>{\r\n if(obj.Status == \"Completed\"){\r\n if(obj.Result == \"Positive\"){ \r\n return \"red\";\r\n } else if(obj.Result == \"Negative\"){\r\n return \"green\";\r\n } \r\n }else{\r\n return \"darkorange\";\r\n }\r\n }\r\n\t\r\n\tcomponentDidMount () {\r\n window.CloseNav();\r\n //L5W4NW\r\n }\r\n\t\r\n render() {\r\n \r\n return (\r\n
\r\n

\r\n \r\n Check Individual Passenger \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n\r\n { \r\n (this.state.UserOrgType != \"AIRLINE\")?\r\n
\r\n \r\n
\r\n \r\n :\r\n
\r\n }\r\n\r\n
\r\n this.handleSurname(event)} \r\n style={{marginBottom:'5px'}}\r\n />\r\n
\r\n\r\n
\r\n this.handleBookingRef(event)} \r\n style={{marginBottom:'5px'}}\r\n />\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n this.handlePatientUnitNumber(event)} \r\n style={{marginBottom:'5px'}}\r\n />\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n this.handleTicketNumber(event)} \r\n style={{marginBottom:'5px'}}\r\n />\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n{ \r\n this.state.isLoading ?\r\n
\r\n :\r\n (this.state.FlightDataSearch)? \r\n this.state.FlightDataSearch.map((obj, i)=>\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

{obj.PassengerName}

\r\n {obj.Gender} | {obj.PatientAge} Y\r\n

\r\n \r\n \r\n Carrier\r\n Passport #
\r\n {obj.FlightCareer}\r\n {obj.PassengerPassportNo}

\r\n \r\n \r\n PNR | Ticket #\r\n {/* Ticket # */}\r\n Flight # | Date
\r\n\r\n {/* {obj.FlightBookingRefNo} */}\r\n {(obj.TicketNumber)? {obj.FlightBookingRefNo}   |   {obj.TicketNumber} : {obj.FlightBookingRefNo}   |   N/A } \r\n {/*obj.FlightCareer */} {obj.FlightNumber} | {obj.DisplayFlightDate}\r\n \r\n
\r\n
\r\n

Test

\r\n

{obj.Description}

\r\n \r\n

{obj.UnitNumber} | {obj.SpecimenId}

\r\n

{obj.Location}

\r\n
\r\n Specimen Collection\r\n Result Released
\r\n \r\n {\r\n (obj.DisplayCollectionDttm)?\r\n {obj.DisplayCollectionDttm}\r\n :\r\n N/A\r\n }\r\n {\r\n (obj.DisplaySignoutDttm)?\r\n {obj.DisplaySignoutDttm}\r\n :\r\n N/A\r\n }\r\n \r\n
\r\n \r\n
\r\n

Result

\r\n
\r\n

{obj._Result}

\r\n\r\n
\r\n {\r\n (obj.Status == \"Completed\")?\r\n \r\n (obj.Result == \"Negative\")? \r\n

{obj.Result}

\r\n :\r\n

{obj.Result}

\r\n \r\n :\r\n

{obj.Status}

\r\n }\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n\r\n \r\n :\r\n \r\n this.state.NoRecordFound ?\r\n

No Record Found

\r\n :\r\n
\r\n }\r\n\r\n { /* \r\n this.state.isLoading ?\r\n
\r\n :\r\n (this.state.FlightDataSearch)?\r\n this.state.FlightDataSearch.map((obj, i)=>\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

{obj.PassengerName}

\r\n

{obj.Gender} | {obj.PatientAge} Y

\r\n \r\n \r\n

Booking Reference / PNR

\r\n

{obj.FlightBookingRefNo}

\r\n
\r\n
\r\n

{obj.PassengerPassportNo}

\r\n

Flight # / Date

\r\n

{obj.FlightCareer} {obj.FlightNumber} / {obj.DisplayFlightDate}

\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n

Test

\r\n

{obj.Description}

\r\n \r\n \r\n

{obj.UnitNumber} / {obj.SpecimenNumber}

\r\n

{obj.Location}

\r\n
\r\n
\r\n

Result

\r\n

{obj._Result}

\r\n {\r\n (obj.Result == \"Negative\")? \r\n

{obj.Result}

\r\n :\r\n

{obj.Result}

\r\n \r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Specimen Collection

\r\n

{obj.DisplayCollectionDttm}

\r\n
\r\n
\r\n

Result Released

\r\n

{obj.DisplaySignoutDttm}

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n )\r\n \r\n :\r\n \r\n this.state.NoRecordFound ?\r\n

No Record Found

\r\n :\r\n
\r\n */}\r\n\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default CheckIndividual;\r\n","import React from 'react';\r\nimport {appCred} from '../AppConfig.js';\r\nimport moment from 'moment';\r\nimport DatePicker from 'react-datepicker';\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport { Link } from 'react-router-dom';\r\nimport TestModal from './TestModal.js';\r\n\r\nclass CheckFlight extends React.Component {\r\n constructor(){\r\n super();\r\n\r\n let user = window.mylsataku.get('cache2'); //JSON.parse(window.localStorage.getItem(\"User\"));\r\n \r\n this.state = {\r\n b64Report : '',\r\n FlightDate :null,\r\n isLoading : false,\r\n NoRecordFound : false,\r\n FlightCarrier :'',\r\n FlightData : [],\r\n FlightDataSearch : [],\r\n txtSearch:'',\r\n UserOrgType : user.User.UserOrganizationType,\r\n UserOrgId : user.User.UserOrganizationId,\r\n FlightNo : '',// (user.User.UserOrganizationType == \"AIRLINE\") ? user.User.UserOrganizationId : '' ,\r\n FlightCarrierList : user.User.lstOrganizations\r\n }\r\n }\r\n\r\n handleSearch = (event)=>{\r\n //console.log(event.target.value.toLowerCase());\r\n if (event.target.value.toLowerCase() != ''){\r\n this.refs.ddiv.style.display = 'none'\r\n }else{\r\n this.refs.ddiv.style.display = 'block'\r\n }\r\n let temp = this.state.FlightData.filter(function(item) {\r\n return (item.PassengerName.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.PassengerPassportNo.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n (item.Result||'').toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n (item._Result||'').toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.FlightBookingRefNo.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.Gender.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.UnitNumber.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.SpecimenId.toLowerCase().includes(event.target.value.toLowerCase())\r\n )\r\n })\r\n this.setState({\r\n FlightDataSearch : temp\r\n })\r\n} \r\n\r\nhandleResultStatus = (property, key)=>{\r\n \r\n this.refs.SearchBox.value = '';\r\n let temp = this.state.FlightData.filter(function(item) {\r\n if(property == 'All'){\r\n return true;\r\n } \r\n else if(property == 'Result'){\r\n //console.log(item.Result);\r\n //console.log(property);\r\n //console.log(key);\r\n return ((item.Result||'').toLowerCase() == (key.toLowerCase()))\r\n }\r\n else if(property == 'Status'){\r\n return ((item.Status||'').toLowerCase() == (key.toLowerCase())) \r\n }\r\n })\r\n this.setState({\r\n FlightDataSearch : temp\r\n })\r\n} \r\n\r\n ClearInputs = () =>{\r\n this.refs.FlightDate.value = '';\r\n this.refs.FlightNo.value = '';\r\n if(this.state.UserOrgType != \"AIRLINE\"){\r\n this.refs.FlightCarrier.value = '';\r\n }\r\n \r\n\r\n this.setState({\r\n FlightDate : '',\r\n FlightData : [],\r\n FlightDataSearch : [],\r\n FlightNo:'',\r\n FlightCarrier:''\r\n //FlightNo : '',\r\n //FlightCarrier: ''\r\n })\r\n }\r\n\r\n \r\n\r\n handleReport = (key)=>{\r\n \r\n console.log('fetchReport called ' + key)\r\n\r\n this.refs.divLoader.style.display = 'block' \r\n if(key == \"PDF\"){this.refs.PDF.style.display = 'none'}else{this.refs.EXCEL.style.display = 'none'}\r\n \r\n if(key == \"PDF\"){\r\n console.log('pdf');\r\n \r\n \r\n let reqData = '';\r\n if (this.state.UserOrgType == \"AIRLINE\"){\r\n if (this.state.FlightDate){\r\n console.log(\"IF date \" + this.state.FlightDate)\r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.UserOrgId, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY'), \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.UserOrgId, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY')}\r\n }\r\n }else{\r\n console.log(\"else date \" + this.state.FlightDate) \r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.UserOrgId, \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightDate)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.UserOrgId }\r\n } \r\n }\r\n }else{\r\n\r\n if (this.state.FlightDate){\r\n console.log(\"IF date \" + this.state.FlightDate)\r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.FlightCarrier, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY'), \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.FlightCarrier, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY') }\r\n }\r\n }else{\r\n console.log(\"else date \" + this.state.FlightDate) \r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.FlightCarrier, \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightDate)\r\n reqData = { \"key\": \"ALL\", \"outExt\": key, \"qFlightCareer\" : this.state.FlightCarrier}\r\n }\r\n \r\n }\r\n }\r\n\r\n window.APIRequestAuth(appCred,'AirlineCovidManager.ExtractReportB64',reqData).then((apiRes)=>{\r\n //console.log(apiRes);\r\n \r\n if(apiRes.ResponseCode == 200){\r\n this.setState({\r\n b64Report : apiRes.ResponseResult\r\n })\r\n\r\n if(key==\"PDF\"){\r\n\r\n window.OpenPDFViewer(apiRes.ResponseResult);\r\n this.refs.divLoader.style.display = 'none' \r\n this.refs.PDF.style.display = 'inline'\r\n \r\n // let pdfWindow = window.open(\"\")\r\n // pdfWindow.document.write(\r\n // \"\"\r\n // )\r\n \r\n //window.localStorage.setItem(\"fetchedPDF\", apiRes.ResponseResult);\r\n //window.open('/PDFView');\r\n\r\n //location.href = fileURL;\r\n }\r\n else{\r\n }\r\n }\r\n }).catch((error) => {\r\n console.log(error)\r\n })\r\n }\r\n else{\r\n if(this.state.UserOrgId == \"EY\" || this.state.FlightCarrier == \"EY\"){\r\n console.log('excel EY');\r\n let translationObj = {\r\n \"UnitNumber\" : \"Case Number\",\r\n \"DisplayFlightDate\" : \"Dep. Date\",\r\n \"FlightNumber\" : \"Flt. No.\",\r\n \"FirstName\" : \"First Name\",\r\n \"LastName\" : \"Last Name\",\r\n \"PatientAge\" : \"Age\",\r\n \"Gender\" : \"Gender\",\r\n \"CellNumber\" : \"Mobile\",\r\n \"FlightBookingRefNo\" : \"Booking Ref. #\",\r\n \"TicketNumber\" : \"Ticket Number\",\r\n \"PassengerPassportNo\" : \"Passport No.\",\r\n \"DisplayCollectionDttm\" : \"Registration Date\",\r\n \"Description\" : \"Lab Name\",\r\n \"_Result\" : \"Result\"\r\n };\r\n\r\n let translatedArr = [];\r\n\r\n for(let i=0; i< this.state.FlightData.length; i++ ){\r\n let obj = {};\r\n Object.keys(translationObj).forEach((key,index)=>{\r\n obj[translationObj[key]] = this.state.FlightData[i][key];\r\n })\r\n translatedArr.push(obj);\r\n } \r\n window.OpenEXCELViewer(translatedArr);\r\n \r\n this.refs.divLoader.style.display = 'none' \r\n this.refs.EXCEL.style.display = 'inline' \r\n }\r\n else{\r\n console.log('excel');\r\n let translationObj = {\r\n \"SpecimenId\" : \"Specimen Id\",\r\n \"RequestNumber\" : \"Request Number\",\r\n \"UnitNumber\" : \"Patient Unit Number\",\r\n \"PassengerName\" : \"Passenger Name\",\r\n \"TicketNumber\" : \"Ticket Number\",\r\n \"PassengerPassportNo\" : \"Passport Number\",\r\n \"FlightCareer\" : \"Flight Carrier\",\r\n \"DisplayFlightDate\" : \"Flight Date\",\r\n \"FlightNumber\" : \"Flight Number\",\r\n \"FlightBookingRefNo\" : \"Booking Reference\",\r\n \"FinalDestination\" : \"Final Destination\",\r\n \"DisplayCollectionDttm\" : \"Specimen Collection Date\",\r\n \"DisplaySignoutDttm\" : \"Specimen Resulted Date\",\r\n \"Status\" : \"Report Status\",\r\n \"Description\" : \"Ordered Test\",\r\n \"Result\" : \"Result\",\r\n \"_Result\" : \"Result (Simplified)\",\r\n \"PatientAge\" : \"Passenger Age\",\r\n \"Gender\" : \"Passenger Gender\",\r\n \"Location\" : \"Test Perform City\"\r\n };\r\n\r\n let translatedArr = [];\r\n\r\n for(let i=0; i< this.state.FlightData.length; i++ ){\r\n let obj = {};\r\n //for(let key in Object.keys(translationObj)){\r\n Object.keys(translationObj).forEach((key,index)=>{\r\n obj[translationObj[key]] = this.state.FlightData[i][key];\r\n })\r\n translatedArr.push(obj);\r\n }\r\n \r\n //console.log(translatedArr);\r\n\r\n window.OpenEXCELViewer(translatedArr);\r\n \r\n this.refs.divLoader.style.display = 'none' \r\n this.refs.EXCEL.style.display = 'inline'\r\n \r\n \r\n }\r\n }\r\n }\r\n\r\n\r\n fetchFlightDetails = ()=>{\r\n this.setState({\r\n isLoading : true\r\n })\r\n console.log('fetchFlightDetails called')\r\n //console.log(this.state.FlightDate);\r\n let reqData = '';\r\n if (this.state.UserOrgType == \"AIRLINE\"){\r\n if (this.state.FlightDate){\r\n console.log(\"IF date \" + this.state.FlightDate)\r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"FLIGHT\", \"qFlightCareer\" : this.state.UserOrgId, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY'), \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.UserOrgId, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY') }\r\n }\r\n }else{\r\n console.log(\"else date \" + this.state.FlightDate) \r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.UserOrgId, \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightDate)\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.UserOrgId}\r\n } \r\n }\r\n }else{\r\n\r\n if (this.state.FlightDate){\r\n console.log(\"IF date \" + this.state.FlightDate)\r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"FLIGHT\", \"qFlightCareer\" : this.state.FlightCarrier, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY'), \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.FlightCarrier, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY') }\r\n }\r\n }else{\r\n console.log(\"else date \" + this.state.FlightDate) \r\n if(this.state.FlightNo){\r\n console.log(\"IF # \" + this.state.FlightNo)\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.FlightCarrier, \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n console.log(\"else # \" + this.state.FlightDate)\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.FlightCarrier}\r\n }\r\n \r\n }\r\n }\r\n \r\n //console.log(reqData);\r\n \r\n window.APIRequestAuth(appCred,'AirlineCovidManager.GetFlightData',reqData).then((apiRes)=>{\r\n //console.log(apiRes);\r\n \r\n let _searchablelist = JSON.parse(JSON.stringify(apiRes.ResponseResult));\r\n if(apiRes.ResponseCode == 200){\r\n this.setState({\r\n isLoading : false,\r\n FlightData : apiRes.ResponseResult,\r\n FlightDataSearch : _searchablelist\r\n },()=>{\r\n window.calcHeight();\r\n })\r\n }\r\n else if(apiRes.ResponseCode == 204){\r\n this.setState({\r\n isLoading : false,\r\n NoRecordFound : true,\r\n FlightData : [],\r\n FlightDataSearch : []\r\n })\r\n }\r\n }).catch((error) => {\r\n console.log(error)\r\n })\r\n\r\n }\r\n\r\n handleFlightNo = (event) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n FlightNo: event.target.value\r\n });\r\n }\r\n\r\n handleFlightCarrier = (event) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n FlightCarrier: event.target.value\r\n });\r\n }\r\n\r\n OpenConsentForm = (base64img) => {\r\n console.log('modal here' + base64img);\r\n window._ModalContext.SetModalContext(\"Consent Form\", \r\n ()=>{return
},\r\n ()=>{return
});\r\n window.OpenModal('large');\r\n }\r\n\r\n\r\n setFlightDate = (date) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n FlightDate: date\r\n });\r\n }\r\n\r\n \r\n getBorderColor = (obj)=>{\r\n if(obj.Status == \"Completed\"){\r\n if(obj.Result == \"Positive\"){ \r\n return \"red\";\r\n } else if(obj.Result == \"Negative\"){\r\n return \"green\";\r\n } \r\n }else{\r\n return \"darkorange\";\r\n }\r\n }\r\n\tcomponentDidMount () {\r\n window.CloseNav();\r\n // if (this.state.UserOrgType == \"AIRLINE\"){\r\n // this.fetchFlightDetails();\r\n // }\r\n }\r\n\t\r\n render() {\r\n \r\n return (\r\n
\r\n

\r\n Check Flight \r\n \r\n
\r\n { \r\n (this.state.UserOrgType != \"AIRLINE\")?\r\n
\r\n \r\n
\r\n \r\n :\r\n
\r\n }\r\n
\r\n this.handleFlightNo(event)} \r\n defaultValue = {this.state.FlightNo}\r\n style={{marginBottom:'5px'}}\r\n />\r\n
\r\n
\r\n this.setFlightDate(date)}\r\n selectsEnd\r\n dateFormat=\"dd/MM/yyyy\"\r\n />\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\r\n\r\n \r\n { \r\n this.state.isLoading ?\r\n
\r\n :\r\n (this.state.FlightData.length > 0)?\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n :\r\n this.state.NoRecordFound ?\r\n

No Record Found

\r\n :\r\n
\r\n }\r\n
0)? {overflowY: 'scroll', width:'100%', float: 'left'} : {}}>\r\n {\r\n (this.state.FlightDataSearch)? \r\n this.state.FlightDataSearch.map((obj, i)=>\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

#{i + 1 }

\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

{obj.PassengerName}

\r\n

{obj.Gender} | {obj.PatientAge} Y

\r\n
\r\n
\r\n

Booking Ref | PNR

\r\n

{obj.FlightBookingRefNo}

\r\n \r\n
\r\n
\r\n

Tickect #

\r\n

{(obj.TicketNumber)? {obj.TicketNumber} : N/A }

\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n

Passport #

\r\n

{obj.PassengerPassportNo}

\r\n \r\n

Flight # | Date

\r\n

{/*obj.FlightCareer */} {obj.FlightNumber} | {obj.DisplayFlightDate}

\r\n \r\n
\r\n
\r\n

Test

\r\n

{obj.Description}

\r\n \r\n \r\n

{obj.UnitNumber} | {obj.SpecimenId}

\r\n

{obj.Location}

\r\n
\r\n \r\n
\r\n

Result

\r\n

{obj._Result}

\r\n\r\n\r\n {\r\n (obj.Status == \"Completed\")?\r\n \r\n (obj.Result == \"Negative\")? \r\n

{obj.Result}

\r\n :\r\n

{obj.Result}

\r\n \r\n :\r\n

{obj.Status}

\r\n }\r\n
\r\n \r\n
\r\n

Specimen Collection

\r\n \r\n {\r\n (obj.DisplayCollectionDttm)?\r\n

{obj.DisplayCollectionDttm}

\r\n :\r\n

N/A

\r\n }\r\n

Result Released

\r\n {\r\n (obj.DisplaySignoutDttm)?\r\n

{obj.DisplaySignoutDttm}\r\n {\r\n (obj.ConsentFormB64 != '')? \r\n \r\n :\r\n \r\n \r\n }\r\n

\r\n :\r\n

N/A\r\n {\r\n (obj.ConsentFormB64 != '')? \r\n \r\n :\r\n \r\n \r\n }

\r\n }\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n :\r\n
\r\n }\r\n
\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default CheckFlight;\r\n","import React from 'react';\r\n\r\nclass TestModal extends React.Component {\r\n\tcomponentDidMount () {\r\n\r\n\t}\r\n\t\r\n render() {\r\n return (\r\n\t\t\r\n
Hello I am test
\r\n\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default TestModal;\r\n","import React from 'react';\r\nimport {appCred} from '../AppConfig.js';\r\nimport moment from 'moment';\r\nimport DatePicker from 'react-datepicker';\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport { Link } from 'react-router-dom';\r\n\r\nclass CheckAirline extends React.Component {\r\n constructor(){\r\n super();\r\n\r\n let user = JSON.parse(window.localStorage.getItem(\"User\"));\r\n \r\n this.state = {\r\n b64Report : '',\r\n FlightDate :null,\r\n isLoading : false,\r\n NoRecordFound : false,\r\n FlightCarrier :'',\r\n FlightData : [],\r\n FlightDataSearch : [],\r\n txtSearch:'',\r\n UserOrgType : user.User.UserOrganizationType,\r\n UserOrgId : user.User.UserOrganizationId,\r\n FlightNo : '',// (user.User.UserOrganizationType == \"AIRLINE\") ? user.User.UserOrganizationId : '' ,\r\n FlightCarrierList : user.User.lstOrganizations\r\n }\r\n }\r\n\r\n handleSearch = (event)=>{\r\n //console.log(event.target.value.toLowerCase());\r\n if (event.target.value.toLowerCase() != ''){\r\n this.refs.ddiv.style.display = 'none'\r\n }else{\r\n this.refs.ddiv.style.display = 'block'\r\n }\r\n let temp = this.state.FlightData.filter(function(item) {\r\n return (item.PassengerName.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.PassengerPassportNo.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n (item.Result||'').toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n (item._Result||'').toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.FlightBookingRefNo.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.Gender.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.UnitNumber.toLowerCase().includes(event.target.value.toLowerCase()) ||\r\n item.SpecimenId.toLowerCase().includes(event.target.value.toLowerCase())\r\n )\r\n })\r\n this.setState({\r\n FlightDataSearch : temp\r\n })\r\n} \r\n\r\nhandleResultStatus = (property, key)=>{\r\n \r\n this.refs.SearchBox.value = '';\r\n let temp = this.state.FlightData.filter(function(item) {\r\n if(property == 'All'){\r\n return true;\r\n } \r\n else if(property == 'Result'){\r\n console.log(item.Result);\r\n console.log(property);\r\n console.log(key);\r\n return ((item.Result||'').toLowerCase() == (key.toLowerCase()))\r\n }\r\n else if(property == 'Status'){\r\n return ((item.Status||'').toLowerCase() == (key.toLowerCase())) \r\n }\r\n })\r\n this.setState({\r\n FlightDataSearch : temp\r\n })\r\n} \r\n\r\n ClearInputs = () =>{\r\n if(this.state.UserOrgType != \"AIRLINE\"){\r\n this.refs.FlightCarrier.value = 'Select Carrier';\r\n } \r\n\r\n this.setState({\r\n FlightDate : '',\r\n FlightData : [],\r\n FlightDataSearch : [],\r\n //FlightNo : '',\r\n //FlightCarrier: ''\r\n })\r\n }\r\n\r\n \r\n\r\n handleReport = (key)=>{\r\n \r\n console.log('fetchReport called ' + key)\r\n\r\n if(key == \"PDF\"){\r\n console.log('pdf');\r\n let reqData = '';\r\n if (this.state.UserOrgType == \"AIRLINE\"){\r\n reqData = { \"key\": \"FLIGHT\", \"outExt\": key, \"qFlightCareer\" : this.state.UserOrgId, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY'), \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n reqData = { \"key\": \"FLIGHT\", \"outExt\": key, \"qFlightCareer\" : this.state.FlightCarrier }\r\n }\r\n \r\n window.APIRequestAuth(appCred,'AirlineCovidManager.ExtractReportB64',reqData).then((apiRes)=>{\r\n console.log(apiRes);\r\n \r\n if(apiRes.ResponseCode == 200){\r\n this.setState({\r\n b64Report : apiRes.ResponseResult\r\n })\r\n\r\n if(key==\"PDF\"){\r\n\r\n // window.OpenPDFViewer(apiRes.ResponseResult);\r\n // let pdfWindow = window.open(\"\")\r\n // pdfWindow.document.write(\r\n // \"\"\r\n // )\r\n \r\n //window.localStorage.setItem(\"fetchedPDF\", apiRes.ResponseResult);\r\n //window.open('/PDFView');\r\n\r\n var byteCharacters = atob(apiRes.ResponseResult);\r\n var byteNumbers = new Array(byteCharacters.length);\r\n for (var i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n var byteArray = new Uint8Array(byteNumbers);\r\n var file = new Blob([byteArray], { type: 'application/pdf;base64' });\r\n var fileURL = URL.createObjectURL(file);\r\n window.open(fileURL);\r\n }\r\n else{\r\n }\r\n }\r\n }).catch((error) => {\r\n console.log(error)\r\n })\r\n }\r\n else{\r\n console.log('excel');\r\n let translationObj = {\r\n \"SpecimenId\" : \"Specimen Id\",\r\n \"RequestNumber\" : \"Request Number\",\r\n \"UnitNumber\" : \"Patient Unit Number\",\r\n \"PassengerName\" : \"Passenger Name\",\r\n \"PassengerPassportNo\" : \"Passport Number\",\r\n \"FlightCareer\" : \"Flight Carrier\",\r\n \"DisplayFlightDate\" : \"Flight Date\",\r\n \"FlightNumber\" : \"Flight Number\",\r\n \"FlightBookingRefNo\" : \"Booking Reference\",\r\n \"DisplayCollectionDttm\" : \"Specimen Collection Date\",\r\n \"DisplaySignoutDttm\" : \"Specimen Resulted Date\",\r\n \"Status\" : \"Report Status\",\r\n \"Description\" : \"Ordered Test\",\r\n \"Result\" : \"Result\",\r\n \"_Result\" : \"Result (Simplified)\",\r\n \"PatientAge\" : \"Passenger Age\",\r\n \"Gender\" : \"Passenger Gender\",\r\n \"Location\" : \"Test Perform City\"\r\n };\r\n\r\n let translatedArr = [];\r\n\r\n for(let i=0; i< this.state.FlightData.length; i++ ){\r\n let obj = {};\r\n //for(let key in Object.keys(translationObj)){\r\n Object.keys(translationObj).forEach((key,index)=>{\r\n obj[translationObj[key]] = this.state.FlightData[i][key];\r\n })\r\n translatedArr.push(obj);\r\n }\r\n \r\n console.log(translatedArr);\r\n\r\n window.OpenEXCELViewer(translatedArr);\r\n }\r\n\r\n }\r\n\r\n\r\n fetchFlightDetails = ()=>{\r\n this.setState({\r\n isLoading : true\r\n })\r\n console.log('fetchFlightDetails called')\r\n //console.log(this.state.FlightDate);\r\n let reqData = '';\r\n if (this.state.UserOrgType == \"AIRLINE\"){\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.UserOrgId, \"qFlightDate\" : moment(this.state.FlightDate).format('DD/MM/YYYY'), \"qFlightNumber\" : this.state.FlightNo }\r\n }else{\r\n reqData = { \"key\": \"ALL\", \"qFlightCareer\" : this.state.FlightCarrier }\r\n }\r\n \r\n console.log(this.reqData);\r\n window.APIRequestAuth(appCred,'AirlineCovidManager.GetFlightData',reqData).then((apiRes)=>{\r\n console.log(apiRes);\r\n \r\n let _searchablelist = JSON.parse(JSON.stringify(apiRes.ResponseResult));\r\n if(apiRes.ResponseCode == 200){\r\n this.setState({\r\n isLoading : false,\r\n FlightData : apiRes.ResponseResult,\r\n FlightDataSearch : _searchablelist\r\n })\r\n }\r\n else if(apiRes.ResponseCode == 204){\r\n this.setState({\r\n isLoading : false,\r\n NoRecordFound : true,\r\n FlightData : [],\r\n FlightDataSearch : []\r\n })\r\n }\r\n }).catch((error) => {\r\n console.log(error)\r\n })\r\n\r\n }\r\n\r\n handleFlightNo = (event) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n FlightNo: event.target.value\r\n });\r\n }\r\n\r\n handleFlightCarrier = (event) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n FlightCarrier: event.target.value\r\n });\r\n }\r\n\r\n\r\n\r\n setFlightDate = (date) =>{\r\n //console.log(moment(date).format('DD/MM/YYYY'))\r\n this.setState({\r\n FlightDate: date\r\n });\r\n }\r\n\r\n \r\n getBorderColor = (obj)=>{\r\n if(obj.Status == \"Completed\"){\r\n if(obj.Result == \"Positive\"){ \r\n return \"red\";\r\n } else if(obj.Result == \"Negative\"){\r\n return \"green\";\r\n } \r\n }else{\r\n return \"darkorange\";\r\n }\r\n }\r\n\tcomponentDidMount () {\r\n window.CloseNav();\r\n }\r\n\t\r\n render() {\r\n \r\n return (\r\n
\r\n

\r\n Check Airline \r\n \r\n
\r\n { \r\n (this.state.UserOrgType != \"AIRLINE\")?\r\n
\r\n \r\n
\r\n \r\n :\r\n
\r\n }\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n\r\n
\r\n\r\n\r\n \r\n { \r\n this.state.isLoading ?\r\n
\r\n :\r\n (this.state.FlightData.length > 0)?\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n :\r\n this.state.NoRecordFound ?\r\n

No Record Found

\r\n :\r\n
\r\n }\r\n\r\n
0)? {overflowY: 'scroll', width:'1300px', float: 'left', height:'300px'} : {}}>\r\n {\r\n (this.state.FlightDataSearch)? \r\n this.state.FlightDataSearch.map((obj, i)=>\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n

#{i + 1 }

\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n

{obj.PassengerName}

\r\n

{obj.Gender} | {obj.PatientAge} Y

\r\n \r\n \r\n

Booking Reference / PNR

\r\n

{obj.FlightBookingRefNo}

\r\n
\r\n
\r\n

{obj.PassengerPassportNo}

\r\n

Flight # / Date

\r\n

{/*obj.FlightCareer */} {obj.FlightNumber} / {obj.DisplayFlightDate}

\r\n \r\n
\r\n
\r\n

Test

\r\n

{obj.Description}

\r\n \r\n \r\n

{obj.UnitNumber} / {obj.SpecimenId}

\r\n

{obj.Location}

\r\n
\r\n \r\n
\r\n

Result

\r\n

{obj._Result}

\r\n\r\n\r\n {\r\n (obj.Status == \"Completed\")?\r\n \r\n (obj.Result == \"Negative\")? \r\n

{obj.Result}

\r\n :\r\n

{obj.Result}

\r\n \r\n :\r\n

{obj.Status}

\r\n }\r\n
\r\n \r\n
\r\n

Specimen Collection

\r\n \r\n {\r\n (obj.DisplayCollectionDttm)?\r\n

{obj.DisplayCollectionDttm}

\r\n :\r\n

N/A

\r\n }\r\n

Result Released

\r\n {\r\n (obj.DisplaySignoutDttm)?\r\n

{obj.DisplaySignoutDttm}

\r\n :\r\n

N/A

\r\n }\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n :\r\n
\r\n }\r\n
\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default CheckAirline;\r\n","import React from 'react';\r\nimport {appCred} from '../AppConfig.js';\r\n\r\nclass ChangePassword extends React.Component {\r\n\tconstructor(){\r\n\t\tsuper();\r\n\t\tthis.state = {\r\n\t\t username : '',\r\n\t\t oldpassword : '',\r\n\t\t newpassword : '',\r\n\t\t verifypassword : '',\r\n\t\t isLoading : false,\r\n\t\t customAlert : {\r\n\t\t\tisDisplay : false,\r\n\t\t\tAlertText : '',\r\n\t\t\tAlertType : ''\r\n\t\t }\r\n\t\t}\r\n\t\t\r\n\t }\r\n\r\n\t rChangePassword = () =>{\r\n\t\t//console.log('here')\r\n\r\n\t\twindow.ValidateChangePassword();\r\n\t\twindow.ChangePassword(this,appCred);\r\n\t }\r\n\r\n\r\n\t KeyPressHook = (event) =>{\r\n\t\tthis.setState({\r\n\t\t customAlert : {\r\n\t\t\tisDisplay : false,\r\n\t\t\tAlertText : '',\r\n\t\t\tAlertType : ''\r\n\t\t }\r\n\t\t})\r\n\t\tif (event.which === 13) {\r\n\t\t event.preventDefault();\r\n\t\t if (this.state.username) {\r\n\t\t\t if (this.state.password) {\r\n\t\t\t\t this.rChangePassword();\r\n\t\t\t }\r\n\t\t\t else {\r\n\t\t\t\t this.passwordInput.focus();\r\n\t\t\t }\r\n\t\t }\r\n\t\t else {\r\n\t\t\t //this.usernameInput.focus();\r\n\t\t }\r\n\t }\r\n\t }\r\n\t\r\n\t KeyUpHook = (event) =>{\r\n\t\tif (event.getModifierState && event.getModifierState('CapsLock')) {\r\n\t\t\tthis.setState({\r\n\t\t\t customAlert : {\r\n\t\t\t\tisDisplay : true,\r\n\t\t\t\tAlertText : 'Caps lock is ON.',\r\n\t\t\t\tAlertType : 'alert alert-warning'\r\n\t\t\t }\r\n\t\t\t})\r\n\t\t} else {\r\n\t\t\tthis.setState({\r\n\t\t\t customAlert : {\r\n\t\t\t\tisDisplay : false,\r\n\t\t\t\tAlertText : '',\r\n\t\t\t\tAlertType : ''\r\n\t\t\t }\r\n\t\t\t})\r\n\t\t}\r\n\t }\r\n\t\r\n\t handleUserInput (e) {\r\n\t\tconst name = e.target.name;\r\n\t\tconst value = e.target.value;\r\n\t\tthis.setState({[name]: value});\r\n\r\n\t\t\r\n\t\twindow.ValidateChangePassword();\r\n\t }\r\n\tcomponentDidMount () {\r\n\t\tdocument.addEventListener(\"keyup\", this.KeyUpHook);\r\n\t\tdocument.addEventListener(\"keypress\", this.KeyPressHook); \r\n\t}\r\n\t\r\n render() {\r\n return (\r\n\t\t
\r\n\t\t\t

\r\n\t\t\t Change Password \r\n \r\n\r\n\t\t\r\n\t\t
\r\n\t\t\t\r\n
\r\n\t {/*
\r\n this.handleUserInput(event)} \r\n type=\"text\" \r\n id=\"username\" \r\n name=\"username\" \r\n className=\"form-control\" \r\n placeholder=\"Username\" required \r\n ref={(input) => { this.usernameInput = input; }}\r\n autoFocus\r\n />\r\n \r\n\t
*/}\r\n
\r\n this.handleUserInput(event)} \r\n type=\"password\" \r\n name=\"oldpassword\" \r\n id=\"OldPassword\" \r\n className=\"form-control\" \r\n placeholder=\"Current Password\" \r\n required \r\n ref={(input) => { this.passwordInput = input; }}\r\n />\r\n
\r\n\t\t\t\t\t
\r\n this.handleUserInput(event)} \r\n type=\"password\" \r\n name=\"newpassword\" \r\n id=\"NewPassword\" \r\n className=\"form-control\" \r\n placeholder=\"New Password\" \r\n required \r\n ref={(input) => { this.passwordInput = input; }}\r\n />\r\n
\r\n\t\t\t\t\t
\r\n this.handleUserInput(event)} \r\n type=\"password\" \r\n name=\"verifypassword\" \r\n id=\"ConfirmPassword\" \r\n className=\"form-control\" \r\n placeholder=\"Confirm Password\" \r\n required \r\n ref={(input) => { this.passwordInput = input; }}\r\n />\r\n
\r\n\r\n\t\t\t\t\t\t
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n\t\t
\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default ChangePassword;\r\n","import React from 'react';\r\n//import PDFViewer from 'pdf-viewer-reactjs'\r\n\r\nclass PDFView extends React.Component {\r\n\trender() {\r\n\t\treturn (\r\n\t\t\t
\r\n\t\t\t
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default PDFView;\r\n","import React from 'react';\r\n\r\nclass ModalHeader extends React.Component{\r\n\r\n MdlClose = () =>{\r\n window.CloseModal();\r\n }\r\n\r\n render(){\r\n return (\r\n
\r\n
\r\n {this.props.Header}\r\n \r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default ModalHeader;\r\n","import React from 'react';\r\nclass ModalContent extends React.Component{\r\n\r\n render(){\r\n return (\r\n this.props.Content()\r\n );\r\n }\r\n}\r\n\r\nexport default ModalContent;","import React from 'react';\r\n\r\nclass ModalFooter extends React.Component{\r\n\r\n render(){\r\n return (\r\n
\r\n {this.props.Footer()}\r\n
\r\n );\r\n }\r\n}\r\n\r\nexport default ModalFooter;\r\n","import React from 'react';\r\nimport ModalHeader from './ModalHeader';\r\nimport ModalContent from './ModalContent';\r\nimport ModalFooter from './ModalFooter';\r\n\r\nclass ModalContainer extends React.Component {\r\n constructor(props){\r\n super(props);\r\n this.state = {\r\n ModalContext : {\r\n Header : 'Test',\r\n Content : ()=>{ return (\r\n
\r\n {\"Hello world\"}\r\n
\r\n ) \r\n },\r\n Footer : ()=>{return (\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n )\r\n }\r\n }\r\n }\r\n }\r\n\r\n SetModalContext = (Header,funcModalContent,funcModalFooter) =>{\r\n \r\n this.setState({\r\n ModalContext : {\r\n Header : Header,\r\n Content : funcModalContent,\r\n Footer : funcModalFooter\r\n }\r\n });\r\n \r\n }\r\n\r\n MdlClose = () =>{\r\n window.CloseModal();\r\n }\r\n\r\n\tcomponentDidMount () {\r\n //console.log(this.props);\r\n window._ModalContext = this;\r\n\t}\r\n\t\r\n render() {\r\n return (\r\n\t\t\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default ModalContainer;","import React from 'react';\r\nimport { Helmet } from 'react-helmet';\r\nimport Header from './Header';\r\nimport Footer from './Footer';\r\nimport Home from './Home';\r\nimport { BrowserRouter as Router, Switch, Route, Link , Redirect} from 'react-router-dom';\r\nimport Sidebar from './Sidebar';\r\nimport CheckIndividual from './CheckIndividual';\r\nimport CheckFlight from './CheckFlight';\r\nimport CheckAirline from './CheckAirline';\r\nimport {appCred} from '../AppConfig.js';\r\nimport ChangePassword from './ChangePassword';\r\nimport PDFView from './PDFView';\r\nimport ModalContainer from './ModalContainer';\r\n\r\nclass Main extends React.Component {\r\n\tconstructor(){\r\n super();\r\n \r\n let user = window.mylsataku.get('cache2'); //JSON.parse(window.localStorage.getItem(\"User\"));\r\n\r\n\t\tthis.state = {\r\n\t\t\tisUserLoggedIn : window.mylsataku.get('cache1'),//localStorage.getItem('isUserLoggedIn'),\r\n User : window.mylsataku.get('cache2'), //JSON.parse(localStorage.getItem('User')), \r\n srcOrgLogoUrl : user.User.OrgLogoUrl\r\n //UserAssignedMenus : JSON.parse(localStorage.getItem('UserAssignedMenus'))\r\n\t\t};\r\n }\r\n \r\n componentDidMount(){\r\n //console.log(this.state.User)\r\n \r\n }\r\n\r\n render() {\r\n\r\n \r\n\r\n let user = window.mylsataku.get('cache2');//JSON.parse(window.localStorage.getItem(\"User\"));\r\n let isForceChangePassword = (user.User.ForceChangePassword == \"Y\")? true : false;\r\n let userRole = user.User.UserOrganizationType;\r\n\r\n //console.log(user.User.ForceChangePassword);\r\n //console.log('HERE AMQ ' + isForceChangePassword);\r\n const NormalRoutes = () => (\r\n \r\n } />\r\n } />\r\n } />\r\n } />\r\n \r\n {\r\n (userRole == \"ADMIN\")? } /> : \r\n } />\r\n }\r\n \r\n \r\n \r\n \r\n );\r\n \r\n const ForceAuthRoutes = () => (\r\n \r\n \r\n \r\n } />\r\n \r\n )\r\n return (\r\n \r\n \r\n Travel Check AKU \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n


\r\n {\r\n (isForceChangePassword)? : \r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default Main;\r\n","import React from 'react';\r\n\r\nclass NotFound extends React.Component {\r\n\tcomponentDidMount () {\r\n\r\n\t}\r\n\t\r\n render() {\r\n return (\r\n\t\t
\r\n Not Found\r\n
\r\n\t\t);\r\n\t}\r\n}\r\n\r\nexport default NotFound;\r\n","import React from 'react';\nimport {Helmet} from \"react-helmet\";\nimport moment from 'moment';\nimport {appCred} from '../AppConfig.js';\nimport { Link } from 'react-router-dom';\n\nclass Login extends React.Component {\n constructor(){\n super();\n this.state = {\n username : '',\n password : '',\n isLoading : false,\n customAlert : {\n isDisplay : false,\n AlertText : '',\n AlertType : ''\n }\n }\n \n }\n\n rLogin = () =>{\n //console.log('here')\n window.Login(this,appCred);\n }\n \n KeyPressHook = (event) =>{\n this.setState({\n customAlert : {\n isDisplay : false,\n AlertText : '',\n AlertType : ''\n }\n })\n if (event.which === 13) {\n event.preventDefault();\n if (this.state.username) {\n if (this.state.password) {\n this.rLogin();\n }\n else {\n this.passwordInput.focus();\n }\n }\n else {\n this.usernameInput.focus();\n }\n }\n }\n\n KeyUpHook = (event) =>{\n if (event.getModifierState && event.getModifierState('CapsLock')) {\n this.setState({\n customAlert : {\n isDisplay : true,\n AlertText : 'Caps lock is ON.',\n AlertType : 'alert alert-warning'\n }\n })\n } else {\n this.setState({\n customAlert : {\n isDisplay : false,\n AlertText : '',\n AlertType : ''\n }\n })\n }\n }\n\n handleUserInput (e) {\n const name = e.target.name;\n const value = e.target.value;\n this.setState({[name]: value});\n }\n\n componentDidMount(){\n document.addEventListener(\"keyup\", this.KeyUpHook);\n document.addEventListener(\"keypress\", this.KeyPressHook);\n }\n\n componentWillUnmount() {\n document.removeEventListener(\"keyup\", this.KeyUpHook);\n document.removeEventListener(\"keypress\", this.KeyPressHook);\n }\n\n render() {\n return (\n\t
\n \n Travel Check AKU : Login\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n




\n \n \n \n
\n
\n
\n \n
\n
\n this.handleUserInput(event)} \n type=\"text\" \n id=\"username\" \n name=\"username\" \n className=\"form-control\" \n placeholder=\"Username\" required \n ref={(input) => { this.usernameInput = input; }}\n autoFocus\n />\n \n
\n
\n this.handleUserInput(event)} \n type=\"password\" \n name=\"password\" \n id=\"password\" \n className=\"form-control\" \n placeholder=\"Password\" \n required \n ref={(input) => { this.passwordInput = input; }}\n />\n \n
\n \n {/*\n

\n Forget Password?\n \n

\n \n \n
\n \n \n
*/}\n
\n \n
\n \n \n
\n {\n (this.state.customAlert.isDisplay)?\n
\n \n {this.state.customAlert.AlertText}\n
\n :\n
\n }\n
\n
Aga Khan University Hospitals
\n

Stadium Road, Karachi

\n
\n \n
\n

\n Information Technology, Aga Khan University
\n {\"© Intellectual property rights \" + moment().format('YYYY') + \" \"}\n {/*Aga Khan University*/}\n All rights reserved.\n

\n
\n
\n
\n
\n
\n
\n
\n
\n\t\t);\n\t}\n}\n\nexport default Login;\n","import React from 'react';\nimport { BrowserRouter as Router, Switch, Route , Redirect} from 'react-router-dom';\nimport Main from './Components/Main';\nimport NotFound from './Components/NotFound';\nimport Login from './Components/Login';\nimport PDFView from './Components/PDFView';\nimport SecureLS from 'secure-ls'\nimport CryptoJS from 'crypto-js';\n\nconst NormalRoutes = () => (\n \n \n \n\t\n\t\n\t\n\t\n\t\n \n } />\n } />\n \n)\n\nconst ForceAuthRoutes = () => (\n \n \n \n } />\n \n)\n\nclass App extends React.Component {\n\tconstructor(){\n\t\tsuper();\n\t\twindow.mylsataku = new SecureLS({encodingType: 'aes'});\n\t\twindow.cryptoJS = CryptoJS;\n\t\t//console.log(\"AMQ Imran mylsataku\",window.mylsataku.get('cache1'));\n\t\tthis.state = {\n\t\t\tisUserLoggedIn : window.mylsataku.get('cache1') //localStorage.getItem('isUserLoggedIn')\n\t\t};\n\t}\n\t\n\tcomponentDidMount(){\n\t}\n\t\n\trender() {\n\t\treturn (\n\t\t\n\t\t\t\n\t\t\t{(this.state.isUserLoggedIn)? : }\n\t\t\t\n\t\t\n\t\t);\n\t}\n}\n\nexport default App;","// 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\nexport function register(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(process.env.PUBLIC_URL, window.location.href);\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, 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, 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.then(registration => {\n registration.unregister();\n });\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(, document.getElementById('root'));\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"],"sourceRoot":""}