{"version":3,"sources":["webpack:///js/app.bundle.a6cc317d.min.js","webpack:///./$_gendir lazy","webpack:///./node_modules/moment/locale ^\\.\\/.*$","webpack:///./src/app/app.component.html","webpack:///./src/app/app.component.scss","webpack:///./src/app/app.component.ts","webpack:///./src/app/app.module.ts","webpack:///./src/app/app.routing.ts","webpack:///./src/app/changePassword/changePassword.component.html","webpack:///./src/app/changePassword/changePassword.component.scss","webpack:///./src/app/changePassword/changePassword.component.ts","webpack:///./src/app/confirmation/confirmation.component.html","webpack:///./src/app/confirmation/confirmation.component.scss","webpack:///./src/app/confirmation/confirmation.component.ts","webpack:///./src/app/exit/exit.component.html","webpack:///./src/app/exit/exit.component.ts","webpack:///./src/app/footer/footer.component.html","webpack:///./src/app/footer/footer.component.scss","webpack:///./src/app/footer/footer.component.ts","webpack:///./src/app/forgotPassword/forgotPassword.component.html","webpack:///./src/app/forgotPassword/forgotPassword.component.scss","webpack:///./src/app/forgotPassword/forgotPassword.component.ts","webpack:///./src/app/helloWorld/helloWorld.component.html","webpack:///./src/app/helloWorld/helloWorld.component.scss","webpack:///./src/app/helloWorld/helloWorld.component.ts","webpack:///./src/app/invoiceReport/invoiceReport.component.html","webpack:///./src/app/invoiceReport/invoiceReport.component.scss","webpack:///./src/app/invoiceReport/invoiceReport.component.ts","webpack:///./src/app/login/login.component.html","webpack:///./src/app/login/login.component.scss","webpack:///./src/app/login/login.component.ts","webpack:///./src/app/loginHeader/loginHeader.component.html","webpack:///./src/app/loginHeader/loginHeader.component.scss","webpack:///./src/app/loginHeader/loginHeader.component.ts","webpack:///./src/app/navigation/navigation.component.html","webpack:///./src/app/navigation/navigation.component.scss","webpack:///./src/app/navigation/navigation.component.ts","webpack:///./src/app/navigationInternal/navigationInternal.component.html","webpack:///./src/app/navigationInternal/navigationInternal.component.scss","webpack:///./src/app/navigationInternal/navigationInternal.component.ts","webpack:///./src/app/navigationWorkOrders/navigationWorkOrders.component.html","webpack:///./src/app/navigationWorkOrders/navigationWorkOrders.component.scss","webpack:///./src/app/navigationWorkOrders/navigationWorkOrders.component.ts","webpack:///./src/app/offense/offense.component.html","webpack:///./src/app/offense/offense.component.scss","webpack:///./src/app/offense/offense.component.ts","webpack:///./src/app/offenseCounts/offenseCounts.component.html","webpack:///./src/app/offenseCounts/offenseCounts.component.scss","webpack:///./src/app/offenseCounts/offenseCounts.component.ts","webpack:///./src/app/offenseHelp/offenseHelp.component.html","webpack:///./src/app/offenseHelp/offenseHelp.component.scss","webpack:///./src/app/offenseHelp/offenseHelp.component.ts","webpack:///./src/app/offenseRecord/offenseRecord.component.html","webpack:///./src/app/offenseRecord/offenseRecord.component.scss","webpack:///./src/app/offenseRecord/offenseRecord.component.ts","webpack:///./src/app/offenseSearch/offenseSearch.component.html","webpack:///./src/app/offenseSearch/offenseSearch.component.scss","webpack:///./src/app/offenseSearch/offenseSearch.component.ts","webpack:///./src/app/registration/registration.component.html","webpack:///./src/app/registration/registration.component.scss","webpack:///./src/app/registration/registration.component.ts","webpack:///./src/app/reports/reports.component.html","webpack:///./src/app/reports/reports.component.scss","webpack:///./src/app/reports/reports.component.ts","webpack:///./src/app/researcherTaskComment/researcherTaskComment.component.html","webpack:///./src/app/researcherTaskComment/researcherTaskComment.component.scss","webpack:///./src/app/researcherTaskComment/researcherTaskComment.component.ts","webpack:///./src/app/researcherTaskList/ResearcherTaskList.component.html","webpack:///./src/app/researcherTaskList/researcherTaskList.component.scss","webpack:///./src/app/researcherTaskList/researcherTaskList.component.ts","webpack:///./src/app/researcherTaskListHelp/researcherTaskListHelp.component.html","webpack:///./src/app/researcherTaskListHelp/researcherTaskListHelp.component.scss","webpack:///./src/app/researcherTaskListHelp/researcherTaskListHelp.component.ts","webpack:///./src/app/sortTaskList/sortTaskList.component.html","webpack:///./src/app/sortTaskList/sortTaskList.component.scss","webpack:///./src/app/sortTaskList/sortTaskList.component.ts","webpack:///./src/app/sortTaskListHelp/sortTaskListHelp.component.html","webpack:///./src/app/sortTaskListHelp/sortTaskListHelp.component.scss","webpack:///./src/app/sortTaskListHelp/sortTaskListHelp.component.ts","webpack:///./src/app/specialAdmitted/specialAdmitted.component.html","webpack:///./src/app/specialAdmitted/specialAdmitted.component.scss","webpack:///./src/app/specialAdmitted/specialAdmitted.component.ts","webpack:///./src/app/specialInstruction/specialInstruction.component.html","webpack:///./src/app/specialInstruction/specialInstruction.component.scss","webpack:///./src/app/specialInstruction/specialInstruction.component.ts","webpack:///./src/app/specialResearch/specialResearch.component.html","webpack:///./src/app/specialResearch/specialResearch.component.scss","webpack:///./src/app/specialResearch/specialResearch.component.ts","webpack:///./src/app/workOrderAdmissions/WorkOrderAdmissions.component.html","webpack:///./src/app/workOrderAdmissions/WorkOrderAdmissions.component.scss","webpack:///./src/app/workOrderAdmissions/workOrderAdmissions.component.ts","webpack:///./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.html","webpack:///./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.scss","webpack:///./src/app/workOrderIdentifiers/workOrderIdentifiers.component.ts","webpack:///./src/app/workOrderReport/WorkOrderReport.component.html","webpack:///./src/app/workOrderReport/WorkOrderReport.component.scss","webpack:///./src/app/workOrderReport/workOrderReport.component.ts","webpack:///./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.html","webpack:///./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.scss","webpack:///./src/app/workOrderSpecialInstructions/workOrderSpecialInstructions.component.ts","webpack:///./src/assets/images/CRIM-Logo.gif","webpack:///./src/directives/validateOnblur.directive.ts","webpack:///./src/globals.ts","webpack:///./src/guards/authenticationGuard.ts","webpack:///./src/main.ts","webpack:///./src/models/Admission.ts","webpack:///./src/models/ResearchInstruction.ts","webpack:///./src/models/alertifyPromise.ts","webpack:///./src/models/charge.ts","webpack:///./src/models/chargeLevels.ts","webpack:///./src/models/chargeType.ts","webpack:///./src/models/codes.ts","webpack:///./src/models/complianceAuditLog.ts","webpack:///./src/models/dateHandler.ts","webpack:///./src/models/formControl.ts","webpack:///./src/models/httpBase.ts","webpack:///./src/models/httpError.ts","webpack:///./src/models/index.ts","webpack:///./src/models/invoice.ts","webpack:///./src/models/jurisdiction.ts","webpack:///./src/models/jurisdictionResults.ts","webpack:///./src/models/jurisdictionTotal.ts","webpack:///./src/models/jurisdictions.ts","webpack:///./src/models/loggedInUser.ts","webpack:///./src/models/navigation.ts","webpack:///./src/models/offense.ts","webpack:///./src/models/offenseCodes.ts","webpack:///./src/models/offenseRecord.ts","webpack:///./src/models/offenseSearch.ts","webpack:///./src/models/orderBy.ts","webpack:///./src/models/params.ts","webpack:///./src/models/popupHelper.ts","webpack:///./src/models/registrationCodes.ts","webpack:///./src/models/report.ts","webpack:///./src/models/researcherTaskList.ts","webpack:///./src/models/sentenceLevel.ts","webpack:///./src/models/sortList.ts","webpack:///./src/models/specialInstruction.ts","webpack:///./src/models/submitTask.ts","webpack:///./src/models/submitTaskDialog.ts","webpack:///./src/models/user.ts","webpack:///./src/models/vendor.ts","webpack:///./src/models/workOrder.ts","webpack:///./src/models/workOrderComplete.ts","webpack:///./src/services/MessageQueService.ts","webpack:///./src/services/authenticationService.ts","webpack:///./src/services/browserWindowObjectService.ts","webpack:///./src/services/complianceAuditLogService.ts","webpack:///./src/services/environmentService.ts","webpack:///./src/services/index.ts","webpack:///./src/services/invoiceService.ts","webpack:///./src/services/messageService.ts","webpack:///./src/services/navigationService.ts","webpack:///./src/services/offenseService.ts","webpack:///./src/services/registrationService.ts","webpack:///./src/services/researcherService.ts","webpack:///./src/validators/compareTwoInputsValidator.ts","webpack:///./src/validators/isDateValidator.ts","webpack:///./src/validators/isNumberValidator.ts","webpack:///./src/validators/passwordRulesValidator.ts","webpack:///./src/validators/passwordValidation.ts","webpack:///./src/validators/usernameAlreadyExistValidator.ts"],"names":["webpackJsonp","./$$_gendir lazy recursive","module","exports","webpackEmptyAsyncContext","req","Promise","resolve","then","Error","keys","id","./node_modules/moment/locale recursive ^\\.\\/.*$","__webpack_require__","webpackContext","webpackContextResolve","map","./af","./af.js","./ar","./ar-dz","./ar-dz.js","./ar-kw","./ar-kw.js","./ar-ly","./ar-ly.js","./ar-ma","./ar-ma.js","./ar-sa","./ar-sa.js","./ar-tn","./ar-tn.js","./ar.js","./az","./az.js","./be","./be.js","./bg","./bg.js","./bm","./bm.js","./bn","./bn.js","./bo","./bo.js","./br","./br.js","./bs","./bs.js","./ca","./ca.js","./cs","./cs.js","./cv","./cv.js","./cy","./cy.js","./da","./da.js","./de","./de-at","./de-at.js","./de-ch","./de-ch.js","./de.js","./dv","./dv.js","./el","./el.js","./en-au","./en-au.js","./en-ca","./en-ca.js","./en-gb","./en-gb.js","./en-ie","./en-ie.js","./en-nz","./en-nz.js","./eo","./eo.js","./es","./es-do","./es-do.js","./es-us","./es-us.js","./es.js","./et","./et.js","./eu","./eu.js","./fa","./fa.js","./fi","./fi.js","./fo","./fo.js","./fr","./fr-ca","./fr-ca.js","./fr-ch","./fr-ch.js","./fr.js","./fy","./fy.js","./gd","./gd.js","./gl","./gl.js","./gom-latn","./gom-latn.js","./gu","./gu.js","./he","./he.js","./hi","./hi.js","./hr","./hr.js","./hu","./hu.js","./hy-am","./hy-am.js","./id","./id.js","./is","./is.js","./it","./it.js","./ja","./ja.js","./jv","./jv.js","./ka","./ka.js","./kk","./kk.js","./km","./km.js","./kn","./kn.js","./ko","./ko.js","./ky","./ky.js","./lb","./lb.js","./lo","./lo.js","./lt","./lt.js","./lv","./lv.js","./me","./me.js","./mi","./mi.js","./mk","./mk.js","./ml","./ml.js","./mr","./mr.js","./ms","./ms-my","./ms-my.js","./ms.js","./my","./my.js","./nb","./nb.js","./ne","./ne.js","./nl","./nl-be","./nl-be.js","./nl.js","./nn","./nn.js","./pa-in","./pa-in.js","./pl","./pl.js","./pt","./pt-br","./pt-br.js","./pt.js","./ro","./ro.js","./ru","./ru.js","./sd","./sd.js","./se","./se.js","./si","./si.js","./sk","./sk.js","./sl","./sl.js","./sq","./sq.js","./sr","./sr-cyrl","./sr-cyrl.js","./sr.js","./ss","./ss.js","./sv","./sv.js","./sw","./sw.js","./ta","./ta.js","./te","./te.js","./tet","./tet.js","./th","./th.js","./tl-ph","./tl-ph.js","./tlh","./tlh.js","./tr","./tr.js","./tzl","./tzl.js","./tzm","./tzm-latn","./tzm-latn.js","./tzm.js","./uk","./uk.js","./ur","./ur.js","./uz","./uz-latn","./uz-latn.js","./uz.js","./vi","./vi.js","./x-pseudo","./x-pseudo.js","./yo","./yo.js","./zh-cn","./zh-cn.js","./zh-hk","./zh-hk.js","./zh-tw","./zh-tw.js","webpackContextKeys","Object","./src/app/app.component.html","./src/app/app.component.scss","i","push","toString","./src/app/app.component.ts","__decorate","this","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","d","Reflect","decorate","defineProperty","value","core_1","popupHelper_1","AppComponent","title","prototype","showTeamEasterEgg","default","developerEasterEgg","Component","selector","template","styles","encapsulation","ViewEncapsulation","None","./src/app/app.module.ts","forms_1","http_1","platform_browser_1","app_component_1","app_routing_1","helloWorld_component_1","navigation_component_1","navigationWorkOrders_component_1","navigationInternal_component_1","login_component_1","loginHeader_component_1","footer_component_1","changePassword_component_1","forgotPassword_component_1","exit_component_1","specialAdmitted_component_1","specialInstruction_component_1","specialResearch_component_1","sortTaskList_component_1","sortTaskListHelp_component_1","offense_component_1","offenseCounts_component_1","offenseRecord_component_1","offenseSearch_component_1","offenseHelp_component_1","registration_component_1","researcherTaskComment_component_1","researcherTaskList_component_1","researcherTaskListHelp_component_1","workOrderReport_component_1","workOrderIdentifiers_component_1","workOrderAdmissions_component_1","workOrderSpecialInstructions_component_1","confirmation_component_1","reports_component_1","invoiceReport_component_1","orderBy_1","index_1","environmentService_1","messageService_1","browserWindowObjectService_1","complianceAuditLogService_1","authenticationGuard_1","validateOnblur_directive_1","AppModule","NgModule","declarations","LoginComponent","LoginHeaderComponent","FooterComponent","ChangePasswordComponent","ForgotPasswordComponent","ExitComponent","ResearcherTaskListComponent","ResearcherTaskCommentComponent","SpecialInstructionComponent","SpecialAdmittedComponent","SpecialResearchComponent","SortTaskListComponent","SortTaskListHelpComponent","WorkOrderReportComponent","WorkOrderIdentifiersComponent","WorkOrderAdmissionsComponent","WorkOrderSpecialInstructionsComponent","NavigationInternalComponent","ResearcherTaskListHelpComponent","OrderBy","imports","BrowserModule","HttpModule","routing","FormsModule","ReactiveFormsModule","providers","AuthenticationService","bootstrap","./src/app/app.routing.ts","router_1","appRoutes","path","component","canActivate","RouterModule","forRoot","useHash","./src/app/changePassword/changePassword.component.html","./src/app/changePassword/changePassword.component.scss","./src/app/changePassword/changePassword.component.ts","__metadata","k","v","metadata","compareTwoInputsValidator_1","passwordRulesValidator_1","passwordValidation_1","index_2","formBuilder","msgSvc","authenticationService","showChange","ngOnInit","setControlKey","changePasswordForm","group","change","userName","Validators","compose","required","maxLength","minLength","currentPassword","newPassword","confirmPassword","validator","PasswordValidation","MatchPassword","home","reset","passwordChange","isVisible","showChangePassword","onSubmit","_this","form","changes","assign","undefined","changePassword","subscribe","codes","find","rc","Codes","ok","_i","codes_1","errorCode","requireUsername","setValidationErrorByControlName","requirePassword","requiredNewPassword","invalidPassword","userNamePasswordNotExist","passwordAlreadyExist","accountLocked","passwordMatch","setBlurById","classListPasswordSidebar","document","getElementById","classList","remove","add","setFocusById","passwordKeyup","event","order","password","checkLength","checkRegEx","s","pattern","match","showRuleMet","showRuleNotMet","controlName","validatorType","control","get","setErrors","markAsTouched","passwordLength","enumerable","configurable","MessageQueService","_a","FormBuilder","_b","_c","./src/app/confirmation/confirmation.component.html","./src/app/confirmation/confirmation.component.scss","./src/app/confirmation/confirmation.component.ts","ConfirmationComponent","./src/app/exit/exit.component.html","./src/app/exit/exit.component.ts","router","logout","logon","navigate","Router","./src/app/footer/footer.component.html","./src/app/footer/footer.component.scss","./src/app/footer/footer.component.ts","./src/app/forgotPassword/forgotPassword.component.html","./src/app/forgotPassword/forgotPassword.component.scss","./src/app/forgotPassword/forgotPassword.component.ts","__awaiter","thisArg","_arguments","P","generator","reject","fulfilled","step","next","e","rejected","result","done","apply","__generator","body","verb","n","op","f","TypeError","_","y","t","call","label","ops","pop","trys","sent","g","throw","return","Symbol","iterator","alertifyPromise_1","show","retrievePasswordForm","retrieve","email","requestPassword","resetPassword","isStatusInvalid","message","forgotPasswordRequest","requiredEmail","forgotPassword","showForgotPassword","type","alertResult","userHelper","AlertResult","Ok","./src/app/helloWorld/helloWorld.component.html","./src/app/helloWorld/helloWorld.component.scss","./src/app/helloWorld/helloWorld.component.ts","HelloWorldComponent","messageService","getMessage","description","webApiHostName","dataApiHostName","catch","handleError","error","status","statusText","url","./src/app/invoiceReport/invoiceReport.component.html","./src/app/invoiceReport/invoiceReport.component.scss","./src/app/invoiceReport/invoiceReport.component.ts","invoiceService_1","InvoiceReportComponent","invoiceService","route","params","startDate","endDate","invoiceNumber","getInvoice","invoice","jurisdictionTotals","totalRequestCount","totalInvoiceAmount","Date","ActivatedRoute","./src/app/login/login.component.html","./src/app/login/login.component.scss","./src/app/login/login.component.ts","browser","environment","supported","chngPass","getControlKey","detectBrowser","loginForm","log","login","isExpiring","isLoggedIn","confirmExpiredPassword","isReset","setDirection","invalidUser","notSupportedBrowser","networkProblems","clear","fPassword","cPassword","showLogin","daysTillExpiration","confirmResult","passwordExpirationHelper","ConfirmResult","focus","loginIssue","env","bwsr","_isChromeAM","navigator","userAgent","indexOf","toLowerCase","_isChromeAT","_isChromeIPhone","_isChromeIPad","_isChromeOS","_isChromeMac","_isChromeWindows","_isExplorer11","_isExplorer10","_isExplorer9","_isExplorer8","_isExplorer7","_isFirefoxAM","_isFirefoxAT","_isFirefoxIPhone","_isFirefoxIPad","_isFirefoxMac","_isFirefoxWindows","_isSafariIPad","_isSafariIPhone","_isSafariMac","_isOperaMac","_isOperaWindows","_isOperaPMac","_isOperaPWindows","_isOperaAM","_isOperaIos","_isEdgeWindow","_isEdgeMobile","_isEdgeXBox","_isGooglebot","_isGooglebotS","_isUCBAM","_isUCBIOS","_isUCBWindowPhone","_isBlackberryBB10","_isBlackberryPlaybook","_isBlackberry9900","_isAndroidGalaxy","_isAndroidNexus","galaxy","android","nexus","bb10","blackberry","playbook","blackberry99","androidMobile","chrome","androidTablet","iPhone","iPad","os","mac","windows","edge","mobile","xbox","explorer11","internetExplorer","explorer10","explorer9","explorer8","explorer7","any","googlebot","smartphone","firefox","iPadI0S9","safari","iPhoneI0S9","ucBrowsers","ios","windowsPhone","opera","prestoMac","prestoWindows","checkAuthorization","data","ViewChild","_d","_e","_f","./src/app/loginHeader/loginHeader.component.html","./src/app/loginHeader/loginHeader.component.scss","./src/app/loginHeader/loginHeader.component.ts","./src/app/navigation/navigation.component.html","./src/app/navigation/navigation.component.scss","./src/app/navigation/navigation.component.ts","navigationService_1","NavigationComponent","navigationService","getJurisdictions","navigation","./src/app/navigationInternal/navigationInternal.component.html?v=001","./src/app/navigationInternal/navigationInternal.component.scss?v=001","./src/app/navigationInternal/navigationInternal.component.ts","./src/app/navigationWorkOrders/navigationWorkOrders.component.html","./src/app/navigationWorkOrders/navigationWorkOrders.component.scss","./src/app/navigationWorkOrders/navigationWorkOrders.component.ts","navigation_1","NavigationWorkOrdersComponent","model","showWorkOrdersByJurisdiction","showRetrieveWorkOrdersSection","showInternalSection","isExternal","displayWorkOrdersByJurisdictionSection","displayRetrieveWorkOrdersSection","set","jurisdictions","viewResearcherTaskListForJurisdiction","jurisdictionId","changeCrimAccess","args","selection","crimException","deferredException","recordEntry","crimParm","strSystem","task","Input","./src/app/offense/offense.component.html","./src/app/offense/offense.component.scss","./src/app/offense/offense.component.ts","offense_1","offenseService_1","router_2","isDateValidator_1","formControl_1","alertify","httpError_1","complianceAuditLog_1","OffenseComponent","offenseService","browserWindowObjectService","complianceAuditLogService","changeDetectorRef","isSaving","canDelete","canWorkOrderComplete","isNewRecord","requestNumber","scrollToTopOfPage","getOffense","object","offense","checkWorkOrderComplete","goBackOnePage","offensePageForm","offenseSearch","admittedCrimeNotFound","offenseRecord","sentenceLevel","hasIdentifier","hasNameIdentifier","hasDobIdentifier","hasSsnIdentifier","hasSinIdentifier","hasAddressIdentifier","hasDlnIdentifier","isRecordLevel","hasFaxInformation","courtRecordedFullName","nameDiffers","referenceNumber","courtRecordDob","dobType","month","day","year","fullDobValidator","partialDobValidator","offenseDate","fileDate","arrestDate","dispositionDate","hasRequiredDate","offenseDateGreaterThanCurrentDate","fileDateGreaterThanCurrentDate","arrestDateGreaterThanCurrentDate","dispositionDateGreaterThanCurrentDate","fileDateDateOlderThanOffenseDate","dispositionDateOlderThanOffenseDate","dispositionDateOlderThanFileDate","offenseDateAtRecordAndChargeLevel","fileDateAtRecordAndChargeLevel","arrestDateAtRecordAndChargeLevel","dispositionDateAtRecordAndChargeLevel","probation","fines","courtCosts","jailTime","prisonTime","suspensionTime","nextCourtDate","comments","otherSentenceNotes","charge","hasChargesValidator","formControl","updateToCurrentOffenseRecord","currentOffenseRecord","validateHasCharges","validateHasChargeDates","updateCanDeleteCurrentOffenseRecord","updateToCurrentOffenseCharges","dobInformation","save","complianceAuditLogs","e_1","getDobInformation","hasDobMismatch","Array","dobMismatchHelper","Cancel","setTimeout","offenseRecordComponent","setFocusForDobMismatch","addComplianceAuditLogs","createOffenseObject","errorCodes","httpResponse","json","join","alert","saveCompletedSuccessfully","markAsPristine","deleteRecord","deleteRecordHelper","delete","offenseNumber","index","offenseRecords","splice","deleteSuccessfully","goToNavigation","exitDialog","exitSystemHelper","about","systemVersion","support","help","openWindowInNewWindowByRoute","hasCharges","clearValidatorErrorByControlName","charges","some","every","or","detectChanges","mismatch","fullDob","partialDob","dob","getFullYear","getMonth","getDate","dobYear","dobMonth","dobDay","dobDate","partialYear","partialMonth","partialDay","requestNbr","offenseNbr","isCourtCaseSentencing","getNumberByControlName","offenseDt","getShortDateByControlName","fileDt","dispositionDt","courtRecordedName","getValueByControlName","faxInfoInd","getCrimBooleanByControlName","identifierDOB","identifierSSN","identifierName","identifierAddress","identifierDLN","identifierSIN","referenceNbr","nameDiff","courtRecordDOB","identifierPartialDOB","identifierNoDOB","dobNotListed","getCharges","countNbr","chargeLevel","disposition","chargeCd","chargeDispDate","UTC","chargeArrestDate","chargeFileDate","chargeOffenseDate","noDispDateReason","noArrestDateReason","noFileDateReason","noOffenseDateReason","chargeNextCourtDate","chargeProbation","chargeJailTime","chargePrisonTime","chargeSuspensionTime","chargeFines","chargeCourtCosts","chargeOtherSentenceNotes","chargeStatute","_g","_h","ChangeDetectorRef","./src/app/offenseCounts/offenseCounts.component.html","./src/app/offenseCounts/offenseCounts.component.scss","./src/app/offenseCounts/offenseCounts.component.ts","offenseRecord_1","chargeLevels_1","charge_1","chargeType_1","dateHandler_1","sentenceLevel_1","isNumberValidator_1","OffenseCountsComponent","updateOffenseDates","EventEmitter","updateToCurrentRecordCharges","chargeIndex","isRecord","offenseCountsPageForm","count","noDispositionReason","offenseCountFormControl","createChargeOptions","SentenceLevel","Record","disableControlByControlName","enableControlByControlName","runValidation","validateDates","formatDate","hasErrorByControlName","setValueByControlName","convertToDateFormat","addCharge","chargeType","createChargeFromChargeUiControls","ChargeType","Convicted","convictedChargeOptions","concat","getFieldsForCharge","OtherNonConviction","otherNonConvictionChargeOptions","Pending","pendingChargeOptions","CompleteDeferral","completeDeferralChargeOptions","ActiveDeferral","activeDeferralChargeOptions","addChargeToOffense","updateOffenseDatesWithGreatestDates","chargesHasChanged","clearChargeFields","updateCharge","newCharge","fieldOptions","getAllChargesOptions","filter","cf","selected","courtCost","updateOptionFieldsForCharge","deleteCharge","chargeFields","removeChargesByIndex","removeChargeFromOffense","selectCharge","allChargeFields","allChargeFields_1","chargeFields_1","showSelectedCharge","hasSelectedCharge","isControlNameDirty","emit","getDateByControlName","today","setHours","createCharge","offenseDates","fileDates","arrestDates","dispositionDates","reduce","a","b","format","deletedCharges","firstIndex","findIndex","lastIndex","lastIndexOf","getFieldFromString","ChargeLevel","removeSpaces","substring","camelCaseToString","split","replace","setOddAndEventClass","uniqueIndexes","self","odd","_loop_1","indexGroupCharge","indexGroupCharge_1","cssClass","uniqueIndexes_1","getChargesByChargeType","getFieldsForCharges","options","charges_1","createChargeOption","class","selectedCssClass","getNewChargeIndex","date","baseCentury","Output","./src/app/offenseHelp/offenseHelp.component.html","./src/app/offenseHelp/offenseHelp.component.scss","./src/app/offenseHelp/offenseHelp.component.ts","OffenseHelpComponent","./src/app/offenseRecord/offenseRecord.component.html","./src/app/offenseRecord/offenseRecord.component.scss","./src/app/offenseRecord/offenseRecord.component.ts","OffenseRecordComponent","currentOffenseRecordIndex","firstOffense","addNewRecord","offenseRecordFormGroup","firstButtonActive","previousButtonActive","nextButtonActive","lastButtonActive","addNewButtonActive","ngOnChanges","hasHeightenedIdentifier","isHeightenedIdentifier","currentRecord","hasOffenses","ignoreMinOffenceRecord","ignoreUnsavedChanges","onMinOffenseRecord","dirty","saveUnsavedChangesHelper","removeNewRecord","updateFormControls","previousOffense","nextOffense","onMaxOffenseRecord","lastOffense","getMaxOffenseRecords","maxOffenceNumber","getNewOffenseNumber","createNewOffenseRecord","setSentenceLevel","isUiCalling","changeControlState","hasProbation","hasValueByControlName","hasFines","hasCourtCosts","hasJailTime","hasPrisonTime","hasSuspensionTime","hasNextCourtDate","hasOtherSentenceNotes","lockSentenceLevel","isOffense","Offense","markAsDirty","handleRecordNavigationButtons","offenseChargeDates","fileChargeDates","arrestChargeDates","dispositionChargeDates","getTime","validateIdentifier","getBooleanByControlName","identifierCount","validateDob","isValid","checkIfDisableDob","getControlByControlName","disable","enable","updateCurrentOffense","dobMonthElement","nativeElement","courtRecordFullName","hasPartialDobIdentifier","hasNoDobIdentifier","Math","max","Number","FormGroup","ElementRef","./src/app/offenseSearch/offenseSearch.component.html","./src/app/offenseSearch/offenseSearch.component.scss","./src/app/offenseSearch/offenseSearch.component.ts","OffenseSearchComponent","offenseSearchFormGroup","workOrderComplete","goBackToTaskList","_j","./src/app/registration/registration.component.html","./src/app/registration/registration.component.scss","./src/app/registration/registration.component.ts","registrationCodes_1","registrationService_1","usernameAlreadyExistValidator_1","RegistrationComponent","registrationService","registrationForm","token","user","firstName","middleName","lastName","phoneNumber","registerUser","registrationCodes","RegistrationCodes","registrationCodes_2","registrationCode","tokenNotValid","invalidUsername","invalidFirstName","invalidLastName","usernameAlreadyExist","userAndEmailAreTheSame","./src/app/reports/reports.component.html","./src/app/reports/reports.component.scss","./src/app/reports/reports.component.ts","ReportsComponent","showInvoiceReportGenerator","reportsPageForm","openReportInTab","showInvoiceReportGeneratorSection","convertDateToString","openWindowITabByRoute","mask","./src/app/researcherTaskComment/researcherTaskComment.component.html","./src/app/researcherTaskComment/researcherTaskComment.component.scss","./src/app/researcherTaskComment/researcherTaskComment.component.ts","researcherService","JSON","parse","localStorage","getItem","removeItem","getResearchTaskComment","comment","submit","saveResearcherTaskComments","window","close","deleteComment","deleteResearcherTaskComments","doSubmit","saveAlertBox","checkStatus","isEnabled","commentChanged","saveComment","ResearcherService","./src/app/researcherTaskList/ResearcherTaskList.component.html","./src/app/researcherTaskList/researcherTaskList.component.scss","./src/app/researcherTaskList/researcherTaskList.component.ts","woc","bwObjectService","totalWorkOrdersOnPage","totalWorkOrders","submitTaskDialog","submitTask","defaultStr","wo","stateData","jurFilters","originalAdmitted","admittedAll","requestNbrs","headerRP","headerNH","headerRH","headerPR","woComplete","WorkOrderComplete","submitList","SubmitTask","viewAsLink","requestType","selectedValue","filterWorkOrderList","getResearcherTaskData","removeSortingArray","setDefaultOrder","isSubmitDisabled","getJurisdiction","item","juris","taskList","ResearcherTaskList","woData","WorkOrder","getResearchTaskList","data_1","calculatedValue","sourceType","getExTotal","getIntTotal","currentSysDt","iso_SysDt","crrsrCount","dataType1","dataType2","dataType3","detailWork","displayNumber","getExDisplayNumber","getIntDisplayNumber","emailAddress","errorDescription","filterText","filterTotal","fullName","sourceName","gisUserName","lateTotal","min","newTotal","numbers","requestTotal","sortOne","sortTwo","sortThree","sortOrder1","sortOrder2","sortOrder3","sysID","totalDisplayRequest","admissionInfo","caseNbr","checked","custId","deferred","dis_DueDt","dis_RequestDt","dis_RequestDt_sort","dobDisplay","driversLicense","hrefAttachDoc","hrefCif","isLate","getLateStatus","iso_DueDt","jurisdiction","linkColor","getLinkColor","manualInd","nameRefNbr","ociIndicator","pendingComments","phone","position","printInd","recordFound","refAddr1","refCity","refName","refState","refZip","reportAll","reportAllText","getReportAllText","searchFromDt","searchToDt","signedRelInd","specialInstr","showInstruction","ssn","ssnDisplay","substr","strWork","totalInstruction","woPhone","validatePhone","woSourceName","woURL","validateUrl","woValue","getCaseStatus","woNoHitsDisable","setDisabled","woPendingDisable","woNoHitsDisplay","display","woManualDisplay","woPendingDisplay","woPendingLinkDisplay","woRecordDisplay","woCommentsDisplay","woSearchDisplay","woDeferredDisplay","woAdmittedDisplay","woNoHitsChecked","setCheckbox","woManualChecked","woPendingChecked","woDeferredChecked","woAdmittedChecked","woNoHitsName","woManualName","woPendingName","woDeferredName","woAdmittedName","licenseNumber","colorValue","getColorValue","isJurisVisible","validate","number","disDueDt","isoSysDt","color","parseDate","pendingWorkOrder","objValue","getOriginalState","currentStatus","noHits","pending","prompt","pendingWOHelper","removeNoHit","populateSubmitComments","removeNoHitsMsg","removeNoHits","pendingRequests","pendingRqstMsg","pendingRequest","removePending","removePendingMsg","populateList","holdComment","completeWorkOrder","noHitsConfirmation","checkList","RequestNbr","populateTaskList","exists","openWindow","confirmEditVerifications","specialInstruction","defaultValue","saveRequestNbrs","stringify","openInNewWindowByRoute","refNbr","state","msg","confirmRemovingNoRecordStatus","confirmRemovingPendingStatus","confirmWorkOrderStatus","objFrom","valid","sortTaskDialog","alertMsg","msgLine","header","breakLine","alertMsgS","alertMsgR","confirmationMsg","confirmSubmit","admittedCrimeCheckboxesChanged","getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound","logComplianceLogs","noChangeHelper","submitTaskListDisabled","submitTaskList","submitTaskListData","selectAll","forEach","removeAllSelection","getAllAdmitted","getAdmittedChecked","anf","filterList","x","inArray","allRqsts","checkedChange","arr","test","arrVal","PendingComments","Type","AdmittedCrimeNotFound","gotoTop","scrollTo","displayReport","rptType","receivedDialog","reportDialog","markRequestReceived","successful","createDateTime","takeYear","leadingZero","minutes","getMinutes","seconds","getSeconds","hours","getHours","ampm","dte","getYear","nbr","showComment","saveStatus","searchCapture","userID","searchCaptureOpen","watsonShowGuideline","address","showLink","oHits","confirmSubmitHelper","persist","closeDt","newStatus","oPending","work","originalStatus","crimAlert","sortWorkOrderList","selectedJurisdiction","config","saveSortOrder","noChangesToTaskList","noHitRequests","noHitsMsg","currentDte","records","SubmitTaskDialog","sort","ftr","./src/app/researcherTaskListHelp/researcherTaskListHelp.component.html","./src/app/researcherTaskListHelp/researcherTaskListHelp.component.scss","./src/app/researcherTaskListHelp/researcherTaskListHelp.component.ts","./src/app/sortTaskList/sortTaskList.component.html","./src/app/sortTaskList/sortTaskList.component.scss","./src/app/sortTaskList/sortTaskList.component.ts","list","defaultSort1","defaultSort2","defaultSort3","defaultOrder1","defaultOrder2","defaultOrder3","sortList","SortList","displaySortedTaskList","getSortOrder","getSortValue","saveSortType","requestDt","referenceName","ascending","descending","./src/app/sortTaskListHelp/sortTaskListHelp.component.html","./src/app/sortTaskListHelp/sortTaskListHelp.component.scss","./src/app/sortTaskListHelp/sortTaskListHelp.component.ts","./src/app/specialAdmitted/specialAdmitted.component.html","./src/app/specialAdmitted/specialAdmitted.component.scss","./src/app/specialAdmitted/specialAdmitted.component.ts","String","./src/app/specialInstruction/specialInstruction.component.html","./src/app/specialInstruction/specialInstruction.component.scss","./src/app/specialInstruction/specialInstruction.component.ts","getInstructionData","showAdmissionSection","getSpecialInstructions","admission","researchInstruction","showResearchSection","./src/app/specialResearch/specialResearch.component.html","./src/app/specialResearch/specialResearch.component.scss","./src/app/specialResearch/specialResearch.component.ts","./src/app/workOrderAdmissions/WorkOrderAdmissions.component.html","./src/app/workOrderAdmissions/WorkOrderAdmissions.component.scss","./src/app/workOrderAdmissions/workOrderAdmissions.component.ts","./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.html","./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.scss","./src/app/workOrderIdentifiers/workOrderIdentifiers.component.ts","./src/app/workOrderReport/WorkOrderReport.component.html","./src/app/workOrderReport/WorkOrderReport.component.scss","./src/app/workOrderReport/workOrderReport.component.ts","rpt","getReportData","getWorkOrders","Report","getWorkOrderReport","notEndOfFile","isPageBreak","endOfFile","showJurisdiction","showJuris","setItem","./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.html","./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.scss","./src/app/workOrderSpecialInstructions/workOrderSpecialInstructions.component.ts","./src/assets/images/CRIM-Logo.gif","p","./src/directives/validateOnblur.directive.ts","ValidationOnBlurDirective","onFocus","wasChanged","validators","asyncValidators","asyncValidator","clearAsyncValidators","clearValidators","onKeyup","onChange","onNgModelChange","onBlur","setAsyncValidators","setValidators","updateValueAndValidity","Directive","host","(focus)","(blur)","(keyup)","(change)","(ngModelChange)","NgControl","./src/globals.ts","environmentName","./src/guards/authenticationGuard.ts","authenticationService_1","AuthenticationGuard","sessionStorage","Injectable","./src/main.ts","platform_browser_dynamic_1","app_module_1","enableProdMode","platformBrowserDynamic","bootstrapModule","./src/models/Admission.ts","Admission","admissionLevel","admissionType","admissionYear","countyName","federal","firstLevelOffender","probationCompleted","probationStatus","prohibited","prohibitedState","question","stateCode","getAdmissions","specialInstruction_1","admissions","applicantAdmissions","./src/models/ResearchInstruction.ts","ResearchInstruction","getResearchInstruction","researchInstructions","research","./src/models/alertifyPromise.ts","promisifyAlert","labels","closableByDimmer","defaultFocus","frameless","closable","promisifyConfirm","cancel","confirm","./src/models/charge.ts","Charge","chargeNbr","createFromRequest","internalCharges","chargeBackup","./src/models/chargeLevels.ts","./src/models/chargeType.ts","./src/models/codes.ts","./src/models/complianceAuditLog.ts","ComplianceAuditLog","page","./src/models/dateHandler.ts","moment","DateHandler","dayMask","monthMask","yearMask","trim","internalFormat","dateNoDelimiters","maskNoDelimiters","parseInt","slice","./src/models/formControl.ts","FormControl","formGroup","setValue","Boolean","invalid","./src/models/httpBase.ts","Rx_1","HttpBase","http","httpPost","showPopupOnError","redirectToLoginIfNotAuthorized","putLoader","headers","Headers","append","RequestOptions","withCredentials","post","goToLoginPage","Observable","of","finally","removeLoader","httpDelete","httpGet","className","./src/models/httpError.ts","HttpError","response","urlUsed","./src/models/index.ts","__export","m","hasOwnProperty","./src/models/invoice.ts","jurisdictionTotal_1","vendor_1","Invoice","vendor","request","jurisdictionTotal","source","totalRequests","./src/models/jurisdiction.ts","Jurisdiction","./src/models/jurisdictionResults.ts","JurisdicationResults","jState","results","jurisdicationId","./src/models/jurisdictionTotal.ts","JurisdictionTotal","./src/models/jurisdictions.ts","Jurisdictions","sourceId","sourceSubType","statusReason","addresss","zipCode","phoneNbr","faxPhoneNbr","altPhoneNbr","altFaxNumber","webAddress","pfdSendMethod","pfdRecvMethod","workOrderFormat","contact","systemOwnerId","./src/models/loggedInUser.ts","user_1","LoggedInUser","lastLoginDate","./src/models/navigation.ts","jurisdiction_1","loggedInUser_1","Navigation","loggedInUser","vendors","./src/models/offense.ts","./src/models/offenseCodes.ts","OffenseCodes","./src/models/offenseRecord.ts","OffenseRecord","gradingResult","classification","suppressed","deleted","verifiedDOBFull","verifiedDOBPartial","verifiedAddress","verifiedSSN","verifiedSIN","verifiedDL","verifiedName","isVerified","verifiedUserId","isSuppressed","isDeleted","isDeferred","isCourtCaseSentence","isVerifiedDobFull","isVerifiedDobPartial","isVerifiedAddress","isVerifiedSsn","isVerifiedSin","isVerifiedDl","isVerifiedName","isOffenseVerified","getFromRequest","offenseRecords_1","offenceNumber","./src/models/offenseSearch.ts","OffenseSearch","workState","restrictedState","admittedCrimNotFound","./src/models/orderBy.ts","OrderBy_1","_orderByComparator","isNaN","parseFloat","isFinite","transform","input","isArray","property","aValue","bValue","propertySplit","j","comparison","Pipe","name","pure","./src/models/params.ts","Params","./src/models/popupHelper.ts","PopupHelper","userHelperConfirm","submitHelper","./src/models/registrationCodes.ts","./src/models/report.ts","Admission_1","researchDisplay","specialInstructions","admissionDisplay","getSpecialInstruction","displaySections","instruction","specialInstructions_1","./src/models/researcherTaskList.ts","./src/models/sentenceLevel.ts","./src/models/sortList.ts","./src/models/specialInstruction.ts","SpecialInstruction","./src/models/submitTask.ts","./src/models/submitTaskDialog.ts","./src/models/user.ts","User","./src/models/vendor.ts","Vendor","city","vendorId","./src/models/workOrder.ts","./src/models/workOrderComplete.ts","./src/services/MessageQueService.ts","__extends","extendStatics","setPrototypeOf","__proto__","__","constructor","create","httpBase_1","_super","environmentService","runtime","rqstNbrs","saveStateData","saveTaskListData","saveOriginalAdmitted","admitted","saveWOData","savejurisdictionFilter","sorting","formatDob","toISOString","clearCache","getSwitchValue","getCacheControlKey","configName","cacheControlKeyUrl","getDay","Http","Compiler","./src/services/authenticationService.ts","loggedIn","username","deleteLocalStorage","loginUrl","statusCd","expirationDt","passwordExpirationDate","isExpired","okCode","setLocalStorage","checkAuthorizationtUrl","logoutUrl","duration","expireDt","currentDt","expiredDate","diff","abs","ceil","changePasswordUrl","UserName","Password","NewPassword","resetUrl","Email","./src/services/browserWindowObjectService.ts","BrowserWindowObjectService","getNativeWindow","open","width","height","history","back","./src/services/complianceAuditLogService.ts","ComplianceAuditLogService","./src/services/environmentService.ts","globals_1","EnvironmentService","hostname","location","port","isDevelopment","crimWebVirtualDirectoryName","protocol","webApiUrl","./src/services/index.ts","./src/services/invoiceService.ts","invoice_1","InvoiceService","queryString","invoiceUrl","./src/services/messageService.ts","MessageService","helloWorldUrl","toPromise","./src/services/navigationService.ts","NavigationService","navigationUrl","./src/services/offenseService.ts","offenseCodes_1","offenseSearch_1","OffenseService","getOffenses","offenses","saveOffenses","deleteOffense","./src/services/registrationService.ts","RegistrationService","registerUrl","./src/services/researcherService.ts","isSuccessful","taskListUrl","requests","getSubmitTasklUrl","markRequestReceivedUrl","GetWorkOrdersUrl","SpecialInstructionUrl","getResearchTaskCommentUrl","requestComments","deleteResearchTaskCommentUrl","saveResearchTaskCommentUrl","Comment","./src/validators/compareTwoInputsValidator.ts","compareTwoInputsValidator","compareInputId","same","compareTwoInputs","./src/validators/isDateValidator.ts","isDateValidator","isDate","./src/validators/isNumberValidator.ts","isNumberValidator","isNumber","./src/validators/passwordRulesValidator.ts","passwordRulesValidator","passwordRules","./src/validators/passwordValidation.ts","AC","./src/validators/usernameAlreadyExistValidator.ts","usernameAlreadyExistValidator","0"],"mappings":"AAAAA,cAAc,QAERC,6BACA,SAAUC,EAAQC,GCHxB,QAAAC,0BAAAC,GAGA,MAAAC,SAAAC,UAAAC,KAAA,WACA,SAAAC,OAAA,uBAAAJ,EAAA,QAGAD,yBAAAM,KAAA,WAA4C,UAC5CN,yBAAAG,QAAAH,yBACAF,EAAAC,QAAAC,yBACAA,yBAAAO,GAAA,8BDSMC,oDACA,SAAUV,EAAQC,EAASU,GE0NjC,QAAAC,gBAAAT,GACA,MAAAQ,GAAAE,sBAAAV,IAEA,QAAAU,uBAAAV,GACA,GAAAM,GAAAK,EAAAX,EACA,MAAAM,EAAA,GACA,SAAAF,OAAA,uBAAAJ,EAAA,KACA,OAAAM,GArPA,GAAAK,IACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,wCACAC,aAAA,wCACAC,UAAA,wCACAC,aAAA,wCACAC,UAAA,wCACAC,aAAA,wCACAC,UAAA,wCACAC,aAAA,wCACAC,UAAA,wCACAC,aAAA,wCACAC,UAAA,wCACAC,aAAA,wCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,qCACAC,OAAA,qCACAC,UAAA,q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AA,WAEE,QAAAA,eAAmB30B,EACVC,EACAG,EACAE,EACAC,EACAq0B,EACAp0B,EACAE,EACAE,EACAC,EACAC,EACAC,EACAC,EACA6zB,EACAl5B,EACAuF,EACAC,EACAF,EACAG,EACAC,EACAvB,EACAC,EACAF,EACAyB,EACA5F,EACAN,EACAG,EACAC,EACAC,EACAJ,EACAC,EACAM,EACAtB,EACAk4B,EACAsC,EACAC,EACAtc,EACAvY,EACA80B,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACA32B,EACAzG,OAAA,KAAAA,OAAA,GAhDU5e,KAAAwmB,aACVxmB,KAAAymB,aACAzmB,KAAA4mB,YACA5mB,KAAA8mB,SACA9mB,KAAA+mB,gBACA/mB,KAAAo7C,gBACAp7C,KAAAgnB,oBACAhnB,KAAAknB,aACAlnB,KAAAonB,gBACApnB,KAAAqnB,gBACArnB,KAAAsnB,iBACAtnB,KAAAunB,oBACAvnB,KAAAwnB,gBACAxnB,KAAAq7C,iBACAr7C,KAAAmiB,WACAniB,KAAA0nB,eACA1nB,KAAA2nB,WACA3nB,KAAAynB,gBACAznB,KAAA4nB,iBACA5nB,KAAA6nB,uBACA7nB,KAAAsmB,eACAtmB,KAAAumB,aACAvmB,KAAAqmB,cACArmB,KAAA8nB,kBACA9nB,KAAAkiB,gBACAliB,KAAA4hB,YACA5hB,KAAA+hB,WACA/hB,KAAAgiB,aACAhiB,KAAAiiB,iBACAjiB,KAAA6hB,QACA7hB,KAAA8hB,aACA9hB,KAAAoiB,qBACApiB,KAAA8gB,aACA9gB,KAAAg5C,UACAh5C,KAAAs7C,aACAt7C,KAAAu7C,UACAv7C,KAAAi/B,WACAj/B,KAAA0mB,wBACA1mB,KAAAw7C,kBACAx7C,KAAAy7C,qBACAz7C,KAAA07C,kBACA17C,KAAA27C,cACA37C,KAAA47C,cACA57C,KAAA67C,aACA77C,KAAA87C,eACA97C,KAAA+7C,aACA/7C,KAAAg8C,iBACAh8C,KAAAqlB,UACArlB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AVarZ,GAAAqZ,sBhK81WPq/C,oDACA,SAAU34D,EAAQC,EAASU,GAEjC,YiKj2WA,SAAAi4D,iCACE,MAAO,YAEL,MAAO,OjKg2WXhpD,OAAOqB,eAAehR,EAAS,cAAgBiR,OAAO,IiKn2WtDjR,EAAAwR,QAAAmnD,+BjK+2WMC,EACA,SAAU74D,EAAQC,EAASU,GAEjCX,EAAOC,QAAUU,EAAoB,oBAKlC","file":"js/app.bundle.a6cc317d.min.js","sourcesContent":["webpackJsonp([\"app\"],{\n\n/***/ \"./$$_gendir lazy recursive\":\n/***/ (function(module, exports) {\n\nfunction webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./$$_gendir lazy recursive\";\n\n/***/ }),\n\n/***/ \"./node_modules/moment/locale recursive ^\\\\.\\\\/.*$\":\n/***/ (function(module, exports, __webpack_require__) {\n\nvar map = {\n\t\"./af\": \"./node_modules/moment/locale/af.js\",\n\t\"./af.js\": \"./node_modules/moment/locale/af.js\",\n\t\"./ar\": \"./node_modules/moment/locale/ar.js\",\n\t\"./ar-dz\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-dz.js\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-kw\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-kw.js\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-ly\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ly.js\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ma\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-ma.js\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-sa\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-sa.js\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-tn\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar-tn.js\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar.js\": \"./node_modules/moment/locale/ar.js\",\n\t\"./az\": \"./node_modules/moment/locale/az.js\",\n\t\"./az.js\": \"./node_modules/moment/locale/az.js\",\n\t\"./be\": \"./node_modules/moment/locale/be.js\",\n\t\"./be.js\": \"./node_modules/moment/locale/be.js\",\n\t\"./bg\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bg.js\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bm\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bm.js\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bn\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bn.js\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bo\": \"./node_modules/moment/locale/bo.js\",\n\t\"./bo.js\": \"./node_modules/moment/locale/bo.js\",\n\t\"./br\": \"./node_modules/moment/locale/br.js\",\n\t\"./br.js\": \"./node_modules/moment/locale/br.js\",\n\t\"./bs\": \"./node_modules/moment/locale/bs.js\",\n\t\"./bs.js\": \"./node_modules/moment/locale/bs.js\",\n\t\"./ca\": \"./node_modules/moment/locale/ca.js\",\n\t\"./ca.js\": \"./node_modules/moment/locale/ca.js\",\n\t\"./cs\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cs.js\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cv\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cv.js\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cy\": \"./node_modules/moment/locale/cy.js\",\n\t\"./cy.js\": \"./node_modules/moment/locale/cy.js\",\n\t\"./da\": \"./node_modules/moment/locale/da.js\",\n\t\"./da.js\": \"./node_modules/moment/locale/da.js\",\n\t\"./de\": \"./node_modules/moment/locale/de.js\",\n\t\"./de-at\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-at.js\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-ch\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de-ch.js\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de.js\": \"./node_modules/moment/locale/de.js\",\n\t\"./dv\": \"./node_modules/moment/locale/dv.js\",\n\t\"./dv.js\": \"./node_modules/moment/locale/dv.js\",\n\t\"./el\": \"./node_modules/moment/locale/el.js\",\n\t\"./el.js\": \"./node_modules/moment/locale/el.js\",\n\t\"./en-au\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-au.js\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-ca\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-ca.js\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-gb\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-gb.js\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-ie\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-ie.js\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-nz\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./en-nz.js\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./eo\": \"./node_modules/moment/locale/eo.js\",\n\t\"./eo.js\": \"./node_modules/moment/locale/eo.js\",\n\t\"./es\": \"./node_modules/moment/locale/es.js\",\n\t\"./es-do\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-do.js\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-us\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es-us.js\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es.js\": \"./node_modules/moment/locale/es.js\",\n\t\"./et\": \"./node_modules/moment/locale/et.js\",\n\t\"./et.js\": \"./node_modules/moment/locale/et.js\",\n\t\"./eu\": \"./node_modules/moment/locale/eu.js\",\n\t\"./eu.js\": \"./node_modules/moment/locale/eu.js\",\n\t\"./fa\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fa.js\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fi\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fi.js\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fo\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fo.js\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fr\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fr-ca\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ca.js\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ch\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr-ch.js\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr.js\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fy\": \"./node_modules/moment/locale/fy.js\",\n\t\"./fy.js\": \"./node_modules/moment/locale/fy.js\",\n\t\"./gd\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gd.js\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gl\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gl.js\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gom-latn\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gom-latn.js\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gu\": \"./node_modules/moment/locale/gu.js\",\n\t\"./gu.js\": \"./node_modules/moment/locale/gu.js\",\n\t\"./he\": \"./node_modules/moment/locale/he.js\",\n\t\"./he.js\": \"./node_modules/moment/locale/he.js\",\n\t\"./hi\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hi.js\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hr\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hr.js\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hu\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hu.js\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hy-am\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./hy-am.js\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./id\": \"./node_modules/moment/locale/id.js\",\n\t\"./id.js\": \"./node_modules/moment/locale/id.js\",\n\t\"./is\": \"./node_modules/moment/locale/is.js\",\n\t\"./is.js\": \"./node_modules/moment/locale/is.js\",\n\t\"./it\": \"./node_modules/moment/locale/it.js\",\n\t\"./it.js\": \"./node_modules/moment/locale/it.js\",\n\t\"./ja\": \"./node_modules/moment/locale/ja.js\",\n\t\"./ja.js\": \"./node_modules/moment/locale/ja.js\",\n\t\"./jv\": \"./node_modules/moment/locale/jv.js\",\n\t\"./jv.js\": \"./node_modules/moment/locale/jv.js\",\n\t\"./ka\": \"./node_modules/moment/locale/ka.js\",\n\t\"./ka.js\": \"./node_modules/moment/locale/ka.js\",\n\t\"./kk\": \"./node_modules/moment/locale/kk.js\",\n\t\"./kk.js\": \"./node_modules/moment/locale/kk.js\",\n\t\"./km\": \"./node_modules/moment/locale/km.js\",\n\t\"./km.js\": \"./node_modules/moment/locale/km.js\",\n\t\"./kn\": \"./node_modules/moment/locale/kn.js\",\n\t\"./kn.js\": \"./node_modules/moment/locale/kn.js\",\n\t\"./ko\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ko.js\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ky\": \"./node_modules/moment/locale/ky.js\",\n\t\"./ky.js\": \"./node_modules/moment/locale/ky.js\",\n\t\"./lb\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lb.js\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lo\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lo.js\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lt\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lt.js\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lv\": \"./node_modules/moment/locale/lv.js\",\n\t\"./lv.js\": \"./node_modules/moment/locale/lv.js\",\n\t\"./me\": \"./node_modules/moment/locale/me.js\",\n\t\"./me.js\": \"./node_modules/moment/locale/me.js\",\n\t\"./mi\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mi.js\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mk\": \"./node_modules/moment/locale/mk.js\",\n\t\"./mk.js\": \"./node_modules/moment/locale/mk.js\",\n\t\"./ml\": \"./node_modules/moment/locale/ml.js\",\n\t\"./ml.js\": \"./node_modules/moment/locale/ml.js\",\n\t\"./mr\": \"./node_modules/moment/locale/mr.js\",\n\t\"./mr.js\": \"./node_modules/moment/locale/mr.js\",\n\t\"./ms\": \"./node_modules/moment/locale/ms.js\",\n\t\"./ms-my\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms-my.js\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms.js\": \"./node_modules/moment/locale/ms.js\",\n\t\"./my\": \"./node_modules/moment/locale/my.js\",\n\t\"./my.js\": \"./node_modules/moment/locale/my.js\",\n\t\"./nb\": \"./node_modules/moment/locale/nb.js\",\n\t\"./nb.js\": \"./node_modules/moment/locale/nb.js\",\n\t\"./ne\": \"./node_modules/moment/locale/ne.js\",\n\t\"./ne.js\": \"./node_modules/moment/locale/ne.js\",\n\t\"./nl\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nl-be\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl-be.js\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl.js\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nn\": \"./node_modules/moment/locale/nn.js\",\n\t\"./nn.js\": \"./node_modules/moment/locale/nn.js\",\n\t\"./pa-in\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pa-in.js\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pl\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pl.js\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pt\": \"./node_modules/moment/locale/pt.js\",\n\t\"./pt-br\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt-br.js\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt.js\": \"./node_modules/moment/locale/pt.js\",\n\t\"./ro\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ro.js\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ru\": \"./node_modules/moment/locale/ru.js\",\n\t\"./ru.js\": \"./node_modules/moment/locale/ru.js\",\n\t\"./sd\": \"./node_modules/moment/locale/sd.js\",\n\t\"./sd.js\": \"./node_modules/moment/locale/sd.js\",\n\t\"./se\": \"./node_modules/moment/locale/se.js\",\n\t\"./se.js\": \"./node_modules/moment/locale/se.js\",\n\t\"./si\": \"./node_modules/moment/locale/si.js\",\n\t\"./si.js\": \"./node_modules/moment/locale/si.js\",\n\t\"./sk\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sk.js\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sl\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sl.js\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sq\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sq.js\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sr\": \"./node_modules/moment/locale/sr.js\",\n\t\"./sr-cyrl\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr-cyrl.js\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr.js\": \"./node_modules/moment/locale/sr.js\",\n\t\"./ss\": \"./node_modules/moment/locale/ss.js\",\n\t\"./ss.js\": \"./node_modules/moment/locale/ss.js\",\n\t\"./sv\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sv.js\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sw\": \"./node_modules/moment/locale/sw.js\",\n\t\"./sw.js\": \"./node_modules/moment/locale/sw.js\",\n\t\"./ta\": \"./node_modules/moment/locale/ta.js\",\n\t\"./ta.js\": \"./node_modules/moment/locale/ta.js\",\n\t\"./te\": \"./node_modules/moment/locale/te.js\",\n\t\"./te.js\": \"./node_modules/moment/locale/te.js\",\n\t\"./tet\": \"./node_modules/moment/locale/tet.js\",\n\t\"./tet.js\": \"./node_modules/moment/locale/tet.js\",\n\t\"./th\": \"./node_modules/moment/locale/th.js\",\n\t\"./th.js\": \"./node_modules/moment/locale/th.js\",\n\t\"./tl-ph\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tl-ph.js\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tlh\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tlh.js\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tr\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tr.js\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tzl\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzl.js\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzm\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./tzm-latn\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm-latn.js\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm.js\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./uk\": \"./node_modules/moment/locale/uk.js\",\n\t\"./uk.js\": \"./node_modules/moment/locale/uk.js\",\n\t\"./ur\": \"./node_modules/moment/locale/ur.js\",\n\t\"./ur.js\": \"./node_modules/moment/locale/ur.js\",\n\t\"./uz\": \"./node_modules/moment/locale/uz.js\",\n\t\"./uz-latn\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz-latn.js\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz.js\": \"./node_modules/moment/locale/uz.js\",\n\t\"./vi\": \"./node_modules/moment/locale/vi.js\",\n\t\"./vi.js\": \"./node_modules/moment/locale/vi.js\",\n\t\"./x-pseudo\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./x-pseudo.js\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./yo\": \"./node_modules/moment/locale/yo.js\",\n\t\"./yo.js\": \"./node_modules/moment/locale/yo.js\",\n\t\"./zh-cn\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-cn.js\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-hk\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-hk.js\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-tw\": \"./node_modules/moment/locale/zh-tw.js\",\n\t\"./zh-tw.js\": \"./node_modules/moment/locale/zh-tw.js\"\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number or string\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"./node_modules/moment/locale recursive ^\\\\.\\\\/.*$\";\n\n/***/ }),\n\n/***/ \"./src/app/app.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/app.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.min.css\"), \"\");\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/themes/default.min.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}:root{font-size:75%}body{background-color:beige;font-family:Verdana,Arial,Tahoma;font-size:1rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/app.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar AppComponent = (function () {\r\n function AppComponent() {\r\n this.title = 'CRIM Web Application';\r\n }\r\n AppComponent.prototype.showTeamEasterEgg = function () {\r\n popupHelper_1.default.developerEasterEgg();\r\n };\r\n AppComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-root',\r\n template: __webpack_require__(\"./src/app/app.component.html\"),\r\n styles: [__webpack_require__(\"./node_modules/normalize.css/normalize.css\"), __webpack_require__(\"./src/app/app.component.scss\")],\r\n encapsulation: core_1.ViewEncapsulation.None,\r\n })\r\n ], AppComponent);\r\n return AppComponent;\r\n}());\r\nexports.AppComponent = AppComponent;\r\n//# sourceMappingURL=app.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/app.module.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar platform_browser_1 = __webpack_require__(\"./node_modules/@angular/platform-browser/esm5/platform-browser.js\");\r\nvar app_component_1 = __webpack_require__(\"./src/app/app.component.ts\");\r\nvar app_routing_1 = __webpack_require__(\"./src/app/app.routing.ts\");\r\nvar helloWorld_component_1 = __webpack_require__(\"./src/app/helloWorld/helloWorld.component.ts\");\r\nvar navigation_component_1 = __webpack_require__(\"./src/app/navigation/navigation.component.ts\");\r\nvar navigationWorkOrders_component_1 = __webpack_require__(\"./src/app/navigationWorkOrders/navigationWorkOrders.component.ts\");\r\nvar navigationInternal_component_1 = __webpack_require__(\"./src/app/navigationInternal/navigationInternal.component.ts\");\r\nvar login_component_1 = __webpack_require__(\"./src/app/login/login.component.ts\");\r\nvar loginHeader_component_1 = __webpack_require__(\"./src/app/loginHeader/loginHeader.component.ts\");\r\nvar footer_component_1 = __webpack_require__(\"./src/app/footer/footer.component.ts\");\r\nvar changePassword_component_1 = __webpack_require__(\"./src/app/changePassword/changePassword.component.ts\");\r\nvar forgotPassword_component_1 = __webpack_require__(\"./src/app/forgotPassword/forgotPassword.component.ts\");\r\nvar exit_component_1 = __webpack_require__(\"./src/app/exit/exit.component.ts\");\r\nvar specialAdmitted_component_1 = __webpack_require__(\"./src/app/specialAdmitted/specialAdmitted.component.ts\");\r\nvar specialInstruction_component_1 = __webpack_require__(\"./src/app/specialInstruction/specialInstruction.component.ts\");\r\nvar specialResearch_component_1 = __webpack_require__(\"./src/app/specialResearch/specialResearch.component.ts\");\r\nvar sortTaskList_component_1 = __webpack_require__(\"./src/app/sortTaskList/sortTaskList.component.ts\");\r\nvar sortTaskListHelp_component_1 = __webpack_require__(\"./src/app/sortTaskListHelp/sortTaskListHelp.component.ts\");\r\nvar offense_component_1 = __webpack_require__(\"./src/app/offense/offense.component.ts\");\r\nvar offenseCounts_component_1 = __webpack_require__(\"./src/app/offenseCounts/offenseCounts.component.ts\");\r\nvar offenseRecord_component_1 = __webpack_require__(\"./src/app/offenseRecord/offenseRecord.component.ts\");\r\nvar offenseSearch_component_1 = __webpack_require__(\"./src/app/offenseSearch/offenseSearch.component.ts\");\r\nvar offenseHelp_component_1 = __webpack_require__(\"./src/app/offenseHelp/offenseHelp.component.ts\");\r\nvar registration_component_1 = __webpack_require__(\"./src/app/registration/registration.component.ts\");\r\nvar researcherTaskComment_component_1 = __webpack_require__(\"./src/app/researcherTaskComment/researcherTaskComment.component.ts\");\r\nvar researcherTaskList_component_1 = __webpack_require__(\"./src/app/researcherTaskList/researcherTaskList.component.ts\");\r\nvar researcherTaskListHelp_component_1 = __webpack_require__(\"./src/app/researcherTaskListHelp/researcherTaskListHelp.component.ts\");\r\nvar workOrderReport_component_1 = __webpack_require__(\"./src/app/workOrderReport/workOrderReport.component.ts\");\r\nvar workOrderIdentifiers_component_1 = __webpack_require__(\"./src/app/workOrderIdentifiers/workOrderIdentifiers.component.ts\");\r\nvar workOrderAdmissions_component_1 = __webpack_require__(\"./src/app/workOrderAdmissions/workOrderAdmissions.component.ts\");\r\nvar workOrderSpecialInstructions_component_1 = __webpack_require__(\"./src/app/workOrderSpecialInstructions/workOrderSpecialInstructions.component.ts\");\r\nvar confirmation_component_1 = __webpack_require__(\"./src/app/confirmation/confirmation.component.ts\");\r\nvar reports_component_1 = __webpack_require__(\"./src/app/reports/reports.component.ts\");\r\nvar invoiceReport_component_1 = __webpack_require__(\"./src/app/invoiceReport/invoiceReport.component.ts\");\r\nvar orderBy_1 = __webpack_require__(\"./src/models/orderBy.ts\");\r\n// providers\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar messageService_1 = __webpack_require__(\"./src/services/messageService.ts\");\r\nvar browserWindowObjectService_1 = __webpack_require__(\"./src/services/browserWindowObjectService.ts\");\r\nvar complianceAuditLogService_1 = __webpack_require__(\"./src/services/complianceAuditLogService.ts\");\r\n// guards\r\nvar authenticationGuard_1 = __webpack_require__(\"./src/guards/authenticationGuard.ts\");\r\n// custom directives\r\nvar validateOnblur_directive_1 = __webpack_require__(\"./src/directives/validateOnblur.directive.ts\");\r\nvar AppModule = (function () {\r\n function AppModule() {\r\n }\r\n AppModule = __decorate([\r\n core_1.NgModule({\r\n declarations: [\r\n app_component_1.AppComponent,\r\n helloWorld_component_1.default,\r\n login_component_1.LoginComponent,\r\n loginHeader_component_1.LoginHeaderComponent,\r\n footer_component_1.FooterComponent,\r\n changePassword_component_1.ChangePasswordComponent,\r\n forgotPassword_component_1.ForgotPasswordComponent,\r\n exit_component_1.ExitComponent,\r\n researcherTaskList_component_1.ResearcherTaskListComponent,\r\n researcherTaskComment_component_1.ResearcherTaskCommentComponent,\r\n specialInstruction_component_1.SpecialInstructionComponent,\r\n specialAdmitted_component_1.SpecialAdmittedComponent,\r\n specialResearch_component_1.SpecialResearchComponent,\r\n sortTaskList_component_1.SortTaskListComponent,\r\n sortTaskListHelp_component_1.SortTaskListHelpComponent,\r\n workOrderReport_component_1.WorkOrderReportComponent,\r\n workOrderIdentifiers_component_1.WorkOrderIdentifiersComponent,\r\n workOrderAdmissions_component_1.WorkOrderAdmissionsComponent,\r\n workOrderSpecialInstructions_component_1.WorkOrderSpecialInstructionsComponent,\r\n offense_component_1.default,\r\n offenseSearch_component_1.default,\r\n offenseRecord_component_1.default,\r\n offenseCounts_component_1.default,\r\n offenseHelp_component_1.default,\r\n navigation_component_1.default,\r\n navigationWorkOrders_component_1.default,\r\n navigationInternal_component_1.NavigationInternalComponent,\r\n login_component_1.LoginComponent,\r\n registration_component_1.default,\r\n confirmation_component_1.default,\r\n validateOnblur_directive_1.default,\r\n researcherTaskListHelp_component_1.ResearcherTaskListHelpComponent,\r\n reports_component_1.default,\r\n invoiceReport_component_1.default,\r\n validateOnblur_directive_1.default,\r\n orderBy_1.OrderBy\r\n ],\r\n imports: [\r\n platform_browser_1.BrowserModule,\r\n http_1.HttpModule,\r\n app_routing_1.routing,\r\n forms_1.FormsModule,\r\n forms_1.ReactiveFormsModule,\r\n ],\r\n providers: [authenticationGuard_1.default,\r\n index_1.AuthenticationService,\r\n messageService_1.default, environmentService_1.default,\r\n browserWindowObjectService_1.default,\r\n complianceAuditLogService_1.default\r\n ],\r\n bootstrap: [app_component_1.AppComponent]\r\n })\r\n ], AppModule);\r\n return AppModule;\r\n}());\r\nexports.AppModule = AppModule;\r\n//# sourceMappingURL=app.module.js.map\n\n/***/ }),\n\n/***/ \"./src/app/app.routing.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar login_component_1 = __webpack_require__(\"./src/app/login/login.component.ts\");\r\nvar exit_component_1 = __webpack_require__(\"./src/app/exit/exit.component.ts\");\r\nvar researcherTaskComment_component_1 = __webpack_require__(\"./src/app/researcherTaskComment/researcherTaskComment.component.ts\");\r\nvar researcherTaskList_component_1 = __webpack_require__(\"./src/app/researcherTaskList/researcherTaskList.component.ts\");\r\nvar researcherTaskListHelp_component_1 = __webpack_require__(\"./src/app/researcherTaskListHelp/researcherTaskListHelp.component.ts\");\r\nvar specialInstruction_component_1 = __webpack_require__(\"./src/app/specialInstruction/specialInstruction.component.ts\");\r\nvar sortTaskList_component_1 = __webpack_require__(\"./src/app/sortTaskList/sortTaskList.component.ts\");\r\nvar sortTaskListHelp_component_1 = __webpack_require__(\"./src/app/sortTaskListHelp/sortTaskListHelp.component.ts\");\r\nvar workOrderReport_component_1 = __webpack_require__(\"./src/app/workOrderReport/workOrderReport.component.ts\");\r\nvar offense_component_1 = __webpack_require__(\"./src/app/offense/offense.component.ts\");\r\nvar offenseHelp_component_1 = __webpack_require__(\"./src/app/offenseHelp/offenseHelp.component.ts\");\r\nvar helloWorld_component_1 = __webpack_require__(\"./src/app/helloWorld/helloWorld.component.ts\");\r\nvar navigation_component_1 = __webpack_require__(\"./src/app/navigation/navigation.component.ts\");\r\nvar registration_component_1 = __webpack_require__(\"./src/app/registration/registration.component.ts\");\r\nvar authenticationGuard_1 = __webpack_require__(\"./src/guards/authenticationGuard.ts\");\r\nvar confirmation_component_1 = __webpack_require__(\"./src/app/confirmation/confirmation.component.ts\");\r\nvar reports_component_1 = __webpack_require__(\"./src/app/reports/reports.component.ts\");\r\nvar invoiceReport_component_1 = __webpack_require__(\"./src/app/invoiceReport/invoiceReport.component.ts\");\r\nvar appRoutes = [\r\n { path: '', component: login_component_1.LoginComponent },\r\n { path: 'login', component: login_component_1.LoginComponent },\r\n { path: 'comment', component: researcherTaskComment_component_1.ResearcherTaskCommentComponent, canActivate: [authenticationGuard_1.default] },\r\n { path: 'specialInstruction', component: specialInstruction_component_1.SpecialInstructionComponent, canActivate: [authenticationGuard_1.default] },\r\n { path: 'sortTaskList/:status', component: sortTaskList_component_1.SortTaskListComponent, canActivate: [authenticationGuard_1.default] },\r\n { path: 'sortTaskListHelp', component: sortTaskListHelp_component_1.SortTaskListHelpComponent, canActivate: [authenticationGuard_1.default] },\r\n { path: 'workOrderReport', component: workOrderReport_component_1.WorkOrderReportComponent, canActivate: [authenticationGuard_1.default] },\r\n { path: 'exit', component: exit_component_1.ExitComponent },\r\n { path: 'registration', component: registration_component_1.default },\r\n { path: 'confirmation', component: confirmation_component_1.default },\r\n { path: 'researcherHelp', component: researcherTaskListHelp_component_1.ResearcherTaskListHelpComponent },\r\n { path: 'researcherTaskList/:status', component: researcherTaskList_component_1.ResearcherTaskListComponent, canActivate: [authenticationGuard_1.default] },\r\n { path: 'researcherTaskList/:status/:jurisdictionId', component: researcherTaskList_component_1.ResearcherTaskListComponent, canActivate: [authenticationGuard_1.default] },\r\n { path: 'offense/:requestNumber', component: offense_component_1.default, canActivate: [authenticationGuard_1.default] },\r\n { path: 'offenseHelp', component: offenseHelp_component_1.default, canActivate: [authenticationGuard_1.default] },\r\n { path: 'helloworld', component: helloWorld_component_1.default, canActivate: [authenticationGuard_1.default] },\r\n { path: 'navigation', component: navigation_component_1.default, canActivate: [authenticationGuard_1.default] },\r\n { path: 'reports', component: reports_component_1.default, canActivate: [authenticationGuard_1.default] },\r\n { path: 'invoiceReport/:startDate/:endDate/:invoiceNumber', component: invoiceReport_component_1.default, canActivate: [authenticationGuard_1.default] },\r\n { path: 'invoiceReport/:startDate/:endDate', component: invoiceReport_component_1.default, canActivate: [authenticationGuard_1.default] },\r\n];\r\nexports.routing = router_1.RouterModule.forRoot(appRoutes, { useHash: true });\r\n//# sourceMappingURL=app.routing.js.map\n\n/***/ }),\n\n/***/ \"./src/app/changePassword/changePassword.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n

CRIM System - Change Password

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n
\\r\\n

Username used to login into the CRIM system.

\\r\\n
\\r\\n
\\r\\n Username is required. \\r\\n Username must be a minimum of 4 characters.\\r\\n Username can only be a maximum of 30 characters.\\r\\n Account locked. Please contact GIS Vendor Relations.\\r\\n Username or password does not exist.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters minimum
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n Password is required. \\r\\n Password can only be a maximum of 60 characters.\\r\\n Password does not meet validation rules.\\r\\n Password is invalid.\\r\\n Username or password does not exist.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters minimum
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n New password is required. \\r\\n Password maximum 60 characters.\\r\\n Password does not meet validation rules.\\r\\n Cannot match current password.\\r\\n Password already exists.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n\\r\\n
\\r\\n

Must match New Password entered.

\\r\\n
\\r\\n
\\r\\n Confirm Password is required.\\r\\n Confirm Password maximum 60 characters.\\r\\n Confirm Password must match New Password.\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/changePassword/changePassword.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h1{text-align:center}.hdr{border:\\\"0\\\";background-color:#ccf;width:149.5rem;margin-left:4.5rem;-ms-flex-line-pack:center;align-content:center;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.col1{float:left}.errMsg{font-weight:400;color:red;margin-top:.5rem;margin-left:3rem;display:block}p{text-align:left}Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf;font-size:9pt}.button_pwd{width:11rem;height:2rem}.button_cancel{width:6rem;height:2rem}label{font-weight:bolder;font-size:9pt;font-family:Verdana,Tahoma,Arial;display:inline-block;width:11rem;text-align:left;padding-left:5em}.lbl_headerTxt{font-weight:400;width:48rem;padding-left:34rem;text-align:left;font-size:14px}input{font-size:11pt;font-family:Verdana,Tahoma,Arial;margin:.2rem;height:1.35rem;width:20rem}#spacer{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}#spacerxxsm{padding-top:.1rem}#spacersm{padding-top:1.5rem}hr{width:45rem;size:1;color:#a5a29b}.footer{font-family:Arial Narrow\\\\,Arial;font-size:2}.requiredTag{margin-left:50.5rem}header{-ms-flex-line-pack:center;align-content:center;text-align:center;margin-bottom:3rem}mark{color:red;background-color:inherit}small{font-size:smaller;font-weight:400;margin-left:11.1rem;display:inline-block}#username-group{margin-top:3rem}#new-password-group,#password-group{position:relative}.validation span{font-weight:400;color:red;text-align:left;display:block;font-size:8pt;padding-left:20.5rem;height:1.35rem;width:25rem}div.username-sidebar{margin-top:-1rem;margin-left:1.7rem}div.password-sidebar,div.username-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.password-sidebar{margin-top:-6rem;margin-left:20rem}div.new-password-sidebar{margin-top:-7rem;margin-left:20rem}div.confirm-password-sidebar,div.new-password-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.confirm-password-sidebar{margin-top:-1rem;margin-left:1rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/changePassword/changePassword.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar compareTwoInputsValidator_1 = __webpack_require__(\"./src/validators/compareTwoInputsValidator.ts\");\r\nvar passwordRulesValidator_1 = __webpack_require__(\"./src/validators/passwordRulesValidator.ts\");\r\nvar passwordValidation_1 = __webpack_require__(\"./src/validators/passwordValidation.ts\");\r\nvar index_2 = __webpack_require__(\"./src/models/index.ts\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar ChangePasswordComponent = (function () {\r\n function ChangePasswordComponent(formBuilder, msgSvc, authenticationService) {\r\n this.formBuilder = formBuilder;\r\n this.msgSvc = msgSvc;\r\n this.authenticationService = authenticationService;\r\n this.showChange = false;\r\n }\r\n ChangePasswordComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey();\r\n this.changePasswordForm = this.formBuilder.group({\r\n change: this.formBuilder.group({\r\n userName: ['', forms_1.Validators.compose([\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(30),\r\n forms_1.Validators.minLength(4)\r\n ])\r\n ],\r\n currentPassword: ['', forms_1.Validators.compose([\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(60),\r\n passwordRulesValidator_1.default()\r\n ])\r\n ],\r\n newPassword: ['', forms_1.Validators.compose([\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(60),\r\n passwordRulesValidator_1.default(),\r\n compareTwoInputsValidator_1.default('currentPassword', false)\r\n ])\r\n ],\r\n confirmPassword: ['', forms_1.Validators.compose([\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(60)\r\n ])\r\n ],\r\n }, { validator: passwordValidation_1.PasswordValidation.MatchPassword })\r\n });\r\n };\r\n ChangePasswordComponent.prototype.home = function () {\r\n this.showChange = false;\r\n this.changePasswordForm.reset();\r\n };\r\n // this is called from login\r\n ChangePasswordComponent.prototype.passwordChange = function (isVisible) {\r\n this.showChange = isVisible;\r\n };\r\n ChangePasswordComponent.prototype.showChangePassword = function () {\r\n if (this.showChange) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ChangePasswordComponent.prototype.onSubmit = function () {\r\n var _this = this;\r\n var form = this.changePasswordForm.value;\r\n var changes = Object.assign({}, form.change, { confirmPassword: undefined });\r\n this.authenticationService.changePassword(changes.userName, changes.currentPassword, changes.newPassword)\r\n .subscribe(function (codes) {\r\n var code = codes.find(function (rc) { return rc === index_2.Codes.ok; });\r\n if (code === index_2.Codes.ok) {\r\n _this.home();\r\n }\r\n else {\r\n for (var _i = 0, codes_1 = codes; _i < codes_1.length; _i++) {\r\n var errorCode = codes_1[_i];\r\n switch (errorCode) {\r\n case index_2.Codes.requireUsername:\r\n _this.setValidationErrorByControlName('change.userName', 'required');\r\n break;\r\n case index_2.Codes.requirePassword:\r\n _this.setValidationErrorByControlName('change.currentPassword', 'required');\r\n break;\r\n case index_2.Codes.requiredNewPassword:\r\n _this.setValidationErrorByControlName('change.newPassword', 'required');\r\n break;\r\n case index_2.Codes.invalidPassword:\r\n _this.setValidationErrorByControlName('change.currentPassword', 'invalid');\r\n break;\r\n case index_2.Codes.userNamePasswordNotExist:\r\n _this.setValidationErrorByControlName('change.userName', 'notexists');\r\n _this.setValidationErrorByControlName('change.currentPassword', 'notexists');\r\n break;\r\n case index_2.Codes.passwordAlreadyExist:\r\n _this.setValidationErrorByControlName('change.newPassword', 'exists');\r\n break;\r\n case index_2.Codes.accountLocked:\r\n _this.setValidationErrorByControlName('change.userName', 'locked');\r\n break;\r\n case index_2.Codes.passwordMatch:\r\n _this.setValidationErrorByControlName('change.newPassword', 'compareTwoInputs');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n };\r\n ChangePasswordComponent.prototype.setBlurById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n };\r\n ChangePasswordComponent.prototype.setFocusById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n };\r\n ChangePasswordComponent.prototype.passwordKeyup = function (event, order) {\r\n var password = event.target.value;\r\n this.checkLength(password, order);\r\n if (order === 0) {\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'password-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'password-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'password-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'password-number-rule');\r\n }\r\n else {\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'newPassword-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'newPassword-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'newPassword-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'newPassword-number-rule');\r\n }\r\n };\r\n ChangePasswordComponent.prototype.checkRegEx = function (s, pattern, id) {\r\n if (s.match !== null) {\r\n var isMatch = s.match(pattern);\r\n if (!isMatch) {\r\n this.showRuleNotMet(id);\r\n }\r\n else {\r\n this.showRuleMet(id);\r\n }\r\n }\r\n };\r\n ChangePasswordComponent.prototype.setValidationErrorByControlName = function (controlName, validatorType) {\r\n var control = this.changePasswordForm.get(controlName);\r\n var validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n };\r\n ChangePasswordComponent.prototype.checkLength = function (password, order) {\r\n var id = '';\r\n if (order === 0) {\r\n id = 'password-length-rule';\r\n }\r\n else {\r\n id = 'newPassword-length-rule';\r\n }\r\n if (password.length < 8) {\r\n this.showRuleNotMet(id);\r\n }\r\n else {\r\n this.showRuleMet(id);\r\n }\r\n };\r\n ChangePasswordComponent.prototype.showRuleMet = function (id) {\r\n var passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-not-met');\r\n passwordLength.add('rule-met');\r\n };\r\n ChangePasswordComponent.prototype.showRuleNotMet = function (id) {\r\n var passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-met');\r\n passwordLength.add('rule-not-met');\r\n };\r\n Object.defineProperty(ChangePasswordComponent.prototype, \"userName\", {\r\n get: function () { return this.changePasswordForm.get('change.userName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ChangePasswordComponent.prototype, \"currentPassword\", {\r\n get: function () { return this.changePasswordForm.get('change.currentPassword'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ChangePasswordComponent.prototype, \"newPassword\", {\r\n get: function () { return this.changePasswordForm.get('change.newPassword'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ChangePasswordComponent.prototype, \"confirmPassword\", {\r\n get: function () { return this.changePasswordForm.get('change.confirmPassword'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ChangePasswordComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-changepassword',\r\n template: __webpack_require__(\"./src/app/changePassword/changePassword.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/changePassword/changePassword.component.scss\")],\r\n providers: [index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof forms_1.FormBuilder !== \"undefined\" && forms_1.FormBuilder) === \"function\" && _a || Object, typeof (_b = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _b || Object, typeof (_c = typeof index_1.AuthenticationService !== \"undefined\" && index_1.AuthenticationService) === \"function\" && _c || Object])\r\n ], ChangePasswordComponent);\r\n return ChangePasswordComponent;\r\n var _a, _b, _c;\r\n}());\r\nexports.ChangePasswordComponent = ChangePasswordComponent;\r\n//# sourceMappingURL=changePassword.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/confirmation/confirmation.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n

Congratulations on Creating Your Crim Account

\\r\\n

Please visit here to sign in.

\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/confirmation/confirmation.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}*{-webkit-box-sizing:border-box;box-sizing:border-box}main{-ms-flex-line-pack:center;align-content:center;text-align:center}h1{margin-top:5rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/confirmation/confirmation.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar ConfirmationComponent = (function () {\r\n function ConfirmationComponent() {\r\n }\r\n ConfirmationComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-confirmation',\r\n template: __webpack_require__(\"./src/app/confirmation/confirmation.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/confirmation/confirmation.component.scss\")],\r\n })\r\n ], ConfirmationComponent);\r\n return ConfirmationComponent;\r\n}());\r\nexports.default = ConfirmationComponent;\r\n//# sourceMappingURL=confirmation.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/exit/exit.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n You have selected to exit the System.
\\r\\n System session ended...\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Click here to sign on again.\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/exit/exit.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar ExitComponent = (function () {\r\n function ExitComponent(authenticationService, router) {\r\n this.authenticationService = authenticationService;\r\n this.router = router;\r\n }\r\n ExitComponent.prototype.ngOnInit = function () {\r\n this.authenticationService.logout()\r\n .subscribe();\r\n };\r\n ExitComponent.prototype.logon = function () {\r\n this.router.navigate(['login']);\r\n };\r\n ExitComponent = __decorate([\r\n core_1.Component({\r\n template: __webpack_require__(\"./src/app/exit/exit.component.html\")\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof index_1.AuthenticationService !== \"undefined\" && index_1.AuthenticationService) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object])\r\n ], ExitComponent);\r\n return ExitComponent;\r\n var _a, _b;\r\n}());\r\nexports.ExitComponent = ExitComponent;\r\n//# sourceMappingURL=exit.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/footer/footer.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
\\r\\n © 2017 General Information Services, Inc. - All rights reserved.\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/footer/footer.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".footer{font-family:Arial Narrow\\\\,Arial;font-size:2}#spacersm{padding-top:2.5rem}hr{width:30rem;size:1;color:#a5a29b}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/footer/footer.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar FooterComponent = (function () {\r\n function FooterComponent() {\r\n }\r\n FooterComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-footer',\r\n template: __webpack_require__(\"./src/app/footer/footer.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/footer/footer.component.scss\")],\r\n })\r\n ], FooterComponent);\r\n return FooterComponent;\r\n}());\r\nexports.FooterComponent = FooterComponent;\r\n//# sourceMappingURL=footer.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/forgotPassword/forgotPassword.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n

CRIM System - Reset Password

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n
\\r\\n

Username to login into the CRIM system.

\\r\\n
\\r\\n
\\r\\n Username is required. \\r\\n Username must be a minimum of 4 characters.\\r\\n Username can only be a maximum of 30 characters.\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n
\\r\\n
\\r\\n

Email address used for CRIM system registration.

\\r\\n
\\r\\n
\\r\\n Email address is required. \\r\\n Email address is invalid. \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/forgotPassword/forgotPassword.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h1{text-align:center}.hdr{border:\\\"0\\\";background-color:#ccf;width:149.5rem;margin-left:4.5rem;-ms-flex-line-pack:center;align-content:center;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.lbl_header{width:88rem;text-align:center;font-size:24px}.lbl_headerTxt{font-weight:400;width:48rem;padding-left:30rem;text-align:left;font-size:14px}input{margin:.2rem;height:1.35rem;width:20rem}input,label{font-size:9pt;font-family:Verdana,Tahoma,Arial}label{font-weight:bolder;display:inline-block;width:11.5rem;text-align:left}Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}.button_sign{width:6rem;height:2rem}.button_pwd{width:11rem;height:2rem}.footer{font-family:Arial Narrow\\\\,Arial;font-size:2}#spacersm{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}#spacer{padding-top:1.5rem}hr{width:30rem;size:1;color:#a5a29b}mark{color:red;background-color:inherit}small{font-size:smaller;font-weight:400;margin-left:10.5rem;display:inline-block}#username-group{margin-top:3rem}.validation span{font-weight:400;color:red;text-align:left;display:block;font-size:8pt;padding-left:15.7rem;height:1.35rem;width:25rem}div.username-sidebar{margin-top:-1rem;margin-left:1.7rem}div.email-sidebar,div.username-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.email-sidebar{margin-top:-3.5rem;margin-left:19rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/forgotPassword/forgotPassword.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar index_2 = __webpack_require__(\"./src/models/index.ts\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar ForgotPasswordComponent = (function () {\r\n function ForgotPasswordComponent(formBuilder, msgSvc, authenticationService) {\r\n this.formBuilder = formBuilder;\r\n this.msgSvc = msgSvc;\r\n this.authenticationService = authenticationService;\r\n this.show = false;\r\n }\r\n ForgotPasswordComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey();\r\n this.retrievePasswordForm = this.formBuilder.group({\r\n retrieve: this.formBuilder.group({\r\n userName: ['', forms_1.Validators.compose([\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(30),\r\n forms_1.Validators.minLength(4)\r\n ])\r\n ],\r\n email: ['', forms_1.Validators.compose([\r\n forms_1.Validators.required,\r\n forms_1.Validators.pattern('[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}'),\r\n forms_1.Validators.maxLength(100)\r\n ])\r\n ],\r\n })\r\n });\r\n };\r\n ForgotPasswordComponent.prototype.requestPassword = function () {\r\n var _this = this;\r\n var form = this.retrievePasswordForm.value;\r\n var retrieve = Object.assign({}, form.retrieve, { confirmPassword: undefined });\r\n this.authenticationService.resetPassword(retrieve.userName, retrieve.email)\r\n .subscribe(function (codes) {\r\n var code = codes.find(function (rc) { return rc === index_2.Codes.ok; });\r\n if (code === index_2.Codes.ok) {\r\n if (_this.authenticationService.isStatusInvalid === 400) {\r\n var message = 'Email message not sent. Please try again.';\r\n _this.forgotPasswordRequest(message, 'error');\r\n }\r\n else if (_this.authenticationService.isStatusInvalid === 200) {\r\n var message = 'Email sent, to provided email address, with additional instructions';\r\n _this.forgotPasswordRequest(message, 'success');\r\n }\r\n else if (_this.authenticationService.isStatusInvalid === 401) {\r\n var message = 'Invalid user and/or password. Please try again. Access denied';\r\n _this.forgotPasswordRequest(message, 'error');\r\n }\r\n }\r\n else {\r\n for (var _i = 0, codes_1 = codes; _i < codes_1.length; _i++) {\r\n var errorCode = codes_1[_i];\r\n switch (errorCode) {\r\n case index_2.Codes.requireUsername:\r\n _this.setValidationErrorByControlName('retrieve.userName', 'required');\r\n break;\r\n case index_2.Codes.requiredEmail:\r\n _this.setValidationErrorByControlName('retrieve.email', 'required');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n };\r\n ForgotPasswordComponent.prototype.setValidationErrorByControlName = function (controlName, validatorType) {\r\n var control = this.retrievePasswordForm.get(controlName);\r\n var validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n };\r\n ForgotPasswordComponent.prototype.setBlurById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n };\r\n ForgotPasswordComponent.prototype.setFocusById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n };\r\n ForgotPasswordComponent.prototype.home = function () {\r\n this.show = false;\r\n this.retrievePasswordForm.reset();\r\n };\r\n ForgotPasswordComponent.prototype.forgotPassword = function (isVisible) {\r\n this.show = isVisible;\r\n };\r\n ForgotPasswordComponent.prototype.showForgotPassword = function () {\r\n if (this.show) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ForgotPasswordComponent.prototype.forgotPasswordRequest = function (message, type) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.userHelper(message, type)];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n if (type === 'error') {\r\n this.retrievePasswordForm.reset();\r\n }\r\n else {\r\n this.home();\r\n }\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n Object.defineProperty(ForgotPasswordComponent.prototype, \"userName\", {\r\n get: function () { return this.retrievePasswordForm.get('retrieve.userName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ForgotPasswordComponent.prototype, \"email\", {\r\n get: function () { return this.retrievePasswordForm.get('retrieve.email'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ForgotPasswordComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-forgotpassword',\r\n template: __webpack_require__(\"./src/app/forgotPassword/forgotPassword.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/forgotPassword/forgotPassword.component.scss\")],\r\n providers: [index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof forms_1.FormBuilder !== \"undefined\" && forms_1.FormBuilder) === \"function\" && _a || Object, typeof (_b = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _b || Object, typeof (_c = typeof index_1.AuthenticationService !== \"undefined\" && index_1.AuthenticationService) === \"function\" && _c || Object])\r\n ], ForgotPasswordComponent);\r\n return ForgotPasswordComponent;\r\n var _a, _b, _c;\r\n}());\r\nexports.ForgotPasswordComponent = ForgotPasswordComponent;\r\n//# sourceMappingURL=forgotPassword.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/helloWorld/helloWorld.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"

Message coming from service

\\r\\n

title: {{title}}

\\r\\n

description: {{description}}

\\r\\n

webApiHostName: {{webApiHostName}}

\\r\\n

dataApiHostName: {{dataApiHostName}}

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

{{error}}

\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/helloWorld/helloWorld.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h3{color:#0064ff}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/helloWorld/helloWorld.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar messageService_1 = __webpack_require__(\"./src/services/messageService.ts\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar HelloWorldComponent = (function () {\r\n function HelloWorldComponent(messageService) {\r\n this.messageService = messageService;\r\n }\r\n HelloWorldComponent.prototype.getMessage = function () {\r\n var _this = this;\r\n this.messageService.getMessage()\r\n .then(function (message) {\r\n _this.title = message.title;\r\n _this.description = message.description;\r\n _this.webApiHostName = message.webApiHostName;\r\n _this.dataApiHostName = message.dataApiHostName;\r\n })\r\n .catch(function (e) {\r\n _this.handleError(e);\r\n });\r\n };\r\n HelloWorldComponent.prototype.handleError = function (error) {\r\n this.error = \"Server Error: Status: \" + error.status + \" StatusText: \" + error.statusText + \" Url: \" + error.url;\r\n };\r\n HelloWorldComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-hello-world',\r\n template: __webpack_require__(\"./src/app/helloWorld/helloWorld.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/helloWorld/helloWorld.component.scss\")],\r\n providers: [messageService_1.default, environmentService_1.default]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof messageService_1.default !== \"undefined\" && messageService_1.default) === \"function\" && _a || Object])\r\n ], HelloWorldComponent);\r\n return HelloWorldComponent;\r\n var _a;\r\n}());\r\nexports.default = HelloWorldComponent;\r\n//# sourceMappingURL=helloWorld.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/invoiceReport/invoiceReport.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n INVOICE\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n Customer Information:\\r\\n General Information Services, Inc.\\r\\n Attn: Accounts Payable \\r\\n Post Office Box 353\\r\\n Chapin, South Carolina 29036\\r\\n
\\r\\n\\r\\n
\\r\\n Reference Information:\\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 \\r\\n \\r\\n\\r\\n
JurisdictionTotal RequestsJurisdiction Total
{{ jurisdictionTotal.jurisdiction }}{{ jurisdictionTotal.totalRequests | number:'.0' }}{{ jurisdictionTotal.jurisdictionTotal | currency:'USD':true:'1.2-2' }}
Total Request Count : {{ totalRequestCount | number:'.0' }}Total Invoice Amount = {{ totalInvoiceAmount | currency:'USD':true:'1.2-2' }}
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n Remit Payment To:\\r\\n {{ invoice?.vendor.name }}\\r\\n Attn: Accounts Receivable\\r\\n {{ invoice?.vendor.address }}\\r\\n {{ invoice?.vendor.city }}, {{ invoice?.vendor.state }}\\r\\n {{ invoice?.vendor.phoneNumber }}\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/invoiceReport/invoiceReport.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}main{font-family:Verdana,Arial,Tahoma;margin:1rem 4rem}legend{font-weight:700}header{-ms-flex-line-pack:center;align-content:center;text-align:center}header span,label{font-weight:700}table{width:100%;border-collapse:collapse}td,th{padding:.5rem 0 .5rem 1rem}td,th{border:.1rem solid #000;width:30%}tfoot td{border:initial;font-weight:700}#general-information{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}#customer-informaton{width:25rem}#reference-informaton{width:20rem}#reference-informaton span{padding-left:1rem;display:inline-block;font-weight:400}#report-information,#submit-invoice-to-informaton{margin-top:2rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/invoiceReport/invoiceReport.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar invoiceService_1 = __webpack_require__(\"./src/services/invoiceService.ts\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar InvoiceReportComponent = (function () {\r\n function InvoiceReportComponent(invoiceService, msgSvc, route) {\r\n var _this = this;\r\n this.invoiceService = invoiceService;\r\n this.msgSvc = msgSvc;\r\n this.route = route;\r\n this.route.params.subscribe(function (params) {\r\n _this.startDate = params['startDate'];\r\n _this.endDate = params['endDate'];\r\n _this.invoiceNumber = params['invoiceNumber'];\r\n });\r\n }\r\n InvoiceReportComponent.prototype.ngOnInit = function () {\r\n var _this = this;\r\n this.msgSvc.setControlKey();\r\n this.invoiceService.getInvoice(this.invoiceNumber, this.startDate, this.endDate)\r\n .subscribe(function (invoice) {\r\n _this.invoice = invoice;\r\n _this.jurisdictionTotals = invoice.jurisdictionTotals;\r\n _this.totalRequestCount = invoice.totalRequestCount;\r\n _this.totalInvoiceAmount = invoice.totalInvoiceAmount;\r\n });\r\n };\r\n Object.defineProperty(InvoiceReportComponent.prototype, \"currentDate\", {\r\n get: function () {\r\n return new Date();\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n InvoiceReportComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-invoice-report',\r\n template: __webpack_require__(\"./src/app/invoiceReport/invoiceReport.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/invoiceReport/invoiceReport.component.scss\")],\r\n providers: [invoiceService_1.default, index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof invoiceService_1.default !== \"undefined\" && invoiceService_1.default) === \"function\" && _a || Object, typeof (_b = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _b || Object, typeof (_c = typeof router_1.ActivatedRoute !== \"undefined\" && router_1.ActivatedRoute) === \"function\" && _c || Object])\r\n ], InvoiceReportComponent);\r\n return InvoiceReportComponent;\r\n var _a, _b, _c;\r\n}());\r\nexports.default = InvoiceReportComponent;\r\n//# sourceMappingURL=invoiceReport.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/login/login.component.html\":\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n
\\r\\n

Username to login into the CRIM system.

\\r\\n
\\r\\n
\\r\\n Username must be a minimum of 4 characters.\\r\\n Username can only be a maximum of 30 characters.\\r\\n Username is required. \\r\\n Account locked. Please contact GIS Vendor Relations.\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n Password is required. \\r\\n Password can only be a max of 60 characters.\\r\\n Password does not meet all validation rules.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
Forgot Password
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/login/login.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}#logo{width:27rem;height:10rem}#logo,.hdr{-ms-flex-line-pack:center;align-content:center}.hdr{border:\\\"0\\\";background-color:#ccf;width:100%;margin-left:4.5rem;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.retrieveTxt{font-family:Arial Narrow\\\\,Arial;font-size:2;text-align:center;color:#200bdd}Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}.button_sign{width:6rem;height:2rem}.button_pwd{width:13rem;height:2rem}.button_clear{width:5rem;margin:1rem;height:2rem}.footer{font-family:Arial Narrow\\\\,Arial;font-size:2}.lbl_headerTxt{font-weight:400;width:48rem;padding-left:34rem;text-align:left;font-size:14px}label{font-weight:bolder;display:inline-block;width:7rem;text-align:left}input,label{font-size:9pt;font-family:Verdana,Tahoma,Arial}input{margin:.2rem;height:1.35rem;width:20rem}a:link{text-decoration:underline}a:hover,a:link,a:visited{color:#00f}#spacersm{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}hr{width:30rem;size:1;color:#a5a29b}.requiredTag{margin-left:50.5rem}header{-ms-flex-line-pack:center;align-content:center;text-align:center;margin-bottom:3rem}mark{color:red;background-color:inherit}small{font-size:smaller;font-weight:400;margin-left:7rem;display:inline-block}#username-group{margin-top:2rem}#currentPassword-group,#username-group{position:relative}.validation span{font-weight:400;color:red;text-align:left;display:block;font-size:8pt;padding-left:11.5rem;height:1.35rem;width:25rem}div.username-sidebar{margin-top:-.4rem;margin-left:1.7rem}div.password-sidebar,div.username-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.password-sidebar{margin-top:-6.5rem;margin-left:16rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/login/login.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\"); // , Compiler\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\"); //\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar passwordRulesValidator_1 = __webpack_require__(\"./src/validators/passwordRulesValidator.ts\");\r\nvar index_2 = __webpack_require__(\"./src/models/index.ts\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar forgotPassword_component_1 = __webpack_require__(\"./src/app/forgotPassword/forgotPassword.component.ts\");\r\nvar changePassword_component_1 = __webpack_require__(\"./src/app/changePassword/changePassword.component.ts\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar browser;\r\n(function (browser) {\r\n browser[\"chrome\"] = \"Chrome\";\r\n browser[\"edge\"] = \"Edge\";\r\n browser[\"firefox\"] = \"Firefox\";\r\n browser[\"googlebot\"] = \"Googlebot\";\r\n browser[\"internetExplorer\"] = \"Internet Explorer\";\r\n browser[\"opera\"] = \"Opera\";\r\n browser[\"safari\"] = \"Safari\";\r\n browser[\"ucBrowsers\"] = \"UC Browsers\";\r\n browser[\"android\"] = \"Android\";\r\n browser[\"blackberry\"] = \"Blackberry\";\r\n})(browser = exports.browser || (exports.browser = {}));\r\nvar environment;\r\n(function (environment) {\r\n environment[\"any\"] = \"any\";\r\n environment[\"galaxy\"] = \"Galaxy Nexus\";\r\n environment[\"nexus\"] = \"Nexus S\";\r\n environment[\"bb10\"] = \"BB10\";\r\n environment[\"playbook\"] = \"PlayBook 2.1\";\r\n environment[\"blackberry99\"] = \"9900\";\r\n environment[\"androidMobile\"] = \"Android Mobile\";\r\n environment[\"androidTablet\"] = \"Android Tablet\";\r\n environment[\"iPhone\"] = \"iPhone\";\r\n environment[\"iPad\"] = \"iPad\";\r\n environment[\"mac\"] = \"Mac\";\r\n environment[\"windows\"] = \"Windows\";\r\n environment[\"mobile\"] = \"Mobile\";\r\n environment[\"xbox\"] = \"Xbox\";\r\n environment[\"explorer11\"] = \"explorer11\";\r\n environment[\"explorer10\"] = \"explorer10\";\r\n environment[\"explorer9\"] = \"explorer9\";\r\n environment[\"explorer8\"] = \"explorer8\";\r\n environment[\"explorer7\"] = \"explorer7\";\r\n environment[\"prestoMac\"] = \"(Presto) Mac\";\r\n environment[\"prestoWindows\"] = \"(Presto) Windows\";\r\n environment[\"ios\"] = \"iOS\";\r\n environment[\"iPadI0S9\"] = \"iPad iOS9\";\r\n environment[\"iPhoneI0S9\"] = \"iPhone iOS9\";\r\n environment[\"smartphone\"] = \"Smartphone\";\r\n environment[\"windowsPhone\"] = \"Windows Phone\";\r\n environment[\"os\"] = \"OS\"; //\r\n})(environment = exports.environment || (exports.environment = {}));\r\nvar LoginComponent = (function () {\r\n function LoginComponent(formBuilder, router, authenticationService, msgSvc) {\r\n this.formBuilder = formBuilder;\r\n this.router = router;\r\n this.authenticationService = authenticationService;\r\n this.msgSvc = msgSvc;\r\n this.supported = '';\r\n this.chngPass = false;\r\n this.logon = true;\r\n }\r\n LoginComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.getControlKey(); // ('CacheControlKey');\r\n this.detectBrowser();\r\n this.logon = true;\r\n this.loginForm = this.formBuilder.group({\r\n log: this.formBuilder.group({\r\n userName: ['', forms_1.Validators.compose([\r\n forms_1.Validators.minLength(4),\r\n forms_1.Validators.maxLength(30),\r\n forms_1.Validators.required\r\n ])\r\n ],\r\n currentPassword: ['', forms_1.Validators.compose([\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(60),\r\n passwordRulesValidator_1.default()\r\n ])\r\n ],\r\n })\r\n });\r\n };\r\n LoginComponent.prototype.login = function () {\r\n var _this = this;\r\n if (this.supported === 'true') {\r\n var form = this.loginForm.value;\r\n var log = Object.assign({}, form.log, {});\r\n this.authenticationService.login(log.userName, log.currentPassword)\r\n .subscribe(function (codes) {\r\n var code = codes.find(function (rc) { return rc === index_2.Codes.ok; });\r\n if (code === index_2.Codes.ok) {\r\n if (_this.authenticationService.isExpiring === 0) {\r\n _this.chngPass = true;\r\n popupHelper_1.default.userHelper('Your password has expired', 'error');\r\n }\r\n else if (_this.authenticationService.isLoggedIn) {\r\n if (_this.authenticationService.isExpiring <= 7) {\r\n _this.confirmExpiredPassword(_this.authenticationService.isExpiring);\r\n }\r\n else if (_this.authenticationService.isReset) {\r\n _this.chngPass = true;\r\n _this.setDirection();\r\n }\r\n else {\r\n _this.chngPass = false;\r\n _this.setDirection();\r\n }\r\n }\r\n else if (!_this.authenticationService.isLoggedIn && (_this.authenticationService.isStatusInvalid === 401 ||\r\n _this.authenticationService.isStatusInvalid === 400)) {\r\n _this.invalidUser();\r\n }\r\n }\r\n else {\r\n for (var _i = 0, codes_1 = codes; _i < codes_1.length; _i++) {\r\n var errorCode = codes_1[_i];\r\n switch (errorCode) {\r\n case index_2.Codes.requireUsername:\r\n _this.setValidationErrorByControlName('log.userName', 'required.');\r\n break;\r\n case index_2.Codes.requirePassword:\r\n _this.setValidationErrorByControlName('log.currentPassword', 'required');\r\n break;\r\n case index_2.Codes.accountLocked:\r\n _this.setValidationErrorByControlName('log.userName', 'locked');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n else if (this.supported === 'false') {\r\n this.notSupportedBrowser();\r\n }\r\n else {\r\n this.networkProblems();\r\n }\r\n };\r\n LoginComponent.prototype.setBlurById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n };\r\n LoginComponent.prototype.setFocusById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n };\r\n LoginComponent.prototype.passwordKeyup = function (event) {\r\n var password = event.target.value;\r\n this.checkLength(password);\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'password-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'password-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'password-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'password-number-rule');\r\n };\r\n LoginComponent.prototype.checkRegEx = function (s, pattern, id) {\r\n var isMatch = s.match(pattern);\r\n if (!isMatch) {\r\n this.showRuleNotMet(id);\r\n }\r\n else {\r\n this.showRuleMet(id);\r\n }\r\n };\r\n LoginComponent.prototype.setValidationErrorByControlName = function (controlName, validatorType) {\r\n var control = this.loginForm.get(controlName);\r\n var validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n };\r\n LoginComponent.prototype.checkLength = function (password) {\r\n var id = 'password-length-rule';\r\n if (password.length < 8) {\r\n this.showRuleNotMet(id);\r\n }\r\n else {\r\n this.showRuleMet(id);\r\n }\r\n };\r\n LoginComponent.prototype.showRuleMet = function (id) {\r\n var passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-not-met');\r\n passwordLength.add('rule-met');\r\n };\r\n LoginComponent.prototype.showRuleNotMet = function (id) {\r\n var passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-met');\r\n passwordLength.add('rule-not-met');\r\n };\r\n LoginComponent.prototype.clear = function () {\r\n this.loginForm.reset();\r\n // document.getElementById('userName').focus();\r\n };\r\n // Child controls\r\n LoginComponent.prototype.forgotPassword = function () {\r\n if (this.supported === 'true') {\r\n this.clear();\r\n this.fPassword.forgotPassword(true);\r\n this.logon = false;\r\n }\r\n else if (this.supported === 'false') {\r\n this.notSupportedBrowser();\r\n }\r\n else {\r\n this.networkProblems();\r\n }\r\n };\r\n LoginComponent.prototype.changePassword = function () {\r\n if (this.supported === 'true') {\r\n this.clear();\r\n this.cPassword.passwordChange(true);\r\n this.logon = false;\r\n if (!this.cPassword.showChange) {\r\n this.logon = true;\r\n }\r\n }\r\n else if (this.supported === 'false') {\r\n this.notSupportedBrowser();\r\n }\r\n else {\r\n this.networkProblems();\r\n }\r\n };\r\n LoginComponent.prototype.showLogin = function () {\r\n if (this.logon) {\r\n return true;\r\n }\r\n else {\r\n if (!this.cPassword.showChange && !this.fPassword.show) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n };\r\n LoginComponent.prototype.setDirection = function () {\r\n if (this.authenticationService.isLoggedIn && !this.chngPass) {\r\n this.router.navigate(['navigation']);\r\n }\r\n else if (this.authenticationService.isLoggedIn && this.chngPass) {\r\n this.changePassword();\r\n }\r\n };\r\n LoginComponent.prototype.confirmExpiredPassword = function (daysTillExpiration) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n message = \"Your password is scheduled to expire in \" + daysTillExpiration + \" days. Click OK to change password now.\";\r\n return [4 /*yield*/, popupHelper_1.default.passwordExpirationHelper(message)];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.chngPass = true;\r\n this.setDirection();\r\n }\r\n else {\r\n this.chngPass = false;\r\n this.setDirection();\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n LoginComponent.prototype.invalidUser = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n message = 'Invalid user and/or password. Please try again. Access denied';\r\n return [4 /*yield*/, popupHelper_1.default.userHelper(message, 'error')];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n this.loginForm.reset();\r\n document.getElementById('userName').focus();\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n LoginComponent.prototype.notSupportedBrowser = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n message = 'Unsupported browser detected. Please contact GIS Vendor Relations.';\r\n return [4 /*yield*/, popupHelper_1.default.loginIssue(message)];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n return [2 /*return*/];\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n LoginComponent.prototype.networkProblems = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n message = 'GIS Server Not Available';\r\n return [4 /*yield*/, popupHelper_1.default.loginIssue(message)];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n return [2 /*return*/];\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n LoginComponent.prototype.detectBrowser = function () {\r\n var _this = this;\r\n var env = '';\r\n var bwsr = '';\r\n // Chrome\r\n var _isChromeAM = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Mobile Safari') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 5 Build') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') >= 6 && navigator.userAgent.indexOf('Mac') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n var _isChromeAT = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 7 Build') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') >= 4 && navigator.userAgent.indexOf('Mac') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n var _isChromeIPhone = (navigator.userAgent.indexOf('CriOS') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Mobile') > -1 && navigator.userAgent.indexOf('iPhone') > -1 &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Android') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n var _isChromeIPad = (navigator.userAgent.indexOf('CriOS') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Mobile') > -1 && navigator.userAgent.indexOf('iPad') > -1 &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Android') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n var _isChromeOS = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('CrOS') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') === -1 && navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n var _isChromeMac = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Android') === -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1 && navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n var _isChromeWindows = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') === -1 && navigator.userAgent.indexOf('Mac') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n // IE\r\n var _isExplorer11 = ((navigator.userAgent.indexOf('Trident/7.0') > -1 && navigator.userAgent.indexOf('Windows NT 10.0') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('WOW64') > -1) ? true : false;\r\n var _isExplorer10 = ((navigator.userAgent.indexOf('MSIE 10.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.1') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Trident/6.0') > -1 &&\r\n navigator.userAgent.indexOf('WOW64') > -1) ? true : false;\r\n var _isExplorer9 = ((navigator.userAgent.indexOf('MSIE 9.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.1') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Trident/5.0') > -1) ? true : false;\r\n var _isExplorer8 = ((navigator.userAgent.indexOf('MSIE 8.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.0') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Trident/4.0') > -1) ? true : false;\r\n var _isExplorer7 = ((navigator.userAgent.indexOf('MSIE 7.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.0') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1) ? true : false;\r\n // Firefox\r\n var _isFirefoxAM = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Mobile') > -1 && navigator.userAgent.indexOf('Android 4.4') > -1) ? true : false;\r\n var _isFirefoxAT = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Tablet') > -1 && navigator.userAgent.indexOf('Android 4.4') > -1) ? true : false;\r\n var _isFirefoxIPhone = (navigator.userAgent.indexOf('iPhone') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('FxiOS') > -1 && navigator.userAgent.indexOf('Mobile') > -1 &&\r\n navigator.userAgent.indexOf('iPad') === -1) ? true : false;\r\n var _isFirefoxIPad = (navigator.userAgent.indexOf('iPad') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('FxiOS') > -1 && navigator.userAgent.indexOf('Mobile') > -1) ? true : false;\r\n var _isFirefoxMac = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1) ? true : false;\r\n var _isFirefoxWindows = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT 10.0') > -1) ? true : false;\r\n // Safari\r\n var _isSafariIPad = (navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1 &&\r\n navigator.userAgent.indexOf('iPad') > -1 && navigator.userAgent.indexOf('iPhone') === -1 &&\r\n navigator.userAgent.indexOf('CriOS') === -1 && navigator.userAgent.indexOf('FxiOS') === -1) ? true : false;\r\n var _isSafariIPhone = (navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1 &&\r\n navigator.userAgent.indexOf('iPhone') > -1 && navigator.userAgent.indexOf('iPad') === -1 &&\r\n navigator.userAgent.indexOf('CriOS') === -1 && navigator.userAgent.indexOf('FxiOS') === -1) ? true : false;\r\n var _isSafariMac = (navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1) ? true : false;\r\n // Opera\r\n var _isOperaMac = (navigator.userAgent.toLowerCase().indexOf('op') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Intel Mac OS X 10_11_1') > -1) ? true : false;\r\n var _isOperaWindows = (navigator.userAgent.toLowerCase().indexOf('op') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT 10.0') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('WOW64') > -1) ? true : false;\r\n var _isOperaPMac = (navigator.userAgent.indexOf('Macintosh') > -1 && navigator.userAgent.indexOf('Presto') > -1 &&\r\n navigator.userAgent.indexOf('Intel Mac OS X 10.9.1') > -1) ? true : false;\r\n var _isOperaPWindows = (navigator.userAgent.indexOf('Presto') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT 6.1') > -1) ? true : false;\r\n var _isOperaAM = (navigator.userAgent.indexOf('Presto') > -1 && navigator.userAgent.indexOf('Android 4.1') > -1 &&\r\n navigator.userAgent.indexOf('Opera Mobi') > -1) ? true : false;\r\n var _isOperaIos = (navigator.userAgent.indexOf('iPhone') > -1 && navigator.userAgent.indexOf('Presto') > -1 &&\r\n navigator.userAgent.indexOf('Opera Mini') > -1) ? true : false;\r\n // Edge\r\n var _isEdgeWindow = (navigator.userAgent.indexOf('Edge') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Safari') > -1 && navigator.userAgent.indexOf('Windows NT') >= 10 &&\r\n navigator.userAgent.indexOf('Xbox') === -1) ? true : false;\r\n var _isEdgeMobile = (navigator.userAgent.indexOf('Edge') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Mobile Safari') > -1 && navigator.userAgent.indexOf('Windows Phone') >= 10) ? true : false;\r\n var _isEdgeXBox = (navigator.userAgent.indexOf('Edge') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Safari') > -1 && navigator.userAgent.indexOf('Windows NT') >= 10 &&\r\n navigator.userAgent.indexOf('Xbox') > -1) ? true : false;\r\n // Google\r\n var _isGooglebot = (navigator.userAgent.indexOf('Googlebot/2.1') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 5X Build') === -1 && navigator.userAgent.indexOf('Android 6.0.1') === -1) ? true : false;\r\n var _isGooglebotS = (navigator.userAgent.indexOf('Googlebot/2.1') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 5X Build') > -1 && navigator.userAgent.indexOf('Android 6.0.1') > -1) ? true : false;\r\n // UC\r\n var _isUCBAM = (navigator.userAgent.indexOf('UCBrowser') > -1 && navigator.userAgent.indexOf('Android 4.4.4') > -1 &&\r\n navigator.userAgent.indexOf('Mobile Safari') > -1) ? true : false;\r\n var _isUCBIOS = (navigator.userAgent.indexOf('UCBrowser') > -1 && navigator.userAgent.indexOf('iPad') > -1) ? true : false;\r\n var _isUCBWindowPhone = (navigator.userAgent.indexOf('UCBrowser') > -1 && navigator.userAgent.indexOf('Profile/MIDP') > -1 &&\r\n navigator.userAgent.indexOf('Mozilla') > -1) ? true : false;\r\n // Blackberry\r\n var _isBlackberryBB10 = (navigator.userAgent.indexOf('Mobile Safari') !== -1 &&\r\n navigator.userAgent.indexOf('BB10') !== -1) ? true : false;\r\n var _isBlackberryPlaybook = (navigator.userAgent.indexOf('Safari') !== -1 &&\r\n navigator.userAgent.indexOf('PlayBook') !== -1) ? true : false;\r\n var _isBlackberry9900 = (navigator.userAgent.indexOf('Mobile Safari') !== -1 &&\r\n navigator.userAgent.indexOf('BlackBerry') !== -1) ? true : false;\r\n // Android\r\n var _isAndroidGalaxy = (navigator.userAgent.indexOf('Android') !== -1 && navigator.userAgent.indexOf('Mobile Safari') !== -1\r\n && navigator.userAgent.indexOf('Galaxy Nexus') !== -1) ? true : false;\r\n var _isAndroidNexus = (navigator.userAgent.indexOf('Android') !== -1 && navigator.userAgent.indexOf('Mobile Safari') !== -1\r\n && navigator.userAgent.indexOf('Nexus S') !== -1) ? true : false;\r\n if (_isAndroidGalaxy) {\r\n env = environment.galaxy;\r\n bwsr = browser.android;\r\n }\r\n else if (_isAndroidNexus) {\r\n env = environment.nexus;\r\n bwsr = browser.android;\r\n }\r\n else if (_isBlackberryBB10) {\r\n env = environment.bb10;\r\n bwsr = browser.blackberry;\r\n }\r\n else if (_isBlackberryPlaybook) {\r\n env = environment.playbook;\r\n bwsr = browser.blackberry;\r\n }\r\n else if (_isBlackberry9900) {\r\n env = environment.blackberry99;\r\n bwsr = browser.blackberry;\r\n }\r\n else if (_isChromeAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.chrome;\r\n }\r\n else if (_isChromeAT) {\r\n env = environment.androidTablet;\r\n bwsr = browser.chrome;\r\n }\r\n else if (_isChromeIPhone) {\r\n env = environment.iPhone;\r\n bwsr = browser.chrome;\r\n }\r\n else if (_isChromeIPad) {\r\n env = environment.iPad;\r\n bwsr = browser.chrome;\r\n }\r\n else if (_isChromeOS) {\r\n env = environment.os;\r\n bwsr = browser.chrome;\r\n }\r\n else if (_isChromeMac) {\r\n env = environment.mac;\r\n bwsr = browser.chrome;\r\n }\r\n else if (_isChromeWindows) {\r\n env = environment.windows;\r\n bwsr = browser.chrome;\r\n }\r\n else if (_isEdgeWindow) {\r\n env = environment.windows;\r\n bwsr = browser.edge;\r\n }\r\n else if (_isEdgeMobile) {\r\n env = environment.mobile;\r\n bwsr = browser.edge;\r\n }\r\n else if (_isEdgeXBox) {\r\n env = environment.xbox;\r\n bwsr = browser.edge;\r\n }\r\n else if (_isExplorer11) {\r\n env = environment.explorer11;\r\n bwsr = browser.internetExplorer;\r\n }\r\n else if (_isExplorer10) {\r\n env = environment.explorer10;\r\n bwsr = browser.internetExplorer;\r\n }\r\n else if (_isExplorer9) {\r\n env = environment.explorer9;\r\n bwsr = browser.internetExplorer;\r\n }\r\n else if (_isExplorer8) {\r\n env = environment.explorer8;\r\n bwsr = browser.internetExplorer;\r\n }\r\n else if (_isExplorer7) {\r\n env = environment.explorer7;\r\n bwsr = browser.internetExplorer;\r\n }\r\n else if (_isGooglebot) {\r\n env = environment.any;\r\n bwsr = browser.googlebot;\r\n }\r\n else if (_isGooglebotS) {\r\n env = environment.smartphone;\r\n bwsr = browser.googlebot;\r\n }\r\n else if (_isFirefoxAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.firefox;\r\n }\r\n else if (_isFirefoxAT) {\r\n env = environment.androidTablet;\r\n bwsr = browser.firefox;\r\n }\r\n else if (_isFirefoxIPhone) {\r\n env = environment.iPhone;\r\n bwsr = browser.firefox;\r\n }\r\n else if (_isFirefoxIPad) {\r\n env = environment.iPad;\r\n bwsr = browser.firefox;\r\n }\r\n else if (_isFirefoxMac) {\r\n env = environment.mac;\r\n bwsr = browser.firefox;\r\n }\r\n else if (_isFirefoxWindows) {\r\n env = environment.windows;\r\n bwsr = browser.firefox;\r\n }\r\n else if (_isSafariIPad) {\r\n env = environment.iPadI0S9;\r\n bwsr = browser.safari;\r\n }\r\n else if (_isSafariIPhone) {\r\n env = environment.iPhoneI0S9;\r\n bwsr = browser.safari;\r\n }\r\n else if (_isSafariMac) {\r\n env = environment.mac;\r\n bwsr = browser.safari;\r\n }\r\n else if (_isUCBAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.ucBrowsers;\r\n }\r\n else if (_isUCBIOS) {\r\n env = environment.ios;\r\n bwsr = browser.ucBrowsers;\r\n }\r\n else if (_isUCBWindowPhone) {\r\n env = environment.windowsPhone;\r\n bwsr = browser.ucBrowsers;\r\n }\r\n else if (_isOperaMac) {\r\n env = environment.mac;\r\n bwsr = browser.opera;\r\n }\r\n else if (_isOperaWindows) {\r\n env = environment.windows;\r\n bwsr = browser.opera;\r\n }\r\n else if (_isOperaPMac) {\r\n env = environment.prestoMac;\r\n bwsr = browser.opera;\r\n }\r\n else if (_isOperaPWindows) {\r\n env = environment.prestoWindows;\r\n bwsr = browser.opera;\r\n }\r\n else if (_isOperaAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.opera;\r\n }\r\n else if (_isOperaIos) {\r\n env = environment.ios;\r\n bwsr = browser.opera;\r\n }\r\n try {\r\n if ((env !== null && env !== undefined && env !== '') && (bwsr !== null && bwsr !== undefined && bwsr !== '')) {\r\n this.authenticationService.checkAuthorization(env, bwsr)\r\n .subscribe(function (data) {\r\n _this.supported = data;\r\n });\r\n }\r\n else {\r\n this.supported = 'false';\r\n }\r\n }\r\n catch (e) {\r\n this.supported = '';\r\n }\r\n };\r\n Object.defineProperty(LoginComponent.prototype, \"userName\", {\r\n get: function () { return this.loginForm.get('log.userName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(LoginComponent.prototype, \"currentPassword\", {\r\n get: function () { return this.loginForm.get('log.currentPassword'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n __decorate([\r\n core_1.ViewChild(changePassword_component_1.ChangePasswordComponent),\r\n __metadata(\"design:type\", typeof (_a = typeof changePassword_component_1.ChangePasswordComponent !== \"undefined\" && changePassword_component_1.ChangePasswordComponent) === \"function\" && _a || Object)\r\n ], LoginComponent.prototype, \"cPassword\", void 0);\r\n __decorate([\r\n core_1.ViewChild(forgotPassword_component_1.ForgotPasswordComponent),\r\n __metadata(\"design:type\", typeof (_b = typeof forgotPassword_component_1.ForgotPasswordComponent !== \"undefined\" && forgotPassword_component_1.ForgotPasswordComponent) === \"function\" && _b || Object)\r\n ], LoginComponent.prototype, \"fPassword\", void 0);\r\n LoginComponent = __decorate([\r\n core_1.Component({\r\n template: __webpack_require__(\"./src/app/login/login.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/login/login.component.scss\")],\r\n providers: [index_1.AuthenticationService, index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_c = typeof forms_1.FormBuilder !== \"undefined\" && forms_1.FormBuilder) === \"function\" && _c || Object, typeof (_d = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _d || Object, typeof (_e = typeof index_1.AuthenticationService !== \"undefined\" && index_1.AuthenticationService) === \"function\" && _e || Object, typeof (_f = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _f || Object])\r\n ], LoginComponent);\r\n return LoginComponent;\r\n var _a, _b, _c, _d, _e, _f;\r\n}());\r\nexports.LoginComponent = LoginComponent;\r\n//# sourceMappingURL=login.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/loginHeader/loginHeader.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
Help
\\r\\n
\\r\\n
\\r\\n\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/loginHeader/loginHeader.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}.hdr{border:\\\"0\\\";background-color:#ccf;width:95%;margin-left:3rem;margin-right:3rem;-ms-flex-line-pack:center;align-content:center;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.row{float:left}#spacersm{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/loginHeader/loginHeader.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar LoginHeaderComponent = (function () {\r\n function LoginHeaderComponent() {\r\n }\r\n LoginHeaderComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-login-header',\r\n template: __webpack_require__(\"./src/app/loginHeader/loginHeader.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/loginHeader/loginHeader.component.scss\")],\r\n })\r\n ], LoginHeaderComponent);\r\n return LoginHeaderComponent;\r\n}());\r\nexports.LoginHeaderComponent = LoginHeaderComponent;\r\n//# sourceMappingURL=loginHeader.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/navigation/navigation.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
Navigation Page
\\r\\n

Welcome {{ navigation?.loggedInUser.user.firstName }} {{ navigation?.loggedInUser.user.middleName }} {{ navigation?.loggedInUser.user.lastName }}, Your last successful login was on {{navigation?.loggedInUser?.lastLoginDate | date: 'MM/dd/yyyy'}}

\\r\\n

\\r\\n Your security level authorizes you to enter the following application(s). Please select the application link to continue.\\r\\n

\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/navigation/navigation.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem 0;color:#000;font-weight:bolder;margin:0 5rem}h4{font-weight:700}section{-ms-flex-line-pack:center;align-content:center;text-align:center}section header{margin-top:1.3em}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/navigation/navigation.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\"); // Compiler\r\nvar navigationService_1 = __webpack_require__(\"./src/services/navigationService.ts\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar NavigationComponent = (function () {\r\n function NavigationComponent(navigationService, msgSvc) {\r\n this.navigationService = navigationService;\r\n this.msgSvc = msgSvc;\r\n }\r\n NavigationComponent.prototype.ngOnInit = function () {\r\n var _this = this;\r\n this.msgSvc.setControlKey(); // ('CacheControlKey');\r\n this.navigationService.getJurisdictions()\r\n .subscribe(function (navigation) {\r\n _this.navigation = navigation;\r\n });\r\n };\r\n NavigationComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-navigation',\r\n template: __webpack_require__(\"./src/app/navigation/navigation.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/navigation/navigation.component.scss\")],\r\n providers: [navigationService_1.default, index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof navigationService_1.default !== \"undefined\" && navigationService_1.default) === \"function\" && _a || Object, typeof (_b = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _b || Object])\r\n ], NavigationComponent);\r\n return NavigationComponent;\r\n var _a, _b;\r\n}());\r\nexports.default = NavigationComponent;\r\n//# sourceMappingURL=navigation.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/navigationInternal/navigationInternal.component.html?v=001\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\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
\\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\";\n\n/***/ }),\n\n/***/ \"./src/app/navigationInternal/navigationInternal.component.scss?v=001\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem 0;color:#000;font-weight:bolder;margin:0 5rem}a{display:block;margin-top:1.5rem}a:link,a:visited{color:#0066cb}em{display:block;font-style:normal}p{padding-top:3rem;font-family:Verdana,Tahoma,Arial}label{font-weight:bolder;display:inline-block}select{width:35rem;height:1.8rem;font-size:1.2rem;padding-top:.1rem}div:nth-child(2){font-family:Verdana,Arial,Tahoma}div:nth-child(2) label{margin-top:1rem;display:inline-block;width:30rem;text-align:left;vertical-align:bottom}div:nth-child(2) input{width:3.3rem;height:1.32rem}#exception{text-align:left;width:25rem}#search{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:6.2rem;margin-top:0}div section div{padding-top:.5rem;padding-left:6.5rem}div section div label{font-size:11.5px;text-align:left;width:16rem}div section div input{width:7.3rem;height:1.32rem}div section div button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:19.2rem;padding-top:.25rem;padding-bottom:.25rem;margin-top:2rem;display:block;-webkit-transform:translate(-3.1rem);transform:translate(-3.1rem)}div section a{font-weight:bolder}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/navigationInternal/navigationInternal.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\"); // , Input\r\nvar NavigationInternalComponent = (function () {\r\n function NavigationInternalComponent() {\r\n }\r\n // @Input() internal: boolean;\r\n NavigationInternalComponent.prototype.ngOnInit = function () {\r\n };\r\n NavigationInternalComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-navigation-internal',\r\n template: __webpack_require__(\"./src/app/navigationInternal/navigationInternal.component.html?v=001\"),\r\n styles: [__webpack_require__(\"./src/app/navigationInternal/navigationInternal.component.scss?v=001\")],\r\n })\r\n ], NavigationInternalComponent);\r\n return NavigationInternalComponent;\r\n}());\r\nexports.NavigationInternalComponent = NavigationInternalComponent;\r\n//# sourceMappingURL=navigationInternal.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/navigationWorkOrders/navigationWorkOrders.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n \\r\\n
\\r\\n Criminal Record Information Management System\\r\\n\\r\\n

\\r\\n ****IMPORTANT INFORMATION****\\r\\n When we receive information on an admitted criminal record, we will pass that information on to you in the \\\"Special Instructions\\\"\\r\\n line located on your printed work orders. Please be advised that this information CAN NOT be seen on the screen when\\r\\n you are viewing your \\\"Task List\\\" page. You must click on \\\"Generate Work Orders\\\" and allow Adobe to open up with the work\\r\\n orders to view this information. You are not required to print the work order, but you can find the admitted criminal\\r\\n record information here only. It is critical that you are aware of this information. Our clients expect complete information\\r\\n on a record that is known to exist. If you have any questions, please contact us by clicking on \\\"Help\\\", then \\\"Contact\\r\\n Client Services\\\", on the top blue line.\\r\\n

\\r\\n\\r\\n
\\r\\n\\r\\n
Select Method to Retrieve Work Orders
\\r\\n\\r\\n Retrieve Past Due Work Orders\\r\\n Reports Page\\r\\n Retrieve New Work Orders\\r\\n Retrieve Work Orders By Date\\r\\n Retrieve Work Orders By Jurisdiction\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n Retrieve Work Orders By Case Number\\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\";\n\n/***/ }),\n\n/***/ \"./src/app/navigationWorkOrders/navigationWorkOrders.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem 0;color:#000;font-weight:bolder;margin:0 5rem}a{display:block;margin-top:1.5rem}a:link,a:visited{color:#0066cb}em{display:block;font-style:normal}p{padding-top:3rem;font-family:Verdana,Tahoma,Arial}label{font-weight:bolder;display:inline-block}select{width:35rem;height:1.8rem;font-size:1.2rem;padding-top:.1rem}div:nth-child(2){font-family:Verdana,Arial,Tahoma}div:nth-child(2) label{margin-top:1rem;display:inline-block;width:30rem;text-align:left;vertical-align:bottom}div:nth-child(2) input{width:3.3rem;height:1.32rem}#exception{text-align:left;width:25rem}#search{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:6.2rem;margin-top:0}div section div{padding-top:.5rem;padding-left:6.5rem}div section div label{font-size:11.5px;text-align:left;width:16rem}div section div input{width:7.3rem;height:1.32rem}div section div button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:19.2rem;padding-top:.25rem;padding-bottom:.25rem;margin-top:2rem;display:block;-webkit-transform:translate(-3.1rem);transform:translate(-3.1rem)}div section a{font-weight:bolder}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/navigationWorkOrders/navigationWorkOrders.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar navigation_1 = __webpack_require__(\"./src/models/navigation.ts\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar NavigationWorkOrdersComponent = (function () {\r\n function NavigationWorkOrdersComponent(router) {\r\n this.router = router;\r\n this.model = {};\r\n this.showWorkOrdersByJurisdiction = false;\r\n this.showRetrieveWorkOrdersSection = false;\r\n this.showInternalSection = false;\r\n this.isExternal = true;\r\n }\r\n NavigationWorkOrdersComponent.prototype.displayWorkOrdersByJurisdictionSection = function () {\r\n this.showWorkOrdersByJurisdiction = true;\r\n };\r\n NavigationWorkOrdersComponent.prototype.displayRetrieveWorkOrdersSection = function () {\r\n this.showRetrieveWorkOrdersSection = true;\r\n };\r\n Object.defineProperty(NavigationWorkOrdersComponent.prototype, \"navigation\", {\r\n set: function (navigation) {\r\n if (navigation) {\r\n this.jurisdictions = navigation.jurisdictions;\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n NavigationWorkOrdersComponent.prototype.viewResearcherTaskListForJurisdiction = function (jurisdictionId) {\r\n this.router.navigate(['researcherTaskList', 'detailWork', jurisdictionId]);\r\n };\r\n NavigationWorkOrdersComponent.prototype.changeCrimAccess = function (args) {\r\n var result = false;\r\n if (args.target.value !== 0) {\r\n this.model.selection = args.target.value;\r\n this.crimException = document.getElementById('crimException');\r\n this.deferredException = document.getElementById('deferredException');\r\n this.recordEntry = document.getElementById('recordEntry');\r\n this.model.crimParm = (this.crimException.value === '0' && this.deferredException.value === '0') ? 'N' : 'Y';\r\n this.model.crimParm = (this.recordEntry.value !== '0') ? 'R' : '';\r\n this.navigate('CRRS', 'ChgAccess');\r\n result = true;\r\n }\r\n else {\r\n this.model.selection = '';\r\n this.model.crimParm = '';\r\n result = false;\r\n }\r\n return result;\r\n };\r\n NavigationWorkOrdersComponent.prototype.navigate = function (strSystem, task) {\r\n switch (strSystem) {\r\n case 'CRRS':\r\n switch (task) {\r\n case 'ByDate':\r\n break;\r\n case 'ByCase':\r\n break;\r\n case 'ByCaseAll':\r\n break;\r\n default:\r\n break;\r\n }\r\n break;\r\n case 'CTMS':\r\n break;\r\n default:\r\n break;\r\n }\r\n };\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_a = typeof navigation_1.default !== \"undefined\" && navigation_1.default) === \"function\" && _a || Object),\r\n __metadata(\"design:paramtypes\", [typeof (_b = typeof navigation_1.default !== \"undefined\" && navigation_1.default) === \"function\" && _b || Object])\r\n ], NavigationWorkOrdersComponent.prototype, \"navigation\", null);\r\n NavigationWorkOrdersComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-navigation-work-orders',\r\n template: __webpack_require__(\"./src/app/navigationWorkOrders/navigationWorkOrders.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/navigationWorkOrders/navigationWorkOrders.component.scss\")],\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_c = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _c || Object])\r\n ], NavigationWorkOrdersComponent);\r\n return NavigationWorkOrdersComponent;\r\n var _a, _b, _c;\r\n}());\r\nexports.default = NavigationWorkOrdersComponent;\r\n//# sourceMappingURL=navigationWorkOrders.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/offense/offense.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\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 You must have at least 1 charge.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Offense, Disposition or File Date is required on at least one of the COUNTS/OFFENSES.\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/offense/offense.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}main{margin-left:5rem;margin-right:5rem}#button-section{margin:3rem 0;-ms-flex-line-pack:center;align-content:center;text-align:center}#button-section button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}.validation{-ms-flex-line-pack:center;align-content:center;text-align:center}.validation span{font-weight:400;color:red;display:block}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/offense/offense.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar offense_1 = __webpack_require__(\"./src/models/offense.ts\");\r\nvar offenseService_1 = __webpack_require__(\"./src/services/offenseService.ts\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar router_2 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar isDateValidator_1 = __webpack_require__(\"./src/validators/isDateValidator.ts\");\r\nvar formControl_1 = __webpack_require__(\"./src/models/formControl.ts\");\r\nvar alertify = __webpack_require__(\"./node_modules/alertifyjs/build/alertify.js\");\r\nvar httpError_1 = __webpack_require__(\"./src/models/httpError.ts\");\r\nvar browserWindowObjectService_1 = __webpack_require__(\"./src/services/browserWindowObjectService.ts\");\r\nvar complianceAuditLogService_1 = __webpack_require__(\"./src/services/complianceAuditLogService.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar complianceAuditLog_1 = __webpack_require__(\"./src/models/complianceAuditLog.ts\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar OffenseComponent = (function () {\r\n function OffenseComponent(offenseService, browserWindowObjectService, complianceAuditLogService, route, formBuilder, router, msgSvc, changeDetectorRef) {\r\n var _this = this;\r\n this.offenseService = offenseService;\r\n this.browserWindowObjectService = browserWindowObjectService;\r\n this.complianceAuditLogService = complianceAuditLogService;\r\n this.route = route;\r\n this.formBuilder = formBuilder;\r\n this.router = router;\r\n this.msgSvc = msgSvc;\r\n this.changeDetectorRef = changeDetectorRef;\r\n this.isSaving = false;\r\n this.canDelete = false;\r\n this.canWorkOrderComplete = false;\r\n this.isNewRecord = true;\r\n this.route.params.subscribe(function (params) {\r\n _this.requestNumber = params['requestNumber'];\r\n });\r\n }\r\n OffenseComponent.prototype.ngOnInit = function () {\r\n var _this = this;\r\n this.msgSvc.setControlKey(); // ('CacheControlKey');\r\n this.browserWindowObjectService.scrollToTopOfPage();\r\n this.offenseService.getOffense(this.requestNumber)\r\n .subscribe(function (object) {\r\n if (object instanceof offense_1.default) {\r\n _this.offense = object;\r\n _this.checkWorkOrderComplete();\r\n }\r\n else {\r\n var httpError = object;\r\n if (httpError.status === 422) {\r\n _this.browserWindowObjectService.goBackOnePage();\r\n // alertify.alert('Crim Error', 'You did not send a valid request');\r\n }\r\n }\r\n });\r\n this.offensePageForm = this.formBuilder.group({\r\n offenseSearch: this.formBuilder.group({\r\n admittedCrimeNotFound: ['']\r\n }),\r\n offenseRecord: this.formBuilder.group({\r\n sentenceLevel: [''],\r\n // This is just to do have a validator for identifers.\r\n hasIdentifier: [''],\r\n hasNameIdentifier: [''],\r\n hasDobIdentifier: [''],\r\n hasSsnIdentifier: [''],\r\n hasSinIdentifier: [''],\r\n hasAddressIdentifier: [''],\r\n hasDlnIdentifier: [''],\r\n isRecordLevel: [''],\r\n hasFaxInformation: [''],\r\n courtRecordedFullName: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(60),\r\n ]\r\n ],\r\n nameDiffers: [''],\r\n referenceNumber: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(25),\r\n ]\r\n ],\r\n courtRecordDob: ['', isDateValidator_1.default(1900)],\r\n dobType: [''],\r\n month: [''],\r\n day: [''],\r\n year: [''],\r\n // fullDobValidator and partialDobValidator\r\n // are placeholders for the validators.\r\n fullDobValidator: [''],\r\n partialDobValidator: [''],\r\n offenseDate: ['', isDateValidator_1.default(2000)],\r\n fileDate: ['', isDateValidator_1.default(2000)],\r\n arrestDate: ['', isDateValidator_1.default(2000)],\r\n dispositionDate: ['', isDateValidator_1.default(2000)],\r\n // This is just to do have a validator to make sure you\r\n // all dates are good.\r\n hasRequiredDate: [''],\r\n offenseDateGreaterThanCurrentDate: [''],\r\n fileDateGreaterThanCurrentDate: [''],\r\n arrestDateGreaterThanCurrentDate: [''],\r\n dispositionDateGreaterThanCurrentDate: [''],\r\n fileDateDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanFileDate: [''],\r\n offenseDateAtRecordAndChargeLevel: [''],\r\n fileDateAtRecordAndChargeLevel: [''],\r\n arrestDateAtRecordAndChargeLevel: [''],\r\n dispositionDateAtRecordAndChargeLevel: [''],\r\n probation: ['', forms_1.Validators.maxLength(255)],\r\n fines: ['', forms_1.Validators.maxLength(255)],\r\n courtCosts: ['', forms_1.Validators.maxLength(255)],\r\n jailTime: ['', forms_1.Validators.maxLength(255)],\r\n prisonTime: ['', forms_1.Validators.maxLength(255)],\r\n suspensionTime: ['', forms_1.Validators.maxLength(255)],\r\n nextCourtDate: ['', isDateValidator_1.default(2000)],\r\n comments: ['', forms_1.Validators.maxLength(3000)],\r\n otherSentenceNotes: ['', forms_1.Validators.maxLength(5000)],\r\n charge: this.formBuilder.group({\r\n hasChargesValidator: ['']\r\n })\r\n })\r\n });\r\n this.formControl = new formControl_1.default(this.offensePageForm);\r\n };\r\n OffenseComponent.prototype.updateToCurrentOffenseRecord = function (offenseRecord) {\r\n this.currentOffenseRecord = offenseRecord;\r\n this.isNewRecord = this.currentOffenseRecord.isNewRecord;\r\n this.validateHasCharges();\r\n this.validateHasChargeDates();\r\n };\r\n OffenseComponent.prototype.updateCanDeleteCurrentOffenseRecord = function (canDelete) {\r\n this.canDelete = canDelete;\r\n };\r\n OffenseComponent.prototype.updateToCurrentOffenseCharges = function () {\r\n this.validateHasCharges();\r\n this.validateHasChargeDates();\r\n };\r\n OffenseComponent.prototype.onSubmit = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var _this = this;\r\n var dobInformation, save, complianceAuditLogs, offense, e_1;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n dobInformation = this.getDobInformation();\r\n save = true;\r\n _a.label = 1;\r\n case 1:\r\n _a.trys.push([1, 5, , 6]);\r\n if (!this.hasDobMismatch(dobInformation)) return [3 /*break*/, 4];\r\n complianceAuditLogs = new Array();\r\n complianceAuditLogs.push(new complianceAuditLog_1.default(this.requestNumber, 'DOBMISMATCH', 'OFFENCEPG', null, null));\r\n return [4 /*yield*/, popupHelper_1.default.dobMismatchHelper()];\r\n case 2:\r\n if ((_a.sent()) === alertifyPromise_1.ConfirmResult.Cancel) {\r\n complianceAuditLogs.push(new complianceAuditLog_1.default(this.requestNumber, 'DOBMISMATCH_UPDATE', 'OFFENCEPG', null, null));\r\n save = false;\r\n // This is a hack.\r\n // For whatever reason if the time between\r\n // await PopupHelper.dobMismatchHelper() === ConfirmResult.Cancel\r\n // and\r\n // await this.complianceAuditLogService.addComplianceAuditLogs(complianceAuditLogs);\r\n // is under about 290ms, it will set focus to text box and then scroll to the bottom\r\n // of page and unset focus.\r\n // So telling the system to wait about 320ms before setting focus.\r\n setTimeout(function () { return _this.offenseRecordComponent.setFocusForDobMismatch(); }, 320);\r\n }\r\n else {\r\n complianceAuditLogs.push(new complianceAuditLog_1.default(this.requestNumber, 'DOBMISMATCH_PROCEED', 'OFFENCEPG', null, null));\r\n }\r\n return [4 /*yield*/, this.complianceAuditLogService.addComplianceAuditLogs(complianceAuditLogs)];\r\n case 3:\r\n _a.sent();\r\n _a.label = 4;\r\n case 4:\r\n if (save) {\r\n this.isSaving = true;\r\n offense = this.createOffenseObject(dobInformation);\r\n this.offenseService.save(offense).subscribe(function (r) {\r\n if (r instanceof httpError_1.default) {\r\n if (r.status === 422) {\r\n var errorCodes = r.httpResponse.json().errorCodes;\r\n var message = \"An error occurred while trying to save request with error code(s) \" + errorCodes.join() + \".\\n
Get more information\\n here\";\r\n alertify.alert('Crim Error', message);\r\n }\r\n }\r\n else {\r\n _this.isNewRecord = _this.currentOffenseRecord.isNewRecord = false;\r\n _this.offenseRecordComponent.saveCompletedSuccessfully();\r\n _this.offensePageForm.markAsPristine();\r\n _this.browserWindowObjectService.scrollToTopOfPage();\r\n _this.checkWorkOrderComplete();\r\n }\r\n _this.isSaving = false;\r\n });\r\n }\r\n return [3 /*break*/, 6];\r\n case 5:\r\n e_1 = _a.sent();\r\n this.isSaving = false;\r\n return [3 /*break*/, 6];\r\n case 6: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseComponent.prototype.deleteRecord = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var _this = this;\r\n var confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.deleteRecordHelper()];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.offenseService.delete(this.requestNumber, this.currentOffenseRecord.offenseNumber)\r\n .subscribe(function (error) {\r\n if (error === null) {\r\n var index = _this.offense.offenseRecords.indexOf(_this.currentOffenseRecord);\r\n _this.offense.offenseRecords.splice(index, 1);\r\n _this.checkWorkOrderComplete();\r\n _this.offenseRecordComponent.deleteSuccessfully();\r\n }\r\n });\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseComponent.prototype.goToNavigation = function () {\r\n this.router.navigate(['navigation']);\r\n };\r\n OffenseComponent.prototype.exitDialog = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.exitSystemHelper()];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseComponent.prototype.about = function () {\r\n popupHelper_1.default.systemVersion();\r\n };\r\n OffenseComponent.prototype.support = function () {\r\n popupHelper_1.default.support();\r\n };\r\n OffenseComponent.prototype.help = function () {\r\n this.browserWindowObjectService.openWindowInNewWindowByRoute(\"offenseHelp\", '', 800, 900);\r\n };\r\n Object.defineProperty(OffenseComponent.prototype, \"hasChargesValidator\", {\r\n get: function () { return this.offensePageForm.get('offenseRecord.charge.hasChargesValidator'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseComponent.prototype, \"hasRequiredDate\", {\r\n get: function () { return this.offensePageForm.get('offenseRecord.hasRequiredDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseComponent.prototype.validateHasCharges = function () {\r\n if (!this.hasCharges) {\r\n this.formControl.setValidationErrorByControlName('offenseRecord.charge.hasChargesValidator', 'hasCharges');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('offenseRecord.charge.hasChargesValidator', 'hasCharges');\r\n }\r\n };\r\n OffenseComponent.prototype.validateHasChargeDates = function () {\r\n if (this.hasCharges) {\r\n if (this.currentOffenseRecord.charges\r\n .some(function (c) { return c.offenseDate !== null || c.fileDate !== null || c.dispositionDate !== null; })) {\r\n this.formControl.clearValidatorErrorByControlName('offenseRecord.hasRequiredDate', 'hasRequiredDate');\r\n }\r\n else {\r\n this.formControl.setValidationErrorByControlName('offenseRecord.hasRequiredDate', 'hasRequiredDate');\r\n }\r\n }\r\n };\r\n Object.defineProperty(OffenseComponent.prototype, \"hasCharges\", {\r\n get: function () {\r\n return this.currentOffenseRecord !== null && this.currentOffenseRecord !== undefined\r\n && this.currentOffenseRecord.charges !== null && this.currentOffenseRecord.charges !== undefined\r\n && this.currentOffenseRecord.charges.length > 0;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseComponent.prototype.checkWorkOrderComplete = function () {\r\n this.canWorkOrderComplete = this.offense.offenseRecords.length > 0\r\n && this.offense.offenseRecords.every(function (or) { return or.referenceNumber !== null\r\n && or.referenceNumber !== undefined && or.referenceNumber.length > 0; });\r\n this.changeDetectorRef.detectChanges();\r\n };\r\n OffenseComponent.prototype.hasDobMismatch = function (dobInformation) {\r\n var mismatch = false;\r\n if (dobInformation.fullDob || dobInformation.partialDob) {\r\n var year = this.offense.offenseSearch.dob.getFullYear();\r\n var month = this.offense.offenseSearch.dob.getMonth() + 1;\r\n var day = this.offense.offenseSearch.dob.getDate();\r\n var dobYear = null;\r\n var dobMonth = null;\r\n var dobDay = null;\r\n if (dobInformation.fullDob) {\r\n var dobDate = new Date(dobInformation.fullDob);\r\n dobYear = dobDate.getFullYear();\r\n dobMonth = dobDate.getMonth() + 1;\r\n dobDay = dobDate.getDate();\r\n mismatch = year !== dobYear || month !== dobMonth || day !== dobDay;\r\n }\r\n else {\r\n dobYear = +dobInformation.partialYear;\r\n dobMonth = +dobInformation.partialMonth;\r\n dobDay = +dobInformation.partialDay;\r\n mismatch = year !== dobYear || (month !== dobMonth && day !== dobDay);\r\n }\r\n }\r\n return mismatch;\r\n };\r\n OffenseComponent.prototype.createOffenseObject = function (dobInformation) {\r\n var offenseRecords = Array();\r\n offenseRecords.push({\r\n requestNbr: this.currentOffenseRecord.requestNbr,\r\n offenseNbr: this.currentOffenseRecord.offenseNumber,\r\n isCourtCaseSentencing: this.formControl.getNumberByControlName('offenseRecord.sentenceLevel') === 0 ? 'o' : null,\r\n offenseDt: this.formControl.getShortDateByControlName('offenseRecord.offenseDate'),\r\n fileDt: this.formControl.getShortDateByControlName('offenseRecord.fileDate'),\r\n arrestDate: this.formControl.getShortDateByControlName('offenseRecord.arrestDate'),\r\n dispositionDt: this.formControl.getShortDateByControlName('offenseRecord.dispositionDate'),\r\n courtRecordedName: this.formControl.getValueByControlName('offenseRecord.courtRecordedFullName'),\r\n faxInfoInd: this.formControl.getCrimBooleanByControlName('offenseRecord.hasFaxInformation'),\r\n identifierDOB: this.formControl.getCrimBooleanByControlName('offenseRecord.hasDobIdentifier'),\r\n identifierSSN: this.formControl.getCrimBooleanByControlName('offenseRecord.hasSsnIdentifier'),\r\n identifierName: this.formControl.getCrimBooleanByControlName('offenseRecord.hasNameIdentifier'),\r\n identifierAddress: this.formControl.getCrimBooleanByControlName('offenseRecord.hasAddressIdentifier'),\r\n identifierDLN: this.formControl.getCrimBooleanByControlName('offenseRecord.hasDlnIdentifier'),\r\n identifierSIN: this.formControl.getCrimBooleanByControlName('offenseRecord.hasSinIdentifier'),\r\n comments: this.formControl.getValueByControlName('offenseRecord.comments'),\r\n referenceNbr: this.formControl.getValueByControlName('offenseRecord.referenceNumber'),\r\n nameDiff: this.formControl.getCrimBooleanByControlName('offenseRecord.nameDiffers'),\r\n courtRecordDOB: dobInformation.fullDob,\r\n identifierPartialDOB: dobInformation.partialDob,\r\n partialMonth: dobInformation.partialMonth,\r\n partialDay: dobInformation.partialDay,\r\n partialYear: dobInformation.partialYear,\r\n identifierNoDOB: dobInformation.dobNotListed,\r\n nextCourtDate: this.formControl.getShortDateByControlName('offenseRecord.nextCourtDate'),\r\n probation: this.formControl.getValueByControlName('offenseRecord.probation'),\r\n jailTime: this.formControl.getValueByControlName('offenseRecord.jailTime'),\r\n prisonTime: this.formControl.getValueByControlName('offenseRecord.prisonTime'),\r\n suspensionTime: this.formControl.getValueByControlName('offenseRecord.suspensionTime'),\r\n fines: this.formControl.getValueByControlName('offenseRecord.fines'),\r\n courtCosts: this.formControl.getValueByControlName('offenseRecord.courtCosts'),\r\n otherSentenceNotes: this.formControl.getValueByControlName('offenseRecord.otherSentenceNotes'),\r\n charges: this.getCharges()\r\n });\r\n return offenseRecords;\r\n };\r\n OffenseComponent.prototype.getCharges = function () {\r\n var charges = Array();\r\n for (var _i = 0, _a = this.currentOffenseRecord.charges; _i < _a.length; _i++) {\r\n var charge = _a[_i];\r\n charges.push({\r\n requestNbr: charge.requestNbr,\r\n offenseNbr: charge.offenseNbr,\r\n countNbr: charge.countNbr,\r\n chargeLevel: charge.chargeLevel,\r\n charge: charge.charge,\r\n disposition: charge.disposition,\r\n chargeCd: charge.chargeCd,\r\n chargeDispDate: charge.chargeDispDate === null ? null : new Date(Date.UTC(charge.chargeDispDate.getFullYear(), charge.chargeDispDate.getMonth(), charge.chargeDispDate.getDate(), 0, 0, 0, 0)),\r\n chargeArrestDate: charge.chargeArrestDate === null ? null : new Date(Date.UTC(charge.chargeArrestDate.getFullYear(), charge.chargeArrestDate.getMonth(), charge.chargeArrestDate.getDate(), 0, 0, 0, 0)),\r\n chargeFileDate: charge.chargeFileDate === null ? null : new Date(Date.UTC(charge.chargeFileDate.getFullYear(), charge.chargeFileDate.getMonth(), charge.chargeFileDate.getDate(), 0, 0, 0, 0)),\r\n chargeOffenseDate: charge.chargeOffenseDate === null ? null : new Date(Date.UTC(charge.chargeOffenseDate.getFullYear(), charge.chargeOffenseDate.getMonth(), charge.chargeOffenseDate.getDate(), 0, 0, 0, 0)),\r\n noDispDateReason: charge.noDispDateReason,\r\n noArrestDateReason: charge.noArrestDateReason,\r\n noFileDateReason: charge.noFileDateReason,\r\n noOffenseDateReason: charge.noOffenseDateReason,\r\n chargeNextCourtDate: charge.chargeNextCourtDate === null ? null : new Date(Date.UTC(charge.chargeNextCourtDate.getFullYear(), charge.chargeNextCourtDate.getMonth(), charge.chargeNextCourtDate.getDate(), 0, 0, 0, 0)),\r\n chargeProbation: charge.chargeProbation,\r\n chargeJailTime: charge.chargeJailTime,\r\n chargePrisonTime: charge.chargePrisonTime,\r\n chargeSuspensionTime: charge.chargeSuspensionTime,\r\n chargeFines: charge.chargeFines,\r\n chargeCourtCosts: charge.chargeCourtCosts,\r\n chargeOtherSentenceNotes: charge.chargeOtherSentenceNotes,\r\n chargeStatute: charge.chargeStatute\r\n });\r\n }\r\n return charges;\r\n };\r\n OffenseComponent.prototype.getDobInformation = function () {\r\n var dobType = this.formControl.getValueByControlName('offenseRecord.dobType');\r\n var month = this.formControl.getValueByControlName('offenseRecord.month');\r\n var day = this.formControl.getValueByControlName('offenseRecord.day');\r\n var year = this.formControl.getValueByControlName('offenseRecord.year');\r\n var fullDob = '';\r\n var partialDob = '';\r\n var dobNotListed = '';\r\n if ('full-dob' === dobType) {\r\n fullDob = month + \"/\" + day + \"/\" + year;\r\n month = null;\r\n day = null;\r\n year = null;\r\n }\r\n else if ('partial-dob' === dobType) {\r\n partialDob = 'o';\r\n }\r\n else {\r\n dobNotListed = 'o';\r\n month = null;\r\n day = null;\r\n year = null;\r\n }\r\n return {\r\n fullDob: fullDob,\r\n partialDob: partialDob,\r\n dobNotListed: dobNotListed,\r\n partialMonth: month,\r\n partialDay: day,\r\n partialYear: year\r\n };\r\n };\r\n __decorate([\r\n core_1.ViewChild('offenseRecord'),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseComponent.prototype, \"offenseRecordComponent\", void 0);\r\n __decorate([\r\n core_1.ViewChild('offenseSearch'),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseComponent.prototype, \"offenseSearchComponent\", void 0);\r\n OffenseComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-offense',\r\n template: __webpack_require__(\"./src/app/offense/offense.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/offense/offense.component.scss\")],\r\n providers: [offenseService_1.default, index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof offenseService_1.default !== \"undefined\" && offenseService_1.default) === \"function\" && _a || Object, typeof (_b = typeof browserWindowObjectService_1.default !== \"undefined\" && browserWindowObjectService_1.default) === \"function\" && _b || Object, typeof (_c = typeof complianceAuditLogService_1.default !== \"undefined\" && complianceAuditLogService_1.default) === \"function\" && _c || Object, typeof (_d = typeof router_1.ActivatedRoute !== \"undefined\" && router_1.ActivatedRoute) === \"function\" && _d || Object, typeof (_e = typeof forms_1.FormBuilder !== \"undefined\" && forms_1.FormBuilder) === \"function\" && _e || Object, typeof (_f = typeof router_2.Router !== \"undefined\" && router_2.Router) === \"function\" && _f || Object, typeof (_g = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _g || Object, typeof (_h = typeof core_1.ChangeDetectorRef !== \"undefined\" && core_1.ChangeDetectorRef) === \"function\" && _h || Object])\r\n ], OffenseComponent);\r\n return OffenseComponent;\r\n var _a, _b, _c, _d, _e, _f, _g, _h;\r\n}());\r\nexports.default = OffenseComponent;\r\n//# sourceMappingURL=offense.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/offenseCounts/offenseCounts.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n\\r\\n
\\r\\n COUNT/OFFENSE INFORMATION\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n *Indicates Required Entry For an Offense\\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
\\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 Count is required.\\r\\n \\r\\n \\r\\n Count must be a number.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Charge Level is required.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense is required.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition is required.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Charge Statute can only be a max of 50 characters.\\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
\\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 Charge Statute can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Fines can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Court Costs can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Jail Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Prison Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Suspension Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Next Court Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n

Please include the dates listed on the public record for each COUNT/OFFENSE.

\\r\\n

Disposition Date is not required for a COUNT/OFFENSE that is Pending.

\\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\\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 Offense Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than file date.\\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 \\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
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/offenseCounts/offenseCounts.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}.odd-background-charge{background-color:#ccf}.even-background-charge{background-color:#fff}.selected-charge{background-color:#00008b;color:#fff}.validation{-ms-flex-line-pack:center;align-content:center;text-align:center}.validation span{font-weight:400;color:red;display:block}*{-webkit-box-sizing:border-box;box-sizing:border-box}header{background-color:#ccf;padding:.25rem .3rem;color:#000;font-weight:bolder;margin:1.5rem 0 .4rem 0}section{margin-bottom:2rem}mark{color:red;background-color:inherit}label{font-weight:700}#charge-information-section{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#charge-information-section div{width:45rem}#charge-information-section div:not(:first-of-type){margin-top:.5rem}#charge-information-section label{display:inline-block;width:10rem}#charge-information-section #count,#charge-information-section #level{width:15rem}#charge-information-section #charge-statute,#charge-information-section #disposition,#charge-information-section #offense{width:30rem}#charge-result-section{margin-top:-1rem}#charge-result-section div{margin-top:1rem}#charge-dates-section{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#charge-dates-section h4.text-alert{display:block;margin-right:auto;margin-left:auto;padding:0;font-weight:400}#charge-dates-section h4.text-alert:first-of-type{margin:0}#charge-dates-section h4.text-alert:last-of-type{margin-top:.5rem}#charge-dates-section div{margin-top:.3rem}#charge-dates-section label{width:12.5rem;display:inline-block}#charge-dates-section input{margin-right:1rem}#sentencing-notes-section{margin-top:2rem;-ms-flex-line-pack:center;align-content:center;text-align:center}#sentencing-notes-section div{display:inline-block}#sentencing-notes-section label{display:block;text-align:left;margin-bottom:.5rem}#charge-type-section{margin-top:1.5rem;-ms-flex-line-pack:center;align-content:center;text-align:center}#charge-type-section button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}#charge-type-changes-section{margin-top:1.5rem;-ms-flex-line-pack:center;align-content:center;text-align:center}#charge-type-changes-section button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}#charge-type-choice-section{max-width:85rem;margin-right:auto;margin-left:auto;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:initial;align-content:initial}#charge-type-choice-section div:first-of-type,#charge-type-choice-section div:nth-of-type(2),#charge-type-choice-section div:nth-of-type(4),#charge-type-choice-section div:nth-of-type(5){margin-right:5rem}#charge-type-choice-section div{margin-top:2rem}#charge-type-choice-section select{width:25rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/offenseCounts/offenseCounts.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar offenseRecord_1 = __webpack_require__(\"./src/models/offenseRecord.ts\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar formControl_1 = __webpack_require__(\"./src/models/formControl.ts\");\r\nvar chargeLevels_1 = __webpack_require__(\"./src/models/chargeLevels.ts\");\r\nvar charge_1 = __webpack_require__(\"./src/models/charge.ts\");\r\nvar chargeType_1 = __webpack_require__(\"./src/models/chargeType.ts\");\r\nvar dateHandler_1 = __webpack_require__(\"./src/models/dateHandler.ts\");\r\nvar sentenceLevel_1 = __webpack_require__(\"./src/models/sentenceLevel.ts\");\r\nvar isNumberValidator_1 = __webpack_require__(\"./src/validators/isNumberValidator.ts\");\r\nvar isDateValidator_1 = __webpack_require__(\"./src/validators/isDateValidator.ts\");\r\nvar OffenseCountsComponent = (function () {\r\n function OffenseCountsComponent(formBuilder) {\r\n this.formBuilder = formBuilder;\r\n this.updateOffenseDates = new core_1.EventEmitter();\r\n this.updateToCurrentRecordCharges = new core_1.EventEmitter();\r\n this.chargeIndex = 0;\r\n this.isRecord = false;\r\n }\r\n OffenseCountsComponent.prototype.ngOnInit = function () {\r\n this.offenseCountsPageForm = this.formBuilder.group({\r\n count: ['', [\r\n forms_1.Validators.required,\r\n isNumberValidator_1.default()\r\n ]\r\n ],\r\n chargeLevel: ['', forms_1.Validators.required],\r\n offense: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(1000)\r\n ]\r\n ],\r\n disposition: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(2000)\r\n ]\r\n ],\r\n chargeStatute: ['', forms_1.Validators.maxLength(50)],\r\n probation: ['', forms_1.Validators.maxLength(255)],\r\n fines: ['', forms_1.Validators.maxLength(255)],\r\n courtCosts: ['', forms_1.Validators.maxLength(255)],\r\n jailTime: ['', forms_1.Validators.maxLength(255)],\r\n prisonTime: ['', forms_1.Validators.maxLength(255)],\r\n suspensionTime: ['', forms_1.Validators.maxLength(255)],\r\n nextCourtDate: ['', isDateValidator_1.default(2000)],\r\n offenseDateGreaterThanCurrentDate: [''],\r\n fileDateGreaterThanCurrentDate: [''],\r\n arrestDateGreaterThanCurrentDate: [''],\r\n dispositionDateGreaterThanCurrentDate: [''],\r\n fileDateDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanFileDate: [''],\r\n offenseDate: ['', isDateValidator_1.default(2000)],\r\n noOffenseDateReason: [''],\r\n fileDate: ['', isDateValidator_1.default(2000)],\r\n noFileDateReason: [''],\r\n arrestDate: ['', isDateValidator_1.default(2000)],\r\n noArrestDateReason: [''],\r\n dispositionDate: ['', isDateValidator_1.default(2000)],\r\n noDispositionReason: [''],\r\n otherSentenceNotes: ['', forms_1.Validators.maxLength(5000)],\r\n });\r\n this.offenseCountFormControl = new formControl_1.default(this.offenseCountsPageForm);\r\n };\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"offenseRecordObject\", {\r\n set: function (offenseRecord) {\r\n if (offenseRecord) {\r\n this.offenseRecord = offenseRecord;\r\n this.createChargeOptions();\r\n this.offenseCountsPageForm.reset();\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"sentenceLevelObject\", {\r\n set: function (sentenceLevel) {\r\n if (this.offenseCountFormControl) {\r\n this.isRecord = +sentenceLevel === sentenceLevel_1.SentenceLevel.Record;\r\n if (this.isRecord) {\r\n this.offenseCountFormControl.disableControlByControlName('probation');\r\n this.offenseCountFormControl.disableControlByControlName('fines');\r\n this.offenseCountFormControl.disableControlByControlName('courtCosts');\r\n this.offenseCountFormControl.disableControlByControlName('jailTime');\r\n this.offenseCountFormControl.disableControlByControlName('prisonTime');\r\n this.offenseCountFormControl.disableControlByControlName('suspensionTime');\r\n this.offenseCountFormControl.disableControlByControlName('nextCourtDate');\r\n this.offenseCountFormControl.disableControlByControlName('otherSentenceNotes');\r\n }\r\n else {\r\n this.offenseCountFormControl.enableControlByControlName('probation');\r\n this.offenseCountFormControl.enableControlByControlName('fines');\r\n this.offenseCountFormControl.enableControlByControlName('courtCosts');\r\n this.offenseCountFormControl.enableControlByControlName('jailTime');\r\n this.offenseCountFormControl.enableControlByControlName('prisonTime');\r\n this.offenseCountFormControl.enableControlByControlName('suspensionTime');\r\n this.offenseCountFormControl.enableControlByControlName('nextCourtDate');\r\n this.offenseCountFormControl.enableControlByControlName('otherSentenceNotes');\r\n }\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseCountsComponent.prototype.runValidation = function () {\r\n this.validateDates();\r\n };\r\n OffenseCountsComponent.prototype.formatDate = function (controlName) {\r\n if (!this.offenseCountFormControl.hasErrorByControlName(controlName)) {\r\n var value = this.offenseCountFormControl.getValueByControlName(controlName);\r\n this.offenseCountFormControl.setValueByControlName(controlName, this.convertToDateFormat(value));\r\n }\r\n this.validateDates();\r\n };\r\n OffenseCountsComponent.prototype.addCharge = function (chargeType) {\r\n var charge = this.createChargeFromChargeUiControls(chargeType);\r\n if (chargeType === chargeType_1.ChargeType.Convicted) {\r\n this.convictedChargeOptions = this.convictedChargeOptions.concat(this.getFieldsForCharge(charge));\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.OtherNonConviction) {\r\n this.otherNonConvictionChargeOptions = this.otherNonConvictionChargeOptions.concat(this.getFieldsForCharge(charge));\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.Pending) {\r\n this.pendingChargeOptions = this.pendingChargeOptions.concat(this.getFieldsForCharge(charge));\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.CompleteDeferral) {\r\n this.completeDeferralChargeOptions = this.completeDeferralChargeOptions.concat(this.getFieldsForCharge(charge));\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.ActiveDeferral) {\r\n this.activeDeferralChargeOptions = this.activeDeferralChargeOptions.concat(this.getFieldsForCharge(charge));\r\n }\r\n this.addChargeToOffense(charge);\r\n this.updateOffenseDatesWithGreatestDates();\r\n this.offenseCountsPageForm.reset();\r\n this.chargesHasChanged();\r\n };\r\n OffenseCountsComponent.prototype.clearChargeFields = function () {\r\n this.offenseCountsPageForm.reset();\r\n };\r\n OffenseCountsComponent.prototype.updateCharge = function () {\r\n var newCharge = this.createChargeFromChargeUiControls();\r\n var fieldOptions = this.getAllChargesOptions()\r\n .filter(function (cf) { return cf.selected; });\r\n fieldOptions[0].charge.count = newCharge.count;\r\n fieldOptions[0].charge.chargeLevel = newCharge.chargeLevel;\r\n fieldOptions[0].charge.offense = newCharge.offense;\r\n fieldOptions[0].charge.disposition = newCharge.disposition;\r\n fieldOptions[0].charge.chargeStatute = newCharge.chargeStatute;\r\n fieldOptions[0].charge.probation = newCharge.probation;\r\n fieldOptions[0].charge.courtCost = newCharge.courtCost;\r\n fieldOptions[0].charge.jailTime = newCharge.jailTime;\r\n fieldOptions[0].charge.prisonTime = newCharge.prisonTime;\r\n fieldOptions[0].charge.suspensionTime = newCharge.suspensionTime;\r\n fieldOptions[0].charge.nextCourtDate = newCharge.nextCourtDate;\r\n fieldOptions[0].charge.offenseDate = newCharge.offenseDate;\r\n fieldOptions[0].charge.noOffenseDateReason = newCharge.noOffenseDateReason;\r\n fieldOptions[0].charge.fileDate = newCharge.fileDate;\r\n fieldOptions[0].charge.noFileDateReason = newCharge.noFileDateReason;\r\n fieldOptions[0].charge.arrestDate = newCharge.arrestDate;\r\n fieldOptions[0].charge.noArrestDateReason = newCharge.noArrestDateReason;\r\n fieldOptions[0].charge.dispositionDate = newCharge.dispositionDate;\r\n fieldOptions[0].charge.noDispositionReason = newCharge.noDispositionReason;\r\n fieldOptions[0].charge.otherSentenceNotes = newCharge.otherSentenceNotes;\r\n this.updateOffenseDatesWithGreatestDates();\r\n this.updateOptionFieldsForCharge(fieldOptions, fieldOptions[0].charge);\r\n this.offenseCountsPageForm.markAsPristine();\r\n this.chargesHasChanged();\r\n };\r\n OffenseCountsComponent.prototype.deleteCharge = function () {\r\n var chargeFields = this.getAllChargesOptions().filter(function (c) { return c.selected; });\r\n var chargeType = chargeFields[0].charge.chargeType;\r\n if (chargeType === chargeType_1.ChargeType.Convicted) {\r\n this.removeChargesByIndex(this.convictedChargeOptions, chargeFields);\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.OtherNonConviction) {\r\n this.removeChargesByIndex(this.otherNonConvictionChargeOptions, chargeFields);\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.Pending) {\r\n this.removeChargesByIndex(this.pendingChargeOptions, chargeFields);\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.CompleteDeferral) {\r\n this.removeChargesByIndex(this.completeDeferralChargeOptions, chargeFields);\r\n }\r\n else if (chargeType === chargeType_1.ChargeType.ActiveDeferral) {\r\n this.removeChargesByIndex(this.activeDeferralChargeOptions, chargeFields);\r\n }\r\n var charge = chargeFields[0].charge;\r\n this.removeChargeFromOffense(charge);\r\n this.updateOffenseDatesWithGreatestDates();\r\n this.offenseCountsPageForm.reset();\r\n this.chargesHasChanged();\r\n };\r\n OffenseCountsComponent.prototype.selectCharge = function (chargeType, index) {\r\n this.offenseCountsPageForm.reset();\r\n var allChargeFields = this.getAllChargesOptions();\r\n var chargeFields = allChargeFields\r\n .filter(function (c) { return c.charge.chargeType === chargeType && c.index.toString() === index; });\r\n for (var _i = 0, allChargeFields_1 = allChargeFields; _i < allChargeFields_1.length; _i++) {\r\n var c = allChargeFields_1[_i];\r\n c.selected = false;\r\n }\r\n for (var _a = 0, chargeFields_1 = chargeFields; _a < chargeFields_1.length; _a++) {\r\n var c = chargeFields_1[_a];\r\n c.selected = true;\r\n }\r\n this.showSelectedCharge(chargeFields);\r\n };\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"isChargeDirty\", {\r\n get: function () {\r\n return this.hasSelectedCharge &&\r\n (this.offenseCountFormControl.isControlNameDirty('count')\r\n || this.offenseCountFormControl.isControlNameDirty('chargeLevel')\r\n || this.offenseCountFormControl.isControlNameDirty('offense')\r\n || this.offenseCountFormControl.isControlNameDirty('disposition')\r\n || this.offenseCountFormControl.isControlNameDirty('chargeStatute')\r\n || this.offenseCountFormControl.isControlNameDirty('probation')\r\n || this.offenseCountFormControl.isControlNameDirty('fines')\r\n || this.offenseCountFormControl.isControlNameDirty('courtCosts')\r\n || this.offenseCountFormControl.isControlNameDirty('jailTime')\r\n || this.offenseCountFormControl.isControlNameDirty('prisonTime')\r\n || this.offenseCountFormControl.isControlNameDirty('suspensionTime')\r\n || this.offenseCountFormControl.isControlNameDirty('nextCourtDate')\r\n || this.offenseCountFormControl.isControlNameDirty('offenseDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noOffenseDateReason')\r\n || this.offenseCountFormControl.isControlNameDirty('fileDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noFileDateReason')\r\n || this.offenseCountFormControl.isControlNameDirty('arrestDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noArrestDateReason')\r\n || this.offenseCountFormControl.isControlNameDirty('dispositionDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noDispositionReason')\r\n || this.offenseCountFormControl.isControlNameDirty('otherSentenceNotes'));\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"count\", {\r\n get: function () { return this.offenseCountsPageForm.get('count'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"chargeLevel\", {\r\n get: function () { return this.offenseCountsPageForm.get('chargeLevel'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"offense\", {\r\n get: function () { return this.offenseCountsPageForm.get('offense'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"disposition\", {\r\n get: function () { return this.offenseCountsPageForm.get('disposition'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"chargeStatute\", {\r\n get: function () { return this.offenseCountsPageForm.get('chargeStatute'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"probation\", {\r\n get: function () { return this.offenseCountsPageForm.get('probation'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"fines\", {\r\n get: function () { return this.offenseCountsPageForm.get('fines'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"courtCosts\", {\r\n get: function () { return this.offenseCountsPageForm.get('courtCosts'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"jailTime\", {\r\n get: function () { return this.offenseCountsPageForm.get('jailTime'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"prisonTime\", {\r\n get: function () { return this.offenseCountsPageForm.get('prisonTime'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"suspensionTime\", {\r\n get: function () { return this.offenseCountsPageForm.get('suspensionTime'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"nextCourtDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('nextCourtDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"OffenseDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('offenseDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"fileDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('fileDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"arrestDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('arrestDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"dispositionDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('dispositionDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"fileDateDateOlderThanOffenseDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('fileDateDateOlderThanOffenseDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"dispositionDateOlderThanOffenseDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('dispositionDateOlderThanOffenseDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"dispositionDateOlderThanFileDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('dispositionDateOlderThanFileDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"offenseDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('offenseDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"noOffenseDateReason\", {\r\n get: function () { return this.offenseCountsPageForm.get('noOffenseDateReason'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"fileDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('fileDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"noFileDateReason\", {\r\n get: function () { return this.offenseCountsPageForm.get('noFileDateReason'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"arrestDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('arrestDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"noArrestDateReason\", {\r\n get: function () { return this.offenseCountsPageForm.get('noArrestDateReason'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"dispositionDate\", {\r\n get: function () { return this.offenseCountsPageForm.get('dispositionDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"noDispositionReason\", {\r\n get: function () { return this.offenseCountsPageForm.get('noDispositionReason'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"otherSentenceNotes\", {\r\n get: function () { return this.offenseCountsPageForm.get('otherSentenceNotes'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseCountsComponent.prototype.chargesHasChanged = function () {\r\n this.updateToCurrentRecordCharges.emit();\r\n };\r\n OffenseCountsComponent.prototype.validateDates = function () {\r\n var offenseDate = this.offenseCountFormControl.getDateByControlName('offenseDate');\r\n var fileDate = this.offenseCountFormControl.getDateByControlName('fileDate');\r\n var arrestDate = this.offenseCountFormControl.getDateByControlName('arrestDate');\r\n var dispositionDate = this.offenseCountFormControl.getDateByControlName('dispositionDate');\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n if (offenseDate != null && offenseDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (fileDate != null && fileDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (fileDate != null && fileDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (arrestDate !== null && arrestDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (dispositionDate != null && dispositionDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (offenseDate !== null && fileDate !== null && offenseDate > fileDate) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n if (offenseDate !== null && dispositionDate !== null && offenseDate > dispositionDate) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n if (fileDate !== null && dispositionDate !== null && fileDate > dispositionDate) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n }\r\n else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n }\r\n };\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"hasSelectedCharge\", {\r\n get: function () {\r\n return this.getAllChargesOptions()\r\n .some(function (cf) { return cf.selected; });\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseCountsComponent.prototype.createChargeFromChargeUiControls = function (chargeType) {\r\n if (chargeType === void 0) { chargeType = null; }\r\n var count = this.offenseCountFormControl.getNumberByControlName('count');\r\n var chargeLevel = this.offenseCountFormControl.getNumberByControlName('chargeLevel');\r\n var offense = this.offenseCountFormControl.getValueByControlName('offense');\r\n var disposition = this.offenseCountFormControl.getValueByControlName('disposition');\r\n var chargeStatute = this.offenseCountFormControl.getValueByControlName('chargeStatute');\r\n var probation = this.offenseCountFormControl.getValueByControlName('probation');\r\n var fines = this.offenseCountFormControl.getValueByControlName('fines');\r\n var courtCosts = this.offenseCountFormControl.getValueByControlName('courtCosts');\r\n var jailTime = this.offenseCountFormControl.getValueByControlName('jailTime');\r\n var prisonTime = this.offenseCountFormControl.getValueByControlName('prisonTime');\r\n var suspensionTime = this.offenseCountFormControl.getValueByControlName('suspensionTime');\r\n var nextCourtDate = this.offenseCountFormControl.getDateByControlName('nextCourtDate');\r\n var offenseDate = this.offenseCountFormControl.getDateByControlName('offenseDate');\r\n var noOffenseDateReason = this.offenseCountFormControl.getValueByControlName('noOffenseDateReason');\r\n var fileDate = this.offenseCountFormControl.getDateByControlName('fileDate');\r\n var noFileDateReason = this.offenseCountFormControl.getValueByControlName('noFileDateReason');\r\n var arrestDate = this.offenseCountFormControl.getDateByControlName('arrestDate');\r\n var noArrestDateReason = this.offenseCountFormControl.getValueByControlName('noArrestDateReason');\r\n var dispositionDate = this.offenseCountFormControl.getDateByControlName('dispositionDate');\r\n var noDispositionReason = this.offenseCountFormControl.getValueByControlName('noDispositionReason');\r\n var otherSentenceNotes = this.offenseCountFormControl.getValueByControlName('otherSentenceNotes');\r\n if (chargeType == null) {\r\n chargeType = this.getAllChargesOptions()\r\n .find(function (cf) { return cf.selected; }).charge.chargeType;\r\n }\r\n return charge_1.default.createCharge(this.offenseRecord.requestNumber, this.offenseRecord.offenseNumber, count, chargeLevel, offense, disposition, chargeStatute, probation, fines, courtCosts, jailTime, prisonTime, suspensionTime, nextCourtDate == null ? null : new Date(nextCourtDate), offenseDate == null ? null : new Date(offenseDate), noOffenseDateReason, fileDate == null ? null : new Date(fileDate), noFileDateReason, arrestDate == null ? null : new Date(arrestDate), noArrestDateReason, dispositionDate == null ? null : new Date(dispositionDate), noDispositionReason, otherSentenceNotes, chargeType);\r\n };\r\n OffenseCountsComponent.prototype.updateOffenseDatesWithGreatestDates = function () {\r\n var offenseDates = this.offenseRecord.charges\r\n .filter(function (c) { return c != null; })\r\n .map(function (c) { return c.offenseDate; });\r\n var fileDates = this.offenseRecord.charges\r\n .filter(function (c) { return c != null; })\r\n .map(function (c) { return c.fileDate; });\r\n var arrestDates = this.offenseRecord.charges\r\n .filter(function (c) { return c != null; })\r\n .map(function (c) { return c.arrestDate; });\r\n var dispositionDates = this.offenseRecord.charges\r\n .filter(function (c) { return c != null; })\r\n .map(function (c) { return c.dispositionDate; });\r\n var offenseDate = null;\r\n var fileDate = null;\r\n var arrestDate = null;\r\n var dispositionDate = null;\r\n if (offenseDates.length > 0) {\r\n offenseDate = offenseDates.reduce(function (a, b) { return a > b ? a : b; });\r\n }\r\n if (fileDates.length > 0) {\r\n fileDate = fileDates.reduce(function (a, b) { return a > b ? a : b; });\r\n }\r\n if (arrestDates.length > 0) {\r\n arrestDate = arrestDates.reduce(function (a, b) { return a > b ? a : b; });\r\n }\r\n if (dispositionDates.length > 0) {\r\n dispositionDate = dispositionDates.reduce(function (a, b) { return a > b ? a : b; });\r\n }\r\n this.updateOffenseDates.emit({\r\n offenseDate: offenseDate == null ? null : new dateHandler_1.default(offenseDate).format(),\r\n fileDate: fileDate == null ? null : new dateHandler_1.default(fileDate).format(),\r\n arrestDate: arrestDate == null ? null : new dateHandler_1.default(arrestDate).format(),\r\n dispositionDate: dispositionDate == null ? null : new dateHandler_1.default(dispositionDate).format()\r\n });\r\n };\r\n OffenseCountsComponent.prototype.removeChargesByIndex = function (chargeFields, deletedCharges) {\r\n var firstIndex = chargeFields.findIndex(function (cf) { return cf.index === deletedCharges[0].index; });\r\n var lastIndex = chargeFields.lastIndexOf(deletedCharges[deletedCharges.length - 1]);\r\n chargeFields.splice(firstIndex, lastIndex - firstIndex + 1);\r\n };\r\n OffenseCountsComponent.prototype.removeChargeFromOffense = function (charge) {\r\n if (charge) {\r\n var index = this.offenseRecord.charges.findIndex(function (c) { return c === charge; });\r\n this.offenseRecord.charges.splice(index, 1);\r\n }\r\n };\r\n OffenseCountsComponent.prototype.addChargeToOffense = function (charge) {\r\n this.offenseRecord.charges.push(charge);\r\n };\r\n OffenseCountsComponent.prototype.showSelectedCharge = function (chargeFields) {\r\n this.offenseCountFormControl.setValueByControlName('count', this.getFieldFromString(chargeFields[0].description));\r\n this.offenseCountFormControl.setValueByControlName('chargeLevel', chargeLevels_1.ChargeLevel[this.removeSpaces(this.getFieldFromString(chargeFields[1].description))]);\r\n this.offenseCountFormControl.setValueByControlName('offense', this.getFieldFromString(chargeFields[2].description));\r\n this.offenseCountFormControl.setValueByControlName('disposition', this.getFieldFromString(chargeFields[3].description));\r\n this.offenseCountFormControl.setValueByControlName('offenseDate', this.getFieldFromString(chargeFields[4].description));\r\n this.offenseCountFormControl.setValueByControlName('fileDate', this.getFieldFromString(chargeFields[5].description));\r\n this.offenseCountFormControl.setValueByControlName('arrestDate', this.getFieldFromString(chargeFields[6].description));\r\n this.offenseCountFormControl.setValueByControlName('dispositionDate', this.getFieldFromString(chargeFields[7].description));\r\n this.offenseCountFormControl.setValueByControlName('probation', this.getFieldFromString(chargeFields[8].description));\r\n this.offenseCountFormControl.setValueByControlName('fines', this.getFieldFromString(chargeFields[9].description));\r\n this.offenseCountFormControl.setValueByControlName('courtCosts', this.getFieldFromString(chargeFields[10].description));\r\n this.offenseCountFormControl.setValueByControlName('jailTime', this.getFieldFromString(chargeFields[11].description));\r\n this.offenseCountFormControl.setValueByControlName('prisonTime', this.getFieldFromString(chargeFields[12].description));\r\n this.offenseCountFormControl.setValueByControlName('suspensionTime', this.getFieldFromString(chargeFields[13].description));\r\n this.offenseCountFormControl.setValueByControlName('nextCourtDate', this.getFieldFromString(chargeFields[14].description));\r\n this.offenseCountFormControl.setValueByControlName('otherSentenceNotes', this.getFieldFromString(chargeFields[15].description));\r\n this.offenseCountFormControl.setValueByControlName('noDispositionReason', this.getFieldFromString(chargeFields[16].description));\r\n this.offenseCountFormControl.setValueByControlName('noArrestDateReason', this.getFieldFromString(chargeFields[17].description));\r\n this.offenseCountFormControl.setValueByControlName('noFileDateReason', this.getFieldFromString(chargeFields[18].description));\r\n this.offenseCountFormControl.setValueByControlName('noOffenseDateReason', this.getFieldFromString(chargeFields[19].description));\r\n this.offenseCountFormControl.setValueByControlName('chargeStatute', this.getFieldFromString(chargeFields[20].description));\r\n };\r\n OffenseCountsComponent.prototype.getFieldFromString = function (description) {\r\n return description.substring(description.indexOf(': ') + 2);\r\n };\r\n OffenseCountsComponent.prototype.camelCaseToString = function (s) {\r\n return s.split(/(?=[A-Z])/).join(' ');\r\n };\r\n OffenseCountsComponent.prototype.removeSpaces = function (s) {\r\n return s.replace(' ', '');\r\n };\r\n OffenseCountsComponent.prototype.setOddAndEventClass = function (charges) {\r\n var uniqueIndexes = charges.map(function (c) { return c.index; }).filter(function (value, index, self) {\r\n return self.indexOf(value) === index;\r\n });\r\n var odd = true;\r\n var _loop_1 = function (index) {\r\n var indexGroupCharge = charges.filter(function (c) { return c.index === index; });\r\n for (var _i = 0, indexGroupCharge_1 = indexGroupCharge; _i < indexGroupCharge_1.length; _i++) {\r\n var charge = indexGroupCharge_1[_i];\r\n charge.cssClass = odd ? 'odd-background-charge' : 'even-background-charge';\r\n }\r\n odd = !odd;\r\n };\r\n for (var _i = 0, uniqueIndexes_1 = uniqueIndexes; _i < uniqueIndexes_1.length; _i++) {\r\n var index = uniqueIndexes_1[_i];\r\n _loop_1(index);\r\n }\r\n return charges;\r\n };\r\n OffenseCountsComponent.prototype.createChargeOptions = function () {\r\n if (this.chargeIndex > 0) {\r\n this.chargeIndex = 0;\r\n this.convictedChargeOptions.length = 0;\r\n this.otherNonConvictionChargeOptions.length = 0;\r\n this.pendingChargeOptions.length = 0;\r\n this.completeDeferralChargeOptions.length = 0;\r\n this.completeDeferralChargeOptions.length = 0;\r\n }\r\n this.convictedChargeOptions = this.getChargesByChargeType(chargeType_1.ChargeType.Convicted);\r\n this.otherNonConvictionChargeOptions = this.getChargesByChargeType(chargeType_1.ChargeType.OtherNonConviction);\r\n this.pendingChargeOptions = this.getChargesByChargeType(chargeType_1.ChargeType.Pending);\r\n this.completeDeferralChargeOptions = this.getChargesByChargeType(chargeType_1.ChargeType.CompleteDeferral);\r\n this.activeDeferralChargeOptions = this.getChargesByChargeType(chargeType_1.ChargeType.ActiveDeferral);\r\n };\r\n OffenseCountsComponent.prototype.getAllChargesOptions = function () {\r\n var charges = this.convictedChargeOptions.concat(this.activeDeferralChargeOptions);\r\n charges = charges.concat(this.completeDeferralChargeOptions);\r\n charges = charges.concat(this.otherNonConvictionChargeOptions);\r\n charges = charges.concat(this.pendingChargeOptions);\r\n return charges;\r\n };\r\n OffenseCountsComponent.prototype.getChargesByChargeType = function (chargeType) {\r\n var charges = this.hasCharges\r\n ? this.offenseRecord.charges.filter(function (c) { return c.chargeType === chargeType; })\r\n : new Array();\r\n return this.setOddAndEventClass(this.getFieldsForCharges(charges));\r\n };\r\n OffenseCountsComponent.prototype.getFieldsForCharges = function (charges) {\r\n var options = new Array();\r\n for (var _i = 0, charges_1 = charges; _i < charges_1.length; _i++) {\r\n var charge = charges_1[_i];\r\n options = options.concat(this.getFieldsForCharge(charge));\r\n }\r\n return options;\r\n };\r\n OffenseCountsComponent.prototype.createChargeOption = function (description, charge, index) {\r\n return {\r\n class: '',\r\n selectedCssClass: 'selected-charge',\r\n selected: false,\r\n description: description,\r\n charge: charge,\r\n index: index\r\n };\r\n };\r\n Object.defineProperty(OffenseCountsComponent.prototype, \"hasCharges\", {\r\n get: function () {\r\n return this.offenseRecord !== null && this.offenseRecord !== undefined\r\n && this.offenseRecord.charges !== null && this.offenseRecord.charges !== undefined\r\n && this.offenseRecord.charges.length > 0;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseCountsComponent.prototype.updateOptionFieldsForCharge = function (fieldOptions, charge) {\r\n fieldOptions[0].description = \"Count: \" + charge.count;\r\n fieldOptions[1].description = \"Level: \" + this.camelCaseToString(chargeLevels_1.ChargeLevel[charge.chargeLevel]);\r\n fieldOptions[2].description = \"Offense: \" + charge.offense;\r\n fieldOptions[3].description = \"Disposition: \" + charge.disposition;\r\n fieldOptions[4].description = \"Offense Date: \" + (charge.offenseDate == null ? '' : this.convertToDateFormat(charge.offenseDate));\r\n fieldOptions[5].description = \"File Date: \" + (charge.fileDate == null ? '' : this.convertToDateFormat(charge.fileDate));\r\n fieldOptions[6].description = \"Arrest Date: \" + (charge.arrestDate == null ? '' : this.convertToDateFormat(charge.arrestDate));\r\n fieldOptions[7].description = \"Disposition Date: \" + (charge.dispositionDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.dispositionDate));\r\n fieldOptions[8].description = \"Probation: \" + (charge.probation == null ? '' : charge.probation);\r\n fieldOptions[9].description = \"Fines: \" + (charge.fines == null ? '' : charge.fines);\r\n fieldOptions[10].description = \"Court Costs: \" + (charge.courtCost == null ? '' : charge.courtCost);\r\n fieldOptions[11].description = \"Jail Time: \" + (charge.jailTime == null ? '' : charge.jailTime);\r\n fieldOptions[12].description = \"Prison Time: \" + (charge.prisonTime == null ? '' : charge.prisonTime);\r\n fieldOptions[13].description = \"Suspension Time: \" + (charge.suspensionTime == null ? '' : charge.suspensionTime);\r\n fieldOptions[14].description = \"Next Court Date: \" + (charge.nextCourtDate == null ? '' : this.convertToDateFormat(charge.nextCourtDate));\r\n fieldOptions[15].description = \"Other Sentencing Notes: \" + (charge.otherSentenceNotes == null ? '' : charge.otherSentenceNotes);\r\n fieldOptions[16].description = \"NoDispDateReason: \" + (charge.noDispositionReason == null ? '' : charge.noDispositionReason);\r\n fieldOptions[17].description = \"NoArrestDateReason: \" + (charge.noFileDateReason == null ? '' : charge.noArrestDateReason);\r\n fieldOptions[18].description = \"NoFileDateReason: \" + (charge.noFileDateReason == null ? '' : charge.noFileDateReason);\r\n fieldOptions[19].description = \"NoOffenseDateReason: \" + (charge.noOffenseDateReason == null ? '' : charge.noOffenseDateReason);\r\n fieldOptions[20].description = \"Charge Statute: \" + (charge.chargeStatute == null ? '' : charge.chargeStatute);\r\n };\r\n OffenseCountsComponent.prototype.getFieldsForCharge = function (charge) {\r\n var options = new Array();\r\n var chargeIndex = this.getNewChargeIndex();\r\n options.push(this.createChargeOption(\"Count: \" + charge.count, charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Level: \" + this.camelCaseToString(chargeLevels_1.ChargeLevel[charge.chargeLevel]), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Offense: \" + charge.offense, charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Disposition: \" + charge.disposition, charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Offense Date: \" + (charge.offenseDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.offenseDate)), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"File Date: \" + (charge.fileDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.fileDate)), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Arrest Date: \" + (charge.arrestDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.arrestDate)), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Disposition Date: \" + (charge.dispositionDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.dispositionDate)), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Probation: \" + (charge.probation == null ? '' : charge.probation), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Fines: \" + (charge.fines == null ? '' : charge.fines), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Court Costs: \" + (charge.courtCost == null ? '' : charge.courtCost), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Jail Time: \" + (charge.jailTime == null ? '' : charge.jailTime), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Prison Time: \" + (charge.prisonTime == null ? '' : charge.prisonTime), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Suspension Time: \" + (charge.suspensionTime == null\r\n ? ''\r\n : charge.suspensionTime), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Next Court Date: \" + (charge.nextCourtDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.nextCourtDate)), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Other Sentencing Notes: \" + (charge.otherSentenceNotes == null\r\n ? ''\r\n : charge.otherSentenceNotes), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"NoDispDateReason: \" + (charge.noDispositionReason == null\r\n ? ''\r\n : charge.noDispositionReason), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"NoArrestDateReason: \" + (charge.noArrestDateReason == null\r\n ? ''\r\n : charge.noArrestDateReason), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"NoFileDateReason: \" + (charge.noFileDateReason == null\r\n ? ''\r\n : charge.noFileDateReason), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"NoOffenseDateReason: \" + (charge.noOffenseDateReason == null\r\n ? ''\r\n : charge.noOffenseDateReason), charge, chargeIndex));\r\n options.push(this.createChargeOption(\"Charge Statute: \" + (charge.chargeStatute == null\r\n ? ''\r\n : charge.chargeStatute), charge, chargeIndex));\r\n return options;\r\n };\r\n OffenseCountsComponent.prototype.convertToDateFormat = function (date, baseCentury) {\r\n if (baseCentury === void 0) { baseCentury = 2000; }\r\n return new dateHandler_1.default(date, baseCentury).format();\r\n };\r\n OffenseCountsComponent.prototype.getNewChargeIndex = function () {\r\n return this.chargeIndex++;\r\n };\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_a = typeof offenseRecord_1.default !== \"undefined\" && offenseRecord_1.default) === \"function\" && _a || Object),\r\n __metadata(\"design:paramtypes\", [typeof (_b = typeof offenseRecord_1.default !== \"undefined\" && offenseRecord_1.default) === \"function\" && _b || Object])\r\n ], OffenseCountsComponent.prototype, \"offenseRecordObject\", null);\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_c = typeof sentenceLevel_1.SentenceLevel !== \"undefined\" && sentenceLevel_1.SentenceLevel) === \"function\" && _c || Object),\r\n __metadata(\"design:paramtypes\", [typeof (_d = typeof sentenceLevel_1.SentenceLevel !== \"undefined\" && sentenceLevel_1.SentenceLevel) === \"function\" && _d || Object])\r\n ], OffenseCountsComponent.prototype, \"sentenceLevelObject\", null);\r\n __decorate([\r\n core_1.Output(),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseCountsComponent.prototype, \"updateOffenseDates\", void 0);\r\n __decorate([\r\n core_1.Output(),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseCountsComponent.prototype, \"updateToCurrentRecordCharges\", void 0);\r\n OffenseCountsComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-offense-counts',\r\n template: __webpack_require__(\"./src/app/offenseCounts/offenseCounts.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/offenseCounts/offenseCounts.component.scss\")],\r\n providers: []\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_e = typeof forms_1.FormBuilder !== \"undefined\" && forms_1.FormBuilder) === \"function\" && _e || Object])\r\n ], OffenseCountsComponent);\r\n return OffenseCountsComponent;\r\n var _a, _b, _c, _d, _e;\r\n}());\r\nexports.default = OffenseCountsComponent;\r\n//# sourceMappingURL=offenseCounts.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/offenseHelp/offenseHelp.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n\\r\\n

Offense Entry Page Explanation

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

Purpose of the Offense Entry Page:

\\r\\n

\\r\\n To allow entry of Offense and charge information and history as it relates to the selected Request.\\r\\n

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

Explanation of Search Information

\\r\\n

\\r\\n This section displays the information that can be used for searching for background information\\r\\n

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

Jurisdiction

\\r\\n

\\r\\n The country/courthouse that will be searched.\\r\\n

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

Search Dates

\\r\\n

\\r\\n The date range that will be used for the search.\\r\\n

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

Name

\\r\\n

\\r\\n The name to use for the search\\r\\n

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

DOB, SSN, and Address

\\r\\n

\\r\\n The applicants personal information as listed on the Application/Resume for use in the background search.\\r\\n

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

Explanation of Offense Entry Section

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

Identifiers

\\r\\n

\\r\\n Select the identifiers used in the search ... at lease one identifier must be ordered before the offense can be saved.\\r\\n

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

Additional Information being faxed

\\r\\n

\\r\\n This will be selected only when additional information has been faxed to GIS pertaining to the current offense.\\r\\n

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

Name as listed in the court house

\\r\\n

\\r\\n This will be the name of the individual being researched ... as listed in the Court House records.\\r\\n

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

Court Case/Ref Nbr.

\\r\\n

\\r\\n The number that is noted as a Case Number or Reference Number associated with the offense being entered.\\r\\n

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

Offense Date

\\r\\n

\\r\\n The date the offense occurred\\r\\n

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

File Date

\\r\\n

\\r\\n The date the offense information was filed\\r\\n

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

Explanation of Count/Charge Entry

\\r\\n

\\r\\n This section is used to enter the convicted and non-convicted count/charge description and disposition detail information\\r\\n

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

Count/Charge

\\r\\n

\\r\\n Description of the count/charge as stated in the court records\\r\\n

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

Disposition

\\r\\n

\\r\\n Description of the outcome of the count/charge as stated in the court records\\r\\n

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

Additional Comments

\\r\\n

\\r\\n Any comments that would need to be maintained for this offense would be entered here.\\r\\n

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

Functions available in the Count/Charge Sections

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

Convicted

\\r\\n

\\r\\n When this is selected, it will take the Count/Charge description and Disposition and place them into the\\r\\n Convicted charges associated with this offense container. *Note: A count/charge description is required\\r\\n to Add a convicted item to the container.\\r\\n

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

NotConvicted

\\r\\n

\\r\\n When this is selected, it will take the Count/Charge description and Disposition and place them into\\r\\n the Charges not leading to a conviction associated with this offense.\\r\\n

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

Updated

\\r\\n

\\r\\n A count/charge is selected from one of the containers (either the convicted or not-convicted container)\\r\\n the selection will populate in the appropriate entry field. Updates are made to the data and then the\\r\\n Updated push-button is selected. It will update the information and place it back into the appropriate container.\\r\\n

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

Delete

\\r\\n

\\r\\n A count/charge is selected from one of the containers (either the convicted or not-convicted container) the\\r\\n selection will populate in the appropriate entry field. The delete push-button is selected, a confirmation\\r\\n message will appear and if OK is selected the count/charge will be deleted.\\r\\n

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

Clear Entry Field

\\r\\n

\\r\\n When this is selected, any entry (or) changes in the Count/Charges description and disposition field will be cleared.\\r\\n Any changes would be discarded.\\r\\n

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

Functions available on the Offense Entry Page:

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

Save Offense:

\\r\\n

\\r\\n When selected, this will save the information that has been entered on the Offense Entry Page\\r\\n

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

Add New Offense:

\\r\\n

\\r\\n When selected, this will display an empty offense page for new entry\\r\\n

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

Work Order Complete:

\\r\\n

\\r\\n When selected, this will save the information currently entered on the Offense page, mark the status of the Work Order (Request)\\r\\n as Complete\\r\\n

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

Communication Log:

\\r\\n

\\r\\n When selected, this will display a new window that communication could be entered in ... this would be when the\\r\\n external researcher has questions regarding the request that need to be reviewed by our internal staff. Our internal\\r\\n staff would also save communication on this page. (i.e. a response to the external researcher)\\r\\n

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

Open Task List:

\\r\\n

\\r\\n When select, this will close the current window (with a confirmation first) and then open the Work Order Task List.\\r\\n

\\r\\n\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/offenseHelp/offenseHelp.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h1{-ms-flex-line-pack:center;align-content:center;text-align:center;font-size:2.2rem;font-family:Verdana,Tahoma,Arial;padding-left:1.2rem}h2{text-decoration:underline;margin-bottom:2rem}h2,h3{font-size:1.2rem;font-family:Verdana,Tahoma,Arial;padding-left:1.2rem}h3{padding-bottom:0;margin-bottom:0}p{margin-bottom:2rem;font-family:Verdana,Tahoma,Arial;padding-left:1.2rem;padding-top:0;margin-top:0}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/offenseHelp/offenseHelp.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar OffenseHelpComponent = (function () {\r\n function OffenseHelpComponent() {\r\n }\r\n OffenseHelpComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-offense-help',\r\n template: __webpack_require__(\"./src/app/offenseHelp/offenseHelp.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/offenseHelp/offenseHelp.component.scss\")],\r\n providers: []\r\n })\r\n ], OffenseHelpComponent);\r\n return OffenseHelpComponent;\r\n}());\r\nexports.default = OffenseHelpComponent;\r\n//# sourceMappingURL=offenseHelp.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/offenseRecord/offenseRecord.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n\\r\\n
\\r\\n RECORD INFORMATION\\r\\n
\\r\\n Current Record Number: {{ currentRecord }}\\r\\n Total Records Entered and Saved for this Request: {{ totalRecords }}\\r\\n
\\r\\n
\\r\\n \\r\\n First\\r\\n \\r\\n \\r\\n First\\r\\n \\r\\n \\r\\n Previous\\r\\n \\r\\n \\r\\n Previous\\r\\n \\r\\n \\r\\n Next\\r\\n \\r\\n \\r\\n Next\\r\\n \\r\\n \\r\\n Last\\r\\n \\r\\n \\r\\n Last\\r\\n \\r\\n \\r\\n Add New Record\\r\\n \\r\\n \\r\\n Add New Record\\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 Select Identifiers using Standard Rules.\\r\\n \\r\\n \\r\\n Select Identifiers using Heightened Rules.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Cannot have DOB identifier if you choose DOB not listed on record. You must pick either Full DOB or Partial DOB.\\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 \\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 Court Name is required.\\r\\n \\r\\n \\r\\n Court Name can only be a max of 60 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n CourtCase/Ref.Nbr is required.\\r\\n \\r\\n \\r\\n CourtCase/Ref.Nbr can only be a max of 25 characters.\\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\\r\\n
\\r\\n \\r\\n DOB is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Partial DOB must have at least a valid month day or year.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Cannot have DOB identifier if you choose DOB not listed on record. You must pick either Full DOB or Partial DOB.\\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
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense, Disposition or File Date is required on at least one of the COUNTS/OFFENSES.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than file date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have Offense Date at Record Level and Charge Level.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have File Date at Record Level and Charge Level.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have Arrest Date at Record Level and Charge Level.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have Disposition Date at Record Level and Charge Level.\\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
\\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 Probation can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Fines can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Court Costs can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Jail Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Prison Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Suspension Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Next Court Date is required in format mm/dd/yy or mm/dd/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
\\r\\n\\r\\n
\\r\\n \\r\\n Comments can only be a max of 3000 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Other Sentence Notes can only be a max of 5000 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/offenseRecord/offenseRecord.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}section:first-child{-webkit-box-sizing:border-box;box-sizing:border-box}header{background-color:#ccf;color:#000;font-weight:bolder;padding:.5rem .3rem;margin:2rem 0 .4rem 0}header span{display:block;font-weight:400}header div>span:first-of-type{padding-bottom:.25rem}header>span:first-of-type{font-weight:inherit;margin-left:1rem}header a{padding-left:2rem}header a:last-of-type{margin-right:1rem}section{margin-bottom:3rem}a:link,a:visited{color:#0066cb;font-weight:400}mark{color:red;background-color:inherit}label,span{font-weight:700}a.disabled{pointer-events:none;cursor:default}a.active{pointer-events:auto;cursor:pointer}.validation{-ms-flex-line-pack:center;align-content:center;text-align:center}.validation span{font-weight:400;color:red;display:block}#required-fields-section{margin-bottom:.7rem}#required-fields-section label{color:red}#identifiers-section{margin-top:-1rem}#identifiers-section label{margin-top:1rem;font-weight:400}#identifiers-section ul{list-style:none;display:inline-block;text-align:center;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}#identifiers-section li{margin-top:1rem;display:inline-block;margin-left:6rem}#identifiers-section>label{font-weight:700}#identifiers-section input{vertical-align:bottom}#record-level-section section:last-child{margin-top:.7rem}#date-of-birth-section{margin-top:1rem}#date-of-birth-section label:first-child{display:block;margin-bottom:.5rem;margin-left:0}#date-of-birth-section div:nth-of-type(n+1){display:inline-block}#date-of-birth-section label{vertical-align:middle;margin-left:1rem}#date-of-birth-section label span{margin-right:.25rem}#charge-meta-data-section{margin-top:-1rem}#charge-meta-data-section div{margin-top:1rem}#comments-and-notes-section{-ms-flex-pack:distribute;justify-content:space-around;margin-top:-1rem}#comments-and-notes-section div,#comments-and-notes-section div:nth-of-type(2){margin-top:1rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/offenseRecord/offenseRecord.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar sentenceLevel_1 = __webpack_require__(\"./src/models/sentenceLevel.ts\");\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar offense_1 = __webpack_require__(\"./src/models/offense.ts\");\r\nvar offenseRecord_1 = __webpack_require__(\"./src/models/offenseRecord.ts\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar dateHandler_1 = __webpack_require__(\"./src/models/dateHandler.ts\");\r\nvar formControl_1 = __webpack_require__(\"./src/models/formControl.ts\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar OffenseRecordComponent = (function () {\r\n function OffenseRecordComponent() {\r\n this.updateToCurrentOffenseRecord = new core_1.EventEmitter();\r\n this.updateCanDeleteCurrentOffenseRecord = new core_1.EventEmitter();\r\n this.updateToCurrentOffenseCharges = new core_1.EventEmitter();\r\n this.currentOffenseRecordIndex = undefined;\r\n this.isNewRecord = false;\r\n }\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"offenseObject\", {\r\n set: function (offense) {\r\n if (offense) {\r\n this.offense = offense;\r\n if (offense.offenseRecords.length > 0) {\r\n this.firstOffense();\r\n }\r\n else {\r\n this.addNewRecord();\r\n }\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"offenseRecordFormGroupObject\", {\r\n set: function (offenseRecordFormGroup) {\r\n this.offenseRecordFormGroup = offenseRecordFormGroup;\r\n this.formControl = new formControl_1.default(this.offenseRecordFormGroup);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"isFirstActive\", {\r\n get: function () {\r\n return this.firstButtonActive;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"isPreviousActive\", {\r\n get: function () {\r\n return this.previousButtonActive;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"isNextActive\", {\r\n get: function () {\r\n return this.nextButtonActive;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"isLastActive\", {\r\n get: function () {\r\n return this.lastButtonActive;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"addNewLastActive\", {\r\n get: function () {\r\n return this.addNewButtonActive;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n // tslint:disable-next-line: use-life-cycle-interface\r\n OffenseRecordComponent.prototype.ngOnChanges = function () {\r\n if (this.offense != null) {\r\n this.hasHeightenedIdentifier = this.offense.offenseSearch.isHeightenedIdentifier;\r\n }\r\n };\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"currentRecord\", {\r\n get: function () {\r\n var currentRecord;\r\n if (this.isNewRecord) {\r\n currentRecord = 'This is a new record that has not been saved.';\r\n }\r\n else if (this.currentOffenseRecordIndex === undefined) {\r\n currentRecord = '0';\r\n }\r\n else {\r\n currentRecord = (this.currentOffenseRecordIndex + 1).toString();\r\n }\r\n return currentRecord;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"totalRecords\", {\r\n get: function () {\r\n return this.hasOffenses ?\r\n (this.isNewRecord ? this.offense.offenseRecords.length - 1\r\n : this.offense.offenseRecords.length).toString() : '0';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseRecordComponent.prototype.formatDate = function (controlName, baseCentury) {\r\n if (!this.formControl.hasErrorByControlName(controlName)) {\r\n var value = this.formControl.getValueByControlName(controlName);\r\n this.formControl.setValueByControlName(controlName, this.convertToDateFormat(value, baseCentury));\r\n }\r\n this.validateDates();\r\n };\r\n OffenseRecordComponent.prototype.firstOffense = function (ignoreMinOffenceRecord, ignoreUnsavedChanges) {\r\n if (ignoreMinOffenceRecord === void 0) { ignoreMinOffenceRecord = false; }\r\n if (ignoreUnsavedChanges === void 0) { ignoreUnsavedChanges = false; }\r\n return __awaiter(this, void 0, void 0, function () {\r\n var save, _a;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n if (!((!this.onMinOffenseRecord || ignoreMinOffenceRecord) && this.hasOffenses)) return [3 /*break*/, 3];\r\n save = true;\r\n _a = !ignoreUnsavedChanges\r\n && this.offenseRecordFormGroup.dirty;\r\n if (!_a) return [3 /*break*/, 2];\r\n return [4 /*yield*/, popupHelper_1.default.saveUnsavedChangesHelper()];\r\n case 1:\r\n _a = (_b.sent()) === alertifyPromise_1.ConfirmResult.Cancel;\r\n _b.label = 2;\r\n case 2:\r\n if (_a) {\r\n save = false;\r\n }\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex = 0;\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n _b.label = 3;\r\n case 3: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseRecordComponent.prototype.previousOffense = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var save, _a;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n if (!(!this.onMinOffenseRecord && this.hasOffenses)) return [3 /*break*/, 3];\r\n save = true;\r\n _a = this.offenseRecordFormGroup.dirty;\r\n if (!_a) return [3 /*break*/, 2];\r\n return [4 /*yield*/, popupHelper_1.default.saveUnsavedChangesHelper()];\r\n case 1:\r\n _a = (_b.sent()) === alertifyPromise_1.ConfirmResult.Cancel;\r\n _b.label = 2;\r\n case 2:\r\n if (_a) {\r\n save = false;\r\n }\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex--;\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n _b.label = 3;\r\n case 3: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseRecordComponent.prototype.nextOffense = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var save, _a;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n if (!(!this.onMaxOffenseRecord && this.hasOffenses)) return [3 /*break*/, 3];\r\n save = true;\r\n _a = this.offenseRecordFormGroup.dirty;\r\n if (!_a) return [3 /*break*/, 2];\r\n return [4 /*yield*/, popupHelper_1.default.saveUnsavedChangesHelper()];\r\n case 1:\r\n _a = (_b.sent()) === alertifyPromise_1.ConfirmResult.Cancel;\r\n _b.label = 2;\r\n case 2:\r\n if (_a) {\r\n save = false;\r\n }\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex++;\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n _b.label = 3;\r\n case 3: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseRecordComponent.prototype.lastOffense = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var save, _a;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n if (!(!this.onMaxOffenseRecord && this.hasOffenses)) return [3 /*break*/, 3];\r\n save = true;\r\n _a = this.offenseRecordFormGroup.dirty;\r\n if (!_a) return [3 /*break*/, 2];\r\n return [4 /*yield*/, popupHelper_1.default.saveUnsavedChangesHelper()];\r\n case 1:\r\n _a = (_b.sent()) === alertifyPromise_1.ConfirmResult.Cancel;\r\n _b.label = 2;\r\n case 2:\r\n if (_a) {\r\n save = false;\r\n }\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex = this.getMaxOffenseRecords();\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n _b.label = 3;\r\n case 3: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseRecordComponent.prototype.addNewRecord = function (ignoreUnsavedChanges) {\r\n if (ignoreUnsavedChanges === void 0) { ignoreUnsavedChanges = false; }\r\n return __awaiter(this, void 0, void 0, function () {\r\n var save, _a, maxOffenceNumber;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n save = true;\r\n _a = !ignoreUnsavedChanges\r\n && this.offenseRecordFormGroup.dirty;\r\n if (!_a) return [3 /*break*/, 2];\r\n return [4 /*yield*/, popupHelper_1.default.saveUnsavedChangesHelper()];\r\n case 1:\r\n _a = (_b.sent()) === alertifyPromise_1.ConfirmResult.Cancel;\r\n _b.label = 2;\r\n case 2:\r\n if (_a) {\r\n save = false;\r\n }\r\n if (save) {\r\n maxOffenceNumber = this.getNewOffenseNumber();\r\n this.currentOffenseRecord = offenseRecord_1.default.createNewOffenseRecord(this.requestNumber, maxOffenceNumber);\r\n this.offense.offenseRecords.push(this.currentOffenseRecord);\r\n this.currentOffenseRecordIndex = this.getMaxOffenseRecords();\r\n this.isNewRecord = true;\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(false);\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseRecordComponent.prototype.setSentenceLevel = function (isUiCalling, changeControlState) {\r\n var hasProbation = this.formControl.hasValueByControlName('probation');\r\n var hasFines = this.formControl.hasValueByControlName('fines');\r\n var hasCourtCosts = this.formControl.hasValueByControlName('courtCosts');\r\n var hasJailTime = this.formControl.hasValueByControlName('jailTime');\r\n var hasPrisonTime = this.formControl.hasValueByControlName('prisonTime');\r\n var hasSuspensionTime = this.formControl.hasValueByControlName('suspensionTime');\r\n var hasNextCourtDate = this.formControl.hasValueByControlName('nextCourtDate');\r\n var hasOtherSentenceNotes = this.formControl.hasValueByControlName('otherSentenceNotes');\r\n var lockSentenceLevel = hasProbation || hasFines || hasCourtCosts || hasJailTime\r\n || hasPrisonTime || hasSuspensionTime || hasNextCourtDate || hasOtherSentenceNotes;\r\n if (!isUiCalling) {\r\n if (lockSentenceLevel) {\r\n this.formControl.setValueByControlName('sentenceLevel', sentenceLevel_1.SentenceLevel.Record.toString());\r\n this.isOffense = false;\r\n }\r\n else {\r\n this.formControl.setValueByControlName('sentenceLevel', sentenceLevel_1.SentenceLevel.Offense.toString());\r\n this.isOffense = true;\r\n }\r\n }\r\n else {\r\n var sentenceLevel = this.formControl.getNumberByControlName('sentenceLevel');\r\n this.isOffense = sentenceLevel === sentenceLevel_1.SentenceLevel.Offense;\r\n }\r\n if (changeControlState) {\r\n if (this.isOffense) {\r\n this.formControl.disableControlByControlName('probation');\r\n this.formControl.disableControlByControlName('fines');\r\n this.formControl.disableControlByControlName('courtCosts');\r\n this.formControl.disableControlByControlName('jailTime');\r\n this.formControl.disableControlByControlName('prisonTime');\r\n this.formControl.disableControlByControlName('suspensionTime');\r\n this.formControl.disableControlByControlName('nextCourtDate');\r\n this.formControl.disableControlByControlName('otherSentenceNotes');\r\n this.formControl.enableControlByControlName('sentenceLevel');\r\n }\r\n else {\r\n this.formControl.enableControlByControlName('probation');\r\n this.formControl.enableControlByControlName('fines');\r\n this.formControl.enableControlByControlName('courtCosts');\r\n this.formControl.enableControlByControlName('jailTime');\r\n this.formControl.enableControlByControlName('prisonTime');\r\n this.formControl.enableControlByControlName('suspensionTime');\r\n this.formControl.enableControlByControlName('nextCourtDate');\r\n this.formControl.enableControlByControlName('otherSentenceNotes');\r\n }\r\n }\r\n if (lockSentenceLevel) {\r\n this.formControl.disableControlByControlName('sentenceLevel');\r\n }\r\n else {\r\n this.formControl.enableControlByControlName('sentenceLevel');\r\n }\r\n };\r\n OffenseRecordComponent.prototype.updateToCurrentRecordCharges = function () {\r\n this.offenseRecordFormGroup.markAsDirty();\r\n this.updateToCurrentOffenseCharges.emit();\r\n };\r\n OffenseRecordComponent.prototype.removeNewRecord = function () {\r\n if (this.isNewRecord) {\r\n this.offense.offenseRecords.pop();\r\n this.isNewRecord = false;\r\n }\r\n };\r\n OffenseRecordComponent.prototype.handleRecordNavigationButtons = function () {\r\n this.firstButtonActive = true;\r\n this.previousButtonActive = true;\r\n this.nextButtonActive = true;\r\n this.lastButtonActive = true;\r\n if (this.currentOffenseRecordIndex === 0) {\r\n this.firstButtonActive = false;\r\n this.previousButtonActive = false;\r\n }\r\n if (this.offense.offenseRecords.length - 1 === this.currentOffenseRecordIndex) {\r\n this.nextButtonActive = false;\r\n this.lastButtonActive = false;\r\n }\r\n this.addNewButtonActive = !this.isNewRecord;\r\n };\r\n OffenseRecordComponent.prototype.validateDates = function () {\r\n var offenseDate = this.formControl.getDateByControlName('offenseDate');\r\n var fileDate = this.formControl.getDateByControlName('fileDate');\r\n var arrestDate = this.formControl.getDateByControlName('arrestDate');\r\n var dispositionDate = this.formControl.getDateByControlName('dispositionDate');\r\n var offenseChargeDates = this.currentOffenseRecord.charges\r\n .filter(function (c) { return c.offenseDate != null; })\r\n .map(function (c) { return c.offenseDate; });\r\n var fileChargeDates = this.currentOffenseRecord.charges\r\n .filter(function (c) { return c.fileDate != null; })\r\n .map(function (c) { return c.fileDate; });\r\n var arrestChargeDates = this.currentOffenseRecord.charges\r\n .filter(function (c) { return c.arrestDate != null; })\r\n .map(function (c) { return c.arrestDate; });\r\n var dispositionChargeDates = this.currentOffenseRecord.charges\r\n .filter(function (c) { return c.dispositionDate != null; })\r\n .map(function (c) { return c.dispositionDate; });\r\n var today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n if (offenseDate !== null && offenseDate > today) {\r\n this.formControl.setValidationErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (fileDate !== null && fileDate > today) {\r\n this.formControl.setValidationErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (arrestDate !== null && arrestDate > today) {\r\n this.formControl.setValidationErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (dispositionDate !== null && dispositionDate > today) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n if (offenseDate !== null && fileDate !== null && offenseDate > fileDate) {\r\n this.formControl.setValidationErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n if (offenseDate !== null && dispositionDate !== null && offenseDate > dispositionDate) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n if (fileDate !== null && dispositionDate !== null && fileDate > dispositionDate) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n }\r\n if (offenseDate !== null && !offenseChargeDates.some(function (c) { return c.getTime() === offenseDate.getTime(); })) {\r\n this.formControl.setValidationErrorByControlName('offenseDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('offenseDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n if (fileDate !== null && !fileChargeDates.some(function (c) { return c.getTime() === fileDate.getTime(); })) {\r\n this.formControl.setValidationErrorByControlName('fileDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('fileDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n if (arrestDate !== null && !arrestChargeDates.some(function (c) { return c.getTime() === arrestDate.getTime(); })) {\r\n this.formControl.setValidationErrorByControlName('arrestDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('arrestDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n if (dispositionDate !== null && !dispositionChargeDates.some(function (c) { return c.getTime() === dispositionDate.getTime(); })) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n };\r\n OffenseRecordComponent.prototype.validateIdentifier = function () {\r\n var hasNameIdentifier = this.formControl.getBooleanByControlName('hasNameIdentifier');\r\n var hasDobIdentifier = this.formControl.getBooleanByControlName('hasDobIdentifier');\r\n var hasSsnIdentifier = this.formControl.getBooleanByControlName('hasSsnIdentifier');\r\n var hasSinIdentifier = this.formControl.getBooleanByControlName('hasSinIdentifier');\r\n var hasAddressIdentifier = this.formControl.getBooleanByControlName('hasAddressIdentifier');\r\n var hasDlnIdentifier = this.formControl.getBooleanByControlName('hasDlnIdentifier');\r\n var dobType = this.formControl.getValueByControlName('dobType');\r\n var isHeightenedIdentifier = this.offense.offenseSearch.isHeightenedIdentifier;\r\n var identifierCount = 0;\r\n if (hasNameIdentifier) {\r\n identifierCount++;\r\n }\r\n if (hasDobIdentifier) {\r\n identifierCount++;\r\n }\r\n if (hasSsnIdentifier) {\r\n identifierCount++;\r\n }\r\n if (hasSinIdentifier) {\r\n identifierCount++;\r\n }\r\n if (hasAddressIdentifier) {\r\n identifierCount++;\r\n }\r\n if (hasDlnIdentifier) {\r\n identifierCount++;\r\n }\r\n if ('no-dob' === dobType && hasDobIdentifier) {\r\n this.formControl.setValidationErrorByControlName('hasIdentifier', 'dobIdentifierWithDobNotListed');\r\n }\r\n else if (isHeightenedIdentifier && identifierCount < 1) {\r\n this.formControl.setValidationErrorByControlName('hasIdentifier', 'hasAdditionalIdentifier');\r\n }\r\n else if (!isHeightenedIdentifier && !hasNameIdentifier && !hasDobIdentifier\r\n && !hasSsnIdentifier && !hasSinIdentifier\r\n && !hasAddressIdentifier && !hasDlnIdentifier) {\r\n this.formControl.setValidationErrorByControlName('hasIdentifier', 'hasIdentifier');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('hasIdentifier', 'hasIdentifier');\r\n }\r\n };\r\n OffenseRecordComponent.prototype.validateDob = function () {\r\n var dobType = this.formControl.getValueByControlName('dobType');\r\n if ('full-dob' === dobType) {\r\n var month = this.formControl.getValueByControlName('month');\r\n var day = this.formControl.getValueByControlName('day');\r\n var year = this.formControl.getValueByControlName('year');\r\n var dob = new dateHandler_1.default(\"\" + month + day + year, 1900);\r\n var monthAndDay = \"\" + month + day;\r\n if (monthAndDay.length !== 4 || !dob.isValid) {\r\n this.formControl.setValidationErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n }\r\n else {\r\n this.formControl.setValueByControlName('year', dob.year);\r\n this.formControl.clearValidatorErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n }\r\n }\r\n else if ('partial-dob' === dobType) {\r\n var month = this.formControl.getValueByControlName('month');\r\n var day = this.formControl.getValueByControlName('day');\r\n var year = this.formControl.getValueByControlName('year');\r\n if (((month.length > 0 && !month.match(/^-?\\d+$/))\r\n || (day.length > 0 && !day.match(/^-?\\d+$/))\r\n || (year.length > 0 && !year.match(/^-?\\d+$/)))\r\n || month.length === 0 && day.length === 0 && year.length === 0) {\r\n this.formControl.setValidationErrorByControlName('partialDobValidator', 'isPartialDate');\r\n }\r\n else {\r\n this.formControl.clearValidatorErrorByControlName('partialDobValidator', 'isPartialDate');\r\n }\r\n }\r\n this.validateIdentifier();\r\n };\r\n OffenseRecordComponent.prototype.checkIfDisableDob = function () {\r\n var dobType = this.formControl.getValueByControlName('dobType');\r\n if ('no-dob' === dobType) {\r\n this.formControl.setValueByControlName('month', '');\r\n this.formControl.setValueByControlName('day', '');\r\n this.formControl.setValueByControlName('year', '');\r\n this.formControl.getControlByControlName('month').disable();\r\n this.formControl.getControlByControlName('day').disable();\r\n this.formControl.getControlByControlName('year').disable();\r\n this.formControl.clearValidatorErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n this.formControl.clearValidatorErrorByControlName('partialDobValidator', 'isPartialDate');\r\n }\r\n else if ('full-dob' === dobType) {\r\n this.formControl.getControlByControlName('month').enable();\r\n this.formControl.getControlByControlName('day').enable();\r\n this.formControl.getControlByControlName('year').enable();\r\n this.validateDob();\r\n this.formControl.clearValidatorErrorByControlName('partialDobValidator', 'isPartialDate');\r\n this.formControl.clearValidatorErrorByControlName('hasIdentifier', 'dobIdentifierWithDobNotListed');\r\n }\r\n else {\r\n this.formControl.getControlByControlName('month').enable();\r\n this.formControl.getControlByControlName('day').enable();\r\n this.formControl.getControlByControlName('year').enable();\r\n this.validateDob();\r\n this.formControl.clearValidatorErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n this.formControl.clearValidatorErrorByControlName('hasIdentifier', 'dobIdentifierWithDobNotListed');\r\n }\r\n this.validateIdentifier();\r\n };\r\n OffenseRecordComponent.prototype.updateOffenseDates = function (offenseDates) {\r\n this.formControl.setValueByControlName('offenseDate', offenseDates.offenseDate);\r\n this.formControl.setValueByControlName('fileDate', offenseDates.fileDate);\r\n this.formControl.setValueByControlName('arrestDate', offenseDates.arrestDate);\r\n this.formControl.setValueByControlName('dispositionDate', offenseDates.dispositionDate);\r\n this.validateDates();\r\n };\r\n OffenseRecordComponent.prototype.saveCompletedSuccessfully = function () {\r\n this.isNewRecord = false;\r\n this.handleRecordNavigationButtons();\r\n this.updateCurrentOffense();\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n };\r\n OffenseRecordComponent.prototype.deleteSuccessfully = function () {\r\n if (this.offense.offenseRecords.length > 0) {\r\n this.firstOffense(true, true);\r\n }\r\n else {\r\n this.addNewRecord(true);\r\n }\r\n };\r\n OffenseRecordComponent.prototype.setFocusForDobMismatch = function () {\r\n this.dobMonthElement.nativeElement.focus();\r\n };\r\n OffenseRecordComponent.prototype.updateFormControls = function () {\r\n this.formControl.setValueByControlName('hasNameIdentifier', this.currentOffenseRecord.hasNameIdentifier);\r\n this.formControl.setValueByControlName('hasDobIdentifier', this.currentOffenseRecord.hasDobIdentifier);\r\n this.formControl.setValueByControlName('hasSsnIdentifier', this.currentOffenseRecord.hasSsnIdentifier);\r\n this.formControl.setValueByControlName('hasSinIdentifier', this.currentOffenseRecord.hasSinIdentifier);\r\n this.formControl.setValueByControlName('hasAddressIdentifier', this.currentOffenseRecord.hasAddressIdentifier);\r\n this.formControl.setValueByControlName('hasDlnIdentifier', this.currentOffenseRecord.hasDlnIdentifier);\r\n this.validateIdentifier();\r\n this.formControl.setValueByControlName('hasFaxInformation', this.currentOffenseRecord.hasFaxInformation);\r\n this.formControl.setValueByControlName('courtRecordedFullName', this.currentOffenseRecord.courtRecordFullName);\r\n this.formControl.setValueByControlName('nameDiffers', this.currentOffenseRecord.nameDiffers);\r\n this.formControl.setValueByControlName('referenceNumber', this.currentOffenseRecord.referenceNumber);\r\n if (this.currentOffenseRecord.hasPartialDobIdentifier) {\r\n this.formControl.setValueByControlName('dobType', 'partial-dob');\r\n this.formControl.setValueByControlName('month', this.currentOffenseRecord.partialMonth);\r\n this.formControl.setValueByControlName('day', this.currentOffenseRecord.partialDay);\r\n this.formControl.setValueByControlName('year', this.currentOffenseRecord.partialYear);\r\n }\r\n else if (this.currentOffenseRecord.hasNoDobIdentifier) {\r\n this.formControl.setValueByControlName('dobType', 'no-dob');\r\n }\r\n else {\r\n this.formControl.setValueByControlName('dobType', 'full-dob');\r\n var dob = new dateHandler_1.default(this.currentOffenseRecord.courtRecordDob, 1900);\r\n this.formControl.setValueByControlName('month', dob.month);\r\n this.formControl.setValueByControlName('day', dob.day);\r\n this.formControl.setValueByControlName('year', dob.year);\r\n }\r\n this.checkIfDisableDob();\r\n this.formControl.setValueByControlName('offenseDate', this.convertToDateFormat(this.currentOffenseRecord.offenseDate, 2000));\r\n this.formControl.setValueByControlName('fileDate', this.convertToDateFormat(this.currentOffenseRecord.fileDate, 2000));\r\n this.formControl.setValueByControlName('arrestDate', this.convertToDateFormat(this.currentOffenseRecord.arrestDate, 2000));\r\n this.formControl.setValueByControlName('dispositionDate', this.convertToDateFormat(this.currentOffenseRecord.dispositionDate, 2000));\r\n this.validateDates();\r\n this.formControl.setValueByControlName('probation', this.currentOffenseRecord.probation);\r\n this.formControl.setValueByControlName('fines', this.currentOffenseRecord.fines);\r\n this.formControl.setValueByControlName('courtCosts', this.currentOffenseRecord.courtCosts);\r\n this.formControl.setValueByControlName('jailTime', this.currentOffenseRecord.jailTime);\r\n this.formControl.setValueByControlName('prisonTime', this.currentOffenseRecord.prisonTime);\r\n this.formControl.setValueByControlName('suspensionTime', this.currentOffenseRecord.suspensionTime);\r\n this.formControl.setValueByControlName('nextCourtDate', this.convertToDateFormat(this.currentOffenseRecord.nextCourtDate, 2000));\r\n this.formControl.setValueByControlName('comments', this.currentOffenseRecord.comments);\r\n this.formControl.setValueByControlName('otherSentenceNotes', this.currentOffenseRecord.otherSentenceNotes);\r\n this.handleRecordNavigationButtons();\r\n this.setSentenceLevel(false, true);\r\n };\r\n OffenseRecordComponent.prototype.updateCurrentOffense = function () {\r\n if (this.currentOffenseRecordIndex !== undefined) {\r\n this.currentOffenseRecord.hasNameIdentifier = this.formControl.getBooleanByControlName('hasNameIdentifier');\r\n this.currentOffenseRecord.hasDobIdentifier = this.formControl.getBooleanByControlName('hasDobIdentifier');\r\n this.currentOffenseRecord.hasSsnIdentifier = this.formControl.getBooleanByControlName('hasSsnIdentifier');\r\n this.currentOffenseRecord.hasSinIdentifier = this.formControl.getBooleanByControlName('hasSinIdentifier');\r\n this.currentOffenseRecord.hasAddressIdentifier = this.formControl.getBooleanByControlName('hasAddressIdentifier');\r\n this.currentOffenseRecord.hasDlnIdentifier = this.formControl.getBooleanByControlName('hasDlnIdentifier');\r\n this.currentOffenseRecord.hasFaxInformation = this.formControl.getBooleanByControlName('hasFaxInformation');\r\n this.currentOffenseRecord.courtRecordFullName = this.formControl.getValueByControlName('courtRecordedFullName');\r\n this.currentOffenseRecord.nameDiffers = this.formControl.getBooleanByControlName('nameDiffers');\r\n this.currentOffenseRecord.referenceNumber = this.formControl.getValueByControlName('referenceNumber');\r\n var dobType = this.formControl.getValueByControlName('dobType');\r\n this.currentOffenseRecord.hasNoDobIdentifier = 'no-dob' === dobType;\r\n this.currentOffenseRecord.hasPartialDobIdentifier = 'partial-dob' === dobType;\r\n if ('partial-dob' === dobType || 'full-dob' === dobType) {\r\n var month = this.formControl.getValueByControlName('month');\r\n var day = this.formControl.getValueByControlName('day');\r\n var year = this.formControl.getValueByControlName('year');\r\n if (this.currentOffenseRecord.hasPartialDobIdentifier) {\r\n this.currentOffenseRecord.partialMonth = month;\r\n this.currentOffenseRecord.partialDay = day;\r\n this.currentOffenseRecord.partialYear = year;\r\n }\r\n else {\r\n this.currentOffenseRecord.courtRecordDob = new Date(month + \"/\" + day + \"/\" + year);\r\n }\r\n }\r\n this.currentOffenseRecord.offenseDate = new Date(this.formControl.getValueByControlName('offenseDate'));\r\n this.currentOffenseRecord.fileDate = new Date(this.formControl.getValueByControlName('fileDate'));\r\n this.currentOffenseRecord.arrestDate = new Date(this.formControl.getValueByControlName('arrestDate'));\r\n this.currentOffenseRecord.dispositionDate = new Date(this.formControl.getValueByControlName('dispositionDate'));\r\n this.currentOffenseRecord.probation = this.formControl.getValueByControlName('probation');\r\n this.currentOffenseRecord.fines = this.formControl.getValueByControlName('fines');\r\n this.currentOffenseRecord.courtCosts = this.formControl.getValueByControlName('courtCosts');\r\n this.currentOffenseRecord.jailTime = this.formControl.getValueByControlName('jailTime');\r\n this.currentOffenseRecord.prisonTime = this.formControl.getValueByControlName('prisonTime');\r\n this.currentOffenseRecord.suspensionTime = this.formControl.getValueByControlName('suspensionTime');\r\n this.currentOffenseRecord.nextCourtDate = new Date(this.formControl.getValueByControlName('nextCourtDate'));\r\n this.currentOffenseRecord.comments = this.formControl.getValueByControlName('comments');\r\n this.currentOffenseRecord.otherSentenceNotes = this.formControl.getValueByControlName('otherSentenceNotes');\r\n }\r\n };\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"onMinOffenseRecord\", {\r\n get: function () {\r\n return this.hasOffenses && this.currentOffenseRecordIndex === 0;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"onMaxOffenseRecord\", {\r\n get: function () {\r\n return this.hasOffenses && this.currentOffenseRecordIndex >= this.offense.offenseRecords.length - 1;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseRecordComponent.prototype.getMaxOffenseRecords = function () {\r\n return this.hasOffenses ? this.offense.offenseRecords.length - 1 : null;\r\n };\r\n OffenseRecordComponent.prototype.getNewOffenseNumber = function () {\r\n var offenseNumber = 1;\r\n if (this.hasOffenses && this.offense.offenseRecords.length > 0) {\r\n offenseNumber = Math.max.apply(Math, this.offense.offenseRecords.map(function (or) { return or.offenseNumber; })) + 1;\r\n }\r\n return offenseNumber;\r\n };\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasOffenses\", {\r\n get: function () {\r\n return this.offense !== null && this.offense !== undefined && this.offense !== null && this.offense.offenseRecords !== undefined;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseRecordComponent.prototype.convertToDateFormat = function (date, baseCentury) {\r\n return new dateHandler_1.default(date, baseCentury).format();\r\n };\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"sentenceLevel\", {\r\n get: function () { return this.offenseRecordFormGroup.get('sentenceLevel'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasIdentifier\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasIdentifier'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasNameIdentifier\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasNameIdentifier'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasDobIdentifier\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasDobIdentifier'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasSsnIdentifier\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasSsnIdentifier'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasSinIdentifier\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasSinIdentifier'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasAddressIdentifier\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasAddressIdentifier'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasDlnIdentifier\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasDlnIdentifier'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"courtRecordedFullName\", {\r\n get: function () { return this.offenseRecordFormGroup.get('courtRecordedFullName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"nameDiffers\", {\r\n get: function () { return this.offenseRecordFormGroup.get('nameDiffers'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"referenceNumber\", {\r\n get: function () { return this.offenseRecordFormGroup.get('referenceNumber'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"dobType\", {\r\n get: function () { return this.offenseRecordFormGroup.get('dobType'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"month\", {\r\n get: function () { return this.offenseRecordFormGroup.get('month'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"day\", {\r\n get: function () { return this.offenseRecordFormGroup.get('day'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"year\", {\r\n get: function () { return this.offenseRecordFormGroup.get('year'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"fullDobValidator\", {\r\n get: function () { return this.offenseRecordFormGroup.get('fullDobValidator'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"partialDobValidator\", {\r\n get: function () { return this.offenseRecordFormGroup.get('partialDobValidator'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"offenseDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('offenseDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"fileDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('fileDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"arrestDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('arrestDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"dispositionDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('dispositionDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"hasRequiredDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('hasRequiredDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"offenseDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('offenseDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"fileDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('fileDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"arrestDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('arrestDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"dispositionDateGreaterThanCurrentDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('dispositionDateGreaterThanCurrentDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"fileDateDateOlderThanOffenseDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('fileDateDateOlderThanOffenseDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"dispositionDateOlderThanOffenseDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('dispositionDateOlderThanOffenseDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"dispositionDateOlderThanFileDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('dispositionDateOlderThanFileDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"offenseDateAtRecordAndChargeLevel\", {\r\n get: function () { return this.offenseRecordFormGroup.get('offenseDateAtRecordAndChargeLevel'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"fileDateAtRecordAndChargeLevel\", {\r\n get: function () { return this.offenseRecordFormGroup.get('fileDateAtRecordAndChargeLevel'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"arrestDateAtRecordAndChargeLevel\", {\r\n get: function () { return this.offenseRecordFormGroup.get('arrestDateAtRecordAndChargeLevel'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"dispositionDateAtRecordAndChargeLevel\", {\r\n get: function () { return this.offenseRecordFormGroup.get('dispositionDateAtRecordAndChargeLevel'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"probation\", {\r\n get: function () { return this.offenseRecordFormGroup.get('probation'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"fines\", {\r\n get: function () { return this.offenseRecordFormGroup.get('fines'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"courtCosts\", {\r\n get: function () { return this.offenseRecordFormGroup.get('courtCosts'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"jailTime\", {\r\n get: function () { return this.offenseRecordFormGroup.get('jailTime'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"prisonTime\", {\r\n get: function () { return this.offenseRecordFormGroup.get('prisonTime'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"suspensionTime\", {\r\n get: function () { return this.offenseRecordFormGroup.get('suspensionTime'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"nextCourtDate\", {\r\n get: function () { return this.offenseRecordFormGroup.get('nextCourtDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"comments\", {\r\n get: function () { return this.offenseRecordFormGroup.get('comments'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecordComponent.prototype, \"otherSentenceNotes\", {\r\n get: function () { return this.offenseRecordFormGroup.get('otherSentenceNotes'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n __decorate([\r\n core_1.Output(),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseRecordComponent.prototype, \"updateToCurrentOffenseRecord\", void 0);\r\n __decorate([\r\n core_1.Output(),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseRecordComponent.prototype, \"updateCanDeleteCurrentOffenseRecord\", void 0);\r\n __decorate([\r\n core_1.Output(),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseRecordComponent.prototype, \"updateToCurrentOffenseCharges\", void 0);\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", Number)\r\n ], OffenseRecordComponent.prototype, \"requestNumber\", void 0);\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_a = typeof offense_1.default !== \"undefined\" && offense_1.default) === \"function\" && _a || Object),\r\n __metadata(\"design:paramtypes\", [typeof (_b = typeof offense_1.default !== \"undefined\" && offense_1.default) === \"function\" && _b || Object])\r\n ], OffenseRecordComponent.prototype, \"offenseObject\", null);\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_c = typeof forms_1.FormGroup !== \"undefined\" && forms_1.FormGroup) === \"function\" && _c || Object),\r\n __metadata(\"design:paramtypes\", [typeof (_d = typeof forms_1.FormGroup !== \"undefined\" && forms_1.FormGroup) === \"function\" && _d || Object])\r\n ], OffenseRecordComponent.prototype, \"offenseRecordFormGroupObject\", null);\r\n __decorate([\r\n core_1.ViewChild('dobMonth'),\r\n __metadata(\"design:type\", typeof (_e = typeof core_1.ElementRef !== \"undefined\" && core_1.ElementRef) === \"function\" && _e || Object)\r\n ], OffenseRecordComponent.prototype, \"dobMonthElement\", void 0);\r\n OffenseRecordComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-offense-record',\r\n template: __webpack_require__(\"./src/app/offenseRecord/offenseRecord.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/offenseRecord/offenseRecord.component.scss\")]\r\n })\r\n ], OffenseRecordComponent);\r\n return OffenseRecordComponent;\r\n var _a, _b, _c, _d, _e;\r\n}());\r\nexports.default = OffenseRecordComponent;\r\n//# sourceMappingURL=offenseRecord.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/offenseSearch/offenseSearch.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
SEARCH INFORMATION
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.caseNumber}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.fullName}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n {{offense?.offenseSearch?.address1}},\\r\\n {{offense?.offenseSearch?.city}},\\r\\n {{offense?.offenseSearch?.state}}\\r\\n {{offense?.offenseSearch?.zip}}\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.workState}}\\r\\n (Restricted)\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.dob | date: 'MM/dd/yyyy'}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.socialSecurityNumber}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.licenseNumber}}\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.jurisdiction}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.searchFromDate}} - {{offense?.offenseSearch?.searchToDate}}\\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\";\n\n/***/ }),\n\n/***/ \"./src/app/offenseSearch/offenseSearch.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem .3rem;color:#000;font-weight:bolder;margin:1rem 0 1rem 0}label:not(#admittted-crim-not-found){font-weight:700}button{margin-top:1.5rem;background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:17rem;font-size:1rem;padding-top:.2rem;padding-bottom:.2rem}#first-section div:first-child{margin:.7rem 0}#first-section div:not(:nth-child(-n+1)){margin-top:.3rem}#second-section{margin-top:.7rem;display:table;width:70%}#second-section>div:last-of-type div{padding-top:.7rem;padding-bottom:2rem}#second-section div{display:table-row}#second-section div div{display:table-cell}#second-section div div label{width:15rem;display:inline-block}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/offenseSearch/offenseSearch.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar offense_1 = __webpack_require__(\"./src/models/offense.ts\");\r\nvar offenseService_1 = __webpack_require__(\"./src/services/offenseService.ts\");\r\nvar browserWindowObjectService_1 = __webpack_require__(\"./src/services/browserWindowObjectService.ts\");\r\nvar complianceAuditLogService_1 = __webpack_require__(\"./src/services/complianceAuditLogService.ts\");\r\nvar formControl_1 = __webpack_require__(\"./src/models/formControl.ts\");\r\nvar complianceAuditLog_1 = __webpack_require__(\"./src/models/complianceAuditLog.ts\");\r\nvar OffenseSearchComponent = (function () {\r\n function OffenseSearchComponent(offenseService, complianceAuditLogService, router, browserWindowObjectService) {\r\n this.offenseService = offenseService;\r\n this.complianceAuditLogService = complianceAuditLogService;\r\n this.router = router;\r\n this.browserWindowObjectService = browserWindowObjectService;\r\n this.canWorkOrderComplete = false;\r\n }\r\n OffenseSearchComponent.prototype.ngOnInit = function () {\r\n };\r\n Object.defineProperty(OffenseSearchComponent.prototype, \"offenseObject\", {\r\n set: function (offense) {\r\n if (offense) {\r\n this.offense = offense;\r\n }\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearchComponent.prototype, \"offenseSearchFormGroupObject\", {\r\n set: function (offenseSearchFormGroup) {\r\n this.offenseSearchFormGroup = offenseSearchFormGroup;\r\n this.formControl = new formControl_1.default(this.offenseSearchFormGroup);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseSearchComponent.prototype.workOrderComplete = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var _this = this;\r\n var admittedCrimeNotFound, e_1;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n _a.trys.push([0, 3, , 4]);\r\n admittedCrimeNotFound = this.formControl.getBooleanByControlName('admittedCrimeNotFound');\r\n if (!admittedCrimeNotFound) return [3 /*break*/, 2];\r\n return [4 /*yield*/, this.complianceAuditLogService.addComplianceAuditLogs([\r\n new complianceAuditLog_1.default(this.offense.offenseSearch.requestNumber, 'ADMTTD_CRM_NOT_FND', 'OFFENCEPG', null, null)\r\n ])];\r\n case 1:\r\n _a.sent();\r\n _a.label = 2;\r\n case 2:\r\n this.offenseService.workOrderComplete(this.offense.offenseSearch.requestNumber, admittedCrimeNotFound)\r\n .subscribe(function (object) {\r\n if (object === null) {\r\n _this.router.navigate(['navigation']);\r\n }\r\n });\r\n return [3 /*break*/, 4];\r\n case 3:\r\n e_1 = _a.sent();\r\n return [3 /*break*/, 4];\r\n case 4: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n OffenseSearchComponent.prototype.goBackToTaskList = function () {\r\n this.browserWindowObjectService.goBackOnePage();\r\n };\r\n Object.defineProperty(OffenseSearchComponent.prototype, \"admittedCrimeNotFound\", {\r\n get: function () { return this.offenseSearchFormGroup.get('admittedCrimeNotFound'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_a = typeof offense_1.default !== \"undefined\" && offense_1.default) === \"function\" && _a || Object),\r\n __metadata(\"design:paramtypes\", [typeof (_b = typeof offense_1.default !== \"undefined\" && offense_1.default) === \"function\" && _b || Object])\r\n ], OffenseSearchComponent.prototype, \"offenseObject\", null);\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_c = typeof forms_1.FormGroup !== \"undefined\" && forms_1.FormGroup) === \"function\" && _c || Object),\r\n __metadata(\"design:paramtypes\", [typeof (_d = typeof forms_1.FormGroup !== \"undefined\" && forms_1.FormGroup) === \"function\" && _d || Object])\r\n ], OffenseSearchComponent.prototype, \"offenseSearchFormGroupObject\", null);\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", Object)\r\n ], OffenseSearchComponent.prototype, \"canWorkOrderComplete\", void 0);\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", typeof (_e = typeof forms_1.FormGroup !== \"undefined\" && forms_1.FormGroup) === \"function\" && _e || Object)\r\n ], OffenseSearchComponent.prototype, \"offensePageForm\", void 0);\r\n OffenseSearchComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-offense-search',\r\n template: __webpack_require__(\"./src/app/offenseSearch/offenseSearch.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/offenseSearch/offenseSearch.component.scss\")],\r\n providers: []\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_f = typeof offenseService_1.default !== \"undefined\" && offenseService_1.default) === \"function\" && _f || Object, typeof (_g = typeof complianceAuditLogService_1.default !== \"undefined\" && complianceAuditLogService_1.default) === \"function\" && _g || Object, typeof (_h = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _h || Object, typeof (_j = typeof browserWindowObjectService_1.default !== \"undefined\" && browserWindowObjectService_1.default) === \"function\" && _j || Object])\r\n ], OffenseSearchComponent);\r\n return OffenseSearchComponent;\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j;\r\n}());\r\nexports.default = OffenseSearchComponent;\r\n//# sourceMappingURL=offenseSearch.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/registration/registration.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n

\\r\\n Welcome to the GIS CRIM System.\\r\\n

\\r\\n

\\r\\n Please create an account with the token you were given.\\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 Username to login to the CRIM system.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Username is required.\\r\\n \\r\\n \\r\\n Username must have a minimum of 6 characters.\\r\\n \\r\\n \\r\\n Username can only be a max of 30 characters.\\r\\n \\r\\n \\r\\n Username already exists. Please choose another Username.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n Email Address will be used when sending password resets and any other type of notification.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Must be a valid Email Address.\\r\\n \\r\\n \\r\\n Email Address is required.\\r\\n \\r\\n \\r\\n Email Address can only be a max of 255 characters.\\r\\n \\r\\n \\r\\n Email Address and Username cannot be the same.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n 8-character minimum; case sensitive\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Password is required.\\r\\n \\r\\n \\r\\n Password can only be a max of 60 characters.\\r\\n \\r\\n \\r\\n Password does not meet all validation rules.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n This needs to match the Password you entered.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Confirm Password is required.\\r\\n \\r\\n \\r\\n Confirm Password can only be a max of 60 characters.\\r\\n \\r\\n \\r\\n Confirm Password is not the same as Password.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n First Name is required.\\r\\n \\r\\n \\r\\n First Name can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Middle Name can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Last Name is required.\\r\\n \\r\\n \\r\\n Last Name can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Phone Number can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n This token has been provided to your orangization by GIS and is required when creating an account.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Token is required.\\r\\n \\r\\n \\r\\n Token is not valid.\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n * are required fields\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/registration/registration.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}*{-webkit-box-sizing:border-box;box-sizing:border-box}header,main{margin-bottom:3rem}header{-ms-flex-line-pack:center;align-content:center;text-align:center}mark{color:red;background-color:inherit;padding-left:.2rem}div{width:35%;margin:1rem auto 0 auto}small{font-size:smaller;font-weight:400;margin-top:.4rem;display:inline-block}button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:100%;height:2.7rem}button,label{font-weight:700}input{width:100%;height:2rem;font-size:1.25 rem;margin-top:.3rem}#username-group{margin-top:3rem}#confirm-password-group,#email-address-group,#password-group,#token-group,#username-group{position:relative}.validation{margin:0;width:100%}.validation span{font-weight:400;color:red;margin-top:.5rem;display:block}div.username-sidebar{top:-.1rem}div.email-address-sidebar,div.username-sidebar{right:-31rem;font-size:1.2rem;width:30rem;padding-left:1rem}div.email-address-sidebar{top:-.9rem}div.password-sidebar{top:-3rem;right:-24rem;font-size:1.5rem;width:auto}div.confirm-password-sidebar{top:-.7rem}div.confirm-password-sidebar,div.token-sidebar{right:-31rem;font-size:1.2rem;width:30rem;padding-left:1rem}div.token-sidebar{top:-.8rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/registration/registration.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar registrationCodes_1 = __webpack_require__(\"./src/models/registrationCodes.ts\");\r\nvar registrationService_1 = __webpack_require__(\"./src/services/registrationService.ts\");\r\nvar compareTwoInputsValidator_1 = __webpack_require__(\"./src/validators/compareTwoInputsValidator.ts\");\r\nvar passwordRulesValidator_1 = __webpack_require__(\"./src/validators/passwordRulesValidator.ts\");\r\nvar usernameAlreadyExistValidator_1 = __webpack_require__(\"./src/validators/usernameAlreadyExistValidator.ts\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar RegistrationComponent = (function () {\r\n function RegistrationComponent(router, msgSvc, registrationService, formBuilder) {\r\n this.router = router;\r\n this.msgSvc = msgSvc;\r\n this.registrationService = registrationService;\r\n this.formBuilder = formBuilder;\r\n }\r\n RegistrationComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey();\r\n this.registrationForm = this.formBuilder.group({\r\n token: ['', forms_1.Validators.required],\r\n user: this.formBuilder.group({\r\n userName: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.minLength(6),\r\n forms_1.Validators.maxLength(30),\r\n usernameAlreadyExistValidator_1.default(),\r\n ]\r\n ],\r\n email: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.email,\r\n forms_1.Validators.maxLength(255),\r\n compareTwoInputsValidator_1.default('username', false)\r\n ]\r\n ],\r\n password: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(60),\r\n passwordRulesValidator_1.default()\r\n ]\r\n ],\r\n confirmPassword: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(60),\r\n compareTwoInputsValidator_1.default('password')\r\n ]\r\n ],\r\n firstName: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(255),\r\n ]\r\n ],\r\n middleName: ['', forms_1.Validators.maxLength(255)],\r\n lastName: ['', [\r\n forms_1.Validators.required,\r\n forms_1.Validators.maxLength(255),\r\n ]\r\n ],\r\n phoneNumber: ['', forms_1.Validators.maxLength(255)],\r\n })\r\n });\r\n };\r\n RegistrationComponent.prototype.onSubmit = function () {\r\n var _this = this;\r\n var form = this.registrationForm.value;\r\n var user = Object.assign({}, form.user, { confirmPassword: undefined });\r\n this.registrationService.registerUser(user, form.token)\r\n .subscribe(function (registrationCodes) {\r\n var code = registrationCodes.find(function (rc) { return rc === registrationCodes_1.RegistrationCodes.ok; });\r\n if (code === registrationCodes_1.RegistrationCodes.ok) {\r\n _this.router.navigate(['confirmation']);\r\n }\r\n else {\r\n for (var _i = 0, registrationCodes_2 = registrationCodes; _i < registrationCodes_2.length; _i++) {\r\n var registrationCode = registrationCodes_2[_i];\r\n switch (registrationCode) {\r\n case registrationCodes_1.RegistrationCodes.requireUsername:\r\n _this.setValidationErrorByControlName('token', 'required');\r\n break;\r\n case registrationCodes_1.RegistrationCodes.tokenNotValid:\r\n _this.setValidationErrorByControlName('token', 'tokenNotValid');\r\n break;\r\n case registrationCodes_1.RegistrationCodes.invalidUsername:\r\n case registrationCodes_1.RegistrationCodes.requireUsername:\r\n _this.setValidationErrorByControlName('user.userName', 'required');\r\n break;\r\n case registrationCodes_1.RegistrationCodes.invalidPassword:\r\n case registrationCodes_1.RegistrationCodes.requirePassword:\r\n _this.setValidationErrorByControlName('user.password', 'required');\r\n break;\r\n case registrationCodes_1.RegistrationCodes.invalidFirstName:\r\n _this.setValidationErrorByControlName('user.firstName', 'required');\r\n break;\r\n case registrationCodes_1.RegistrationCodes.invalidLastName:\r\n _this.setValidationErrorByControlName('user.lastName', 'required');\r\n break;\r\n case registrationCodes_1.RegistrationCodes.usernameAlreadyExist:\r\n _this.setValidationErrorByControlName('user.userName', 'usernameAlreadyExist');\r\n break;\r\n case registrationCodes_1.RegistrationCodes.userAndEmailAreTheSame:\r\n _this.setValidationErrorByControlName('user.email', 'compareTwoInputs');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n };\r\n RegistrationComponent.prototype.setBlurById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n };\r\n RegistrationComponent.prototype.setFocusById = function (id) {\r\n var classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n };\r\n RegistrationComponent.prototype.passwordKeyup = function (event) {\r\n var password = event.target.value;\r\n this.checkLength(password);\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'password-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'password-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'password-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'password-number-rule');\r\n };\r\n RegistrationComponent.prototype.checkRegEx = function (s, pattern, id) {\r\n var isMatch = s.match(pattern);\r\n if (!isMatch) {\r\n this.showRuleNotMet(id);\r\n }\r\n else {\r\n this.showRuleMet(id);\r\n }\r\n };\r\n RegistrationComponent.prototype.checkLength = function (password) {\r\n var id = 'password-length-rule';\r\n if (password.length < 8) {\r\n this.showRuleNotMet(id);\r\n }\r\n else {\r\n this.showRuleMet(id);\r\n }\r\n };\r\n RegistrationComponent.prototype.showRuleMet = function (id) {\r\n var passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-not-met');\r\n passwordLength.add('rule-met');\r\n };\r\n RegistrationComponent.prototype.showRuleNotMet = function (id) {\r\n var passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-met');\r\n passwordLength.add('rule-not-met');\r\n };\r\n RegistrationComponent.prototype.setValidationErrorByControlName = function (controlName, validatorType) {\r\n var control = this.registrationForm.get(controlName);\r\n var validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n };\r\n Object.defineProperty(RegistrationComponent.prototype, \"userName\", {\r\n get: function () { return this.registrationForm.get('user.userName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"email\", {\r\n get: function () { return this.registrationForm.get('user.email'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"password\", {\r\n get: function () { return this.registrationForm.get('user.password'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"confirmPassword\", {\r\n get: function () { return this.registrationForm.get('user.confirmPassword'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"firstName\", {\r\n get: function () { return this.registrationForm.get('user.firstName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"middleName\", {\r\n get: function () { return this.registrationForm.get('user.middleName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"lastName\", {\r\n get: function () { return this.registrationForm.get('user.lastName'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"phoneNumber\", {\r\n get: function () { return this.registrationForm.get('user.phoneNumber'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(RegistrationComponent.prototype, \"token\", {\r\n get: function () { return this.registrationForm.get('token'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n RegistrationComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-registration',\r\n template: __webpack_require__(\"./src/app/registration/registration.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/registration/registration.component.scss\")],\r\n providers: [registrationService_1.default, index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _a || Object, typeof (_b = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _b || Object, typeof (_c = typeof registrationService_1.default !== \"undefined\" && registrationService_1.default) === \"function\" && _c || Object, typeof (_d = typeof forms_1.FormBuilder !== \"undefined\" && forms_1.FormBuilder) === \"function\" && _d || Object])\r\n ], RegistrationComponent);\r\n return RegistrationComponent;\r\n var _a, _b, _c, _d;\r\n}());\r\nexports.default = RegistrationComponent;\r\n//# sourceMappingURL=registration.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/reports/reports.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n SELECT REPORT TO GENERATE\\r\\n
\\r\\n\\r\\n
\\r\\n Invoice\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n SELECT THE DATES FOR THE REPORT\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n Start Date is required.\\r\\n \\r\\n \\r\\n Start Date is required in format mm/dd/yy or mm/dd/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 End Date is required.\\r\\n \\r\\n \\r\\n End Date is required in format mm/dd/yy or mm/dd/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\";\n\n/***/ }),\n\n/***/ \"./src/app/reports/reports.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}main{margin-left:5rem;padding-right:5rem}header{background-color:#ccf;color:#000;font-weight:bolder;padding:.5rem .3rem;margin:2rem 0 .4rem 0}header span{display:block;font-weight:700}mark{color:red;background-color:inherit}label{font-weight:700}input{margin-bottom:1rem}button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}a:link,a:visited{color:#0066cb}#reports-section div{margin-top:3rem;-ms-flex-line-pack:center;align-content:center;text-align:center}.validation{margin:0;width:100%;margin-bottom:2rem}.validation span{font-weight:400;color:red;margin-top:.5rem;display:block}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/reports/reports.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar browserWindowObjectService_1 = __webpack_require__(\"./src/services/browserWindowObjectService.ts\");\r\nvar isDateValidator_1 = __webpack_require__(\"./src/validators/isDateValidator.ts\");\r\nvar formControl_1 = __webpack_require__(\"./src/models/formControl.ts\");\r\nvar dateHandler_1 = __webpack_require__(\"./src/models/dateHandler.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar ReportsComponent = (function () {\r\n function ReportsComponent(browserWindowObjectService, formBuilder, msgSvc, router) {\r\n this.browserWindowObjectService = browserWindowObjectService;\r\n this.formBuilder = formBuilder;\r\n this.msgSvc = msgSvc;\r\n this.router = router;\r\n this.showInvoiceReportGenerator = false;\r\n }\r\n ReportsComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey();\r\n this.reportsPageForm = this.formBuilder.group({\r\n startDate: ['', [\r\n forms_1.Validators.required,\r\n isDateValidator_1.default(2000)\r\n ]\r\n ],\r\n endDate: ['', [\r\n forms_1.Validators.required,\r\n isDateValidator_1.default(2000)\r\n ]\r\n ],\r\n invoiceNumber: [''],\r\n openReportInTab: ['']\r\n });\r\n this.formControl = new formControl_1.default(this.reportsPageForm);\r\n };\r\n ReportsComponent.prototype.showInvoiceReportGeneratorSection = function () {\r\n this.showInvoiceReportGenerator = true;\r\n };\r\n ReportsComponent.prototype.onSubmit = function () {\r\n var form = this.reportsPageForm.value;\r\n var startDate = this.convertDateToString(form.startDate, 2000, 'MM-DD-YYYY');\r\n var endDate = this.convertDateToString(form.endDate, 2000, 'MM-DD-YYYY');\r\n var route = \"invoiceReport/\" + startDate + \"/\" + endDate + \"/\" + form.invoiceNumber;\r\n if (form.openReportInTab) {\r\n this.browserWindowObjectService.openWindowITabByRoute(route, form.invoice);\r\n }\r\n else {\r\n this.browserWindowObjectService.openWindowInNewWindowByRoute(route, form.invoice, 1000, 900);\r\n }\r\n };\r\n ReportsComponent.prototype.formatDate = function (controlName, baseCentury) {\r\n if (!this.formControl.hasErrorByControlName(controlName)) {\r\n var value = this.formControl.getValueByControlName(controlName);\r\n this.formControl.setValueByControlName(controlName, this.convertDateToString(value, baseCentury));\r\n }\r\n };\r\n ReportsComponent.prototype.goToNavigation = function () {\r\n this.router.navigate(['navigation']);\r\n };\r\n ReportsComponent.prototype.exitDialog = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.exitSystemHelper()];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ReportsComponent.prototype.convertDateToString = function (date, baseCentury, mask) {\r\n if (mask === void 0) { mask = null; }\r\n return new dateHandler_1.default(date, baseCentury).format(mask);\r\n };\r\n Object.defineProperty(ReportsComponent.prototype, \"startDate\", {\r\n get: function () { return this.reportsPageForm.get('startDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ReportsComponent.prototype, \"endDate\", {\r\n get: function () { return this.reportsPageForm.get('endDate'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ReportsComponent.prototype, \"invoiceNumber\", {\r\n get: function () { return this.reportsPageForm.get('invoiceNumber'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(ReportsComponent.prototype, \"openReportInTab\", {\r\n get: function () { return this.reportsPageForm.get('openReportInTab'); },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ReportsComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-reports',\r\n template: __webpack_require__(\"./src/app/reports/reports.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/reports/reports.component.scss\")],\r\n providers: [index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof browserWindowObjectService_1.default !== \"undefined\" && browserWindowObjectService_1.default) === \"function\" && _a || Object, typeof (_b = typeof forms_1.FormBuilder !== \"undefined\" && forms_1.FormBuilder) === \"function\" && _b || Object, typeof (_c = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _c || Object, typeof (_d = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _d || Object])\r\n ], ReportsComponent);\r\n return ReportsComponent;\r\n var _a, _b, _c, _d;\r\n}());\r\nexports.default = ReportsComponent;\r\n//# sourceMappingURL=reports.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskComment/researcherTaskComment.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n TASK COMMENTS\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
Comments:
\\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\";\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskComment/researcherTaskComment.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(__webpack_require__(\"./node_modules/css-loader/index.js?{\\\"sourceMap\\\":false,\\\"importLoaders\\\":1}!./node_modules/postcss-loader/lib/index.js?{\\\"ident\\\":\\\"postcss\\\",\\\"plugins\\\":[null,null,{\\\"version\\\":\\\"5.2.18\\\",\\\"plugins\\\":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],\\\"postcssPlugin\\\":\\\"cssnano\\\",\\\"postcssVersion\\\":\\\"5.2.18\\\"}]}!./node_modules/alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.i, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}label{font-weight:400;display:block;padding:2px 0 32px}#spacerxxsm{padding-top:.5rem}#spacerxsm{padding-top:1.5rem}#woHeader{margin:0 auto;border:0;background-color:#ccf;padding-left:3.5rem}#woHeader-left{width:77rem;vertical-align:left;text-align:left;float:left}#woHeader-main{padding:1rem;width:19rem;text-align:right}.Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}#woMain{margin:2.9rem 3rem;border:0;background-color:beige;width:150rem;padding-left:.6rem}#woHeader div{padding:1rem;float:left;background-color:#ccf}#woComment-left{font-weight:700;width:67rem}#woComment-left,#woComment-text{vertical-align:left;text-align:left;float:left}textarea{resize:none}#woButton{margin:13rem -45rem;width:45rem;vertical-align:left;text-align:left;float:left;padding-left:10rem}.btnClass>ul>li{list-style-type:none;display:inline-block;padding:5rem 10rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskComment/researcherTaskComment.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar ResearcherTaskCommentComponent = (function () {\r\n function ResearcherTaskCommentComponent(router, msgSvc, researcherService) {\r\n var _this = this;\r\n this.router = router;\r\n this.msgSvc = msgSvc;\r\n this.researcherService = researcherService;\r\n this.model = {};\r\n this.model.status = JSON.parse(localStorage.getItem('status'));\r\n this.model.requestNbr = (localStorage.getItem('requests'));\r\n localStorage.removeItem('status');\r\n this.researcherService.getResearchTaskComment(this.model.requestNbr)\r\n .subscribe(function (data) {\r\n _this.model.comment = data;\r\n });\r\n }\r\n ResearcherTaskCommentComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey();\r\n };\r\n ResearcherTaskCommentComponent.prototype.submit = function () {\r\n var _this = this;\r\n this.researcherService.saveResearcherTaskComments(this.model.requestNbr, this.model.comment)\r\n .subscribe(function (data) {\r\n if (data === 200) {\r\n window.close();\r\n }\r\n else if (data === 401) {\r\n window.close();\r\n _this.router.navigate(['login']);\r\n }\r\n });\r\n };\r\n ResearcherTaskCommentComponent.prototype.deleteComment = function () {\r\n if (this.model.comment != null) {\r\n this.researcherService.deleteResearcherTaskComments(this.model.requestNbr)\r\n .subscribe(function (data) {\r\n if (data === 200) {\r\n window.close();\r\n }\r\n else if (data === 401) {\r\n window.close();\r\n }\r\n });\r\n }\r\n else {\r\n window.close();\r\n }\r\n };\r\n ResearcherTaskCommentComponent.prototype.doSubmit = function (type) {\r\n if (type === 'Save') {\r\n if (this.model.change === false) {\r\n type = 'Cancel';\r\n this.submit();\r\n }\r\n else {\r\n this.saveAlertBox();\r\n }\r\n }\r\n else if (type === 'Cancel') {\r\n window.close();\r\n }\r\n else if (type === 'Delete') {\r\n this.deleteComment();\r\n }\r\n };\r\n ResearcherTaskCommentComponent.prototype.checkStatus = function () {\r\n if (this.model.status === 'W' || this.model.status === 'C' || this.model.status === 'U') {\r\n return false;\r\n }\r\n else {\r\n return true;\r\n }\r\n };\r\n ResearcherTaskCommentComponent.prototype.isEnabled = function () {\r\n if (this.model.status === 'W' || this.model.status === 'C' || this.model.status === 'U') {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ResearcherTaskCommentComponent.prototype.commentChanged = function () {\r\n this.model.change = true;\r\n };\r\n ResearcherTaskCommentComponent.prototype.saveAlertBox = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n message = \"During times of heavy system activity, Task Comments may\\n take up to 5-10 minutes to post. This is expected behavior.\\n Thank you for your understanding\";\r\n return [4 /*yield*/, popupHelper_1.default.saveComment(message)];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n this.submit();\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskCommentComponent.prototype.about = function () {\r\n popupHelper_1.default.systemVersion();\r\n };\r\n ResearcherTaskCommentComponent.prototype.support = function () {\r\n popupHelper_1.default.support();\r\n };\r\n ResearcherTaskCommentComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-tasklist-comments',\r\n template: __webpack_require__(\"./src/app/researcherTaskComment/researcherTaskComment.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/researcherTaskComment/researcherTaskComment.component.scss\")],\r\n providers: [index_1.ResearcherService, index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _a || Object, typeof (_b = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _b || Object, typeof (_c = typeof index_1.ResearcherService !== \"undefined\" && index_1.ResearcherService) === \"function\" && _c || Object])\r\n ], ResearcherTaskCommentComponent);\r\n return ResearcherTaskCommentComponent;\r\n var _a, _b, _c;\r\n}());\r\nexports.ResearcherTaskCommentComponent = ResearcherTaskCommentComponent;\r\n//# sourceMappingURL=researcherTaskComment.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskList/ResearcherTaskList.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n
\\r\\n
\\r\\n
Work Order List For {{taskList.gisUserName}}
\\r\\n
Assigned Workorders: {{taskList.requestTotal}}
\\r\\n
New Workorders: {{taskList.newTotal}}
\\r\\n
Late Workorders: {{taskList.lateTotal}}
\\r\\n
Effective: {{taskList.currentSysDt}}
\\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
Requests Displayed are {{taskList.min}} - {{totalWorkOrdersOnPage}} of {{totalWorkOrders}}
\\r\\n
Filter By Jurisdiction:\\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 \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
SelectWork OrderJurisdictionReference Name/SSN/DOB/Res. AddRequest DateResult/Action
\\r\\n \\r\\n \\r\\n {{item.caseNbr}}\\r\\n
{{item.woValue}}
\\r\\n {{item.reportAllText}}\\r\\n \\r\\n
\\r\\n
\\r\\n {{item.woSourceName}}
{{item.jurisdiction}}
{{item.woPhone}}
Search Dates: {{item.searchFromDt}} - {{item.searchToDt}}
\\r\\n
{{item.refName}}
{{item.ssnDisplay}}
{{item.dobDisplay}}
{{item.refAddr1}}, {{item.refCity}}, {{item.refState}}, {{item.refZip}}
{{item.dis_RequestDt}}\\r\\n
No Record\\r\\n
\\r\\n
Handle Manually\\r\\n
\\r\\n
\\r\\n Pending\\r\\n
\\r\\n \\r\\n
Comments\\r\\n
\\r\\n \\r\\n
Deferred\\r\\n
\\r\\n
Admitted Not Found\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Click here to go to the top.\\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskList/researcherTaskList.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".Hide{DISPLAY:none}label{font-weight:400;display:block;padding:2px 0 32px}.hdrClass{font-size:8pt;font-family:Verdana,Tahoma,Arial;background-color:#ccf}#spacer{padding-top:1.6em}#spacersm{padding-top:3.5em}#spacerxsm{padding-top:.5em}#spacers{padding-top:2.5em}#wrapper{background-color:#ccf;margin:22px}#Wrapper{background-color:beige}#woHeader{margin:0 auto;border:.5;width:100%;padding-left:.5rem}#woHeader,#woHeader div{background-color:#ccf;display:inline-block}#woHeader div{padding:.7rem}#woHeader-left{width:38.5rem;vertical-align:left;text-align:left;display:fixed}#woHeader-main{width:15rem;text-align:right;display:fixed}#woHeader-rightmain{width:20.4rem;text-align:right;display:fixed}#woHeader-right{text-align:right;float:right}.Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}#woMain{margin:0 auto;font-size:8pt;background-color:beige;border:.5;width:100%;padding-left:4rem;padding-right:4rem;display:inline-block}#woButton-main{width:21rem}#woButton-left,#woButton-main{vertical-align:left;text-align:left;float:left}#woButton-left{width:15.2rem}#woLinkSelect{width:10rem}#woLinkClear,#woLinkSelect{vertical-align:left;text-align:left;float:left}#woLinkClear{width:41.5rem}#woButton-rightmain{width:24.3em;vertical-align:left;text-align:left;float:left}#woButton-right{text-align:right;float:left}#center{text-align:center}#woJuris-left{width:100.8em;vertical-align:left;text-align:left;float:left}#woJuris-right{width:122em}#woJuris,#woJuris-right{text-align:right;float:left}#woJuris{width:109.5em}#JurisdictionFilter{width:225px}.tblJuris{border:0;-webkit-column-span:2;column-span:2;width:95%}.tblJuris .first{vertical-align:\\\"left\\\";width:\\\"70%\\\"}.tblJuris .second{vertical-align:\\\"left\\\";width:\\\"25%\\\"}.tblWO{border:.5;-webkit-column-span:6;column-span:6;width:100%;padding-left:4rem;padding-right:4rem}.tblWO .first{width:3%;font-size:8pt;-ms-flex-line-pack:center;align-content:center}.tblWO .second{word-wrap:break-word}.tblWO .second,.tblWO .third{width:35rem;text-align:left;font-size:8pt}.tblWO .fourth{width:32rem}.tblWO .fifth,.tblWO .fourth{font-size:8pt;text-align:left}.tblWO .fifth{width:20rem}.tblWO .sixth{width:10%;vertical-align:\\\"left\\\";font-size:8pt;text-align:left}.btnClass>ul>li{list-style-type:none;display:inline-block;padding:5px 10px}.link{FONT-FAMILY:Verdana,Tahoma,Arial;font-size:10px;width:95px}.DisplayLate{color:tomato}.Display,.DisplayLate{border-right:medium none;border-top:medium none;font-size:8pt;border-left:medium none;border-bottom:medium none;font-family:Verdana,Tahoma,Arial;background-color:beige}.Disable{pointer-events:none;cursor:default;color:gray}.Invisible{display:none}div{overflow:hidden}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskList/researcherTaskList.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar index_1 = __webpack_require__(\"./src/models/index.ts\");\r\nvar index_2 = __webpack_require__(\"./src/services/index.ts\");\r\nvar browserWindowObjectService_1 = __webpack_require__(\"./src/services/browserWindowObjectService.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar complianceAuditLog_1 = __webpack_require__(\"./src/models/complianceAuditLog.ts\");\r\nvar complianceAuditLogService_1 = __webpack_require__(\"./src/services/complianceAuditLogService.ts\");\r\nvar woc;\r\n(function (woc) {\r\n woc[\"removePending\"] = \"RP\";\r\n woc[\"noHits\"] = \"NH\";\r\n woc[\"removeNoHits\"] = \"RH\";\r\n woc[\"pendingRequest\"] = \"PR\";\r\n})(woc = exports.woc || (exports.woc = {}));\r\nvar ResearcherTaskListComponent = (function () {\r\n function ResearcherTaskListComponent(router, researcherService, route, bwObjectService, msgSvc, complianceAuditLogService) {\r\n var _this = this;\r\n this.router = router;\r\n this.researcherService = researcherService;\r\n this.route = route;\r\n this.bwObjectService = bwObjectService;\r\n this.msgSvc = msgSvc;\r\n this.complianceAuditLogService = complianceAuditLogService;\r\n this.totalWorkOrdersOnPage = 0;\r\n this.totalWorkOrders = 0;\r\n this.submitTaskDialog = [];\r\n this.submitTask = [];\r\n this.filter = [];\r\n this.defaultStr = 'Not Selected';\r\n this.wo = [];\r\n this.stateData = [];\r\n this.jurFilters = [];\r\n this.originalAdmitted = [];\r\n this.admittedAll = [];\r\n this.requestNbrs = [];\r\n this.model = {};\r\n this.headerRP = 0;\r\n this.headerNH = 0;\r\n this.headerRH = 0;\r\n this.headerPR = 0;\r\n this.model.jurisdictionId = 0;\r\n this.woComplete = new index_1.WorkOrderComplete;\r\n this.submitList = new index_1.SubmitTask;\r\n this.model.viewAsLink = false;\r\n this.route.params.subscribe(function (params) {\r\n _this.model.requestType = params['status'];\r\n _this.model.type = localStorage.getItem('sortType');\r\n _this.model.jurisdictionId = (params['jurisdictionId'] === undefined) ? 0 : params['jurisdictionId'];\r\n _this.model.selectedValue = 0;\r\n });\r\n }\r\n ResearcherTaskListComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey(); // ('CacheControlKey');\r\n if (this.model.type === 'sorting') {\r\n this.model.selectedValue = JSON.parse(localStorage.getItem('selection'));\r\n this.totalWorkOrdersOnPage = this.wo.length;\r\n this.totalWorkOrders = this.wo.length;\r\n if (this.model.selectedValue !== 'ns') {\r\n this.filterWorkOrderList();\r\n }\r\n else {\r\n this.getResearcherTaskData();\r\n }\r\n this.removeSortingArray();\r\n }\r\n else {\r\n this.setDefaultOrder();\r\n this.getResearcherTaskData();\r\n }\r\n this.model.isSubmitDisabled = false;\r\n };\r\n ResearcherTaskListComponent.prototype.getJurisdiction = function () {\r\n for (var _i = 0, _a = JSON.parse(localStorage.getItem('jurisdictions')); _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n this.juris = {\r\n jurisdictionId: item.jurisdictionId,\r\n description: item.description,\r\n count: 0\r\n };\r\n this.jurFilters.push(this.juris);\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.getResearcherTaskData = function () {\r\n var _this = this;\r\n var i = 0;\r\n this.taskList = new index_1.ResearcherTaskList;\r\n this.woData = new index_1.WorkOrder;\r\n this.wo.length = 0;\r\n this.jurFilters.length = 0;\r\n this.stateData.length = 0;\r\n this.researcherService.getResearchTaskList(this.model.requestType, this.model.jurisdictionId)\r\n .subscribe(function (data) {\r\n _this.totalWorkOrdersOnPage = data.length;\r\n _this.totalWorkOrders = data.length;\r\n for (var _i = 0, data_1 = data; _i < data_1.length; _i++) {\r\n var item = data_1[_i];\r\n for (0; i < 1; i++) {\r\n _this.taskList = {\r\n calculatedValue: (item.sourceType === 'EX') ? _this.getExTotal(item) : _this.getIntTotal(item),\r\n currentSysDt: item.iso_SysDt, crrsrCount: 17, dataType1: 'string', dataType2: 'number',\r\n dataType3: 'number', detailWork: _this.model.requestType,\r\n displayNumber: (item.sourceType === 'EX') ? _this.getExDisplayNumber(item) : _this.getIntDisplayNumber(item),\r\n emailAddress: item.emailAddress, errorDescription: '', filterText: '', filterTotal: 1, fullName: item.sourceName,\r\n gisUserName: item.gisUserName, lateTotal: item.lateTotal, max: 100, min: 1,\r\n newTotal: item.newTotal, numbers: (item.newTotal > item.max) ? item.max : item.newTotal,\r\n requestTotal: item.requestTotal, sortOne: 'jurisdiction', sortTwo: 'dis_RequestDt',\r\n sortThree: 'refName', sortOrder1: 'ascending', sortOrder2: 'descending', sortOrder3: 'ascending',\r\n sourceName: item.sourceName, sourceType: item.sourceType, sysID: '', totalDisplayRequest: 1\r\n };\r\n }\r\n _this.woData = {\r\n admissionInfo: '',\r\n admittedCrimeNotFound: item.admittedCrimeNotFound,\r\n caseNbr: item.caseNbr,\r\n checked: false,\r\n crrsrCount: 200,\r\n custId: item.custId,\r\n deferred: item.deferred,\r\n dis_DueDt: item.dis_DueDt,\r\n dis_RequestDt: item.dis_RequestDt,\r\n dis_RequestDt_sort: new Date(item.dis_RequestDt),\r\n dob: item.dob,\r\n dobDisplay: (item.dob !== '') ? item.dob : 'No DOB On File',\r\n driversLicense: '',\r\n emailAddress: item.emailAddress,\r\n filterText: item.filterText,\r\n filterTotal: 100,\r\n hrefAttachDoc: item.hrefAttachDoc,\r\n hrefCif: item.hrefCif,\r\n gisUserName: item.gisUserName,\r\n isLate: _this.getLateStatus(_this.model.requestType, item.dis_DueDt, item.iso_SysDt),\r\n iso_DueDt: item.iso_DueDt,\r\n iso_SysDt: item.iso_SysDt,\r\n jurisdiction: item.jurisdiction,\r\n jurisdictionId: item.jurisdictionId,\r\n lateTotal: item.lateTotal,\r\n linkColor: _this.getLinkColor(item),\r\n manualInd: item.manualInd,\r\n max: 100,\r\n min: 1,\r\n nameRefNbr: item.nameRefNbr,\r\n newTotal: item.newTotal,\r\n ociIndicator: item.ociIndicator,\r\n pendingComments: item.pendingComments,\r\n phone: '',\r\n position: '',\r\n printInd: item.printInd,\r\n recordFound: item.recordFound,\r\n refAddr1: item.refAddr1,\r\n refCity: item.refCity,\r\n refName: item.refName,\r\n refState: item.refState,\r\n refZip: item.refZip,\r\n requestNbr: item.requestNbr,\r\n requestTotal: item.requestTotal,\r\n reportAll: item.reportAll,\r\n reportAllText: _this.getReportAllText(item),\r\n searchFromDt: item.searchFromDt,\r\n searchToDt: item.searchToDt,\r\n signedRelInd: item.signedRelInd,\r\n sourceName: item.sourceName,\r\n sourceType: item.sourceType,\r\n specialInstr: item.specialInstr,\r\n showInstruction: (item.specialInstr === 'Y') ? 'Display' : 'Invisible',\r\n ssn: item.ssn,\r\n ssnDisplay: (item.ssn.length > 0) ? 'XXX-XX-' + item.ssn.substr(5) : 'No Social Security Nbr On File',\r\n status: item.status,\r\n strWork: '',\r\n totalInstruction: (item.specialInstr === 'Y') ? 1 : 0,\r\n url: '',\r\n woPhone: (_this.validatePhone(item.sourceType, item.phone)) ? item.phone : '',\r\n woSourceName: (_this.model.requestType === 'ByCaseAll') ? item.sourceName : '',\r\n woURL: (_this.validateUrl(item.sourceType, item.url)) ? item.url : '',\r\n woValue: _this.getCaseStatus(item),\r\n woNoHitsDisable: _this.setDisabled(item, 'NoHits'),\r\n woPendingDisable: _this.setDisabled(item, 'Pending'),\r\n woNoHitsDisplay: _this.display(item, 'NoHits'),\r\n woManualDisplay: _this.display(item, 'Manual'),\r\n woPendingDisplay: _this.display(item, 'Pending'),\r\n woPendingLinkDisplay: _this.display(item, 'PendingLink'),\r\n woRecordDisplay: _this.display(item, 'RecordFound'),\r\n woCommentsDisplay: _this.display(item, 'Comments'),\r\n woSearchDisplay: _this.display(item, 'SearchCapture'),\r\n woDeferredDisplay: _this.display(item, 'Deferred'),\r\n woAdmittedDisplay: '',\r\n woNoHitsChecked: _this.setCheckbox(item, 'NoHits'),\r\n woManualChecked: _this.setCheckbox(item, 'Manual'),\r\n woPendingChecked: _this.setCheckbox(item, 'Pending'),\r\n woDeferredChecked: _this.setCheckbox(item, 'Deferred'),\r\n woAdmittedChecked: _this.setCheckbox(item, 'Admitted'),\r\n woNoHitsName: 'cbNoHits' + item.requestNbr,\r\n woManualName: 'cbManual' + item.requestNbr,\r\n woPendingName: 'cbPending' + item.requestNbr,\r\n woDeferredName: 'cbDeferred' + item.requestNbr,\r\n woAdmittedName: 'cbAdmitted' + item.requestNbr,\r\n licenseNumber: item.licenseNumber,\r\n isHeightenedIdentifier: item.isHeightenedIdentifier,\r\n colorValue: _this.getColorValue(item.status, item.dis_DueDt, item.iso_SysDt),\r\n };\r\n _this.wo.push(_this.woData);\r\n }\r\n for (var _a = 0, _b = JSON.parse(localStorage.getItem('jurisdictions')); _a < _b.length; _a++) {\r\n var item = _b[_a];\r\n _this.juris = {\r\n jurisdictionId: item.jurisdictionId,\r\n description: item.description,\r\n count: 0\r\n };\r\n _this.jurFilters.push(_this.juris);\r\n }\r\n });\r\n this.stateData = this.wo;\r\n this.isJurisVisible();\r\n };\r\n ResearcherTaskListComponent.prototype.isJurisVisible = function () {\r\n if (this.taskList.sourceType === 'EX') {\r\n if (this.taskList.detailWork === 'New' || this.taskList.detailWork === 'Late' || this.taskList.detailWork === 'Filter') {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n else if (this.taskList.sourceType === undefined) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.isVisible = function (type, validate) {\r\n if (type === 'IH') {\r\n return (validate !== '') ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.getCaseStatus = function (item) {\r\n var status;\r\n if (item.sourceType === 'IH') {\r\n if (item.custId !== '') {\r\n status = \"{{item.custId}}\";\r\n }\r\n }\r\n if (item.printInd === 'Y') {\r\n status = 'Has Been Printed';\r\n this.model.viewAsLink = false;\r\n }\r\n if (item.signedRelInd === 'Y') {\r\n status = 'Release Required';\r\n this.model.viewAsLink = false;\r\n }\r\n if (item.status === 'W' || item.status === 'C' || item.status === 'U' || item.status === 'E' || item.signedRelInd === 'Y' || item.ociIndicator === 'Y') {\r\n status = item.custId;\r\n this.model.viewAsLink = false;\r\n }\r\n return status;\r\n };\r\n ResearcherTaskListComponent.prototype.getReportAllText = function (item) {\r\n var status;\r\n if (item.reportAllText !== '' && item.reportAllText !== null && item.reportAllText !== undefined) {\r\n status = item.reportAllText;\r\n }\r\n else {\r\n status = '';\r\n }\r\n return status;\r\n };\r\n ResearcherTaskListComponent.prototype.getExDisplayNumber = function (item) {\r\n if (this.model.requestType === 'New') {\r\n var number = (item.newTotal > item.max) ? item.max : item.newTotal;\r\n return (number > item.newTotal) ? item.newTotal : number;\r\n }\r\n else if (this.model.requestType === 'Late') {\r\n return (item.lateTotal > item.max) ? item.max : item.lateTotal;\r\n }\r\n else if (this.taskList.filterText !== '') {\r\n return (item.filterTotal > item.max) ? item.max : item.filterTotal;\r\n }\r\n else if (this.model.requestType === 'Filter') {\r\n return (item.filterTotal > item.max) ? item.filterTotal : item.max;\r\n }\r\n else {\r\n return (this.taskList.totalDisplayRequest > item.max) ? item.max : this.taskList.totalDisplayRequest;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.getExTotal = function (item) {\r\n if (this.model.requestType === 'New') {\r\n return item.newTotal;\r\n }\r\n else if (this.model.requestType === 'Late') {\r\n return item.lateTotal;\r\n }\r\n else if ((item.filterText !== '') || (this.model.requestType === 'Filter')) {\r\n return item.filterTotal;\r\n }\r\n else {\r\n return this.taskList.totalDisplayRequest;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.getIntDisplayNumber = function (item) {\r\n if (this.model.requestType === 'New') {\r\n return (this.taskList.totalDisplayRequest > item.newTotal) ? item.newTotal : this.taskList.totalDisplayRequest;\r\n }\r\n else if (this.model.requestType === 'Late') {\r\n return (this.taskList.totalDisplayRequest > item.lateTotal) ? item.lateTotal : this.taskList.totalDisplayRequest;\r\n }\r\n else {\r\n return (item.max > this.taskList.totalDisplayRequest) ? this.taskList.totalDisplayRequest : item.max;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.getIntTotal = function (item) {\r\n if (this.model.requestType === 'New') {\r\n return item.newTotal;\r\n }\r\n else if (this.model.requestType === 'Late') {\r\n return item.lateTotal;\r\n }\r\n else {\r\n return this.taskList.totalDisplayRequest;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.validateUrl = function (sourceType, url) {\r\n if (sourceType === 'IH') {\r\n return (url !== '') ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.getColorValue = function (status, disDueDt, isoSysDt) {\r\n var color;\r\n if (status === 'C' || status === 'W' || status === 'U') {\r\n color = 'Green';\r\n }\r\n else if (status === 'I' || status === 'L' || status === 'Q') {\r\n color = (this.parseDate(disDueDt, isoSysDt)) ? 'Red' : 'Black';\r\n }\r\n else {\r\n color = (this.getLateStatus(this.model.requestType, disDueDt, isoSysDt)) ? 'Red' : 'Black';\r\n }\r\n return color;\r\n };\r\n ResearcherTaskListComponent.prototype.getLateStatus = function (detailWork, disDueDt, isoSysDt) {\r\n if (detailWork === 'Late') {\r\n return true;\r\n }\r\n else {\r\n return (this.parseDate(disDueDt, isoSysDt)) ? true : false;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.parseDate = function (disDueDt, isoSysDt) {\r\n return (new Date(disDueDt) < new Date(isoSysDt)) ? true : false;\r\n };\r\n ResearcherTaskListComponent.prototype.validatePhone = function (sourceType, phone) {\r\n if (sourceType === 'IH') {\r\n return (phone !== '') ? true : false;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.display = function (item, type) {\r\n var display = '';\r\n switch (type) {\r\n case 'NoHits': {\r\n display = 'Display';\r\n break;\r\n }\r\n case 'Manual': {\r\n if (item.ociIndicator === 'Y') {\r\n display = 'Display';\r\n }\r\n else {\r\n display = 'Invisible';\r\n }\r\n break;\r\n }\r\n case 'Pending': {\r\n display = 'Display';\r\n break;\r\n }\r\n case 'PendingLink': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n display = 'Disable';\r\n }\r\n else {\r\n display = 'Display';\r\n }\r\n break;\r\n }\r\n case 'Deferred': {\r\n if (item.status === 'Q') {\r\n display = 'Display';\r\n }\r\n else {\r\n display = 'Invisible';\r\n }\r\n break;\r\n }\r\n case 'SearchCapture': {\r\n if (item.status !== 'C' && item.status !== 'W' && item.status !== 'U') {\r\n if (this.taskList.sourceType !== 'EX') {\r\n display = 'Display';\r\n }\r\n else {\r\n display = 'Invisible';\r\n }\r\n }\r\n else {\r\n display = 'Invisible';\r\n }\r\n break;\r\n }\r\n case 'RecordFound': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n if (item.recordFound === 'Y') {\r\n if (item.status !== 'W') {\r\n if (item.specialInstr === 'Y') {\r\n display = 'Disable';\r\n }\r\n else {\r\n display = 'Display';\r\n }\r\n }\r\n else if (item.status === 'W') {\r\n if (item.specialInstr === 'Y') {\r\n display = 'Disable';\r\n }\r\n else {\r\n display = 'Display';\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n if (item.specialInstr === 'Y') {\r\n display = 'Disable';\r\n }\r\n else {\r\n display = 'Display';\r\n }\r\n }\r\n break;\r\n }\r\n default: {\r\n display = 'Display';\r\n }\r\n }\r\n return display;\r\n };\r\n ResearcherTaskListComponent.prototype.getLinkColor = function (item) {\r\n if (item.specialInstr === 'Y') {\r\n return 'Gray';\r\n }\r\n else {\r\n return 'Blue';\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.setCheckbox = function (item, type) {\r\n var checked = false;\r\n switch (type) {\r\n case 'NoHits': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n if (item.recordFound === 'Y') {\r\n checked = true;\r\n item.woNoHitsDisable = true;\r\n }\r\n }\r\n else {\r\n if (item.specialInstr === 'Y') {\r\n item.woNoHitsDisable = true;\r\n }\r\n checked = false;\r\n }\r\n break;\r\n }\r\n case 'Manual': {\r\n if (item.ociIndicator === 'Y') {\r\n if (item.manualInd === 'Y') {\r\n checked = true;\r\n }\r\n else {\r\n checked = false;\r\n }\r\n }\r\n break;\r\n }\r\n case 'Pending': {\r\n if (item.status === 'P') {\r\n checked = true;\r\n }\r\n else {\r\n checked = false;\r\n }\r\n break;\r\n }\r\n case 'Deferred': {\r\n if (item.status === 'Q') {\r\n if (item.deferred === 'o') {\r\n checked = true;\r\n }\r\n else {\r\n checked = false;\r\n }\r\n }\r\n break;\r\n }\r\n case 'Admitted': {\r\n if (item.admittedCrimeNotFound === true) {\r\n checked = true;\r\n this.originalAdmitted.push(item.requestNbr);\r\n }\r\n else {\r\n checked = false;\r\n }\r\n break;\r\n }\r\n default: {\r\n checked = false;\r\n }\r\n }\r\n return checked;\r\n };\r\n ResearcherTaskListComponent.prototype.setDisabled = function (item, type) {\r\n var disable = false;\r\n switch (type) {\r\n case 'NoHits': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n if (item.recordFound === 'Y' || (item.specialInstr === 'Y')) {\r\n disable = true;\r\n }\r\n else if (item.recordFound === 'N' || (item.specialInstr === 'Y')) {\r\n disable = true;\r\n }\r\n }\r\n else {\r\n if (item.specialInstr === 'Y') {\r\n disable = true;\r\n }\r\n }\r\n break;\r\n }\r\n case 'Pending': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n disable = true;\r\n }\r\n else {\r\n disable = false;\r\n }\r\n break;\r\n }\r\n default: {\r\n disable = false;\r\n }\r\n }\r\n return disable;\r\n };\r\n ResearcherTaskListComponent.prototype.pendingWorkOrder = function (objValue, requestNbr, caseNbr, refName, status) {\r\n this.getOriginalState(requestNbr);\r\n for (var _i = 0, _a = this.wo; _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n if (item.requestNbr === +requestNbr) {\r\n this.woComplete.pendingComments = item.pendingComments;\r\n break;\r\n }\r\n }\r\n this.woComplete.requestNbr = requestNbr;\r\n this.woComplete.caseNbr = caseNbr;\r\n this.woComplete.refName = refName;\r\n this.woComplete.currentStatus = status;\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n this.pending = document.getElementById('cbPending' + requestNbr);\r\n if (objValue === 'Link') {\r\n if (!this.pending.checked) {\r\n this.woComplete.pendingComments = null;\r\n this.pendingWOHelper('Pending comment not checked.');\r\n }\r\n else if (this.woComplete.pendingComments === null || this.woComplete.pendingComments === '') {\r\n this.pendingWOHelper('There are no pending comments for this request.');\r\n this.pending.checked = false;\r\n }\r\n else {\r\n var holdComment = this.woComplete.pendingComments;\r\n if (this.woComplete.pendingComments === undefined) {\r\n this.woComplete.pendingComments = window.prompt('Please enter an explanation for placing this Work Order into a Pending Status.', '');\r\n }\r\n else {\r\n this.woComplete.pendingComments = window.prompt('Please enter an explanation for placing this Work Order into a Pending Status.', this.woComplete.pendingComments);\r\n }\r\n // canceled\r\n if (this.woComplete.pendingComments === null) {\r\n this.woComplete.pendingComments = holdComment;\r\n if (holdComment === '' || holdComment === undefined || holdComment === null) {\r\n this.pending.checked = false;\r\n }\r\n else {\r\n this.pending.checked = true;\r\n }\r\n }\r\n for (var _b = 0, _c = this.wo; _b < _c.length; _b++) {\r\n var item = _c[_b];\r\n if (item.requestNbr === +requestNbr) {\r\n if (this.pending.checked === true && (this.woComplete.pendingComments !== null || this.woComplete.pendingComments !== undefined)) {\r\n item.pendingComments = this.woComplete.pendingComments;\r\n break;\r\n }\r\n else if (this.pending.checked === false || this.woComplete.pendingComments === undefined) {\r\n item.pendingComments = null;\r\n break;\r\n }\r\n }\r\n }\r\n if (this.pending.checked === true) {\r\n this.woComplete.currentStatus = 'P';\r\n this.populateList(this.woComplete.requestNbr, this.woComplete.pendingComments, this.woComplete.currentStatus);\r\n }\r\n }\r\n return;\r\n }\r\n if (this.pending.checked === true) {\r\n if (this.woComplete.pendingComments === undefined || this.woComplete.pendingComments === null || this.woComplete.pendingComments === '') {\r\n this.woComplete.pendingComments = '';\r\n }\r\n this.woComplete.pendingComments = this.woComplete.pendingComments;\r\n this.woComplete.pendingComments = window.prompt('Please enter an explanation for placing this Work Order into a Pending Status.', this.woComplete.pendingComments);\r\n if (this.woComplete.pendingComments === undefined || this.woComplete.pendingComments === '' || this.woComplete.pendingComments === null) {\r\n this.pending.checked = false;\r\n if (this.noHits.checked === true) {\r\n this.noHits.checked = true;\r\n }\r\n this.pendingWOHelper('A comment must be entered when a Work Order is placed in Pending Status.');\r\n }\r\n if (this.woComplete.currentStatus === 'C') {\r\n this.woComplete.removeNoHit = \"No longer marked as No Record - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removeNoHit, this.woComplete.removeNoHitsMsg, woc.removeNoHits);\r\n this.noHits.checked = false;\r\n this.woComplete.currentStatus = 'P';\r\n this.woComplete.pendingRequests = \"Set To Pending - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.pendingRequests, this.woComplete.pendingRqstMsg, woc.pendingRequest);\r\n }\r\n else if (this.pending.checked === true) {\r\n this.woComplete.currentStatus = 'P';\r\n this.noHits.checked = false;\r\n this.woComplete.pendingRequests = \"Set To Pending - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.pendingRequests, this.woComplete.pendingRqstMsg, woc.pendingRequest);\r\n }\r\n else {\r\n this.woComplete.currentStatus = 'I';\r\n if (this.noHits.checked === true) {\r\n this.noHits.checked = true;\r\n }\r\n else {\r\n this.noHits.checked = false;\r\n }\r\n }\r\n }\r\n else {\r\n if (this.woComplete.currentStatus === 'P') {\r\n this.woComplete.removePending = \"No longer marked as Pending - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n this.pending.checked = false;\r\n this.woComplete.currentStatus = 'I';\r\n }\r\n else {\r\n this.woComplete.currentStatus = 'I';\r\n this.woComplete.removePending = '\\n' + (\"No longer marked as Pending - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr) + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n }\r\n }\r\n for (var _d = 0, _e = this.wo; _d < _e.length; _d++) {\r\n var item = _e[_d];\r\n if (item.requestNbr === +requestNbr) {\r\n if (this.woComplete.pendingComments !== '') {\r\n item.pendingComments = this.woComplete.pendingComments;\r\n break;\r\n }\r\n }\r\n }\r\n this.populateList(this.woComplete.requestNbr, this.woComplete.pendingComments, this.woComplete.currentStatus);\r\n };\r\n ResearcherTaskListComponent.prototype.completeWorkOrder = function (requestNbr, caseNbr, refName) {\r\n this.woComplete.requestNbr = requestNbr;\r\n this.woComplete.caseNbr = caseNbr;\r\n this.woComplete.refName = refName;\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n this.pending = document.getElementById('cbPending' + requestNbr);\r\n if (this.noHits.checked === true) {\r\n if (this.pending.checked === true) {\r\n this.pending.checked = false;\r\n }\r\n this.noHitsConfirmation(\"You have selected No Record Found. Select OK to confirm or Cancel to remove selection.\", requestNbr, true);\r\n }\r\n else {\r\n this.noHitsConfirmation(\"You have removed the selection of No Record Found. Select OK to confirm or Cancel to keep No Record selected.\", requestNbr, false);\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.populateList = function (requestNbr, comment, status) {\r\n if (!this.checkList(requestNbr)) {\r\n this.populateTaskList(requestNbr, comment, status, false);\r\n }\r\n else {\r\n this.submitTask = this.submitTask.filter(function (item) { return item.RequestNbr !== requestNbr; });\r\n this.populateTaskList(requestNbr, comment, status, false);\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.checkList = function (requestNbr) {\r\n var exists = false;\r\n for (var _i = 0, _a = this.submitTask; _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n if (item.RequestNbr === requestNbr) {\r\n exists = true;\r\n break;\r\n }\r\n }\r\n return exists;\r\n };\r\n ResearcherTaskListComponent.prototype.openWindow = function (type, caseNbr, requestNbr) {\r\n switch (type) {\r\n case 'Edit': {\r\n this.confirmEditVerifications(requestNbr, caseNbr);\r\n break;\r\n }\r\n default: {\r\n }\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.specialInstruction = function (requestNbr) {\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n for (var _i = 0, _a = this.wo; _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n if (this.noHits.defaultValue === item.requestNbr.toString()) {\r\n item.woNoHitsDisable = false;\r\n item.woRecordDisplay = 'Display';\r\n item.linkColor = 'Blue';\r\n break;\r\n }\r\n }\r\n this.msgSvc.saveRequestNbrs(JSON.stringify(requestNbr));\r\n this.bwObjectService.openInNewWindowByRoute('specialInstruction', 'SIWin', '', 800, 520);\r\n };\r\n ResearcherTaskListComponent.prototype.confirmEditVerifications = function (requestNbr, refNbr) {\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n this.pending = document.getElementById('cbPending' + requestNbr);\r\n this.woComplete.submit = 'true';\r\n var state = (this.noHits.checked === true || this.pending.checked === true) ? 1 : 0;\r\n var msg = '';\r\n if (this.noHits.checked === true) {\r\n msg = 'Selecting Ok will remove the selection of No Record. Would you like to continue?';\r\n this.confirmRemovingNoRecordStatus(msg, refNbr, requestNbr, state);\r\n }\r\n else if (this.pending.checked === true) {\r\n msg = 'Would you like to remove the Pending Status on this request? Select OK to remove it and Cancel to keep it.';\r\n this.confirmRemovingPendingStatus(msg, refNbr, requestNbr, state);\r\n }\r\n else if (this.submitTaskDialog.length > 0) {\r\n this.confirmWorkOrderStatus('OffenseEntry', true, 'R', requestNbr, state);\r\n }\r\n else {\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.confirmWorkOrderStatus = function (objFrom, valid, type, requestNbr, state) {\r\n this.woComplete.submit = 'true';\r\n this.sortTaskDialog();\r\n this.woComplete.alertMsg = undefined;\r\n for (var _i = 0, _a = this.submitTaskDialog; _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n switch (item.type) {\r\n case 'PR':\r\n if (this.headerPR === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n this.headerPR = 1;\r\n }\r\n else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n }\r\n break;\r\n case 'RH': {\r\n if (this.headerRH === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n this.headerRH = 1;\r\n }\r\n else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n }\r\n break;\r\n }\r\n case 'RP': {\r\n if (this.headerRP === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n this.headerRP = 1;\r\n }\r\n else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n }\r\n break;\r\n }\r\n case 'NH': {\r\n if (this.headerNH === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + this.woComplete.msgLine + \" \" + item.header + \" \\n \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n this.headerNH = 1;\r\n }\r\n else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n else {\r\n this.woComplete.alertMsg = this.woComplete.alertMsg + \" \" + item.comments + \" \" + this.woComplete.breakLine;\r\n }\r\n }\r\n break;\r\n }\r\n default:\r\n break;\r\n }\r\n }\r\n if (type === 'S') {\r\n this.woComplete.alertMsgS = this.woComplete.alertMsg;\r\n }\r\n else if (type === 'R') {\r\n this.woComplete.alertMsgR = this.woComplete.alertMsg;\r\n }\r\n if (valid) {\r\n var msg = '';\r\n if (this.woComplete.alertMsg !== undefined) {\r\n this.woComplete.alertMsg = undefined;\r\n if (this.woComplete.alertMsgS !== undefined && type === 'S') {\r\n msg = this.woComplete.alertMsgS + \" \" + this.woComplete.confirmationMsg;\r\n }\r\n else if (this.woComplete.alertMsgR !== undefined && type === 'R') {\r\n msg = this.woComplete.alertMsgR + \" \" + this.woComplete.confirmationMsg;\r\n }\r\n this.confirmSubmit(msg, type, requestNbr);\r\n }\r\n else if (objFrom === 'Submit' && this.woComplete.alertMsgS === undefined && this.admittedCrimeCheckboxesChanged()) {\r\n this.getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound();\r\n this.logComplianceLogs();\r\n this.submit();\r\n this.woComplete.submit = 'true';\r\n this.router.navigate(['navigation']);\r\n }\r\n else {\r\n if (objFrom === 'OffenseEntry') {\r\n if (this.woComplete.alertMsgR === '' || this.woComplete.alertMsgR === undefined || this.woComplete.alertMsgR === null) {\r\n this.woComplete.submit = 'noChange';\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n }\r\n if (objFrom === 'Submit') {\r\n if (this.submitTask.length > 0) {\r\n this.getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound();\r\n this.logComplianceLogs();\r\n this.submit();\r\n this.woComplete.submit = 'true';\r\n this.router.navigate(['navigation']);\r\n }\r\n else if (this.woComplete.alertMsgS === undefined && !this.admittedCrimeCheckboxesChanged()) {\r\n this.noChangeHelper();\r\n this.woComplete.submit = 'noChange';\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n if (objFrom === 'OffenseEntry' && state === 0) {\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n else {\r\n this.woComplete.submit = '';\r\n if (requestNbr !== '') {\r\n for (var _b = 0, _c = this.wo; _b < _c.length; _b++) {\r\n var item = _c[_b];\r\n if (requestNbr === item.requestNbr.toString()) {\r\n item.woNoHitsDisable = false;\r\n item.woRecordDisplay = 'Display';\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.filterWorkOrderList = function () {\r\n if (this.model.selectedValue !== 'ns') {\r\n if (localStorage.getItem('jurisdictionId') !== '0' && localStorage.getItem('jurisdictionId') !== null) {\r\n this.model.jurisdictionId = JSON.parse(localStorage.getItem('jurisdictionId'));\r\n localStorage.removeItem('jurisdictionId');\r\n }\r\n else {\r\n this.model.jurisdictionId = this.model.selectedValue;\r\n }\r\n this.getResearcherTaskData();\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.submitTaskListDisabled = function () {\r\n return (this.model.isSubmitDisabled) ? true : false;\r\n };\r\n ResearcherTaskListComponent.prototype.submitTaskList = function () {\r\n this.model.isSubmitDisabled = true;\r\n this.confirmWorkOrderStatus('Submit', true, 'S', '', 1);\r\n if (this.woComplete.submit === 'noChange') {\r\n this.model.isSubmitDisabled = false;\r\n return;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.submit = function () {\r\n var _this = this;\r\n this.researcherService.submitTaskListData(this.submitTask)\r\n .subscribe(function (data) {\r\n if (data === 200) {\r\n _this.woComplete = new index_1.WorkOrderComplete;\r\n }\r\n else {\r\n popupHelper_1.default.userHelper('Unable to submit updates', 'error');\r\n }\r\n _this.model.isSubmitDisabled = false;\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.selectAll = function () {\r\n this.wo.forEach(function (item) {\r\n item.checked = true;\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.removeAllSelection = function () {\r\n this.wo.forEach(function (item) {\r\n item.checked = false;\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.getAllAdmitted = function () {\r\n var _this = this;\r\n this.admittedAll.length = 0;\r\n this.wo.forEach(function (item) {\r\n if (item.woAdmittedChecked) {\r\n _this.admittedAll.push(item.requestNbr);\r\n }\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.getAdmittedChecked = function (requestNbr) {\r\n var _this = this;\r\n this.anf = document.getElementById('cbAdmitted' + requestNbr);\r\n if (!this.anf.checked) {\r\n this.wo.forEach(function (item) {\r\n if (item.requestNbr === +requestNbr && item.woAdmittedChecked === true) {\r\n item.woAdmittedChecked = false;\r\n _this.filterList(requestNbr);\r\n _this.submitTask = _this.submitTask.filter(function (x) { return x.RequestNbr !== requestNbr; });\r\n _this.populateTaskList(requestNbr, '', 'ANF', false);\r\n }\r\n });\r\n }\r\n else if (this.anf.checked) {\r\n this.wo.forEach(function (item) {\r\n if (item.requestNbr === +requestNbr && item.woAdmittedChecked === false) {\r\n item.woAdmittedChecked = true;\r\n _this.filterList(requestNbr);\r\n _this.populateTaskList(requestNbr, '', 'ANF', true);\r\n }\r\n });\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.admittedCrimeCheckboxesChanged = function () {\r\n var inArray = false;\r\n this.getAllAdmitted();\r\n for (var _i = 0, _a = this.admittedAll; _i < _a.length; _i++) {\r\n var allRqsts = _a[_i];\r\n if (this.checkedChange(this.originalAdmitted, allRqsts)) {\r\n inArray = false;\r\n }\r\n else {\r\n inArray = true;\r\n break;\r\n }\r\n }\r\n return inArray;\r\n };\r\n ResearcherTaskListComponent.prototype.getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound = function () {\r\n this.getAllAdmitted();\r\n for (var _i = 0, _a = this.admittedAll; _i < _a.length; _i++) {\r\n var allRqsts = _a[_i];\r\n if (!this.checkedChange(this.originalAdmitted, allRqsts)) {\r\n this.filterList(allRqsts);\r\n this.populateTaskList(allRqsts, '', 'ANF', true);\r\n }\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.logComplianceLogs = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var _i, _a, allRqsts, e_1;\r\n return __generator(this, function (_b) {\r\n switch (_b.label) {\r\n case 0:\r\n this.getAllAdmitted();\r\n _i = 0, _a = this.admittedAll;\r\n _b.label = 1;\r\n case 1:\r\n if (!(_i < _a.length)) return [3 /*break*/, 6];\r\n allRqsts = _a[_i];\r\n if (!!this.checkedChange(this.originalAdmitted, allRqsts)) return [3 /*break*/, 5];\r\n _b.label = 2;\r\n case 2:\r\n _b.trys.push([2, 4, , 5]);\r\n return [4 /*yield*/, this.complianceAuditLogService.addComplianceAuditLogs([\r\n new complianceAuditLog_1.default(allRqsts, 'ADMTTD_CRM_NOT_FND', 'ResearcherTaskList', null, null)\r\n ])];\r\n case 3:\r\n _b.sent();\r\n return [3 /*break*/, 5];\r\n case 4:\r\n e_1 = _b.sent();\r\n return [3 /*break*/, 5];\r\n case 5:\r\n _i++;\r\n return [3 /*break*/, 1];\r\n case 6: return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.checkedChange = function (arr, test) {\r\n return arr.some(function (arrVal) {\r\n return test === arrVal;\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.populateTaskList = function (requestNbr, comment, status, checked) {\r\n this.submitList = {\r\n RequestNbr: requestNbr,\r\n PendingComments: comment,\r\n Type: status,\r\n AdmittedCrimeNotFound: checked,\r\n };\r\n this.submitTask.push(this.submitList);\r\n };\r\n ResearcherTaskListComponent.prototype.goToNavigation = function () {\r\n this.router.navigate(['navigation']);\r\n };\r\n ResearcherTaskListComponent.prototype.gotoTop = function () {\r\n window.scrollTo(0, 0);\r\n };\r\n ResearcherTaskListComponent.prototype.displayReport = function (rptType) {\r\n var _this = this;\r\n for (var _i = 0, _a = this.wo; _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n if (item.checked === true) {\r\n this.requestNbrs.push({ requestNbr: item.requestNbr });\r\n }\r\n }\r\n if (this.requestNbrs.length <= 0) {\r\n if (rptType === 'Received') {\r\n this.receivedDialog();\r\n }\r\n else if (rptType === 'Report') {\r\n this.reportDialog();\r\n }\r\n }\r\n else {\r\n if (rptType === 'Received') {\r\n this.researcherService.markRequestReceived(this.requestNbrs)\r\n .subscribe(function () {\r\n if (_this.researcherService.successful) {\r\n _this.goToNavigation();\r\n }\r\n });\r\n }\r\n else if (rptType === 'Report') {\r\n this.msgSvc.saveRequestNbrs(JSON.stringify(this.requestNbrs));\r\n this.bwObjectService.openInNewWindowByRoute('workOrderReport', 'WOWin', '', 920, 430);\r\n this.goToNavigation();\r\n }\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.createDateTime = function () {\r\n var today = new Date();\r\n var year = this.takeYear(today);\r\n var month = this.leadingZero(today.getMonth() + 1);\r\n var day = this.leadingZero(today.getDate());\r\n var minutes = this.leadingZero(today.getMinutes());\r\n var seconds = this.leadingZero(today.getSeconds());\r\n var hours = today.getHours();\r\n var ampm = 'am';\r\n if (hours === 0) {\r\n hours = 12;\r\n }\r\n else if (hours > 11) {\r\n ampm = 'pm';\r\n }\r\n else if (hours > 12) {\r\n hours -= 12;\r\n }\r\n hours = this.leadingZero(hours);\r\n return (month + '/' + day + '/' + year + ' ' + hours + ':' + minutes + ':' + seconds + ' ' + ampm);\r\n };\r\n ResearcherTaskListComponent.prototype.takeYear = function (dte) {\r\n return ((dte.getYear() % 100) < 38) ? 2000 : 1900;\r\n };\r\n ResearcherTaskListComponent.prototype.leadingZero = function (nbr) {\r\n if (nbr < 10) {\r\n nbr = '0' + nbr;\r\n }\r\n return nbr;\r\n };\r\n ResearcherTaskListComponent.prototype.showComment = function (requestNbr, status) {\r\n this.msgSvc.saveRequestNbrs(JSON.stringify(requestNbr));\r\n this.msgSvc.saveStatus(JSON.stringify(status));\r\n this.bwObjectService.openInNewWindowByRoute('comment', 'SIWin', '', 1005, 375);\r\n };\r\n ResearcherTaskListComponent.prototype.searchCapture = function (userID, requestNbr) {\r\n this.bwObjectService.searchCaptureOpen(\"http://dev2paperlesscrim.geninfo.com/IncomingUser.aspx?su=\" + userID + \"|\" + requestNbr);\r\n };\r\n ResearcherTaskListComponent.prototype.watsonShowGuideline = function (route) {\r\n var address = route.substr(8);\r\n this.bwObjectService.watsonShowGuideline(\"http://dev2watson.geninfo.com/\" + address);\r\n };\r\n ResearcherTaskListComponent.prototype.showLink = function () {\r\n if (this.model.viewAsLink === true) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.help = function () {\r\n this.bwObjectService.openWindowInNewWindowByRoute(\"researcherHelp\", '', 800, 900);\r\n };\r\n // ALERTS\r\n ResearcherTaskListComponent.prototype.receivedDialog = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.userHelper('You have not selected any items to mark as received.', 'crim')];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n return [2 /*return*/];\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.reportDialog = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.userHelper('You have not selected any items to print.', 'crim')];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n return [2 /*return*/];\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.exitDialog = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.exitSystemHelper()];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.confirmRemovingNoRecordStatus = function (message, refNbr, requestNbr, state) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var oHits, confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n oHits = false;\r\n return [4 /*yield*/, popupHelper_1.default.confirmSubmitHelper(message)];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.woComplete.removeNoHit = \"\\n No longer marked as No Record - Work Order Nbr: \" + refNbr + \" Request Nbr: \" + requestNbr;\r\n this.populateSubmitComments(requestNbr, refNbr, this.woComplete.removeNoHit, this.woComplete.removeNoHitsMsg, woc.removeNoHits);\r\n this.noHits.checked = false;\r\n this.woComplete.persist = 'I';\r\n this.woComplete.closeDt = '';\r\n this.woComplete.newStatus = 'I';\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n }\r\n else {\r\n this.noHits.checked = true;\r\n oHits = this.noHits.checked;\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n }\r\n this.woComplete.submit = '';\r\n this.confirmWorkOrderStatus('OffenseEntry', (oHits || this.pending.checked) ? true : false, 'R', this.noHits.defaultValue, state);\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.confirmRemovingPendingStatus = function (message, refNbr, requestNbr, state) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var oPending, confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n oPending = false;\r\n return [4 /*yield*/, popupHelper_1.default.confirmSubmitHelper(message)];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.woComplete.removePending = \"\\n No longer marked as Pending - Work Order Nbr: \" + refNbr + \" Request Nbr: \" + requestNbr;\r\n this.populateSubmitComments(requestNbr, refNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n oPending = this.pending.checked;\r\n this.pending.checked = false;\r\n this.woComplete.persist = 'I';\r\n this.woComplete.closeDt = '';\r\n this.woComplete.newStatus = 'I';\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n }\r\n else {\r\n this.pending.checked = true;\r\n oPending = this.pending.checked;\r\n }\r\n this.woComplete.submit = '';\r\n this.confirmWorkOrderStatus('OffenseEntry', (this.noHits.checked || oPending) ? true : false, 'R', this.noHits.defaultValue, state);\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.confirmSubmit = function (message, type, requestNbr) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.confirmSubmitHelper(message)];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n if (type === 'S') {\r\n this.getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound();\r\n this.logComplianceLogs();\r\n this.submit();\r\n this.woComplete.submit = 'true';\r\n this.router.navigate(['navigation']);\r\n }\r\n else if (type === 'R') {\r\n if (this.woComplete.submit === 'noChange') {\r\n this.woComplete.work = 'Retrieve';\r\n this.woComplete.detailWork = 'Add';\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n if (this.woComplete.submit === 'true') {\r\n if (this.submitTask.length !== 0) {\r\n this.submit();\r\n }\r\n else {\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n this.submit();\r\n }\r\n this.woComplete.work = 'PersistFirst';\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n }\r\n }\r\n else {\r\n if (type === 'S') {\r\n this.model.isSubmitDisabled = false;\r\n this.woComplete.submit = 'false';\r\n this.woComplete.alertMsg = '';\r\n popupHelper_1.default.userHelper('You have chosen to cancel the submit, your changes have not been saved.', 'crim');\r\n }\r\n else if (type === 'R') {\r\n this.woComplete.submit = 'false';\r\n popupHelper_1.default.userHelper('You have selected not to continue to the offense page.', 'crim');\r\n }\r\n this.headerNH = 0;\r\n this.headerPR = 0;\r\n this.headerRP = 0;\r\n this.headerRH = 0;\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.getOriginalState = function (requestNbr) {\r\n for (var _i = 0, _a = this.stateData; _i < _a.length; _i++) {\r\n var item = _a[_i];\r\n if (requestNbr === item.requestNbr) {\r\n this.originalStatus = item.status;\r\n return;\r\n }\r\n }\r\n };\r\n ResearcherTaskListComponent.prototype.support = function () {\r\n popupHelper_1.default.support();\r\n };\r\n ResearcherTaskListComponent.prototype.about = function () {\r\n popupHelper_1.default.systemVersion();\r\n };\r\n ResearcherTaskListComponent.prototype.crimAlert = function (message) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.userHelper(message, 'prompt')];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.sortWorkOrderList = function () {\r\n this.msgSvc.selectedValue(JSON.stringify(this.model.selectedValue));\r\n this.msgSvc.selectedJurisdiction(JSON.stringify(this.model.jurisdictionId));\r\n this.router.navigate(['sortTaskList', this.model.requestType]);\r\n };\r\n ResearcherTaskListComponent.prototype.removeSortingArray = function () {\r\n localStorage.removeItem('sortType');\r\n };\r\n ResearcherTaskListComponent.prototype.setDefaultOrder = function () {\r\n this.config = ['+jurisdiction'];\r\n this.config.push(\"-dis_RequestDt_sort\");\r\n this.config.push(\"+refName\");\r\n this.config.push(\"+caseNbr\");\r\n this.msgSvc.saveSortOrder(JSON.stringify(this.config));\r\n };\r\n ResearcherTaskListComponent.prototype.pendingWOHelper = function (alertMsg) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n message = alertMsg;\r\n return [4 /*yield*/, popupHelper_1.default.pendingWOHelper(message)];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n return [2 /*return*/];\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.noChangeHelper = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var alertResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.noChangesToTaskList()];\r\n case 1:\r\n alertResult = _a.sent();\r\n if (alertResult === alertifyPromise_1.AlertResult.Ok) {\r\n return [2 /*return*/];\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.noHitsConfirmation = function (alertMsg, requestNbr, checked) {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var message, confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0:\r\n message = alertMsg;\r\n return [4 /*yield*/, popupHelper_1.default.noHitsConfirmation(message)];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n if (checked) {\r\n if (this.pending.checked === true) {\r\n this.woComplete.removePending = \"No longer marked as Pending - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr + \" \\n\\n \";\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n }\r\n this.woComplete.noHitRequests = \"Marked Complete - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr + \" \\n\\n\";\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.noHitRequests, this.woComplete.noHitsMsg, woc.noHits);\r\n this.woComplete.currentDte = this.createDateTime();\r\n this.woComplete.newStatus = 'C';\r\n }\r\n else {\r\n this.woComplete.removeNoHit = \"No longer marked as No Record - Reference Name: \" + this.woComplete.refName + \" Work Order Nbr: \" + this.woComplete.caseNbr + \" \\n\\n\";\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removeNoHit, this.woComplete.removeNoHitsMsg, woc.removeNoHits);\r\n if (this.woComplete.newStatus === 'C') {\r\n this.woComplete.newStatus = 'I';\r\n }\r\n }\r\n this.populateList(this.woComplete.requestNbr, '', this.woComplete.newStatus);\r\n }\r\n else {\r\n if (checked) {\r\n this.noHits.checked = false;\r\n }\r\n else {\r\n this.noHits.checked = true;\r\n }\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.populateSubmitComments = function (requestNbr, caseNbr, comment, header, type) {\r\n this.submitTaskDialog = this.submitTaskDialog.filter(function (item) { return item.requestNbr !== requestNbr; });\r\n var records = new index_1.SubmitTaskDialog;\r\n records.requestNbr = requestNbr;\r\n records.caseNbr = caseNbr;\r\n records.comments = comment;\r\n records.header = header;\r\n records.type = type;\r\n this.submitTaskDialog.push(records);\r\n };\r\n ResearcherTaskListComponent.prototype.sortTaskDialog = function () {\r\n this.submitTaskDialog.sort(function (a, b) {\r\n if (a.type < b.type) {\r\n return -1;\r\n }\r\n else if (a.type > b.type) {\r\n return 1;\r\n }\r\n else {\r\n return 0;\r\n }\r\n });\r\n };\r\n ResearcherTaskListComponent.prototype.filterList = function (requestNbr) {\r\n this.filter = this.submitTask.filter(function (x) { return x.RequestNbr === requestNbr; });\r\n this.filter = this.filter.filter(function (x) { return x.Type !== 'ANF'; });\r\n this.submitTask = this.submitTask.filter(function (x) { return x.RequestNbr !== requestNbr; });\r\n for (var _i = 0, _a = this.filter; _i < _a.length; _i++) {\r\n var ftr = _a[_i];\r\n this.populateTaskList(ftr.RequestNbr, ftr.PendingComments, ftr.Type, ftr.AdmittedCrimeNotFound);\r\n }\r\n };\r\n ResearcherTaskListComponent = __decorate([\r\n core_1.Component({\r\n template: __webpack_require__(\"./src/app/researcherTaskList/ResearcherTaskList.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/researcherTaskList/researcherTaskList.component.scss\")],\r\n providers: [index_2.ResearcherService, browserWindowObjectService_1.default, index_2.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _a || Object, typeof (_b = typeof index_2.ResearcherService !== \"undefined\" && index_2.ResearcherService) === \"function\" && _b || Object, typeof (_c = typeof router_1.ActivatedRoute !== \"undefined\" && router_1.ActivatedRoute) === \"function\" && _c || Object, typeof (_d = typeof browserWindowObjectService_1.default !== \"undefined\" && browserWindowObjectService_1.default) === \"function\" && _d || Object, typeof (_e = typeof index_2.MessageQueService !== \"undefined\" && index_2.MessageQueService) === \"function\" && _e || Object, typeof (_f = typeof complianceAuditLogService_1.default !== \"undefined\" && complianceAuditLogService_1.default) === \"function\" && _f || Object])\r\n ], ResearcherTaskListComponent);\r\n return ResearcherTaskListComponent;\r\n var _a, _b, _c, _d, _e, _f;\r\n}());\r\nexports.ResearcherTaskListComponent = ResearcherTaskListComponent;\r\n//# sourceMappingURL=researcherTaskList.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskListHelp/researcherTaskListHelp.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \" Help Screen for Researcher Task list \\r\\n\\r\\n

Task List Page Explanation

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

Purpose of Task List Page:

\\r\\n

\\r\\n To display a list of all outstanding Work Orders that have been assigned to the individual logged into the Researcher System.\\r\\n

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

Explanation of Columns in the task list:

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

\\r\\n The Select column contains a check box that, when checked, will select the associated Work Order for display within a Work Order Report.\\r\\n

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

\\r\\n The Work Order column contains the number that has been assigned to this task by GIS.\\r\\n

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

\\r\\n The Jurisdiction column contains the name of the courthouse or county that would be applicable for the associated Work Order.\\r\\n

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

\\r\\n The name of the applicant as listed on the application.\\r\\n

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

\\r\\n The DOB column contains the applicants' date of birth as listed on the application.\\r\\n

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

\\r\\n The SSN column contains the social security number of the applicant as listed on the application.\\r\\n

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

\\r\\n The Due Date column contains the date the Work Order has to be Completed.\\r\\n

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

\\r\\n The Result column is used for Quick Entry of the Work Orders that were researched and no hit was received.\\r\\n

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

\\r\\n The Status column contains 2 possible selections.
\\r\\n 1. Complete: This will be selected when all research has been completed and documented for the Work Order. This will remove the\\r\\n Work Order from the Researcher Task list.
\\r\\n 2. Pending: The item can be placed in Pending status when there is something outside of your control that is holding up completion\\r\\n of the background check. When selecting the Pending Status, you will be required to enter an explanation of\\r\\n why the Work Order has been placed in pending status.
\\r\\n

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

Functions available on the Task List Page:

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

\\r\\n When checked, all Work Orders will be selected. This is used to choose the items\\r\\n to display when opening the Work Order Report in PDF format.\\r\\n

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

\\r\\n When checked, this will de-select all Work Orders that were previously selected for viewing in the Work Order Report.\\r\\n

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

\\r\\n When pressed, this will display a report of all selected Work Orders. The report will be in PDF format, this will\\r\\n enable printing of the Work Order Report. The Work Order items will print one item per page. To select a Work Order,\\r\\n click the checkbox located in the 'Select' column of the Work Order list.\\r\\n

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

\\r\\n When pressed, a pop-up screen will display. This screen will contain all available options for filtering the Researcher Task list. When the OK button is selected\\r\\n the Work Order list will be refreshed with items that match the filtering criteria. When the Cancel button is selected, the Researcher Task List will display with the\\r\\n as it was before going to this screen.\\r\\n

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

\\r\\n This drop-down contains all columns that can be used for sorting. To change the sorting of the page, make a selection\\r\\n from this drop-down. When a new selection is made, the Task List will refresh in the new sort order. The default sorting of\\r\\n the Work Order list is Jurisdiction and then Due Date within that Jurisdiction.\\r\\n

\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskListHelp/researcherTaskListHelp.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"h2{text-align:center}h3{text-decoration:underline}#header,h3{font-weight:700;padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}#header{font-size:10pt}h4{font-weight:700;text-decoration:underline}h4,p{padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}p{font-size:10pt}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/researcherTaskListHelp/researcherTaskListHelp.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar ResearcherTaskListHelpComponent = (function () {\r\n function ResearcherTaskListHelpComponent() {\r\n }\r\n ResearcherTaskListHelpComponent = __decorate([\r\n core_1.Component({\r\n template: __webpack_require__(\"./src/app/researcherTaskListHelp/researcherTaskListHelp.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/researcherTaskListHelp/researcherTaskListHelp.component.scss\")]\r\n })\r\n ], ResearcherTaskListHelpComponent);\r\n return ResearcherTaskListHelpComponent;\r\n}());\r\nexports.ResearcherTaskListHelpComponent = ResearcherTaskListHelpComponent;\r\n//# sourceMappingURL=researcherTaskListHelp.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/sortTaskList/sortTaskList.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n
\\r\\n
\\r\\n
SORT TASK LIST
\\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\";\n\n/***/ }),\n\n/***/ \"./src/app/sortTaskList/sortTaskList.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"label{font-weight:700;display:block;padding:.5rem}select{padding-left:.5rem;width:15rem}#column{width:30em;float:left;padding-left:40rem}#column,#selection2-group,#selection3-group{text-align:left}#spacer{padding-top:1.6em}#wrapper{background-color:#ccf;margin:22px}#woHeader{margin:0 auto;border:.5;width:100%;padding-left:.5rem;font-weight:700}#woHeader,#woHeader div{background-color:#ccf;display:inline-block}#woHeader div{padding:.1rem}.Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}div{overflow:hidden}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/sortTaskList/sortTaskList.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n};\r\nvar __generator = (this && this.__generator) || function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [0, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar browserWindowObjectService_1 = __webpack_require__(\"./src/services/browserWindowObjectService.ts\");\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar index_1 = __webpack_require__(\"./src/models/index.ts\");\r\nvar index_2 = __webpack_require__(\"./src/services/index.ts\");\r\nvar list;\r\n(function (list) {\r\n list[\"jurisdiction\"] = \"jurisdiction\";\r\n list[\"requestDt\"] = \"dis_RequestDt_sort\";\r\n list[\"status\"] = \"isLate\";\r\n list[\"referenceName\"] = \"refName\";\r\n list[\"ascending\"] = \"+\";\r\n list[\"descending\"] = \"-\";\r\n})(list = exports.list || (exports.list = {}));\r\nvar SortTaskListComponent = (function () {\r\n function SortTaskListComponent(router, route, bwObjectService, msgSvc) {\r\n var _this = this;\r\n this.router = router;\r\n this.route = route;\r\n this.bwObjectService = bwObjectService;\r\n this.msgSvc = msgSvc;\r\n this.model = {};\r\n this.model.defaultSort1 = '0';\r\n this.model.defaultSort2 = '1';\r\n this.model.defaultSort3 = '3';\r\n this.model.defaultOrder1 = '0';\r\n this.model.defaultOrder2 = '0';\r\n this.model.defaultOrder3 = '0';\r\n this.sortList = new index_1.SortList;\r\n this.route.params.subscribe(function (params) {\r\n _this.model.requestType = params['status'];\r\n });\r\n }\r\n SortTaskListComponent.prototype.displaySortedTaskList = function () {\r\n this.config = [this.getSortOrder(this.model.defaultOrder1) + this.getSortValue(this.model.defaultSort1)];\r\n this.config.push(this.getSortOrder(this.model.defaultOrder2) + this.getSortValue(this.model.defaultSort2));\r\n this.config.push(this.getSortOrder(this.model.defaultOrder3) + this.getSortValue(this.model.defaultSort3));\r\n this.config.push(\"+caseNbr\");\r\n this.msgSvc.saveSortOrder(JSON.stringify(this.config));\r\n this.msgSvc.saveSortType('sorting');\r\n this.router.navigate(['researcherTaskList', this.model.requestType]);\r\n };\r\n SortTaskListComponent.prototype.goToNavigation = function () {\r\n this.router.navigate(['navigation']);\r\n };\r\n SortTaskListComponent.prototype.exitDialog = function () {\r\n return __awaiter(this, void 0, void 0, function () {\r\n var confirmResult;\r\n return __generator(this, function (_a) {\r\n switch (_a.label) {\r\n case 0: return [4 /*yield*/, popupHelper_1.default.exitSystemHelper()];\r\n case 1:\r\n confirmResult = _a.sent();\r\n if (confirmResult === alertifyPromise_1.ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n return [2 /*return*/];\r\n }\r\n });\r\n });\r\n };\r\n SortTaskListComponent.prototype.getSortValue = function (value) {\r\n switch (value) {\r\n case '0': {\r\n this.result = list.jurisdiction;\r\n break;\r\n }\r\n case '1': {\r\n this.result = list.requestDt;\r\n break;\r\n }\r\n case '2': {\r\n this.result = list.status;\r\n break;\r\n }\r\n case '3': {\r\n this.result = list.referenceName;\r\n break;\r\n }\r\n default: {\r\n }\r\n }\r\n return this.result;\r\n };\r\n SortTaskListComponent.prototype.getSortOrder = function (order) {\r\n switch (order) {\r\n case '0': {\r\n this.result = list.ascending;\r\n break;\r\n }\r\n case '1': {\r\n this.result = list.descending;\r\n break;\r\n }\r\n default: {\r\n }\r\n }\r\n return this.result;\r\n };\r\n SortTaskListComponent.prototype.support = function () {\r\n popupHelper_1.default.support();\r\n };\r\n SortTaskListComponent.prototype.about = function () {\r\n popupHelper_1.default.systemVersion();\r\n };\r\n SortTaskListComponent.prototype.help = function () {\r\n this.bwObjectService.openWindowInNewWindowByRoute(\"sortTaskListHelp\", '', 800, 500);\r\n };\r\n SortTaskListComponent = __decorate([\r\n core_1.Component({\r\n template: __webpack_require__(\"./src/app/sortTaskList/sortTaskList.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/sortTaskList/sortTaskList.component.scss\")],\r\n providers: [index_2.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _a || Object, typeof (_b = typeof router_1.ActivatedRoute !== \"undefined\" && router_1.ActivatedRoute) === \"function\" && _b || Object, typeof (_c = typeof browserWindowObjectService_1.default !== \"undefined\" && browserWindowObjectService_1.default) === \"function\" && _c || Object, typeof (_d = typeof index_2.MessageQueService !== \"undefined\" && index_2.MessageQueService) === \"function\" && _d || Object])\r\n ], SortTaskListComponent);\r\n return SortTaskListComponent;\r\n var _a, _b, _c, _d;\r\n}());\r\nexports.SortTaskListComponent = SortTaskListComponent;\r\n//# sourceMappingURL=sortTaskList.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/sortTaskListHelp/sortTaskListHelp.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \" Help Screen for Researcher Task Sort/Filter \\r\\n\\r\\n

Sort/Filter Page Explanation

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

Purpose of Sort/Filter Page:

\\r\\n

\\r\\n To allow the end user to Sort or Filter the task list based on his/her preference.\\r\\n

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

Explanation of Sort Task List Section

\\r\\n

\\r\\n This section allows the user to Sort based on a primary and also a secondary column. (i.e. The default sort is first based on Jurisdiction in Ascending order and then within that sorting it is sort based on Order date in Ascending order).\\r\\n

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

\\r\\n This will be the primary sort column. The default is set to be Jurisdiction. The available options are Jurisdiction, Order Date, Past Due\\r\\n

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

\\r\\n This determines if the order will be in ascending or descending order. The default is set to Ascending.\\r\\n

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

\\r\\n This determines the secondary sort column. The default is set to be Order Date.\\r\\n

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

\\r\\n This determines if the order will be in ascending or descending order. The default is set to Ascending.\\r\\n

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

Functions available in the Sort Task List Section

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

\\r\\n When this is selected, it will display the task list sorted in the order as noted in the Sort Column 1 and Sort Column 2.\\r\\n

\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/sortTaskListHelp/sortTaskListHelp.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"h2{text-align:center}h3{text-decoration:underline}#header,h3{font-weight:700;padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}#header{font-size:10pt}h4{font-weight:700;text-decoration:underline}h4,p{padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}p{font-size:10pt}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/sortTaskListHelp/sortTaskListHelp.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar SortTaskListHelpComponent = (function () {\r\n function SortTaskListHelpComponent() {\r\n }\r\n SortTaskListHelpComponent = __decorate([\r\n core_1.Component({\r\n template: __webpack_require__(\"./src/app/sortTaskListHelp/sortTaskListHelp.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/sortTaskListHelp/sortTaskListHelp.component.scss\")]\r\n })\r\n ], SortTaskListHelpComponent);\r\n return SortTaskListHelpComponent;\r\n}());\r\nexports.SortTaskListHelpComponent = SortTaskListHelpComponent;\r\n//# sourceMappingURL=sortTaskListHelp.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/specialAdmitted/specialAdmitted.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\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\";\n\n/***/ }),\n\n/***/ \"./src/app/specialAdmitted/specialAdmitted.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"#general{margin:2rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#general-left{vertical-align:left;text-align:left;float:left;font-weight:700;width:67rem}#instruction{margin:17.5rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#instruction-text{vertical-align:left;text-align:left;float:left}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/specialAdmitted/specialAdmitted.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar SpecialAdmittedComponent = (function () {\r\n function SpecialAdmittedComponent() {\r\n }\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", String)\r\n ], SpecialAdmittedComponent.prototype, \"admission\", void 0);\r\n SpecialAdmittedComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-special-admitted',\r\n template: __webpack_require__(\"./src/app/specialAdmitted/specialAdmitted.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/specialAdmitted/specialAdmitted.component.scss\")],\r\n }),\r\n __metadata(\"design:paramtypes\", [])\r\n ], SpecialAdmittedComponent);\r\n return SpecialAdmittedComponent;\r\n}());\r\nexports.SpecialAdmittedComponent = SpecialAdmittedComponent;\r\n//# sourceMappingURL=specialAdmitted.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/specialInstruction/specialInstruction.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Special Research Instruction\\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\";\n\n/***/ }),\n\n/***/ \"./src/app/specialInstruction/specialInstruction.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"#spacerxsm{padding-top:1.5rem}#instrHeader{margin:0 auto;border:0;background-color:grey;padding-left:3.5rem}#instrHeader div{padding:.5rem;float:left;background-color:grey}#instrHeader-left{width:56rem;vertical-align:left;text-align:center;font-size:14pt;float:left}#woHeader div{padding:1rem;float:left;background-color:grey}#siAdmission{margin:2rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#siAdmission-left{vertical-align:left;text-align:left;float:left;font-weight:700;width:67rem}#siInstruction{margin:17.5rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#instruction-text{vertical-align:left;text-align:left;float:left}.Button{font-family:Verdana,Tahoma,Arial;width:6rem}#woButton{margin:16rem -45rem;vertical-align:left;text-align:left;float:left;padding-left:10rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/specialInstruction/specialInstruction.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar index_1 = __webpack_require__(\"./src/services/index.ts\");\r\nvar SpecialInstructionComponent = (function () {\r\n function SpecialInstructionComponent(researcherService, msgSvc) {\r\n this.researcherService = researcherService;\r\n this.msgSvc = msgSvc;\r\n this.requestNumber = localStorage.getItem('requests');\r\n }\r\n SpecialInstructionComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey();\r\n this.getInstructionData();\r\n };\r\n SpecialInstructionComponent.prototype.getInstructionData = function () {\r\n var _this = this;\r\n this.showAdmissionSection = true;\r\n this.researcherService.getSpecialInstructions(this.requestNumber)\r\n .subscribe(function (data) {\r\n _this.admission = data.admission;\r\n _this.researchInstruction = data.researchInstruction;\r\n if (_this.admission === '' || _this.admission === undefined || _this.admission === null) {\r\n if (_this.researchInstruction !== '' || _this.researchInstruction !== undefined || _this.researchInstruction !== null) {\r\n _this.admission = data.researchInstruction;\r\n _this.researchInstruction = '';\r\n _this.showResearchSection = false;\r\n }\r\n else {\r\n _this.showResearchSection = true;\r\n }\r\n }\r\n else {\r\n if (_this.researchInstruction !== null) {\r\n _this.showResearchSection = true;\r\n }\r\n else {\r\n _this.showResearchSection = false;\r\n }\r\n }\r\n });\r\n };\r\n SpecialInstructionComponent.prototype.close = function () {\r\n window.close();\r\n };\r\n SpecialInstructionComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-special-instruction',\r\n template: __webpack_require__(\"./src/app/specialInstruction/specialInstruction.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/specialInstruction/specialInstruction.component.scss\")],\r\n providers: [index_1.ResearcherService, index_1.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof index_1.ResearcherService !== \"undefined\" && index_1.ResearcherService) === \"function\" && _a || Object, typeof (_b = typeof index_1.MessageQueService !== \"undefined\" && index_1.MessageQueService) === \"function\" && _b || Object])\r\n ], SpecialInstructionComponent);\r\n return SpecialInstructionComponent;\r\n var _a, _b;\r\n}());\r\nexports.SpecialInstructionComponent = SpecialInstructionComponent;\r\n//# sourceMappingURL=specialInstruction.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/specialResearch/specialResearch.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/specialResearch/specialResearch.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"#general{margin:2rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#general-left{vertical-align:left;text-align:left;float:left;font-weight:700;width:67rem}#instruction{margin:17.5rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#instruction-text{vertical-align:left;text-align:left;float:left}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/specialResearch/specialResearch.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar SpecialResearchComponent = (function () {\r\n function SpecialResearchComponent() {\r\n }\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", String)\r\n ], SpecialResearchComponent.prototype, \"researchInstruction\", void 0);\r\n SpecialResearchComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-special-research',\r\n template: __webpack_require__(\"./src/app/specialResearch/specialResearch.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/specialResearch/specialResearch.component.scss\")],\r\n }),\r\n __metadata(\"design:paramtypes\", [])\r\n ], SpecialResearchComponent);\r\n return SpecialResearchComponent;\r\n}());\r\nexports.SpecialResearchComponent = SpecialResearchComponent;\r\n//# sourceMappingURL=specialResearch.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/workOrderAdmissions/WorkOrderAdmissions.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
{{admission}} 
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/workOrderAdmissions/WorkOrderAdmissions.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"#xsmspacer{padding-top:.5em}#woMain{margin:5px 3em;border:0;width:60em}#woRpt{width:29.2em;vertical-align:left;text-align:left;float:left}span{font-weight:700}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/workOrderAdmissions/workOrderAdmissions.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar WorkOrderAdmissionsComponent = (function () {\r\n function WorkOrderAdmissionsComponent() {\r\n }\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", String)\r\n ], WorkOrderAdmissionsComponent.prototype, \"admission\", void 0);\r\n WorkOrderAdmissionsComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-wo-admissions',\r\n template: __webpack_require__(\"./src/app/workOrderAdmissions/WorkOrderAdmissions.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/workOrderAdmissions/WorkOrderAdmissions.component.scss\")]\r\n }),\r\n __metadata(\"design:paramtypes\", [])\r\n ], WorkOrderAdmissionsComponent);\r\n return WorkOrderAdmissionsComponent;\r\n}());\r\nexports.WorkOrderAdmissionsComponent = WorkOrderAdmissionsComponent;\r\n//# sourceMappingURL=workOrderAdmissions.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
\\r\\n
\\r\\n Name
\\r\\n
\\r\\n DOB
\\r\\n
\\r\\n SSN
\\r\\n
\\r\\n Address
\\r\\n
\\r\\n DLN
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"#woIdentifier-left{width:7.2em}#woIdentifier-left,#woIdentifier-middle{vertical-align:left;text-align:left;float:left}#woIdentifier-middle{width:6.5em}#woRpt-left{width:15.2em;vertical-align:left;text-align:left;float:left}#xsmspacer{padding-top:1.5em}#woMain{margin:5px 3em;border:0;width:60em}span{font-weight:700}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/workOrderIdentifiers/workOrderIdentifiers.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar WorkOrderIdentifiersComponent = (function () {\r\n function WorkOrderIdentifiersComponent() {\r\n }\r\n WorkOrderIdentifiersComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-wo-identifiers',\r\n template: __webpack_require__(\"./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.scss\")]\r\n })\r\n ], WorkOrderIdentifiersComponent);\r\n return WorkOrderIdentifiersComponent;\r\n}());\r\nexports.WorkOrderIdentifiersComponent = WorkOrderIdentifiersComponent;\r\n//# sourceMappingURL=workOrderIdentifiers.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/workOrderReport/WorkOrderReport.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{item.jurisdiction}}

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Request Nbr: {{item.caseNbr}}
\\r\\n
\\r\\n Has Record
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Name: {{item.refName}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Address: {{item.refAddr1}} {{item.refCity}}, {{item.refState}} {{item.refZip}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Search Dates: {{item.searchFromDt}} - {{item.searchToDt}}
\\r\\n
\\r\\n DOB: {{item.dob}}
\\r\\n
\\r\\n SSN: {{item.ssn}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Special Instruction: \\r\\n
\\r\\n
\\r\\n Driver's License: {{item.licenseNumber}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Admission Info:\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n Identifiers Used:\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/workOrderReport/WorkOrderReport.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"#spacer{padding-top:4.5em}textarea{line-height:200%;padding-left:0}#woAdmissionInfo,textarea{border:0 none #fff;overflow:hidden;outline:none;background-color:transparent;font-family:Verdana,Arial,Tahoma}#woAdmissionInfo{white-space:pre-line}#spacer{padding-top:2.5em}#smspacer{padding-top:2em}#xsmspacer{padding-top:1.5em}#xxsmspacer{padding-top:.5em}#woMain{margin:5px 3em;border:0;width:60em}#woRpt{width:29.2em}#woRpt,#woSI{vertical-align:left;text-align:left;float:left}#woSI{width:90%;padding-bottom:5px}span{font-weight:700}#woRpt-long{width:65.2em}#woRpt-left,#woRpt-long{vertical-align:left;text-align:left;float:left}#woRpt-left{width:15.2em}#woRpt-full{width:100%}#woHeader,#woRpt-full{vertical-align:left;text-align:left;float:left}#woHeader{width:50.2em;font-weight:700}hr{float:left;width:67rem;margin:5px 3em}@media print{.page-break{display:block;page-break-before:always}}section.hidden{display:none}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/workOrderReport/workOrderReport.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar index_1 = __webpack_require__(\"./src/models/index.ts\");\r\nvar index_2 = __webpack_require__(\"./src/services/index.ts\");\r\nvar WorkOrderReportComponent = (function () {\r\n function WorkOrderReportComponent(researcherService, msgSvc) {\r\n this.researcherService = researcherService;\r\n this.msgSvc = msgSvc;\r\n this.rpt = [];\r\n this.requestNbr = JSON.parse(localStorage.getItem('requests'));\r\n }\r\n WorkOrderReportComponent.prototype.ngOnInit = function () {\r\n this.msgSvc.setControlKey();\r\n this.getReportData(this.requestNbr);\r\n };\r\n WorkOrderReportComponent.prototype.getReportData = function (requestNbrs) {\r\n var _this = this;\r\n this.rpt.length = 0;\r\n this.researcherService.getWorkOrders(requestNbrs)\r\n .subscribe(function (data) {\r\n _this.rpt = index_1.Report.getWorkOrderReport(data);\r\n });\r\n };\r\n WorkOrderReportComponent.prototype.notEndOfFile = function (value) {\r\n if (this.jurisdiction === '' || this.jurisdiction === undefined || this.jurisdiction === null) {\r\n this.jurisdiction = value;\r\n }\r\n if (this.jurisdiction !== value) {\r\n this.jurisdiction = value;\r\n this.isPageBreak = true;\r\n }\r\n else {\r\n this.isPageBreak = false;\r\n }\r\n if (this.endOfFile !== 0) {\r\n this.endOfFile = this.endOfFile - 1;\r\n }\r\n return this.isPageBreak;\r\n };\r\n WorkOrderReportComponent.prototype.showJurisdiction = function (value) {\r\n var show = localStorage.getItem('jurisdication');\r\n if (show !== null && show !== undefined && show !== '') {\r\n if (show === value) {\r\n this.showJuris = false;\r\n }\r\n else {\r\n this.showJuris = true;\r\n }\r\n }\r\n else {\r\n this.showJuris = true;\r\n }\r\n localStorage.setItem('jurisdiction', value);\r\n return this.showJuris;\r\n };\r\n WorkOrderReportComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-wo-report',\r\n template: __webpack_require__(\"./src/app/workOrderReport/WorkOrderReport.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/workOrderReport/WorkOrderReport.component.scss\")],\r\n providers: [index_2.ResearcherService, index_2.MessageQueService]\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof index_2.ResearcherService !== \"undefined\" && index_2.ResearcherService) === \"function\" && _a || Object, typeof (_b = typeof index_2.MessageQueService !== \"undefined\" && index_2.MessageQueService) === \"function\" && _b || Object])\r\n ], WorkOrderReportComponent);\r\n return WorkOrderReportComponent;\r\n var _a, _b;\r\n}());\r\nexports.WorkOrderReportComponent = WorkOrderReportComponent;\r\n//# sourceMappingURL=workOrderReport.component.js.map\n\n/***/ }),\n\n/***/ \"./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.html\":\n/***/ (function(module, exports) {\n\nmodule.exports = \"
\\r\\n
{{researchInstructions}}
\\r\\n
\\r\\n\";\n\n/***/ }),\n\n/***/ \"./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.scss\":\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(\"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"#woMain{margin:5px 3em;border:0;width:60em}#woSI{width:90%;vertical-align:left;text-align:left;float:left;padding-bottom:5px}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n/***/ }),\n\n/***/ \"./src/app/workOrderSpecialInstructions/workOrderSpecialInstructions.component.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar WorkOrderSpecialInstructionsComponent = (function () {\r\n function WorkOrderSpecialInstructionsComponent() {\r\n }\r\n __decorate([\r\n core_1.Input(),\r\n __metadata(\"design:type\", String)\r\n ], WorkOrderSpecialInstructionsComponent.prototype, \"researchInstructions\", void 0);\r\n WorkOrderSpecialInstructionsComponent = __decorate([\r\n core_1.Component({\r\n selector: 'app-wo-special-instructions',\r\n template: __webpack_require__(\"./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.html\"),\r\n styles: [__webpack_require__(\"./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.scss\")]\r\n }),\r\n __metadata(\"design:paramtypes\", [])\r\n ], WorkOrderSpecialInstructionsComponent);\r\n return WorkOrderSpecialInstructionsComponent;\r\n}());\r\nexports.WorkOrderSpecialInstructionsComponent = WorkOrderSpecialInstructionsComponent;\r\n//# sourceMappingURL=workOrderSpecialInstructions.component.js.map\n\n/***/ }),\n\n/***/ \"./src/assets/images/CRIM-Logo.gif\":\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__.p + \"assets/CRIM-Logo.381482a1bebe45fd6ead916f278d2008.gif\";\n\n/***/ }),\n\n/***/ \"./src/directives/validateOnblur.directive.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar forms_1 = __webpack_require__(\"./node_modules/@angular/forms/esm5/forms.js\");\r\nvar ValidationOnBlurDirective = (function () {\r\n function ValidationOnBlurDirective(formControl) {\r\n this.formControl = formControl;\r\n }\r\n ValidationOnBlurDirective.prototype.onFocus = function () {\r\n this.wasChanged = false;\r\n this.validators = this.formControl.control.validator;\r\n this.asyncValidators = this.formControl.control.asyncValidator;\r\n this.formControl.control.clearAsyncValidators();\r\n this.formControl.control.clearValidators();\r\n };\r\n ValidationOnBlurDirective.prototype.onKeyup = function () {\r\n this.wasChanged = true; // keyboard change\r\n };\r\n ValidationOnBlurDirective.prototype.onChange = function () {\r\n this.wasChanged = true; // copypaste change\r\n };\r\n ValidationOnBlurDirective.prototype.onNgModelChange = function () {\r\n this.wasChanged = true; // ng-value change\r\n };\r\n ValidationOnBlurDirective.prototype.onBlur = function () {\r\n this.formControl.control.setAsyncValidators(this.asyncValidators);\r\n this.formControl.control.setValidators(this.validators);\r\n if (this.wasChanged) {\r\n this.formControl.control.updateValueAndValidity();\r\n }\r\n };\r\n ValidationOnBlurDirective = __decorate([\r\n core_1.Directive({\r\n selector: '[app-validateOnBlur]',\r\n host: {\r\n '(focus)': 'onFocus($event)',\r\n '(blur)': 'onBlur($event)',\r\n '(keyup)': 'onKeyup($event)',\r\n '(change)': 'onChange($event)',\r\n '(ngModelChange)': 'onNgModelChange($event)'\r\n }\r\n }),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof forms_1.NgControl !== \"undefined\" && forms_1.NgControl) === \"function\" && _a || Object])\r\n ], ValidationOnBlurDirective);\r\n return ValidationOnBlurDirective;\r\n var _a;\r\n}());\r\nexports.default = ValidationOnBlurDirective;\r\n//# sourceMappingURL=validateOnblur.directive.js.map\n\n/***/ }),\n\n/***/ \"./src/globals.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar env = \"PRODUCTION\";\r\nexports.environmentName = env;\r\n//# sourceMappingURL=globals.js.map\n\n/***/ }),\n\n/***/ \"./src/guards/authenticationGuard.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar authenticationService_1 = __webpack_require__(\"./src/services/authenticationService.ts\");\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar AuthenticationGuard = (function () {\r\n function AuthenticationGuard(authenticationService, router) {\r\n this.authenticationService = authenticationService;\r\n this.router = router;\r\n }\r\n AuthenticationGuard.prototype.canActivate = function () {\r\n var isLoggedIn = this.isLoggedIn();\r\n if (!isLoggedIn) {\r\n this.router.navigate(['login']);\r\n }\r\n return isLoggedIn;\r\n };\r\n AuthenticationGuard.prototype.isLoggedIn = function () {\r\n var isLoggedIn = this.authenticationService && this.authenticationService.isLoggedIn;\r\n if (!isLoggedIn) {\r\n isLoggedIn = sessionStorage.getItem('isLoggedIn') === 'true';\r\n }\r\n return isLoggedIn;\r\n };\r\n AuthenticationGuard = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof authenticationService_1.AuthenticationService !== \"undefined\" && authenticationService_1.AuthenticationService) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object])\r\n ], AuthenticationGuard);\r\n return AuthenticationGuard;\r\n var _a, _b;\r\n}());\r\nexports.default = AuthenticationGuard;\r\n//# sourceMappingURL=authenticationGuard.js.map\n\n/***/ }),\n\n/***/ \"./src/main.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar platform_browser_dynamic_1 = __webpack_require__(\"./node_modules/@angular/platform-browser-dynamic/esm5/platform-browser-dynamic.js\");\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar app_module_1 = __webpack_require__(\"./src/app/app.module.ts\");\r\nvar globals_1 = __webpack_require__(\"./src/globals.ts\");\r\nif (globals_1.environmentName === 'PRODUCTION') {\r\n core_1.enableProdMode();\r\n}\r\nplatform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(app_module_1.AppModule);\r\n//# sourceMappingURL=main.js.map\n\n/***/ }),\n\n/***/ \"./src/models/Admission.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Admission = (function () {\r\n function Admission(admissionLevel, admissionType, admissionYear, countyName, description, federal, firstLevelOffender, probationCompleted, probationStatus, prohibited, prohibitedState, question, stateCode, type) {\r\n this.admissionLevel = admissionLevel;\r\n this.admissionType = admissionType;\r\n this.admissionYear = admissionYear;\r\n this.countyName = countyName;\r\n this.description = description;\r\n this.federal = federal;\r\n this.firstLevelOffender = firstLevelOffender;\r\n this.probationCompleted = probationCompleted;\r\n this.probationStatus = probationStatus;\r\n this.prohibited = prohibited;\r\n this.prohibitedState = prohibitedState;\r\n this.question = question;\r\n this.stateCode = stateCode;\r\n this.type = type;\r\n }\r\n Admission.getAdmissions = function (specialInstruction) {\r\n var admission = '';\r\n for (var _i = 0, specialInstruction_1 = specialInstruction; _i < specialInstruction_1.length; _i++) {\r\n var admissions = specialInstruction_1[_i];\r\n if (admissions.applicantAdmissions.length > 0) {\r\n for (var _a = 0, _b = admissions.applicantAdmissions; _a < _b.length; _a++) {\r\n var item = _b[_a];\r\n if (item.admissionType !== undefined && item.admissionType !== null && item.admissionType !== '') {\r\n admission += \"\\n Admission Type = \" + item.admissionType + \" \\n\";\r\n if (item.question !== '' && item.question !== undefined && item.question !== null) {\r\n admission += \" Question = \" + item.question + \" \\n\";\r\n }\r\n if (item.federal !== '' && item.federal !== undefined && item.federal !== null) {\r\n admission += \" Federal = \" + item.federal + \" \\n\";\r\n }\r\n if (item.admissionYear !== '' && item.admissionYear !== undefined && item.admissionYear !== null) {\r\n admission += \" Admission Year = \" + item.admissionYear + \" \\n\";\r\n }\r\n if (item.stateCode !== '' && item.stateCode !== undefined && item.stateCode !== null) {\r\n admission += \" State Code = \" + item.stateCode + \" \\n\";\r\n }\r\n if (item.countyName !== '' && item.countyName !== undefined && item.countyName !== null) {\r\n admission += \" County Name = \" + item.countyName + \" \\n\";\r\n }\r\n if (item.description !== '' && item.description !== undefined && item.description !== null) {\r\n admission += \" Description = \" + item.description + \" \\n\";\r\n }\r\n if (item.type !== '' && item.type !== undefined && item.type !== null) {\r\n admission += \" Type = \" + item.type + \" \\n\";\r\n }\r\n if (item.firstLevelOffender !== '' && item.firstLevelOffender !== undefined && item.firstLevelOffender !== null) {\r\n admission += \" First Level Offender = \" + item.firstLevelOffender + \" \\n\";\r\n }\r\n if (item.admissionLevel !== '' && item.admissionLevel !== undefined && item.admissionLevel !== null) {\r\n admission += \" Admission Level = \" + item.admissionLevel + \" \\n\";\r\n }\r\n if (item.probationStatus !== '' && item.probationStatus !== undefined && item.probationStatus !== null) {\r\n admission += \" Probation Status = \" + item.probationStatus + \" \\n\";\r\n }\r\n if (item.probationCompleted !== '' && item.probationCompleted !== undefined && item.probationCompleted !== null) {\r\n admission += \" Probation Completed = \" + item.probationCompleted + \" \\n\";\r\n }\r\n if (item.prohibited !== '' && item.prohibited !== undefined && item.prohibited !== null) {\r\n admission += \" Prohibited = \" + item.prohibited + \" \\n\";\r\n }\r\n if (item.prohibitedState !== '' && item.prohibitedState !== undefined && item.prohibitedState !== null) {\r\n admission += \" Prohibited State = \" + item.prohibitedState + \" \\n\";\r\n }\r\n }\r\n }\r\n }\r\n else {\r\n admission = '';\r\n }\r\n }\r\n return admission;\r\n };\r\n return Admission;\r\n}());\r\nexports.Admission = Admission;\r\n//# sourceMappingURL=Admission.js.map\n\n/***/ }),\n\n/***/ \"./src/models/ResearchInstruction.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar ResearchInstruction = (function () {\r\n function ResearchInstruction(researchInstruction) {\r\n this.researchInstruction = researchInstruction;\r\n }\r\n ResearchInstruction.getResearchInstruction = function (specialInstruction) {\r\n var result = null;\r\n for (var _i = 0, specialInstruction_1 = specialInstruction; _i < specialInstruction_1.length; _i++) {\r\n var item = specialInstruction_1[_i];\r\n if (item.researchInstructions.length > 0) {\r\n for (var _a = 0, _b = item.researchInstructions; _a < _b.length; _a++) {\r\n var research = _b[_a];\r\n result = research.researchInstructions;\r\n }\r\n }\r\n }\r\n return result;\r\n };\r\n return ResearchInstruction;\r\n}());\r\nexports.ResearchInstruction = ResearchInstruction;\r\n//# sourceMappingURL=ResearchInstruction.js.map\n\n/***/ }),\n\n/***/ \"./src/models/alertifyPromise.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar alertify = __webpack_require__(\"./node_modules/alertifyjs/build/alertify.js\");\r\nvar AlertResult;\r\n(function (AlertResult) {\r\n AlertResult[AlertResult[\"Ok\"] = 1] = \"Ok\";\r\n})(AlertResult = exports.AlertResult || (exports.AlertResult = {}));\r\nvar ConfirmResult;\r\n(function (ConfirmResult) {\r\n ConfirmResult[ConfirmResult[\"Ok\"] = 1] = \"Ok\";\r\n ConfirmResult[ConfirmResult[\"Cancel\"] = 2] = \"Cancel\";\r\n})(ConfirmResult = exports.ConfirmResult || (exports.ConfirmResult = {}));\r\nfunction promisifyAlert(title, message, options) {\r\n if (options === void 0) { options = {\r\n labels: {\r\n ok: 'OK'\r\n }\r\n }; }\r\n return new Promise(function (resolve) {\r\n alertify.alert(title, message, function () { return resolve(AlertResult.Ok); }).set(Object.assign({}, {\r\n closableByDimmer: false,\r\n defaultFocus: 'ok',\r\n frameless: false,\r\n closable: false\r\n }, options));\r\n });\r\n}\r\nexports.promisifyAlert = promisifyAlert;\r\nfunction promisifyConfirm(title, message, options) {\r\n if (options === void 0) { options = {\r\n labels: {\r\n ok: 'OK',\r\n cancel: 'CANCEL'\r\n }\r\n }; }\r\n return new Promise(function (resolve) {\r\n alertify.confirm(title, message, function () { return resolve(ConfirmResult.Ok); }, function () { return resolve(ConfirmResult.Cancel); }).set(Object.assign({}, {\r\n closableByDimmer: false,\r\n defaultFocus: 'cancel',\r\n frameless: false,\r\n closable: false\r\n }, options));\r\n });\r\n}\r\nexports.promisifyConfirm = promisifyConfirm;\r\n//# sourceMappingURL=alertifyPromise.js.map\n\n/***/ }),\n\n/***/ \"./src/models/charge.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Charge = (function () {\r\n function Charge(requestNbr, offenseNbr, chargeNbr, countNbr, chargeLevel, charge, disposition, chargeStatute, chargeProbation, chargeFines, chargeCourtCosts, chargeJailTime, chargePrisonTime, chargeSuspensionTime, chargeNextCourtDate, chargeOffenseDate, noOffenseDateReason, chargeFileDate, noFileDateReason, chargeArrestDate, noArrestDateReason, chargeDispDate, noDispDateReason, chargeOtherSentenceNotes, chargeCd) {\r\n this.requestNbr = requestNbr;\r\n this.offenseNbr = offenseNbr;\r\n this.chargeNbr = chargeNbr;\r\n this.countNbr = countNbr;\r\n this.chargeLevel = chargeLevel;\r\n this.charge = charge;\r\n this.disposition = disposition;\r\n this.chargeStatute = chargeStatute;\r\n this.chargeProbation = chargeProbation;\r\n this.chargeFines = chargeFines;\r\n this.chargeCourtCosts = chargeCourtCosts;\r\n this.chargeJailTime = chargeJailTime;\r\n this.chargePrisonTime = chargePrisonTime;\r\n this.chargeSuspensionTime = chargeSuspensionTime;\r\n this.chargeNextCourtDate = chargeNextCourtDate;\r\n this.chargeOffenseDate = chargeOffenseDate;\r\n this.noOffenseDateReason = noOffenseDateReason;\r\n this.chargeFileDate = chargeFileDate;\r\n this.noFileDateReason = noFileDateReason;\r\n this.chargeArrestDate = chargeArrestDate;\r\n this.noArrestDateReason = noArrestDateReason;\r\n this.chargeDispDate = chargeDispDate;\r\n this.noDispDateReason = noDispDateReason;\r\n this.chargeOtherSentenceNotes = chargeOtherSentenceNotes;\r\n this.chargeCd = chargeCd;\r\n if (this.chargeNextCourtDate !== null) {\r\n this.chargeNextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n if (this.chargeOffenseDate !== null) {\r\n this.chargeOffenseDate.setHours(0, 0, 0, 0);\r\n }\r\n if (this.chargeFileDate !== null) {\r\n this.chargeFileDate.setHours(0, 0, 0, 0);\r\n }\r\n if (this.chargeArrestDate !== null) {\r\n this.chargeArrestDate.setHours(0, 0, 0, 0);\r\n }\r\n if (this.chargeDispDate !== null) {\r\n this.chargeDispDate.setHours(0, 0, 0, 0);\r\n }\r\n }\r\n Object.defineProperty(Charge.prototype, \"offenseNumber\", {\r\n get: function () {\r\n return this.offenseNbr;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"chargeNumber\", {\r\n get: function () {\r\n return this.chargeNbr;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"count\", {\r\n get: function () {\r\n return this.countNbr;\r\n },\r\n set: function (count) {\r\n this.countNbr = count;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"offense\", {\r\n get: function () {\r\n return this.charge;\r\n },\r\n set: function (offense) {\r\n this.charge = offense;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"probation\", {\r\n get: function () {\r\n return this.chargeProbation;\r\n },\r\n set: function (probation) {\r\n this.chargeProbation = probation;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"fines\", {\r\n get: function () {\r\n return this.chargeFines;\r\n },\r\n set: function (fines) {\r\n this.chargeFines = fines;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"courtCost\", {\r\n get: function () {\r\n return this.chargeCourtCosts;\r\n },\r\n set: function (courtCost) {\r\n this.chargeCourtCosts = courtCost;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"jailTime\", {\r\n get: function () {\r\n return this.chargeJailTime;\r\n },\r\n set: function (jailTime) {\r\n this.chargeJailTime = jailTime;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"prisonTime\", {\r\n get: function () {\r\n return this.chargePrisonTime;\r\n },\r\n set: function (prisonTime) {\r\n this.chargePrisonTime = prisonTime;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"suspensionTime\", {\r\n get: function () {\r\n return this.chargeSuspensionTime;\r\n },\r\n set: function (suspensionTime) {\r\n this.chargeSuspensionTime = suspensionTime;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"nextCourtDate\", {\r\n get: function () {\r\n return this.chargeNextCourtDate;\r\n },\r\n set: function (nextCourtDate) {\r\n if (nextCourtDate !== null) {\r\n nextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n this.chargeNextCourtDate = nextCourtDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"offenseDate\", {\r\n get: function () {\r\n return this.chargeOffenseDate;\r\n },\r\n set: function (offenseDate) {\r\n if (offenseDate !== null) {\r\n offenseDate.setHours(0, 0, 0, 0);\r\n }\r\n this.chargeOffenseDate = offenseDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"fileDate\", {\r\n get: function () {\r\n return this.chargeFileDate;\r\n },\r\n set: function (fileDate) {\r\n if (fileDate !== null) {\r\n fileDate.setHours(0, 0, 0, 0);\r\n }\r\n this.chargeFileDate = fileDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"arrestDate\", {\r\n get: function () {\r\n return this.chargeArrestDate;\r\n },\r\n set: function (arrestDate) {\r\n if (arrestDate !== null) {\r\n arrestDate.setHours(0, 0, 0, 0);\r\n }\r\n this.chargeArrestDate = arrestDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"dispositionDate\", {\r\n get: function () {\r\n return this.chargeDispDate;\r\n },\r\n set: function (dispositionDate) {\r\n if (dispositionDate !== null) {\r\n dispositionDate.setHours(0, 0, 0, 0);\r\n }\r\n this.chargeDispDate = dispositionDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"noDispositionReason\", {\r\n get: function () {\r\n return this.noDispDateReason;\r\n },\r\n set: function (noDispositionReason) {\r\n this.noDispDateReason = noDispositionReason;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"otherSentenceNotes\", {\r\n get: function () {\r\n return this.chargeOtherSentenceNotes;\r\n },\r\n set: function (otherSentenceNotes) {\r\n this.chargeOtherSentenceNotes = otherSentenceNotes;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(Charge.prototype, \"chargeType\", {\r\n get: function () {\r\n return this.chargeCd;\r\n },\r\n set: function (chargeType) {\r\n this.chargeCd = chargeType;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Charge.createCharge = function (requestNumber, offenseNumber, count, chargeLevel, offense, disposition, chargeStatute, probation, fines, courtCosts, jailTime, prisonTime, suspensionTime, nextCourtDate, offenseDate, noOffenseDateReason, fileDate, noFileDateReason, arrestDate, noArrestDateReason, dispositionDate, noDispositionReason, otherSentenceNotes, chargeType) {\r\n return new Charge(requestNumber, offenseNumber, null, count, chargeLevel, offense, disposition, chargeStatute, probation, fines, courtCosts, jailTime, prisonTime, suspensionTime, nextCourtDate, offenseDate, noOffenseDateReason, fileDate, noFileDateReason, arrestDate, noArrestDateReason, dispositionDate, noDispositionReason, otherSentenceNotes, chargeType);\r\n };\r\n Charge.createFromRequest = function (charges) {\r\n if (charges == null) {\r\n return null;\r\n }\r\n var internalCharges = new Array();\r\n for (var _i = 0, charges_1 = charges; _i < charges_1.length; _i++) {\r\n var chargeBackup = charges_1[_i];\r\n internalCharges.push(new Charge(chargeBackup.requestNbr, chargeBackup.offenseNbr, chargeBackup.chargeNbr, chargeBackup.countNbr, chargeBackup.chargeLevel, chargeBackup.charge, chargeBackup.disposition, chargeBackup.chargeStatute, chargeBackup.chargeProbation, chargeBackup.chargeFines, chargeBackup.chargeCourtCosts, chargeBackup.chargeJailTime, chargeBackup.chargePrisonTime, chargeBackup.chargeSuspensionTime, chargeBackup.chargeNextCourtDate === null ? null : new Date(chargeBackup.chargeNextCourtDate), chargeBackup.chargeOffenseDate === null ? null : new Date(chargeBackup.chargeOffenseDate), chargeBackup.noOffenseDateReason, chargeBackup.chargeFileDate === null ? null : new Date(chargeBackup.chargeFileDate), chargeBackup.noFileDateReason, chargeBackup.chargeArrestDate === null ? null : new Date(chargeBackup.chargeArrestDate), chargeBackup.noArrestDateReason, chargeBackup.chargeDispDate === null ? null : new Date(chargeBackup.chargeDispDate), chargeBackup.noDispDateReason, chargeBackup.chargeOtherSentenceNotes, chargeBackup.chargeCd));\r\n }\r\n return internalCharges;\r\n };\r\n return Charge;\r\n}());\r\nexports.default = Charge;\r\n//# sourceMappingURL=charge.js.map\n\n/***/ }),\n\n/***/ \"./src/models/chargeLevels.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar ChargeLevel;\r\n(function (ChargeLevel) {\r\n ChargeLevel[ChargeLevel[\"Misdemeanor\"] = 1] = \"Misdemeanor\";\r\n ChargeLevel[ChargeLevel[\"Felony\"] = 2] = \"Felony\";\r\n ChargeLevel[ChargeLevel[\"Traffic\"] = 4] = \"Traffic\";\r\n ChargeLevel[ChargeLevel[\"CriminalTraffic\"] = 5] = \"CriminalTraffic\";\r\n ChargeLevel[ChargeLevel[\"PettyMisdemeanors\"] = 7] = \"PettyMisdemeanors\";\r\n ChargeLevel[ChargeLevel[\"OrdinanceViolation\"] = 9] = \"OrdinanceViolation\";\r\n ChargeLevel[ChargeLevel[\"Infraction\"] = 10] = \"Infraction\";\r\n ChargeLevel[ChargeLevel[\"Other\"] = 11] = \"Other\";\r\n ChargeLevel[ChargeLevel[\"Summary\"] = 12] = \"Summary\";\r\n ChargeLevel[ChargeLevel[\"MinorMisdemeanor\"] = 13] = \"MinorMisdemeanor\";\r\n})(ChargeLevel = exports.ChargeLevel || (exports.ChargeLevel = {}));\r\n//# sourceMappingURL=chargeLevels.js.map\n\n/***/ }),\n\n/***/ \"./src/models/chargeType.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar ChargeType;\r\n(function (ChargeType) {\r\n ChargeType[\"Convicted\"] = \"C\";\r\n ChargeType[\"ActiveDeferral\"] = \"AD\";\r\n ChargeType[\"CompleteDeferral\"] = \"CD\";\r\n ChargeType[\"OtherNonConviction\"] = \"N\";\r\n ChargeType[\"Pending\"] = \"P\";\r\n})(ChargeType = exports.ChargeType || (exports.ChargeType = {}));\r\n//# sourceMappingURL=chargeType.js.map\n\n/***/ }),\n\n/***/ \"./src/models/codes.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Codes;\r\n(function (Codes) {\r\n Codes[Codes[\"ok\"] = 200] = \"ok\";\r\n Codes[Codes[\"requireUsername\"] = 460] = \"requireUsername\";\r\n Codes[Codes[\"requirePassword\"] = 461] = \"requirePassword\";\r\n Codes[Codes[\"requiredNewPassword\"] = 464] = \"requiredNewPassword\";\r\n Codes[Codes[\"invalidPassword\"] = 453] = \"invalidPassword\";\r\n Codes[Codes[\"userNamePasswordNotExist\"] = 454] = \"userNamePasswordNotExist\";\r\n Codes[Codes[\"passwordAlreadyExist\"] = 455] = \"passwordAlreadyExist\";\r\n Codes[Codes[\"passwordMatch\"] = 456] = \"passwordMatch\";\r\n Codes[Codes[\"requiredEmail\"] = 464] = \"requiredEmail\";\r\n Codes[Codes[\"accountLocked\"] = 458] = \"accountLocked\";\r\n})(Codes = exports.Codes || (exports.Codes = {}));\r\n//# sourceMappingURL=codes.js.map\n\n/***/ }),\n\n/***/ \"./src/models/complianceAuditLog.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar ComplianceAuditLog = (function () {\r\n function ComplianceAuditLog(requestNbr, event, page, description, comment) {\r\n this.requestNbr = requestNbr;\r\n this.event = event;\r\n this.page = page;\r\n this.description = description;\r\n this.comment = comment;\r\n }\r\n return ComplianceAuditLog;\r\n}());\r\nexports.default = ComplianceAuditLog;\r\n//# sourceMappingURL=complianceAuditLog.js.map\n\n/***/ }),\n\n/***/ \"./src/models/dateHandler.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar moment = __webpack_require__(\"./node_modules/moment/moment.js\");\r\nvar DateHandler = (function () {\r\n function DateHandler(date, baseCentury) {\r\n if (baseCentury === void 0) { baseCentury = 2000; }\r\n this.baseCentury = baseCentury;\r\n this.date = null;\r\n this.mask = 'MM/DD/YYYY';\r\n this.dayMask = 'DD';\r\n this.monthMask = 'MM';\r\n this.yearMask = 'YYYY';\r\n if (date instanceof Date) {\r\n this.date = moment(date).format(this.mask);\r\n }\r\n else {\r\n this.date = date ? date.trim() : date;\r\n }\r\n }\r\n Object.defineProperty(DateHandler.prototype, \"isValid\", {\r\n get: function () {\r\n var date = this.formatDate(this.date, this.mask);\r\n return date !== null && moment(date, this.mask).isValid();\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DateHandler.prototype.format = function (mask) {\r\n if (mask === void 0) { mask = null; }\r\n return this.date === null ? '' : this.internalFormat(mask === null || mask === undefined ? this.mask : mask);\r\n };\r\n Object.defineProperty(DateHandler.prototype, \"month\", {\r\n get: function () {\r\n return this.date === null ? '' : this.internalFormat(this.monthMask);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateHandler.prototype, \"day\", {\r\n get: function () {\r\n return this.date === null ? '' : this.internalFormat(this.dayMask);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(DateHandler.prototype, \"year\", {\r\n get: function () {\r\n return this.date === null ? '' : this.internalFormat(this.yearMask);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n DateHandler.prototype.internalFormat = function (mask) {\r\n var date = null;\r\n if (!this.isValid) {\r\n date = this.formatDate(this.date, this.mask);\r\n }\r\n else {\r\n date = this.date;\r\n }\r\n return date === null || date.trim() === '' ? '' : moment(date, this.mask).format(mask);\r\n };\r\n DateHandler.prototype.formatDate = function (date, mask) {\r\n var dateNoDelimiters = date.replace(/\\/|-/g, '');\r\n var maskNoDelimiters = mask.replace(/\\/|-/g, '');\r\n var length = maskNoDelimiters.length - dateNoDelimiters.length;\r\n if (length < 0 || (length !== 2 && length !== 0)) {\r\n return null;\r\n }\r\n if (length === 2) {\r\n var year = parseInt(dateNoDelimiters.slice(-2), 10);\r\n date = \"\" + date.slice(0, -2) + (year + this.baseCentury);\r\n }\r\n return date;\r\n };\r\n return DateHandler;\r\n}());\r\nexports.default = DateHandler;\r\n//# sourceMappingURL=dateHandler.js.map\n\n/***/ }),\n\n/***/ \"./src/models/formControl.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar dateHandler_1 = __webpack_require__(\"./src/models/dateHandler.ts\");\r\nvar FormControl = (function () {\r\n function FormControl(formGroup) {\r\n this.formGroup = formGroup;\r\n }\r\n FormControl.prototype.setValidationErrorByControlName = function (controlName, validatorType) {\r\n var control = this.formGroup.get(controlName);\r\n var validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n };\r\n FormControl.prototype.clearValidatorErrorByControlName = function (controlName, validatorType) {\r\n var control = this.formGroup.get(controlName);\r\n var validator = {};\r\n validator[validatorType] = false;\r\n control.setErrors(validator);\r\n control.updateValueAndValidity();\r\n };\r\n FormControl.prototype.setValueByControlName = function (controlName, value) {\r\n this.formGroup.get(controlName).setValue(value === null ? '' : value);\r\n };\r\n FormControl.prototype.getValueByControlName = function (controlName) {\r\n return this.formGroup.get(controlName).value;\r\n };\r\n FormControl.prototype.getNumberByControlName = function (controlName) {\r\n return +this.formGroup.get(controlName).value;\r\n };\r\n FormControl.prototype.getBooleanByControlName = function (controlName) {\r\n var value = this.getValueByControlName(controlName);\r\n return value === null || value.length === 0 ? false : Boolean(value);\r\n };\r\n FormControl.prototype.getCrimBooleanByControlName = function (controlName) {\r\n var value = this.getValueByControlName(controlName);\r\n var boolean = value === null || value.length === 0 ? 'false' : Boolean(value);\r\n return boolean ? 'o' : '';\r\n };\r\n FormControl.prototype.getDateByControlName = function (controlName, baseCentury) {\r\n if (baseCentury === void 0) { baseCentury = 2000; }\r\n var value = this.getValueByControlName(controlName);\r\n var date = new dateHandler_1.default(value, baseCentury);\r\n return value === null || value.length === 0 || !date.isValid ? null : new Date(date.format());\r\n };\r\n FormControl.prototype.getShortDateByControlName = function (controlName, baseCentury) {\r\n if (baseCentury === void 0) { baseCentury = 2000; }\r\n var value = this.getValueByControlName(controlName);\r\n var date = new dateHandler_1.default(value, baseCentury);\r\n return value === null || value.length === 0 || !date.isValid ? null : new Date(Date.UTC(new Date(date.format()).getFullYear(), new Date(date.format()).getMonth(), new Date(date.format()).getDate(), 0, 0, 0, 0));\r\n };\r\n FormControl.prototype.getControlByControlName = function (controlName) {\r\n return this.formGroup.get(controlName);\r\n };\r\n FormControl.prototype.hasErrorByControlName = function (controlName) {\r\n return this.formGroup.get(controlName).invalid;\r\n };\r\n FormControl.prototype.isControlNameDirty = function (controlName) {\r\n return this.formGroup.get(controlName).dirty;\r\n };\r\n FormControl.prototype.disableControlByControlName = function (controlName) {\r\n return this.formGroup.get(controlName).disable();\r\n };\r\n FormControl.prototype.enableControlByControlName = function (controlName) {\r\n return this.formGroup.get(controlName).enable();\r\n };\r\n FormControl.prototype.hasValueByControlName = function (controlName) {\r\n var value = this.getValueByControlName(controlName);\r\n return value !== null && value !== undefined && value !== '';\r\n };\r\n return FormControl;\r\n}());\r\nexports.default = FormControl;\r\n//# sourceMappingURL=formControl.js.map\n\n/***/ }),\n\n/***/ \"./src/models/httpBase.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar Rx_1 = __webpack_require__(\"./node_modules/rxjs/Rx.js\");\r\nvar alertify = __webpack_require__(\"./node_modules/alertifyjs/build/alertify.js\");\r\nvar HttpBase = (function () {\r\n function HttpBase(http, router) {\r\n this.http = http;\r\n this.router = router;\r\n }\r\n HttpBase.prototype.httpPost = function (url, object, showPopupOnError, redirectToLoginIfNotAuthorized) {\r\n var _this = this;\r\n if (showPopupOnError === void 0) { showPopupOnError = true; }\r\n if (redirectToLoginIfNotAuthorized === void 0) { redirectToLoginIfNotAuthorized = true; }\r\n this.putLoader();\r\n var headers = new http_1.Headers();\r\n headers.append('Content-Type', 'application/json');\r\n var options = new http_1.RequestOptions({\r\n headers: headers,\r\n withCredentials: true\r\n });\r\n return this.http.post(url, JSON.stringify(object), options)\r\n .map(function (r) { return r; })\r\n .catch(function (r) {\r\n if (r.status === 401 && redirectToLoginIfNotAuthorized) {\r\n _this.goToLoginPage();\r\n }\r\n else if (r.status !== 401 && r.status !== 422 && showPopupOnError) {\r\n alertify.alert('Crim Error', 'Your request cannot be processed at this time. Please try again later.');\r\n }\r\n return Rx_1.Observable.of(r);\r\n })\r\n .finally(function () {\r\n _this.removeLoader();\r\n });\r\n };\r\n HttpBase.prototype.httpDelete = function (url, showPopupOnError, redirectToLoginIfNotAuthorized) {\r\n var _this = this;\r\n if (showPopupOnError === void 0) { showPopupOnError = true; }\r\n if (redirectToLoginIfNotAuthorized === void 0) { redirectToLoginIfNotAuthorized = true; }\r\n this.putLoader();\r\n var headers = new http_1.Headers();\r\n headers.append('Content-Type', 'application/json');\r\n var options = new http_1.RequestOptions({\r\n headers: headers,\r\n withCredentials: true\r\n });\r\n return this.http.delete(url, options)\r\n .map(function (r) { return r; })\r\n .catch(function (r) {\r\n if (r.status === 401 && redirectToLoginIfNotAuthorized) {\r\n _this.goToLoginPage();\r\n }\r\n else if (r.status !== 401 && r.status !== 422 && showPopupOnError) {\r\n alertify.alert('Crim Error', 'Your request cannot be processed at this time. Please try again later.');\r\n }\r\n return Rx_1.Observable.of(r);\r\n })\r\n .finally(function () {\r\n _this.removeLoader();\r\n });\r\n };\r\n HttpBase.prototype.httpGet = function (url, showPopupOnError, redirectToLoginIfNotAuthorized) {\r\n var _this = this;\r\n if (showPopupOnError === void 0) { showPopupOnError = true; }\r\n if (redirectToLoginIfNotAuthorized === void 0) { redirectToLoginIfNotAuthorized = true; }\r\n this.putLoader();\r\n return this.http.get(url, { withCredentials: true })\r\n .map(function (r) { return r; })\r\n .catch(function (r) {\r\n if (r.status === 401 && redirectToLoginIfNotAuthorized) {\r\n _this.goToLoginPage();\r\n }\r\n else if (r.status !== 401 && r.status !== 422 && showPopupOnError) {\r\n alertify.alert('Crim Error', 'Your request cannot be processed at this time. Please try again later.');\r\n }\r\n return Rx_1.Observable.of(r);\r\n })\r\n .finally(function () {\r\n _this.removeLoader();\r\n });\r\n };\r\n HttpBase.prototype.goToLoginPage = function () {\r\n this.router.navigate(['login']);\r\n };\r\n HttpBase.prototype.putLoader = function () {\r\n var loaderElement = document.getElementById('loader');\r\n loaderElement.className = 'loader';\r\n var screenDisableElement = document.getElementById('screen-disable');\r\n screenDisableElement.className = 'screen-disable';\r\n };\r\n HttpBase.prototype.removeLoader = function () {\r\n var loaderElement = document.getElementById('loader');\r\n loaderElement.className = '';\r\n var screenDisableElement = document.getElementById('screen-disable');\r\n screenDisableElement.className = '';\r\n };\r\n return HttpBase;\r\n}());\r\nexports.default = HttpBase;\r\n//# sourceMappingURL=httpBase.js.map\n\n/***/ }),\n\n/***/ \"./src/models/httpError.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar HttpError = (function () {\r\n function HttpError(response, urlUsed) {\r\n this.response = response;\r\n this.urlUsed = urlUsed;\r\n }\r\n Object.defineProperty(HttpError.prototype, \"status\", {\r\n get: function () {\r\n return this.response.status;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(HttpError.prototype, \"statusText\", {\r\n get: function () {\r\n return this.response.statusText;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(HttpError.prototype, \"url\", {\r\n get: function () {\r\n return this.response.url || this.urlUsed;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(HttpError.prototype, \"httpResponse\", {\r\n get: function () {\r\n return this.response;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n return HttpError;\r\n}());\r\nexports.default = HttpError;\r\n//# sourceMappingURL=httpError.js.map\n\n/***/ }),\n\n/***/ \"./src/models/index.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(\"./src/models/httpError.ts\"));\r\n__export(__webpack_require__(\"./src/models/researcherTaskList.ts\"));\r\n__export(__webpack_require__(\"./src/models/workOrder.ts\"));\r\n__export(__webpack_require__(\"./src/models/workOrderComplete.ts\"));\r\n__export(__webpack_require__(\"./src/models/report.ts\"));\r\n__export(__webpack_require__(\"./src/models/specialInstruction.ts\"));\r\n__export(__webpack_require__(\"./src/models/submitTask.ts\"));\r\n__export(__webpack_require__(\"./src/models/submitTaskDialog.ts\"));\r\n__export(__webpack_require__(\"./src/models/codes.ts\"));\r\n__export(__webpack_require__(\"./src/models/params.ts\"));\r\n__export(__webpack_require__(\"./src/models/sortList.ts\"));\r\n__export(__webpack_require__(\"./src/models/jurisdictions.ts\"));\r\n__export(__webpack_require__(\"./src/models/jurisdictionResults.ts\"));\r\n__export(__webpack_require__(\"./src/models/orderBy.ts\"));\r\n__export(__webpack_require__(\"./src/models/Admission.ts\"));\r\n__export(__webpack_require__(\"./src/models/ResearchInstruction.ts\"));\r\n//# sourceMappingURL=index.js.map\n\n/***/ }),\n\n/***/ \"./src/models/invoice.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar jurisdictionTotal_1 = __webpack_require__(\"./src/models/jurisdictionTotal.ts\");\r\nvar vendor_1 = __webpack_require__(\"./src/models/vendor.ts\");\r\nvar Invoice = (function () {\r\n function Invoice(vendor, jurisdictionTotals, totalRequestCount, totalInvoiceAmount) {\r\n this.vendor = vendor;\r\n this.jurisdictionTotals = jurisdictionTotals;\r\n this.totalRequestCount = totalRequestCount;\r\n this.totalInvoiceAmount = totalInvoiceAmount;\r\n }\r\n Invoice.createFromRequest = function (request) {\r\n var vendor = vendor_1.default.createFromRequest(request);\r\n var jurisdictionTotals = new Array();\r\n for (var _i = 0, _a = request.jurisdictions; _i < _a.length; _i++) {\r\n var jurisdictionTotal = _a[_i];\r\n jurisdictionTotals.push(jurisdictionTotal_1.default.createFromRequest(jurisdictionTotal));\r\n }\r\n return new Invoice(vendor, jurisdictionTotals, request.source.totalRequests, request.source.totalInvoiceAmount);\r\n };\r\n return Invoice;\r\n}());\r\nexports.default = Invoice;\r\n//# sourceMappingURL=invoice.js.map\n\n/***/ }),\n\n/***/ \"./src/models/jurisdiction.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Jurisdiction = (function () {\r\n function Jurisdiction(jurisdictionId, description, count) {\r\n this.jurisdictionId = jurisdictionId;\r\n this.description = description;\r\n this.count = count;\r\n }\r\n Jurisdiction.createFromRequest = function (request) {\r\n return new Jurisdiction(request.jurisdictionId, request.description, request.count);\r\n };\r\n return Jurisdiction;\r\n}());\r\nexports.default = Jurisdiction;\r\n//# sourceMappingURL=jurisdiction.js.map\n\n/***/ }),\n\n/***/ \"./src/models/jurisdictionResults.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar JurisdicationResults = (function () {\r\n function JurisdicationResults(jurisdictionId, jState, jurisdiction, requestTotal) {\r\n this.jurisdictionId = jurisdictionId;\r\n this.jState = jState;\r\n this.jurisdiction = jurisdiction;\r\n this.requestTotal = requestTotal;\r\n }\r\n JurisdicationResults.createFromRequest = function (results) {\r\n return results == null\r\n ? null\r\n : new JurisdicationResults(results.jurisdicationId, results.jState, results.jurisdiction, results.requestTotal);\r\n };\r\n return JurisdicationResults;\r\n}());\r\nexports.JurisdicationResults = JurisdicationResults;\r\n//# sourceMappingURL=jurisdictionResults.js.map\n\n/***/ }),\n\n/***/ \"./src/models/jurisdictionTotal.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar JurisdictionTotal = (function () {\r\n function JurisdictionTotal(jurisdiction, totalRequests, jurisdictionTotal) {\r\n this.jurisdiction = jurisdiction;\r\n this.totalRequests = totalRequests;\r\n this.jurisdictionTotal = jurisdictionTotal;\r\n }\r\n JurisdictionTotal.createFromRequest = function (request) {\r\n return new JurisdictionTotal(request.jurisdiction, request.totalRequests, request.jurisdictionTotal);\r\n };\r\n return JurisdictionTotal;\r\n}());\r\nexports.default = JurisdictionTotal;\r\n//# sourceMappingURL=jurisdictionTotal.js.map\n\n/***/ }),\n\n/***/ \"./src/models/jurisdictions.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Jurisdictions = (function () {\r\n function Jurisdictions(sourceId, sourceType, sourceSubType, sourceName, status, statusReason, addresss, state, zipCode, phoneNbr, faxPhoneNbr, altPhoneNbr, altFaxNumber, emailAddress, webAddress, pfdSendMethod, pfdRecvMethod, workOrderFormat, comments, contact, systemOwnerId) {\r\n this.sourceId = sourceId;\r\n this.sourceType = sourceType;\r\n this.sourceSubType = sourceSubType;\r\n this.sourceName = sourceName;\r\n this.status = status;\r\n this.statusReason = statusReason;\r\n this.addresss = addresss;\r\n this.state = state;\r\n this.zipCode = zipCode;\r\n this.phoneNbr = phoneNbr;\r\n this.faxPhoneNbr = faxPhoneNbr;\r\n this.altPhoneNbr = altPhoneNbr;\r\n this.altFaxNumber = altFaxNumber;\r\n this.emailAddress = emailAddress;\r\n this.webAddress = webAddress;\r\n this.pfdSendMethod = pfdSendMethod;\r\n this.pfdRecvMethod = pfdRecvMethod;\r\n this.workOrderFormat = workOrderFormat;\r\n this.comments = comments;\r\n this.contact = contact;\r\n this.systemOwnerId = systemOwnerId;\r\n }\r\n Jurisdictions.createFromRequest = function (juris) {\r\n return juris == null\r\n ? null\r\n : new Jurisdictions(juris.sourceId, juris.sourceType, juris.sourceSubType, juris.sourceName, juris.status, juris.statusReason, juris.address, juris.state, juris.zipCode, juris.phoneNbr, juris.altPhoneNbr, juris.faxPhoneNbr, juris.altFaxNumber, juris.emailAddress, juris.webAddress, juris.pfdSendMethod, juris.pfdRecvMethod, juris.workOrderFormat, juris.comments, juris.contact, juris.systemOwnerId);\r\n };\r\n return Jurisdictions;\r\n}());\r\nexports.Jurisdictions = Jurisdictions;\r\n//# sourceMappingURL=jurisdictions.js.map\n\n/***/ }),\n\n/***/ \"./src/models/loggedInUser.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar user_1 = __webpack_require__(\"./src/models/user.ts\");\r\nvar LoggedInUser = (function () {\r\n function LoggedInUser(lastLoginDate, user) {\r\n this.lastLoginDate = lastLoginDate;\r\n this.user = user;\r\n }\r\n LoggedInUser.createFromRequest = function (request) {\r\n var lastLoginDate = request.lastLoginDate;\r\n return new LoggedInUser(lastLoginDate, user_1.default.createFromRequest(request.user));\r\n };\r\n return LoggedInUser;\r\n}());\r\nexports.default = LoggedInUser;\r\n//# sourceMappingURL=loggedInUser.js.map\n\n/***/ }),\n\n/***/ \"./src/models/navigation.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar jurisdiction_1 = __webpack_require__(\"./src/models/jurisdiction.ts\");\r\nvar loggedInUser_1 = __webpack_require__(\"./src/models/loggedInUser.ts\");\r\nvar vendor_1 = __webpack_require__(\"./src/models/vendor.ts\");\r\nvar Navigation = (function () {\r\n function Navigation(loggedInUser, jurisdictions, vendors) {\r\n this.loggedInUser = loggedInUser;\r\n this.jurisdictions = jurisdictions;\r\n this.vendors = vendors;\r\n }\r\n Navigation.createFromRequest = function (request) {\r\n var jurisdictions = new Array();\r\n var vendors = new Array();\r\n var loggedInUser = loggedInUser_1.default.createFromRequest(request.loggedInUser);\r\n for (var _i = 0, _a = request.jurisdictions; _i < _a.length; _i++) {\r\n var jurisdiction = _a[_i];\r\n jurisdictions.push(jurisdiction_1.default.createFromRequest(jurisdiction));\r\n }\r\n for (var _b = 0, _c = request.vendors; _b < _c.length; _b++) {\r\n var vendor = _c[_b];\r\n vendors.push(vendor_1.default.createFromRequest(vendor));\r\n }\r\n return new Navigation(loggedInUser, jurisdictions, vendors);\r\n };\r\n return Navigation;\r\n}());\r\nexports.default = Navigation;\r\n//# sourceMappingURL=navigation.js.map\n\n/***/ }),\n\n/***/ \"./src/models/offense.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Offense = (function () {\r\n function Offense(offenseSearch, offenseRecords) {\r\n this.offenseSearch = offenseSearch;\r\n this.offenseRecords = offenseRecords;\r\n }\r\n return Offense;\r\n}());\r\nexports.default = Offense;\r\n//# sourceMappingURL=offense.js.map\n\n/***/ }),\n\n/***/ \"./src/models/offenseCodes.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// Using bitwise operator I can\r\n// pass back multiple codes.\r\nvar OffenseCodes;\r\n(function (OffenseCodes) {\r\n OffenseCodes[OffenseCodes[\"ok\"] = 0] = \"ok\";\r\n})(OffenseCodes = exports.OffenseCodes || (exports.OffenseCodes = {}));\r\n//# sourceMappingURL=offenseCodes.js.map\n\n/***/ }),\n\n/***/ \"./src/models/offenseRecord.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar charge_1 = __webpack_require__(\"./src/models/charge.ts\");\r\nvar OffenseRecord = (function () {\r\n function OffenseRecord(requestNbr, offenseNbr, offenseDt, fileDt, dispositionDt, gradingResult, courtRecordedName, faxInfoInd, identifierDOB, identifierSSN, identifierName, identifierAddress, identifierDLN, classification, comments, referenceNbr, nameDiff, identifierSIN, courtRecordDOB, identifierPartialDOB, partialMonth, partialDay, partialYear, identifierNoDOB, nextCourtDate, probation, jailTime, prisonTime, suspensionTime, fines, courtCosts, otherSentenceNotes, arrestDate, results, suppressed, deleted, deferred, isCourtCaseSentencing, verifiedDOBFull, verifiedDOBPartial, verifiedAddress, verifiedSSN, verifiedSIN, verifiedDL, verifiedName, isVerified, verifiedUserId, charges, isNewRecord) {\r\n if (isNewRecord === void 0) { isNewRecord = false; }\r\n this.requestNbr = requestNbr;\r\n this.offenseNbr = offenseNbr;\r\n this.offenseDt = offenseDt;\r\n this.fileDt = fileDt;\r\n this.dispositionDt = dispositionDt;\r\n this.gradingResult = gradingResult;\r\n this.courtRecordedName = courtRecordedName;\r\n this.faxInfoInd = faxInfoInd;\r\n this.identifierDOB = identifierDOB;\r\n this.identifierSSN = identifierSSN;\r\n this.identifierName = identifierName;\r\n this.identifierAddress = identifierAddress;\r\n this.identifierDLN = identifierDLN;\r\n this.classification = classification;\r\n this.comments = comments;\r\n this.referenceNbr = referenceNbr;\r\n this.nameDiff = nameDiff;\r\n this.identifierSIN = identifierSIN;\r\n this.courtRecordDOB = courtRecordDOB;\r\n this.identifierPartialDOB = identifierPartialDOB;\r\n this.partialMonth = partialMonth;\r\n this.partialDay = partialDay;\r\n this.partialYear = partialYear;\r\n this.identifierNoDOB = identifierNoDOB;\r\n this.nextCourtDate = nextCourtDate;\r\n this.probation = probation;\r\n this.jailTime = jailTime;\r\n this.prisonTime = prisonTime;\r\n this.suspensionTime = suspensionTime;\r\n this.fines = fines;\r\n this.courtCosts = courtCosts;\r\n this.otherSentenceNotes = otherSentenceNotes;\r\n this.arrestDate = arrestDate;\r\n this.results = results;\r\n this.suppressed = suppressed;\r\n this.deleted = deleted;\r\n this.deferred = deferred;\r\n this.isCourtCaseSentencing = isCourtCaseSentencing;\r\n this.verifiedDOBFull = verifiedDOBFull;\r\n this.verifiedDOBPartial = verifiedDOBPartial;\r\n this.verifiedAddress = verifiedAddress;\r\n this.verifiedSSN = verifiedSSN;\r\n this.verifiedSIN = verifiedSIN;\r\n this.verifiedDL = verifiedDL;\r\n this.verifiedName = verifiedName;\r\n this.isVerified = isVerified;\r\n this.verifiedUserId = verifiedUserId;\r\n this.charges = charges;\r\n this.isNewRecord = isNewRecord;\r\n if (courtRecordDOB != null) {\r\n this.courtRecordDOB.setHours(0, 0, 0, 0);\r\n }\r\n if (nextCourtDate != null) {\r\n this.nextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n if (nextCourtDate != null) {\r\n this.nextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n if (fileDt != null) {\r\n this.fileDt.setHours(0, 0, 0, 0);\r\n }\r\n if (dispositionDt != null) {\r\n this.dispositionDt.setHours(0, 0, 0, 0);\r\n }\r\n }\r\n Object.defineProperty(OffenseRecord.prototype, \"requestNumber\", {\r\n get: function () {\r\n return this.requestNbr;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"offenseNumber\", {\r\n get: function () {\r\n return this.offenseNbr;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"offenseDate\", {\r\n get: function () {\r\n return this.offenseDt;\r\n },\r\n set: function (offenseDate) {\r\n if (offenseDate != null) {\r\n offenseDate.setHours(0, 0, 0, 0);\r\n }\r\n this.offenseDt = offenseDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"fileDate\", {\r\n get: function () {\r\n return this.fileDt;\r\n },\r\n set: function (fileDate) {\r\n if (fileDate != null) {\r\n fileDate.setHours(0, 0, 0, 0);\r\n }\r\n this.fileDt = fileDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"dispositionDate\", {\r\n get: function () {\r\n return this.dispositionDt;\r\n },\r\n set: function (dispositionDate) {\r\n if (dispositionDate != null) {\r\n dispositionDate.setHours(0, 0, 0, 0);\r\n }\r\n this.dispositionDt = dispositionDate;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"courtRecordFullName\", {\r\n get: function () {\r\n return this.courtRecordedName;\r\n },\r\n set: function (courtRecordFullName) {\r\n this.courtRecordedName = courtRecordFullName;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasFaxInformation\", {\r\n get: function () {\r\n return this.faxInfoInd === 'o';\r\n },\r\n set: function (hasFaxInformation) {\r\n this.faxInfoInd = hasFaxInformation ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasDobIdentifier\", {\r\n get: function () {\r\n return this.identifierDOB === 'o';\r\n },\r\n set: function (hasDobIdentifier) {\r\n this.identifierDOB = hasDobIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasSsnIdentifier\", {\r\n get: function () {\r\n return this.identifierSSN === 'o';\r\n },\r\n set: function (hasSsnIdentifier) {\r\n this.identifierSSN = hasSsnIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasNameIdentifier\", {\r\n get: function () {\r\n return this.identifierName === 'o';\r\n },\r\n set: function (hasNameIdentifier) {\r\n this.identifierName = hasNameIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasAddressIdentifier\", {\r\n get: function () {\r\n return this.identifierAddress === 'o';\r\n },\r\n set: function (hasAddressIdentifier) {\r\n this.identifierAddress = hasAddressIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasDlnIdentifier\", {\r\n get: function () {\r\n return this.identifierDLN === 'o';\r\n },\r\n set: function (hasDlnIdentifier) {\r\n this.identifierDLN = hasDlnIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasSinIdentifier\", {\r\n get: function () {\r\n return this.identifierSIN === 'o';\r\n },\r\n set: function (hasSinIdentifier) {\r\n this.identifierSIN = hasSinIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasPartialDobIdentifier\", {\r\n get: function () {\r\n return this.identifierPartialDOB === 'o';\r\n },\r\n set: function (hasPartialDobIdentifier) {\r\n this.identifierPartialDOB = hasPartialDobIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"hasNoDobIdentifier\", {\r\n get: function () {\r\n return this.identifierNoDOB === 'o';\r\n },\r\n set: function (hasNoDobIdentifier) {\r\n this.identifierNoDOB = hasNoDobIdentifier ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"referenceNumber\", {\r\n get: function () {\r\n return this.referenceNbr;\r\n },\r\n set: function (referenceNumber) {\r\n this.referenceNbr = referenceNumber;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"nameDiffers\", {\r\n get: function () {\r\n return this.nameDiff === 'o';\r\n },\r\n set: function (nameDiffers) {\r\n this.nameDiff = nameDiffers ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"courtRecordDob\", {\r\n get: function () {\r\n return this.courtRecordDOB;\r\n },\r\n set: function (courtRecordDob) {\r\n if (courtRecordDob != null) {\r\n courtRecordDob.setHours(0, 0, 0, 0);\r\n }\r\n this.courtRecordDOB = courtRecordDob;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isSuppressed\", {\r\n get: function () {\r\n return this.suppressed === 'o';\r\n },\r\n set: function (isSuppressed) {\r\n this.suppressed = isSuppressed ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isDeleted\", {\r\n get: function () {\r\n return this.deleted === 'o';\r\n },\r\n set: function (isDeleted) {\r\n this.deleted = isDeleted ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isDeferred\", {\r\n get: function () {\r\n return this.deferred === 'o';\r\n },\r\n set: function (isDeferred) {\r\n this.deferred = isDeferred ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isCourtCaseSentence\", {\r\n get: function () {\r\n return this.isCourtCaseSentencing === 'o';\r\n },\r\n set: function (isCourtCaseSentence) {\r\n this.isCourtCaseSentencing = isCourtCaseSentence ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isVerifiedDobFull\", {\r\n get: function () {\r\n return this.verifiedDOBFull === 'o';\r\n },\r\n set: function (isVerifiedDobFull) {\r\n this.verifiedDOBFull = isVerifiedDobFull ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isVerifiedDobPartial\", {\r\n get: function () {\r\n return this.verifiedDOBPartial === 'o';\r\n },\r\n set: function (isVerifiedDobPartial) {\r\n this.verifiedDOBPartial = isVerifiedDobPartial ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isVerifiedAddress\", {\r\n get: function () {\r\n return this.verifiedAddress === 'o';\r\n },\r\n set: function (isVerifiedAddress) {\r\n this.verifiedAddress = isVerifiedAddress ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isVerifiedSsn\", {\r\n get: function () {\r\n return this.verifiedSSN === 'o';\r\n },\r\n set: function (isVerifiedSsn) {\r\n this.verifiedSSN = isVerifiedSsn ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isVerifiedSin\", {\r\n get: function () {\r\n return this.verifiedSIN === 'o';\r\n },\r\n set: function (isVerifiedSin) {\r\n this.verifiedSIN = isVerifiedSin ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isVerifiedDl\", {\r\n get: function () {\r\n return this.verifiedDL === 'o';\r\n },\r\n set: function (isVerifiedDl) {\r\n this.verifiedDL = isVerifiedDl ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isVerifiedName\", {\r\n get: function () {\r\n return this.verifiedName === 'o';\r\n },\r\n set: function (isVerifiedName) {\r\n this.verifiedName = isVerifiedName ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseRecord.prototype, \"isOffenseVerified\", {\r\n get: function () {\r\n return this.isVerified === 'o';\r\n },\r\n set: function (isOffenseVerified) {\r\n this.isVerified = isOffenseVerified ? 'o' : '';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseRecord.getFromRequest = function (offenseRecords) {\r\n if (offenseRecords == null) {\r\n return null;\r\n }\r\n var records = new Array();\r\n if (offenseRecords.length > 0) {\r\n for (var _i = 0, offenseRecords_1 = offenseRecords; _i < offenseRecords_1.length; _i++) {\r\n var offenseRecord = offenseRecords_1[_i];\r\n records.push(new OffenseRecord(offenseRecord.requestNbr, offenseRecord.offenseNbr, offenseRecord.offenseDt === null ? null : new Date(offenseRecord.offenseDt), offenseRecord.fileDt === null ? null : new Date(offenseRecord.fileDt), offenseRecord.dispositionDt === null ? null : new Date(offenseRecord.dispositionDt), offenseRecord.gradingResult, offenseRecord.courtRecordedName, offenseRecord.faxInfoInd, offenseRecord.identifierDOB, offenseRecord.identifierSSN, offenseRecord.identifierName, offenseRecord.identifierAddress, offenseRecord.identifierDLN, offenseRecord.classification, offenseRecord.comments, offenseRecord.referenceNbr, offenseRecord.nameDiff, offenseRecord.identifierSIN, offenseRecord.courtRecordDOB === null ? null : new Date(offenseRecord.courtRecordDOB), offenseRecord.identifierPartialDOB, offenseRecord.partialMonth, offenseRecord.partialDay, offenseRecord.partialYear, offenseRecord.identifierNoDOB, offenseRecord.nextCourtDate === null ? null : new Date(offenseRecord.nextCourtDate), offenseRecord.probation, offenseRecord.jailTime, offenseRecord.prisonTime, offenseRecord.suspensionTime, offenseRecord.fines, offenseRecord.courtCosts, offenseRecord.otherSentenceNotes, offenseRecord.arrestDate === null ? null : new Date(offenseRecord.arrestDate), offenseRecord.results, offenseRecord.suppressed, offenseRecord.deleted, offenseRecord.deferred, offenseRecord.isCourtCaseSentencing, offenseRecord.verifiedDOBFull, offenseRecord.verifiedDOBPartial, offenseRecord.verifiedAddress, offenseRecord.verifiedSSN, offenseRecord.verifiedSIN, offenseRecord.verifiedDL, offenseRecord.verifiedName, offenseRecord.isVerified, offenseRecord.verifiedUserId, charge_1.default.createFromRequest(offenseRecord.charges)));\r\n }\r\n }\r\n return records;\r\n };\r\n OffenseRecord.createNewOffenseRecord = function (requestNumber, offenceNumber) {\r\n return new OffenseRecord(requestNumber, offenceNumber, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, new Array(), true);\r\n };\r\n return OffenseRecord;\r\n}());\r\nexports.default = OffenseRecord;\r\n//# sourceMappingURL=offenseRecord.js.map\n\n/***/ }),\n\n/***/ \"./src/models/offenseSearch.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar OffenseSearch = (function () {\r\n function OffenseSearch(requestNbr, caseNbr, refName, refAddr1, refCity, refState, refZip, workState, restrictedState, dob, jurisdiction, jurisdictionId, ssn, searchFromDt, searchToDt, admittedCrimNotFound, status, sourceName, sourceType, licenseNumber, isHeightenedIdentifier) {\r\n this.requestNbr = requestNbr;\r\n this.caseNbr = caseNbr;\r\n this.refName = refName;\r\n this.refAddr1 = refAddr1;\r\n this.refCity = refCity;\r\n this.refState = refState;\r\n this.refZip = refZip;\r\n this.workState = workState;\r\n this.restrictedState = restrictedState;\r\n this.dob = dob;\r\n this.jurisdiction = jurisdiction;\r\n this.jurisdictionId = jurisdictionId;\r\n this.ssn = ssn;\r\n this.searchFromDt = searchFromDt;\r\n this.searchToDt = searchToDt;\r\n this.admittedCrimNotFound = admittedCrimNotFound;\r\n this.status = status;\r\n this.sourceName = sourceName;\r\n this.sourceType = sourceType;\r\n this.licenseNumber = licenseNumber;\r\n this.isHeightenedIdentifier = isHeightenedIdentifier;\r\n }\r\n Object.defineProperty(OffenseSearch.prototype, \"requestNumber\", {\r\n get: function () {\r\n return this.requestNbr;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"caseNumber\", {\r\n get: function () {\r\n return this.caseNbr;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"fullName\", {\r\n get: function () {\r\n return this.refName;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"address1\", {\r\n get: function () {\r\n return this.refAddr1;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"city\", {\r\n get: function () {\r\n return this.refCity;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"state\", {\r\n get: function () {\r\n return this.refState;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"zip\", {\r\n get: function () {\r\n return this.refZip;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"isRestrictedState\", {\r\n get: function () {\r\n return this.restrictedState === 'Y';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"socialSecurityNumber\", {\r\n get: function () {\r\n return this.ssn === null || this.ssn === undefined || this.ssn.length !== 9\r\n ? this.ssn\r\n : this.ssn.slice(0, 3) + \"-\" + this.ssn.slice(3, 5) + \"-\" + this.ssn.slice(5);\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"searchFromDate\", {\r\n get: function () {\r\n return this.searchFromDt;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(OffenseSearch.prototype, \"searchToDate\", {\r\n get: function () {\r\n return this.searchToDt;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n OffenseSearch.createFromRequest = function (offenseSearch) {\r\n return offenseSearch == null\r\n ? null\r\n : new OffenseSearch(offenseSearch.requestNbr, offenseSearch.caseNbr, offenseSearch.refName, offenseSearch.refAddr1, offenseSearch.refCity, offenseSearch.refState, offenseSearch.refZip, offenseSearch.workState, offenseSearch.restrictedState, new Date(offenseSearch.dob), offenseSearch.jurisdiction, offenseSearch.jurisdictionId, offenseSearch.ssn, offenseSearch.searchFromDt, offenseSearch.searchToDt, offenseSearch.admittedCrimNotFound, offenseSearch.status, offenseSearch.sourceName, offenseSearch.sourceType, offenseSearch.licenseNumber, offenseSearch.isHeightenedIdentifier);\r\n };\r\n return OffenseSearch;\r\n}());\r\nexports.default = OffenseSearch;\r\n//# sourceMappingURL=offenseSearch.js.map\n\n/***/ }),\n\n/***/ \"./src/models/orderBy.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar OrderBy = (function () {\r\n function OrderBy() {\r\n this.value = [];\r\n }\r\n OrderBy_1 = OrderBy;\r\n OrderBy._orderByComparator = function (a, b) {\r\n if (a === null || a === undefined) {\r\n a = 0;\r\n }\r\n if (b === null || b === undefined) {\r\n b = 0;\r\n }\r\n if ((isNaN(parseFloat(a)) || !isFinite(a)) || (isNaN(parseFloat(b)) || !isFinite(b))) {\r\n if (!isNaN(Date.parse(a)) || !isNaN(Date.parse(b))) {\r\n if (a < b) {\r\n return -1;\r\n }\r\n if (a > b) {\r\n return 1;\r\n }\r\n }\r\n else {\r\n a = a.toString();\r\n b = b.toString();\r\n if (a.toLowerCase() < b.toLowerCase()) {\r\n return -1;\r\n }\r\n if (a.toLowerCase() > b.toLowerCase()) {\r\n return 1;\r\n }\r\n }\r\n }\r\n else {\r\n if (parseFloat(a) < parseFloat(b)) {\r\n return -1;\r\n }\r\n if (parseFloat(a) > parseFloat(b)) {\r\n return 1;\r\n }\r\n }\r\n return 0; // equal each other\r\n };\r\n OrderBy.prototype.transform = function (input, config) {\r\n if (config === void 0) { config = '+'; }\r\n config = JSON.parse(localStorage.getItem('sortOrder'));\r\n if (!input) {\r\n return input;\r\n }\r\n var value = input.slice();\r\n if (!Array.isArray(value)) {\r\n return value;\r\n }\r\n return value.sort(function (a, b) {\r\n for (var i = 0; i < config.length; i++) {\r\n var desc = config[i].substr(0, 1) === '-';\r\n var property = config[i].substr(0, 1) === '+' || config[i].substr(0, 1) === '-'\r\n ? config[i].substr(1) : config[i];\r\n var aValue = a[property];\r\n var bValue = b[property];\r\n var propertySplit = property.split('.');\r\n if (aValue === undefined && bValue === undefined && propertySplit.length > 1) {\r\n aValue = a;\r\n bValue = b;\r\n for (var j = 0; j < propertySplit.length; j++) {\r\n aValue = aValue[propertySplit[j]];\r\n bValue = bValue[propertySplit[j]];\r\n }\r\n }\r\n var comparison = !desc ? OrderBy_1._orderByComparator(aValue, bValue)\r\n : -OrderBy_1._orderByComparator(aValue, bValue);\r\n if (comparison !== 0) {\r\n return comparison;\r\n }\r\n }\r\n return 0; // equal each other\r\n });\r\n };\r\n OrderBy = OrderBy_1 = __decorate([\r\n core_1.Pipe({ name: 'orderBy', pure: false })\r\n ], OrderBy);\r\n return OrderBy;\r\n var OrderBy_1;\r\n}());\r\nexports.OrderBy = OrderBy;\r\n//# sourceMappingURL=orderBy.js.map\n\n/***/ }),\n\n/***/ \"./src/models/params.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Params = (function () {\r\n function Params() {\r\n }\r\n return Params;\r\n}());\r\nexports.Params = Params;\r\n//# sourceMappingURL=params.js.map\n\n/***/ }),\n\n/***/ \"./src/models/popupHelper.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar alertifyPromise_1 = __webpack_require__(\"./src/models/alertifyPromise.ts\");\r\nvar alertify = __webpack_require__(\"./node_modules/alertifyjs/build/alertify.js\");\r\nvar PopupHelper = (function () {\r\n function PopupHelper() {\r\n }\r\n PopupHelper.dobMismatchHelper = function () {\r\n var message = \"\\n
\\n
The applicant DOB does not match the court DOB.
\\n
Select Proceed to continue without editing the DOB.
\\n
Select Update to edit the DOB.
\\n
\\n \";\r\n return alertifyPromise_1.promisifyConfirm('
***WARNING*** DOB MISMATCH
', message, {\r\n labels: {\r\n ok: 'Proceed',\r\n cancel: 'Update'\r\n }\r\n });\r\n };\r\n PopupHelper.saveUnsavedChangesHelper = function () {\r\n var message = \"You made changes to the current record.\\n

If you would like these changes to be saved, please select Cancel and Save Record.\\n Select OK to proceed without saving these changes\";\r\n return alertifyPromise_1.promisifyConfirm('Unsaved changes', message);\r\n };\r\n PopupHelper.exitSystemHelper = function () {\r\n var message = \"You have chosen to Exit the Criminal Research System. If you\\n have made any changes that you have not saved, please select\\n the CANCEL push-button to save those changes. To continue\\n logging off of the system, select the OK push-button.\";\r\n return alertifyPromise_1.promisifyConfirm('System Exit', message);\r\n };\r\n PopupHelper.confirmSubmitHelper = function (message) {\r\n return alertifyPromise_1.promisifyConfirm('Confirm Submit', message);\r\n };\r\n PopupHelper.pendingWOHelper = function (message) {\r\n return alertifyPromise_1.promisifyAlert('Crim System', message);\r\n };\r\n PopupHelper.passwordExpirationHelper = function (message) {\r\n return alertifyPromise_1.promisifyConfirm('Crim Error', message);\r\n };\r\n PopupHelper.saveComment = function (message) {\r\n return alertifyPromise_1.promisifyAlert('Notice', message);\r\n };\r\n PopupHelper.loginIssue = function (message) {\r\n return alertifyPromise_1.promisifyAlert('CrimSystem', message);\r\n };\r\n PopupHelper.userHelperConfirm = function (message) {\r\n return alertifyPromise_1.promisifyConfirm('Crim System', message);\r\n };\r\n PopupHelper.userHelper = function (message, type) {\r\n if (type === 'error') {\r\n return alertifyPromise_1.promisifyAlert('Crim Error', message);\r\n }\r\n else if (type === 'crim') {\r\n return alertifyPromise_1.promisifyAlert('Crim System', message);\r\n }\r\n else {\r\n return alertifyPromise_1.promisifyAlert('Forgot Password', message);\r\n }\r\n };\r\n PopupHelper.deleteRecordHelper = function () {\r\n var message = \"Are you sure you want to delete this record?\";\r\n return alertifyPromise_1.promisifyConfirm('Record Delete', message);\r\n };\r\n PopupHelper.systemVersion = function () {\r\n alertify.alert('Crim System', \"Criminal Record Information Management Version 2.0\");\r\n };\r\n PopupHelper.support = function () {\r\n alertify.alert('Crim System', \"Please contact GIS Vendor Relations for any questions related to CRIM.\");\r\n };\r\n PopupHelper.submitHelper = function (message) {\r\n alertify.alert('Crim System', message);\r\n };\r\n PopupHelper.noChangesToTaskList = function () {\r\n return alertifyPromise_1.promisifyAlert('Crim System', \"No Changes have been made to the Task List.\");\r\n };\r\n PopupHelper.noHitsConfirmation = function (message) {\r\n return alertifyPromise_1.promisifyConfirm('Crim System', message);\r\n };\r\n PopupHelper.developerEasterEgg = function () {\r\n alertify.alert('Easter Egg Found!!!', \"\\n
\\n

Here are the members of the CRIM team in late 2017

\\n

Director

\\n
Kristin Schaefer
\\n\\n

Manager

\\n
Steve Amodio
\\n\\n

Product Owner

\\n
Todd Francis
\\n\\n

Qa Team

\\n
Kavitha Jayaseelan
\\n
Lindsey Fletcher
\\n
Mohana Katukuti
\\n\\n

Front-end Developers

\\n
Tracy Carter-Romey
\\n
Michael Astrauckas(Best Developer Ever!!!)
\\n\\n

Back-end Developers

\\n
Rob Segal
\\n
Michael Baffey
\\n
\\n 01000011 01110010 01101001 01101101\\n 00100000 01101001 01110011 00100000\\n 01101110 01101111 01110100 00100000\\n 01100001 00100000 01010011 01110100\\n 01110010 01100001 01110100 01110101\\n 01110011 00100000 01110000 01110010\\n 01101111 01101010 01100101 01100011\\n 01110100 00100001\\n
\\n
\\n \");\r\n };\r\n return PopupHelper;\r\n}());\r\nexports.default = PopupHelper;\r\n//# sourceMappingURL=popupHelper.js.map\n\n/***/ }),\n\n/***/ \"./src/models/registrationCodes.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n// Using bitwise operator I can\r\n// pass back multiple codes.\r\nvar RegistrationCodes;\r\n(function (RegistrationCodes) {\r\n RegistrationCodes[RegistrationCodes[\"ok\"] = 0] = \"ok\";\r\n RegistrationCodes[RegistrationCodes[\"requireToken\"] = 450] = \"requireToken\";\r\n RegistrationCodes[RegistrationCodes[\"usernameAlreadyExist\"] = 451] = \"usernameAlreadyExist\";\r\n RegistrationCodes[RegistrationCodes[\"invalidUsername\"] = 452] = \"invalidUsername\";\r\n RegistrationCodes[RegistrationCodes[\"requireUsername\"] = 460] = \"requireUsername\";\r\n RegistrationCodes[RegistrationCodes[\"requirePassword\"] = 461] = \"requirePassword\";\r\n RegistrationCodes[RegistrationCodes[\"tokenNotValid\"] = 450] = \"tokenNotValid\";\r\n RegistrationCodes[RegistrationCodes[\"invalidPassword\"] = 453] = \"invalidPassword\";\r\n RegistrationCodes[RegistrationCodes[\"invalidFirstName\"] = 462] = \"invalidFirstName\";\r\n RegistrationCodes[RegistrationCodes[\"invalidLastName\"] = 463] = \"invalidLastName\";\r\n RegistrationCodes[RegistrationCodes[\"emailAddress\"] = 464] = \"emailAddress\";\r\n RegistrationCodes[RegistrationCodes[\"userAndEmailAreTheSame\"] = 472] = \"userAndEmailAreTheSame\";\r\n})(RegistrationCodes = exports.RegistrationCodes || (exports.RegistrationCodes = {}));\r\n//# sourceMappingURL=registrationCodes.js.map\n\n/***/ }),\n\n/***/ \"./src/models/report.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Admission_1 = __webpack_require__(\"./src/models/Admission.ts\");\r\nvar Report = (function () {\r\n function Report(admissionInfo, caseNbr, dis_RequestDt_sort, dob, refAddr1, refCity, refName, refState, reportAllText, refZip, requestNbr, researchInstructions, researchDisplay, searchFromDt, searchToDt, specialInstr, // flag\r\n ssn, jurisdiction, licenseNumber, specialInstructions, admission, admissionDisplay, display, applicantAdmissions) {\r\n if (specialInstructions === void 0) { specialInstructions = {}; }\r\n if (applicantAdmissions === void 0) { applicantAdmissions = {}; }\r\n this.admissionInfo = admissionInfo;\r\n this.caseNbr = caseNbr;\r\n this.dis_RequestDt_sort = dis_RequestDt_sort;\r\n this.dob = dob;\r\n this.refAddr1 = refAddr1;\r\n this.refCity = refCity;\r\n this.refName = refName;\r\n this.refState = refState;\r\n this.reportAllText = reportAllText;\r\n this.refZip = refZip;\r\n this.requestNbr = requestNbr;\r\n this.researchInstructions = researchInstructions;\r\n this.researchDisplay = researchDisplay;\r\n this.searchFromDt = searchFromDt;\r\n this.searchToDt = searchToDt;\r\n this.specialInstr = specialInstr;\r\n this.ssn = ssn;\r\n this.jurisdiction = jurisdiction;\r\n this.licenseNumber = licenseNumber;\r\n this.specialInstructions = specialInstructions;\r\n this.admission = admission;\r\n this.admissionDisplay = admissionDisplay;\r\n this.display = display;\r\n this.applicantAdmissions = applicantAdmissions;\r\n }\r\n Report.getWorkOrderReport = function (data) {\r\n var rpt = new Array();\r\n for (var _i = 0, data_1 = data; _i < data_1.length; _i++) {\r\n var item = data_1[_i];\r\n rpt.push(new Report(item.admissionInfo, item.caseNbr, item.dis_RequestDt_sort === null ? null : new Date(item.dis_RequestDt_sort), item.dob !== '' ? item.dob : '', item.refAddr1, item.refCity, item.refName, item.refState, item.reportAllText, item.refZip, item.requestNbr, item.researchInstructions === null ? null : this.getSpecialInstruction(item.specialInstructions, item.reportAllText), item.researchDisplay = this.displaySections(item.researchInstructions), item.searchFromDt, item.searchToDt, item.specialInstr, item.ssn, item.jurisdiction, item.licenseNumber, item.specialInstructions, item.admission = Admission_1.Admission.getAdmissions(item.specialInstructions), item.admissionDisplay = this.displaySections(item.admission), item.display = this.display(item.admissionDisplay), item.applicantAdmissions));\r\n }\r\n return rpt;\r\n };\r\n Report.getSpecialInstruction = function (specialInstructions, reportAllText) {\r\n var instruction = '';\r\n for (var _i = 0, specialInstructions_1 = specialInstructions; _i < specialInstructions_1.length; _i++) {\r\n var item = specialInstructions_1[_i];\r\n var researchInstructions = '';\r\n if (item.researchInstructions.length > 0) {\r\n for (var _a = 0, _b = item.researchInstructions; _a < _b.length; _a++) {\r\n var x = _b[_a];\r\n researchInstructions = x.researchInstructions;\r\n }\r\n }\r\n if (reportAllText !== '' && reportAllText !== undefined && reportAllText !== null) {\r\n if (researchInstructions !== '' && researchInstructions !== undefined && researchInstructions !== null) {\r\n instruction = reportAllText + \". \" + researchInstructions;\r\n }\r\n else {\r\n instruction = reportAllText + \".\";\r\n }\r\n }\r\n else {\r\n if (researchInstructions !== '' && researchInstructions !== undefined && researchInstructions !== null) {\r\n instruction = \"\" + researchInstructions;\r\n }\r\n }\r\n }\r\n return instruction;\r\n };\r\n Report.displaySections = function (value) {\r\n var display = null;\r\n if (value === '' || value === undefined || value === null) {\r\n display = 'hidden';\r\n }\r\n return display;\r\n };\r\n Report.display = function (value) {\r\n if (value === 'hidden') {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n return Report;\r\n}());\r\nexports.Report = Report;\r\n//# sourceMappingURL=report.js.map\n\n/***/ }),\n\n/***/ \"./src/models/researcherTaskList.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar ResearcherTaskList = (function () {\r\n function ResearcherTaskList() {\r\n }\r\n return ResearcherTaskList;\r\n}());\r\nexports.ResearcherTaskList = ResearcherTaskList;\r\n//# sourceMappingURL=researcherTaskList.js.map\n\n/***/ }),\n\n/***/ \"./src/models/sentenceLevel.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar SentenceLevel;\r\n(function (SentenceLevel) {\r\n SentenceLevel[SentenceLevel[\"Record\"] = 0] = \"Record\";\r\n SentenceLevel[SentenceLevel[\"Offense\"] = 1] = \"Offense\";\r\n})(SentenceLevel = exports.SentenceLevel || (exports.SentenceLevel = {}));\r\n//# sourceMappingURL=sentenceLevel.js.map\n\n/***/ }),\n\n/***/ \"./src/models/sortList.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar SortList = (function () {\r\n function SortList() {\r\n }\r\n return SortList;\r\n}());\r\nexports.SortList = SortList;\r\n//# sourceMappingURL=sortList.js.map\n\n/***/ }),\n\n/***/ \"./src/models/specialInstruction.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar SpecialInstruction = (function () {\r\n function SpecialInstruction(researchInstruction, admission) {\r\n this.researchInstruction = researchInstruction;\r\n this.admission = admission;\r\n }\r\n return SpecialInstruction;\r\n}());\r\nexports.SpecialInstruction = SpecialInstruction;\r\n//# sourceMappingURL=specialInstruction.js.map\n\n/***/ }),\n\n/***/ \"./src/models/submitTask.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar SubmitTask = (function () {\r\n function SubmitTask() {\r\n }\r\n return SubmitTask;\r\n}());\r\nexports.SubmitTask = SubmitTask;\r\n//# sourceMappingURL=submitTask.js.map\n\n/***/ }),\n\n/***/ \"./src/models/submitTaskDialog.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar SubmitTaskDialog = (function () {\r\n function SubmitTaskDialog() {\r\n }\r\n return SubmitTaskDialog;\r\n}());\r\nexports.SubmitTaskDialog = SubmitTaskDialog;\r\n//# sourceMappingURL=submitTaskDialog.js.map\n\n/***/ }),\n\n/***/ \"./src/models/user.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar User = (function () {\r\n function User(userName, firstName, middleName, lastName, email, phoneNumber) {\r\n this.userName = userName;\r\n this.firstName = firstName;\r\n this.middleName = middleName;\r\n this.lastName = lastName;\r\n this.email = email;\r\n this.phoneNumber = phoneNumber;\r\n }\r\n User.createFromRequest = function (request) {\r\n var userName = request.userName, firstName = request.firstName, middleName = request.middleName, lastName = request.lastName, email = request.email, phoneNumber = request.phoneNumber;\r\n return new User(userName, firstName, middleName, lastName, email, phoneNumber);\r\n };\r\n return User;\r\n}());\r\nexports.default = User;\r\n//# sourceMappingURL=user.js.map\n\n/***/ }),\n\n/***/ \"./src/models/vendor.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar Vendor = (function () {\r\n function Vendor(id, name, address, city, state, zipCode, phoneNumber) {\r\n if (name === void 0) { name = null; }\r\n if (address === void 0) { address = null; }\r\n if (city === void 0) { city = null; }\r\n if (state === void 0) { state = null; }\r\n if (zipCode === void 0) { zipCode = null; }\r\n if (phoneNumber === void 0) { phoneNumber = null; }\r\n this.id = id;\r\n this.name = name;\r\n this.address = address;\r\n this.city = city;\r\n this.state = state;\r\n this.zipCode = zipCode;\r\n this.phoneNumber = phoneNumber;\r\n }\r\n Vendor.createFromRequest = function (request) {\r\n if (request.source !== null && request.source !== undefined) {\r\n var _a = request.source, sourceName = _a.sourceName, address = _a.address, city = _a.city, state = _a.state, zipCode = _a.zipCode, phoneNbr = _a.phoneNbr;\r\n return new Vendor(null, sourceName, address, city, state, zipCode, phoneNbr);\r\n }\r\n else if (request.vendorId === null || request.vendorId === undefined) {\r\n return new Vendor(request.vendorId);\r\n }\r\n return null;\r\n };\r\n return Vendor;\r\n}());\r\nexports.default = Vendor;\r\n//# sourceMappingURL=vendor.js.map\n\n/***/ }),\n\n/***/ \"./src/models/workOrder.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar WorkOrder = (function () {\r\n function WorkOrder() {\r\n }\r\n return WorkOrder;\r\n}());\r\nexports.WorkOrder = WorkOrder;\r\n//# sourceMappingURL=workOrder.js.map\n\n/***/ }),\n\n/***/ \"./src/models/workOrderComplete.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar WorkOrderComplete = (function () {\r\n function WorkOrderComplete() {\r\n this.confirmationMsg = '
' + 'Select OK if you would like to continue with this action. ' + '
' + '
';\r\n this.msgLine = '______________________________________________________________' + '
' + '
';\r\n this.breakLine = '
' + '
';\r\n this.pendingRqstMsg = \"The following will be placed in Pending Status.\" + '
' + '
';\r\n this.removePendingMsg = 'The following will no longer be marked as Pending. ' + '
' + '
';\r\n this.noHitsMsg = 'The following will be marked Completed. ' + '
' + '
';\r\n this.removeNoHitsMsg = 'The following will no longer be marked as Completed. ' + '
' + '
';\r\n }\r\n return WorkOrderComplete;\r\n}());\r\nexports.WorkOrderComplete = WorkOrderComplete;\r\n//# sourceMappingURL=workOrderComplete.js.map\n\n/***/ }),\n\n/***/ \"./src/services/MessageQueService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar MessageQueService = (function (_super) {\r\n __extends(MessageQueService, _super);\r\n function MessageQueService(http, router, environmentService, runtime) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n _this.runtime = runtime;\r\n return _this;\r\n }\r\n MessageQueService.prototype.saveRequestNbrs = function (requestNbrs) {\r\n this.rqstNbrs = requestNbrs;\r\n localStorage.setItem('requests', this.rqstNbrs);\r\n };\r\n MessageQueService.prototype.saveStateData = function (stateData) {\r\n localStorage.setItem('stateData', stateData);\r\n };\r\n MessageQueService.prototype.saveTaskListData = function (taskList) {\r\n localStorage.setItem('taskList', taskList);\r\n };\r\n MessageQueService.prototype.saveOriginalAdmitted = function (admitted) {\r\n localStorage.setItem('admitted', admitted);\r\n };\r\n MessageQueService.prototype.selectedValue = function (selection) {\r\n localStorage.setItem('selection', selection);\r\n };\r\n MessageQueService.prototype.selectedJurisdiction = function (jurisdictionId) {\r\n localStorage.setItem('jurisdictionId', jurisdictionId);\r\n };\r\n MessageQueService.prototype.saveWOData = function (woData) {\r\n localStorage.setItem('workOrder', woData);\r\n };\r\n MessageQueService.prototype.savejurisdictionFilter = function (filter) {\r\n localStorage.setItem('jFilter', filter);\r\n };\r\n MessageQueService.prototype.saveSortOrder = function (sortList) {\r\n localStorage.setItem('sortOrder', sortList);\r\n };\r\n MessageQueService.prototype.saveSortType = function (sorting) {\r\n localStorage.setItem('sortType', sorting);\r\n };\r\n MessageQueService.prototype.saveStatus = function (status) {\r\n this.status = status;\r\n localStorage.setItem('status', this.status);\r\n };\r\n MessageQueService.prototype.saveComment = function (comment) {\r\n this.comment = comment;\r\n localStorage.setItem('comment', this.comment);\r\n };\r\n // shared methods\r\n MessageQueService.prototype.formatDob = function (dob) {\r\n dob = new Date(dob).toISOString();\r\n var date = new Date(dob);\r\n var day = date.getDate();\r\n var month = this.getMonth(date);\r\n var year = date.getFullYear();\r\n var formattedDt = month + '/' + day + '/' + year;\r\n return formattedDt;\r\n };\r\n MessageQueService.prototype.setControlKey = function () {\r\n // this.cacheControlKey = this.getSwitchValue();\r\n // if (this.cacheControlKey === undefined || this.cacheControlKey === null) {\r\n // this.getControlKey(configName) ;\r\n // } else {\r\n // if (this.cacheControlKey === 1) {\r\n this.runtime.clearCache();\r\n // }\r\n // }\r\n };\r\n MessageQueService.prototype.getSwitchValue = function () {\r\n var value = localStorage.getItem('cacheControlKey').toLowerCase().trim();\r\n switch (value) {\r\n case '1':\r\n return 1;\r\n case '0':\r\n return 0;\r\n default: return 0;\r\n }\r\n };\r\n MessageQueService.prototype.getControlKey = function () {\r\n // this.getCacheControlKey(configName)\r\n // .subscribe(\r\n // (data) => {\r\n // localStorage.setItem('cacheControlKey', data.toString());\r\n // if (data === 1) {\r\n this.runtime.clearCache();\r\n // }\r\n // });\r\n // return this.cacheControlKey;\r\n };\r\n MessageQueService.prototype.getCacheControlKey = function (configName) {\r\n return this.httpGet(this.environmentService.cacheControlKeyUrl + \"configName=\" + configName, false)\r\n .map(function (r) {\r\n return r.json();\r\n });\r\n };\r\n MessageQueService.prototype.getMonth = function (date) {\r\n var month = date.getMonth() + 1;\r\n return month < 10 ? '0' + month : month;\r\n };\r\n MessageQueService.prototype.getDay = function (date) {\r\n var day = date.getDay() + 1;\r\n return day < 10 ? '0' + day : day;\r\n };\r\n MessageQueService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object, typeof (_d = typeof core_1.Compiler !== \"undefined\" && core_1.Compiler) === \"function\" && _d || Object])\r\n ], MessageQueService);\r\n return MessageQueService;\r\n var _a, _b, _c, _d;\r\n}(httpBase_1.default));\r\nexports.MessageQueService = MessageQueService;\r\n//# sourceMappingURL=MessageQueService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/authenticationService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar index_1 = __webpack_require__(\"./src/models/index.ts\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\n__webpack_require__(\"./node_modules/rxjs/add/operator/map.js\");\r\nvar popupHelper_1 = __webpack_require__(\"./src/models/popupHelper.ts\");\r\nvar AuthenticationService = (function (_super) {\r\n __extends(AuthenticationService, _super);\r\n function AuthenticationService(http, router, environmentService) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n _this.loggedIn = false;\r\n _this.chngPass = false;\r\n _this.reset = false;\r\n return _this;\r\n }\r\n AuthenticationService.prototype.login = function (username, password) {\r\n var _this = this;\r\n this.deleteLocalStorage();\r\n this.chngPass = false;\r\n return this.httpPost(this.environmentService.loginUrl, {\r\n userName: username,\r\n password: password\r\n }, true, false)\r\n .map(function (r) {\r\n if (r.status === 401 || r.status === 400) {\r\n _this.statusCd = r.status;\r\n }\r\n else {\r\n if (r.status === 200) {\r\n _this.reset = (r.json()).resetPassword;\r\n var expirationDt = (r.json()).passwordExpirationDate;\r\n _this.loggedIn = r.status === 200;\r\n _this.daysTillExpiration = _this.isExpired(expirationDt);\r\n }\r\n else if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n _this.statusCd = r.status;\r\n }\r\n var okCode = [index_1.Codes.ok];\r\n _this.setLocalStorage();\r\n return okCode;\r\n });\r\n };\r\n AuthenticationService.prototype.checkAuthorization = function (environment, browser) {\r\n return this.httpGet(this.environmentService.checkAuthorizationtUrl + \"browser=\" + browser + \"&environment=\" + environment, false)\r\n .map(function (r) {\r\n return r.json();\r\n });\r\n };\r\n AuthenticationService.prototype.logout = function () {\r\n this.loggedIn = false;\r\n this.chngPass = false;\r\n sessionStorage.setItem('isLoggedIn', this.loggedIn.toString());\r\n sessionStorage.setItem('isChanged', this.chngPass.toString());\r\n return this.httpPost(this.environmentService.logoutUrl, {}, false);\r\n };\r\n AuthenticationService.prototype.isExpired = function (expirationDt) {\r\n var duration = 0;\r\n var expireDt = new Date(expirationDt);\r\n var currentDt = new Date();\r\n if (this.expiredDate(expireDt, currentDt)) {\r\n var diff = Math.abs(expireDt.getTime() - currentDt.getTime());\r\n duration = Math.ceil(diff / (1000 * 3600 * 24));\r\n }\r\n else {\r\n duration = 0;\r\n }\r\n return duration;\r\n };\r\n AuthenticationService.prototype.expiredDate = function (expireDt, currentDt) {\r\n if (expireDt > currentDt) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n };\r\n AuthenticationService.prototype.setLocalStorage = function () {\r\n if (this.isLoggedIn !== undefined && this.isLoggedIn !== null) {\r\n sessionStorage.setItem('isLoggedIn', this.isLoggedIn.toString());\r\n }\r\n if (this.chngPass !== undefined && this.chngPass !== null) {\r\n sessionStorage.setItem('isChanged', this.chngPass.toString());\r\n }\r\n if (this.reset !== undefined && this.reset !== null) {\r\n sessionStorage.setItem('isReset', this.reset.toString());\r\n }\r\n if (this.daysTillExpiration !== undefined && this.daysTillExpiration !== null) {\r\n sessionStorage.setItem('isExpiring', this.daysTillExpiration.toString());\r\n }\r\n if (this.statusCd !== undefined && this.statusCd !== null) {\r\n sessionStorage.setItem('isStatusInvalid', this.statusCd.toString());\r\n }\r\n };\r\n AuthenticationService.prototype.deleteLocalStorage = function () {\r\n sessionStorage.clear();\r\n };\r\n Object.defineProperty(AuthenticationService.prototype, \"isLoggedIn\", {\r\n get: function () {\r\n return this.loggedIn;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AuthenticationService.prototype, \"isChanged\", {\r\n get: function () {\r\n return this.chngPass;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AuthenticationService.prototype, \"isReset\", {\r\n get: function () {\r\n return this.reset;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AuthenticationService.prototype, \"isExpiring\", {\r\n get: function () {\r\n return this.daysTillExpiration;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(AuthenticationService.prototype, \"isStatusInvalid\", {\r\n get: function () {\r\n return this.statusCd;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n AuthenticationService.prototype.changePassword = function (userName, password, newPassword) {\r\n return this.httpPost(this.environmentService.changePasswordUrl, {\r\n UserName: userName,\r\n Password: password,\r\n NewPassword: newPassword\r\n }, true)\r\n .map(function (r) {\r\n if (r.status === 401 || r.status === 400) {\r\n popupHelper_1.default.userHelper('Invalid user and/or password. Please try again. Access denied', 'error');\r\n }\r\n else if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n var okCode = [index_1.Codes.ok];\r\n return okCode;\r\n });\r\n };\r\n AuthenticationService.prototype.resetPassword = function (userName, email) {\r\n var _this = this;\r\n return this.httpPost(this.environmentService.resetUrl, {\r\n UserName: userName,\r\n Email: email\r\n }, true)\r\n .map(function (r) {\r\n _this.statusCd = r.status;\r\n if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n _this.setLocalStorage();\r\n var okCode = [index_1.Codes.ok];\r\n return okCode;\r\n });\r\n };\r\n AuthenticationService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object])\r\n ], AuthenticationService);\r\n return AuthenticationService;\r\n var _a, _b, _c;\r\n}(httpBase_1.default));\r\nexports.AuthenticationService = AuthenticationService;\r\n//# sourceMappingURL=authenticationService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/browserWindowObjectService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar BrowserWindowObjectService = (function () {\r\n function BrowserWindowObjectService() {\r\n }\r\n BrowserWindowObjectService.prototype.getNativeWindow = function () {\r\n return window;\r\n };\r\n BrowserWindowObjectService.prototype.searchCaptureOpen = function (route) {\r\n window.open(\"\" + route, '_blank', \"menubar=1, scrollbars=1, resizeable\");\r\n };\r\n BrowserWindowObjectService.prototype.watsonShowGuideline = function (route) {\r\n window.open(\"\" + route, '_blank', \"menubar=1, scrollbars=1, resizeable\");\r\n };\r\n BrowserWindowObjectService.prototype.openWindowInNewWindowByRoute = function (route, title, width, height) {\r\n window.open(\"#\" + route, 'NewWin', \"menubar=1, width=\" + width + \", height= \" + height + \", scrollbars=1, resizeable, titlebar=\" + title);\r\n };\r\n BrowserWindowObjectService.prototype.openInNewWindowByRoute = function (route, name, title, width, height) {\r\n var wComment = window.open(\"#\" + route, \"\" + name, '', true);\r\n wComment.close();\r\n window.open(\"#\" + route, \"\" + name, \"menubar=1, width=\" + width + \", height= \" + height + \", scrollbars=1, resizeable, titlebar=\" + title, true);\r\n };\r\n BrowserWindowObjectService.prototype.openWindowITabByRoute = function (route, title) {\r\n window.open(\"#\" + route, \"titlebar=\" + title);\r\n };\r\n BrowserWindowObjectService.prototype.scrollToTopOfPage = function () {\r\n window.scrollTo(0, 0);\r\n };\r\n BrowserWindowObjectService.prototype.goBackOnePage = function () {\r\n window.history.back();\r\n };\r\n BrowserWindowObjectService = __decorate([\r\n core_1.Injectable()\r\n ], BrowserWindowObjectService);\r\n return BrowserWindowObjectService;\r\n}());\r\nexports.default = BrowserWindowObjectService;\r\n//# sourceMappingURL=browserWindowObjectService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/complianceAuditLogService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar ComplianceAuditLogService = (function (_super) {\r\n __extends(ComplianceAuditLogService, _super);\r\n function ComplianceAuditLogService(http, router, environmentService) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n return _this;\r\n }\r\n ComplianceAuditLogService.prototype.addComplianceAuditLogs = function (complianceAuditLogs) {\r\n var _this = this;\r\n return new Promise(function (resolve, reject) {\r\n _this.httpPost(_this.environmentService.complianceAuditLogs, complianceAuditLogs)\r\n .subscribe(function (r) {\r\n if (r.status === 200) {\r\n resolve(true);\r\n }\r\n else {\r\n reject(false);\r\n }\r\n });\r\n });\r\n };\r\n ComplianceAuditLogService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object])\r\n ], ComplianceAuditLogService);\r\n return ComplianceAuditLogService;\r\n var _a, _b, _c;\r\n}(httpBase_1.default));\r\nexports.default = ComplianceAuditLogService;\r\n//# sourceMappingURL=complianceAuditLogService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/environmentService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar globals_1 = __webpack_require__(\"./src/globals.ts\");\r\nvar EnvironmentService = (function () {\r\n function EnvironmentService() {\r\n this.environmentName = globals_1.environmentName;\r\n this.hostname = window.location.hostname;\r\n this.port = this.isDevelopment ? ':5001' : '';\r\n this.crimWebVirtualDirectoryName = this.isDevelopment ? '' : '/crimwebapi';\r\n this.protocol = window.location.protocol;\r\n }\r\n Object.defineProperty(EnvironmentService.prototype, \"webApiUrl\", {\r\n get: function () {\r\n return this.protocol + \"//\" + this.hostname + this.port + this.crimWebVirtualDirectoryName + \"/api/\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"loginUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"account/login\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"cacheControlKeyUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"ConfigurationKey/SwitchStatus?\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"resetUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"account/Forgot\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"logoutUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"account/logout\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"changePasswordUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"account/Change\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"registerUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"account/create\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"helloWorldUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"helloworld/1\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"navigationUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"NavigationPage \";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"taskListUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"Requests?\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"jurisdictionUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"Jurisdictions\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"markRequestReceivedUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"Requests/MarkReceived\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"GetWorkOrdersUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"Requests/GetWorkOrders\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"getResearchTaskCommentUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"RequestComments?\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"checkAuthorizationtUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"BrowserSecurity/CheckAuthorization?\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"getSubmitTasklUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"Requests/SubmitChanges\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"SpecialInstructionUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"SpecialInstructions?\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"saveResearchTaskCommentUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"RequestComments/AddComment\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"deleteResearchTaskCommentUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"RequestComments/DeleteComment\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"getOffenses\", {\r\n get: function () {\r\n return this.webApiUrl + \"request\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"deleteOffense\", {\r\n get: function () {\r\n return this.webApiUrl + \"request/delete\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"saveOffenses\", {\r\n get: function () {\r\n return this.webApiUrl + \"offenses/save\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"workOrderComplete\", {\r\n get: function () {\r\n return this.webApiUrl + \"Request/workOrderComplete\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"invoiceUrl\", {\r\n get: function () {\r\n return this.webApiUrl + \"invoice\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"complianceAuditLogs\", {\r\n get: function () {\r\n return this.webApiUrl + \"ComplianceAuditLog/add\";\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"isDevelopment\", {\r\n get: function () {\r\n return this.environmentName === 'DEVELOPMENT';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n Object.defineProperty(EnvironmentService.prototype, \"isProduction\", {\r\n get: function () {\r\n return this.environmentName === 'PRODUCTION';\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n EnvironmentService = __decorate([\r\n core_1.Injectable()\r\n ], EnvironmentService);\r\n return EnvironmentService;\r\n}());\r\nexports.default = EnvironmentService;\r\n//# sourceMappingURL=environmentService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/index.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nfunction __export(m) {\r\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__export(__webpack_require__(\"./src/services/authenticationService.ts\"));\r\n__export(__webpack_require__(\"./src/services/messageService.ts\"));\r\n__export(__webpack_require__(\"./src/services/researcherService.ts\"));\r\n__export(__webpack_require__(\"./src/services/MessageQueService.ts\"));\r\n//# sourceMappingURL=index.js.map\n\n/***/ }),\n\n/***/ \"./src/services/invoiceService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar invoice_1 = __webpack_require__(\"./src/models/invoice.ts\");\r\nvar InvoiceService = (function (_super) {\r\n __extends(InvoiceService, _super);\r\n function InvoiceService(http, router, environmentService) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n return _this;\r\n }\r\n InvoiceService.prototype.getInvoice = function (invoiceNumber, startDate, endDate) {\r\n var queryString = \"invoiceNumber=\" + invoiceNumber + \"&startDate=\" + startDate + \"&endDate=\" + endDate;\r\n return this.httpGet(this.environmentService.invoiceUrl + \"?\" + queryString)\r\n .map(function (r) {\r\n return invoice_1.default.createFromRequest(r.json());\r\n });\r\n };\r\n InvoiceService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object])\r\n ], InvoiceService);\r\n return InvoiceService;\r\n var _a, _b, _c;\r\n}(httpBase_1.default));\r\nexports.default = InvoiceService;\r\n//# sourceMappingURL=invoiceService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/messageService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\n__webpack_require__(\"./node_modules/rxjs/add/operator/toPromise.js\");\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar httpError_1 = __webpack_require__(\"./src/models/httpError.ts\");\r\nvar MessageService = (function () {\r\n function MessageService(http, environmentService) {\r\n this.http = http;\r\n this.environmentService = environmentService;\r\n }\r\n MessageService.prototype.getMessage = function () {\r\n var _this = this;\r\n return this.http.get(this.environmentService.helloWorldUrl, { withCredentials: true })\r\n .toPromise()\r\n .then(function (r) { return r.json(); })\r\n .catch(function (e) {\r\n throw new httpError_1.default(e, _this.environmentService.helloWorldUrl);\r\n });\r\n };\r\n MessageService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _b || Object])\r\n ], MessageService);\r\n return MessageService;\r\n var _a, _b;\r\n}());\r\nexports.default = MessageService;\r\n//# sourceMappingURL=messageService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/navigationService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar navigation_1 = __webpack_require__(\"./src/models/navigation.ts\");\r\nvar NavigationService = (function (_super) {\r\n __extends(NavigationService, _super);\r\n function NavigationService(http, router, environmentService) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n return _this;\r\n }\r\n NavigationService.prototype.getJurisdictions = function () {\r\n return this.httpGet(this.environmentService.navigationUrl)\r\n .map(function (r) {\r\n return navigation_1.default.createFromRequest(r.json());\r\n });\r\n };\r\n NavigationService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object])\r\n ], NavigationService);\r\n return NavigationService;\r\n var _a, _b, _c;\r\n}(httpBase_1.default));\r\nexports.default = NavigationService;\r\n//# sourceMappingURL=navigationService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/offenseService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar offenseCodes_1 = __webpack_require__(\"./src/models/offenseCodes.ts\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar offense_1 = __webpack_require__(\"./src/models/offense.ts\");\r\nvar offenseSearch_1 = __webpack_require__(\"./src/models/offenseSearch.ts\");\r\nvar offenseRecord_1 = __webpack_require__(\"./src/models/offenseRecord.ts\");\r\nvar httpError_1 = __webpack_require__(\"./src/models/httpError.ts\");\r\nvar OffenseService = (function (_super) {\r\n __extends(OffenseService, _super);\r\n function OffenseService(http, router, environmentService) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n return _this;\r\n }\r\n OffenseService.prototype.getOffense = function (requestNbr) {\r\n var _this = this;\r\n return this.httpGet(this.environmentService.getOffenses + \"\\\\?requestNbr=\" + requestNbr)\r\n .map(function (r) {\r\n if (r.status === 200) {\r\n return new offense_1.default(offenseSearch_1.default.createFromRequest(r.json().request), r.json().request.offenses === null ? null : offenseRecord_1.default.getFromRequest(r.json().request.offenses));\r\n }\r\n return new httpError_1.default(r, _this.environmentService.getOffenses);\r\n });\r\n };\r\n OffenseService.prototype.save = function (offenseRecords) {\r\n return this.httpPost(this.environmentService.saveOffenses, offenseRecords)\r\n .map(function (r) {\r\n if (r.status !== 200) {\r\n }\r\n return offenseCodes_1.OffenseCodes.ok;\r\n });\r\n };\r\n OffenseService.prototype.delete = function (requestNumber, offenceNumber) {\r\n var _this = this;\r\n return this.httpDelete(this.environmentService.deleteOffense + \"\\\\\" + requestNumber + \"\\\\\" + offenceNumber)\r\n .map(function (r) {\r\n if (r.status !== 200) {\r\n return new httpError_1.default(r, _this.environmentService.saveOffenses);\r\n }\r\n return null;\r\n });\r\n };\r\n OffenseService.prototype.workOrderComplete = function (requestNumber, admittedCrimeNotFound) {\r\n var _this = this;\r\n return this.httpPost(\"\" + this.environmentService.workOrderComplete, { RequestNbr: requestNumber, admittedCrimeNotFound: admittedCrimeNotFound })\r\n .map(function (r) {\r\n if (r.status !== 200) {\r\n return new httpError_1.default(r, _this.environmentService.workOrderComplete);\r\n }\r\n return null;\r\n });\r\n };\r\n OffenseService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object])\r\n ], OffenseService);\r\n return OffenseService;\r\n var _a, _b, _c;\r\n}(httpBase_1.default));\r\nexports.default = OffenseService;\r\n//# sourceMappingURL=offenseService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/registrationService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\nvar registrationCodes_1 = __webpack_require__(\"./src/models/registrationCodes.ts\");\r\n__webpack_require__(\"./node_modules/rxjs/add/operator/map.js\");\r\nvar RegistrationService = (function (_super) {\r\n __extends(RegistrationService, _super);\r\n function RegistrationService(http, router, environmentService) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n return _this;\r\n }\r\n RegistrationService.prototype.registerUser = function (user, token) {\r\n return this.httpPost(this.environmentService.registerUrl, {\r\n user: user,\r\n token: token\r\n }, true)\r\n .map(function (r) {\r\n if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n var okCode = [registrationCodes_1.RegistrationCodes.ok];\r\n // return Array(RegistrationCodes.ok);\r\n return okCode;\r\n });\r\n };\r\n RegistrationService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object])\r\n ], RegistrationService);\r\n return RegistrationService;\r\n var _a, _b, _c;\r\n}(httpBase_1.default));\r\nexports.default = RegistrationService;\r\n//# sourceMappingURL=registrationService.js.map\n\n/***/ }),\n\n/***/ \"./src/services/researcherService.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nvar __extends = (this && this.__extends) || (function () {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return function (d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n})();\r\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n};\r\nvar __metadata = (this && this.__metadata) || function (k, v) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar core_1 = __webpack_require__(\"./node_modules/@angular/core/esm5/core.js\");\r\nvar httpBase_1 = __webpack_require__(\"./src/models/httpBase.ts\");\r\nvar http_1 = __webpack_require__(\"./node_modules/@angular/http/esm5/http.js\");\r\nvar router_1 = __webpack_require__(\"./node_modules/@angular/router/esm5/router.js\");\r\n__webpack_require__(\"./node_modules/rxjs/add/operator/map.js\");\r\nvar index_1 = __webpack_require__(\"./src/models/index.ts\");\r\nvar environmentService_1 = __webpack_require__(\"./src/services/environmentService.ts\");\r\nvar httpError_1 = __webpack_require__(\"./src/models/httpError.ts\");\r\nvar ResearcherService = (function (_super) {\r\n __extends(ResearcherService, _super);\r\n function ResearcherService(http, router, environmentService) {\r\n var _this = _super.call(this, http, router) || this;\r\n _this.environmentService = environmentService;\r\n _this.isSuccessful = false;\r\n return _this;\r\n }\r\n // Get Task List\r\n ResearcherService.prototype.getResearchTaskList = function (requestType, jurisdictionId) {\r\n var _this = this;\r\n return this.httpGet(this.environmentService.taskListUrl + \"requestType=\" + requestType + \"&jurisdictionId=\" + jurisdictionId, false)\r\n .map(function (r) {\r\n if (r.status === 401 || r.status === 422) {\r\n _this.router.navigate(['login']);\r\n }\r\n else {\r\n if (r.status === 200) {\r\n localStorage.setItem('jurisdictions', JSON.stringify((r.json()).jurisdictions));\r\n var wo = (r.json()).requests;\r\n return wo;\r\n }\r\n }\r\n });\r\n };\r\n // Submit Update\r\n ResearcherService.prototype.submitTaskListData = function (submitTask) {\r\n return this.httpPost(this.environmentService.getSubmitTasklUrl, submitTask, false)\r\n .map(function (r) {\r\n return r.status;\r\n });\r\n };\r\n // Mark Request Received\r\n ResearcherService.prototype.markRequestReceived = function (requestNbr) {\r\n var _this = this;\r\n return this.httpPost(this.environmentService.markRequestReceivedUrl, requestNbr, false)\r\n .map(function (r) {\r\n if (r.status === 401) {\r\n window.close();\r\n _this.router.navigate(['login']);\r\n }\r\n else {\r\n if (r.status === 200) {\r\n _this.isSuccessful = r.status === 200;\r\n }\r\n }\r\n });\r\n };\r\n // Generate Work Order\r\n ResearcherService.prototype.getWorkOrders = function (requestNbr) {\r\n var _this = this;\r\n return this.httpPost(this.environmentService.GetWorkOrdersUrl, requestNbr, false)\r\n .map(function (r) {\r\n if (r.status === 401) {\r\n window.close();\r\n _this.router.navigate(['login']);\r\n }\r\n else {\r\n if (r.status === 200) {\r\n var rpt = (r.json()).requests;\r\n return rpt;\r\n }\r\n }\r\n });\r\n };\r\n ResearcherService.prototype.getSpecialInstructions = function (requestNbr) {\r\n var _this = this;\r\n return this.httpGet(this.environmentService.SpecialInstructionUrl + \"requestNbr=\" + requestNbr)\r\n .map(function (r) {\r\n if (r.status === 200) {\r\n return new index_1.SpecialInstruction(index_1.ResearchInstruction.getResearchInstruction(r.json().specialInstructions), r.json().specialInstructions.admissions === null ? null : index_1.Admission.getAdmissions(r.json().specialInstructions));\r\n }\r\n else if (r.status === 401) {\r\n window.close();\r\n }\r\n return new httpError_1.default(r, _this.environmentService.SpecialInstructionUrl);\r\n });\r\n };\r\n // Get Comments\r\n ResearcherService.prototype.getResearchTaskComment = function (requestNbr) {\r\n var _this = this;\r\n return this.httpGet(this.environmentService.getResearchTaskCommentUrl + \"requestNbr=\" + requestNbr)\r\n .map(function (r) {\r\n if (r.status === 401) {\r\n window.close();\r\n _this.router.navigate(['login']);\r\n }\r\n else {\r\n if (r.status === 200) {\r\n return (r.json().requestComments.comment);\r\n }\r\n }\r\n });\r\n };\r\n // Delete Comments\r\n ResearcherService.prototype.deleteResearcherTaskComments = function (requestNbr) {\r\n var _this = this;\r\n return this.httpPost(this.environmentService.deleteResearchTaskCommentUrl, {\r\n RequestNbr: requestNbr\r\n }, true)\r\n .map(function (r) {\r\n if (r.status === 401) {\r\n window.close();\r\n _this.router.navigate(['login']);\r\n }\r\n return r.status;\r\n });\r\n };\r\n // Save Comments\r\n ResearcherService.prototype.saveResearcherTaskComments = function (requestNbr, comment) {\r\n return this.httpPost(this.environmentService.saveResearchTaskCommentUrl, {\r\n RequestNbr: requestNbr,\r\n Comment: comment\r\n }, true)\r\n .map(function (r) {\r\n if (r.status === 401) {\r\n window.close();\r\n }\r\n return r.status;\r\n });\r\n };\r\n Object.defineProperty(ResearcherService.prototype, \"successful\", {\r\n get: function () {\r\n return this.isSuccessful;\r\n },\r\n enumerable: true,\r\n configurable: true\r\n });\r\n ResearcherService = __decorate([\r\n core_1.Injectable(),\r\n __metadata(\"design:paramtypes\", [typeof (_a = typeof http_1.Http !== \"undefined\" && http_1.Http) === \"function\" && _a || Object, typeof (_b = typeof router_1.Router !== \"undefined\" && router_1.Router) === \"function\" && _b || Object, typeof (_c = typeof environmentService_1.default !== \"undefined\" && environmentService_1.default) === \"function\" && _c || Object])\r\n ], ResearcherService);\r\n return ResearcherService;\r\n var _a, _b, _c;\r\n}(httpBase_1.default));\r\nexports.ResearcherService = ResearcherService;\r\n//# sourceMappingURL=researcherService.js.map\n\n/***/ }),\n\n/***/ \"./src/validators/compareTwoInputsValidator.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nfunction compareTwoInputsValidator(compareInputId, same) {\r\n if (same === void 0) { same = true; }\r\n return function (control) {\r\n var input = document.getElementById(compareInputId);\r\n return !input || !control || (same ? control.value === input.value : control.value !== input.value) ? null : { compareTwoInputs: true };\r\n };\r\n}\r\nexports.default = compareTwoInputsValidator;\r\n//# sourceMappingURL=compareTwoInputsValidator.js.map\n\n/***/ }),\n\n/***/ \"./src/validators/isDateValidator.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar dateHandler_1 = __webpack_require__(\"./src/models/dateHandler.ts\");\r\nfunction isDateValidator(baseCentury) {\r\n return function (control) {\r\n var date = new dateHandler_1.default(control.value, baseCentury);\r\n return control.value === null || control.value.length === 0 || date.isValid ? null : { isDate: true };\r\n };\r\n}\r\nexports.default = isDateValidator;\r\n//# sourceMappingURL=isDateValidator.js.map\n\n/***/ }),\n\n/***/ \"./src/validators/isNumberValidator.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nfunction isNumberValidator() {\r\n return function (control) {\r\n return control.value !== null && control.value.length !== 0 && !isNaN(control.value) ? null : { isNumber: true };\r\n };\r\n}\r\nexports.default = isNumberValidator;\r\n//# sourceMappingURL=isNumberValidator.js.map\n\n/***/ }),\n\n/***/ \"./src/validators/passwordRulesValidator.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nfunction passwordRulesValidator() {\r\n return function (control) {\r\n if (control.value != null) {\r\n var password = control.value;\r\n return password.match(/[!@#$%^&*(){}[\\]?~<>]/)\r\n && password.match(/[A-Z]/)\r\n && password.match(/[a-z]/)\r\n && password.match(/\\d/)\r\n && password.length >= 8\r\n ? null\r\n : { passwordRules: true };\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n}\r\nexports.default = passwordRulesValidator;\r\n//# sourceMappingURL=passwordRulesValidator.js.map\n\n/***/ }),\n\n/***/ \"./src/validators/passwordValidation.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar PasswordValidation = (function () {\r\n function PasswordValidation() {\r\n }\r\n PasswordValidation.MatchPassword = function (AC) {\r\n var password = AC.get('newPassword').value;\r\n var confirmPassword = AC.get('confirmPassword').value;\r\n if (password !== confirmPassword) {\r\n AC.get('confirmPassword').setErrors({ MatchPassword: true });\r\n }\r\n else {\r\n return null;\r\n }\r\n };\r\n return PasswordValidation;\r\n}());\r\nexports.PasswordValidation = PasswordValidation;\r\n//# sourceMappingURL=passwordValidation.js.map\n\n/***/ }),\n\n/***/ \"./src/validators/usernameAlreadyExistValidator.ts\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nfunction usernameAlreadyExistValidator() {\r\n return function () {\r\n // Always return true. This is so if the api tells me a username already exist, I can show this error.\r\n return null;\r\n };\r\n}\r\nexports.default = usernameAlreadyExistValidator;\r\n//# sourceMappingURL=usernameAlreadyExistValidator.js.map\n\n/***/ }),\n\n/***/ 0:\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(\"./src/main.ts\");\n\n\n/***/ })\n\n},[0]);\n\n\n// WEBPACK FOOTER //\n// js/app.bundle.a6cc317d.min.js","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncatched exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./$$_gendir lazy recursive\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./$$_gendir lazy\n// module id = ./$$_gendir lazy recursive\n// module chunks = app","var map = {\n\t\"./af\": \"./node_modules/moment/locale/af.js\",\n\t\"./af.js\": \"./node_modules/moment/locale/af.js\",\n\t\"./ar\": \"./node_modules/moment/locale/ar.js\",\n\t\"./ar-dz\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-dz.js\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-kw\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-kw.js\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-ly\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ly.js\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ma\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-ma.js\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-sa\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-sa.js\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-tn\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar-tn.js\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar.js\": \"./node_modules/moment/locale/ar.js\",\n\t\"./az\": \"./node_modules/moment/locale/az.js\",\n\t\"./az.js\": \"./node_modules/moment/locale/az.js\",\n\t\"./be\": \"./node_modules/moment/locale/be.js\",\n\t\"./be.js\": \"./node_modules/moment/locale/be.js\",\n\t\"./bg\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bg.js\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bm\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bm.js\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bn\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bn.js\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bo\": \"./node_modules/moment/locale/bo.js\",\n\t\"./bo.js\": \"./node_modules/moment/locale/bo.js\",\n\t\"./br\": \"./node_modules/moment/locale/br.js\",\n\t\"./br.js\": \"./node_modules/moment/locale/br.js\",\n\t\"./bs\": \"./node_modules/moment/locale/bs.js\",\n\t\"./bs.js\": \"./node_modules/moment/locale/bs.js\",\n\t\"./ca\": \"./node_modules/moment/locale/ca.js\",\n\t\"./ca.js\": \"./node_modules/moment/locale/ca.js\",\n\t\"./cs\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cs.js\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cv\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cv.js\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cy\": \"./node_modules/moment/locale/cy.js\",\n\t\"./cy.js\": \"./node_modules/moment/locale/cy.js\",\n\t\"./da\": \"./node_modules/moment/locale/da.js\",\n\t\"./da.js\": \"./node_modules/moment/locale/da.js\",\n\t\"./de\": \"./node_modules/moment/locale/de.js\",\n\t\"./de-at\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-at.js\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-ch\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de-ch.js\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de.js\": \"./node_modules/moment/locale/de.js\",\n\t\"./dv\": \"./node_modules/moment/locale/dv.js\",\n\t\"./dv.js\": \"./node_modules/moment/locale/dv.js\",\n\t\"./el\": \"./node_modules/moment/locale/el.js\",\n\t\"./el.js\": \"./node_modules/moment/locale/el.js\",\n\t\"./en-au\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-au.js\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-ca\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-ca.js\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-gb\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-gb.js\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-ie\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-ie.js\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-nz\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./en-nz.js\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./eo\": \"./node_modules/moment/locale/eo.js\",\n\t\"./eo.js\": \"./node_modules/moment/locale/eo.js\",\n\t\"./es\": \"./node_modules/moment/locale/es.js\",\n\t\"./es-do\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-do.js\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-us\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es-us.js\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es.js\": \"./node_modules/moment/locale/es.js\",\n\t\"./et\": \"./node_modules/moment/locale/et.js\",\n\t\"./et.js\": \"./node_modules/moment/locale/et.js\",\n\t\"./eu\": \"./node_modules/moment/locale/eu.js\",\n\t\"./eu.js\": \"./node_modules/moment/locale/eu.js\",\n\t\"./fa\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fa.js\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fi\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fi.js\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fo\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fo.js\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fr\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fr-ca\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ca.js\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ch\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr-ch.js\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr.js\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fy\": \"./node_modules/moment/locale/fy.js\",\n\t\"./fy.js\": \"./node_modules/moment/locale/fy.js\",\n\t\"./gd\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gd.js\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gl\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gl.js\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gom-latn\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gom-latn.js\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gu\": \"./node_modules/moment/locale/gu.js\",\n\t\"./gu.js\": \"./node_modules/moment/locale/gu.js\",\n\t\"./he\": \"./node_modules/moment/locale/he.js\",\n\t\"./he.js\": \"./node_modules/moment/locale/he.js\",\n\t\"./hi\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hi.js\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hr\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hr.js\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hu\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hu.js\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hy-am\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./hy-am.js\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./id\": \"./node_modules/moment/locale/id.js\",\n\t\"./id.js\": \"./node_modules/moment/locale/id.js\",\n\t\"./is\": \"./node_modules/moment/locale/is.js\",\n\t\"./is.js\": \"./node_modules/moment/locale/is.js\",\n\t\"./it\": \"./node_modules/moment/locale/it.js\",\n\t\"./it.js\": \"./node_modules/moment/locale/it.js\",\n\t\"./ja\": \"./node_modules/moment/locale/ja.js\",\n\t\"./ja.js\": \"./node_modules/moment/locale/ja.js\",\n\t\"./jv\": \"./node_modules/moment/locale/jv.js\",\n\t\"./jv.js\": \"./node_modules/moment/locale/jv.js\",\n\t\"./ka\": \"./node_modules/moment/locale/ka.js\",\n\t\"./ka.js\": \"./node_modules/moment/locale/ka.js\",\n\t\"./kk\": \"./node_modules/moment/locale/kk.js\",\n\t\"./kk.js\": \"./node_modules/moment/locale/kk.js\",\n\t\"./km\": \"./node_modules/moment/locale/km.js\",\n\t\"./km.js\": \"./node_modules/moment/locale/km.js\",\n\t\"./kn\": \"./node_modules/moment/locale/kn.js\",\n\t\"./kn.js\": \"./node_modules/moment/locale/kn.js\",\n\t\"./ko\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ko.js\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ky\": \"./node_modules/moment/locale/ky.js\",\n\t\"./ky.js\": \"./node_modules/moment/locale/ky.js\",\n\t\"./lb\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lb.js\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lo\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lo.js\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lt\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lt.js\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lv\": \"./node_modules/moment/locale/lv.js\",\n\t\"./lv.js\": \"./node_modules/moment/locale/lv.js\",\n\t\"./me\": \"./node_modules/moment/locale/me.js\",\n\t\"./me.js\": \"./node_modules/moment/locale/me.js\",\n\t\"./mi\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mi.js\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mk\": \"./node_modules/moment/locale/mk.js\",\n\t\"./mk.js\": \"./node_modules/moment/locale/mk.js\",\n\t\"./ml\": \"./node_modules/moment/locale/ml.js\",\n\t\"./ml.js\": \"./node_modules/moment/locale/ml.js\",\n\t\"./mr\": \"./node_modules/moment/locale/mr.js\",\n\t\"./mr.js\": \"./node_modules/moment/locale/mr.js\",\n\t\"./ms\": \"./node_modules/moment/locale/ms.js\",\n\t\"./ms-my\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms-my.js\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms.js\": \"./node_modules/moment/locale/ms.js\",\n\t\"./my\": \"./node_modules/moment/locale/my.js\",\n\t\"./my.js\": \"./node_modules/moment/locale/my.js\",\n\t\"./nb\": \"./node_modules/moment/locale/nb.js\",\n\t\"./nb.js\": \"./node_modules/moment/locale/nb.js\",\n\t\"./ne\": \"./node_modules/moment/locale/ne.js\",\n\t\"./ne.js\": \"./node_modules/moment/locale/ne.js\",\n\t\"./nl\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nl-be\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl-be.js\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl.js\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nn\": \"./node_modules/moment/locale/nn.js\",\n\t\"./nn.js\": \"./node_modules/moment/locale/nn.js\",\n\t\"./pa-in\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pa-in.js\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pl\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pl.js\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pt\": \"./node_modules/moment/locale/pt.js\",\n\t\"./pt-br\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt-br.js\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt.js\": \"./node_modules/moment/locale/pt.js\",\n\t\"./ro\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ro.js\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ru\": \"./node_modules/moment/locale/ru.js\",\n\t\"./ru.js\": \"./node_modules/moment/locale/ru.js\",\n\t\"./sd\": \"./node_modules/moment/locale/sd.js\",\n\t\"./sd.js\": \"./node_modules/moment/locale/sd.js\",\n\t\"./se\": \"./node_modules/moment/locale/se.js\",\n\t\"./se.js\": \"./node_modules/moment/locale/se.js\",\n\t\"./si\": \"./node_modules/moment/locale/si.js\",\n\t\"./si.js\": \"./node_modules/moment/locale/si.js\",\n\t\"./sk\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sk.js\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sl\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sl.js\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sq\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sq.js\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sr\": \"./node_modules/moment/locale/sr.js\",\n\t\"./sr-cyrl\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr-cyrl.js\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr.js\": \"./node_modules/moment/locale/sr.js\",\n\t\"./ss\": \"./node_modules/moment/locale/ss.js\",\n\t\"./ss.js\": \"./node_modules/moment/locale/ss.js\",\n\t\"./sv\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sv.js\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sw\": \"./node_modules/moment/locale/sw.js\",\n\t\"./sw.js\": \"./node_modules/moment/locale/sw.js\",\n\t\"./ta\": \"./node_modules/moment/locale/ta.js\",\n\t\"./ta.js\": \"./node_modules/moment/locale/ta.js\",\n\t\"./te\": \"./node_modules/moment/locale/te.js\",\n\t\"./te.js\": \"./node_modules/moment/locale/te.js\",\n\t\"./tet\": \"./node_modules/moment/locale/tet.js\",\n\t\"./tet.js\": \"./node_modules/moment/locale/tet.js\",\n\t\"./th\": \"./node_modules/moment/locale/th.js\",\n\t\"./th.js\": \"./node_modules/moment/locale/th.js\",\n\t\"./tl-ph\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tl-ph.js\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tlh\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tlh.js\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tr\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tr.js\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tzl\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzl.js\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzm\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./tzm-latn\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm-latn.js\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm.js\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./uk\": \"./node_modules/moment/locale/uk.js\",\n\t\"./uk.js\": \"./node_modules/moment/locale/uk.js\",\n\t\"./ur\": \"./node_modules/moment/locale/ur.js\",\n\t\"./ur.js\": \"./node_modules/moment/locale/ur.js\",\n\t\"./uz\": \"./node_modules/moment/locale/uz.js\",\n\t\"./uz-latn\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz-latn.js\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz.js\": \"./node_modules/moment/locale/uz.js\",\n\t\"./vi\": \"./node_modules/moment/locale/vi.js\",\n\t\"./vi.js\": \"./node_modules/moment/locale/vi.js\",\n\t\"./x-pseudo\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./x-pseudo.js\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./yo\": \"./node_modules/moment/locale/yo.js\",\n\t\"./yo.js\": \"./node_modules/moment/locale/yo.js\",\n\t\"./zh-cn\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-cn.js\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-hk\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-hk.js\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-tw\": \"./node_modules/moment/locale/zh-tw.js\",\n\t\"./zh-tw.js\": \"./node_modules/moment/locale/zh-tw.js\"\n};\nfunction webpackContext(req) {\n\treturn __webpack_require__(webpackContextResolve(req));\n};\nfunction webpackContextResolve(req) {\n\tvar id = map[req];\n\tif(!(id + 1)) // check for number or string\n\t\tthrow new Error(\"Cannot find module '\" + req + \"'.\");\n\treturn id;\n};\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"./node_modules/moment/locale recursive ^\\\\.\\\\/.*$\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/moment/locale ^\\.\\/.*$\n// module id = ./node_modules/moment/locale recursive ^\\.\\/.*$\n// module chunks = app","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/app.component.html\n// module id = ./src/app/app.component.html\n// module chunks = app","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../node_modules/css-loader/index.js??ref--3-1!../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\nexports.i(require(\"-!../../node_modules/css-loader/index.js??ref--3-1!../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.min.css\"), \"\");\nexports.i(require(\"-!../../node_modules/css-loader/index.js??ref--3-1!../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/themes/default.min.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}:root{font-size:75%}body{background-color:beige;font-family:Verdana,Arial,Tahoma;font-size:1rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/app.component.scss\n// module id = ./src/app/app.component.scss\n// module chunks = app","import { Component, ViewEncapsulation } from '@angular/core';\r\nimport PopupHelper from '../models/popupHelper';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: [\r\n '../../node_modules/normalize.css/normalize.css',\r\n './app.component.scss',\r\n ],\r\n encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AppComponent {\r\n title = 'CRIM Web Application';\r\n\r\n showTeamEasterEgg() {\r\n PopupHelper.developerEasterEgg();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.component.ts","import { NgModule } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpModule } from '@angular/http';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { AppComponent } from './app.component';\r\nimport { routing } from './app.routing';\r\n\r\nimport HelloWorldComponent from './helloWorld/helloWorld.component';\r\nimport NavigationComponent from './navigation/navigation.component';\r\nimport NavigationWorkOrdersComponent from './navigationWorkOrders/navigationWorkOrders.component';\r\nimport { NavigationInternalComponent } from './navigationInternal/navigationInternal.component';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { LoginHeaderComponent } from './loginHeader/loginHeader.component';\r\nimport { FooterComponent } from './footer/footer.component';\r\nimport { ChangePasswordComponent } from './changePassword/changePassword.component';\r\nimport { ForgotPasswordComponent } from './forgotPassword/forgotPassword.component';\r\nimport { ExitComponent } from './exit/exit.component';\r\nimport { SpecialAdmittedComponent } from './specialAdmitted/specialAdmitted.component';\r\nimport { SpecialInstructionComponent } from './specialInstruction/specialInstruction.component';\r\nimport { SpecialResearchComponent } from './specialResearch/specialResearch.component';\r\nimport { SortTaskListComponent } from './sortTaskList/sortTaskList.component';\r\nimport { SortTaskListHelpComponent } from './sortTaskListHelp/sortTaskListHelp.component';\r\nimport OffenseComponent from './offense/offense.component';\r\nimport OffenseCountsComponent from './offenseCounts/offenseCounts.component';\r\nimport OffenseRecordComponent from './offenseRecord/offenseRecord.component';\r\nimport OffenseSearchComponent from './offenseSearch/offenseSearch.component';\r\nimport OffenseHelpComponent from './offenseHelp/offenseHelp.component';\r\nimport RegistrationComponent from './registration/registration.component';\r\nimport { ResearcherTaskCommentComponent } from './researcherTaskComment/researcherTaskComment.component';\r\nimport { ResearcherTaskListComponent } from './researcherTaskList/researcherTaskList.component';\r\nimport { ResearcherTaskListHelpComponent } from './researcherTaskListHelp/researcherTaskListHelp.component';\r\nimport { WorkOrderReportComponent } from './workOrderReport/workOrderReport.component';\r\nimport { WorkOrderIdentifiersComponent } from './workOrderIdentifiers/workOrderIdentifiers.component';\r\nimport { WorkOrderAdmissionsComponent } from './workOrderAdmissions/workOrderAdmissions.component';\r\nimport { WorkOrderSpecialInstructionsComponent } from './workOrderSpecialInstructions/workOrderSpecialInstructions.component';\r\nimport ConfirmationComponent from './confirmation/confirmation.component';\r\nimport ReportsComponent from './reports/reports.component';\r\nimport InvoiceReportComponent from './invoiceReport/invoiceReport.component';\r\nimport { OrderBy } from '../models/orderBy';\r\n\r\n// providers\r\nimport { AuthenticationService } from '../services/index';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport MessageService from '../services/messageService';\r\nimport BrowserWindowObjectService from '../services/browserWindowObjectService';\r\nimport ComplianceAuditLogService from '../services/complianceAuditLogService';\r\n\r\n// guards\r\nimport AuthenticationGuard from '../guards/authenticationGuard';\r\n\r\n// custom directives\r\nimport ValidateOnBlurDirective from '../directives/validateOnblur.directive';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n HelloWorldComponent,\r\n LoginComponent,\r\n LoginHeaderComponent,\r\n FooterComponent,\r\n ChangePasswordComponent,\r\n ForgotPasswordComponent,\r\n ExitComponent,\r\n ResearcherTaskListComponent,\r\n ResearcherTaskCommentComponent,\r\n SpecialInstructionComponent,\r\n SpecialAdmittedComponent,\r\n SpecialResearchComponent,\r\n SortTaskListComponent,\r\n SortTaskListHelpComponent,\r\n WorkOrderReportComponent,\r\n WorkOrderIdentifiersComponent,\r\n WorkOrderAdmissionsComponent,\r\n WorkOrderSpecialInstructionsComponent,\r\n OffenseComponent,\r\n OffenseSearchComponent,\r\n OffenseRecordComponent,\r\n OffenseCountsComponent,\r\n OffenseHelpComponent,\r\n NavigationComponent,\r\n NavigationWorkOrdersComponent,\r\n NavigationInternalComponent,\r\n LoginComponent,\r\n RegistrationComponent,\r\n ConfirmationComponent,\r\n ValidateOnBlurDirective,\r\n ResearcherTaskListHelpComponent,\r\n ReportsComponent,\r\n InvoiceReportComponent,\r\n ValidateOnBlurDirective,\r\n OrderBy\r\n ],\r\n imports: [\r\n BrowserModule,\r\n HttpModule,\r\n routing,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n ],\r\n\r\n providers: [AuthenticationGuard,\r\n AuthenticationService,\r\n MessageService, EnvironmentService,\r\n BrowserWindowObjectService,\r\n ComplianceAuditLogService\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule {}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.module.ts","import { Routes, RouterModule } from '@angular/router';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { ExitComponent } from './exit/exit.component';\r\nimport { ResearcherTaskCommentComponent } from './researcherTaskComment/researcherTaskComment.component';\r\nimport { ResearcherTaskListComponent } from './researcherTaskList/researcherTaskList.component';\r\nimport { ResearcherTaskListHelpComponent } from './researcherTaskListHelp/researcherTaskListHelp.component';\r\nimport { SpecialInstructionComponent } from './specialInstruction/specialInstruction.component';\r\nimport { SortTaskListComponent } from './sortTaskList/sortTaskList.component';\r\nimport { SortTaskListHelpComponent } from './sortTaskListHelp/sortTaskListHelp.component';\r\nimport { WorkOrderReportComponent } from './workOrderReport/workOrderReport.component';\r\nimport OffenseComponent from './offense/offense.component';\r\nimport OffenseHelpComponent from './offenseHelp/offenseHelp.component';\r\nimport HelloWorldComponent from './helloWorld/helloWorld.component';\r\nimport NavigationComponent from './navigation/navigation.component';\r\nimport RegistrationComponent from './registration/registration.component';\r\nimport AuthenticationGuard from '../guards/authenticationGuard';\r\nimport ConfirmationComponent from './confirmation/confirmation.component';\r\nimport ReportsComponent from './reports/reports.component';\r\nimport InvoiceReportComponent from './invoiceReport/invoiceReport.component';\r\n\r\nconst appRoutes: Routes = [\r\n { path: '', component: LoginComponent },\r\n { path: 'login', component: LoginComponent },\r\n { path: 'comment', component: ResearcherTaskCommentComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'specialInstruction', component: SpecialInstructionComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'sortTaskList/:status', component: SortTaskListComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'sortTaskListHelp', component: SortTaskListHelpComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'workOrderReport', component: WorkOrderReportComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'exit', component: ExitComponent},\r\n { path: 'registration', component: RegistrationComponent },\r\n { path: 'confirmation', component: ConfirmationComponent },\r\n { path: 'researcherHelp', component: ResearcherTaskListHelpComponent },\r\n { path: 'researcherTaskList/:status', component: ResearcherTaskListComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'researcherTaskList/:status/:jurisdictionId', component: ResearcherTaskListComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'offense/:requestNumber', component: OffenseComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'offenseHelp', component: OffenseHelpComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'helloworld', component: HelloWorldComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'navigation', component: NavigationComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'reports', component: ReportsComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'invoiceReport/:startDate/:endDate/:invoiceNumber', component: InvoiceReportComponent, canActivate: [AuthenticationGuard] },\r\n { path: 'invoiceReport/:startDate/:endDate', component: InvoiceReportComponent, canActivate: [AuthenticationGuard] },\r\n];\r\n\r\nexport const routing = RouterModule.forRoot(appRoutes, { useHash: true });\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/app.routing.ts","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n

CRIM System - Change Password

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n
\\r\\n

Username used to login into the CRIM system.

\\r\\n
\\r\\n
\\r\\n Username is required. \\r\\n Username must be a minimum of 4 characters.\\r\\n Username can only be a maximum of 30 characters.\\r\\n Account locked. Please contact GIS Vendor Relations.\\r\\n Username or password does not exist.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters minimum
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n Password is required. \\r\\n Password can only be a maximum of 60 characters.\\r\\n Password does not meet validation rules.\\r\\n Password is invalid.\\r\\n Username or password does not exist.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters minimum
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n New password is required. \\r\\n Password maximum 60 characters.\\r\\n Password does not meet validation rules.\\r\\n Cannot match current password.\\r\\n Password already exists.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n\\r\\n
\\r\\n

Must match New Password entered.

\\r\\n
\\r\\n
\\r\\n Confirm Password is required.\\r\\n Confirm Password maximum 60 characters.\\r\\n Confirm Password must match New Password.\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/changePassword/changePassword.component.html\n// module id = ./src/app/changePassword/changePassword.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h1{text-align:center}.hdr{border:\\\"0\\\";background-color:#ccf;width:149.5rem;margin-left:4.5rem;-ms-flex-line-pack:center;align-content:center;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.col1{float:left}.errMsg{font-weight:400;color:red;margin-top:.5rem;margin-left:3rem;display:block}p{text-align:left}Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf;font-size:9pt}.button_pwd{width:11rem;height:2rem}.button_cancel{width:6rem;height:2rem}label{font-weight:bolder;font-size:9pt;font-family:Verdana,Tahoma,Arial;display:inline-block;width:11rem;text-align:left;padding-left:5em}.lbl_headerTxt{font-weight:400;width:48rem;padding-left:34rem;text-align:left;font-size:14px}input{font-size:11pt;font-family:Verdana,Tahoma,Arial;margin:.2rem;height:1.35rem;width:20rem}#spacer{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}#spacerxxsm{padding-top:.1rem}#spacersm{padding-top:1.5rem}hr{width:45rem;size:1;color:#a5a29b}.footer{font-family:Arial Narrow\\\\,Arial;font-size:2}.requiredTag{margin-left:50.5rem}header{-ms-flex-line-pack:center;align-content:center;text-align:center;margin-bottom:3rem}mark{color:red;background-color:inherit}small{font-size:smaller;font-weight:400;margin-left:11.1rem;display:inline-block}#username-group{margin-top:3rem}#new-password-group,#password-group{position:relative}.validation span{font-weight:400;color:red;text-align:left;display:block;font-size:8pt;padding-left:20.5rem;height:1.35rem;width:25rem}div.username-sidebar{margin-top:-1rem;margin-left:1.7rem}div.password-sidebar,div.username-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.password-sidebar{margin-top:-6rem;margin-left:20rem}div.new-password-sidebar{margin-top:-7rem;margin-left:20rem}div.confirm-password-sidebar,div.new-password-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.confirm-password-sidebar{margin-top:-1rem;margin-left:1rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/changePassword/changePassword.component.scss\n// module id = ./src/app/changePassword/changePassword.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport { AuthenticationService, MessageQueService } from '../../services/index';\r\nimport { Params } from '../../models/index';\r\nimport CompareTwoInputsValidator from '../../validators/compareTwoInputsValidator';\r\nimport PasswordRulesValidator from '../../validators/passwordRulesValidator';\r\nimport { PasswordValidation } from '../../validators/passwordValidation';\r\nimport { Codes } from '../../models/index';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'app-changepassword',\r\n templateUrl: 'changePassword.component.html',\r\n styleUrls: ['changePassword.component.scss'],\r\n providers: [MessageQueService]\r\n})\r\n\r\nexport class ChangePasswordComponent implements OnInit {\r\n changePasswordForm: FormGroup;\r\n showChange: boolean;\r\n\r\n constructor(private formBuilder: FormBuilder, private msgSvc: MessageQueService, private authenticationService: AuthenticationService) {\r\n this.showChange = false;\r\n }\r\n\r\n ngOnInit() {\r\n this.msgSvc.setControlKey();\r\n this.changePasswordForm = this.formBuilder.group({\r\n change: this.formBuilder.group({\r\n userName: ['', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(30),\r\n Validators.minLength(4)])\r\n ],\r\n currentPassword: ['', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(60),\r\n PasswordRulesValidator()])\r\n ],\r\n newPassword: ['', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(60),\r\n PasswordRulesValidator(),\r\n CompareTwoInputsValidator('currentPassword', false)])\r\n ],\r\n confirmPassword: ['', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(60)])\r\n ],\r\n }, {validator: PasswordValidation.MatchPassword})\r\n });\r\n }\r\n home() {\r\n this.showChange = false;\r\n this.changePasswordForm.reset();\r\n }\r\n // this is called from login\r\n passwordChange(isVisible: boolean) {\r\n this.showChange = isVisible;\r\n }\r\n showChangePassword(): boolean {\r\n if (this.showChange) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n onSubmit() {\r\n const form = this.changePasswordForm.value;\r\n const changes: Params = Object.assign({}, form.change, { confirmPassword: undefined });\r\n this.authenticationService.changePassword(changes.userName, changes.currentPassword, changes.newPassword)\r\n .subscribe((codes: Codes[]) => {\r\n const code = codes.find((rc: Codes) => rc === Codes.ok);\r\n if (code === Codes.ok) {\r\n this.home();\r\n } else {\r\n for (const errorCode of codes) {\r\n switch (errorCode) {\r\n case Codes.requireUsername:\r\n this.setValidationErrorByControlName('change.userName', 'required');\r\n break;\r\n case Codes.requirePassword:\r\n this.setValidationErrorByControlName('change.currentPassword', 'required');\r\n break;\r\n case Codes.requiredNewPassword:\r\n this.setValidationErrorByControlName('change.newPassword', 'required');\r\n break;\r\n case Codes.invalidPassword:\r\n this.setValidationErrorByControlName('change.currentPassword', 'invalid');\r\n break;\r\n case Codes.userNamePasswordNotExist:\r\n this.setValidationErrorByControlName('change.userName', 'notexists');\r\n this.setValidationErrorByControlName('change.currentPassword', 'notexists');\r\n break;\r\n case Codes.passwordAlreadyExist:\r\n this.setValidationErrorByControlName('change.newPassword', 'exists');\r\n break;\r\n case Codes.accountLocked:\r\n this.setValidationErrorByControlName('change.userName', 'locked');\r\n break;\r\n case Codes.passwordMatch:\r\n this.setValidationErrorByControlName('change.newPassword', 'compareTwoInputs');\r\n break;\r\n\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n setBlurById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n }\r\n setFocusById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n }\r\n passwordKeyup(event: any, order: number) {\r\n const password: string = event.target.value;\r\n this.checkLength(password, order);\r\n\r\n if (order === 0) {\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'password-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'password-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'password-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'password-number-rule');\r\n } else {\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'newPassword-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'newPassword-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'newPassword-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'newPassword-number-rule');\r\n }\r\n }\r\n private checkRegEx(s: string, pattern: RegExp, id: string) {\r\n if (s.match !== null) {\r\n const isMatch = s.match(pattern);\r\n if (!isMatch) {\r\n this.showRuleNotMet(id);\r\n } else {\r\n this.showRuleMet(id);\r\n }\r\n }\r\n }\r\n private setValidationErrorByControlName(controlName: string, validatorType: string) {\r\n const control = this.changePasswordForm.get(controlName);\r\n const validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n }\r\n private checkLength(password: string, order: number) {\r\n let id = '';\r\n if (order === 0) {\r\n id = 'password-length-rule';\r\n } else {\r\n id = 'newPassword-length-rule';\r\n }\r\n\r\n if (password.length < 8) {\r\n this.showRuleNotMet(id);\r\n } else {\r\n this.showRuleMet(id);\r\n }\r\n }\r\n\r\n private showRuleMet(id: string) {\r\n const passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-not-met');\r\n passwordLength.add('rule-met');\r\n }\r\n\r\n private showRuleNotMet(id: string) {\r\n const passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-met');\r\n passwordLength.add('rule-not-met');\r\n }\r\n\r\n get userName() { return this.changePasswordForm.get('change.userName'); }\r\n get currentPassword() { return this.changePasswordForm.get('change.currentPassword'); }\r\n get newPassword() { return this.changePasswordForm.get('change.newPassword'); }\r\n get confirmPassword() { return this.changePasswordForm.get('change.confirmPassword'); }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/changePassword/changePassword.component.ts","module.exports = \"
\\r\\n

Congratulations on Creating Your Crim Account

\\r\\n

Please visit here to sign in.

\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/confirmation/confirmation.component.html\n// module id = ./src/app/confirmation/confirmation.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}*{-webkit-box-sizing:border-box;box-sizing:border-box}main{-ms-flex-line-pack:center;align-content:center;text-align:center}h1{margin-top:5rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/confirmation/confirmation.component.scss\n// module id = ./src/app/confirmation/confirmation.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-confirmation',\r\n templateUrl: './confirmation.component.html',\r\n styleUrls: ['./confirmation.component.scss'],\r\n})\r\n\r\nexport default class ConfirmationComponent {\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/confirmation/confirmation.component.ts","module.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n You have selected to exit the System.
\\r\\n System session ended...\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Click here to sign on again.\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/exit/exit.component.html\n// module id = ./src/app/exit/exit.component.html\n// module chunks = app","import { Component, OnInit} from '@angular/core';\r\nimport { AuthenticationService } from '../../services/index';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n templateUrl: 'exit.component.html'\r\n})\r\n\r\nexport class ExitComponent implements OnInit {\r\n\r\n constructor(private authenticationService: AuthenticationService, private router: Router) { }\r\n\r\n ngOnInit() {\r\n this.authenticationService.logout()\r\n .subscribe();\r\n }\r\n logon() {\r\n this.router.navigate(['login']);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/exit/exit.component.ts","module.exports = \"
\\r\\n
\\r\\n
\\r\\n © 2017 General Information Services, Inc. - All rights reserved.\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/footer/footer.component.html\n// module id = ./src/app/footer/footer.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".footer{font-family:Arial Narrow\\\\,Arial;font-size:2}#spacersm{padding-top:2.5rem}hr{width:30rem;size:1;color:#a5a29b}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/footer/footer.component.scss\n// module id = ./src/app/footer/footer.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-footer',\r\n templateUrl: 'footer.component.html',\r\n styleUrls: ['footer.component.scss'],\r\n})\r\n\r\nexport class FooterComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/footer/footer.component.ts","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n

CRIM System - Reset Password

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n
\\r\\n

Username to login into the CRIM system.

\\r\\n
\\r\\n
\\r\\n Username is required. \\r\\n Username must be a minimum of 4 characters.\\r\\n Username can only be a maximum of 30 characters.\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n
\\r\\n
\\r\\n

Email address used for CRIM system registration.

\\r\\n
\\r\\n
\\r\\n Email address is required. \\r\\n Email address is invalid. \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/forgotPassword/forgotPassword.component.html\n// module id = ./src/app/forgotPassword/forgotPassword.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h1{text-align:center}.hdr{border:\\\"0\\\";background-color:#ccf;width:149.5rem;margin-left:4.5rem;-ms-flex-line-pack:center;align-content:center;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.lbl_header{width:88rem;text-align:center;font-size:24px}.lbl_headerTxt{font-weight:400;width:48rem;padding-left:30rem;text-align:left;font-size:14px}input{margin:.2rem;height:1.35rem;width:20rem}input,label{font-size:9pt;font-family:Verdana,Tahoma,Arial}label{font-weight:bolder;display:inline-block;width:11.5rem;text-align:left}Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}.button_sign{width:6rem;height:2rem}.button_pwd{width:11rem;height:2rem}.footer{font-family:Arial Narrow\\\\,Arial;font-size:2}#spacersm{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}#spacer{padding-top:1.5rem}hr{width:30rem;size:1;color:#a5a29b}mark{color:red;background-color:inherit}small{font-size:smaller;font-weight:400;margin-left:10.5rem;display:inline-block}#username-group{margin-top:3rem}.validation span{font-weight:400;color:red;text-align:left;display:block;font-size:8pt;padding-left:15.7rem;height:1.35rem;width:25rem}div.username-sidebar{margin-top:-1rem;margin-left:1.7rem}div.email-sidebar,div.username-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.email-sidebar{margin-top:-3.5rem;margin-left:19rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/forgotPassword/forgotPassword.component.scss\n// module id = ./src/app/forgotPassword/forgotPassword.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport { AuthenticationService, MessageQueService } from '../../services/index';\r\nimport { Params } from '../../models/index';\r\nimport { Codes } from '../../models/index';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport { AlertResult } from '../../models/alertifyPromise';\r\n\r\n@Component({\r\n selector: 'app-forgotpassword',\r\n templateUrl: 'forgotPassword.component.html',\r\n styleUrls: ['forgotPassword.component.scss'],\r\n providers: [MessageQueService]\r\n})\r\n\r\nexport class ForgotPasswordComponent implements OnInit {\r\n retrievePasswordForm: FormGroup;\r\n show: boolean;\r\n\r\n constructor(private formBuilder: FormBuilder, private msgSvc: MessageQueService, private authenticationService: AuthenticationService) {\r\n this.show = false;\r\n }\r\n\r\n ngOnInit() {\r\n this.msgSvc.setControlKey();\r\n this.retrievePasswordForm = this.formBuilder.group({\r\n retrieve: this.formBuilder.group({\r\n userName: ['', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(30),\r\n Validators.minLength(4)])\r\n ],\r\n email: ['', Validators.compose([\r\n Validators.required,\r\n Validators.pattern('[a-zA-Z0-9.-_]{1,}@[a-zA-Z.-]{2,}[.]{1}[a-zA-Z]{2,}'),\r\n Validators.maxLength(100)])\r\n ],\r\n })\r\n });\r\n }\r\n requestPassword() {\r\n const form = this.retrievePasswordForm.value;\r\n const retrieve: Params = Object.assign({}, form.retrieve, { confirmPassword: undefined });\r\n\r\n this.authenticationService.resetPassword(retrieve.userName, retrieve.email)\r\n .subscribe((codes: Codes[]) => {\r\n const code = codes.find((rc: Codes) => rc === Codes.ok);\r\n if (code === Codes.ok) {\r\n if (this.authenticationService.isStatusInvalid === 400 ) {\r\n const message = 'Email message not sent. Please try again.';\r\n this.forgotPasswordRequest(message, 'error');\r\n } else if (this.authenticationService.isStatusInvalid === 200) {\r\n const message = 'Email sent, to provided email address, with additional instructions';\r\n this.forgotPasswordRequest(message, 'success');\r\n } else if (this.authenticationService.isStatusInvalid === 401) {\r\n const message = 'Invalid user and/or password. Please try again. Access denied';\r\n this.forgotPasswordRequest(message, 'error');\r\n }\r\n } else {\r\n for (const errorCode of codes) {\r\n switch (errorCode) {\r\n case Codes.requireUsername:\r\n this.setValidationErrorByControlName('retrieve.userName', 'required');\r\n break;\r\n case Codes.requiredEmail:\r\n this.setValidationErrorByControlName('retrieve.email', 'required');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n private setValidationErrorByControlName(controlName: string, validatorType: string) {\r\n const control = this.retrievePasswordForm.get(controlName);\r\n const validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n }\r\n setBlurById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n }\r\n\r\n setFocusById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n }\r\n home() {\r\n this.show = false;\r\n this.retrievePasswordForm.reset();\r\n }\r\n\r\n forgotPassword(isVisible: boolean) {\r\n this.show = isVisible;\r\n }\r\n showForgotPassword(): boolean {\r\n if (this.show) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n async forgotPasswordRequest(message, type) {\r\n const alertResult = await PopupHelper.userHelper(message, type);\r\n if (alertResult === AlertResult.Ok) {\r\n if (type === 'error') {\r\n this.retrievePasswordForm.reset();\r\n } else {\r\n this.home();\r\n }\r\n }\r\n }\r\n\r\n get userName() { return this.retrievePasswordForm.get('retrieve.userName'); }\r\n get email() { return this.retrievePasswordForm.get('retrieve.email'); }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/forgotPassword/forgotPassword.component.ts","module.exports = \"

Message coming from service

\\r\\n

title: {{title}}

\\r\\n

description: {{description}}

\\r\\n

webApiHostName: {{webApiHostName}}

\\r\\n

dataApiHostName: {{dataApiHostName}}

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

{{error}}

\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/helloWorld/helloWorld.component.html\n// module id = ./src/app/helloWorld/helloWorld.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h3{color:#0064ff}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/helloWorld/helloWorld.component.scss\n// module id = ./src/app/helloWorld/helloWorld.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\nimport MessageService from '../../services/messageService';\r\nimport EnvironmentService from '../../services/environmentService';\r\nimport HttpError from '../../models/httpError';\r\n\r\n@Component({\r\n selector: 'app-hello-world',\r\n templateUrl: './helloWorld.component.html',\r\n styleUrls: ['./helloWorld.component.scss'],\r\n providers: [MessageService, EnvironmentService]\r\n})\r\nexport default class HelloWorldComponent {\r\n\r\n constructor(messageService: MessageService) {\r\n this.messageService = messageService;\r\n }\r\n\r\n getMessage(): void {\r\n this.messageService.getMessage()\r\n .then(message => {\r\n this.title = message.title;\r\n this.description = message.description;\r\n this.webApiHostName = message.webApiHostName;\r\n this.dataApiHostName = message.dataApiHostName;\r\n })\r\n .catch(e => {\r\n this.handleError(e);\r\n });\r\n }\r\n\r\n private handleError(error: HttpError) {\r\n this.error = `Server Error: Status: ${error.status} StatusText: ${error.statusText} Url: ${error.url}`;\r\n }\r\n\r\n title: string;\r\n description: string;\r\n webApiHostName: string;\r\n dataApiHostName: string;\r\n error: string;\r\n messageService: MessageService;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/helloWorld/helloWorld.component.ts","module.exports = \"
\\r\\n
\\r\\n INVOICE\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n Customer Information:\\r\\n General Information Services, Inc.\\r\\n Attn: Accounts Payable \\r\\n Post Office Box 353\\r\\n Chapin, South Carolina 29036\\r\\n
\\r\\n\\r\\n
\\r\\n Reference Information:\\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 \\r\\n \\r\\n\\r\\n
JurisdictionTotal RequestsJurisdiction Total
{{ jurisdictionTotal.jurisdiction }}{{ jurisdictionTotal.totalRequests | number:'.0' }}{{ jurisdictionTotal.jurisdictionTotal | currency:'USD':true:'1.2-2' }}
Total Request Count : {{ totalRequestCount | number:'.0' }}Total Invoice Amount = {{ totalInvoiceAmount | currency:'USD':true:'1.2-2' }}
\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n Remit Payment To:\\r\\n {{ invoice?.vendor.name }}\\r\\n Attn: Accounts Receivable\\r\\n {{ invoice?.vendor.address }}\\r\\n {{ invoice?.vendor.city }}, {{ invoice?.vendor.state }}\\r\\n {{ invoice?.vendor.phoneNumber }}\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/invoiceReport/invoiceReport.component.html\n// module id = ./src/app/invoiceReport/invoiceReport.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}main{font-family:Verdana,Arial,Tahoma;margin:1rem 4rem}legend{font-weight:700}header{-ms-flex-line-pack:center;align-content:center;text-align:center}header span,label{font-weight:700}table{width:100%;border-collapse:collapse}td,th{padding:.5rem 0 .5rem 1rem}td,th{border:.1rem solid #000;width:30%}tfoot td{border:initial;font-weight:700}#general-information{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}#customer-informaton{width:25rem}#reference-informaton{width:20rem}#reference-informaton span{padding-left:1rem;display:inline-block;font-weight:400}#report-information,#submit-invoice-to-informaton{margin-top:2rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/invoiceReport/invoiceReport.component.scss\n// module id = ./src/app/invoiceReport/invoiceReport.component.scss\n// module chunks = app","import JurisdictionTotal from '../../models/jurisdictionTotal';\r\nimport Invoice from '../../models/invoice';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport InvoiceService from '../../services/invoiceService';\r\nimport { MessageQueService } from '../../services/index';\r\n\r\n@Component({\r\n selector: 'app-invoice-report',\r\n templateUrl: './invoiceReport.component.html',\r\n styleUrls: ['./invoiceReport.component.scss'],\r\n providers: [InvoiceService, MessageQueService]\r\n})\r\nexport default class InvoiceReportComponent implements OnInit {\r\n constructor(private invoiceService: InvoiceService, private msgSvc: MessageQueService, private route: ActivatedRoute) {\r\n this.route.params.subscribe((params: any) => {\r\n this.startDate = params['startDate'] as string;\r\n this.endDate = params['endDate'] as string;\r\n this.invoiceNumber = params['invoiceNumber'] as string;\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.msgSvc.setControlKey();\r\n this.invoiceService.getInvoice(this.invoiceNumber, this.startDate, this.endDate)\r\n .subscribe((invoice: Invoice) => {\r\n this.invoice = invoice;\r\n this.jurisdictionTotals = invoice.jurisdictionTotals;\r\n this.totalRequestCount = invoice.totalRequestCount;\r\n this.totalInvoiceAmount = invoice.totalInvoiceAmount;\r\n });\r\n }\r\n\r\n get currentDate() {\r\n return new Date();\r\n }\r\n\r\n startDate: string;\r\n endDate: string;\r\n invoiceNumber: string;\r\n invoice: Invoice;\r\n totalRequestCount: number;\r\n totalInvoiceAmount: number;\r\n jurisdictionTotals: JurisdictionTotal[];\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/invoiceReport/invoiceReport.component.ts","module.exports = \"
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *\\r\\n
\\r\\n

Username to login into the CRIM system.

\\r\\n
\\r\\n
\\r\\n Username must be a minimum of 4 characters.\\r\\n Username can only be a maximum of 30 characters.\\r\\n Username is required. \\r\\n Account locked. Please contact GIS Vendor Relations.\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n *
\\r\\n\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n Password is required. \\r\\n Password can only be a max of 60 characters.\\r\\n Password does not meet all validation rules.\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
Forgot Password
\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/login/login.component.html\n// module id = ./src/app/login/login.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}#logo{width:27rem;height:10rem}#logo,.hdr{-ms-flex-line-pack:center;align-content:center}.hdr{border:\\\"0\\\";background-color:#ccf;width:100%;margin-left:4.5rem;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.retrieveTxt{font-family:Arial Narrow\\\\,Arial;font-size:2;text-align:center;color:#200bdd}Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}.button_sign{width:6rem;height:2rem}.button_pwd{width:13rem;height:2rem}.button_clear{width:5rem;margin:1rem;height:2rem}.footer{font-family:Arial Narrow\\\\,Arial;font-size:2}.lbl_headerTxt{font-weight:400;width:48rem;padding-left:34rem;text-align:left;font-size:14px}label{font-weight:bolder;display:inline-block;width:7rem;text-align:left}input,label{font-size:9pt;font-family:Verdana,Tahoma,Arial}input{margin:.2rem;height:1.35rem;width:20rem}a:link{text-decoration:underline}a:hover,a:link,a:visited{color:#00f}#spacersm{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}hr{width:30rem;size:1;color:#a5a29b}.requiredTag{margin-left:50.5rem}header{-ms-flex-line-pack:center;align-content:center;text-align:center;margin-bottom:3rem}mark{color:red;background-color:inherit}small{font-size:smaller;font-weight:400;margin-left:7rem;display:inline-block}#username-group{margin-top:2rem}#currentPassword-group,#username-group{position:relative}.validation span{font-weight:400;color:red;text-align:left;display:block;font-size:8pt;padding-left:11.5rem;height:1.35rem;width:25rem}div.username-sidebar{margin-top:-.4rem;margin-left:1.7rem}div.password-sidebar,div.username-sidebar{font-size:1rem;width:auto;text-align:left;display:inline-block}div.password-sidebar{margin-top:-6.5rem;margin-left:16rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/login/login.component.scss\n// module id = ./src/app/login/login.component.scss\n// module chunks = app","import { Component, OnInit, ViewChild} from '@angular/core'; // , Compiler\r\nimport { AuthenticationService, MessageQueService } from '../../services/index'; //\r\nimport { Router } from '@angular/router';\r\nimport { Params } from '../../models/index';\r\nimport PasswordRulesValidator from '../../validators/passwordRulesValidator';\r\nimport { Codes } from '../../models/index';\r\nimport { FormBuilder, FormGroup, Validators } from '@angular/forms';\r\nimport { ForgotPasswordComponent } from '../forgotPassword/forgotPassword.component';\r\nimport { ChangePasswordComponent } from '../changePassword/changePassword.component';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport { ConfirmResult, AlertResult } from '../../models/alertifyPromise';\r\n\r\nexport enum browser {\r\n chrome = 'Chrome',\r\n edge = 'Edge',\r\n firefox = 'Firefox',\r\n googlebot = 'Googlebot',\r\n internetExplorer = 'Internet Explorer',\r\n opera = 'Opera',\r\n safari = 'Safari',\r\n ucBrowsers = 'UC Browsers',\r\n android = 'Android',\r\n blackberry = 'Blackberry'\r\n}\r\nexport enum environment {\r\n any = 'any', //\r\n galaxy = 'Galaxy Nexus', //\r\n nexus = 'Nexus S', //\r\n bb10 = 'BB10', //\r\n playbook = 'PlayBook 2.1', //\r\n blackberry99 = '9900', //\r\n androidMobile = 'Android Mobile', //\r\n androidTablet = 'Android Tablet', //\r\n iPhone = 'iPhone', //\r\n iPad = 'iPad', //\r\n mac = 'Mac', //\r\n windows = 'Windows', //\r\n mobile = 'Mobile', //\r\n xbox = 'Xbox', //\r\n explorer11 = 'explorer11', //\r\n explorer10 = 'explorer10', //\r\n explorer9 = 'explorer9', //\r\n explorer8 = 'explorer8', //\r\n explorer7 = 'explorer7', //\r\n prestoMac = '(Presto) Mac', //\r\n prestoWindows = '(Presto) Windows', //\r\n ios = 'iOS', //\r\n iPadI0S9 = 'iPad iOS9', //\r\n iPhoneI0S9 = 'iPhone iOS9', //\r\n smartphone = 'Smartphone', //\r\n windowsPhone = 'Windows Phone',\r\n os = 'OS' //\r\n}\r\n\r\n@Component({\r\n templateUrl: 'login.component.html',\r\n styleUrls: ['login.component.scss'],\r\n providers: [AuthenticationService, MessageQueService]\r\n})\r\n\r\nexport class LoginComponent implements OnInit {\r\n loginForm: FormGroup;\r\n model: Params;\r\n supported = '';\r\n result: string;\r\n @ViewChild(ChangePasswordComponent) cPassword: ChangePasswordComponent;\r\n @ViewChild(ForgotPasswordComponent) fPassword: ForgotPasswordComponent;\r\n logon: boolean;\r\n private chngPass = false;\r\n\r\n constructor(private formBuilder: FormBuilder, private router: Router, private authenticationService: AuthenticationService, private msgSvc: MessageQueService) {\r\n\r\n this.logon = true;\r\n }\r\n ngOnInit() {\r\n this.msgSvc.getControlKey(); // ('CacheControlKey');\r\n\r\n this.detectBrowser();\r\n this.logon = true;\r\n this.loginForm = this.formBuilder.group({\r\n log: this.formBuilder.group({\r\n userName: ['', Validators.compose([\r\n Validators.minLength(4),\r\n Validators.maxLength(30),\r\n Validators.required])\r\n ],\r\n currentPassword: ['', Validators.compose([\r\n Validators.required,\r\n Validators.maxLength(60),\r\n PasswordRulesValidator()])\r\n ],\r\n })\r\n });\r\n }\r\n login() {\r\n if (this.supported === 'true') {\r\n const form = this.loginForm.value;\r\n const log: Params = Object.assign({}, form.log, {});\r\n this.authenticationService.login(log.userName, log.currentPassword)\r\n .subscribe((codes: Codes[]) => {\r\n const code = codes.find((rc: Codes) => rc === Codes.ok);\r\n if (code === Codes.ok) {\r\n if (this.authenticationService.isExpiring === 0) {\r\n this.chngPass = true;\r\n PopupHelper.userHelper('Your password has expired', 'error');\r\n } else if (this.authenticationService.isLoggedIn) {\r\n if (this.authenticationService.isExpiring <= 7) {\r\n this.confirmExpiredPassword(this.authenticationService.isExpiring);\r\n } else if (this.authenticationService.isReset) {\r\n this.chngPass = true;\r\n this.setDirection();\r\n } else {\r\n this.chngPass = false;\r\n this.setDirection();\r\n }\r\n } else if (!this.authenticationService.isLoggedIn && (this.authenticationService.isStatusInvalid === 401 ||\r\n this.authenticationService.isStatusInvalid === 400)) {\r\n this.invalidUser();\r\n }\r\n } else {\r\n for (const errorCode of codes) {\r\n switch (errorCode) {\r\n case Codes.requireUsername:\r\n this.setValidationErrorByControlName('log.userName', 'required.');\r\n break;\r\n case Codes.requirePassword:\r\n this.setValidationErrorByControlName('log.currentPassword', 'required');\r\n break;\r\n case Codes.accountLocked:\r\n this.setValidationErrorByControlName('log.userName', 'locked');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n } else if (this.supported === 'false') {\r\n this.notSupportedBrowser();\r\n } else {\r\n this.networkProblems();\r\n }\r\n }\r\n setBlurById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n }\r\n setFocusById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n }\r\n passwordKeyup(event: any) {\r\n const password: string = event.target.value;\r\n this.checkLength(password);\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'password-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'password-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'password-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'password-number-rule');\r\n }\r\n private checkRegEx(s: string, pattern: RegExp, id: string) {\r\n const isMatch = s.match(pattern);\r\n if (!isMatch) {\r\n this.showRuleNotMet(id);\r\n } else {\r\n this.showRuleMet(id);\r\n }\r\n }\r\n private setValidationErrorByControlName(controlName: string, validatorType: string) {\r\n const control = this.loginForm.get(controlName);\r\n const validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n }\r\n private checkLength(password: string) {\r\n const id = 'password-length-rule';\r\n if (password.length < 8) {\r\n this.showRuleNotMet(id);\r\n } else {\r\n this.showRuleMet(id);\r\n }\r\n }\r\n private showRuleMet(id: string) {\r\n const passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-not-met');\r\n passwordLength.add('rule-met');\r\n }\r\n private showRuleNotMet(id: string) {\r\n const passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-met');\r\n passwordLength.add('rule-not-met');\r\n }\r\n clear() {\r\n this.loginForm.reset();\r\n // document.getElementById('userName').focus();\r\n }\r\n // Child controls\r\n forgotPassword() {\r\n if (this.supported === 'true') {\r\n this.clear();\r\n this.fPassword.forgotPassword(true);\r\n this.logon = false;\r\n } else if (this.supported === 'false') {\r\n this.notSupportedBrowser();\r\n } else {\r\n this.networkProblems();\r\n }\r\n }\r\n changePassword() {\r\n if (this.supported === 'true') {\r\n this.clear();\r\n this.cPassword.passwordChange(true);\r\n this.logon = false;\r\n if (!this.cPassword.showChange) {\r\n this.logon = true;\r\n }\r\n } else if (this.supported === 'false') {\r\n this.notSupportedBrowser();\r\n } else {\r\n this.networkProblems();\r\n }\r\n }\r\n showLogin() {\r\n if (this.logon) {\r\n return true;\r\n } else {\r\n if (!this.cPassword.showChange && !this.fPassword.show) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n }\r\n setDirection() {\r\n if (this.authenticationService.isLoggedIn && !this.chngPass) {\r\n this.router.navigate(['navigation']);\r\n } else if (this.authenticationService.isLoggedIn && this.chngPass) {\r\n this.changePassword();\r\n }\r\n }\r\n async confirmExpiredPassword(daysTillExpiration) {\r\n const message = `Your password is scheduled to expire in ${daysTillExpiration} days. Click OK to change password now.`;\r\n const confirmResult = await PopupHelper.passwordExpirationHelper(message);\r\n\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.chngPass = true;\r\n this.setDirection();\r\n } else {\r\n this.chngPass = false;\r\n this.setDirection();\r\n }\r\n }\r\n async invalidUser() {\r\n const message = 'Invalid user and/or password. Please try again. Access denied';\r\n const alertResult = await PopupHelper.userHelper(message, 'error');\r\n if (alertResult === AlertResult.Ok) {\r\n this.loginForm.reset();\r\n document.getElementById('userName').focus();\r\n }\r\n }\r\n async notSupportedBrowser() {\r\n const message = 'Unsupported browser detected. Please contact GIS Vendor Relations.';\r\n const alertResult = await PopupHelper.loginIssue(message);\r\n if (alertResult === AlertResult.Ok) {\r\n return;\r\n }\r\n }\r\n async networkProblems() {\r\n const message = 'GIS Server Not Available';\r\n const alertResult = await PopupHelper.loginIssue(message);\r\n if (alertResult === AlertResult.Ok) {\r\n return;\r\n }\r\n }\r\n detectBrowser() {\r\n let env = '';\r\n let bwsr = '';\r\n // Chrome\r\n const _isChromeAM = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Mobile Safari') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 5 Build') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') >= 6 && navigator.userAgent.indexOf('Mac') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n const _isChromeAT = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 7 Build') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') >= 4 && navigator.userAgent.indexOf('Mac') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n\r\n const _isChromeIPhone = (navigator.userAgent.indexOf('CriOS') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Mobile') > -1 && navigator.userAgent.indexOf('iPhone') > -1 &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Android') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n const _isChromeIPad = (navigator.userAgent.indexOf('CriOS') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Mobile') > -1 && navigator.userAgent.indexOf('iPad') > -1 &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Android') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n const _isChromeOS = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('CrOS') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') === -1 && navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n const _isChromeMac = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Android') === -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1 && navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n const _isChromeWindows = (navigator.userAgent.indexOf('Chrome') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT') > -1 && navigator.userAgent.indexOf('Edge') === -1 &&\r\n navigator.userAgent.indexOf('Android') === -1 && navigator.userAgent.indexOf('Mac') === -1 &&\r\n navigator.userAgent.toLowerCase().indexOf('op') === -1) ? true : false;\r\n // IE\r\n const _isExplorer11 = ((navigator.userAgent.indexOf('Trident/7.0') > -1 && navigator.userAgent.indexOf('Windows NT 10.0') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('WOW64') > -1) ? true : false;\r\n const _isExplorer10 = ((navigator.userAgent.indexOf('MSIE 10.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.1') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Trident/6.0') > -1 &&\r\n navigator.userAgent.indexOf('WOW64') > -1) ? true : false;\r\n const _isExplorer9 = ((navigator.userAgent.indexOf('MSIE 9.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.1') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Trident/5.0') > -1) ? true : false;\r\n const _isExplorer8 = ((navigator.userAgent.indexOf('MSIE 8.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.0') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1 && navigator.userAgent.indexOf('Trident/4.0') > -1) ? true : false;\r\n const _isExplorer7 = ((navigator.userAgent.indexOf('MSIE 7.0') > -1 && navigator.userAgent.indexOf('Windows NT 6.0') > -1) &&\r\n navigator.userAgent.indexOf('Edge') === -1) ? true : false;\r\n // Firefox\r\n const _isFirefoxAM = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Mobile') > -1 && navigator.userAgent.indexOf('Android 4.4') > -1) ? true : false;\r\n const _isFirefoxAT = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Tablet') > -1 && navigator.userAgent.indexOf('Android 4.4') > -1) ? true : false;\r\n const _isFirefoxIPhone = (navigator.userAgent.indexOf('iPhone') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('FxiOS') > -1 && navigator.userAgent.indexOf('Mobile') > -1 &&\r\n navigator.userAgent.indexOf('iPad') === -1) ? true : false;\r\n const _isFirefoxIPad = (navigator.userAgent.indexOf('iPad') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('FxiOS') > -1 && navigator.userAgent.indexOf('Mobile') > -1) ? true : false;\r\n const _isFirefoxMac = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1) ? true : false;\r\n const _isFirefoxWindows = (navigator.userAgent.indexOf('Firefox') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT 10.0') > -1) ? true : false;\r\n // Safari\r\n const _isSafariIPad = (navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1 &&\r\n navigator.userAgent.indexOf('iPad') > -1 && navigator.userAgent.indexOf('iPhone') === -1 &&\r\n navigator.userAgent.indexOf('CriOS') === -1 && navigator.userAgent.indexOf('FxiOS') === -1) ? true : false;\r\n const _isSafariIPhone = (navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1 &&\r\n navigator.userAgent.indexOf('iPhone') > -1 && navigator.userAgent.indexOf('iPad') === -1 &&\r\n navigator.userAgent.indexOf('CriOS') === -1 && navigator.userAgent.indexOf('FxiOS') === -1) ? true : false;\r\n const _isSafariMac = (navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1) ? true : false;\r\n // Opera\r\n const _isOperaMac = (navigator.userAgent.toLowerCase().indexOf('op') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Macintosh') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('Intel Mac OS X 10_11_1') > -1) ? true : false;\r\n const _isOperaWindows = (navigator.userAgent.toLowerCase().indexOf('op') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT 10.0') > -1 && navigator.userAgent.indexOf('Safari') > -1 &&\r\n navigator.userAgent.indexOf('WOW64') > -1) ? true : false;\r\n const _isOperaPMac = (navigator.userAgent.indexOf('Macintosh') > -1 && navigator.userAgent.indexOf('Presto') > -1 &&\r\n navigator.userAgent.indexOf('Intel Mac OS X 10.9.1') > -1) ? true : false;\r\n const _isOperaPWindows = (navigator.userAgent.indexOf('Presto') > -1 &&\r\n navigator.userAgent.indexOf('Windows NT 6.1') > -1) ? true : false;\r\n const _isOperaAM = (navigator.userAgent.indexOf('Presto') > -1 && navigator.userAgent.indexOf('Android 4.1') > -1 &&\r\n navigator.userAgent.indexOf('Opera Mobi') > -1) ? true : false;\r\n const _isOperaIos = (navigator.userAgent.indexOf('iPhone') > -1 && navigator.userAgent.indexOf('Presto') > -1 &&\r\n navigator.userAgent.indexOf('Opera Mini') > -1) ? true : false;\r\n // Edge\r\n const _isEdgeWindow = (navigator.userAgent.indexOf('Edge') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Safari') > -1 && navigator.userAgent.indexOf('Windows NT') >= 10 &&\r\n navigator.userAgent.indexOf('Xbox') === -1) ? true : false;\r\n const _isEdgeMobile = (navigator.userAgent.indexOf('Edge') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Mobile Safari') > -1 && navigator.userAgent.indexOf('Windows Phone') >= 10) ? true : false;\r\n const _isEdgeXBox = (navigator.userAgent.indexOf('Edge') > -1 && navigator.userAgent.indexOf('Chrome') > -1 &&\r\n navigator.userAgent.indexOf('Safari') > -1 && navigator.userAgent.indexOf('Windows NT') >= 10 &&\r\n navigator.userAgent.indexOf('Xbox') > -1) ? true : false;\r\n // Google\r\n const _isGooglebot = (navigator.userAgent.indexOf('Googlebot/2.1') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 5X Build') === -1 && navigator.userAgent.indexOf('Android 6.0.1') === -1) ? true : false;\r\n const _isGooglebotS = (navigator.userAgent.indexOf('Googlebot/2.1') > -1 &&\r\n navigator.userAgent.indexOf('Nexus 5X Build') > -1 && navigator.userAgent.indexOf('Android 6.0.1') > -1) ? true : false;\r\n // UC\r\n const _isUCBAM = (navigator.userAgent.indexOf('UCBrowser') > -1 && navigator.userAgent.indexOf('Android 4.4.4') > -1 &&\r\n navigator.userAgent.indexOf('Mobile Safari') > -1) ? true : false;\r\n const _isUCBIOS = (navigator.userAgent.indexOf('UCBrowser') > -1 && navigator.userAgent.indexOf('iPad') > -1) ? true : false;\r\n const _isUCBWindowPhone = (navigator.userAgent.indexOf('UCBrowser') > -1 && navigator.userAgent.indexOf('Profile/MIDP') > -1 &&\r\n navigator.userAgent.indexOf('Mozilla') > -1) ? true : false;\r\n // Blackberry\r\n const _isBlackberryBB10 = (navigator.userAgent.indexOf('Mobile Safari') !== -1 &&\r\n navigator.userAgent.indexOf('BB10') !== -1) ? true : false;\r\n const _isBlackberryPlaybook = (navigator.userAgent.indexOf('Safari') !== -1 &&\r\n navigator.userAgent.indexOf('PlayBook') !== -1) ? true : false;\r\n const _isBlackberry9900 = (navigator.userAgent.indexOf('Mobile Safari') !== -1 &&\r\n navigator.userAgent.indexOf('BlackBerry') !== -1) ? true : false;\r\n // Android\r\n const _isAndroidGalaxy = (navigator.userAgent.indexOf('Android') !== -1 && navigator.userAgent.indexOf('Mobile Safari') !== -1\r\n && navigator.userAgent.indexOf('Galaxy Nexus') !== -1) ? true : false;\r\n const _isAndroidNexus = (navigator.userAgent.indexOf('Android') !== -1 && navigator.userAgent.indexOf('Mobile Safari') !== -1\r\n && navigator.userAgent.indexOf('Nexus S') !== -1) ? true : false;\r\n\r\n if (_isAndroidGalaxy) {\r\n env = environment.galaxy;\r\n bwsr = browser.android;\r\n } else if (_isAndroidNexus) {\r\n env = environment.nexus;\r\n bwsr = browser.android;\r\n } else if (_isBlackberryBB10) {\r\n env = environment.bb10;\r\n bwsr = browser.blackberry;\r\n } else if (_isBlackberryPlaybook) {\r\n env = environment.playbook;\r\n bwsr = browser.blackberry;\r\n } else if (_isBlackberry9900) {\r\n env = environment.blackberry99;\r\n bwsr = browser.blackberry;\r\n } else if (_isChromeAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.chrome;\r\n } else if (_isChromeAT) {\r\n env = environment.androidTablet;\r\n bwsr = browser.chrome;\r\n } else if (_isChromeIPhone) {\r\n env = environment.iPhone;\r\n bwsr = browser.chrome;\r\n } else if (_isChromeIPad) {\r\n env = environment.iPad;\r\n bwsr = browser.chrome;\r\n } else if (_isChromeOS) {\r\n env = environment.os;\r\n bwsr = browser.chrome;\r\n } else if (_isChromeMac) {\r\n env = environment.mac;\r\n bwsr = browser.chrome;\r\n } else if (_isChromeWindows) {\r\n env = environment.windows;\r\n bwsr = browser.chrome;\r\n } else if (_isEdgeWindow) {\r\n env = environment.windows;\r\n bwsr = browser.edge;\r\n } else if (_isEdgeMobile) {\r\n env = environment.mobile;\r\n bwsr = browser.edge;\r\n } else if (_isEdgeXBox) {\r\n env = environment.xbox;\r\n bwsr = browser.edge;\r\n } else if (_isExplorer11) {\r\n env = environment.explorer11;\r\n bwsr = browser.internetExplorer;\r\n } else if (_isExplorer10) {\r\n env = environment.explorer10;\r\n bwsr = browser.internetExplorer;\r\n } else if (_isExplorer9) {\r\n env = environment.explorer9;\r\n bwsr = browser.internetExplorer;\r\n } else if (_isExplorer8) {\r\n env = environment.explorer8;\r\n bwsr = browser.internetExplorer;\r\n } else if (_isExplorer7) {\r\n env = environment.explorer7;\r\n bwsr = browser.internetExplorer;\r\n } else if (_isGooglebot) {\r\n env = environment.any;\r\n bwsr = browser.googlebot;\r\n } else if (_isGooglebotS) {\r\n env = environment.smartphone;\r\n bwsr = browser.googlebot;\r\n } else if (_isFirefoxAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.firefox;\r\n } else if (_isFirefoxAT) {\r\n env = environment.androidTablet;\r\n bwsr = browser.firefox;\r\n } else if (_isFirefoxIPhone) {\r\n env = environment.iPhone;\r\n bwsr = browser.firefox;\r\n } else if (_isFirefoxIPad) {\r\n env = environment.iPad;\r\n bwsr = browser.firefox;\r\n } else if (_isFirefoxMac) {\r\n env = environment.mac;\r\n bwsr = browser.firefox;\r\n } else if (_isFirefoxWindows) {\r\n env = environment.windows;\r\n bwsr = browser.firefox;\r\n } else if (_isSafariIPad) {\r\n env = environment.iPadI0S9;\r\n bwsr = browser.safari;\r\n } else if (_isSafariIPhone) {\r\n env = environment.iPhoneI0S9;\r\n bwsr = browser.safari;\r\n } else if (_isSafariMac) {\r\n env = environment.mac;\r\n bwsr = browser.safari;\r\n } else if (_isUCBAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.ucBrowsers;\r\n } else if (_isUCBIOS) {\r\n env = environment.ios;\r\n bwsr = browser.ucBrowsers;\r\n } else if (_isUCBWindowPhone) {\r\n env = environment.windowsPhone;\r\n bwsr = browser.ucBrowsers;\r\n } else if (_isOperaMac) {\r\n env = environment.mac;\r\n bwsr = browser.opera;\r\n } else if (_isOperaWindows) {\r\n env = environment.windows;\r\n bwsr = browser.opera;\r\n } else if (_isOperaPMac) {\r\n env = environment.prestoMac;\r\n bwsr = browser.opera;\r\n } else if (_isOperaPWindows) {\r\n env = environment.prestoWindows;\r\n bwsr = browser.opera;\r\n } else if (_isOperaAM) {\r\n env = environment.androidMobile;\r\n bwsr = browser.opera;\r\n } else if (_isOperaIos) {\r\n env = environment.ios;\r\n bwsr = browser.opera;\r\n }\r\n\r\n try {\r\n if ((env !== null && env !== undefined && env !== '') && (bwsr !== null && bwsr !== undefined && bwsr !== '')) {\r\n this.authenticationService.checkAuthorization(env, bwsr)\r\n .subscribe(\r\n (data) => {\r\n this.supported = data;\r\n });\r\n } else {\r\n this.supported = 'false';\r\n }\r\n } catch (e) {\r\n this.supported = '';\r\n }\r\n }\r\n get userName() { return this.loginForm.get('log.userName'); }\r\n get currentPassword() { return this.loginForm.get('log.currentPassword'); }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/login/login.component.ts","module.exports = \"
\\r\\n
\\r\\n
Help
\\r\\n
\\r\\n
\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/loginHeader/loginHeader.component.html\n// module id = ./src/app/loginHeader/loginHeader.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}.hdr{border:\\\"0\\\";background-color:#ccf;width:95%;margin-left:3rem;margin-right:3rem;-ms-flex-line-pack:center;align-content:center;height:1.5rem}.hdrTxt{font-weight:700;color:#000}.row{float:left}#spacersm{padding-top:2.5rem}#spacerxsm{padding-top:.5rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/loginHeader/loginHeader.component.scss\n// module id = ./src/app/loginHeader/loginHeader.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-login-header',\r\n templateUrl: 'loginHeader.component.html',\r\n styleUrls: ['loginHeader.component.scss'],\r\n})\r\n\r\nexport class LoginHeaderComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/loginHeader/loginHeader.component.ts","module.exports = \"
\\r\\n
Navigation Page
\\r\\n

Welcome {{ navigation?.loggedInUser.user.firstName }} {{ navigation?.loggedInUser.user.middleName }} {{ navigation?.loggedInUser.user.lastName }}, Your last successful login was on {{navigation?.loggedInUser?.lastLoginDate | date: 'MM/dd/yyyy'}}

\\r\\n

\\r\\n Your security level authorizes you to enter the following application(s). Please select the application link to continue.\\r\\n

\\r\\n
\\r\\n\\r\\n \\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/navigation/navigation.component.html\n// module id = ./src/app/navigation/navigation.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem 0;color:#000;font-weight:bolder;margin:0 5rem}h4{font-weight:700}section{-ms-flex-line-pack:center;align-content:center;text-align:center}section header{margin-top:1.3em}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/navigation/navigation.component.scss\n// module id = ./src/app/navigation/navigation.component.scss\n// module chunks = app","import { Component, OnInit} from '@angular/core'; // Compiler\r\nimport NavigationService from '../../services/navigationService';\r\nimport Navigation from '../../models/navigation';\r\nimport { MessageQueService } from '../../services/index';\r\n\r\n@Component({\r\n selector: 'app-navigation',\r\n templateUrl: './navigation.component.html',\r\n styleUrls: ['./navigation.component.scss'],\r\n providers: [NavigationService, MessageQueService]\r\n})\r\nexport default class NavigationComponent implements OnInit {\r\n navigation: Navigation;\r\n cacheControlKey: string;\r\n\r\n constructor(private navigationService: NavigationService, private msgSvc: MessageQueService) { }\r\n\r\n ngOnInit(): void {\r\n this.msgSvc.setControlKey(); // ('CacheControlKey');\r\n\r\n this.navigationService.getJurisdictions()\r\n .subscribe((navigation: Navigation) => {\r\n this.navigation = navigation;\r\n });\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/navigation/navigation.component.ts","module.exports = \"\\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
\\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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/navigationInternal/navigationInternal.component.html?v=001\n// module id = ./src/app/navigationInternal/navigationInternal.component.html?v=001\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem 0;color:#000;font-weight:bolder;margin:0 5rem}a{display:block;margin-top:1.5rem}a:link,a:visited{color:#0066cb}em{display:block;font-style:normal}p{padding-top:3rem;font-family:Verdana,Tahoma,Arial}label{font-weight:bolder;display:inline-block}select{width:35rem;height:1.8rem;font-size:1.2rem;padding-top:.1rem}div:nth-child(2){font-family:Verdana,Arial,Tahoma}div:nth-child(2) label{margin-top:1rem;display:inline-block;width:30rem;text-align:left;vertical-align:bottom}div:nth-child(2) input{width:3.3rem;height:1.32rem}#exception{text-align:left;width:25rem}#search{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:6.2rem;margin-top:0}div section div{padding-top:.5rem;padding-left:6.5rem}div section div label{font-size:11.5px;text-align:left;width:16rem}div section div input{width:7.3rem;height:1.32rem}div section div button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:19.2rem;padding-top:.25rem;padding-bottom:.25rem;margin-top:2rem;display:block;-webkit-transform:translate(-3.1rem);transform:translate(-3.1rem)}div section a{font-weight:bolder}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/navigationInternal/navigationInternal.component.scss?v=001\n// module id = ./src/app/navigationInternal/navigationInternal.component.scss?v=001\n// module chunks = app","import { Component, OnInit } from '@angular/core'; // , Input\r\n\r\n@Component({\r\n selector: 'app-navigation-internal',\r\n templateUrl: './navigationInternal.component.html?v=001',\r\n styleUrls: ['./navigationInternal.component.scss?v=001'],\r\n})\r\n\r\nexport class NavigationInternalComponent implements OnInit {\r\n showInternalSection: boolean;\r\n\r\n\r\n // @Input() internal: boolean;\r\n\r\n\r\nngOnInit() {\r\n}\r\n // if (internal) {\r\n // this.showInternalSection = internal; // don't need this\r\n // // get database values\r\n // }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/navigationInternal/navigationInternal.component.ts","module.exports = \"
\\r\\n
\\r\\n \\r\\n
\\r\\n Criminal Record Information Management System\\r\\n\\r\\n

\\r\\n ****IMPORTANT INFORMATION****\\r\\n When we receive information on an admitted criminal record, we will pass that information on to you in the \\\"Special Instructions\\\"\\r\\n line located on your printed work orders. Please be advised that this information CAN NOT be seen on the screen when\\r\\n you are viewing your \\\"Task List\\\" page. You must click on \\\"Generate Work Orders\\\" and allow Adobe to open up with the work\\r\\n orders to view this information. You are not required to print the work order, but you can find the admitted criminal\\r\\n record information here only. It is critical that you are aware of this information. Our clients expect complete information\\r\\n on a record that is known to exist. If you have any questions, please contact us by clicking on \\\"Help\\\", then \\\"Contact\\r\\n Client Services\\\", on the top blue line.\\r\\n

\\r\\n\\r\\n
\\r\\n\\r\\n
Select Method to Retrieve Work Orders
\\r\\n\\r\\n Retrieve Past Due Work Orders\\r\\n Reports Page\\r\\n Retrieve New Work Orders\\r\\n Retrieve Work Orders By Date\\r\\n Retrieve Work Orders By Jurisdiction\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n Retrieve Work Orders By Case Number\\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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/navigationWorkOrders/navigationWorkOrders.component.html\n// module id = ./src/app/navigationWorkOrders/navigationWorkOrders.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem 0;color:#000;font-weight:bolder;margin:0 5rem}a{display:block;margin-top:1.5rem}a:link,a:visited{color:#0066cb}em{display:block;font-style:normal}p{padding-top:3rem;font-family:Verdana,Tahoma,Arial}label{font-weight:bolder;display:inline-block}select{width:35rem;height:1.8rem;font-size:1.2rem;padding-top:.1rem}div:nth-child(2){font-family:Verdana,Arial,Tahoma}div:nth-child(2) label{margin-top:1rem;display:inline-block;width:30rem;text-align:left;vertical-align:bottom}div:nth-child(2) input{width:3.3rem;height:1.32rem}#exception{text-align:left;width:25rem}#search{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:6.2rem;margin-top:0}div section div{padding-top:.5rem;padding-left:6.5rem}div section div label{font-size:11.5px;text-align:left;width:16rem}div section div input{width:7.3rem;height:1.32rem}div section div button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:19.2rem;padding-top:.25rem;padding-bottom:.25rem;margin-top:2rem;display:block;-webkit-transform:translate(-3.1rem);transform:translate(-3.1rem)}div section a{font-weight:bolder}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/navigationWorkOrders/navigationWorkOrders.component.scss\n// module id = ./src/app/navigationWorkOrders/navigationWorkOrders.component.scss\n// module chunks = app","import { Component, Input } from '@angular/core';\r\nimport Navigation from '../../models/navigation';\r\nimport Jurisdiction from '../../models/jurisdiction';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-navigation-work-orders',\r\n templateUrl: './navigationWorkOrders.component.html',\r\n styleUrls: ['./navigationWorkOrders.component.scss'],\r\n})\r\n\r\nexport default class NavigationWorkOrdersComponent {\r\n model: any = {};\r\n crimException: HTMLInputElement;\r\n deferredException: HTMLInputElement;\r\n recordEntry: HTMLInputElement;\r\n\r\n constructor(protected router: Router) {\r\n this.showWorkOrdersByJurisdiction = false;\r\n this.showRetrieveWorkOrdersSection = false;\r\n this.showInternalSection = false;\r\n this.isExternal = true;\r\n }\r\n\r\n displayWorkOrdersByJurisdictionSection() {\r\n this.showWorkOrdersByJurisdiction = true;\r\n }\r\n\r\n displayRetrieveWorkOrdersSection() {\r\n this.showRetrieveWorkOrdersSection = true;\r\n }\r\n\r\n @Input() set navigation(navigation: Navigation) {\r\n if (navigation) {\r\n this.jurisdictions = navigation.jurisdictions;\r\n }\r\n }\r\n\r\n viewResearcherTaskListForJurisdiction(jurisdictionId: number) {\r\n this.router.navigate(['researcherTaskList', 'detailWork', jurisdictionId]);\r\n }\r\n\r\n changeCrimAccess(args): boolean {\r\n let result = false;\r\n if (args.target.value !== 0) {\r\n this.model.selection = args.target.value;\r\n\r\n this.crimException = document.getElementById('crimException');\r\n this.deferredException = document.getElementById('deferredException');\r\n this.recordEntry = document.getElementById('recordEntry');\r\n this.model.crimParm = (this.crimException.value === '0' && this.deferredException.value === '0') ? 'N' : 'Y';\r\n this.model.crimParm = (this.recordEntry.value !== '0') ? 'R' : '';\r\n this.navigate('CRRS', 'ChgAccess');\r\n result = true;\r\n } else {\r\n this.model.selection = '';\r\n this.model.crimParm = '';\r\n result = false;\r\n }\r\n return result;\r\n }\r\n\r\n navigate(strSystem: string, task: string) {\r\n switch (strSystem) {\r\n case 'CRRS':\r\n switch (task) {\r\n case 'ByDate':\r\n break;\r\n case 'ByCase':\r\n break;\r\n case 'ByCaseAll':\r\n break;\r\n default:\r\n break;\r\n }\r\n break;\r\n case 'CTMS':\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n loggedInUser: string;\r\n loggedInDate: Date;\r\n workOrdersByDate: object;\r\n showRetrieveWorkOrdersSection: boolean;\r\n jurisdictions: Jurisdiction[];\r\n workOrdersByJurisdiction: Array;\r\n showWorkOrdersByJurisdiction: boolean;\r\n showInternalSection: boolean;\r\n isExternal: boolean;\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/navigationWorkOrders/navigationWorkOrders.component.ts","module.exports = \"\\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 You must have at least 1 charge.\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n Offense, Disposition or File Date is required on at least one of the COUNTS/OFFENSES.\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offense/offense.component.html\n// module id = ./src/app/offense/offense.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}main{margin-left:5rem;margin-right:5rem}#button-section{margin:3rem 0;-ms-flex-line-pack:center;align-content:center;text-align:center}#button-section button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}.validation{-ms-flex-line-pack:center;align-content:center;text-align:center}.validation span{font-weight:400;color:red;display:block}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offense/offense.component.scss\n// module id = ./src/app/offense/offense.component.scss\n// module chunks = app","import { Component,\r\n OnInit,\r\n ViewChild,\r\n ChangeDetectorRef,\r\n} from '@angular/core';\r\nimport Offense from '../../models/offense';\r\nimport OffenseService from '../../services/offenseService';\r\nimport OffenseRecord from '../../models/offenseRecord';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n Validators\r\n} from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport isDateValidator from '../../validators/isDateValidator';\r\nimport { OffenseCodes } from '../../models/offenseCodes';\r\nimport FormControl from '../../models/formControl';\r\nimport * as alertify from 'alertifyjs';\r\nimport HttpError from '../../models/httpError';\r\nimport BrowserWindowObjectService from '../../services/browserWindowObjectService';\r\nimport ComplianceAuditLogService from '../../services/complianceAuditLogService';\r\nimport { ConfirmResult } from '../../models/alertifyPromise';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport ComplianceAuditLog from '../../models/complianceAuditLog';\r\nimport Charge from 'models/charge';\r\nimport { MessageQueService } from '../../services/index';\r\n\r\n@Component({\r\n selector: 'app-offense',\r\n templateUrl: './offense.component.html',\r\n styleUrls: [\r\n './offense.component.scss',\r\n ],\r\n providers: [OffenseService, MessageQueService]\r\n})\r\n\r\nexport default class OffenseComponent implements OnInit {\r\n constructor(private offenseService: OffenseService,\r\n private browserWindowObjectService: BrowserWindowObjectService,\r\n private complianceAuditLogService: ComplianceAuditLogService,\r\n private route: ActivatedRoute,\r\n private formBuilder: FormBuilder,\r\n private router: Router,\r\n private msgSvc: MessageQueService,\r\n private changeDetectorRef: ChangeDetectorRef,\r\n ) {\r\n this.route.params.subscribe((params: any) => {\r\n this.requestNumber = params['requestNumber'] as number;\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n this.msgSvc.setControlKey(); // ('CacheControlKey');\r\n this.browserWindowObjectService.scrollToTopOfPage();\r\n\r\n this.offenseService.getOffense(this.requestNumber)\r\n .subscribe((object: any) => {\r\n if (object instanceof Offense) {\r\n this.offense = object as Offense;\r\n this.checkWorkOrderComplete();\r\n } else {\r\n const httpError = object as HttpError;\r\n if (httpError.status === 422) {\r\n this.browserWindowObjectService.goBackOnePage();\r\n // alertify.alert('Crim Error', 'You did not send a valid request');\r\n }\r\n }\r\n });\r\n\r\n this.offensePageForm = this.formBuilder.group({\r\n offenseSearch: this.formBuilder.group({\r\n admittedCrimeNotFound: ['']\r\n }),\r\n offenseRecord: this.formBuilder.group({\r\n sentenceLevel: [''],\r\n // This is just to do have a validator for identifers.\r\n hasIdentifier: [''],\r\n hasNameIdentifier: [''],\r\n hasDobIdentifier: [''],\r\n hasSsnIdentifier: [''],\r\n hasSinIdentifier: [''],\r\n hasAddressIdentifier: [''],\r\n hasDlnIdentifier: [''],\r\n isRecordLevel: [''],\r\n hasFaxInformation: [''],\r\n courtRecordedFullName: ['', [\r\n Validators.required,\r\n Validators.maxLength(60),\r\n ]\r\n ],\r\n nameDiffers: [''],\r\n referenceNumber: ['', [\r\n Validators.required,\r\n Validators.maxLength(25),\r\n ]\r\n ],\r\n courtRecordDob: ['', isDateValidator(1900)],\r\n dobType: [''],\r\n month: [''],\r\n day: [''],\r\n year: [''],\r\n // fullDobValidator and partialDobValidator\r\n // are placeholders for the validators.\r\n fullDobValidator: [''],\r\n partialDobValidator: [''],\r\n offenseDate: ['', isDateValidator(2000)],\r\n fileDate: ['', isDateValidator(2000)],\r\n arrestDate: ['', isDateValidator(2000)],\r\n dispositionDate: ['', isDateValidator(2000)],\r\n // This is just to do have a validator to make sure you\r\n // all dates are good.\r\n hasRequiredDate: [''],\r\n offenseDateGreaterThanCurrentDate: [''],\r\n fileDateGreaterThanCurrentDate: [''],\r\n arrestDateGreaterThanCurrentDate: [''],\r\n dispositionDateGreaterThanCurrentDate: [''],\r\n fileDateDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanFileDate: [''],\r\n offenseDateAtRecordAndChargeLevel: [''],\r\n fileDateAtRecordAndChargeLevel: [''],\r\n arrestDateAtRecordAndChargeLevel: [''],\r\n dispositionDateAtRecordAndChargeLevel: [''],\r\n probation: ['', Validators.maxLength(255) ],\r\n fines: ['', Validators.maxLength(255) ],\r\n courtCosts: ['', Validators.maxLength(255) ],\r\n jailTime: ['', Validators.maxLength(255) ],\r\n prisonTime: ['', Validators.maxLength(255) ],\r\n suspensionTime: ['', Validators.maxLength(255) ],\r\n nextCourtDate: ['', isDateValidator(2000)],\r\n comments: ['', Validators.maxLength(3000) ],\r\n otherSentenceNotes: ['', Validators.maxLength(5000) ],\r\n charge: this.formBuilder.group({\r\n hasChargesValidator: ['']\r\n })\r\n })\r\n });\r\n\r\n this.formControl = new FormControl(this.offensePageForm);\r\n }\r\n\r\n updateToCurrentOffenseRecord(offenseRecord: OffenseRecord) {\r\n this.currentOffenseRecord = offenseRecord;\r\n this.isNewRecord = this.currentOffenseRecord.isNewRecord;\r\n this.validateHasCharges();\r\n this.validateHasChargeDates();\r\n }\r\n\r\n updateCanDeleteCurrentOffenseRecord(canDelete: boolean) {\r\n this.canDelete = canDelete;\r\n }\r\n\r\n updateToCurrentOffenseCharges() {\r\n this.validateHasCharges();\r\n this.validateHasChargeDates();\r\n }\r\n\r\n async onSubmit() {\r\n const dobInformation = this.getDobInformation();\r\n let save = true;\r\n\r\n try {\r\n if (this.hasDobMismatch(dobInformation)) {\r\n const complianceAuditLogs = new Array();\r\n complianceAuditLogs.push(new ComplianceAuditLog(this.requestNumber, 'DOBMISMATCH', 'OFFENCEPG', null, null));\r\n\r\n if (await PopupHelper.dobMismatchHelper() === ConfirmResult.Cancel) {\r\n complianceAuditLogs.push(new ComplianceAuditLog(this.requestNumber, 'DOBMISMATCH_UPDATE', 'OFFENCEPG', null, null));\r\n save = false;\r\n\r\n // This is a hack.\r\n // For whatever reason if the time between\r\n // await PopupHelper.dobMismatchHelper() === ConfirmResult.Cancel\r\n // and\r\n // await this.complianceAuditLogService.addComplianceAuditLogs(complianceAuditLogs);\r\n // is under about 290ms, it will set focus to text box and then scroll to the bottom\r\n // of page and unset focus.\r\n // So telling the system to wait about 320ms before setting focus.\r\n setTimeout(() => this.offenseRecordComponent.setFocusForDobMismatch(), 320);\r\n\r\n } else {\r\n complianceAuditLogs.push(new ComplianceAuditLog(this.requestNumber, 'DOBMISMATCH_PROCEED', 'OFFENCEPG', null, null));\r\n }\r\n\r\n await this.complianceAuditLogService.addComplianceAuditLogs(complianceAuditLogs);\r\n }\r\n\r\n if (save) {\r\n this.isSaving = true;\r\n const offense = this.createOffenseObject(dobInformation);\r\n this.offenseService.save(offense).subscribe((r: any) => {\r\n if (r instanceof HttpError) {\r\n if (r.status === 422) {\r\n const errorCodes = r.httpResponse.json().errorCodes as OffenseCodes[];\r\n const message = `An error occurred while trying to save request with error code(s) ${errorCodes.join()}.\r\n
Get more information\r\n here`;\r\n alertify.alert('Crim Error', message);\r\n }\r\n } else {\r\n this.isNewRecord = this.currentOffenseRecord.isNewRecord = false;\r\n this.offenseRecordComponent.saveCompletedSuccessfully();\r\n this.offensePageForm.markAsPristine();\r\n this.browserWindowObjectService.scrollToTopOfPage();\r\n this.checkWorkOrderComplete();\r\n }\r\n this.isSaving = false;\r\n });\r\n }\r\n } catch (e) {\r\n this.isSaving = false;\r\n // An exception will happen with a DOB mismatch and when sending a\r\n // request to ComplianceAuditLog api and the api returns anything other than a HTTP 200.\r\n // In that case we don't want to save the request.\r\n }\r\n }\r\n\r\n async deleteRecord() {\r\n const confirmResult = await PopupHelper.deleteRecordHelper();\r\n\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.offenseService.delete(this.requestNumber, this.currentOffenseRecord.offenseNumber)\r\n .subscribe((error: HttpError) => {\r\n if (error === null) {\r\n const index = this.offense.offenseRecords.indexOf(this.currentOffenseRecord);\r\n this.offense.offenseRecords.splice(index, 1);\r\n this.checkWorkOrderComplete();\r\n this.offenseRecordComponent.deleteSuccessfully();\r\n }\r\n });\r\n }\r\n }\r\n\r\n goToNavigation() {\r\n this.router.navigate(['navigation']);\r\n }\r\n\r\n async exitDialog() {\r\n const confirmResult = await PopupHelper.exitSystemHelper();\r\n\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n }\r\n\r\n about() {\r\n PopupHelper.systemVersion();\r\n }\r\n\r\n support() {\r\n PopupHelper.support();\r\n }\r\n\r\n help() {\r\n this.browserWindowObjectService.openWindowInNewWindowByRoute(`offenseHelp`, '', 800, 900);\r\n }\r\n\r\n get hasChargesValidator() { return this.offensePageForm.get('offenseRecord.charge.hasChargesValidator'); }\r\n get hasRequiredDate() { return this.offensePageForm.get('offenseRecord.hasRequiredDate'); }\r\n\r\n private validateHasCharges() {\r\n if (!this.hasCharges) {\r\n this.formControl.setValidationErrorByControlName('offenseRecord.charge.hasChargesValidator', 'hasCharges');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('offenseRecord.charge.hasChargesValidator', 'hasCharges');\r\n }\r\n }\r\n\r\n private validateHasChargeDates() {\r\n if (this.hasCharges) {\r\n if (this.currentOffenseRecord.charges\r\n .some((c: Charge) => c.offenseDate !== null || c.fileDate !== null || c.dispositionDate !== null)) {\r\n this.formControl.clearValidatorErrorByControlName('offenseRecord.hasRequiredDate', 'hasRequiredDate');\r\n } else {\r\n this.formControl.setValidationErrorByControlName('offenseRecord.hasRequiredDate', 'hasRequiredDate');\r\n }\r\n }\r\n }\r\n\r\n private get hasCharges(): boolean {\r\n return this.currentOffenseRecord !== null && this.currentOffenseRecord !== undefined\r\n && this.currentOffenseRecord.charges !== null && this.currentOffenseRecord.charges !== undefined\r\n && this.currentOffenseRecord.charges.length > 0;\r\n }\r\n\r\n private checkWorkOrderComplete() {\r\n this.canWorkOrderComplete = this.offense.offenseRecords.length > 0\r\n && this.offense.offenseRecords.every(or => or.referenceNumber !== null\r\n && or.referenceNumber !== undefined && or.referenceNumber.length > 0);\r\n this.changeDetectorRef.detectChanges();\r\n }\r\n\r\n private hasDobMismatch(dobInformation: any): boolean {\r\n\r\n let mismatch = false;\r\n if (dobInformation.fullDob || dobInformation.partialDob) {\r\n const year = this.offense.offenseSearch.dob.getFullYear();\r\n const month = this.offense.offenseSearch.dob.getMonth() + 1;\r\n const day = this.offense.offenseSearch.dob.getDate();\r\n\r\n let dobYear: number = null;\r\n let dobMonth: number = null;\r\n let dobDay: number = null;\r\n\r\n if (dobInformation.fullDob) {\r\n const dobDate = new Date(dobInformation.fullDob);\r\n dobYear = dobDate.getFullYear();\r\n dobMonth = dobDate.getMonth() + 1;\r\n dobDay = dobDate.getDate();\r\n mismatch = year !== dobYear || month !== dobMonth || day !== dobDay;\r\n } else {\r\n dobYear = +dobInformation.partialYear;\r\n dobMonth = +dobInformation.partialMonth;\r\n dobDay = +dobInformation.partialDay;\r\n mismatch = year !== dobYear || (month !== dobMonth && day !== dobDay);\r\n }\r\n }\r\n\r\n return mismatch;\r\n }\r\n\r\n private createOffenseObject(dobInformation: any): any {\r\n\r\n const offenseRecords = Array();\r\n offenseRecords.push({\r\n requestNbr: this.currentOffenseRecord.requestNbr,\r\n offenseNbr: this.currentOffenseRecord.offenseNumber,\r\n isCourtCaseSentencing: this.formControl.getNumberByControlName('offenseRecord.sentenceLevel') === 0 ? 'o' : null,\r\n offenseDt: this.formControl.getShortDateByControlName('offenseRecord.offenseDate'),\r\n fileDt: this.formControl.getShortDateByControlName('offenseRecord.fileDate'),\r\n arrestDate: this.formControl.getShortDateByControlName('offenseRecord.arrestDate'),\r\n dispositionDt: this.formControl.getShortDateByControlName('offenseRecord.dispositionDate'),\r\n courtRecordedName: this.formControl.getValueByControlName('offenseRecord.courtRecordedFullName'),\r\n faxInfoInd: this.formControl.getCrimBooleanByControlName('offenseRecord.hasFaxInformation'),\r\n identifierDOB: this.formControl.getCrimBooleanByControlName('offenseRecord.hasDobIdentifier'),\r\n identifierSSN: this.formControl.getCrimBooleanByControlName('offenseRecord.hasSsnIdentifier'),\r\n identifierName: this.formControl.getCrimBooleanByControlName('offenseRecord.hasNameIdentifier'),\r\n identifierAddress: this.formControl.getCrimBooleanByControlName('offenseRecord.hasAddressIdentifier'),\r\n identifierDLN: this.formControl.getCrimBooleanByControlName('offenseRecord.hasDlnIdentifier'),\r\n identifierSIN: this.formControl.getCrimBooleanByControlName('offenseRecord.hasSinIdentifier'),\r\n comments: this.formControl.getValueByControlName('offenseRecord.comments'),\r\n referenceNbr: this.formControl.getValueByControlName('offenseRecord.referenceNumber'),\r\n nameDiff: this.formControl.getCrimBooleanByControlName('offenseRecord.nameDiffers'),\r\n courtRecordDOB: dobInformation.fullDob,\r\n identifierPartialDOB: dobInformation.partialDob,\r\n partialMonth: dobInformation.partialMonth,\r\n partialDay: dobInformation.partialDay,\r\n partialYear: dobInformation.partialYear,\r\n identifierNoDOB: dobInformation.dobNotListed,\r\n nextCourtDate: this.formControl.getShortDateByControlName('offenseRecord.nextCourtDate'),\r\n probation: this.formControl.getValueByControlName('offenseRecord.probation'),\r\n jailTime: this.formControl.getValueByControlName('offenseRecord.jailTime'),\r\n prisonTime: this.formControl.getValueByControlName('offenseRecord.prisonTime'),\r\n suspensionTime: this.formControl.getValueByControlName('offenseRecord.suspensionTime'),\r\n fines: this.formControl.getValueByControlName('offenseRecord.fines'),\r\n courtCosts: this.formControl.getValueByControlName('offenseRecord.courtCosts'),\r\n otherSentenceNotes: this.formControl.getValueByControlName('offenseRecord.otherSentenceNotes'),\r\n charges: this.getCharges()\r\n });\r\n\r\n return offenseRecords;\r\n }\r\n\r\n private getCharges(): any[] {\r\n const charges = Array();\r\n for (const charge of this.currentOffenseRecord.charges) {\r\n charges.push({\r\n requestNbr: charge.requestNbr,\r\n offenseNbr: charge.offenseNbr,\r\n countNbr: charge.countNbr,\r\n chargeLevel: charge.chargeLevel,\r\n charge: charge.charge,\r\n disposition: charge.disposition,\r\n chargeCd: charge.chargeCd,\r\n chargeDispDate: charge.chargeDispDate === null ? null : new Date(Date.UTC(charge.chargeDispDate.getFullYear(), charge.chargeDispDate.getMonth(), charge.chargeDispDate.getDate(), 0, 0, 0, 0)),\r\n chargeArrestDate: charge.chargeArrestDate === null ? null : new Date(Date.UTC(charge.chargeArrestDate.getFullYear(), charge.chargeArrestDate.getMonth(), charge.chargeArrestDate.getDate(), 0, 0, 0, 0)),\r\n chargeFileDate: charge.chargeFileDate === null ? null : new Date(Date.UTC(charge.chargeFileDate.getFullYear(), charge.chargeFileDate.getMonth(), charge.chargeFileDate.getDate(), 0, 0, 0, 0)),\r\n chargeOffenseDate: charge.chargeOffenseDate === null ? null : new Date(Date.UTC(charge.chargeOffenseDate.getFullYear(), charge.chargeOffenseDate.getMonth(), charge.chargeOffenseDate.getDate(), 0, 0, 0, 0)),\r\n noDispDateReason: charge.noDispDateReason,\r\n noArrestDateReason: charge.noArrestDateReason,\r\n noFileDateReason: charge.noFileDateReason,\r\n noOffenseDateReason: charge.noOffenseDateReason,\r\n chargeNextCourtDate: charge.chargeNextCourtDate === null ? null : new Date(Date.UTC(charge.chargeNextCourtDate.getFullYear(), charge.chargeNextCourtDate.getMonth(), charge.chargeNextCourtDate.getDate(), 0, 0, 0, 0)),\r\n chargeProbation: charge.chargeProbation,\r\n chargeJailTime: charge.chargeJailTime,\r\n chargePrisonTime: charge.chargePrisonTime,\r\n chargeSuspensionTime: charge.chargeSuspensionTime,\r\n chargeFines: charge.chargeFines,\r\n chargeCourtCosts: charge.chargeCourtCosts,\r\n chargeOtherSentenceNotes: charge.chargeOtherSentenceNotes,\r\n chargeStatute: charge.chargeStatute\r\n });\r\n }\r\n\r\n return charges;\r\n }\r\n\r\n private getDobInformation(): any {\r\n const dobType = this.formControl.getValueByControlName('offenseRecord.dobType');\r\n let month = this.formControl.getValueByControlName('offenseRecord.month');\r\n let day = this.formControl.getValueByControlName('offenseRecord.day');\r\n let year = this.formControl.getValueByControlName('offenseRecord.year');\r\n let fullDob = '';\r\n let partialDob = '';\r\n let dobNotListed = '';\r\n\r\n if ('full-dob' === dobType) {\r\n fullDob = `${month}/${day}/${year}`;\r\n month = null;\r\n day = null;\r\n year = null;\r\n } else if ('partial-dob' === dobType) {\r\n partialDob = 'o';\r\n } else {\r\n dobNotListed = 'o';\r\n month = null;\r\n day = null;\r\n year = null;\r\n }\r\n\r\n return {\r\n fullDob,\r\n partialDob,\r\n dobNotListed,\r\n partialMonth: month,\r\n partialDay: day,\r\n partialYear: year\r\n };\r\n }\r\n\r\n @ViewChild('offenseRecord') offenseRecordComponent;\r\n @ViewChild('offenseSearch') offenseSearchComponent;\r\n offense: Offense;\r\n requestNumber: number;\r\n offensePageForm: FormGroup;\r\n isSaving = false;\r\n canDelete = false;\r\n canWorkOrderComplete = false;\r\n isNewRecord = true;\r\n cacheControlKey: string;\r\n private currentOffenseRecord: OffenseRecord;\r\n private formControl: FormControl;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/offense/offense.component.ts","module.exports = \"
\\r\\n\\r\\n
\\r\\n COUNT/OFFENSE INFORMATION\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n *Indicates Required Entry For an Offense\\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
\\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 Count is required.\\r\\n \\r\\n \\r\\n Count must be a number.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Charge Level is required.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense is required.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition is required.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Charge Statute can only be a max of 50 characters.\\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
\\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 Charge Statute can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Fines can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Court Costs can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Jail Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Prison Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Suspension Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Next Court Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n

Please include the dates listed on the public record for each COUNT/OFFENSE.

\\r\\n

Disposition Date is not required for a COUNT/OFFENSE that is Pending.

\\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\\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 Offense Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than file date.\\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 \\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
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseCounts/offenseCounts.component.html\n// module id = ./src/app/offenseCounts/offenseCounts.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}.odd-background-charge{background-color:#ccf}.even-background-charge{background-color:#fff}.selected-charge{background-color:#00008b;color:#fff}.validation{-ms-flex-line-pack:center;align-content:center;text-align:center}.validation span{font-weight:400;color:red;display:block}*{-webkit-box-sizing:border-box;box-sizing:border-box}header{background-color:#ccf;padding:.25rem .3rem;color:#000;font-weight:bolder;margin:1.5rem 0 .4rem 0}section{margin-bottom:2rem}mark{color:red;background-color:inherit}label{font-weight:700}#charge-information-section{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#charge-information-section div{width:45rem}#charge-information-section div:not(:first-of-type){margin-top:.5rem}#charge-information-section label{display:inline-block;width:10rem}#charge-information-section #count,#charge-information-section #level{width:15rem}#charge-information-section #charge-statute,#charge-information-section #disposition,#charge-information-section #offense{width:30rem}#charge-result-section{margin-top:-1rem}#charge-result-section div{margin-top:1rem}#charge-dates-section{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}#charge-dates-section h4.text-alert{display:block;margin-right:auto;margin-left:auto;padding:0;font-weight:400}#charge-dates-section h4.text-alert:first-of-type{margin:0}#charge-dates-section h4.text-alert:last-of-type{margin-top:.5rem}#charge-dates-section div{margin-top:.3rem}#charge-dates-section label{width:12.5rem;display:inline-block}#charge-dates-section input{margin-right:1rem}#sentencing-notes-section{margin-top:2rem;-ms-flex-line-pack:center;align-content:center;text-align:center}#sentencing-notes-section div{display:inline-block}#sentencing-notes-section label{display:block;text-align:left;margin-bottom:.5rem}#charge-type-section{margin-top:1.5rem;-ms-flex-line-pack:center;align-content:center;text-align:center}#charge-type-section button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}#charge-type-changes-section{margin-top:1.5rem;-ms-flex-line-pack:center;align-content:center;text-align:center}#charge-type-changes-section button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}#charge-type-choice-section{max-width:85rem;margin-right:auto;margin-left:auto;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:initial;align-content:initial}#charge-type-choice-section div:first-of-type,#charge-type-choice-section div:nth-of-type(2),#charge-type-choice-section div:nth-of-type(4),#charge-type-choice-section div:nth-of-type(5){margin-right:5rem}#charge-type-choice-section div{margin-top:2rem}#charge-type-choice-section select{width:25rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseCounts/offenseCounts.component.scss\n// module id = ./src/app/offenseCounts/offenseCounts.component.scss\n// module chunks = app","import { Component,\r\n Input,\r\n OnInit,\r\n Output,\r\n EventEmitter\r\n} from '@angular/core';\r\nimport OffenseRecord from '../../models/offenseRecord';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n Validators\r\n} from '@angular/forms';\r\nimport FormControl from '../../models/formControl';\r\nimport { ChargeLevel } from '../../models/chargeLevels';\r\nimport Charge from '../../models/charge';\r\nimport { ChargeType } from '../../models/chargeType';\r\nimport DateHandler from '../../models/dateHandler';\r\nimport { SentenceLevel } from '../../models/sentenceLevel';\r\nimport isNumber from '../../validators/isNumberValidator';\r\nimport isDateValidator from '../../validators/isDateValidator';\r\n\r\n@Component({\r\n selector: 'app-offense-counts',\r\n templateUrl: './offenseCounts.component.html',\r\n styleUrls: ['./offenseCounts.component.scss'],\r\n providers: []\r\n})\r\n\r\nexport default class OffenseCountsComponent implements OnInit {\r\n\r\n constructor(private formBuilder: FormBuilder) { }\r\n\r\n ngOnInit(): void {\r\n this.offenseCountsPageForm = this.formBuilder.group({\r\n count: ['', [\r\n Validators.required,\r\n isNumber()\r\n ]\r\n ],\r\n chargeLevel: ['', Validators.required],\r\n offense: ['', [\r\n Validators.required,\r\n Validators.maxLength(1000)\r\n ]\r\n ],\r\n disposition: ['', [\r\n Validators.required,\r\n Validators.maxLength(2000)\r\n ]\r\n ],\r\n chargeStatute: ['', Validators.maxLength(50) ],\r\n probation: ['', Validators.maxLength(255) ],\r\n fines: ['', Validators.maxLength(255) ],\r\n courtCosts: ['', Validators.maxLength(255) ],\r\n jailTime: ['', Validators.maxLength(255) ],\r\n prisonTime: ['', Validators.maxLength(255) ],\r\n suspensionTime: ['', Validators.maxLength(255) ],\r\n nextCourtDate: ['', isDateValidator(2000)],\r\n offenseDateGreaterThanCurrentDate: [''],\r\n fileDateGreaterThanCurrentDate: [''],\r\n arrestDateGreaterThanCurrentDate: [''],\r\n dispositionDateGreaterThanCurrentDate: [''],\r\n fileDateDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanOffenseDate: [''],\r\n dispositionDateOlderThanFileDate: [''],\r\n offenseDate: ['', isDateValidator(2000)],\r\n noOffenseDateReason: [''],\r\n fileDate: ['', isDateValidator(2000)],\r\n noFileDateReason: [''],\r\n arrestDate: ['', isDateValidator(2000)],\r\n noArrestDateReason: [''],\r\n dispositionDate: ['', isDateValidator(2000)],\r\n noDispositionReason: [''],\r\n otherSentenceNotes: ['', Validators.maxLength(5000)],\r\n });\r\n this.offenseCountFormControl = new FormControl(this.offenseCountsPageForm);\r\n }\r\n\r\n @Input() set offenseRecordObject(offenseRecord: OffenseRecord) {\r\n if (offenseRecord) {\r\n this.offenseRecord = offenseRecord;\r\n this.createChargeOptions();\r\n this.offenseCountsPageForm.reset();\r\n }\r\n }\r\n\r\n @Input() set sentenceLevelObject(sentenceLevel: SentenceLevel) {\r\n if (this.offenseCountFormControl) {\r\n this.isRecord = +sentenceLevel === SentenceLevel.Record;\r\n if (this.isRecord) {\r\n this.offenseCountFormControl.disableControlByControlName('probation');\r\n this.offenseCountFormControl.disableControlByControlName('fines');\r\n this.offenseCountFormControl.disableControlByControlName('courtCosts');\r\n this.offenseCountFormControl.disableControlByControlName('jailTime');\r\n this.offenseCountFormControl.disableControlByControlName('prisonTime');\r\n this.offenseCountFormControl.disableControlByControlName('suspensionTime');\r\n this.offenseCountFormControl.disableControlByControlName('nextCourtDate');\r\n this.offenseCountFormControl.disableControlByControlName('otherSentenceNotes');\r\n } else {\r\n this.offenseCountFormControl.enableControlByControlName('probation');\r\n this.offenseCountFormControl.enableControlByControlName('fines');\r\n this.offenseCountFormControl.enableControlByControlName('courtCosts');\r\n this.offenseCountFormControl.enableControlByControlName('jailTime');\r\n this.offenseCountFormControl.enableControlByControlName('prisonTime');\r\n this.offenseCountFormControl.enableControlByControlName('suspensionTime');\r\n this.offenseCountFormControl.enableControlByControlName('nextCourtDate');\r\n this.offenseCountFormControl.enableControlByControlName('otherSentenceNotes');\r\n }\r\n }\r\n }\r\n\r\n @Output() updateOffenseDates = new EventEmitter();\r\n @Output() updateToCurrentRecordCharges = new EventEmitter();\r\n\r\n runValidation() {\r\n this.validateDates();\r\n }\r\n\r\n formatDate(controlName: string) {\r\n if (!this.offenseCountFormControl.hasErrorByControlName(controlName)) {\r\n const value = this.offenseCountFormControl.getValueByControlName(controlName);\r\n this.offenseCountFormControl.setValueByControlName(controlName, this.convertToDateFormat(value));\r\n }\r\n\r\n this.validateDates();\r\n }\r\n\r\n addCharge(chargeType: ChargeType) {\r\n const charge = this.createChargeFromChargeUiControls(chargeType);\r\n\r\n if (chargeType === ChargeType.Convicted) {\r\n this.convictedChargeOptions = this.convictedChargeOptions.concat(this.getFieldsForCharge(charge));\r\n } else if (chargeType === ChargeType.OtherNonConviction) {\r\n this.otherNonConvictionChargeOptions = this.otherNonConvictionChargeOptions.concat(this.getFieldsForCharge(charge));\r\n } else if (chargeType === ChargeType.Pending) {\r\n this.pendingChargeOptions = this.pendingChargeOptions.concat(this.getFieldsForCharge(charge));\r\n } else if (chargeType === ChargeType.CompleteDeferral) {\r\n this.completeDeferralChargeOptions = this.completeDeferralChargeOptions.concat(this.getFieldsForCharge(charge));\r\n } else if (chargeType === ChargeType.ActiveDeferral) {\r\n this.activeDeferralChargeOptions = this.activeDeferralChargeOptions.concat(this.getFieldsForCharge(charge));\r\n }\r\n\r\n this.addChargeToOffense(charge);\r\n this.updateOffenseDatesWithGreatestDates();\r\n this.offenseCountsPageForm.reset();\r\n this.chargesHasChanged();\r\n }\r\n\r\n clearChargeFields() {\r\n this.offenseCountsPageForm.reset();\r\n }\r\n\r\n updateCharge() {\r\n const newCharge = this.createChargeFromChargeUiControls();\r\n\r\n const fieldOptions: any = this.getAllChargesOptions()\r\n .filter(cf => cf.selected);\r\n\r\n fieldOptions[0].charge.count = newCharge.count;\r\n fieldOptions[0].charge.chargeLevel = newCharge.chargeLevel;\r\n fieldOptions[0].charge.offense = newCharge.offense;\r\n fieldOptions[0].charge.disposition = newCharge.disposition;\r\n fieldOptions[0].charge.chargeStatute = newCharge.chargeStatute;\r\n fieldOptions[0].charge.probation = newCharge.probation;\r\n fieldOptions[0].charge.courtCost = newCharge.courtCost;\r\n fieldOptions[0].charge.jailTime = newCharge.jailTime;\r\n fieldOptions[0].charge.prisonTime = newCharge.prisonTime;\r\n fieldOptions[0].charge.suspensionTime = newCharge.suspensionTime;\r\n fieldOptions[0].charge.nextCourtDate = newCharge.nextCourtDate;\r\n fieldOptions[0].charge.offenseDate = newCharge.offenseDate;\r\n fieldOptions[0].charge.noOffenseDateReason = newCharge.noOffenseDateReason;\r\n fieldOptions[0].charge.fileDate = newCharge.fileDate;\r\n fieldOptions[0].charge.noFileDateReason = newCharge.noFileDateReason;\r\n fieldOptions[0].charge.arrestDate = newCharge.arrestDate;\r\n fieldOptions[0].charge.noArrestDateReason = newCharge.noArrestDateReason;\r\n fieldOptions[0].charge.dispositionDate = newCharge.dispositionDate;\r\n fieldOptions[0].charge.noDispositionReason = newCharge.noDispositionReason;\r\n fieldOptions[0].charge.otherSentenceNotes = newCharge.otherSentenceNotes;\r\n\r\n this.updateOffenseDatesWithGreatestDates();\r\n this.updateOptionFieldsForCharge(fieldOptions, fieldOptions[0].charge);\r\n this.offenseCountsPageForm.markAsPristine();\r\n this.chargesHasChanged();\r\n }\r\n\r\n deleteCharge() {\r\n const chargeFields = this.getAllChargesOptions().filter(c => c.selected);\r\n const chargeType = chargeFields[0].charge.chargeType;\r\n\r\n if (chargeType === ChargeType.Convicted) {\r\n this.removeChargesByIndex(this.convictedChargeOptions, chargeFields);\r\n } else if (chargeType === ChargeType.OtherNonConviction) {\r\n this.removeChargesByIndex(this.otherNonConvictionChargeOptions, chargeFields);\r\n } else if (chargeType === ChargeType.Pending) {\r\n this.removeChargesByIndex(this.pendingChargeOptions, chargeFields);\r\n } else if (chargeType === ChargeType.CompleteDeferral) {\r\n this.removeChargesByIndex(this.completeDeferralChargeOptions, chargeFields);\r\n } else if (chargeType === ChargeType.ActiveDeferral) {\r\n this.removeChargesByIndex(this.activeDeferralChargeOptions, chargeFields);\r\n }\r\n\r\n const charge = chargeFields[0].charge as Charge;\r\n this.removeChargeFromOffense(charge);\r\n this.updateOffenseDatesWithGreatestDates();\r\n this.offenseCountsPageForm.reset();\r\n this.chargesHasChanged();\r\n }\r\n\r\n selectCharge(chargeType: ChargeType, index: string) {\r\n this.offenseCountsPageForm.reset();\r\n const allChargeFields = this.getAllChargesOptions();\r\n const chargeFields = allChargeFields\r\n .filter(c => c.charge.chargeType === chargeType && c.index.toString() === index);\r\n\r\n for (const c of allChargeFields) {\r\n c.selected = false;\r\n }\r\n\r\n for (const c of chargeFields) {\r\n c.selected = true;\r\n }\r\n\r\n this.showSelectedCharge(chargeFields);\r\n }\r\n\r\n get isChargeDirty() {\r\n return this.hasSelectedCharge &&\r\n (this.offenseCountFormControl.isControlNameDirty('count')\r\n || this.offenseCountFormControl.isControlNameDirty('chargeLevel')\r\n || this.offenseCountFormControl.isControlNameDirty('offense')\r\n || this.offenseCountFormControl.isControlNameDirty('disposition')\r\n || this.offenseCountFormControl.isControlNameDirty('chargeStatute')\r\n || this.offenseCountFormControl.isControlNameDirty('probation')\r\n || this.offenseCountFormControl.isControlNameDirty('fines')\r\n || this.offenseCountFormControl.isControlNameDirty('courtCosts')\r\n || this.offenseCountFormControl.isControlNameDirty('jailTime')\r\n || this.offenseCountFormControl.isControlNameDirty('prisonTime')\r\n || this.offenseCountFormControl.isControlNameDirty('suspensionTime')\r\n || this.offenseCountFormControl.isControlNameDirty('nextCourtDate')\r\n || this.offenseCountFormControl.isControlNameDirty('offenseDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noOffenseDateReason')\r\n || this.offenseCountFormControl.isControlNameDirty('fileDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noFileDateReason')\r\n || this.offenseCountFormControl.isControlNameDirty('arrestDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noArrestDateReason')\r\n || this.offenseCountFormControl.isControlNameDirty('dispositionDate')\r\n || this.offenseCountFormControl.isControlNameDirty('noDispositionReason')\r\n || this.offenseCountFormControl.isControlNameDirty('otherSentenceNotes'));\r\n }\r\n\r\n get count() { return this.offenseCountsPageForm.get('count'); }\r\n get chargeLevel() { return this.offenseCountsPageForm.get('chargeLevel'); }\r\n get offense() { return this.offenseCountsPageForm.get('offense'); }\r\n get disposition() { return this.offenseCountsPageForm.get('disposition'); }\r\n get chargeStatute() { return this.offenseCountsPageForm.get('chargeStatute'); }\r\n get probation() { return this.offenseCountsPageForm.get('probation'); }\r\n get fines() { return this.offenseCountsPageForm.get('fines'); }\r\n get courtCosts() { return this.offenseCountsPageForm.get('courtCosts'); }\r\n get jailTime() { return this.offenseCountsPageForm.get('jailTime'); }\r\n get prisonTime() { return this.offenseCountsPageForm.get('prisonTime'); }\r\n get suspensionTime() { return this.offenseCountsPageForm.get('suspensionTime'); }\r\n get nextCourtDate() { return this.offenseCountsPageForm.get('nextCourtDate'); }\r\n get OffenseDateGreaterThanCurrentDate() { return this.offenseCountsPageForm.get('offenseDateGreaterThanCurrentDate'); }\r\n get fileDateGreaterThanCurrentDate() { return this.offenseCountsPageForm.get('fileDateGreaterThanCurrentDate'); }\r\n get arrestDateGreaterThanCurrentDate() { return this.offenseCountsPageForm.get('arrestDateGreaterThanCurrentDate'); }\r\n get dispositionDateGreaterThanCurrentDate() { return this.offenseCountsPageForm.get('dispositionDateGreaterThanCurrentDate'); }\r\n get fileDateDateOlderThanOffenseDate() { return this.offenseCountsPageForm.get('fileDateDateOlderThanOffenseDate'); }\r\n get dispositionDateOlderThanOffenseDate() { return this.offenseCountsPageForm.get('dispositionDateOlderThanOffenseDate'); }\r\n get dispositionDateOlderThanFileDate() { return this.offenseCountsPageForm.get('dispositionDateOlderThanFileDate'); }\r\n get offenseDate() { return this.offenseCountsPageForm.get('offenseDate'); }\r\n get noOffenseDateReason() { return this.offenseCountsPageForm.get('noOffenseDateReason'); }\r\n get fileDate() { return this.offenseCountsPageForm.get('fileDate'); }\r\n get noFileDateReason() { return this.offenseCountsPageForm.get('noFileDateReason'); }\r\n get arrestDate() { return this.offenseCountsPageForm.get('arrestDate'); }\r\n get noArrestDateReason() { return this.offenseCountsPageForm.get('noArrestDateReason'); }\r\n get dispositionDate() { return this.offenseCountsPageForm.get('dispositionDate'); }\r\n get noDispositionReason() { return this.offenseCountsPageForm.get('noDispositionReason'); }\r\n get otherSentenceNotes() { return this.offenseCountsPageForm.get('otherSentenceNotes'); }\r\n\r\n\r\n private chargesHasChanged() {\r\n this.updateToCurrentRecordCharges.emit();\r\n }\r\n\r\n private validateDates() {\r\n const offenseDate = this.offenseCountFormControl.getDateByControlName('offenseDate');\r\n const fileDate = this.offenseCountFormControl.getDateByControlName('fileDate');\r\n const arrestDate = this.offenseCountFormControl.getDateByControlName('arrestDate');\r\n const dispositionDate = this.offenseCountFormControl.getDateByControlName('dispositionDate');\r\n\r\n const today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n if (offenseDate != null && offenseDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (fileDate != null && fileDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (fileDate != null && fileDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (arrestDate !== null && arrestDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (dispositionDate != null && dispositionDate > today) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (offenseDate !== null && fileDate !== null && offenseDate > fileDate) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n\r\n if (offenseDate !== null && dispositionDate !== null && offenseDate > dispositionDate) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n\r\n if (fileDate !== null && dispositionDate !== null && fileDate > dispositionDate) {\r\n this.offenseCountFormControl.setValidationErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n } else {\r\n this.offenseCountFormControl.clearValidatorErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n }\r\n }\r\n\r\n private get hasSelectedCharge() {\r\n return this.getAllChargesOptions()\r\n .some(cf => cf.selected);\r\n }\r\n\r\n private createChargeFromChargeUiControls(chargeType: ChargeType = null) {\r\n const count = this.offenseCountFormControl.getNumberByControlName('count');\r\n const chargeLevel = this.offenseCountFormControl.getNumberByControlName('chargeLevel');\r\n const offense = this.offenseCountFormControl.getValueByControlName('offense');\r\n const disposition = this.offenseCountFormControl.getValueByControlName('disposition');\r\n const chargeStatute = this.offenseCountFormControl.getValueByControlName('chargeStatute');\r\n const probation = this.offenseCountFormControl.getValueByControlName('probation');\r\n const fines = this.offenseCountFormControl.getValueByControlName('fines');\r\n const courtCosts = this.offenseCountFormControl.getValueByControlName('courtCosts');\r\n const jailTime = this.offenseCountFormControl.getValueByControlName('jailTime');\r\n const prisonTime = this.offenseCountFormControl.getValueByControlName('prisonTime');\r\n const suspensionTime = this.offenseCountFormControl.getValueByControlName('suspensionTime');\r\n const nextCourtDate = this.offenseCountFormControl.getDateByControlName('nextCourtDate');\r\n const offenseDate = this.offenseCountFormControl.getDateByControlName('offenseDate');\r\n const noOffenseDateReason = this.offenseCountFormControl.getValueByControlName('noOffenseDateReason');\r\n const fileDate = this.offenseCountFormControl.getDateByControlName('fileDate');\r\n const noFileDateReason = this.offenseCountFormControl.getValueByControlName('noFileDateReason');\r\n const arrestDate = this.offenseCountFormControl.getDateByControlName('arrestDate');\r\n const noArrestDateReason = this.offenseCountFormControl.getValueByControlName('noArrestDateReason');\r\n const dispositionDate = this.offenseCountFormControl.getDateByControlName('dispositionDate');\r\n const noDispositionReason = this.offenseCountFormControl.getValueByControlName('noDispositionReason');\r\n const otherSentenceNotes = this.offenseCountFormControl.getValueByControlName('otherSentenceNotes');\r\n\r\n if (chargeType == null) {\r\n chargeType = this.getAllChargesOptions()\r\n .find(cf => cf.selected).charge.chargeType;\r\n }\r\n\r\n return Charge.createCharge(this.offenseRecord.requestNumber,\r\n this.offenseRecord.offenseNumber,\r\n count, chargeLevel,\r\n offense, disposition, chargeStatute,\r\n probation, fines, courtCosts,\r\n jailTime, prisonTime, suspensionTime,\r\n nextCourtDate == null ? null : new Date(nextCourtDate),\r\n offenseDate == null ? null : new Date(offenseDate),\r\n noOffenseDateReason,\r\n fileDate == null ? null : new Date(fileDate),\r\n noFileDateReason,\r\n arrestDate == null ? null : new Date(arrestDate),\r\n noArrestDateReason,\r\n dispositionDate == null ? null : new Date(dispositionDate),\r\n noDispositionReason,\r\n otherSentenceNotes, chargeType);\r\n }\r\n\r\n private updateOffenseDatesWithGreatestDates() {\r\n\r\n const offenseDates = this.offenseRecord.charges\r\n .filter(c => c != null)\r\n .map(c => c.offenseDate);\r\n\r\n const fileDates = this.offenseRecord.charges\r\n .filter(c => c != null)\r\n .map(c => c.fileDate);\r\n\r\n const arrestDates = this.offenseRecord.charges\r\n .filter(c => c != null)\r\n .map(c => c.arrestDate);\r\n\r\n const dispositionDates = this.offenseRecord.charges\r\n .filter(c => c != null)\r\n .map(c => c.dispositionDate);\r\n\r\n let offenseDate: Date = null;\r\n let fileDate: Date = null;\r\n let arrestDate: Date = null;\r\n let dispositionDate: Date = null;\r\n\r\n if (offenseDates.length > 0) {\r\n offenseDate = offenseDates.reduce((a, b) => a > b ? a : b);\r\n }\r\n\r\n if (fileDates.length > 0) {\r\n fileDate = fileDates.reduce((a, b) => a > b ? a : b);\r\n }\r\n\r\n if (arrestDates.length > 0) {\r\n arrestDate = arrestDates.reduce((a, b) => a > b ? a : b);\r\n }\r\n\r\n if (dispositionDates.length > 0) {\r\n dispositionDate = dispositionDates.reduce((a, b) => a > b ? a : b);\r\n }\r\n\r\n this.updateOffenseDates.emit({\r\n offenseDate: offenseDate == null ? null : new DateHandler(offenseDate).format(),\r\n fileDate: fileDate == null ? null : new DateHandler(fileDate).format(),\r\n arrestDate: arrestDate == null ? null : new DateHandler(arrestDate).format(),\r\n dispositionDate: dispositionDate == null ? null : new DateHandler(dispositionDate).format()\r\n });\r\n }\r\n\r\n private removeChargesByIndex(chargeFields: any[], deletedCharges: any[]) {\r\n const firstIndex = chargeFields.findIndex(cf => cf.index === deletedCharges[0].index);\r\n const lastIndex = chargeFields.lastIndexOf(deletedCharges[deletedCharges.length - 1]);\r\n chargeFields.splice(firstIndex, lastIndex - firstIndex + 1);\r\n }\r\n\r\n private removeChargeFromOffense(charge: Charge) {\r\n if (charge) {\r\n const index = this.offenseRecord.charges.findIndex(c => c === charge);\r\n this.offenseRecord.charges.splice(index, 1);\r\n }\r\n }\r\n\r\n private addChargeToOffense(charge: Charge) {\r\n this.offenseRecord.charges.push(charge);\r\n }\r\n\r\n private showSelectedCharge(chargeFields: any[]) {\r\n this.offenseCountFormControl.setValueByControlName('count', this.getFieldFromString(chargeFields[0].description));\r\n this.offenseCountFormControl.setValueByControlName('chargeLevel',\r\n ChargeLevel[this.removeSpaces(this.getFieldFromString(chargeFields[1].description))]);\r\n this.offenseCountFormControl.setValueByControlName('offense', this.getFieldFromString(chargeFields[2].description));\r\n this.offenseCountFormControl.setValueByControlName('disposition', this.getFieldFromString(chargeFields[3].description));\r\n this.offenseCountFormControl.setValueByControlName('offenseDate', this.getFieldFromString(chargeFields[4].description));\r\n this.offenseCountFormControl.setValueByControlName('fileDate', this.getFieldFromString(chargeFields[5].description));\r\n this.offenseCountFormControl.setValueByControlName('arrestDate', this.getFieldFromString(chargeFields[6].description));\r\n this.offenseCountFormControl.setValueByControlName('dispositionDate', this.getFieldFromString(chargeFields[7].description));\r\n this.offenseCountFormControl.setValueByControlName('probation', this.getFieldFromString(chargeFields[8].description));\r\n this.offenseCountFormControl.setValueByControlName('fines', this.getFieldFromString(chargeFields[9].description));\r\n this.offenseCountFormControl.setValueByControlName('courtCosts', this.getFieldFromString(chargeFields[10].description));\r\n this.offenseCountFormControl.setValueByControlName('jailTime', this.getFieldFromString(chargeFields[11].description));\r\n this.offenseCountFormControl.setValueByControlName('prisonTime', this.getFieldFromString(chargeFields[12].description));\r\n this.offenseCountFormControl.setValueByControlName('suspensionTime', this.getFieldFromString(chargeFields[13].description));\r\n this.offenseCountFormControl.setValueByControlName('nextCourtDate', this.getFieldFromString(chargeFields[14].description));\r\n this.offenseCountFormControl.setValueByControlName('otherSentenceNotes', this.getFieldFromString(chargeFields[15].description));\r\n this.offenseCountFormControl.setValueByControlName('noDispositionReason', this.getFieldFromString(chargeFields[16].description));\r\n this.offenseCountFormControl.setValueByControlName('noArrestDateReason', this.getFieldFromString(chargeFields[17].description));\r\n this.offenseCountFormControl.setValueByControlName('noFileDateReason', this.getFieldFromString(chargeFields[18].description));\r\n this.offenseCountFormControl.setValueByControlName('noOffenseDateReason', this.getFieldFromString(chargeFields[19].description));\r\n this.offenseCountFormControl.setValueByControlName('chargeStatute', this.getFieldFromString(chargeFields[20].description));\r\n\r\n }\r\n\r\n private getFieldFromString(description: string) {\r\n return description.substring(description.indexOf(': ') + 2);\r\n }\r\n\r\n private camelCaseToString(s: string): string {\r\n return s.split(/(?=[A-Z])/).join(' ');\r\n }\r\n\r\n private removeSpaces(s: string): string {\r\n return s.replace(' ', '');\r\n }\r\n\r\n private setOddAndEventClass(charges: any) {\r\n\r\n const uniqueIndexes = charges.map(c => c.index).filter((value, index, self) => {\r\n return self.indexOf(value) === index;\r\n });\r\n\r\n let odd = true;\r\n for (const index of uniqueIndexes) {\r\n const indexGroupCharge = charges.filter(c => c.index === index);\r\n for (const charge of indexGroupCharge) {\r\n charge.cssClass = odd ? 'odd-background-charge' : 'even-background-charge';\r\n }\r\n odd = !odd;\r\n }\r\n\r\n return charges;\r\n }\r\n\r\n private createChargeOptions() {\r\n if (this.chargeIndex > 0) {\r\n this.chargeIndex = 0;\r\n this.convictedChargeOptions.length = 0;\r\n this.otherNonConvictionChargeOptions.length = 0;\r\n this.pendingChargeOptions.length = 0;\r\n this.completeDeferralChargeOptions.length = 0;\r\n this.completeDeferralChargeOptions.length = 0;\r\n }\r\n\r\n this.convictedChargeOptions = this.getChargesByChargeType(ChargeType.Convicted);\r\n this.otherNonConvictionChargeOptions = this.getChargesByChargeType(ChargeType.OtherNonConviction);\r\n this.pendingChargeOptions = this.getChargesByChargeType(ChargeType.Pending);\r\n this.completeDeferralChargeOptions = this.getChargesByChargeType(ChargeType.CompleteDeferral);\r\n this.activeDeferralChargeOptions = this.getChargesByChargeType(ChargeType.ActiveDeferral);\r\n }\r\n\r\n private getAllChargesOptions(): any[] {\r\n let charges = this.convictedChargeOptions.concat(this.activeDeferralChargeOptions);\r\n charges = charges.concat(this.completeDeferralChargeOptions);\r\n charges = charges.concat(this.otherNonConvictionChargeOptions);\r\n charges = charges.concat(this.pendingChargeOptions);\r\n return charges;\r\n }\r\n\r\n private getChargesByChargeType(chargeType: ChargeType) {\r\n const charges = this.hasCharges\r\n ? this.offenseRecord.charges.filter(c => c.chargeType === chargeType)\r\n : new Array();\r\n return this.setOddAndEventClass(this.getFieldsForCharges(charges));\r\n }\r\n\r\n\r\n private getFieldsForCharges(charges: Charge[]): any[] {\r\n\r\n let options = new Array();\r\n for (const charge of charges) {\r\n options = options.concat(this.getFieldsForCharge(charge));\r\n }\r\n\r\n return options;\r\n }\r\n\r\n private createChargeOption(description: string, charge: Charge, index: number) {\r\n return {\r\n class: '',\r\n selectedCssClass: 'selected-charge',\r\n selected: false,\r\n description: description,\r\n charge: charge,\r\n index: index\r\n };\r\n }\r\n\r\n private get hasCharges(): boolean {\r\n return this.offenseRecord !== null && this.offenseRecord !== undefined\r\n && this.offenseRecord.charges !== null && this.offenseRecord.charges !== undefined\r\n && this.offenseRecord.charges.length > 0;\r\n }\r\n\r\n private updateOptionFieldsForCharge(fieldOptions: any[], charge: Charge) {\r\n fieldOptions[0].description = `Count: ${charge.count}`;\r\n fieldOptions[1].description = `Level: ${this.camelCaseToString(ChargeLevel[charge.chargeLevel])}`;\r\n fieldOptions[2].description = `Offense: ${charge.offense}`;\r\n fieldOptions[3].description = `Disposition: ${charge.disposition}`;\r\n fieldOptions[4].description = `Offense Date: ${charge.offenseDate == null ? '' : this.convertToDateFormat(charge.offenseDate)}`;\r\n fieldOptions[5].description = `File Date: ${charge.fileDate == null ? '' : this.convertToDateFormat(charge.fileDate)}`;\r\n fieldOptions[6].description = `Arrest Date: ${charge.arrestDate == null ? '' : this.convertToDateFormat(charge.arrestDate)}`;\r\n fieldOptions[7].description = `Disposition Date: ${charge.dispositionDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.dispositionDate)}`;\r\n fieldOptions[8].description = `Probation: ${charge.probation == null ? '' : charge.probation}`;\r\n fieldOptions[9].description = `Fines: ${charge.fines == null ? '' : charge.fines}`;\r\n fieldOptions[10].description = `Court Costs: ${charge.courtCost == null ? '' : charge.courtCost}`;\r\n fieldOptions[11].description = `Jail Time: ${charge.jailTime == null ? '' : charge.jailTime}`;\r\n fieldOptions[12].description = `Prison Time: ${charge.prisonTime == null ? '' : charge.prisonTime}`;\r\n fieldOptions[13].description = `Suspension Time: ${charge.suspensionTime == null ? '' : charge.suspensionTime}`;\r\n fieldOptions[14].description = `Next Court Date: ${charge.nextCourtDate == null ? '' : this.convertToDateFormat(charge.nextCourtDate)}`;\r\n fieldOptions[15].description = `Other Sentencing Notes: ${charge.otherSentenceNotes == null ? '' : charge.otherSentenceNotes}`;\r\n fieldOptions[16].description = `NoDispDateReason: ${charge.noDispositionReason == null ? '' : charge.noDispositionReason}`;\r\n fieldOptions[17].description = `NoArrestDateReason: ${charge.noFileDateReason == null ? '' : charge.noArrestDateReason}`;\r\n fieldOptions[18].description = `NoFileDateReason: ${charge.noFileDateReason == null ? '' : charge.noFileDateReason}`;\r\n fieldOptions[19].description = `NoOffenseDateReason: ${charge.noOffenseDateReason == null ? '' : charge.noOffenseDateReason}`;\r\n fieldOptions[20].description = `Charge Statute: ${charge.chargeStatute == null ? '' : charge.chargeStatute}`;\r\n }\r\n\r\n private getFieldsForCharge(charge: Charge): any[] {\r\n const options = new Array();\r\n const chargeIndex = this.getNewChargeIndex();\r\n options.push(this.createChargeOption(`Count: ${charge.count}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Level: ${this.camelCaseToString(ChargeLevel[charge.chargeLevel])}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Offense: ${charge.offense}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Disposition: ${charge.disposition}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Offense Date: ${charge.offenseDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.offenseDate)}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`File Date: ${charge.fileDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.fileDate)}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Arrest Date: ${charge.arrestDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.arrestDate)}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Disposition Date: ${charge.dispositionDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.dispositionDate)}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Probation: ${charge.probation == null ? '' : charge.probation}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Fines: ${charge.fines == null ? '' : charge.fines}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Court Costs: ${charge.courtCost == null ? '' : charge.courtCost}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Jail Time: ${charge.jailTime == null ? '' : charge.jailTime}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Prison Time: ${charge.prisonTime == null ? '' : charge.prisonTime}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Suspension Time: ${charge.suspensionTime == null\r\n ? ''\r\n : charge.suspensionTime}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Next Court Date: ${charge.nextCourtDate == null\r\n ? ''\r\n : this.convertToDateFormat(charge.nextCourtDate)}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Other Sentencing Notes: ${charge.otherSentenceNotes == null\r\n ? ''\r\n : charge.otherSentenceNotes}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`NoDispDateReason: ${charge.noDispositionReason == null\r\n ? ''\r\n : charge.noDispositionReason}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`NoArrestDateReason: ${charge.noArrestDateReason == null\r\n ? ''\r\n : charge.noArrestDateReason}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`NoFileDateReason: ${charge.noFileDateReason == null\r\n ? ''\r\n : charge.noFileDateReason}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`NoOffenseDateReason: ${charge.noOffenseDateReason == null\r\n ? ''\r\n : charge.noOffenseDateReason}`, charge, chargeIndex));\r\n options.push(this.createChargeOption(`Charge Statute: ${charge.chargeStatute == null\r\n ? ''\r\n : charge.chargeStatute}`, charge, chargeIndex));\r\n return options;\r\n }\r\n\r\n private convertToDateFormat(date: any, baseCentury: number = 2000) {\r\n return new DateHandler(date, baseCentury).format();\r\n }\r\n\r\n private getNewChargeIndex() {\r\n return this.chargeIndex++;\r\n }\r\n\r\n convictedChargeOptions: any[];\r\n activeDeferralChargeOptions: any[];\r\n completeDeferralChargeOptions: any[];\r\n otherNonConvictionChargeOptions: any[];\r\n pendingChargeOptions: any[];\r\n\r\n private chargeIndex = 0;\r\n private offenseRecord: OffenseRecord;\r\n public offenseCountFormControl: FormControl;\r\n offenseCountsPageForm: FormGroup;\r\n isRecord = false;\r\n\r\n }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/offenseCounts/offenseCounts.component.ts","module.exports = \"
\\r\\n\\r\\n

Offense Entry Page Explanation

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

Purpose of the Offense Entry Page:

\\r\\n

\\r\\n To allow entry of Offense and charge information and history as it relates to the selected Request.\\r\\n

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

Explanation of Search Information

\\r\\n

\\r\\n This section displays the information that can be used for searching for background information\\r\\n

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

Jurisdiction

\\r\\n

\\r\\n The country/courthouse that will be searched.\\r\\n

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

Search Dates

\\r\\n

\\r\\n The date range that will be used for the search.\\r\\n

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

Name

\\r\\n

\\r\\n The name to use for the search\\r\\n

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

DOB, SSN, and Address

\\r\\n

\\r\\n The applicants personal information as listed on the Application/Resume for use in the background search.\\r\\n

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

Explanation of Offense Entry Section

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

Identifiers

\\r\\n

\\r\\n Select the identifiers used in the search ... at lease one identifier must be ordered before the offense can be saved.\\r\\n

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

Additional Information being faxed

\\r\\n

\\r\\n This will be selected only when additional information has been faxed to GIS pertaining to the current offense.\\r\\n

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

Name as listed in the court house

\\r\\n

\\r\\n This will be the name of the individual being researched ... as listed in the Court House records.\\r\\n

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

Court Case/Ref Nbr.

\\r\\n

\\r\\n The number that is noted as a Case Number or Reference Number associated with the offense being entered.\\r\\n

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

Offense Date

\\r\\n

\\r\\n The date the offense occurred\\r\\n

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

File Date

\\r\\n

\\r\\n The date the offense information was filed\\r\\n

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

Explanation of Count/Charge Entry

\\r\\n

\\r\\n This section is used to enter the convicted and non-convicted count/charge description and disposition detail information\\r\\n

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

Count/Charge

\\r\\n

\\r\\n Description of the count/charge as stated in the court records\\r\\n

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

Disposition

\\r\\n

\\r\\n Description of the outcome of the count/charge as stated in the court records\\r\\n

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

Additional Comments

\\r\\n

\\r\\n Any comments that would need to be maintained for this offense would be entered here.\\r\\n

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

Functions available in the Count/Charge Sections

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

Convicted

\\r\\n

\\r\\n When this is selected, it will take the Count/Charge description and Disposition and place them into the\\r\\n Convicted charges associated with this offense container. *Note: A count/charge description is required\\r\\n to Add a convicted item to the container.\\r\\n

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

NotConvicted

\\r\\n

\\r\\n When this is selected, it will take the Count/Charge description and Disposition and place them into\\r\\n the Charges not leading to a conviction associated with this offense.\\r\\n

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

Updated

\\r\\n

\\r\\n A count/charge is selected from one of the containers (either the convicted or not-convicted container)\\r\\n the selection will populate in the appropriate entry field. Updates are made to the data and then the\\r\\n Updated push-button is selected. It will update the information and place it back into the appropriate container.\\r\\n

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

Delete

\\r\\n

\\r\\n A count/charge is selected from one of the containers (either the convicted or not-convicted container) the\\r\\n selection will populate in the appropriate entry field. The delete push-button is selected, a confirmation\\r\\n message will appear and if OK is selected the count/charge will be deleted.\\r\\n

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

Clear Entry Field

\\r\\n

\\r\\n When this is selected, any entry (or) changes in the Count/Charges description and disposition field will be cleared.\\r\\n Any changes would be discarded.\\r\\n

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

Functions available on the Offense Entry Page:

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

Save Offense:

\\r\\n

\\r\\n When selected, this will save the information that has been entered on the Offense Entry Page\\r\\n

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

Add New Offense:

\\r\\n

\\r\\n When selected, this will display an empty offense page for new entry\\r\\n

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

Work Order Complete:

\\r\\n

\\r\\n When selected, this will save the information currently entered on the Offense page, mark the status of the Work Order (Request)\\r\\n as Complete\\r\\n

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

Communication Log:

\\r\\n

\\r\\n When selected, this will display a new window that communication could be entered in ... this would be when the\\r\\n external researcher has questions regarding the request that need to be reviewed by our internal staff. Our internal\\r\\n staff would also save communication on this page. (i.e. a response to the external researcher)\\r\\n

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

Open Task List:

\\r\\n

\\r\\n When select, this will close the current window (with a confirmation first) and then open the Work Order Task List.\\r\\n

\\r\\n\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseHelp/offenseHelp.component.html\n// module id = ./src/app/offenseHelp/offenseHelp.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}h1{-ms-flex-line-pack:center;align-content:center;text-align:center;font-size:2.2rem;font-family:Verdana,Tahoma,Arial;padding-left:1.2rem}h2{text-decoration:underline;margin-bottom:2rem}h2,h3{font-size:1.2rem;font-family:Verdana,Tahoma,Arial;padding-left:1.2rem}h3{padding-bottom:0;margin-bottom:0}p{margin-bottom:2rem;font-family:Verdana,Tahoma,Arial;padding-left:1.2rem;padding-top:0;margin-top:0}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseHelp/offenseHelp.component.scss\n// module id = ./src/app/offenseHelp/offenseHelp.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\n\r\n\r\n@Component({\r\n selector: 'app-offense-help',\r\n templateUrl: './offenseHelp.component.html',\r\n styleUrls: [\r\n './offenseHelp.component.scss',\r\n ],\r\n providers: []\r\n})\r\n\r\nexport default class OffenseHelpComponent {\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/offenseHelp/offenseHelp.component.ts","module.exports = \"
\\r\\n\\r\\n
\\r\\n RECORD INFORMATION\\r\\n
\\r\\n Current Record Number: {{ currentRecord }}\\r\\n Total Records Entered and Saved for this Request: {{ totalRecords }}\\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 \\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 Select Identifiers using Standard Rules.\\r\\n \\r\\n \\r\\n Select Identifiers using Heightened Rules.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Cannot have DOB identifier if you choose DOB not listed on record. You must pick either Full DOB or Partial DOB.\\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 \\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 Court Name is required.\\r\\n \\r\\n \\r\\n Court Name can only be a max of 60 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n CourtCase/Ref.Nbr is required.\\r\\n \\r\\n \\r\\n CourtCase/Ref.Nbr can only be a max of 25 characters.\\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\\r\\n
\\r\\n \\r\\n DOB is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Partial DOB must have at least a valid month day or year.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Cannot have DOB identifier if you choose DOB not listed on record. You must pick either Full DOB or Partial DOB.\\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
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date is required in format mm/dd/yy or mm/dd/yyyy.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense, Disposition or File Date is required on at least one of the COUNTS/OFFENSES.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Offense Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Arrest Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be greater than current date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n File Date cannot be older than offense date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Disposition Date cannot be older than file date.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have Offense Date at Record Level and Charge Level.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have File Date at Record Level and Charge Level.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have Arrest Date at Record Level and Charge Level.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Must have Disposition Date at Record Level and Charge Level.\\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
\\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 Probation can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Fines can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Court Costs can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Jail Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Prison Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Suspension Time can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Next Court Date is required in format mm/dd/yy or mm/dd/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
\\r\\n\\r\\n
\\r\\n \\r\\n Comments can only be a max of 3000 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n Other Sentence Notes can only be a max of 5000 characters.\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseRecord/offenseRecord.component.html\n// module id = ./src/app/offenseRecord/offenseRecord.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}section:first-child{-webkit-box-sizing:border-box;box-sizing:border-box}header{background-color:#ccf;color:#000;font-weight:bolder;padding:.5rem .3rem;margin:2rem 0 .4rem 0}header span{display:block;font-weight:400}header div>span:first-of-type{padding-bottom:.25rem}header>span:first-of-type{font-weight:inherit;margin-left:1rem}header a{padding-left:2rem}header a:last-of-type{margin-right:1rem}section{margin-bottom:3rem}a:link,a:visited{color:#0066cb;font-weight:400}mark{color:red;background-color:inherit}label,span{font-weight:700}a.disabled{pointer-events:none;cursor:default}a.active{pointer-events:auto;cursor:pointer}.validation{-ms-flex-line-pack:center;align-content:center;text-align:center}.validation span{font-weight:400;color:red;display:block}#required-fields-section{margin-bottom:.7rem}#required-fields-section label{color:red}#identifiers-section{margin-top:-1rem}#identifiers-section label{margin-top:1rem;font-weight:400}#identifiers-section ul{list-style:none;display:inline-block;text-align:center;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}#identifiers-section li{margin-top:1rem;display:inline-block;margin-left:6rem}#identifiers-section>label{font-weight:700}#identifiers-section input{vertical-align:bottom}#record-level-section section:last-child{margin-top:.7rem}#date-of-birth-section{margin-top:1rem}#date-of-birth-section label:first-child{display:block;margin-bottom:.5rem;margin-left:0}#date-of-birth-section div:nth-of-type(n+1){display:inline-block}#date-of-birth-section label{vertical-align:middle;margin-left:1rem}#date-of-birth-section label span{margin-right:.25rem}#charge-meta-data-section{margin-top:-1rem}#charge-meta-data-section div{margin-top:1rem}#comments-and-notes-section{-ms-flex-pack:distribute;justify-content:space-around;margin-top:-1rem}#comments-and-notes-section div,#comments-and-notes-section div:nth-of-type(2){margin-top:1rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseRecord/offenseRecord.component.scss\n// module id = ./src/app/offenseRecord/offenseRecord.component.scss\n// module chunks = app","import { SentenceLevel } from '../../models/sentenceLevel';\r\nimport {\r\n Component,\r\n Input,\r\n Output,\r\n EventEmitter,\r\n ViewChild,\r\n ElementRef\r\n} from '@angular/core';\r\nimport Offense from '../../models/offense';\r\nimport OffenseRecord from '../../models/offenseRecord';\r\nimport { FormGroup } from '@angular/forms';\r\nimport DateHandler from '../../models/dateHandler';\r\nimport FormControl from '../../models/formControl';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport { ConfirmResult } from '../../models/alertifyPromise';\r\n\r\n@Component({\r\n selector: 'app-offense-record',\r\n templateUrl: './offenseRecord.component.html',\r\n styleUrls: [\r\n './offenseRecord.component.scss'\r\n ]\r\n})\r\nexport default class OffenseRecordComponent {\r\n\r\n @Output() updateToCurrentOffenseRecord = new EventEmitter();\r\n @Output() updateCanDeleteCurrentOffenseRecord = new EventEmitter();\r\n @Output() updateToCurrentOffenseCharges = new EventEmitter();\r\n\r\n @Input() requestNumber: number;\r\n\r\n @Input() set offenseObject(offense: Offense) {\r\n if (offense) {\r\n this.offense = offense;\r\n if (offense.offenseRecords.length > 0) {\r\n this.firstOffense();\r\n } else {\r\n this.addNewRecord();\r\n }\r\n }\r\n }\r\n\r\n @Input() set offenseRecordFormGroupObject(offenseRecordFormGroup: FormGroup) {\r\n this.offenseRecordFormGroup = offenseRecordFormGroup;\r\n this.formControl = new FormControl(this.offenseRecordFormGroup);\r\n }\r\n\r\n get isFirstActive() {\r\n return this.firstButtonActive;\r\n }\r\n\r\n get isPreviousActive() {\r\n return this.previousButtonActive;\r\n }\r\n\r\n get isNextActive() {\r\n return this.nextButtonActive;\r\n }\r\n\r\n get isLastActive() {\r\n return this.lastButtonActive;\r\n }\r\n\r\n get addNewLastActive() {\r\n return this.addNewButtonActive;\r\n }\r\n\r\n public hasHeightenedIdentifier: Boolean;\r\n\r\n// tslint:disable-next-line: use-life-cycle-interface\r\n ngOnChanges() {\r\n if (this.offense != null) { this.hasHeightenedIdentifier = this.offense.offenseSearch.isHeightenedIdentifier; }\r\n }\r\n\r\n get currentRecord(): string {\r\n let currentRecord: string;\r\n if (this.isNewRecord) {\r\n currentRecord = 'This is a new record that has not been saved.';\r\n } else if (this.currentOffenseRecordIndex === undefined) {\r\n currentRecord = '0';\r\n } else {\r\n currentRecord = (this.currentOffenseRecordIndex + 1).toString();\r\n }\r\n\r\n return currentRecord;\r\n }\r\n\r\n get totalRecords(): string {\r\n return this.hasOffenses ?\r\n (this.isNewRecord ? this.offense.offenseRecords.length - 1\r\n : this.offense.offenseRecords.length).toString() : '0';\r\n }\r\n\r\n formatDate(controlName: string, baseCentury: number) {\r\n if (!this.formControl.hasErrorByControlName(controlName)) {\r\n const value = this.formControl.getValueByControlName(controlName);\r\n this.formControl.setValueByControlName(controlName, this.convertToDateFormat(value, baseCentury));\r\n }\r\n\r\n this.validateDates();\r\n }\r\n\r\n async firstOffense(ignoreMinOffenceRecord: boolean = false, ignoreUnsavedChanges: boolean = false) {\r\n if ((!this.onMinOffenseRecord || ignoreMinOffenceRecord) && this.hasOffenses) {\r\n let save = true;\r\n if (!ignoreUnsavedChanges\r\n && this.offenseRecordFormGroup.dirty\r\n && await PopupHelper.saveUnsavedChangesHelper() === ConfirmResult.Cancel) {\r\n save = false;\r\n }\r\n\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex = 0;\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n }\r\n }\r\n\r\n async previousOffense() {\r\n if (!this.onMinOffenseRecord && this.hasOffenses) {\r\n let save = true;\r\n if (this.offenseRecordFormGroup.dirty && await PopupHelper.saveUnsavedChangesHelper() === ConfirmResult.Cancel) {\r\n save = false;\r\n }\r\n\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex--;\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n }\r\n }\r\n\r\n async nextOffense() {\r\n if (!this.onMaxOffenseRecord && this.hasOffenses) {\r\n let save = true;\r\n if (this.offenseRecordFormGroup.dirty && await PopupHelper.saveUnsavedChangesHelper() === ConfirmResult.Cancel) {\r\n save = false;\r\n }\r\n\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex++;\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n }\r\n }\r\n\r\n async lastOffense() {\r\n if (!this.onMaxOffenseRecord && this.hasOffenses) {\r\n let save = true;\r\n if (this.offenseRecordFormGroup.dirty && await PopupHelper.saveUnsavedChangesHelper() === ConfirmResult.Cancel) {\r\n save = false;\r\n }\r\n\r\n if (save) {\r\n this.removeNewRecord();\r\n this.currentOffenseRecordIndex = this.getMaxOffenseRecords();\r\n this.currentOffenseRecord = this.offense.offenseRecords[this.currentOffenseRecordIndex];\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n this.offenseRecordFormGroup.markAsPristine();\r\n }\r\n }\r\n }\r\n\r\n async addNewRecord(ignoreUnsavedChanges: boolean = false) {\r\n\r\n let save = true;\r\n if (!ignoreUnsavedChanges\r\n && this.offenseRecordFormGroup.dirty\r\n && await PopupHelper.saveUnsavedChangesHelper() === ConfirmResult.Cancel) {\r\n save = false;\r\n }\r\n\r\n if (save) {\r\n\r\n const maxOffenceNumber = this.getNewOffenseNumber();\r\n this.currentOffenseRecord = OffenseRecord.createNewOffenseRecord(this.requestNumber, maxOffenceNumber);\r\n this.offense.offenseRecords.push(this.currentOffenseRecord);\r\n this.currentOffenseRecordIndex = this.getMaxOffenseRecords();\r\n this.isNewRecord = true;\r\n this.updateFormControls();\r\n this.updateToCurrentOffenseRecord.emit(this.currentOffenseRecord);\r\n this.updateCanDeleteCurrentOffenseRecord.emit(false);\r\n }\r\n }\r\n\r\n setSentenceLevel(isUiCalling: boolean, changeControlState: boolean) {\r\n const hasProbation = this.formControl.hasValueByControlName('probation');\r\n const hasFines = this.formControl.hasValueByControlName('fines');\r\n const hasCourtCosts = this.formControl.hasValueByControlName('courtCosts');\r\n const hasJailTime = this.formControl.hasValueByControlName('jailTime');\r\n const hasPrisonTime = this.formControl.hasValueByControlName('prisonTime');\r\n const hasSuspensionTime = this.formControl.hasValueByControlName('suspensionTime');\r\n const hasNextCourtDate = this.formControl.hasValueByControlName('nextCourtDate');\r\n const hasOtherSentenceNotes = this.formControl.hasValueByControlName('otherSentenceNotes');\r\n\r\n const lockSentenceLevel = hasProbation || hasFines || hasCourtCosts || hasJailTime\r\n || hasPrisonTime || hasSuspensionTime || hasNextCourtDate || hasOtherSentenceNotes;\r\n\r\n if (!isUiCalling) {\r\n if (lockSentenceLevel) {\r\n this.formControl.setValueByControlName('sentenceLevel', SentenceLevel.Record.toString());\r\n this.isOffense = false;\r\n } else {\r\n this.formControl.setValueByControlName('sentenceLevel', SentenceLevel.Offense.toString());\r\n this.isOffense = true;\r\n }\r\n } else {\r\n const sentenceLevel = this.formControl.getNumberByControlName('sentenceLevel') as SentenceLevel;\r\n this.isOffense = sentenceLevel === SentenceLevel.Offense;\r\n }\r\n\r\n if (changeControlState) {\r\n if (this.isOffense) {\r\n this.formControl.disableControlByControlName('probation');\r\n this.formControl.disableControlByControlName('fines');\r\n this.formControl.disableControlByControlName('courtCosts');\r\n this.formControl.disableControlByControlName('jailTime');\r\n this.formControl.disableControlByControlName('prisonTime');\r\n this.formControl.disableControlByControlName('suspensionTime');\r\n this.formControl.disableControlByControlName('nextCourtDate');\r\n this.formControl.disableControlByControlName('otherSentenceNotes');\r\n this.formControl.enableControlByControlName('sentenceLevel');\r\n } else {\r\n this.formControl.enableControlByControlName('probation');\r\n this.formControl.enableControlByControlName('fines');\r\n this.formControl.enableControlByControlName('courtCosts');\r\n this.formControl.enableControlByControlName('jailTime');\r\n this.formControl.enableControlByControlName('prisonTime');\r\n this.formControl.enableControlByControlName('suspensionTime');\r\n this.formControl.enableControlByControlName('nextCourtDate');\r\n this.formControl.enableControlByControlName('otherSentenceNotes');\r\n }\r\n }\r\n\r\n if (lockSentenceLevel) {\r\n this.formControl.disableControlByControlName('sentenceLevel');\r\n } else {\r\n this.formControl.enableControlByControlName('sentenceLevel');\r\n }\r\n }\r\n\r\n updateToCurrentRecordCharges() {\r\n this.offenseRecordFormGroup.markAsDirty();\r\n this.updateToCurrentOffenseCharges.emit();\r\n }\r\n\r\n private removeNewRecord() {\r\n if (this.isNewRecord) {\r\n this.offense.offenseRecords.pop();\r\n this.isNewRecord = false;\r\n }\r\n }\r\n\r\n private handleRecordNavigationButtons() {\r\n this.firstButtonActive = true;\r\n this.previousButtonActive = true;\r\n this.nextButtonActive = true;\r\n this.lastButtonActive = true;\r\n\r\n if (this.currentOffenseRecordIndex === 0) {\r\n this.firstButtonActive = false;\r\n this.previousButtonActive = false;\r\n }\r\n\r\n if (this.offense.offenseRecords.length - 1 === this.currentOffenseRecordIndex) {\r\n this.nextButtonActive = false;\r\n this.lastButtonActive = false;\r\n }\r\n\r\n this.addNewButtonActive = !this.isNewRecord;\r\n }\r\n\r\n private validateDates() {\r\n const offenseDate = this.formControl.getDateByControlName('offenseDate');\r\n const fileDate = this.formControl.getDateByControlName('fileDate');\r\n const arrestDate = this.formControl.getDateByControlName('arrestDate');\r\n const dispositionDate = this.formControl.getDateByControlName('dispositionDate');\r\n const offenseChargeDates = this.currentOffenseRecord.charges\r\n .filter(c => c.offenseDate != null)\r\n .map(c => c.offenseDate);\r\n const fileChargeDates = this.currentOffenseRecord.charges\r\n .filter(c => c.fileDate != null)\r\n .map(c => c.fileDate);\r\n const arrestChargeDates = this.currentOffenseRecord.charges\r\n .filter(c => c.arrestDate != null)\r\n .map(c => c.arrestDate);\r\n const dispositionChargeDates = this.currentOffenseRecord.charges\r\n .filter(c => c.dispositionDate != null)\r\n .map(c => c.dispositionDate);\r\n\r\n const today = new Date();\r\n today.setHours(0, 0, 0, 0);\r\n\r\n if (offenseDate !== null && offenseDate > today) {\r\n this.formControl.setValidationErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('offenseDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (fileDate !== null && fileDate > today) {\r\n this.formControl.setValidationErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('fileDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (arrestDate !== null && arrestDate > today) {\r\n this.formControl.setValidationErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('arrestDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (dispositionDate !== null && dispositionDate > today) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateGreaterThanCurrentDate', 'greaterThanCurrentDate');\r\n }\r\n\r\n if (offenseDate !== null && fileDate !== null && offenseDate > fileDate) {\r\n this.formControl.setValidationErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('fileDateDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n\r\n if (offenseDate !== null && dispositionDate !== null && offenseDate > dispositionDate) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateOlderThanOffenseDate', 'olderThan');\r\n }\r\n\r\n if (fileDate !== null && dispositionDate !== null && fileDate > dispositionDate) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateOlderThanFileDate', 'olderThan');\r\n }\r\n\r\n if (offenseDate !== null && !offenseChargeDates.some(c => c.getTime() === offenseDate.getTime())) {\r\n this.formControl.setValidationErrorByControlName('offenseDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('offenseDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n\r\n if (fileDate !== null && !fileChargeDates.some(c => c.getTime() === fileDate.getTime())) {\r\n this.formControl.setValidationErrorByControlName('fileDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('fileDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n\r\n if (arrestDate !== null && !arrestChargeDates.some(c => c.getTime() === arrestDate.getTime())) {\r\n this.formControl.setValidationErrorByControlName('arrestDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('arrestDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n\r\n if (dispositionDate !== null && !dispositionChargeDates.some(c => c.getTime() === dispositionDate.getTime())) {\r\n this.formControl.setValidationErrorByControlName('dispositionDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('dispositionDateAtRecordAndChargeLevel', 'noChargeLevel');\r\n }\r\n }\r\n\r\n validateIdentifier() {\r\n const hasNameIdentifier: boolean = this.formControl.getBooleanByControlName('hasNameIdentifier');\r\n const hasDobIdentifier: boolean = this.formControl.getBooleanByControlName('hasDobIdentifier');\r\n const hasSsnIdentifier: boolean = this.formControl.getBooleanByControlName('hasSsnIdentifier');\r\n const hasSinIdentifier: boolean = this.formControl.getBooleanByControlName('hasSinIdentifier');\r\n const hasAddressIdentifier: boolean = this.formControl.getBooleanByControlName('hasAddressIdentifier');\r\n const hasDlnIdentifier: boolean = this.formControl.getBooleanByControlName('hasDlnIdentifier');\r\n const dobType: string = this.formControl.getValueByControlName('dobType');\r\n const isHeightenedIdentifier: Boolean = this.offense.offenseSearch.isHeightenedIdentifier;\r\n let identifierCount = 0;\r\n\r\n if (hasNameIdentifier) {\r\n identifierCount++;\r\n }\r\n\r\n if (hasDobIdentifier) {\r\n identifierCount++;\r\n }\r\n\r\n if (hasSsnIdentifier) {\r\n identifierCount++;\r\n }\r\n\r\n if (hasSinIdentifier) {\r\n identifierCount++;\r\n }\r\n\r\n if (hasAddressIdentifier) {\r\n identifierCount++;\r\n }\r\n\r\n if (hasDlnIdentifier) {\r\n identifierCount++;\r\n }\r\n\r\n if ('no-dob' === dobType && hasDobIdentifier) {\r\n this.formControl.setValidationErrorByControlName('hasIdentifier', 'dobIdentifierWithDobNotListed');\r\n } else if (isHeightenedIdentifier && identifierCount < 1) {\r\n this.formControl.setValidationErrorByControlName('hasIdentifier', 'hasAdditionalIdentifier');\r\n } else if (!isHeightenedIdentifier && !hasNameIdentifier && !hasDobIdentifier\r\n && !hasSsnIdentifier && !hasSinIdentifier\r\n && !hasAddressIdentifier && !hasDlnIdentifier) {\r\n this.formControl.setValidationErrorByControlName('hasIdentifier', 'hasIdentifier');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('hasIdentifier', 'hasIdentifier');\r\n }\r\n }\r\n\r\n validateDob() {\r\n const dobType = this.formControl.getValueByControlName('dobType');\r\n if ('full-dob' === dobType) {\r\n const month = this.formControl.getValueByControlName('month');\r\n const day = this.formControl.getValueByControlName('day');\r\n const year = this.formControl.getValueByControlName('year');\r\n const dob = new DateHandler(`${month}${day}${year}`, 1900);\r\n const monthAndDay = `${month}${day}`;\r\n\r\n if (monthAndDay.length !== 4 || !dob.isValid) {\r\n this.formControl.setValidationErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n } else {\r\n this.formControl.setValueByControlName('year', dob.year);\r\n this.formControl.clearValidatorErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n }\r\n } else if ('partial-dob' === dobType) {\r\n const month = this.formControl.getValueByControlName('month');\r\n const day = this.formControl.getValueByControlName('day');\r\n const year = this.formControl.getValueByControlName('year');\r\n\r\n if (((month.length > 0 && !month.match(/^-?\\d+$/))\r\n || (day.length > 0 && !day.match(/^-?\\d+$/))\r\n || (year.length > 0 && !year.match(/^-?\\d+$/)))\r\n || month.length === 0 && day.length === 0 && year.length === 0) {\r\n this.formControl.setValidationErrorByControlName('partialDobValidator', 'isPartialDate');\r\n } else {\r\n this.formControl.clearValidatorErrorByControlName('partialDobValidator', 'isPartialDate');\r\n }\r\n }\r\n this.validateIdentifier();\r\n }\r\n\r\n checkIfDisableDob() {\r\n const dobType: string = this.formControl.getValueByControlName('dobType');\r\n if ('no-dob' === dobType) {\r\n this.formControl.setValueByControlName('month', '');\r\n this.formControl.setValueByControlName('day', '');\r\n this.formControl.setValueByControlName('year', '');\r\n this.formControl.getControlByControlName('month').disable();\r\n this.formControl.getControlByControlName('day').disable();\r\n this.formControl.getControlByControlName('year').disable();\r\n this.formControl.clearValidatorErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n this.formControl.clearValidatorErrorByControlName('partialDobValidator', 'isPartialDate');\r\n } else if ('full-dob' === dobType) {\r\n this.formControl.getControlByControlName('month').enable();\r\n this.formControl.getControlByControlName('day').enable();\r\n this.formControl.getControlByControlName('year').enable();\r\n this.validateDob();\r\n this.formControl.clearValidatorErrorByControlName('partialDobValidator', 'isPartialDate');\r\n this.formControl.clearValidatorErrorByControlName('hasIdentifier', 'dobIdentifierWithDobNotListed');\r\n } else {\r\n this.formControl.getControlByControlName('month').enable();\r\n this.formControl.getControlByControlName('day').enable();\r\n this.formControl.getControlByControlName('year').enable();\r\n this.validateDob();\r\n this.formControl.clearValidatorErrorByControlName('fullDobValidator', 'isFullDobDate');\r\n this.formControl.clearValidatorErrorByControlName('hasIdentifier', 'dobIdentifierWithDobNotListed');\r\n }\r\n\r\n this.validateIdentifier();\r\n }\r\n\r\n updateOffenseDates(offenseDates: any) {\r\n this.formControl.setValueByControlName('offenseDate', offenseDates.offenseDate);\r\n this.formControl.setValueByControlName('fileDate', offenseDates.fileDate);\r\n this.formControl.setValueByControlName('arrestDate', offenseDates.arrestDate);\r\n this.formControl.setValueByControlName('dispositionDate', offenseDates.dispositionDate);\r\n this.validateDates();\r\n }\r\n\r\n saveCompletedSuccessfully() {\r\n this.isNewRecord = false;\r\n this.handleRecordNavigationButtons();\r\n this.updateCurrentOffense();\r\n this.updateCanDeleteCurrentOffenseRecord.emit(true);\r\n }\r\n\r\n deleteSuccessfully() {\r\n if (this.offense.offenseRecords.length > 0) {\r\n this.firstOffense(true, true);\r\n } else {\r\n this.addNewRecord(true);\r\n }\r\n }\r\n\r\n setFocusForDobMismatch() {\r\n this.dobMonthElement.nativeElement.focus();\r\n }\r\n\r\n private updateFormControls() {\r\n\r\n this.formControl.setValueByControlName('hasNameIdentifier', this.currentOffenseRecord.hasNameIdentifier);\r\n this.formControl.setValueByControlName('hasDobIdentifier', this.currentOffenseRecord.hasDobIdentifier);\r\n this.formControl.setValueByControlName('hasSsnIdentifier', this.currentOffenseRecord.hasSsnIdentifier);\r\n this.formControl.setValueByControlName('hasSinIdentifier', this.currentOffenseRecord.hasSinIdentifier);\r\n this.formControl.setValueByControlName('hasAddressIdentifier', this.currentOffenseRecord.hasAddressIdentifier);\r\n this.formControl.setValueByControlName('hasDlnIdentifier', this.currentOffenseRecord.hasDlnIdentifier);\r\n this.validateIdentifier();\r\n\r\n this.formControl.setValueByControlName('hasFaxInformation', this.currentOffenseRecord.hasFaxInformation);\r\n this.formControl.setValueByControlName('courtRecordedFullName', this.currentOffenseRecord.courtRecordFullName);\r\n this.formControl.setValueByControlName('nameDiffers', this.currentOffenseRecord.nameDiffers);\r\n this.formControl.setValueByControlName('referenceNumber', this.currentOffenseRecord.referenceNumber);\r\n\r\n if (this.currentOffenseRecord.hasPartialDobIdentifier) {\r\n this.formControl.setValueByControlName('dobType', 'partial-dob');\r\n this.formControl.setValueByControlName('month', this.currentOffenseRecord.partialMonth);\r\n this.formControl.setValueByControlName('day', this.currentOffenseRecord.partialDay);\r\n this.formControl.setValueByControlName('year', this.currentOffenseRecord.partialYear);\r\n } else if (this.currentOffenseRecord.hasNoDobIdentifier) {\r\n this.formControl.setValueByControlName('dobType', 'no-dob');\r\n } else {\r\n this.formControl.setValueByControlName('dobType', 'full-dob');\r\n const dob = new DateHandler(this.currentOffenseRecord.courtRecordDob, 1900);\r\n this.formControl.setValueByControlName('month', dob.month);\r\n this.formControl.setValueByControlName('day', dob.day);\r\n this.formControl.setValueByControlName('year', dob.year);\r\n }\r\n\r\n this.checkIfDisableDob();\r\n\r\n this.formControl.setValueByControlName('offenseDate', this.convertToDateFormat(this.currentOffenseRecord.offenseDate, 2000));\r\n this.formControl.setValueByControlName('fileDate', this.convertToDateFormat(this.currentOffenseRecord.fileDate, 2000));\r\n this.formControl.setValueByControlName('arrestDate', this.convertToDateFormat(this.currentOffenseRecord.arrestDate, 2000));\r\n this.formControl.setValueByControlName('dispositionDate', this.convertToDateFormat(this.currentOffenseRecord.dispositionDate, 2000));\r\n this.validateDates();\r\n\r\n this.formControl.setValueByControlName('probation', this.currentOffenseRecord.probation);\r\n this.formControl.setValueByControlName('fines', this.currentOffenseRecord.fines);\r\n this.formControl.setValueByControlName('courtCosts', this.currentOffenseRecord.courtCosts);\r\n this.formControl.setValueByControlName('jailTime', this.currentOffenseRecord.jailTime);\r\n this.formControl.setValueByControlName('prisonTime', this.currentOffenseRecord.prisonTime);\r\n this.formControl.setValueByControlName('suspensionTime', this.currentOffenseRecord.suspensionTime);\r\n this.formControl.setValueByControlName('nextCourtDate', this.convertToDateFormat(this.currentOffenseRecord.nextCourtDate, 2000));\r\n this.formControl.setValueByControlName('comments', this.currentOffenseRecord.comments);\r\n this.formControl.setValueByControlName('otherSentenceNotes', this.currentOffenseRecord.otherSentenceNotes);\r\n\r\n this.handleRecordNavigationButtons();\r\n this.setSentenceLevel(false, true);\r\n }\r\n\r\n private updateCurrentOffense() {\r\n if (this.currentOffenseRecordIndex !== undefined) {\r\n this.currentOffenseRecord.hasNameIdentifier = this.formControl.getBooleanByControlName('hasNameIdentifier');\r\n this.currentOffenseRecord.hasDobIdentifier = this.formControl.getBooleanByControlName('hasDobIdentifier');\r\n this.currentOffenseRecord.hasSsnIdentifier = this.formControl.getBooleanByControlName('hasSsnIdentifier');\r\n this.currentOffenseRecord.hasSinIdentifier = this.formControl.getBooleanByControlName('hasSinIdentifier');\r\n this.currentOffenseRecord.hasAddressIdentifier = this.formControl.getBooleanByControlName('hasAddressIdentifier');\r\n this.currentOffenseRecord.hasDlnIdentifier = this.formControl.getBooleanByControlName('hasDlnIdentifier');\r\n\r\n this.currentOffenseRecord.hasFaxInformation = this.formControl.getBooleanByControlName('hasFaxInformation');\r\n this.currentOffenseRecord.courtRecordFullName = this.formControl.getValueByControlName('courtRecordedFullName');\r\n this.currentOffenseRecord.nameDiffers = this.formControl.getBooleanByControlName('nameDiffers');\r\n this.currentOffenseRecord.referenceNumber = this.formControl.getValueByControlName('referenceNumber');\r\n\r\n const dobType: string = this.formControl.getValueByControlName('dobType');\r\n this.currentOffenseRecord.hasNoDobIdentifier = 'no-dob' === dobType;\r\n this.currentOffenseRecord.hasPartialDobIdentifier = 'partial-dob' === dobType;\r\n if ('partial-dob' === dobType || 'full-dob' === dobType) {\r\n const month = this.formControl.getValueByControlName('month');\r\n const day = this.formControl.getValueByControlName('day');\r\n const year = this.formControl.getValueByControlName('year');\r\n\r\n if (this.currentOffenseRecord.hasPartialDobIdentifier) {\r\n this.currentOffenseRecord.partialMonth = month;\r\n this.currentOffenseRecord.partialDay = day;\r\n this.currentOffenseRecord.partialYear = year;\r\n } else {\r\n this.currentOffenseRecord.courtRecordDob = new Date(`${month}/${day}/${year}`);\r\n }\r\n }\r\n\r\n this.currentOffenseRecord.offenseDate = new Date(this.formControl.getValueByControlName('offenseDate'));\r\n this.currentOffenseRecord.fileDate = new Date(this.formControl.getValueByControlName('fileDate'));\r\n this.currentOffenseRecord.arrestDate = new Date(this.formControl.getValueByControlName('arrestDate'));\r\n this.currentOffenseRecord.dispositionDate = new Date(this.formControl.getValueByControlName('dispositionDate'));\r\n this.currentOffenseRecord.probation = this.formControl.getValueByControlName('probation');\r\n this.currentOffenseRecord.fines = this.formControl.getValueByControlName('fines');\r\n this.currentOffenseRecord.courtCosts = this.formControl.getValueByControlName('courtCosts');\r\n this.currentOffenseRecord.jailTime = this.formControl.getValueByControlName('jailTime');\r\n this.currentOffenseRecord.prisonTime = this.formControl.getValueByControlName('prisonTime');\r\n this.currentOffenseRecord.suspensionTime = this.formControl.getValueByControlName('suspensionTime');\r\n this.currentOffenseRecord.nextCourtDate = new Date(this.formControl.getValueByControlName('nextCourtDate'));\r\n this.currentOffenseRecord.comments = this.formControl.getValueByControlName('comments');\r\n this.currentOffenseRecord.otherSentenceNotes = this.formControl.getValueByControlName('otherSentenceNotes');\r\n }\r\n }\r\n\r\n private get onMinOffenseRecord(): boolean {\r\n return this.hasOffenses && this.currentOffenseRecordIndex === 0;\r\n }\r\n\r\n private get onMaxOffenseRecord(): boolean {\r\n return this.hasOffenses && this.currentOffenseRecordIndex >= this.offense.offenseRecords.length - 1;\r\n }\r\n\r\n private getMaxOffenseRecords(): number {\r\n return this.hasOffenses ? this.offense.offenseRecords.length - 1 : null;\r\n }\r\n\r\n private getNewOffenseNumber(): number {\r\n let offenseNumber = 1;\r\n if (this.hasOffenses && this.offense.offenseRecords.length > 0) {\r\n offenseNumber = Math.max(...this.offense.offenseRecords.map((or: OffenseRecord) => or.offenseNumber)) + 1;\r\n }\r\n\r\n return offenseNumber;\r\n }\r\n\r\n private get hasOffenses(): boolean {\r\n return this.offense !== null && this.offense !== undefined && this.offense !== null && this.offense.offenseRecords !== undefined;\r\n }\r\n\r\n private convertToDateFormat(date: any, baseCentury: number) {\r\n return new DateHandler(date, baseCentury).format();\r\n }\r\n\r\n get sentenceLevel() { return this.offenseRecordFormGroup.get('sentenceLevel'); }\r\n get hasIdentifier() { return this.offenseRecordFormGroup.get('hasIdentifier'); }\r\n get hasNameIdentifier() { return this.offenseRecordFormGroup.get('hasNameIdentifier'); }\r\n get hasDobIdentifier() { return this.offenseRecordFormGroup.get('hasDobIdentifier'); }\r\n get hasSsnIdentifier() { return this.offenseRecordFormGroup.get('hasSsnIdentifier'); }\r\n get hasSinIdentifier() { return this.offenseRecordFormGroup.get('hasSinIdentifier'); }\r\n get hasAddressIdentifier() { return this.offenseRecordFormGroup.get('hasAddressIdentifier'); }\r\n get hasDlnIdentifier() { return this.offenseRecordFormGroup.get('hasDlnIdentifier'); }\r\n get courtRecordedFullName() { return this.offenseRecordFormGroup.get('courtRecordedFullName'); }\r\n get nameDiffers() { return this.offenseRecordFormGroup.get('nameDiffers'); }\r\n get referenceNumber() { return this.offenseRecordFormGroup.get('referenceNumber'); }\r\n get dobType() { return this.offenseRecordFormGroup.get('dobType'); }\r\n get month() { return this.offenseRecordFormGroup.get('month'); }\r\n get day() { return this.offenseRecordFormGroup.get('day'); }\r\n get year() { return this.offenseRecordFormGroup.get('year'); }\r\n get fullDobValidator() { return this.offenseRecordFormGroup.get('fullDobValidator'); }\r\n get partialDobValidator() { return this.offenseRecordFormGroup.get('partialDobValidator'); }\r\n get offenseDate() { return this.offenseRecordFormGroup.get('offenseDate'); }\r\n get fileDate() { return this.offenseRecordFormGroup.get('fileDate'); }\r\n get arrestDate() { return this.offenseRecordFormGroup.get('arrestDate'); }\r\n get dispositionDate() { return this.offenseRecordFormGroup.get('dispositionDate'); }\r\n get hasRequiredDate() { return this.offenseRecordFormGroup.get('hasRequiredDate'); }\r\n get offenseDateGreaterThanCurrentDate() { return this.offenseRecordFormGroup.get('offenseDateGreaterThanCurrentDate'); }\r\n get fileDateGreaterThanCurrentDate() { return this.offenseRecordFormGroup.get('fileDateGreaterThanCurrentDate'); }\r\n get arrestDateGreaterThanCurrentDate() { return this.offenseRecordFormGroup.get('arrestDateGreaterThanCurrentDate'); }\r\n get dispositionDateGreaterThanCurrentDate() { return this.offenseRecordFormGroup.get('dispositionDateGreaterThanCurrentDate'); }\r\n get fileDateDateOlderThanOffenseDate() { return this.offenseRecordFormGroup.get('fileDateDateOlderThanOffenseDate'); }\r\n get dispositionDateOlderThanOffenseDate() { return this.offenseRecordFormGroup.get('dispositionDateOlderThanOffenseDate'); }\r\n get dispositionDateOlderThanFileDate() { return this.offenseRecordFormGroup.get('dispositionDateOlderThanFileDate'); }\r\n get offenseDateAtRecordAndChargeLevel() { return this.offenseRecordFormGroup.get('offenseDateAtRecordAndChargeLevel'); }\r\n get fileDateAtRecordAndChargeLevel() { return this.offenseRecordFormGroup.get('fileDateAtRecordAndChargeLevel'); }\r\n get arrestDateAtRecordAndChargeLevel() { return this.offenseRecordFormGroup.get('arrestDateAtRecordAndChargeLevel'); }\r\n get dispositionDateAtRecordAndChargeLevel() { return this.offenseRecordFormGroup.get('dispositionDateAtRecordAndChargeLevel'); }\r\n get probation() { return this.offenseRecordFormGroup.get('probation'); }\r\n get fines() { return this.offenseRecordFormGroup.get('fines'); }\r\n get courtCosts() { return this.offenseRecordFormGroup.get('courtCosts'); }\r\n get jailTime() { return this.offenseRecordFormGroup.get('jailTime'); }\r\n get prisonTime() { return this.offenseRecordFormGroup.get('prisonTime'); }\r\n get suspensionTime() { return this.offenseRecordFormGroup.get('suspensionTime'); }\r\n get nextCourtDate() { return this.offenseRecordFormGroup.get('nextCourtDate'); }\r\n get comments() { return this.offenseRecordFormGroup.get('comments'); }\r\n get otherSentenceNotes() { return this.offenseRecordFormGroup.get('otherSentenceNotes'); }\r\n\r\n\r\n public currentOffenseRecord: OffenseRecord;\r\n public isOffense: boolean;\r\n public offenseRecordFormGroup: FormGroup;\r\n\r\n private offense: Offense;\r\n private currentOffenseRecordIndex: number = undefined;\r\n private isNewRecord = false;\r\n private firstButtonActive: boolean;\r\n private previousButtonActive: boolean;\r\n private nextButtonActive: boolean;\r\n private lastButtonActive: boolean;\r\n private addNewButtonActive: boolean;\r\n private formControl: FormControl;\r\n @ViewChild('dobMonth') dobMonthElement: ElementRef;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/offenseRecord/offenseRecord.component.ts","module.exports = \"
\\r\\n
SEARCH INFORMATION
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.caseNumber}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.fullName}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n {{offense?.offenseSearch?.address1}},\\r\\n {{offense?.offenseSearch?.city}},\\r\\n {{offense?.offenseSearch?.state}}\\r\\n {{offense?.offenseSearch?.zip}}\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.workState}}\\r\\n (Restricted)\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.dob | date: 'MM/dd/yyyy'}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.socialSecurityNumber}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.licenseNumber}}\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.jurisdiction}}\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n {{offense?.offenseSearch?.searchFromDate}} - {{offense?.offenseSearch?.searchToDate}}\\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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseSearch/offenseSearch.component.html\n// module id = ./src/app/offenseSearch/offenseSearch.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}header{background-color:#ccf;padding:.25rem .3rem;color:#000;font-weight:bolder;margin:1rem 0 1rem 0}label:not(#admittted-crim-not-found){font-weight:700}button{margin-top:1.5rem;background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:17rem;font-size:1rem;padding-top:.2rem;padding-bottom:.2rem}#first-section div:first-child{margin:.7rem 0}#first-section div:not(:nth-child(-n+1)){margin-top:.3rem}#second-section{margin-top:.7rem;display:table;width:70%}#second-section>div:last-of-type div{padding-top:.7rem;padding-bottom:2rem}#second-section div{display:table-row}#second-section div div{display:table-cell}#second-section div div label{width:15rem;display:inline-block}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/offenseSearch/offenseSearch.component.scss\n// module id = ./src/app/offenseSearch/offenseSearch.component.scss\n// module chunks = app","import { Component, Input, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { FormGroup } from '@angular/forms';\r\nimport Offense from '../../models/offense';\r\nimport OffenseService from '../../services/offenseService';\r\nimport BrowserWindowObjectService from '../../services/browserWindowObjectService';\r\nimport ComplianceAuditLogService from '../../services/complianceAuditLogService';\r\nimport FormControl from '../../models/formControl';\r\nimport ComplianceAuditLog from '../../models/complianceAuditLog';\r\n\r\n@Component({\r\n selector: 'app-offense-search',\r\n templateUrl: './offenseSearch.component.html',\r\n styleUrls: ['./offenseSearch.component.scss'],\r\n providers: []\r\n})\r\n\r\nexport default class OffenseSearchComponent implements OnInit {\r\n\r\n constructor(private offenseService: OffenseService,\r\n private complianceAuditLogService: ComplianceAuditLogService,\r\n private router: Router,\r\n private browserWindowObjectService: BrowserWindowObjectService) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n @Input() set offenseObject(offense: Offense) {\r\n if (offense) {\r\n this.offense = offense;\r\n }\r\n }\r\n\r\n @Input() set offenseSearchFormGroupObject(offenseSearchFormGroup: FormGroup) {\r\n this.offenseSearchFormGroup = offenseSearchFormGroup;\r\n this.formControl = new FormControl(this.offenseSearchFormGroup);\r\n }\r\n\r\n async workOrderComplete() {\r\n try {\r\n\r\n const admittedCrimeNotFound = this.formControl.getBooleanByControlName('admittedCrimeNotFound');\r\n\r\n if (admittedCrimeNotFound) {\r\n await this.complianceAuditLogService.addComplianceAuditLogs([\r\n new ComplianceAuditLog(this.offense.offenseSearch.requestNumber, 'ADMTTD_CRM_NOT_FND', 'OFFENCEPG', null, null)\r\n ]);\r\n }\r\n\r\n this.offenseService.workOrderComplete(this.offense.offenseSearch.requestNumber, admittedCrimeNotFound)\r\n .subscribe((object: any) => {\r\n if (object === null) {\r\n this.router.navigate(['navigation']);\r\n }\r\n });\r\n } catch (e) {\r\n // If it's in here an exception happened when writing to\r\n // the compliance audit log.\r\n // Don't want to work order complete if that happens.\r\n }\r\n }\r\n\r\n goBackToTaskList() {\r\n this.browserWindowObjectService.goBackOnePage();\r\n }\r\n\r\n get admittedCrimeNotFound() { return this.offenseSearchFormGroup.get('admittedCrimeNotFound'); }\r\n\r\n offense: Offense;\r\n @Input() canWorkOrderComplete = false;\r\n @Input() offensePageForm: FormGroup;\r\n public offenseSearchFormGroup: FormGroup;\r\n private formControl: FormControl;\r\n }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/offenseSearch/offenseSearch.component.ts","module.exports = \"
\\r\\n

\\r\\n Welcome to the GIS CRIM System.\\r\\n

\\r\\n

\\r\\n Please create an account with the token you were given.\\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 Username to login to the CRIM system.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Username is required.\\r\\n \\r\\n \\r\\n Username must have a minimum of 6 characters.\\r\\n \\r\\n \\r\\n Username can only be a max of 30 characters.\\r\\n \\r\\n \\r\\n Username already exists. Please choose another Username.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n Email Address will be used when sending password resets and any other type of notification.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Must be a valid Email Address.\\r\\n \\r\\n \\r\\n Email Address is required.\\r\\n \\r\\n \\r\\n Email Address can only be a max of 255 characters.\\r\\n \\r\\n \\r\\n Email Address and Username cannot be the same.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n 8-character minimum; case sensitive\\r\\n
\\r\\n
    \\r\\n
  • At least 1 lower case letter
  • \\r\\n
  • At least 1 capital case letter
  • \\r\\n
  • At least 1 number
  • \\r\\n
  • At least 1 symbol
  • \\r\\n
  • At least 8 characters
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n Password is required.\\r\\n \\r\\n \\r\\n Password can only be a max of 60 characters.\\r\\n \\r\\n \\r\\n Password does not meet all validation rules.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n This needs to match the Password you entered.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Confirm Password is required.\\r\\n \\r\\n \\r\\n Confirm Password can only be a max of 60 characters.\\r\\n \\r\\n \\r\\n Confirm Password is not the same as Password.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n First Name is required.\\r\\n \\r\\n \\r\\n First Name can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Middle Name can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Last Name is required.\\r\\n \\r\\n \\r\\n Last Name can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n Phone Number can only be a max of 255 characters.\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n

\\r\\n This token has been provided to your orangization by GIS and is required when creating an account.\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n Token is required.\\r\\n \\r\\n \\r\\n Token is not valid.\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n * are required fields\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/registration/registration.component.html\n// module id = ./src/app/registration/registration.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}*{-webkit-box-sizing:border-box;box-sizing:border-box}header,main{margin-bottom:3rem}header{-ms-flex-line-pack:center;align-content:center;text-align:center}mark{color:red;background-color:inherit;padding-left:.2rem}div{width:35%;margin:1rem auto 0 auto}small{font-size:smaller;font-weight:400;margin-top:.4rem;display:inline-block}button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:100%;height:2.7rem}button,label{font-weight:700}input{width:100%;height:2rem;font-size:1.25 rem;margin-top:.3rem}#username-group{margin-top:3rem}#confirm-password-group,#email-address-group,#password-group,#token-group,#username-group{position:relative}.validation{margin:0;width:100%}.validation span{font-weight:400;color:red;margin-top:.5rem;display:block}div.username-sidebar{top:-.1rem}div.email-address-sidebar,div.username-sidebar{right:-31rem;font-size:1.2rem;width:30rem;padding-left:1rem}div.email-address-sidebar{top:-.9rem}div.password-sidebar{top:-3rem;right:-24rem;font-size:1.5rem;width:auto}div.confirm-password-sidebar{top:-.7rem}div.confirm-password-sidebar,div.token-sidebar{right:-31rem;font-size:1.2rem;width:30rem;padding-left:1rem}div.token-sidebar{top:-.8rem}.show-sidebar{visibility:visible;opacity:1}.hide-sidebar{visibility:hidden;opacity:0}.sidebar:before{content:\\\"\\\\25C1\\\";color:#dede8d;position:absolute;top:40%;left:-.6rem}.sidebar{border:.1rem solid #dede8d;padding:.3rem;background-color:lighter(beige,10%);position:absolute;margin:0}.sidebar ul{list-style-position:inside;margin:0;padding:.9rem .7rem;font-size:87%}.sidebar li:nth-of-type(n+1):nth-of-type(-n+4){margin-bottom:1.3rem}.sidebar li{list-style-type:none}.rule-not-met{color:red;padding-left:1.1rem;line-height:.8rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 31 30' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;'%3E%3Cpath d='M11.115,15.288l-10.169,-10.003c-1.097,-1.08 -1.199,-2.815 -0.236,-4.016c0.025,-0.032 0.051,-0.064 0.077,-0.096c0.53,-0.662 1.317,-1.068 2.164,-1.118c0.847,-0.05 1.675,0.261 2.28,0.856l10.315,10.147l9.282,-8.863c0.613,-0.586 1.446,-0.885 2.292,-0.822c0.846,0.062 1.626,0.48 2.147,1.149c0.027,0.035 0.054,0.07 0.081,0.105c0.946,1.215 0.818,2.949 -0.295,4.012l-9.134,8.721l7.703,7.577c1.097,1.08 1.199,2.815 0.236,4.016c-0.025,0.032 -0.051,0.064 -0.077,0.096c-0.531,0.662 -1.317,1.068 -2.164,1.118c-0.847,0.05 -1.675,-0.261 -2.28,-0.856l-7.848,-7.72l-9.112,8.7c-0.613,0.585 -1.446,0.884 -2.292,0.822c-0.846,-0.062 -1.626,-0.48 -2.147,-1.149c-0.027,-0.035 -0.054,-0.07 -0.081,-0.105c-0.946,-1.215 -0.818,-2.949 0.295,-4.012l8.963,-8.559Z' style='fill:%23e03030;stroke:%23404040;stroke-width:0.1px;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}.rule-met{color:green;padding-left:1.1rem;line-height:.9rem;background:url(\\\"data:image/svg+xml;charset=utf8,%3C?xml version='1.0' encoding='UTF-8' standalone='no'?%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='100%' height='100%' viewBox='0 0 23 34' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;'%3E%3Cpath d='M0.662,23.279c-0.369,0.394 -0.359,1.009 0.022,1.391c1.655,1.654 5.881,5.881 7.872,7.871c0.237,0.237 0.577,0.34 0.906,0.273c0.328,-0.067 0.602,-0.294 0.728,-0.605c2.156,-5.322 9.812,-24.219 11.498,-28.381c0.188,-0.465 0.002,-0.999 -0.436,-1.246c-0.626,-0.353 -1.545,-0.872 -2.395,-1.351c-0.53,-0.299 -1.166,-0.341 -1.731,-0.113c-0.564,0.227 -0.994,0.699 -1.168,1.282c-1.623,5.43 -5.549,18.562 -6.993,23.393c-0.075,0.251 -0.304,0.425 -0.566,0.428c-0.262,0.004 -0.496,-0.162 -0.578,-0.411c-0.262,-0.788 -0.582,-1.752 -0.904,-2.725c-0.334,-1.004 -1.171,-1.758 -2.204,-1.985c-1.034,-0.227 -2.11,0.107 -2.833,0.879c-0.462,0.492 -0.888,0.948 -1.218,1.3Z' style='fill:%232be926;'/%3E%3C/svg%3E\\\") no-repeat 0 50%}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/registration/registration.component.scss\n// module id = ./src/app/registration/registration.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n Validators\r\n} from '@angular/forms';\r\nimport { RegistrationCodes } from '../../models/registrationCodes';\r\nimport RegistrationService from '../../services/registrationService';\r\nimport User from '../../models/user';\r\nimport CompareTwoInputsValidator from '../../validators/compareTwoInputsValidator';\r\nimport PasswordRulesValidator from '../../validators/passwordRulesValidator';\r\nimport UsernameAlreadyExistValidator from '../../validators/usernameAlreadyExistValidator';\r\nimport { MessageQueService } from '../../services/index';\r\n\r\n@Component({\r\n selector: 'app-registration',\r\n templateUrl: './registration.component.html',\r\n styleUrls: ['./registration.component.scss'],\r\n providers: [RegistrationService, MessageQueService]\r\n})\r\n\r\nexport default class RegistrationComponent implements OnInit {\r\n\r\n constructor(private router: Router, private msgSvc: MessageQueService, private registrationService: RegistrationService, private formBuilder: FormBuilder) { }\r\n\r\n ngOnInit() {\r\n this.msgSvc.setControlKey();\r\n this.registrationForm = this.formBuilder.group({\r\n token: ['', Validators.required],\r\n user: this.formBuilder.group({\r\n userName: ['', [\r\n Validators.required,\r\n Validators.minLength(6),\r\n Validators.maxLength(30),\r\n UsernameAlreadyExistValidator(),\r\n ]\r\n ],\r\n email: ['', [\r\n Validators.required,\r\n Validators.email,\r\n Validators.maxLength(255),\r\n CompareTwoInputsValidator('username', false)\r\n ]\r\n ],\r\n password: ['', [\r\n Validators.required,\r\n Validators.maxLength(60),\r\n PasswordRulesValidator()\r\n ]\r\n ],\r\n confirmPassword: ['', [\r\n Validators.required,\r\n Validators.maxLength(60),\r\n CompareTwoInputsValidator('password')\r\n ]\r\n ],\r\n firstName: ['', [\r\n Validators.required,\r\n Validators.maxLength(255),\r\n ]\r\n ],\r\n middleName: ['', Validators.maxLength(255)],\r\n lastName: ['', [\r\n Validators.required,\r\n Validators.maxLength(255),\r\n ]\r\n ],\r\n phoneNumber: ['', Validators.maxLength(255)],\r\n })\r\n });\r\n }\r\n\r\n onSubmit() {\r\n const form = this.registrationForm.value;\r\n const user: User = Object.assign({}, form.user, { confirmPassword: undefined });\r\n this.registrationService.registerUser(user, form.token as string)\r\n .subscribe((registrationCodes: RegistrationCodes[]) => {\r\n\r\n const code = registrationCodes.find((rc: RegistrationCodes) => rc === RegistrationCodes.ok);\r\n\r\n if (code === RegistrationCodes.ok) {\r\n this.router.navigate(['confirmation']);\r\n } else {\r\n for (const registrationCode of registrationCodes) {\r\n switch (registrationCode) {\r\n case RegistrationCodes.requireUsername:\r\n this.setValidationErrorByControlName('token', 'required');\r\n break;\r\n case RegistrationCodes.tokenNotValid:\r\n this.setValidationErrorByControlName('token', 'tokenNotValid');\r\n break;\r\n case RegistrationCodes.invalidUsername:\r\n case RegistrationCodes.requireUsername:\r\n this.setValidationErrorByControlName('user.userName', 'required');\r\n break;\r\n case RegistrationCodes.invalidPassword:\r\n case RegistrationCodes.requirePassword:\r\n this.setValidationErrorByControlName('user.password', 'required');\r\n break;\r\n case RegistrationCodes.invalidFirstName:\r\n this.setValidationErrorByControlName('user.firstName', 'required');\r\n break;\r\n case RegistrationCodes.invalidLastName:\r\n this.setValidationErrorByControlName('user.lastName', 'required');\r\n break;\r\n case RegistrationCodes.usernameAlreadyExist:\r\n this.setValidationErrorByControlName('user.userName', 'usernameAlreadyExist');\r\n break;\r\n case RegistrationCodes.userAndEmailAreTheSame:\r\n this.setValidationErrorByControlName('user.email', 'compareTwoInputs');\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n setBlurById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('show-sidebar');\r\n classListPasswordSidebar.add('hide-sidebar');\r\n }\r\n\r\n setFocusById(id: string) {\r\n const classListPasswordSidebar = document.getElementById(id).classList;\r\n classListPasswordSidebar.remove('hide-sidebar');\r\n classListPasswordSidebar.add('show-sidebar');\r\n }\r\n passwordKeyup(event: any) {\r\n const password: string = event.target.value;\r\n this.checkLength(password);\r\n this.checkRegEx(password, /[!@#$%^&*(){}[\\]?~<>]/, 'password-symbol-rule');\r\n this.checkRegEx(password, /[A-Z]/, 'password-upper-case-letter');\r\n this.checkRegEx(password, /[a-z]/, 'password-lower-case-letter');\r\n this.checkRegEx(password, /\\d/, 'password-number-rule');\r\n }\r\n\r\n private checkRegEx(s: string, pattern: RegExp, id: string) {\r\n const isMatch = s.match(pattern);\r\n if (!isMatch) {\r\n this.showRuleNotMet(id);\r\n } else {\r\n this.showRuleMet(id);\r\n }\r\n }\r\n\r\n private checkLength(password: string) {\r\n const id = 'password-length-rule';\r\n if (password.length < 8) {\r\n this.showRuleNotMet(id);\r\n } else {\r\n this.showRuleMet(id);\r\n }\r\n }\r\n\r\n private showRuleMet(id: string) {\r\n const passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-not-met');\r\n passwordLength.add('rule-met');\r\n }\r\n\r\n private showRuleNotMet(id: string) {\r\n const passwordLength = document.getElementById(id).classList;\r\n passwordLength.remove('rule-met');\r\n passwordLength.add('rule-not-met');\r\n }\r\n\r\n private setValidationErrorByControlName(controlName: string, validatorType: string) {\r\n const control = this.registrationForm.get(controlName);\r\n const validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n }\r\n\r\n get userName() { return this.registrationForm.get('user.userName'); }\r\n get email() { return this.registrationForm.get('user.email'); }\r\n get password() { return this.registrationForm.get('user.password'); }\r\n get confirmPassword() { return this.registrationForm.get('user.confirmPassword'); }\r\n get firstName() { return this.registrationForm.get('user.firstName'); }\r\n get middleName() { return this.registrationForm.get('user.middleName'); }\r\n get lastName() { return this.registrationForm.get('user.lastName'); }\r\n get phoneNumber() { return this.registrationForm.get('user.phoneNumber'); }\r\n get token() { return this.registrationForm.get('token'); }\r\n\r\n registrationForm: FormGroup;\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/registration/registration.component.ts","module.exports = \"\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n SELECT REPORT TO GENERATE\\r\\n
\\r\\n\\r\\n
\\r\\n Invoice\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n\\r\\n
\\r\\n SELECT THE DATES FOR THE REPORT\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n \\r\\n Start Date is required.\\r\\n \\r\\n \\r\\n Start Date is required in format mm/dd/yy or mm/dd/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 End Date is required.\\r\\n \\r\\n \\r\\n End Date is required in format mm/dd/yy or mm/dd/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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/reports/reports.component.html\n// module id = ./src/app/reports/reports.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}main{margin-left:5rem;padding-right:5rem}header{background-color:#ccf;color:#000;font-weight:bolder;padding:.5rem .3rem;margin:2rem 0 .4rem 0}header span{display:block;font-weight:700}mark{color:red;background-color:inherit}label{font-weight:700}input{margin-bottom:1rem}button{background-color:#ccf;font-family:Verdana,Tahoma,Arial;margin-right:auto;margin-left:auto;width:13rem;font-size:1rem;padding-top:.5rem;padding-bottom:.5rem}a:link,a:visited{color:#0066cb}#reports-section div{margin-top:3rem;-ms-flex-line-pack:center;align-content:center;text-align:center}.validation{margin:0;width:100%;margin-bottom:2rem}.validation span{font-weight:400;color:red;margin-top:.5rem;display:block}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/reports/reports.component.scss\n// module id = ./src/app/reports/reports.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport {\r\n FormBuilder,\r\n FormGroup,\r\n Validators\r\n} from '@angular/forms';\r\nimport { Router } from '@angular/router';\r\nimport BrowserWindowObjectService from '../../services/browserWindowObjectService';\r\nimport isDateValidator from '../../validators/isDateValidator';\r\nimport FormControl from '../../models/formControl';\r\nimport DateHandler from '../../models/dateHandler';\r\nimport { ConfirmResult } from '../../models/alertifyPromise';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport { MessageQueService } from '../../services/index';\r\n\r\n@Component({\r\n selector: 'app-reports',\r\n templateUrl: './reports.component.html',\r\n styleUrls: ['./reports.component.scss'],\r\n providers: [MessageQueService]\r\n})\r\nexport default class ReportsComponent implements OnInit {\r\n constructor(private browserWindowObjectService: BrowserWindowObjectService,\r\n private formBuilder: FormBuilder, private msgSvc: MessageQueService,\r\n private router: Router) { }\r\n\r\n ngOnInit(): void {\r\n this.msgSvc.setControlKey();\r\n this.reportsPageForm = this.formBuilder.group({\r\n startDate: ['', [\r\n Validators.required,\r\n isDateValidator(2000)\r\n ]\r\n ],\r\n endDate: ['', [\r\n Validators.required,\r\n isDateValidator(2000)\r\n ]\r\n ],\r\n invoiceNumber: [''],\r\n openReportInTab: ['']\r\n });\r\n\r\n this.formControl = new FormControl(this.reportsPageForm);\r\n }\r\n\r\n showInvoiceReportGeneratorSection() {\r\n this.showInvoiceReportGenerator = true;\r\n }\r\n\r\n onSubmit() {\r\n const form = this.reportsPageForm.value;\r\n const startDate = this.convertDateToString(form.startDate, 2000, 'MM-DD-YYYY');\r\n const endDate = this.convertDateToString(form.endDate, 2000, 'MM-DD-YYYY');\r\n const route = `invoiceReport/${startDate}/${endDate}/${form.invoiceNumber}`;\r\n if (form.openReportInTab) {\r\n this.browserWindowObjectService.openWindowITabByRoute(route, form.invoice);\r\n } else {\r\n this.browserWindowObjectService.openWindowInNewWindowByRoute(route, form.invoice, 1000, 900);\r\n }\r\n\r\n }\r\n\r\n formatDate(controlName: string, baseCentury: number) {\r\n if (!this.formControl.hasErrorByControlName(controlName)) {\r\n const value = this.formControl.getValueByControlName(controlName);\r\n this.formControl.setValueByControlName(controlName, this.convertDateToString(value, baseCentury));\r\n }\r\n }\r\n\r\n goToNavigation() {\r\n this.router.navigate(['navigation']);\r\n }\r\n\r\n async exitDialog() {\r\n const confirmResult = await PopupHelper.exitSystemHelper();\r\n\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n }\r\n\r\n private convertDateToString(date: any, baseCentury: number, mask: string = null): string {\r\n return new DateHandler(date, baseCentury).format(mask);\r\n }\r\n\r\n get startDate() { return this.reportsPageForm.get('startDate'); }\r\n get endDate() { return this.reportsPageForm.get('endDate'); }\r\n get invoiceNumber() { return this.reportsPageForm.get('invoiceNumber'); }\r\n get openReportInTab() { return this.reportsPageForm.get('openReportInTab'); }\r\n\r\n showInvoiceReportGenerator = false;\r\n reportsPageForm: FormGroup;\r\n private formControl: FormControl;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/reports/reports.component.ts","module.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n TASK COMMENTS\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
Comments:
\\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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/researcherTaskComment/researcherTaskComment.component.html\n// module id = ./src/app/researcherTaskComment/researcherTaskComment.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\nexports.i(require(\"-!../../../node_modules/css-loader/index.js??ref--3-1!../../../node_modules/postcss-loader/lib/index.js??postcss!alertifyjs/build/css/alertify.css\"), \"\");\n\n// module\nexports.push([module.id, \".flex-container{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}label.block-label{display:block;margin-bottom:.5rem}div.inline-div{display:inline-block}.gray-out{background-color:grey}.red{color:red}a.disabled{color:gray;cursor:not-allowed;text-decoration:none}a.router-link-menu{color:#000;text-decoration:none}span.block-span{display:block;margin-bottom:.5rem}.text-alert{color:red}.screen-disable{width:100%;height:100%;top:0;left:0;padding:0;margin:0;background:rgba(0,0,0,.7);display:none;position:fixed;z-index:100;display:block}.dbo-title{font-size:20px;text-align:center}.dob-mismatch-container{position:relative;padding-left:50px;font-size:14px}.dob-mismatch-message{line-height:1.4;font-family:arial,helvetica,sans-serif;font-weight:700;font-size:16px}.dob-mismatch-container:before{display:block;position:absolute;left:0;top:0;content:\\\"!\\\";border-radius:50%;border:1px solid red;width:2rem;height:2rem;line-height:22px;text-align:center;color:red;font-weight:400}.highlight{font-weight:700}.navClass{border:.5;padding-left:1rem;padding-right:1rem}.navClass>ul{cursor:pointer;font-family:Tahoma,Verdana,Arial;font-weight:400;font-size:Verdana,Tahoma,Arial;background-color:#ccf;width:100%;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b;padding-left:.25rem}.navClass>ul>li{display:inline-block;padding:.425rem .5rem;position:relative}.navClass>ul>li:hover{background-color:#5050f0}ul.sub-menu{cursor:pointer;position:absolute;background-color:#ccf;list-style-type:none;width:16rem;margin-left:-.5rem;padding-left:.5rem;padding-top:.5rem;display:none;border-left:.2rem solid #9e9e9e;border-top:.2rem solid #9e9e9e;border-bottom:.2rem solid #4b4b4b;border-right:.2rem solid #4b4b4b}ul.sub-menu li{padding-left:.5em;padding-bottom:.4em}.navClass li:hover ul.sub-menu{display:block}.navClass ul.sub-menu li:hover{background-color:#5050f0;color:#fff}.loader,.loader:after,.loader:before{background:#f66733;-webkit-animation:load1 1s infinite ease-in-out;animation:load1 1s infinite ease-in-out;width:1em;height:4em}.loader{color:#522d80;text-indent:-9999em;left:50%;top:50%;position:fixed;z-index:1000;font-size:11px;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-animation-delay:-.16s;animation-delay:-.16s}.loader:after,.loader:before{position:fixed;z-index:1000;content:\\\"\\\"}.loader:before{left:-1.5em;-webkit-animation-delay:-.32s;animation-delay:-.32s}.loader:after{left:1.5em}@-webkit-keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}@keyframes load1{0%,80%,to{-webkit-box-shadow:0 0;box-shadow:0 0;height:4em}40%{-webkit-box-shadow:0 -2em;box-shadow:0 -2em;height:5em}}label{font-weight:400;display:block;padding:2px 0 32px}#spacerxxsm{padding-top:.5rem}#spacerxsm{padding-top:1.5rem}#woHeader{margin:0 auto;border:0;background-color:#ccf;padding-left:3.5rem}#woHeader-left{width:77rem;vertical-align:left;text-align:left;float:left}#woHeader-main{padding:1rem;width:19rem;text-align:right}.Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}#woMain{margin:2.9rem 3rem;border:0;background-color:beige;width:150rem;padding-left:.6rem}#woHeader div{padding:1rem;float:left;background-color:#ccf}#woComment-left{font-weight:700;width:67rem}#woComment-left,#woComment-text{vertical-align:left;text-align:left;float:left}textarea{resize:none}#woButton{margin:13rem -45rem;width:45rem;vertical-align:left;text-align:left;float:left;padding-left:10rem}.btnClass>ul>li{list-style-type:none;display:inline-block;padding:5rem 10rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/researcherTaskComment/researcherTaskComment.component.scss\n// module id = ./src/app/researcherTaskComment/researcherTaskComment.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport { ResearcherService, MessageQueService} from '../../services/index';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport { AlertResult } from '../../models/alertifyPromise';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-tasklist-comments',\r\n templateUrl: 'researcherTaskComment.component.html',\r\n styleUrls: ['researcherTaskComment.component.scss'],\r\n providers: [ResearcherService, MessageQueService]\r\n})\r\n\r\nexport class ResearcherTaskCommentComponent implements OnInit {\r\n model: any = {};\r\n constructor(private router: Router, private msgSvc: MessageQueService, private researcherService: ResearcherService) {\r\n\r\n this.model.status = JSON.parse(localStorage.getItem('status'));\r\n this.model.requestNbr = (localStorage.getItem('requests'));\r\n localStorage.removeItem('status');\r\n\r\n this.researcherService.getResearchTaskComment(this.model.requestNbr)\r\n .subscribe(\r\n (data) => {\r\n this.model.comment = data;\r\n });\r\n }\r\n ngOnInit() {\r\n this.msgSvc.setControlKey();\r\n }\r\n submit() {\r\n this.researcherService.saveResearcherTaskComments(this.model.requestNbr, this.model.comment)\r\n .subscribe(\r\n (data) => {\r\n if (data === 200) {\r\n window.close();\r\n } else if (data === 401) {\r\n window.close();\r\n this.router.navigate(['login']);\r\n }\r\n });\r\n }\r\n deleteComment() {\r\n if (this.model.comment != null) {\r\n this.researcherService.deleteResearcherTaskComments(this.model.requestNbr)\r\n .subscribe(\r\n (data) => {\r\n if (data === 200) {\r\n window.close();\r\n } else if (data === 401) {\r\n window.close();\r\n }\r\n });\r\n } else {\r\n window.close();\r\n }\r\n }\r\n doSubmit(type: string) {\r\n if (type === 'Save') {\r\n if (this.model.change === false) {\r\n type = 'Cancel';\r\n this.submit();\r\n } else {\r\n this.saveAlertBox();\r\n }\r\n } else if (type === 'Cancel') {\r\n window.close();\r\n } else if (type === 'Delete') {\r\n this.deleteComment();\r\n }\r\n }\r\n checkStatus() {\r\n if (this.model.status === 'W' || this.model.status === 'C' || this.model.status === 'U') {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n isEnabled() {\r\n if (this.model.status === 'W' || this.model.status === 'C' || this.model.status === 'U') {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n commentChanged() {\r\n this.model.change = true;\r\n }\r\n async saveAlertBox() {\r\n const message = `During times of heavy system activity, Task Comments may\r\n take up to 5-10 minutes to post. This is expected behavior.\r\n Thank you for your understanding`;\r\n const alertResult = await PopupHelper.saveComment(message);\r\n if (alertResult === AlertResult.Ok) {\r\n this.submit();\r\n }\r\n }\r\n about() {\r\n PopupHelper.systemVersion();\r\n }\r\n support() {\r\n PopupHelper.support();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/researcherTaskComment/researcherTaskComment.component.ts","module.exports = \"\\r\\n
\\r\\n
\\r\\n
Work Order List For {{taskList.gisUserName}}
\\r\\n
Assigned Workorders: {{taskList.requestTotal}}
\\r\\n
New Workorders: {{taskList.newTotal}}
\\r\\n
Late Workorders: {{taskList.lateTotal}}
\\r\\n
Effective: {{taskList.currentSysDt}}
\\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
Requests Displayed are {{taskList.min}} - {{totalWorkOrdersOnPage}} of {{totalWorkOrders}}
\\r\\n
Filter By Jurisdiction:\\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 \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
SelectWork OrderJurisdictionReference Name/SSN/DOB/Res. AddRequest DateResult/Action
\\r\\n \\r\\n \\r\\n {{item.caseNbr}}\\r\\n
{{item.woValue}}
\\r\\n {{item.reportAllText}}\\r\\n \\r\\n
\\r\\n
\\r\\n {{item.woSourceName}}
{{item.jurisdiction}}
{{item.woPhone}}
Search Dates: {{item.searchFromDt}} - {{item.searchToDt}}
\\r\\n
{{item.refName}}
{{item.ssnDisplay}}
{{item.dobDisplay}}
{{item.refAddr1}}, {{item.refCity}}, {{item.refState}}, {{item.refZip}}
{{item.dis_RequestDt}}\\r\\n
No Record\\r\\n
\\r\\n
Handle Manually\\r\\n
\\r\\n
\\r\\n Pending\\r\\n
\\r\\n \\r\\n
Comments\\r\\n
\\r\\n \\r\\n
Deferred\\r\\n
\\r\\n
Admitted Not Found\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/researcherTaskList/ResearcherTaskList.component.html\n// module id = ./src/app/researcherTaskList/ResearcherTaskList.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \".Hide{DISPLAY:none}label{font-weight:400;display:block;padding:2px 0 32px}.hdrClass{font-size:8pt;font-family:Verdana,Tahoma,Arial;background-color:#ccf}#spacer{padding-top:1.6em}#spacersm{padding-top:3.5em}#spacerxsm{padding-top:.5em}#spacers{padding-top:2.5em}#wrapper{background-color:#ccf;margin:22px}#Wrapper{background-color:beige}#woHeader{margin:0 auto;border:.5;width:100%;padding-left:.5rem}#woHeader,#woHeader div{background-color:#ccf;display:inline-block}#woHeader div{padding:.7rem}#woHeader-left{width:38.5rem;vertical-align:left;text-align:left;display:fixed}#woHeader-main{width:15rem;text-align:right;display:fixed}#woHeader-rightmain{width:20.4rem;text-align:right;display:fixed}#woHeader-right{text-align:right;float:right}.Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}#woMain{margin:0 auto;font-size:8pt;background-color:beige;border:.5;width:100%;padding-left:4rem;padding-right:4rem;display:inline-block}#woButton-main{width:21rem}#woButton-left,#woButton-main{vertical-align:left;text-align:left;float:left}#woButton-left{width:15.2rem}#woLinkSelect{width:10rem}#woLinkClear,#woLinkSelect{vertical-align:left;text-align:left;float:left}#woLinkClear{width:41.5rem}#woButton-rightmain{width:24.3em;vertical-align:left;text-align:left;float:left}#woButton-right{text-align:right;float:left}#center{text-align:center}#woJuris-left{width:100.8em;vertical-align:left;text-align:left;float:left}#woJuris-right{width:122em}#woJuris,#woJuris-right{text-align:right;float:left}#woJuris{width:109.5em}#JurisdictionFilter{width:225px}.tblJuris{border:0;-webkit-column-span:2;column-span:2;width:95%}.tblJuris .first{vertical-align:\\\"left\\\";width:\\\"70%\\\"}.tblJuris .second{vertical-align:\\\"left\\\";width:\\\"25%\\\"}.tblWO{border:.5;-webkit-column-span:6;column-span:6;width:100%;padding-left:4rem;padding-right:4rem}.tblWO .first{width:3%;font-size:8pt;-ms-flex-line-pack:center;align-content:center}.tblWO .second{word-wrap:break-word}.tblWO .second,.tblWO .third{width:35rem;text-align:left;font-size:8pt}.tblWO .fourth{width:32rem}.tblWO .fifth,.tblWO .fourth{font-size:8pt;text-align:left}.tblWO .fifth{width:20rem}.tblWO .sixth{width:10%;vertical-align:\\\"left\\\";font-size:8pt;text-align:left}.btnClass>ul>li{list-style-type:none;display:inline-block;padding:5px 10px}.link{FONT-FAMILY:Verdana,Tahoma,Arial;font-size:10px;width:95px}.DisplayLate{color:tomato}.Display,.DisplayLate{border-right:medium none;border-top:medium none;font-size:8pt;border-left:medium none;border-bottom:medium none;font-family:Verdana,Tahoma,Arial;background-color:beige}.Disable{pointer-events:none;cursor:default;color:gray}.Invisible{display:none}div{overflow:hidden}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/researcherTaskList/researcherTaskList.component.scss\n// module id = ./src/app/researcherTaskList/researcherTaskList.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { ResearcherTaskList, WorkOrder, WorkOrderComplete, SubmitTask, SubmitTaskDialog } from '../../models/index';\r\nimport Jurisdiction from '../../models/jurisdiction';\r\nimport { ResearcherService, MessageQueService } from '../../services/index';\r\nimport BrowserWindowObjectService from '../../services/browserWindowObjectService';\r\nimport { ConfirmResult, AlertResult } from '../../models/alertifyPromise';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport ComplianceAuditLog from '../../models/complianceAuditLog';\r\nimport ComplianceAuditLogService from '../../services/complianceAuditLogService';\r\n\r\nexport enum woc {\r\n removePending = 'RP',\r\n noHits = 'NH',\r\n removeNoHits = 'RH',\r\n pendingRequest = 'PR',\r\n}\r\n\r\n@Component({\r\n templateUrl: 'ResearcherTaskList.component.html',\r\n styleUrls: ['researcherTaskList.component.scss'],\r\n providers: [ResearcherService, BrowserWindowObjectService, MessageQueService]\r\n})\r\nexport class ResearcherTaskListComponent implements OnInit {\r\n totalWorkOrdersOnPage = 0;\r\n totalWorkOrders = 0;\r\n config: string[];\r\n submitTaskDialog: SubmitTaskDialog[] = [];\r\n submitTask: SubmitTask[] = [];\r\n filter: SubmitTask[] = [];\r\n submitList: SubmitTask;\r\n defaultStr = 'Not Selected';\r\n taskList: ResearcherTaskList;\r\n wo: WorkOrder[] = [];\r\n stateData: WorkOrder[] = [];\r\n woData: WorkOrder;\r\n isConfirmed: Boolean;\r\n juris: Jurisdiction;\r\n jurFilters: Jurisdiction[] = [];\r\n originalAdmitted: any[] = [];\r\n admittedAll: any[] = [];\r\n requestNbrs: any[] = [];\r\n model: any = {};\r\n noHits: HTMLInputElement;\r\n pending: HTMLInputElement;\r\n anf: HTMLInputElement;\r\n originalStatus: string;\r\n woComplete: WorkOrderComplete;\r\n complianceAuditLogs: Array;\r\n sortParams: string;\r\n headerRP = 0;\r\n headerNH = 0;\r\n headerRH = 0;\r\n headerPR = 0;\r\n wComment: Window;\r\n cacheControlKey: string;\r\n\r\n constructor(private router: Router, private researcherService: ResearcherService, private route: ActivatedRoute,\r\n private bwObjectService: BrowserWindowObjectService, private msgSvc: MessageQueService,\r\n private complianceAuditLogService: ComplianceAuditLogService) {\r\n\r\n this.model.jurisdictionId = 0;\r\n this.woComplete = new WorkOrderComplete;\r\n this.submitList = new SubmitTask;\r\n this.model.viewAsLink = false;\r\n this.route.params.subscribe(params => {\r\n this.model.requestType = params['status'];\r\n this.model.type = localStorage.getItem('sortType');\r\n this.model.jurisdictionId = (params['jurisdictionId'] === undefined) ? 0 : params['jurisdictionId'];\r\n this.model.selectedValue = 0;\r\n });\r\n }\r\n ngOnInit() {\r\n this.msgSvc.setControlKey(); // ('CacheControlKey');\r\n\r\n if (this.model.type === 'sorting') {\r\n this.model.selectedValue = JSON.parse(localStorage.getItem('selection'));\r\n this.totalWorkOrdersOnPage = this.wo.length;\r\n this.totalWorkOrders = this.wo.length;\r\n\r\n if (this.model.selectedValue !== 'ns') {\r\n this.filterWorkOrderList();\r\n } else {\r\n this.getResearcherTaskData();\r\n }\r\n this.removeSortingArray();\r\n } else {\r\n this.setDefaultOrder();\r\n this.getResearcherTaskData();\r\n }\r\n this.model.isSubmitDisabled = false;\r\n }\r\n getJurisdiction() {\r\n for (const item of JSON.parse(localStorage.getItem('jurisdictions'))) {\r\n this.juris = {\r\n jurisdictionId: item.jurisdictionId,\r\n description: item.description,\r\n count: 0\r\n };\r\n this.jurFilters.push(this.juris);\r\n }\r\n }\r\n getResearcherTaskData() {\r\n let i = 0;\r\n this.taskList = new ResearcherTaskList;\r\n this.woData = new WorkOrder;\r\n this.wo.length = 0;\r\n this.jurFilters.length = 0;\r\n this.stateData.length = 0;\r\n this.researcherService.getResearchTaskList(this.model.requestType, this.model.jurisdictionId)\r\n .subscribe(\r\n (data) => {\r\n this.totalWorkOrdersOnPage = data.length;\r\n this.totalWorkOrders = data.length;\r\n for (const item of data) {\r\n for (0; i < 1; i++) { // item.sourceType\r\n this.taskList = {\r\n calculatedValue: (item.sourceType === 'EX') ? this.getExTotal(item) : this.getIntTotal(item),\r\n currentSysDt: item.iso_SysDt, crrsrCount: 17, dataType1: 'string', dataType2: 'number',\r\n dataType3: 'number', detailWork: this.model.requestType,\r\n displayNumber: (item.sourceType === 'EX') ? this.getExDisplayNumber(item) : this.getIntDisplayNumber(item),\r\n emailAddress: item.emailAddress, errorDescription: '', filterText: '', filterTotal: 1, fullName: item.sourceName,\r\n gisUserName: item.gisUserName, lateTotal: item.lateTotal, max: 100, min: 1,\r\n newTotal: item.newTotal, numbers: (item.newTotal > item.max) ? item.max : item.newTotal,\r\n requestTotal: item.requestTotal, sortOne: 'jurisdiction', sortTwo: 'dis_RequestDt',\r\n sortThree: 'refName', sortOrder1: 'ascending', sortOrder2: 'descending', sortOrder3: 'ascending',\r\n sourceName: item.sourceName, sourceType: item.sourceType, sysID: '', totalDisplayRequest: 1\r\n };\r\n }\r\n this.woData = {\r\n admissionInfo: '', // item.admissionInfo,\r\n admittedCrimeNotFound: item.admittedCrimeNotFound,\r\n caseNbr: item.caseNbr,\r\n checked: false,\r\n crrsrCount: 200,\r\n custId: item.custId,\r\n deferred: item.deferred,\r\n dis_DueDt: item.dis_DueDt,\r\n dis_RequestDt: item.dis_RequestDt,\r\n dis_RequestDt_sort: new Date(item.dis_RequestDt),\r\n dob: item.dob,\r\n dobDisplay: (item.dob !== '') ? item.dob : 'No DOB On File',\r\n driversLicense: '', // item.driversLicense,\r\n emailAddress: item.emailAddress,\r\n filterText: item.filterText,\r\n filterTotal: 100, // count(CR_RequestSpecialRetrieve[@JurisdictionId = $filterText])\r\n hrefAttachDoc: item.hrefAttachDoc,\r\n hrefCif: item.hrefCif,\r\n gisUserName: item.gisUserName,\r\n isLate: this.getLateStatus(this.model.requestType, item.dis_DueDt, item.iso_SysDt), // using dis_DueDt because of format\r\n iso_DueDt: item.iso_DueDt,\r\n iso_SysDt: item.iso_SysDt,\r\n jurisdiction: item.jurisdiction,\r\n jurisdictionId: item.jurisdictionId,\r\n lateTotal: item.lateTotal,\r\n linkColor: this.getLinkColor(item),\r\n manualInd: item.manualInd,\r\n max: 100,\r\n min: 1,\r\n nameRefNbr: item.nameRefNbr,\r\n newTotal: item.newTotal,\r\n ociIndicator: item.ociIndicator,\r\n pendingComments: item.pendingComments,\r\n phone: '',\r\n position: '',\r\n printInd: item.printInd,\r\n recordFound: item.recordFound,\r\n refAddr1: item.refAddr1,\r\n refCity: item.refCity,\r\n refName: item.refName,\r\n refState: item.refState,\r\n refZip: item.refZip,\r\n requestNbr: item.requestNbr,\r\n requestTotal: item.requestTotal,\r\n reportAll: item.reportAll,\r\n reportAllText: this.getReportAllText(item),\r\n searchFromDt: item.searchFromDt,\r\n searchToDt: item.searchToDt,\r\n signedRelInd: item.signedRelInd,\r\n sourceName: item.sourceName,\r\n sourceType: item.sourceType,\r\n specialInstr: item.specialInstr,\r\n showInstruction: (item.specialInstr === 'Y') ? 'Display' : 'Invisible',\r\n ssn: item.ssn,\r\n ssnDisplay: (item.ssn.length > 0) ? 'XXX-XX-' + item.ssn.substr(5) : 'No Social Security Nbr On File',\r\n status: item.status,\r\n strWork: '',\r\n totalInstruction: (item.specialInstr === 'Y') ? 1 : 0,\r\n url: '',\r\n woPhone: (this.validatePhone(item.sourceType, item.phone)) ? item.phone : '',\r\n woSourceName: (this.model.requestType === 'ByCaseAll') ? item.sourceName : '',\r\n woURL: (this.validateUrl(item.sourceType, item.url)) ? item.url : '',\r\n woValue: this.getCaseStatus(item),\r\n woNoHitsDisable: this.setDisabled(item, 'NoHits'),\r\n woPendingDisable: this.setDisabled(item, 'Pending'),\r\n woNoHitsDisplay: this.display(item, 'NoHits'),\r\n woManualDisplay: this.display(item, 'Manual'),\r\n woPendingDisplay: this.display(item, 'Pending'),\r\n woPendingLinkDisplay: this.display(item, 'PendingLink'),\r\n woRecordDisplay: this.display(item, 'RecordFound'),\r\n woCommentsDisplay: this.display(item, 'Comments'),\r\n woSearchDisplay: this.display(item, 'SearchCapture'),\r\n woDeferredDisplay: this.display(item, 'Deferred'),\r\n woAdmittedDisplay: '',\r\n woNoHitsChecked: this.setCheckbox(item, 'NoHits'),\r\n woManualChecked: this.setCheckbox(item, 'Manual'),\r\n woPendingChecked: this.setCheckbox(item, 'Pending'),\r\n woDeferredChecked: this.setCheckbox(item, 'Deferred'),\r\n woAdmittedChecked: this.setCheckbox(item, 'Admitted'),\r\n woNoHitsName: 'cbNoHits' + item.requestNbr,\r\n woManualName: 'cbManual' + item.requestNbr,\r\n woPendingName: 'cbPending' + item.requestNbr,\r\n woDeferredName: 'cbDeferred' + item.requestNbr,\r\n woAdmittedName: 'cbAdmitted' + item.requestNbr,\r\n licenseNumber: item.licenseNumber,\r\n isHeightenedIdentifier: item.isHeightenedIdentifier,\r\n colorValue: this.getColorValue(item.status, item.dis_DueDt, item.iso_SysDt),\r\n };\r\n this.wo.push(this.woData);\r\n }\r\n for (const item of JSON.parse(localStorage.getItem('jurisdictions'))) {\r\n this.juris = {\r\n jurisdictionId: item.jurisdictionId,\r\n description: item.description,\r\n count: 0\r\n };\r\n this.jurFilters.push(this.juris);\r\n }\r\n });\r\n this.stateData = this.wo;\r\n this.isJurisVisible();\r\n }\r\n isJurisVisible(): Boolean {\r\n if (this.taskList.sourceType === 'EX') {\r\n if (this.taskList.detailWork === 'New' || this.taskList.detailWork === 'Late' || this.taskList.detailWork === 'Filter') {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } else if (this.taskList.sourceType === undefined) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n isVisible(type: string, validate: string): Boolean {\r\n if (type === 'IH') {\r\n return (validate !== '') ? true : false;\r\n } else {\r\n return false;\r\n }\r\n }\r\n getCaseStatus(item: WorkOrder): string {\r\n let status: string;\r\n if (item.sourceType === 'IH') {\r\n if (item.custId !== '') {\r\n status = `{{item.custId}}`;\r\n }\r\n }\r\n if (item.printInd === 'Y') {\r\n status = 'Has Been Printed';\r\n this.model.viewAsLink = false;\r\n }\r\n if (item.signedRelInd === 'Y') {\r\n status = 'Release Required';\r\n this.model.viewAsLink = false;\r\n }\r\n if (item.status === 'W' || item.status === 'C' || item.status === 'U' || item.status === 'E' || item.signedRelInd === 'Y' || item.ociIndicator === 'Y') {\r\n status = item.custId;\r\n this.model.viewAsLink = false;\r\n }\r\n return status;\r\n }\r\n getReportAllText(item: WorkOrder): string {\r\n let status: string;\r\n if (item.reportAllText !== '' && item.reportAllText !== null && item.reportAllText !== undefined) {\r\n status = item.reportAllText;\r\n } else {\r\n status = '';\r\n }\r\n return status;\r\n }\r\n getExDisplayNumber(item: WorkOrder): number {\r\n if (this.model.requestType === 'New') {\r\n const number = (item.newTotal > item.max) ? item.max : item.newTotal;\r\n return (number > item.newTotal) ? item.newTotal : number;\r\n } else if (this.model.requestType === 'Late') {\r\n return (item.lateTotal > item.max) ? item.max : item.lateTotal;\r\n } else if (this.taskList.filterText !== '') {\r\n return (item.filterTotal > item.max) ? item.max : item.filterTotal;\r\n } else if (this.model.requestType === 'Filter') {\r\n return (item.filterTotal > item.max) ? item.filterTotal : item.max;\r\n } else {\r\n return (this.taskList.totalDisplayRequest > item.max) ? item.max : this.taskList.totalDisplayRequest;\r\n }\r\n }\r\n getExTotal(item: WorkOrder): number {\r\n if (this.model.requestType === 'New') {\r\n return item.newTotal;\r\n } else if (this.model.requestType === 'Late') {\r\n return item.lateTotal;\r\n } else if ((item.filterText !== '') || (this.model.requestType === 'Filter')) {\r\n return item.filterTotal;\r\n } else {\r\n return this.taskList.totalDisplayRequest;\r\n }\r\n }\r\n getIntDisplayNumber(item: WorkOrder): number {\r\n if (this.model.requestType === 'New') {\r\n return (this.taskList.totalDisplayRequest > item.newTotal) ? item.newTotal : this.taskList.totalDisplayRequest;\r\n } else if (this.model.requestType === 'Late') {\r\n return (this.taskList.totalDisplayRequest > item.lateTotal) ? item.lateTotal : this.taskList.totalDisplayRequest;\r\n } else {\r\n return (item.max > this.taskList.totalDisplayRequest) ? this.taskList.totalDisplayRequest : item.max;\r\n }\r\n }\r\n getIntTotal(item: WorkOrder): number {\r\n if (this.model.requestType === 'New') {\r\n return item.newTotal;\r\n } else if (this.model.requestType === 'Late') {\r\n return item.lateTotal;\r\n } else {\r\n return this.taskList.totalDisplayRequest;\r\n }\r\n }\r\n validateUrl(sourceType: string, url: string): boolean {\r\n if (sourceType === 'IH') {\r\n return (url !== '') ? true : false;\r\n } else {\r\n return false;\r\n }\r\n }\r\n getColorValue(status: string, disDueDt: string, isoSysDt: string): string {\r\n let color: string;\r\n if (status === 'C' || status === 'W' || status === 'U') {\r\n color = 'Green';\r\n } else if (status === 'I' || status === 'L' || status === 'Q') {\r\n color = (this.parseDate(disDueDt, isoSysDt)) ? 'Red' : 'Black';\r\n } else {\r\n color = (this.getLateStatus(this.model.requestType, disDueDt, isoSysDt)) ? 'Red' : 'Black';\r\n }\r\n return color;\r\n }\r\n getLateStatus(detailWork: string, disDueDt: string, isoSysDt: string): Boolean {\r\n if (detailWork === 'Late') {\r\n return true;\r\n } else {\r\n return (this.parseDate(disDueDt, isoSysDt)) ? true : false;\r\n }\r\n }\r\n parseDate(disDueDt: string, isoSysDt: string): Boolean {\r\n return (new Date(disDueDt) < new Date(isoSysDt)) ? true : false;\r\n }\r\n validatePhone(sourceType: string, phone: string): boolean {\r\n if (sourceType === 'IH') {\r\n return (phone !== '') ? true : false;\r\n } else {\r\n return false;\r\n }\r\n }\r\n display(item: WorkOrder, type: string): string {\r\n let display = '';\r\n switch (type) {\r\n case 'NoHits': {\r\n display = 'Display';\r\n break;\r\n }\r\n case 'Manual': {\r\n if (item.ociIndicator === 'Y') {\r\n display = 'Display';\r\n } else {\r\n display = 'Invisible';\r\n }\r\n break;\r\n }\r\n case 'Pending': {\r\n display = 'Display';\r\n break;\r\n }\r\n case 'PendingLink': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n display = 'Disable';\r\n } else {\r\n display = 'Display';\r\n }\r\n break;\r\n }\r\n case 'Deferred': {\r\n if (item.status === 'Q') {\r\n display = 'Display';\r\n } else {\r\n display = 'Invisible';\r\n }\r\n break;\r\n }\r\n case 'SearchCapture': {\r\n if (item.status !== 'C' && item.status !== 'W' && item.status !== 'U') {\r\n if (this.taskList.sourceType !== 'EX') {\r\n display = 'Display';\r\n } else {\r\n display = 'Invisible';\r\n }\r\n } else {\r\n display = 'Invisible';\r\n }\r\n break;\r\n }\r\n case 'RecordFound': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n if (item.recordFound === 'Y') {\r\n if (item.status !== 'W') {\r\n if (item.specialInstr === 'Y') {\r\n display = 'Disable';\r\n } else {\r\n display = 'Display';\r\n }\r\n } else if (item.status === 'W') {\r\n if (item.specialInstr === 'Y') {\r\n display = 'Disable';\r\n } else {\r\n display = 'Display';\r\n }\r\n }\r\n }\r\n } else {\r\n if (item.specialInstr === 'Y') {\r\n display = 'Disable';\r\n } else {\r\n display = 'Display';\r\n }\r\n }\r\n break;\r\n }\r\n default: {\r\n display = 'Display';\r\n }\r\n }\r\n return display;\r\n }\r\n getLinkColor(item: WorkOrder): string {\r\n if (item.specialInstr === 'Y') {\r\n return 'Gray';\r\n } else {\r\n return 'Blue';\r\n }\r\n }\r\n setCheckbox(item: WorkOrder, type: string): Boolean {\r\n let checked = false;\r\n switch (type) {\r\n case 'NoHits': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n if (item.recordFound === 'Y') {\r\n checked = true;\r\n item.woNoHitsDisable = true;\r\n }\r\n } else {\r\n if (item.specialInstr === 'Y') {\r\n item.woNoHitsDisable = true;\r\n }\r\n checked = false;\r\n }\r\n break;\r\n }\r\n case 'Manual': {\r\n if (item.ociIndicator === 'Y') {\r\n if (item.manualInd === 'Y') {\r\n checked = true;\r\n } else {\r\n checked = false;\r\n }\r\n }\r\n break;\r\n }\r\n case 'Pending': {\r\n if (item.status === 'P') {\r\n checked = true;\r\n } else {\r\n checked = false;\r\n }\r\n break;\r\n }\r\n case 'Deferred': {\r\n if (item.status === 'Q') {\r\n if (item.deferred === 'o') {\r\n checked = true;\r\n } else {\r\n checked = false;\r\n }\r\n }\r\n break;\r\n }\r\n case 'Admitted': {\r\n if (item.admittedCrimeNotFound === true) {\r\n checked = true;\r\n this.originalAdmitted.push(item.requestNbr);\r\n } else {\r\n checked = false;\r\n }\r\n break;\r\n }\r\n default: {\r\n checked = false;\r\n }\r\n }\r\n return checked;\r\n }\r\n setDisabled(item: WorkOrder, type: string): Boolean {\r\n let disable = false;\r\n switch (type) {\r\n case 'NoHits': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n if (item.recordFound === 'Y' || (item.specialInstr === 'Y')) {\r\n disable = true;\r\n } else if (item.recordFound === 'N' || (item.specialInstr === 'Y')) {\r\n disable = true;\r\n }\r\n } else {\r\n if (item.specialInstr === 'Y') {\r\n disable = true;\r\n }\r\n }\r\n break;\r\n }\r\n case 'Pending': {\r\n if (item.status === 'C' || item.status === 'W' || item.status === 'U') {\r\n disable = true;\r\n } else {\r\n disable = false;\r\n }\r\n break;\r\n }\r\n default: {\r\n disable = false;\r\n }\r\n }\r\n return disable;\r\n }\r\n pendingWorkOrder(objValue: string, requestNbr: string, caseNbr: string, refName: string, status: string) {\r\n this.getOriginalState(requestNbr);\r\n\r\n for (const item of this.wo) {\r\n if (item.requestNbr === +requestNbr) {\r\n this.woComplete.pendingComments = item.pendingComments;\r\n break;\r\n }\r\n }\r\n this.woComplete.requestNbr = requestNbr;\r\n this.woComplete.caseNbr = caseNbr;\r\n this.woComplete.refName = refName;\r\n this.woComplete.currentStatus = status;\r\n\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n this.pending = document.getElementById('cbPending' + requestNbr);\r\n\r\n if (objValue === 'Link') {\r\n if (!this.pending.checked) {\r\n this.woComplete.pendingComments = null;\r\n this.pendingWOHelper('Pending comment not checked.');\r\n } else if (this.woComplete.pendingComments === null || this.woComplete.pendingComments === '') {\r\n this.pendingWOHelper('There are no pending comments for this request.');\r\n this.pending.checked = false;\r\n } else {\r\n const holdComment = this.woComplete.pendingComments;\r\n if (this.woComplete.pendingComments === undefined) {\r\n this.woComplete.pendingComments = window.prompt('Please enter an explanation for placing this Work Order into a Pending Status.', '');\r\n } else {\r\n this.woComplete.pendingComments = window.prompt('Please enter an explanation for placing this Work Order into a Pending Status.', this.woComplete.pendingComments);\r\n }\r\n // canceled\r\n if (this.woComplete.pendingComments === null) {\r\n this.woComplete.pendingComments = holdComment;\r\n if (holdComment === '' || holdComment === undefined || holdComment === null) {\r\n this.pending.checked = false;\r\n } else {\r\n this.pending.checked = true;\r\n }\r\n }\r\n for (const item of this.wo) {\r\n if (item.requestNbr === +requestNbr) {\r\n if (this.pending.checked === true && (this.woComplete.pendingComments !== null || this.woComplete.pendingComments !== undefined)) {\r\n item.pendingComments = this.woComplete.pendingComments;\r\n break;\r\n } else if (this.pending.checked === false || this.woComplete.pendingComments === undefined) {\r\n item.pendingComments = null;\r\n break;\r\n }\r\n }\r\n }\r\n if (this.pending.checked === true) {\r\n this.woComplete.currentStatus = 'P';\r\n this.populateList(this.woComplete.requestNbr, this.woComplete.pendingComments, this.woComplete.currentStatus);\r\n }\r\n }\r\n return;\r\n }\r\n if (this.pending.checked === true) {\r\n if (this.woComplete.pendingComments === undefined || this.woComplete.pendingComments === null || this.woComplete.pendingComments === '') {\r\n this.woComplete.pendingComments = '';\r\n }\r\n\r\n this.woComplete.pendingComments = this.woComplete.pendingComments;\r\n this.woComplete.pendingComments = window.prompt('Please enter an explanation for placing this Work Order into a Pending Status.', this.woComplete.pendingComments);\r\n\r\n if (this.woComplete.pendingComments === undefined || this.woComplete.pendingComments === '' || this.woComplete.pendingComments === null) {\r\n this.pending.checked = false;\r\n if (this.noHits.checked === true) {\r\n this.noHits.checked = true;\r\n }\r\n this.pendingWOHelper('A comment must be entered when a Work Order is placed in Pending Status.');\r\n }\r\n if (this.woComplete.currentStatus === 'C') {\r\n this.woComplete.removeNoHit = `No longer marked as No Record - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr}` + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removeNoHit, this.woComplete.removeNoHitsMsg, woc.removeNoHits);\r\n\r\n this.noHits.checked = false;\r\n this.woComplete.currentStatus = 'P';\r\n this.woComplete.pendingRequests = `Set To Pending - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr}` + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.pendingRequests, this.woComplete.pendingRqstMsg, woc.pendingRequest);\r\n } else if (this.pending.checked === true) {\r\n this.woComplete.currentStatus = 'P';\r\n this.noHits.checked = false;\r\n this.woComplete.pendingRequests = `Set To Pending - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr}` + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.pendingRequests, this.woComplete.pendingRqstMsg, woc.pendingRequest);\r\n } else {\r\n this.woComplete.currentStatus = 'I';\r\n if (this.noHits.checked === true) {\r\n this.noHits.checked = true;\r\n } else {\r\n this.noHits.checked = false;\r\n }\r\n }\r\n } else {\r\n if (this.woComplete.currentStatus === 'P') {\r\n this.woComplete.removePending = `No longer marked as Pending - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr}` + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n this.pending.checked = false;\r\n this.woComplete.currentStatus = 'I';\r\n } else {\r\n this.woComplete.currentStatus = 'I';\r\n this.woComplete.removePending = '\\n' + `No longer marked as Pending - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr}` + '\\n\\n';\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n }\r\n }\r\n for (const item of this.wo) {\r\n if (item.requestNbr === +requestNbr) {\r\n if (this.woComplete.pendingComments !== '') {\r\n item.pendingComments = this.woComplete.pendingComments;\r\n break;\r\n }\r\n }\r\n }\r\n this.populateList(this.woComplete.requestNbr, this.woComplete.pendingComments, this.woComplete.currentStatus);\r\n }\r\n completeWorkOrder(requestNbr: string, caseNbr: string, refName: string) {\r\n this.woComplete.requestNbr = requestNbr;\r\n this.woComplete.caseNbr = caseNbr;\r\n this.woComplete.refName = refName;\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n this.pending = document.getElementById('cbPending' + requestNbr);\r\n\r\n if (this.noHits.checked === true) {\r\n if (this.pending.checked === true) {\r\n this.pending.checked = false;\r\n }\r\n this.noHitsConfirmation(`You have selected No Record Found. Select OK to confirm or Cancel to remove selection.`, requestNbr, true);\r\n } else {\r\n this.noHitsConfirmation(`You have removed the selection of No Record Found. Select OK to confirm or Cancel to keep No Record selected.`, requestNbr, false);\r\n }\r\n }\r\n populateList(requestNbr: string, comment: string, status: string) {\r\n if (!this.checkList(requestNbr)) {\r\n this.populateTaskList(requestNbr, comment, status, false);\r\n } else {\r\n this.submitTask = this.submitTask.filter(item => item.RequestNbr !== requestNbr);\r\n this.populateTaskList(requestNbr, comment, status, false);\r\n }\r\n }\r\n checkList(requestNbr: string): boolean {\r\n let exists = false;\r\n for (const item of this.submitTask) {\r\n if (item.RequestNbr === requestNbr) {\r\n exists = true;\r\n break;\r\n }\r\n }\r\n return exists;\r\n }\r\n openWindow(type: string, caseNbr: string, requestNbr: string, ) {\r\n switch (type) {\r\n case 'Edit': {\r\n this.confirmEditVerifications(requestNbr, caseNbr);\r\n break;\r\n }\r\n default: {\r\n }\r\n }\r\n }\r\n specialInstruction(requestNbr: string) {\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n for (const item of this.wo) {\r\n if (this.noHits.defaultValue === item.requestNbr.toString()) {\r\n item.woNoHitsDisable = false;\r\n item.woRecordDisplay = 'Display';\r\n item.linkColor = 'Blue';\r\n break;\r\n }\r\n }\r\n this.msgSvc.saveRequestNbrs(JSON.stringify(requestNbr));\r\n this.bwObjectService.openInNewWindowByRoute('specialInstruction', 'SIWin', '', 800, 520);\r\n }\r\n confirmEditVerifications(requestNbr, refNbr) {\r\n this.noHits = document.getElementById('cbNoHits' + requestNbr);\r\n this.pending = document.getElementById('cbPending' + requestNbr);\r\n this.woComplete.submit = 'true';\r\n const state = (this.noHits.checked === true || this.pending.checked === true) ? 1 : 0;\r\n let msg = '';\r\n if (this.noHits.checked === true) {\r\n msg = 'Selecting Ok will remove the selection of No Record. Would you like to continue?';\r\n this.confirmRemovingNoRecordStatus(msg, refNbr, requestNbr, state);\r\n } else if (this.pending.checked === true) {\r\n msg = 'Would you like to remove the Pending Status on this request? Select OK to remove it and Cancel to keep it.';\r\n this.confirmRemovingPendingStatus(msg, refNbr, requestNbr, state);\r\n } else if (this.submitTaskDialog.length > 0) {\r\n this.confirmWorkOrderStatus('OffenseEntry', true, 'R', requestNbr, state);\r\n } else {\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n }\r\n confirmWorkOrderStatus(objFrom: string, valid: boolean, type: string, requestNbr: string, state: number) {\r\n this.woComplete.submit = 'true';\r\n this.sortTaskDialog();\r\n this.woComplete.alertMsg = undefined;\r\n\r\n for (const item of this.submitTaskDialog) {\r\n switch (item.type) {\r\n case 'PR':\r\n if (this.headerPR === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n this.headerPR = 1;\r\n } else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n }\r\n break;\r\n case 'RH': {\r\n if (this.headerRH === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n this.headerRH = 1;\r\n } else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n }\r\n break;\r\n }\r\n case 'RP': {\r\n if (this.headerRP === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n this.headerRP = 1;\r\n } else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n }\r\n break;\r\n }\r\n case 'NH': {\r\n if (this.headerNH === 0) {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${this.woComplete.msgLine} ${item.header} \\n ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n this.headerNH = 1;\r\n } else {\r\n if (this.woComplete.alertMsg === undefined) {\r\n this.woComplete.alertMsg = `${item.comments} ${this.woComplete.breakLine}`;\r\n } else {\r\n this.woComplete.alertMsg = `${this.woComplete.alertMsg} ${item.comments} ${this.woComplete.breakLine}`;\r\n }\r\n }\r\n break;\r\n }\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n if (type === 'S') {\r\n this.woComplete.alertMsgS = this.woComplete.alertMsg;\r\n } else if (type === 'R') {\r\n this.woComplete.alertMsgR = this.woComplete.alertMsg;\r\n }\r\n\r\n if (valid) {\r\n let msg = '';\r\n if (this.woComplete.alertMsg !== undefined) {\r\n this.woComplete.alertMsg = undefined;\r\n if (this.woComplete.alertMsgS !== undefined && type === 'S') {\r\n msg = `${this.woComplete.alertMsgS} ${this.woComplete.confirmationMsg}`;\r\n } else if (this.woComplete.alertMsgR !== undefined && type === 'R') {\r\n msg = `${this.woComplete.alertMsgR} ${this.woComplete.confirmationMsg}`;\r\n }\r\n this.confirmSubmit(msg, type, requestNbr);\r\n } else if (objFrom === 'Submit' && this.woComplete.alertMsgS === undefined && this.admittedCrimeCheckboxesChanged()) {\r\n this.getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound();\r\n this.logComplianceLogs();\r\n this.submit();\r\n this.woComplete.submit = 'true';\r\n this.router.navigate(['navigation']);\r\n } else {\r\n if (objFrom === 'OffenseEntry') {\r\n if (this.woComplete.alertMsgR === '' || this.woComplete.alertMsgR === undefined || this.woComplete.alertMsgR === null) {\r\n this.woComplete.submit = 'noChange';\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n }\r\n if (objFrom === 'Submit') {\r\n if (this.submitTask.length > 0) {\r\n this.getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound();\r\n this.logComplianceLogs();\r\n this.submit();\r\n this.woComplete.submit = 'true';\r\n this.router.navigate(['navigation']);\r\n } else if (this.woComplete.alertMsgS === undefined && !this.admittedCrimeCheckboxesChanged()) {\r\n this.noChangeHelper();\r\n this.woComplete.submit = 'noChange';\r\n }\r\n }\r\n }\r\n } else {\r\n if (objFrom === 'OffenseEntry' && state === 0) {\r\n this.router.navigate(['offense', requestNbr]);\r\n } else {\r\n this.woComplete.submit = '';\r\n if (requestNbr !== '') {\r\n for (const item of this.wo) {\r\n if (requestNbr === item.requestNbr.toString()) {\r\n item.woNoHitsDisable = false;\r\n item.woRecordDisplay = 'Display';\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n filterWorkOrderList() {\r\n if (this.model.selectedValue !== 'ns') {\r\n if (localStorage.getItem('jurisdictionId') !== '0' && localStorage.getItem('jurisdictionId') !== null ) {\r\n this.model.jurisdictionId = JSON.parse(localStorage.getItem('jurisdictionId'));\r\n localStorage.removeItem('jurisdictionId');\r\n } else {\r\n this.model.jurisdictionId = this.model.selectedValue;\r\n }\r\n this.getResearcherTaskData();\r\n }\r\n }\r\n submitTaskListDisabled(): boolean {\r\n return (this.model.isSubmitDisabled) ? true : false;\r\n }\r\n submitTaskList() {\r\n this.model.isSubmitDisabled = true;\r\n this.confirmWorkOrderStatus('Submit', true, 'S', '', 1);\r\n if (this.woComplete.submit === 'noChange') {\r\n this.model.isSubmitDisabled = false;\r\n return;\r\n }\r\n }\r\n submit() {\r\n this.researcherService.submitTaskListData(this.submitTask)\r\n .subscribe(\r\n (data) => {\r\n if (data === 200) {\r\n this.woComplete = new WorkOrderComplete;\r\n } else {\r\n PopupHelper.userHelper('Unable to submit updates', 'error');\r\n }\r\n this.model.isSubmitDisabled = false;\r\n });\r\n }\r\n selectAll() {\r\n this.wo.forEach((item) => {\r\n item.checked = true;\r\n });\r\n }\r\n removeAllSelection() {\r\n this.wo.forEach((item) => {\r\n item.checked = false;\r\n });\r\n }\r\n getAllAdmitted() {\r\n this.admittedAll.length = 0;\r\n this.wo.forEach((item) => {\r\n if (item.woAdmittedChecked) {\r\n this.admittedAll.push(item.requestNbr);\r\n }\r\n });\r\n }\r\n getAdmittedChecked(requestNbr: string) {\r\n this.anf = document.getElementById('cbAdmitted' + requestNbr);\r\n if (!this.anf.checked) {\r\n this.wo.forEach((item) => {\r\n if (item.requestNbr === +requestNbr && item.woAdmittedChecked === true) {\r\n item.woAdmittedChecked = false;\r\n\r\n this.filterList(requestNbr);\r\n\r\n this.submitTask = this.submitTask.filter(x => x.RequestNbr !== requestNbr);\r\n this.populateTaskList(requestNbr, '', 'ANF', false);\r\n }\r\n });\r\n } else if (this.anf.checked) {\r\n this.wo.forEach((item) => {\r\n if (item.requestNbr === +requestNbr && item.woAdmittedChecked === false) {\r\n item.woAdmittedChecked = true;\r\n this.filterList(requestNbr);\r\n this.populateTaskList(requestNbr, '', 'ANF', true);\r\n }\r\n });\r\n }\r\n }\r\n admittedCrimeCheckboxesChanged(): boolean {\r\n let inArray = false;\r\n this.getAllAdmitted();\r\n\r\n for (const allRqsts of this.admittedAll) { // all checked items\r\n if (this.checkedChange(this.originalAdmitted, allRqsts)) {\r\n inArray = false;\r\n } else {\r\n inArray = true;\r\n break;\r\n }\r\n }\r\n return inArray;\r\n }\r\n getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound() {\r\n this.getAllAdmitted();\r\n for (const allRqsts of this.admittedAll) { // all checked items\r\n if (!this.checkedChange(this.originalAdmitted, allRqsts)) {\r\n this.filterList(allRqsts);\r\n this.populateTaskList(allRqsts, '', 'ANF', true);\r\n }\r\n }\r\n }\r\n async logComplianceLogs() {\r\n this.getAllAdmitted();\r\n for (const allRqsts of this.admittedAll) { // all checked items\r\n if (!this.checkedChange(this.originalAdmitted, allRqsts)) {\r\n\r\n try {\r\n await this.complianceAuditLogService.addComplianceAuditLogs([\r\n new ComplianceAuditLog(allRqsts, 'ADMTTD_CRM_NOT_FND', 'ResearcherTaskList', null, null)\r\n ]);\r\n } catch (e) {\r\n }\r\n }\r\n }\r\n }\r\n checkedChange(arr: any, test: number) {\r\n return arr.some(function (arrVal) {\r\n return test === arrVal;\r\n });\r\n }\r\n populateTaskList(requestNbr: string, comment: string, status: string, checked: boolean) { // dialogComment: string) {\r\n this.submitList = {\r\n RequestNbr: requestNbr,\r\n PendingComments: comment,\r\n Type: status,\r\n AdmittedCrimeNotFound: checked,\r\n };\r\n this.submitTask.push(this.submitList);\r\n }\r\n goToNavigation() {\r\n this.router.navigate(['navigation']);\r\n }\r\n gotoTop() {\r\n window.scrollTo(0, 0);\r\n }\r\n displayReport(rptType: string) {\r\n for (const item of this.wo) {\r\n if (item.checked === true) {\r\n this.requestNbrs.push({ requestNbr: item.requestNbr });\r\n }\r\n }\r\n if (this.requestNbrs.length <= 0) {\r\n if (rptType === 'Received') {\r\n this.receivedDialog();\r\n } else if (rptType === 'Report') {\r\n this.reportDialog();\r\n }\r\n } else {\r\n if (rptType === 'Received') {\r\n this.researcherService.markRequestReceived(this.requestNbrs)\r\n .subscribe(() => {\r\n if (this.researcherService.successful) {\r\n this.goToNavigation();\r\n }\r\n });\r\n } else if (rptType === 'Report') {\r\n this.msgSvc.saveRequestNbrs(JSON.stringify(this.requestNbrs));\r\n this.bwObjectService.openInNewWindowByRoute('workOrderReport', 'WOWin', '', 920, 430);\r\n this.goToNavigation();\r\n }\r\n }\r\n }\r\n createDateTime() {\r\n const today = new Date();\r\n const year = this.takeYear(today);\r\n const month = this.leadingZero(today.getMonth() + 1);\r\n const day = this.leadingZero(today.getDate());\r\n const minutes = this.leadingZero(today.getMinutes());\r\n const seconds = this.leadingZero(today.getSeconds());\r\n let hours = today.getHours();\r\n let ampm = 'am';\r\n if (hours === 0) {\r\n hours = 12;\r\n } else if (hours > 11) {\r\n ampm = 'pm';\r\n } else if (hours > 12) {\r\n hours -= 12;\r\n }\r\n hours = this.leadingZero(hours);\r\n return (month + '/' + day + '/' + year + ' ' + hours + ':' + minutes + ':' + seconds + ' ' + ampm);\r\n }\r\n takeYear(dte) {\r\n return ((dte.getYear() % 100) < 38) ? 2000 : 1900;\r\n }\r\n leadingZero(nbr) {\r\n if (nbr < 10) {\r\n nbr = '0' + nbr;\r\n }\r\n return nbr;\r\n }\r\n showComment(requestNbr: string, status: string) {\r\n this.msgSvc.saveRequestNbrs(JSON.stringify(requestNbr));\r\n this.msgSvc.saveStatus(JSON.stringify(status));\r\n this.bwObjectService.openInNewWindowByRoute('comment', 'SIWin', '', 1005, 375);\r\n }\r\n searchCapture(userID: string, requestNbr: string) {\r\n this.bwObjectService.searchCaptureOpen(`http://dev2paperlesscrim.geninfo.com/IncomingUser.aspx?su=${userID}|${requestNbr}`);\r\n }\r\n watsonShowGuideline(route: string) {\r\n const address = route.substr(8);\r\n this.bwObjectService.watsonShowGuideline(`http://dev2watson.geninfo.com/${address}`);\r\n }\r\n showLink(): Boolean {\r\n if (this.model.viewAsLink === true) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n help() {\r\n this.bwObjectService.openWindowInNewWindowByRoute(`researcherHelp`, '', 800, 900);\r\n }\r\n // ALERTS\r\n async receivedDialog() {\r\n const alertResult = await PopupHelper.userHelper('You have not selected any items to mark as received.', 'crim');\r\n if (alertResult === AlertResult.Ok) {\r\n return;\r\n }\r\n }\r\n async reportDialog() {\r\n const alertResult = await PopupHelper.userHelper('You have not selected any items to print.', 'crim');\r\n if (alertResult === AlertResult.Ok) {\r\n return;\r\n }\r\n }\r\n async exitDialog() {\r\n const confirmResult = await PopupHelper.exitSystemHelper();\r\n\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n }\r\n\r\n async confirmRemovingNoRecordStatus(message: string, refNbr: string, requestNbr: string, state: number) {\r\n let oHits = false;\r\n const confirmResult = await PopupHelper.confirmSubmitHelper(message);\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.woComplete.removeNoHit = `\\n No longer marked as No Record - Work Order Nbr: ${refNbr} Request Nbr: ${requestNbr}`;\r\n this.populateSubmitComments(requestNbr, refNbr, this.woComplete.removeNoHit, this.woComplete.removeNoHitsMsg, woc.removeNoHits);\r\n this.noHits.checked = false;\r\n this.woComplete.persist = 'I';\r\n this.woComplete.closeDt = '';\r\n this.woComplete.newStatus = 'I';\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n } else {\r\n this.noHits.checked = true;\r\n oHits = this.noHits.checked;\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n }\r\n this.woComplete.submit = '';\r\n this.confirmWorkOrderStatus('OffenseEntry', (oHits || this.pending.checked) ? true : false, 'R', this.noHits.defaultValue, state);\r\n }\r\n async confirmRemovingPendingStatus(message: string, refNbr: string, requestNbr: string, state: number) {\r\n let oPending = false;\r\n const confirmResult = await PopupHelper.confirmSubmitHelper(message);\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.woComplete.removePending = `\\n No longer marked as Pending - Work Order Nbr: ${refNbr} Request Nbr: ${requestNbr}`;\r\n this.populateSubmitComments(requestNbr, refNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n oPending = this.pending.checked;\r\n this.pending.checked = false;\r\n this.woComplete.persist = 'I';\r\n this.woComplete.closeDt = '';\r\n this.woComplete.newStatus = 'I';\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n } else {\r\n this.pending.checked = true;\r\n oPending = this.pending.checked;\r\n }\r\n this.woComplete.submit = '';\r\n this.confirmWorkOrderStatus('OffenseEntry', (this.noHits.checked || oPending) ? true : false, 'R', this.noHits.defaultValue, state);\r\n }\r\n async confirmSubmit(message: string, type: string, requestNbr: string) {\r\n const confirmResult = await PopupHelper.confirmSubmitHelper(message);\r\n\r\n if (confirmResult === ConfirmResult.Ok) {\r\n if (type === 'S') {\r\n this.getAllRequestsNotPreviouslyMarkedAdmittedCrimeNotFound();\r\n this.logComplianceLogs();\r\n this.submit();\r\n this.woComplete.submit = 'true';\r\n this.router.navigate(['navigation']);\r\n } else if (type === 'R') {\r\n if (this.woComplete.submit === 'noChange') {\r\n this.woComplete.work = 'Retrieve';\r\n this.woComplete.detailWork = 'Add';\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n if (this.woComplete.submit === 'true') {\r\n if (this.submitTask.length !== 0) {\r\n this.submit();\r\n } else {\r\n this.populateList(requestNbr, '', this.woComplete.newStatus);\r\n this.submit();\r\n }\r\n this.woComplete.work = 'PersistFirst';\r\n this.router.navigate(['offense', requestNbr]);\r\n }\r\n }\r\n } else {\r\n if (type === 'S') {\r\n this.model.isSubmitDisabled = false;\r\n this.woComplete.submit = 'false';\r\n this.woComplete.alertMsg = '';\r\n PopupHelper.userHelper('You have chosen to cancel the submit, your changes have not been saved.',\r\n 'crim');\r\n } else if (type === 'R') {\r\n this.woComplete.submit = 'false';\r\n PopupHelper.userHelper('You have selected not to continue to the offense page.', 'crim');\r\n }\r\n this.headerNH = 0;\r\n this.headerPR = 0;\r\n this.headerRP = 0;\r\n this.headerRH = 0;\r\n }\r\n }\r\n getOriginalState(requestNbr: any) {\r\n for (const item of this.stateData) {\r\n if (requestNbr === item.requestNbr) {\r\n this.originalStatus = item.status;\r\n return;\r\n }\r\n }\r\n }\r\n support() {\r\n PopupHelper.support();\r\n }\r\n about() {\r\n PopupHelper.systemVersion();\r\n }\r\n async crimAlert(message: string) {\r\n const alertResult = await PopupHelper.userHelper(message, 'prompt');\r\n if (alertResult === AlertResult.Ok) {\r\n\r\n }\r\n }\r\n sortWorkOrderList() {\r\n this.msgSvc.selectedValue(JSON.stringify(this.model.selectedValue));\r\n this.msgSvc.selectedJurisdiction(JSON.stringify(this.model.jurisdictionId));\r\n this.router.navigate(['sortTaskList', this.model.requestType]);\r\n }\r\n removeSortingArray() {\r\n localStorage.removeItem('sortType');\r\n }\r\n setDefaultOrder() {\r\n this.config = ['+jurisdiction'];\r\n this.config.push(`-dis_RequestDt_sort`);\r\n this.config.push(`+refName`);\r\n this.config.push(`+caseNbr`);\r\n this.msgSvc.saveSortOrder(JSON.stringify(this.config));\r\n }\r\n async pendingWOHelper(alertMsg: string) {\r\n const message = alertMsg;\r\n const alertResult = await PopupHelper.pendingWOHelper(message);\r\n if (alertResult === AlertResult.Ok) {\r\n return;\r\n }\r\n }\r\n async noChangeHelper() {\r\n const alertResult = await PopupHelper.noChangesToTaskList();\r\n if (alertResult === AlertResult.Ok) {\r\n return;\r\n }\r\n }\r\n async noHitsConfirmation(alertMsg: string, requestNbr: string, checked: boolean) {\r\n const message = alertMsg;\r\n const confirmResult = await PopupHelper.noHitsConfirmation(message);\r\n if (confirmResult === ConfirmResult.Ok) {\r\n if (checked) {\r\n if (this.pending.checked === true) {\r\n this.woComplete.removePending = `No longer marked as Pending - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr} \\n\\n `;\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removePending, this.woComplete.removePendingMsg, woc.removePending);\r\n }\r\n this.woComplete.noHitRequests = `Marked Complete - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr} \\n\\n`;\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.noHitRequests, this.woComplete.noHitsMsg, woc.noHits);\r\n\r\n this.woComplete.currentDte = this.createDateTime();\r\n this.woComplete.newStatus = 'C';\r\n } else {\r\n this.woComplete.removeNoHit = `No longer marked as No Record - Reference Name: ${this.woComplete.refName} Work Order Nbr: ${this.woComplete.caseNbr} \\n\\n`;\r\n this.populateSubmitComments(requestNbr, this.woComplete.caseNbr, this.woComplete.removeNoHit, this.woComplete.removeNoHitsMsg, woc.removeNoHits);\r\n\r\n if (this.woComplete.newStatus === 'C') {\r\n this.woComplete.newStatus = 'I';\r\n }\r\n }\r\n this.populateList(this.woComplete.requestNbr, '', this.woComplete.newStatus);\r\n } else {\r\n if (checked) {\r\n this.noHits.checked = false;\r\n } else {\r\n this.noHits.checked = true;\r\n }\r\n }\r\n }\r\n populateSubmitComments(requestNbr: string, caseNbr: string, comment: string, header: string, type: string) {\r\n this.submitTaskDialog = this.submitTaskDialog.filter(item => item.requestNbr !== requestNbr);\r\n\r\n const records = new SubmitTaskDialog;\r\n records.requestNbr = requestNbr;\r\n records.caseNbr = caseNbr;\r\n records.comments = comment;\r\n records.header = header;\r\n records.type = type;\r\n this.submitTaskDialog.push(records);\r\n }\r\n sortTaskDialog() {\r\n this.submitTaskDialog.sort((a, b) => {\r\n if (a.type < b.type) {\r\n return -1;\r\n } else if (a.type > b.type) {\r\n return 1;\r\n } else {\r\n return 0;\r\n }\r\n });\r\n }\r\n filterList(requestNbr: string) {\r\n this.filter = this.submitTask.filter(x => x.RequestNbr === requestNbr);\r\n this.filter = this.filter.filter(x => x.Type !== 'ANF');\r\n this.submitTask = this.submitTask.filter(x => x.RequestNbr !== requestNbr);\r\n\r\n for (const ftr of this.filter) {\r\n this.populateTaskList(ftr.RequestNbr, ftr.PendingComments, ftr.Type, ftr.AdmittedCrimeNotFound);\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/researcherTaskList/researcherTaskList.component.ts","module.exports = \" Help Screen for Researcher Task list \\r\\n\\r\\n

Task List Page Explanation

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

Purpose of Task List Page:

\\r\\n

\\r\\n To display a list of all outstanding Work Orders that have been assigned to the individual logged into the Researcher System.\\r\\n

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

Explanation of Columns in the task list:

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

\\r\\n The Select column contains a check box that, when checked, will select the associated Work Order for display within a Work Order Report.\\r\\n

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

\\r\\n The Work Order column contains the number that has been assigned to this task by GIS.\\r\\n

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

\\r\\n The Jurisdiction column contains the name of the courthouse or county that would be applicable for the associated Work Order.\\r\\n

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

\\r\\n The name of the applicant as listed on the application.\\r\\n

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

\\r\\n The DOB column contains the applicants' date of birth as listed on the application.\\r\\n

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

\\r\\n The SSN column contains the social security number of the applicant as listed on the application.\\r\\n

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

\\r\\n The Due Date column contains the date the Work Order has to be Completed.\\r\\n

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

\\r\\n The Result column is used for Quick Entry of the Work Orders that were researched and no hit was received.\\r\\n

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

\\r\\n The Status column contains 2 possible selections.
\\r\\n 1. Complete: This will be selected when all research has been completed and documented for the Work Order. This will remove the\\r\\n Work Order from the Researcher Task list.
\\r\\n 2. Pending: The item can be placed in Pending status when there is something outside of your control that is holding up completion\\r\\n of the background check. When selecting the Pending Status, you will be required to enter an explanation of\\r\\n why the Work Order has been placed in pending status.
\\r\\n

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

Functions available on the Task List Page:

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

\\r\\n When checked, all Work Orders will be selected. This is used to choose the items\\r\\n to display when opening the Work Order Report in PDF format.\\r\\n

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

\\r\\n When checked, this will de-select all Work Orders that were previously selected for viewing in the Work Order Report.\\r\\n

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

\\r\\n When pressed, this will display a report of all selected Work Orders. The report will be in PDF format, this will\\r\\n enable printing of the Work Order Report. The Work Order items will print one item per page. To select a Work Order,\\r\\n click the checkbox located in the 'Select' column of the Work Order list.\\r\\n

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

\\r\\n When pressed, a pop-up screen will display. This screen will contain all available options for filtering the Researcher Task list. When the OK button is selected\\r\\n the Work Order list will be refreshed with items that match the filtering criteria. When the Cancel button is selected, the Researcher Task List will display with the\\r\\n as it was before going to this screen.\\r\\n

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

\\r\\n This drop-down contains all columns that can be used for sorting. To change the sorting of the page, make a selection\\r\\n from this drop-down. When a new selection is made, the Task List will refresh in the new sort order. The default sorting of\\r\\n the Work Order list is Jurisdiction and then Due Date within that Jurisdiction.\\r\\n

\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/researcherTaskListHelp/researcherTaskListHelp.component.html\n// module id = ./src/app/researcherTaskListHelp/researcherTaskListHelp.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"h2{text-align:center}h3{text-decoration:underline}#header,h3{font-weight:700;padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}#header{font-size:10pt}h4{font-weight:700;text-decoration:underline}h4,p{padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}p{font-size:10pt}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/researcherTaskListHelp/researcherTaskListHelp.component.scss\n// module id = ./src/app/researcherTaskListHelp/researcherTaskListHelp.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n templateUrl: 'researcherTaskListHelp.component.html',\r\n styleUrls: ['researcherTaskListHelp.component.scss']\r\n })\r\n\r\nexport class ResearcherTaskListHelpComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/researcherTaskListHelp/researcherTaskListHelp.component.ts","module.exports = \"\\r\\n
\\r\\n
\\r\\n
SORT TASK LIST
\\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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/sortTaskList/sortTaskList.component.html\n// module id = ./src/app/sortTaskList/sortTaskList.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"label{font-weight:700;display:block;padding:.5rem}select{padding-left:.5rem;width:15rem}#column{width:30em;float:left;padding-left:40rem}#column,#selection2-group,#selection3-group{text-align:left}#spacer{padding-top:1.6em}#wrapper{background-color:#ccf;margin:22px}#woHeader{margin:0 auto;border:.5;width:100%;padding-left:.5rem;font-weight:700}#woHeader,#woHeader div{background-color:#ccf;display:inline-block}#woHeader div{padding:.1rem}.Button{font-family:Verdana,Tahoma,Arial;background-color:#ccf}div{overflow:hidden}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/sortTaskList/sortTaskList.component.scss\n// module id = ./src/app/sortTaskList/sortTaskList.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\nimport PopupHelper from '../../models/popupHelper';\r\nimport BrowserWindowObjectService from '../../services/browserWindowObjectService';\r\nimport { ConfirmResult } from '../../models/alertifyPromise';\r\nimport { Router, ActivatedRoute} from '@angular/router';\r\nimport { SortList } from '../../models/index';\r\nimport { MessageQueService } from '../../services/index';\r\n\r\nexport enum list {\r\n jurisdiction = 'jurisdiction',\r\n requestDt = 'dis_RequestDt_sort',\r\n status = 'isLate',\r\n referenceName = 'refName',\r\n ascending = '+',\r\n descending = '-'\r\n}\r\n\r\n@Component({\r\n templateUrl: 'sortTaskList.component.html',\r\n styleUrls: ['sortTaskList.component.scss'],\r\n providers: [ MessageQueService]\r\n})\r\n\r\nexport class SortTaskListComponent {\r\n model: any = {};\r\n sortList: SortList;\r\n result: string;\r\n config: string [];\r\n\r\n constructor(private router: Router, private route: ActivatedRoute, private bwObjectService: BrowserWindowObjectService,\r\n private msgSvc: MessageQueService) {\r\n this.model.defaultSort1 = '0';\r\n this.model.defaultSort2 = '1';\r\n this.model.defaultSort3 = '3';\r\n this.model.defaultOrder1 = '0';\r\n this.model.defaultOrder2 = '0';\r\n this.model.defaultOrder3 = '0';\r\n this.sortList = new SortList;\r\n\r\n this.route.params.subscribe(params => {\r\n this.model.requestType = params['status'];\r\n });\r\n }\r\n\r\n displaySortedTaskList() {\r\n this.config = [this.getSortOrder(this.model.defaultOrder1) + this.getSortValue(this.model.defaultSort1)];\r\n this.config.push(this.getSortOrder(this.model.defaultOrder2) + this.getSortValue(this.model.defaultSort2));\r\n this.config.push(this.getSortOrder(this.model.defaultOrder3) + this.getSortValue(this.model.defaultSort3));\r\n this.config.push(`+caseNbr`);\r\n this.msgSvc.saveSortOrder(JSON.stringify(this.config));\r\n this.msgSvc.saveSortType('sorting');\r\n this.router.navigate(['researcherTaskList', this.model.requestType]);\r\n }\r\n goToNavigation() {\r\n this.router.navigate(['navigation']);\r\n }\r\n async exitDialog() {\r\n const confirmResult = await PopupHelper.exitSystemHelper();\r\n\r\n if (confirmResult === ConfirmResult.Ok) {\r\n this.router.navigate(['exit']);\r\n }\r\n }\r\n getSortValue(value: string): string {\r\n switch (value) {\r\n case '0': {\r\n this.result = list.jurisdiction;\r\n break;\r\n }\r\n case '1': {\r\n this.result = list.requestDt;\r\n break;\r\n }\r\n case '2': {\r\n this.result = list.status;\r\n break;\r\n }\r\n case '3': {\r\n this.result = list.referenceName;\r\n break;\r\n }\r\n default: {\r\n }\r\n }\r\n return this.result;\r\n }\r\n getSortOrder(order: string): string {\r\n switch (order) {\r\n case '0': {\r\n this.result = list.ascending;\r\n break;\r\n }\r\n case '1': {\r\n this.result = list.descending;\r\n break;\r\n }\r\n default: {\r\n }\r\n }\r\n return this.result;\r\n }\r\n support() {\r\n PopupHelper.support();\r\n }\r\n about() {\r\n PopupHelper.systemVersion();\r\n }\r\n help() {\r\n this.bwObjectService.openWindowInNewWindowByRoute(`sortTaskListHelp`, '', 800, 500);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/sortTaskList/sortTaskList.component.ts","module.exports = \" Help Screen for Researcher Task Sort/Filter \\r\\n\\r\\n

Sort/Filter Page Explanation

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

Purpose of Sort/Filter Page:

\\r\\n

\\r\\n To allow the end user to Sort or Filter the task list based on his/her preference.\\r\\n

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

Explanation of Sort Task List Section

\\r\\n

\\r\\n This section allows the user to Sort based on a primary and also a secondary column. (i.e. The default sort is first based on Jurisdiction in Ascending order and then within that sorting it is sort based on Order date in Ascending order).\\r\\n

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

\\r\\n This will be the primary sort column. The default is set to be Jurisdiction. The available options are Jurisdiction, Order Date, Past Due\\r\\n

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

\\r\\n This determines if the order will be in ascending or descending order. The default is set to Ascending.\\r\\n

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

\\r\\n This determines the secondary sort column. The default is set to be Order Date.\\r\\n

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

\\r\\n This determines if the order will be in ascending or descending order. The default is set to Ascending.\\r\\n

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

Functions available in the Sort Task List Section

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

\\r\\n When this is selected, it will display the task list sorted in the order as noted in the Sort Column 1 and Sort Column 2.\\r\\n

\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/sortTaskListHelp/sortTaskListHelp.component.html\n// module id = ./src/app/sortTaskListHelp/sortTaskListHelp.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"h2{text-align:center}h3{text-decoration:underline}#header,h3{font-weight:700;padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}#header{font-size:10pt}h4{font-weight:700;text-decoration:underline}h4,p{padding-left:1.5rem;font-family:Verdana,Tahoma,Arial}p{font-size:10pt}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/sortTaskListHelp/sortTaskListHelp.component.scss\n// module id = ./src/app/sortTaskListHelp/sortTaskListHelp.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n templateUrl: 'sortTaskListHelp.component.html',\r\n styleUrls: ['sortTaskListHelp.component.scss']\r\n })\r\n\r\nexport class SortTaskListHelpComponent {\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/sortTaskListHelp/sortTaskListHelp.component.ts","module.exports = \"
\\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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/specialAdmitted/specialAdmitted.component.html\n// module id = ./src/app/specialAdmitted/specialAdmitted.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#general{margin:2rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#general-left{vertical-align:left;text-align:left;float:left;font-weight:700;width:67rem}#instruction{margin:17.5rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#instruction-text{vertical-align:left;text-align:left;float:left}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/specialAdmitted/specialAdmitted.component.scss\n// module id = ./src/app/specialAdmitted/specialAdmitted.component.scss\n// module chunks = app","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-special-admitted',\r\n templateUrl: 'specialAdmitted.component.html',\r\n styleUrls: ['specialAdmitted.component.scss'],\r\n})\r\n\r\nexport class SpecialAdmittedComponent {\r\n showAdmitted: Boolean;\r\n @Input() admission: string;\r\n\r\n constructor() { }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/specialAdmitted/specialAdmitted.component.ts","module.exports = \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Special Research Instruction\\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\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/specialInstruction/specialInstruction.component.html\n// module id = ./src/app/specialInstruction/specialInstruction.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#spacerxsm{padding-top:1.5rem}#instrHeader{margin:0 auto;border:0;background-color:grey;padding-left:3.5rem}#instrHeader div{padding:.5rem;float:left;background-color:grey}#instrHeader-left{width:56rem;vertical-align:left;text-align:center;font-size:14pt;float:left}#woHeader div{padding:1rem;float:left;background-color:grey}#siAdmission{margin:2rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#siAdmission-left{vertical-align:left;text-align:left;float:left;font-weight:700;width:67rem}#siInstruction{margin:17.5rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#instruction-text{vertical-align:left;text-align:left;float:left}.Button{font-family:Verdana,Tahoma,Arial;width:6rem}#woButton{margin:16rem -45rem;vertical-align:left;text-align:left;float:left;padding-left:10rem}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/specialInstruction/specialInstruction.component.scss\n// module id = ./src/app/specialInstruction/specialInstruction.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport { ResearcherService, MessageQueService } from '../../services/index';\r\n\r\n@Component({\r\n selector: 'app-special-instruction',\r\n templateUrl: 'specialInstruction.component.html',\r\n styleUrls: ['specialInstruction.component.scss'],\r\n providers: [ResearcherService, MessageQueService]\r\n})\r\n\r\nexport class SpecialInstructionComponent implements OnInit {\r\n admission: string;\r\n researchInstruction: string;\r\n requestNumber: string;\r\n showAdmissionSection: Boolean;\r\n showResearchSection: Boolean;\r\n\r\n constructor(private researcherService: ResearcherService, private msgSvc: MessageQueService) {\r\n this.requestNumber = localStorage.getItem('requests');\r\n }\r\n ngOnInit() {\r\n this.msgSvc.setControlKey();\r\n this.getInstructionData();\r\n }\r\n getInstructionData() {\r\n this.showAdmissionSection = true;\r\n this.researcherService.getSpecialInstructions(this.requestNumber)\r\n .subscribe(\r\n (data) => {\r\n this.admission = data.admission;\r\n this.researchInstruction = data.researchInstruction;\r\n\r\n if (this.admission === '' || this.admission === undefined || this.admission === null) {\r\n if (this.researchInstruction !== '' || this.researchInstruction !== undefined || this.researchInstruction !== null) {\r\n this.admission = data.researchInstruction;\r\n this.researchInstruction = '';\r\n this.showResearchSection = false;\r\n } else {\r\n this.showResearchSection = true;\r\n }\r\n } else {\r\n if (this.researchInstruction !== null) {\r\n this.showResearchSection = true;\r\n } else {\r\n this.showResearchSection = false;\r\n }\r\n }\r\n });\r\n }\r\n close() {\r\n window.close();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/specialInstruction/specialInstruction.component.ts","module.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/specialResearch/specialResearch.component.html\n// module id = ./src/app/specialResearch/specialResearch.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#general{margin:2rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#general-left{vertical-align:left;text-align:left;float:left;font-weight:700;width:67rem}#instruction{margin:17.5rem 3rem;border:0;background-color:#70706e;padding-left:.6rem}#instruction-text{vertical-align:left;text-align:left;float:left}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/specialResearch/specialResearch.component.scss\n// module id = ./src/app/specialResearch/specialResearch.component.scss\n// module chunks = app","import { Component, Input} from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-special-research',\r\n templateUrl: 'specialResearch.component.html',\r\n styleUrls: ['specialResearch.component.scss'],\r\n})\r\n\r\nexport class SpecialResearchComponent {\r\n\r\n @Input() researchInstruction: string;\r\n\r\n constructor() { }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/specialResearch/specialResearch.component.ts","module.exports = \"
\\r\\n
\\r\\n
{{admission}} 
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderAdmissions/WorkOrderAdmissions.component.html\n// module id = ./src/app/workOrderAdmissions/WorkOrderAdmissions.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#xsmspacer{padding-top:.5em}#woMain{margin:5px 3em;border:0;width:60em}#woRpt{width:29.2em;vertical-align:left;text-align:left;float:left}span{font-weight:700}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderAdmissions/WorkOrderAdmissions.component.scss\n// module id = ./src/app/workOrderAdmissions/WorkOrderAdmissions.component.scss\n// module chunks = app","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-wo-admissions',\r\n templateUrl: 'WorkOrderAdmissions.component.html',\r\n styleUrls: ['WorkOrderAdmissions.component.scss']\r\n})\r\nexport class WorkOrderAdmissionsComponent {\r\n isAdmitted: Boolean;\r\n @Input() admission: string;\r\n\r\n constructor( ) { }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/workOrderAdmissions/workOrderAdmissions.component.ts","module.exports = \"
\\r\\n
\\r\\n
\\r\\n Name
\\r\\n
\\r\\n DOB
\\r\\n
\\r\\n SSN
\\r\\n
\\r\\n Address
\\r\\n
\\r\\n DLN
\\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.html\n// module id = ./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#woIdentifier-left{width:7.2em}#woIdentifier-left,#woIdentifier-middle{vertical-align:left;text-align:left;float:left}#woIdentifier-middle{width:6.5em}#woRpt-left{width:15.2em;vertical-align:left;text-align:left;float:left}#xsmspacer{padding-top:1.5em}#woMain{margin:5px 3em;border:0;width:60em}span{font-weight:700}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.scss\n// module id = ./src/app/workOrderIdentifiers/WorkOrderIdentifiers.component.scss\n// module chunks = app","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-wo-identifiers',\r\n templateUrl: 'WorkOrderIdentifiers.component.html',\r\n styleUrls: ['WorkOrderIdentifiers.component.scss']\r\n})\r\nexport class WorkOrderIdentifiersComponent {\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/workOrderIdentifiers/workOrderIdentifiers.component.ts","module.exports = \"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{item.jurisdiction}}

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Request Nbr: {{item.caseNbr}}
\\r\\n
\\r\\n Has Record
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Name: {{item.refName}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Address: {{item.refAddr1}} {{item.refCity}}, {{item.refState}} {{item.refZip}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Search Dates: {{item.searchFromDt}} - {{item.searchToDt}}
\\r\\n
\\r\\n DOB: {{item.dob}}
\\r\\n
\\r\\n SSN: {{item.ssn}}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Special Instruction: \\r\\n
\\r\\n
\\r\\n Driver's License: {{item.licenseNumber}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n Admission Info:\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n Identifiers Used:\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderReport/WorkOrderReport.component.html\n// module id = ./src/app/workOrderReport/WorkOrderReport.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#spacer{padding-top:4.5em}textarea{line-height:200%;padding-left:0}#woAdmissionInfo,textarea{border:0 none #fff;overflow:hidden;outline:none;background-color:transparent;font-family:Verdana,Arial,Tahoma}#woAdmissionInfo{white-space:pre-line}#spacer{padding-top:2.5em}#smspacer{padding-top:2em}#xsmspacer{padding-top:1.5em}#xxsmspacer{padding-top:.5em}#woMain{margin:5px 3em;border:0;width:60em}#woRpt{width:29.2em}#woRpt,#woSI{vertical-align:left;text-align:left;float:left}#woSI{width:90%;padding-bottom:5px}span{font-weight:700}#woRpt-long{width:65.2em}#woRpt-left,#woRpt-long{vertical-align:left;text-align:left;float:left}#woRpt-left{width:15.2em}#woRpt-full{width:100%}#woHeader,#woRpt-full{vertical-align:left;text-align:left;float:left}#woHeader{width:50.2em;font-weight:700}hr{float:left;width:67rem;margin:5px 3em}@media print{.page-break{display:block;page-break-before:always}}section.hidden{display:none}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderReport/WorkOrderReport.component.scss\n// module id = ./src/app/workOrderReport/WorkOrderReport.component.scss\n// module chunks = app","import { Component, OnInit } from '@angular/core';\r\nimport { Report } from '../../models/index';\r\nimport { ResearcherService, MessageQueService } from '../../services/index';\r\n\r\n@Component({\r\n selector: 'app-wo-report',\r\n templateUrl: 'WorkOrderReport.component.html',\r\n styleUrls: ['WorkOrderReport.component.scss'],\r\n providers: [ResearcherService, MessageQueService]\r\n})\r\n\r\nexport class WorkOrderReportComponent implements OnInit {\r\n rpt: Report[] = [];\r\n endOfFile: number;\r\n jurisdiction: string;\r\n showJuris: boolean;\r\n isPageBreak: boolean;\r\n requestNbr: string;\r\n\r\n constructor(private researcherService: ResearcherService, private msgSvc: MessageQueService) {\r\n this.requestNbr = JSON.parse(localStorage.getItem('requests'));\r\n }\r\n\r\n ngOnInit() {\r\n this.msgSvc.setControlKey();\r\n this.getReportData(this.requestNbr);\r\n }\r\n getReportData(requestNbrs: any) {\r\n this.rpt.length = 0;\r\n this.researcherService.getWorkOrders(requestNbrs)\r\n .subscribe(\r\n (data) => {\r\n this.rpt = Report.getWorkOrderReport(data);\r\n });\r\n }\r\n notEndOfFile(value: string): boolean {\r\n if (this.jurisdiction === '' || this.jurisdiction === undefined || this.jurisdiction === null) {\r\n this.jurisdiction = value;\r\n }\r\n if (this.jurisdiction !== value) {\r\n this.jurisdiction = value;\r\n this.isPageBreak = true;\r\n } else {\r\n this.isPageBreak = false;\r\n }\r\n if (this.endOfFile !== 0) {\r\n this.endOfFile = this.endOfFile - 1;\r\n }\r\n return this.isPageBreak;\r\n }\r\n\r\n showJurisdiction(value: string): boolean {\r\n const show = localStorage.getItem('jurisdication');\r\n\r\n if (show !== null && show !== undefined && show !== '') {\r\n if (show === value) {\r\n this.showJuris = false;\r\n } else {\r\n this.showJuris = true;\r\n }\r\n } else {\r\n this.showJuris = true;\r\n }\r\n localStorage.setItem('jurisdiction', value);\r\n return this.showJuris;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/workOrderReport/workOrderReport.component.ts","module.exports = \"
\\r\\n
{{researchInstructions}}
\\r\\n
\\r\\n\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.html\n// module id = ./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.html\n// module chunks = app","exports = module.exports = require(\"../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"#woMain{margin:5px 3em;border:0;width:60em}#woSI{width:90%;vertical-align:left;text-align:left;float:left;padding-bottom:5px}\", \"\"]);\n\n// exports\n\n\n/*** EXPORTS FROM exports-loader ***/\nmodule.exports = module.exports.toString();\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.scss\n// module id = ./src/app/workOrderSpecialInstructions/WorkOrderSpecialInstructions.component.scss\n// module chunks = app","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-wo-special-instructions',\r\n templateUrl: 'WorkOrderSpecialInstructions.component.html',\r\n styleUrls: ['WorkOrderSpecialInstructions.component.scss']\r\n})\r\nexport class WorkOrderSpecialInstructionsComponent {\r\n isInstruction: Boolean;\r\n @Input() researchInstructions: string;\r\n\r\n constructor( ) { }\r\n }\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/app/workOrderSpecialInstructions/workOrderSpecialInstructions.component.ts","module.exports = __webpack_public_path__ + \"assets/CRIM-Logo.381482a1bebe45fd6ead916f278d2008.gif\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/images/CRIM-Logo.gif\n// module id = ./src/assets/images/CRIM-Logo.gif\n// module chunks = app","import { Directive } from '@angular/core';\r\nimport { NgControl } from '@angular/forms';\r\n\r\n@Directive({\r\n selector: '[app-validateOnBlur]',\r\n host: {\r\n '(focus)': 'onFocus($event)',\r\n '(blur)': 'onBlur($event)',\r\n '(keyup)': 'onKeyup($event)',\r\n '(change)': 'onChange($event)',\r\n '(ngModelChange)': 'onNgModelChange($event)'\r\n }\r\n})\r\nexport default class ValidationOnBlurDirective {\r\n private validators: any;\r\n private asyncValidators: any;\r\n private wasChanged: any;\r\n constructor(public formControl: NgControl) {\r\n }\r\n onFocus() {\r\n this.wasChanged = false;\r\n this.validators = this.formControl.control.validator;\r\n this.asyncValidators = this.formControl.control.asyncValidator;\r\n this.formControl.control.clearAsyncValidators();\r\n this.formControl.control.clearValidators();\r\n }\r\n onKeyup() {\r\n this.wasChanged = true; // keyboard change\r\n }\r\n onChange() {\r\n this.wasChanged = true; // copypaste change\r\n }\r\n onNgModelChange() {\r\n this.wasChanged = true; // ng-value change\r\n }\r\n onBlur() {\r\n this.formControl.control.setAsyncValidators(this.asyncValidators);\r\n this.formControl.control.setValidators(this.validators);\r\n if (this.wasChanged) {\r\n this.formControl.control.updateValueAndValidity();\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/directives/validateOnblur.directive.ts","declare const environmentName: string;\r\n\r\nconst env: string = environmentName;\r\nexport { env as environmentName };\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/globals.ts","import { AuthenticationService } from '../services/authenticationService';\r\nimport { Injectable } from '@angular/core';\r\nimport { CanActivate } from '@angular/router';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable()\r\nexport default class AuthenticationGuard implements CanActivate {\r\n\r\n constructor(private authenticationService: AuthenticationService, private router: Router) { }\r\n\r\n canActivate() {\r\n const isLoggedIn = this.isLoggedIn();\r\n\r\n if (!isLoggedIn) {\r\n this.router.navigate(['login']);\r\n }\r\n return isLoggedIn;\r\n }\r\n\r\n isLoggedIn(): boolean {\r\n let isLoggedIn = this.authenticationService && this.authenticationService.isLoggedIn;\r\n if (!isLoggedIn) {\r\n isLoggedIn = sessionStorage.getItem('isLoggedIn') === 'true';\r\n }\r\n\r\n return isLoggedIn;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/guards/authenticationGuard.ts","import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\nimport { enableProdMode } from '@angular/core';\r\nimport { AppModule } from './app/app.module';\r\nimport { environmentName } from './globals';\r\n\r\nif (environmentName === 'PRODUCTION') {\r\n enableProdMode();\r\n}\r\n\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule);\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.ts","export class Admission {\r\n\r\n constructor(\r\n public admissionLevel,\r\n public admissionType,\r\n public admissionYear,\r\n public countyName,\r\n public description,\r\n public federal,\r\n public firstLevelOffender,\r\n public probationCompleted,\r\n public probationStatus,\r\n public prohibited,\r\n public prohibitedState,\r\n public question,\r\n public stateCode,\r\n public type) { }\r\n\r\n static getAdmissions(specialInstruction: any): string {\r\n let admission = '';\r\n for (const admissions of specialInstruction) {\r\n if (admissions.applicantAdmissions.length > 0) {\r\n for (const item of admissions.applicantAdmissions) {\r\n if (item.admissionType !== undefined && item.admissionType !== null && item.admissionType !== '') {\r\n admission += `\\n Admission Type = ${item.admissionType} \\n`;\r\n\r\n if (item.question !== '' && item.question !== undefined && item.question !== null) {\r\n admission += ` Question = ${item.question} \\n`;\r\n }\r\n if (item.federal !== '' && item.federal !== undefined && item.federal !== null) {\r\n admission += ` Federal = ${item.federal} \\n`;\r\n }\r\n if (item.admissionYear !== '' && item.admissionYear !== undefined && item.admissionYear !== null) {\r\n admission += ` Admission Year = ${item.admissionYear} \\n`;\r\n }\r\n if (item.stateCode !== '' && item.stateCode !== undefined && item.stateCode !== null) {\r\n admission += ` State Code = ${item.stateCode} \\n`;\r\n }\r\n if (item.countyName !== '' && item.countyName !== undefined && item.countyName !== null) {\r\n admission += ` County Name = ${item.countyName} \\n`;\r\n }\r\n if (item.description !== '' && item.description !== undefined && item.description !== null) {\r\n admission += ` Description = ${item.description} \\n`;\r\n }\r\n if (item.type !== '' && item.type !== undefined && item.type !== null) {\r\n admission += ` Type = ${item.type} \\n`;\r\n }\r\n if (item.firstLevelOffender !== '' && item.firstLevelOffender !== undefined && item.firstLevelOffender !== null) {\r\n admission += ` First Level Offender = ${item.firstLevelOffender} \\n`;\r\n }\r\n if (item.admissionLevel !== '' && item.admissionLevel !== undefined && item.admissionLevel !== null) {\r\n admission += ` Admission Level = ${item.admissionLevel} \\n`;\r\n }\r\n if (item.probationStatus !== '' && item.probationStatus !== undefined && item.probationStatus !== null) {\r\n admission += ` Probation Status = ${item.probationStatus} \\n`;\r\n }\r\n if (item.probationCompleted !== '' && item.probationCompleted !== undefined && item.probationCompleted !== null) {\r\n admission += ` Probation Completed = ${item.probationCompleted} \\n`;\r\n }\r\n if (item.prohibited !== '' && item.prohibited !== undefined && item.prohibited !== null) {\r\n admission += ` Prohibited = ${item.prohibited} \\n`;\r\n }\r\n if (item.prohibitedState !== '' && item.prohibitedState !== undefined && item.prohibitedState !== null) {\r\n admission += ` Prohibited State = ${item.prohibitedState} \\n`;\r\n }\r\n }\r\n }\r\n } else {\r\n admission = '';\r\n }\r\n }\r\n return admission;\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/Admission.ts","export class ResearchInstruction {\r\n\r\n constructor(\r\n public researchInstruction: string) { }\r\n\r\n static getResearchInstruction(specialInstruction: any): string {\r\n let result = null;\r\n for (const item of specialInstruction) {\r\n if (item.researchInstructions.length > 0) {\r\n for (const research of item.researchInstructions) {\r\n result = research.researchInstructions;\r\n }\r\n }\r\n }\r\n return result;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/ResearchInstruction.ts","import * as alertify from 'alertifyjs';\r\nexport enum AlertResult {\r\n Ok = 1\r\n}\r\nexport enum ConfirmResult {\r\n Ok = 1,\r\n Cancel\r\n}\r\n\r\nexport function promisifyAlert(title: string, message: string, options = {\r\n labels: {\r\n ok: 'OK'\r\n }\r\n}): Promise {\r\n return new Promise((resolve) => {\r\n alertify.alert(\r\n title,\r\n message,\r\n () => resolve(AlertResult.Ok)).set(Object.assign({}, {\r\n closableByDimmer: false,\r\n defaultFocus: 'ok',\r\n frameless: false,\r\n closable: false\r\n }, options));\r\n });\r\n}\r\nexport function promisifyConfirm(title: string, message: string, options = {\r\n labels: {\r\n ok: 'OK',\r\n cancel: 'CANCEL'\r\n }\r\n}): Promise {\r\n\r\n return new Promise((resolve) => {\r\n alertify.confirm(\r\n title,\r\n message,\r\n () => resolve(ConfirmResult.Ok),\r\n () => resolve(ConfirmResult.Cancel)).set(Object.assign({}, {\r\n closableByDimmer: false,\r\n defaultFocus: 'cancel',\r\n frameless: false,\r\n closable: false\r\n }, options));\r\n });\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/alertifyPromise.ts","import { ChargeLevel } from './chargeLevels';\r\nimport { ChargeType } from './chargeType';\r\n\r\nexport default class Charge {\r\n constructor(public requestNbr: number,\r\n public offenseNbr: number,\r\n public chargeNbr: number,\r\n public countNbr: number,\r\n public chargeLevel: ChargeLevel,\r\n public charge: string,\r\n public disposition: string,\r\n public chargeStatute: string,\r\n public chargeProbation: string,\r\n public chargeFines: string,\r\n public chargeCourtCosts: string,\r\n public chargeJailTime: string,\r\n public chargePrisonTime: string,\r\n public chargeSuspensionTime: string,\r\n public chargeNextCourtDate: Date,\r\n public chargeOffenseDate: Date,\r\n public noOffenseDateReason: string,\r\n public chargeFileDate: Date,\r\n public noFileDateReason: string,\r\n public chargeArrestDate: Date,\r\n public noArrestDateReason: string,\r\n public chargeDispDate: Date,\r\n public noDispDateReason: string,\r\n public chargeOtherSentenceNotes: string,\r\n public chargeCd: ChargeType,\r\n ) {\r\n\r\n if (this.chargeNextCourtDate !== null) {\r\n this.chargeNextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (this.chargeOffenseDate !== null) {\r\n this.chargeOffenseDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (this.chargeFileDate !== null) {\r\n this.chargeFileDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (this.chargeArrestDate !== null) {\r\n this.chargeArrestDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (this.chargeDispDate !== null) {\r\n this.chargeDispDate.setHours(0, 0, 0, 0);\r\n }\r\n }\r\n\r\n get offenseNumber(): number {\r\n return this.offenseNbr;\r\n }\r\n\r\n get chargeNumber(): number {\r\n return this.chargeNbr;\r\n }\r\n\r\n get count(): number {\r\n return this.countNbr;\r\n }\r\n\r\n set count(count: number) {\r\n this.countNbr = count;\r\n }\r\n\r\n get offense(): string {\r\n return this.charge;\r\n }\r\n\r\n set offense(offense: string) {\r\n this.charge = offense;\r\n }\r\n\r\n get probation(): string {\r\n return this.chargeProbation;\r\n }\r\n\r\n set probation(probation: string) {\r\n this.chargeProbation = probation;\r\n }\r\n\r\n get fines(): string {\r\n return this.chargeFines;\r\n }\r\n\r\n set fines(fines: string) {\r\n this.chargeFines = fines;\r\n }\r\n\r\n get courtCost(): string {\r\n return this.chargeCourtCosts;\r\n }\r\n\r\n set courtCost(courtCost: string) {\r\n this.chargeCourtCosts = courtCost;\r\n }\r\n\r\n get jailTime(): string {\r\n return this.chargeJailTime;\r\n }\r\n\r\n set jailTime(jailTime: string) {\r\n this.chargeJailTime = jailTime;\r\n }\r\n\r\n get prisonTime(): string {\r\n return this.chargePrisonTime;\r\n }\r\n\r\n set prisonTime(prisonTime: string) {\r\n this.chargePrisonTime = prisonTime;\r\n }\r\n\r\n get suspensionTime(): string {\r\n return this.chargeSuspensionTime;\r\n }\r\n\r\n set suspensionTime(suspensionTime: string) {\r\n this.chargeSuspensionTime = suspensionTime;\r\n }\r\n\r\n get nextCourtDate(): Date {\r\n return this.chargeNextCourtDate;\r\n }\r\n\r\n set nextCourtDate(nextCourtDate: Date) {\r\n if (nextCourtDate !== null) {\r\n nextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.chargeNextCourtDate = nextCourtDate;\r\n }\r\n\r\n get offenseDate(): Date {\r\n return this.chargeOffenseDate;\r\n }\r\n\r\n set offenseDate(offenseDate: Date) {\r\n if (offenseDate !== null) {\r\n offenseDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.chargeOffenseDate = offenseDate;\r\n }\r\n\r\n get fileDate(): Date {\r\n return this.chargeFileDate;\r\n }\r\n\r\n set fileDate(fileDate: Date) {\r\n if (fileDate !== null) {\r\n fileDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.chargeFileDate = fileDate;\r\n }\r\n\r\n get arrestDate(): Date {\r\n return this.chargeArrestDate;\r\n }\r\n\r\n set arrestDate(arrestDate: Date) {\r\n if (arrestDate !== null) {\r\n arrestDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.chargeArrestDate = arrestDate;\r\n }\r\n\r\n get dispositionDate(): Date {\r\n return this.chargeDispDate;\r\n }\r\n\r\n set dispositionDate(dispositionDate: Date) {\r\n if (dispositionDate !== null) {\r\n dispositionDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.chargeDispDate = dispositionDate;\r\n }\r\n\r\n get noDispositionReason(): string {\r\n return this.noDispDateReason;\r\n }\r\n\r\n set noDispositionReason(noDispositionReason: string) {\r\n this.noDispDateReason = noDispositionReason;\r\n }\r\n\r\n get otherSentenceNotes(): string {\r\n return this.chargeOtherSentenceNotes;\r\n }\r\n\r\n set otherSentenceNotes(otherSentenceNotes: string) {\r\n this.chargeOtherSentenceNotes = otherSentenceNotes;\r\n }\r\n\r\n get chargeType(): ChargeType {\r\n return this.chargeCd as ChargeType;\r\n }\r\n\r\n set chargeType(chargeType: ChargeType) {\r\n this.chargeCd = chargeType;\r\n }\r\n\r\n static createCharge(requestNumber: number,\r\n offenseNumber: number,\r\n count: number,\r\n chargeLevel: ChargeLevel,\r\n offense: string,\r\n disposition: string,\r\n chargeStatute: string,\r\n probation: string,\r\n fines: string,\r\n courtCosts: string,\r\n jailTime: string,\r\n prisonTime: string,\r\n suspensionTime: string,\r\n nextCourtDate: Date,\r\n offenseDate: Date,\r\n noOffenseDateReason: string,\r\n fileDate: Date,\r\n noFileDateReason: string,\r\n arrestDate: Date,\r\n noArrestDateReason: string,\r\n dispositionDate: Date,\r\n noDispositionReason: string,\r\n otherSentenceNotes: string,\r\n chargeType: ChargeType): Charge {\r\n return new Charge(requestNumber, offenseNumber, null, count, chargeLevel,\r\n offense, disposition, chargeStatute, probation,\r\n fines, courtCosts, jailTime, prisonTime, suspensionTime,\r\n nextCourtDate, offenseDate, noOffenseDateReason, fileDate,\r\n noFileDateReason, arrestDate, noArrestDateReason,\r\n dispositionDate, noDispositionReason, otherSentenceNotes, chargeType);\r\n }\r\n\r\n static createFromRequest(charges: any): Charge[] {\r\n if (charges == null) {\r\n return null;\r\n }\r\n\r\n const internalCharges = new Array();\r\n for (const chargeBackup of charges) {\r\n internalCharges.push(new Charge(chargeBackup.requestNbr,\r\n chargeBackup.offenseNbr,\r\n chargeBackup.chargeNbr,\r\n chargeBackup.countNbr,\r\n chargeBackup.chargeLevel,\r\n chargeBackup.charge,\r\n chargeBackup.disposition,\r\n chargeBackup.chargeStatute,\r\n chargeBackup.chargeProbation,\r\n chargeBackup.chargeFines,\r\n chargeBackup.chargeCourtCosts,\r\n chargeBackup.chargeJailTime,\r\n chargeBackup.chargePrisonTime,\r\n chargeBackup.chargeSuspensionTime,\r\n chargeBackup.chargeNextCourtDate === null ? null : new Date(chargeBackup.chargeNextCourtDate),\r\n chargeBackup.chargeOffenseDate === null ? null : new Date(chargeBackup.chargeOffenseDate),\r\n chargeBackup.noOffenseDateReason,\r\n chargeBackup.chargeFileDate === null ? null : new Date(chargeBackup.chargeFileDate),\r\n chargeBackup.noFileDateReason,\r\n chargeBackup.chargeArrestDate === null ? null : new Date(chargeBackup.chargeArrestDate),\r\n chargeBackup.noArrestDateReason,\r\n chargeBackup.chargeDispDate === null ? null : new Date(chargeBackup.chargeDispDate),\r\n chargeBackup.noDispDateReason,\r\n chargeBackup.chargeOtherSentenceNotes,\r\n chargeBackup.chargeCd));\r\n }\r\n\r\n return internalCharges;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/charge.ts","export enum ChargeLevel {\r\n Misdemeanor = 1,\r\n Felony = 2,\r\n Traffic = 4,\r\n CriminalTraffic = 5,\r\n PettyMisdemeanors = 7,\r\n OrdinanceViolation = 9,\r\n Infraction = 10,\r\n Other = 11,\r\n Summary = 12,\r\n MinorMisdemeanor = 13\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/chargeLevels.ts","export enum ChargeType {\r\n Convicted = 'C',\r\n ActiveDeferral = 'AD',\r\n CompleteDeferral = 'CD',\r\n OtherNonConviction = 'N',\r\n Pending = 'P'\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/chargeType.ts","\r\nexport enum Codes {\r\n ok = 200,\r\n requireUsername = 460,\r\n requirePassword = 461,\r\n requiredNewPassword = 464,\r\n invalidPassword = 453,\r\n userNamePasswordNotExist = 454,\r\n passwordAlreadyExist = 455,\r\n passwordMatch= 456,\r\n requiredEmail = 464,\r\n accountLocked = 458\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/codes.ts","export default class ComplianceAuditLog {\r\n constructor(public requestNbr: number,\r\n public event: string,\r\n public page: string,\r\n public description: string,\r\n public comment: string) {}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/complianceAuditLog.ts","import * as moment from 'moment';\r\n\r\nexport default class DateHandler {\r\n constructor(date: any, private baseCentury: number = 2000) {\r\n if (date instanceof Date) {\r\n this.date = moment(date).format(this.mask);\r\n } else {\r\n this.date = date ? (date as string).trim() : date;\r\n }\r\n }\r\n\r\n get isValid(): boolean {\r\n const date = this.formatDate(this.date, this.mask);\r\n return date !== null && moment(date, this.mask).isValid();\r\n }\r\n\r\n format(mask: string = null): string {\r\n return this.date === null ? '' : this.internalFormat(mask === null || mask === undefined ? this.mask : mask);\r\n }\r\n\r\n get month(): string {\r\n return this.date === null ? '' : this.internalFormat(this.monthMask);\r\n }\r\n\r\n get day(): string {\r\n return this.date === null ? '' : this.internalFormat(this.dayMask);\r\n }\r\n\r\n get year(): string {\r\n return this.date === null ? '' : this.internalFormat(this.yearMask);\r\n }\r\n\r\n private internalFormat(mask: string) {\r\n let date: string = null;\r\n\r\n if (!this.isValid) {\r\n date = this.formatDate(this.date, this.mask);\r\n } else {\r\n date = this.date;\r\n }\r\n return date === null || date.trim() === '' ? '' : moment(date, this.mask).format(mask);\r\n }\r\n\r\n private formatDate(date: string, mask: string): string {\r\n const dateNoDelimiters: string = date.replace(/\\/|-/g, '');\r\n const maskNoDelimiters: string = mask.replace(/\\/|-/g, '');\r\n const length = maskNoDelimiters.length - dateNoDelimiters.length;\r\n\r\n if (length < 0 || (length !== 2 && length !== 0)) {\r\n return null;\r\n }\r\n\r\n if (length === 2) {\r\n const year = parseInt(dateNoDelimiters.slice(-2), 10);\r\n date = `${date.slice(0, -2)}${year + this.baseCentury}`;\r\n }\r\n\r\n return date;\r\n }\r\n\r\n private date: string = null;\r\n private mask = 'MM/DD/YYYY';\r\n private dayMask = 'DD';\r\n private monthMask = 'MM';\r\n private yearMask = 'YYYY';\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/dateHandler.ts","import { FormGroup } from '@angular/forms';\r\nimport DateHandler from './dateHandler';\r\n\r\nexport default class FormControl {\r\n\r\n constructor(private formGroup: FormGroup) { }\r\n\r\n setValidationErrorByControlName(controlName: string, validatorType: string) {\r\n const control = this.formGroup.get(controlName);\r\n const validator = {};\r\n validator[validatorType] = true;\r\n control.setErrors(validator);\r\n control.markAsTouched();\r\n }\r\n\r\n clearValidatorErrorByControlName(controlName: string, validatorType: string) {\r\n const control = this.formGroup.get(controlName);\r\n const validator = {};\r\n validator[validatorType] = false;\r\n control.setErrors(validator);\r\n control.updateValueAndValidity();\r\n }\r\n\r\n setValueByControlName(controlName: string, value: any) {\r\n this.formGroup.get(controlName).setValue(value === null ? '' : value);\r\n }\r\n\r\n getValueByControlName(controlName: string): string {\r\n return this.formGroup.get(controlName).value;\r\n }\r\n\r\n getNumberByControlName(controlName: string): number {\r\n return +this.formGroup.get(controlName).value;\r\n }\r\n\r\n getBooleanByControlName(controlName: string): boolean {\r\n const value = this.getValueByControlName(controlName);\r\n return value === null || value.length === 0 ? false : Boolean(value);\r\n }\r\n\r\n getCrimBooleanByControlName(controlName: string): string {\r\n const value = this.getValueByControlName(controlName);\r\n const boolean = value === null || value.length === 0 ? 'false' : Boolean(value);\r\n return boolean ? 'o' : '';\r\n }\r\n\r\n getDateByControlName(controlName: string, baseCentury: number = 2000): Date {\r\n const value = this.getValueByControlName(controlName);\r\n const date = new DateHandler(value, baseCentury);\r\n return value === null || value.length === 0 || !date.isValid ? null : new Date(date.format());\r\n }\r\n\r\n getShortDateByControlName(controlName: string, baseCentury: number = 2000): Date {\r\n const value = this.getValueByControlName(controlName);\r\n const date = new DateHandler(value, baseCentury);\r\n return value === null || value.length === 0 || !date.isValid ? null : new Date(Date.UTC(new Date(date.format()).getFullYear(), new Date(date.format()).getMonth(), new Date(date.format()).getDate(), 0, 0, 0, 0));\r\n }\r\n\r\n getControlByControlName(controlName: string) {\r\n return this.formGroup.get(controlName);\r\n }\r\n\r\n hasErrorByControlName(controlName: string): boolean {\r\n return this.formGroup.get(controlName).invalid;\r\n }\r\n\r\n isControlNameDirty(controlName: string): boolean {\r\n return this.formGroup.get(controlName).dirty;\r\n }\r\n\r\n disableControlByControlName(controlName: string) {\r\n return this.formGroup.get(controlName).disable();\r\n }\r\n\r\n enableControlByControlName(controlName: string) {\r\n return this.formGroup.get(controlName).enable();\r\n }\r\n\r\n hasValueByControlName(controlName: string) {\r\n const value = this.getValueByControlName(controlName);\r\n return value !== null && value !== undefined && value !== '';\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/formControl.ts","import { Http, Response, Headers, RequestOptions } from '@angular/http';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport { Router } from '@angular/router';\r\nimport * as alertify from 'alertifyjs';\r\n\r\nexport default class HttpBase {\r\n\r\n constructor(private http: Http, protected router: Router) {}\r\n\r\n httpPost(url: string, object: any, showPopupOnError = true, redirectToLoginIfNotAuthorized = true): Observable {\r\n this.putLoader();\r\n const headers = new Headers();\r\n headers.append('Content-Type', 'application/json');\r\n const options = new RequestOptions({\r\n headers,\r\n withCredentials: true\r\n });\r\n\r\n return this.http.post(url, JSON.stringify(object), options)\r\n .map((r: Response) => r)\r\n .catch((r: Response) => {\r\n if (r.status === 401 && redirectToLoginIfNotAuthorized) {\r\n this.goToLoginPage();\r\n } else if (r.status !== 401 && r.status !== 422 && showPopupOnError) {\r\n alertify.alert('Crim Error', 'Your request cannot be processed at this time. Please try again later.');\r\n }\r\n\r\n return Observable.of(r);\r\n })\r\n .finally(() => {\r\n this.removeLoader();\r\n });\r\n }\r\n\r\n httpDelete(url: string, showPopupOnError = true, redirectToLoginIfNotAuthorized = true): Observable {\r\n this.putLoader();\r\n const headers = new Headers();\r\n headers.append('Content-Type', 'application/json');\r\n const options = new RequestOptions({\r\n headers,\r\n withCredentials: true\r\n });\r\n\r\n return this.http.delete(url, options)\r\n .map((r: Response) => r)\r\n .catch((r: Response) => {\r\n if (r.status === 401 && redirectToLoginIfNotAuthorized) {\r\n this.goToLoginPage();\r\n } else if (r.status !== 401 && r.status !== 422 && showPopupOnError) {\r\n alertify.alert('Crim Error', 'Your request cannot be processed at this time. Please try again later.');\r\n }\r\n\r\n return Observable.of(r);\r\n })\r\n .finally(() => {\r\n this.removeLoader();\r\n });\r\n }\r\n\r\n httpGet(url, showPopupOnError = true, redirectToLoginIfNotAuthorized = true): Observable {\r\n this.putLoader();\r\n return this.http.get(url, { withCredentials: true })\r\n .map((r: Response) => r)\r\n .catch((r: Response) => {\r\n if (r.status === 401 && redirectToLoginIfNotAuthorized) {\r\n this.goToLoginPage();\r\n } else if (r.status !== 401 && r.status !== 422 && showPopupOnError) {\r\n alertify.alert('Crim Error', 'Your request cannot be processed at this time. Please try again later.');\r\n }\r\n\r\n return Observable.of(r);\r\n })\r\n .finally(() => {\r\n this.removeLoader();\r\n });\r\n }\r\n\r\n goToLoginPage() {\r\n this.router.navigate(['login']);\r\n }\r\n\r\n private putLoader() {\r\n const loaderElement = document.getElementById('loader');\r\n loaderElement.className = 'loader';\r\n\r\n const screenDisableElement = document.getElementById('screen-disable');\r\n screenDisableElement.className = 'screen-disable';\r\n }\r\n\r\n private removeLoader() {\r\n const loaderElement = document.getElementById('loader');\r\n loaderElement.className = '';\r\n\r\n const screenDisableElement = document.getElementById('screen-disable');\r\n screenDisableElement.className = '';\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/httpBase.ts","import { Response } from '@angular/http';\r\n\r\nexport default class HttpError {\r\n\r\n constructor(private response: Response, private urlUsed: string) { }\r\n\r\n get status(): number {\r\n return this.response.status;\r\n }\r\n\r\n get statusText(): string {\r\n return this.response.statusText;\r\n }\r\n\r\n get url(): string {\r\n return this.response.url || this.urlUsed;\r\n }\r\n\r\n get httpResponse(): Response {\r\n return this.response;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/httpError.ts","export * from './httpError';\r\nexport * from './researcherTaskList';\r\nexport * from './workOrder';\r\nexport * from './workOrderComplete';\r\nexport * from './report';\r\nexport * from './specialInstruction';\r\nexport * from './submitTask';\r\nexport * from './submitTaskDialog';\r\nexport * from './codes';\r\nexport * from './params';\r\nexport * from './sortList';\r\nexport * from './jurisdictions';\r\nexport * from './jurisdictionResults';\r\nexport * from './orderBy';\r\nexport * from './Admission';\r\nexport * from './ResearchInstruction';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/index.ts","import JurisdictionTotal from './jurisdictionTotal';\r\nimport Vendor from './vendor';\r\n\r\nexport default class Invoice {\r\n constructor(public vendor: Vendor,\r\n public jurisdictionTotals: JurisdictionTotal[],\r\n public totalRequestCount: number,\r\n public totalInvoiceAmount: number) { }\r\n\r\n static createFromRequest(request: any): Invoice {\r\n const vendor = Vendor.createFromRequest(request);\r\n const jurisdictionTotals = new Array();\r\n\r\n for (const jurisdictionTotal of request.jurisdictions) {\r\n jurisdictionTotals.push(JurisdictionTotal.createFromRequest(jurisdictionTotal));\r\n }\r\n\r\n return new Invoice(vendor,\r\n jurisdictionTotals,\r\n request.source.totalRequests,\r\n request.source.totalInvoiceAmount);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/invoice.ts","export default class Jurisdiction {\r\n constructor(jurisdictionId: number, description: string, count: number) {\r\n this.jurisdictionId = jurisdictionId;\r\n this.description = description;\r\n this.count = count;\r\n }\r\n\r\n static createFromRequest(request: any): Jurisdiction {\r\n return new Jurisdiction(request.jurisdictionId,\r\n request.description,\r\n request.count);\r\n }\r\n\r\n jurisdictionId: number;\r\n description: string;\r\n count: number;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/jurisdiction.ts","export class JurisdicationResults {\r\n constructor ( public jurisdictionId: string,\r\n public jState: string,\r\n public jurisdiction: string,\r\n public requestTotal: string) {}\r\n\r\n static createFromRequest(results: any): JurisdicationResults {\r\n return results == null\r\n ? null\r\n : new JurisdicationResults(results.jurisdicationId,\r\n results.jState,\r\n results.jurisdiction,\r\n results.requestTotal);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/jurisdictionResults.ts","export default class JurisdictionTotal {\r\n constructor(public jurisdiction: string,\r\n public totalRequests: number,\r\n public jurisdictionTotal: number) { }\r\n\r\n static createFromRequest(request: any): JurisdictionTotal {\r\n return new JurisdictionTotal(request.jurisdiction, request.totalRequests, request.jurisdictionTotal);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/jurisdictionTotal.ts","export class Jurisdictions {\r\n constructor (public sourceId: string,\r\n public sourceType: string,\r\n public sourceSubType: string,\r\n public sourceName: string,\r\n public status: string,\r\n public statusReason: string,\r\n public addresss: string,\r\n public state: string,\r\n public zipCode: string,\r\n public phoneNbr: string,\r\n public faxPhoneNbr: string,\r\n public altPhoneNbr: string,\r\n public altFaxNumber: string,\r\n public emailAddress: string,\r\n public webAddress: string,\r\n public pfdSendMethod: string,\r\n public pfdRecvMethod: string,\r\n public workOrderFormat: string,\r\n public comments: string,\r\n public contact: string,\r\n public systemOwnerId: string) {}\r\n\r\n static createFromRequest(juris: any): Jurisdictions {\r\n return juris == null\r\n ? null\r\n : new Jurisdictions(juris.sourceId,\r\n juris.sourceType,\r\n juris.sourceSubType,\r\n juris.sourceName,\r\n juris.status,\r\n juris.statusReason,\r\n juris.address,\r\n juris.state,\r\n juris.zipCode,\r\n juris.phoneNbr,\r\n juris.altPhoneNbr,\r\n juris.faxPhoneNbr,\r\n juris.altFaxNumber,\r\n juris.emailAddress,\r\n juris.webAddress,\r\n juris.pfdSendMethod,\r\n juris.pfdRecvMethod,\r\n juris.workOrderFormat,\r\n juris.comments,\r\n juris.contact,\r\n juris.systemOwnerId);\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/jurisdictions.ts","import User from './user';\r\n\r\nexport default class LoggedInUser {\r\n constructor(public lastLoginDate: Date,\r\n public user: User) { }\r\n\r\n static createFromRequest(request: any): LoggedInUser {\r\n const { lastLoginDate } = request;\r\n return new LoggedInUser(lastLoginDate, User.createFromRequest(request.user));\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/loggedInUser.ts","import Jurisdiction from './jurisdiction';\r\nimport LoggedInUser from './loggedInUser';\r\nimport Vendor from './vendor';\r\n\r\nexport default class Navigation {\r\n constructor(public loggedInUser: LoggedInUser,\r\n public jurisdictions: Jurisdiction[],\r\n public vendors: Vendor[]) {\r\n }\r\n\r\n static createFromRequest(request: any): Navigation {\r\n\r\n const jurisdictions = new Array();\r\n const vendors = new Array();\r\n const loggedInUser = LoggedInUser.createFromRequest(request.loggedInUser);\r\n\r\n for (const jurisdiction of request.jurisdictions) {\r\n jurisdictions.push(Jurisdiction.createFromRequest(jurisdiction));\r\n }\r\n\r\n for (const vendor of request.vendors) {\r\n vendors.push(Vendor.createFromRequest(vendor));\r\n }\r\n\r\n return new Navigation(loggedInUser, jurisdictions, vendors);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/navigation.ts","import OffenseSearch from '../models/offenseSearch';\r\nimport OffenseRecord from '../models/offenseRecord';\r\n\r\nexport default class Offense {\r\n\r\n constructor(offenseSearch: OffenseSearch, offenseRecords: OffenseRecord[]) {\r\n this.offenseSearch = offenseSearch;\r\n this.offenseRecords = offenseRecords;\r\n }\r\n\r\n offenseSearch: OffenseSearch;\r\n offenseRecords: OffenseRecord[];\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/offense.ts","// Using bitwise operator I can\r\n// pass back multiple codes.\r\nexport enum OffenseCodes {\r\n ok = 0,\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/offenseCodes.ts","import Charge from './charge';\r\nexport default class OffenseRecord {\r\n\r\n constructor(public requestNbr: number,\r\n public offenseNbr: number,\r\n public offenseDt: Date,\r\n public fileDt: Date,\r\n public dispositionDt: Date,\r\n public gradingResult: string,\r\n public courtRecordedName: string,\r\n public faxInfoInd: string,\r\n public identifierDOB: string,\r\n public identifierSSN: string,\r\n public identifierName: string,\r\n public identifierAddress: string,\r\n public identifierDLN: string,\r\n public classification: number,\r\n public comments: string,\r\n public referenceNbr: string,\r\n public nameDiff: string,\r\n public identifierSIN: string,\r\n public courtRecordDOB: Date,\r\n public identifierPartialDOB: string,\r\n public partialMonth: string,\r\n public partialDay: string,\r\n public partialYear: string,\r\n public identifierNoDOB: string,\r\n public nextCourtDate: Date,\r\n public probation: string,\r\n public jailTime: string,\r\n public prisonTime: string,\r\n public suspensionTime: string,\r\n public fines: string,\r\n public courtCosts: string,\r\n public otherSentenceNotes: string,\r\n public arrestDate: Date,\r\n public results: string,\r\n public suppressed: string,\r\n public deleted: string,\r\n public deferred: string,\r\n public isCourtCaseSentencing: string,\r\n public verifiedDOBFull: string,\r\n public verifiedDOBPartial: string,\r\n public verifiedAddress: string,\r\n public verifiedSSN: string,\r\n public verifiedSIN: string,\r\n public verifiedDL: string,\r\n public verifiedName: string,\r\n public isVerified: string,\r\n public verifiedUserId: number,\r\n public charges: Charge[],\r\n public isNewRecord = false) {\r\n if (courtRecordDOB != null) {\r\n this.courtRecordDOB.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (nextCourtDate != null) {\r\n this.nextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (nextCourtDate != null) {\r\n this.nextCourtDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (fileDt != null) {\r\n this.fileDt.setHours(0, 0, 0, 0);\r\n }\r\n\r\n if (dispositionDt != null) {\r\n this.dispositionDt.setHours(0, 0, 0, 0);\r\n }\r\n }\r\n\r\n get requestNumber(): number {\r\n return this.requestNbr;\r\n }\r\n\r\n get offenseNumber(): number {\r\n return this.offenseNbr;\r\n }\r\n\r\n get offenseDate(): Date {\r\n return this.offenseDt;\r\n }\r\n\r\n set offenseDate(offenseDate: Date) {\r\n if (offenseDate != null) {\r\n offenseDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.offenseDt = offenseDate;\r\n }\r\n\r\n get fileDate(): Date {\r\n return this.fileDt;\r\n }\r\n\r\n set fileDate(fileDate: Date) {\r\n if (fileDate != null) {\r\n fileDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.fileDt = fileDate;\r\n }\r\n\r\n get dispositionDate(): Date {\r\n return this.dispositionDt;\r\n }\r\n\r\n set dispositionDate(dispositionDate: Date) {\r\n if (dispositionDate != null) {\r\n dispositionDate.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.dispositionDt = dispositionDate;\r\n }\r\n\r\n get courtRecordFullName(): string {\r\n return this.courtRecordedName;\r\n }\r\n\r\n set courtRecordFullName(courtRecordFullName: string) {\r\n this.courtRecordedName = courtRecordFullName;\r\n }\r\n\r\n get hasFaxInformation(): boolean {\r\n return this.faxInfoInd === 'o';\r\n }\r\n\r\n set hasFaxInformation(hasFaxInformation: boolean) {\r\n this.faxInfoInd = hasFaxInformation ? 'o' : '';\r\n }\r\n\r\n get hasDobIdentifier(): boolean {\r\n return this.identifierDOB === 'o';\r\n }\r\n\r\n set hasDobIdentifier(hasDobIdentifier: boolean) {\r\n this.identifierDOB = hasDobIdentifier ? 'o' : '';\r\n }\r\n\r\n get hasSsnIdentifier(): boolean {\r\n return this.identifierSSN === 'o';\r\n }\r\n\r\n set hasSsnIdentifier(hasSsnIdentifier: boolean) {\r\n this.identifierSSN = hasSsnIdentifier ? 'o' : '';\r\n }\r\n\r\n get hasNameIdentifier(): boolean {\r\n return this.identifierName === 'o';\r\n }\r\n\r\n set hasNameIdentifier(hasNameIdentifier: boolean) {\r\n this.identifierName = hasNameIdentifier ? 'o' : '';\r\n }\r\n\r\n get hasAddressIdentifier(): boolean {\r\n return this.identifierAddress === 'o';\r\n }\r\n\r\n set hasAddressIdentifier(hasAddressIdentifier: boolean) {\r\n this.identifierAddress = hasAddressIdentifier ? 'o' : '';\r\n }\r\n\r\n get hasDlnIdentifier(): boolean {\r\n return this.identifierDLN === 'o';\r\n }\r\n\r\n set hasDlnIdentifier(hasDlnIdentifier: boolean) {\r\n this.identifierDLN = hasDlnIdentifier ? 'o' : '';\r\n }\r\n\r\n get hasSinIdentifier(): boolean {\r\n return this.identifierSIN === 'o';\r\n }\r\n\r\n\r\n set hasSinIdentifier(hasSinIdentifier: boolean) {\r\n this.identifierSIN = hasSinIdentifier ? 'o' : '';\r\n }\r\n\r\n get hasPartialDobIdentifier(): boolean {\r\n return this.identifierPartialDOB === 'o';\r\n }\r\n\r\n set hasPartialDobIdentifier(hasPartialDobIdentifier: boolean) {\r\n this.identifierPartialDOB = hasPartialDobIdentifier ? 'o' : '';\r\n }\r\n\r\n get hasNoDobIdentifier(): boolean {\r\n return this.identifierNoDOB === 'o';\r\n }\r\n\r\n set hasNoDobIdentifier(hasNoDobIdentifier: boolean) {\r\n this.identifierNoDOB = hasNoDobIdentifier ? 'o' : '';\r\n }\r\n\r\n get referenceNumber(): string {\r\n return this.referenceNbr;\r\n }\r\n\r\n set referenceNumber(referenceNumber: string) {\r\n this.referenceNbr = referenceNumber;\r\n }\r\n\r\n get nameDiffers(): boolean {\r\n return this.nameDiff === 'o';\r\n }\r\n\r\n set nameDiffers(nameDiffers: boolean) {\r\n this.nameDiff = nameDiffers ? 'o' : '';\r\n }\r\n\r\n get courtRecordDob(): Date {\r\n return this.courtRecordDOB;\r\n }\r\n\r\n set courtRecordDob(courtRecordDob: Date) {\r\n if (courtRecordDob != null) {\r\n courtRecordDob.setHours(0, 0, 0, 0);\r\n }\r\n\r\n this.courtRecordDOB = courtRecordDob;\r\n }\r\n\r\n get isSuppressed(): boolean {\r\n return this.suppressed === 'o';\r\n }\r\n\r\n set isSuppressed(isSuppressed: boolean) {\r\n this.suppressed = isSuppressed ? 'o' : '';\r\n }\r\n\r\n get isDeleted(): boolean {\r\n return this.deleted === 'o';\r\n }\r\n\r\n set isDeleted(isDeleted: boolean) {\r\n this.deleted = isDeleted ? 'o' : '';\r\n }\r\n\r\n get isDeferred(): boolean {\r\n return this.deferred === 'o';\r\n }\r\n\r\n set isDeferred(isDeferred: boolean) {\r\n this.deferred = isDeferred ? 'o' : '';\r\n }\r\n\r\n get isCourtCaseSentence(): boolean {\r\n return this.isCourtCaseSentencing === 'o';\r\n }\r\n\r\n set isCourtCaseSentence(isCourtCaseSentence: boolean) {\r\n this.isCourtCaseSentencing = isCourtCaseSentence ? 'o' : '';\r\n }\r\n\r\n get isVerifiedDobFull(): boolean {\r\n return this.verifiedDOBFull === 'o';\r\n }\r\n\r\n set isVerifiedDobFull(isVerifiedDobFull: boolean) {\r\n this.verifiedDOBFull = isVerifiedDobFull ? 'o' : '';\r\n }\r\n\r\n get isVerifiedDobPartial(): boolean {\r\n return this.verifiedDOBPartial === 'o';\r\n }\r\n\r\n set isVerifiedDobPartial(isVerifiedDobPartial: boolean) {\r\n this.verifiedDOBPartial = isVerifiedDobPartial ? 'o' : '';\r\n }\r\n\r\n get isVerifiedAddress(): boolean {\r\n return this.verifiedAddress === 'o';\r\n }\r\n\r\n set isVerifiedAddress(isVerifiedAddress: boolean) {\r\n this.verifiedAddress = isVerifiedAddress ? 'o' : '';\r\n }\r\n\r\n get isVerifiedSsn(): boolean {\r\n return this.verifiedSSN === 'o';\r\n }\r\n\r\n set isVerifiedSsn(isVerifiedSsn: boolean) {\r\n this.verifiedSSN = isVerifiedSsn ? 'o' : '';\r\n }\r\n\r\n get isVerifiedSin(): boolean {\r\n return this.verifiedSIN === 'o';\r\n }\r\n\r\n set isVerifiedSin(isVerifiedSin: boolean) {\r\n this.verifiedSIN = isVerifiedSin ? 'o' : '';\r\n }\r\n\r\n get isVerifiedDl(): boolean {\r\n return this.verifiedDL === 'o';\r\n }\r\n\r\n set isVerifiedDl(isVerifiedDl: boolean) {\r\n this.verifiedDL = isVerifiedDl ? 'o' : '';\r\n }\r\n\r\n get isVerifiedName(): boolean {\r\n return this.verifiedName === 'o';\r\n }\r\n\r\n set isVerifiedName(isVerifiedName: boolean) {\r\n this.verifiedName = isVerifiedName ? 'o' : '';\r\n }\r\n\r\n get isOffenseVerified(): boolean {\r\n return this.isVerified === 'o';\r\n }\r\n\r\n set isOffenseVerified(isOffenseVerified: boolean) {\r\n this.isVerified = isOffenseVerified ? 'o' : '';\r\n }\r\n\r\n static getFromRequest(offenseRecords: any): OffenseRecord[] {\r\n if (offenseRecords == null) {\r\n return null;\r\n }\r\n\r\n const records = new Array();\r\n if (offenseRecords.length > 0) {\r\n for (const offenseRecord of offenseRecords) {\r\n records.push(new OffenseRecord(offenseRecord.requestNbr,\r\n offenseRecord.offenseNbr,\r\n offenseRecord.offenseDt === null ? null : new Date(offenseRecord.offenseDt),\r\n offenseRecord.fileDt === null ? null : new Date(offenseRecord.fileDt),\r\n offenseRecord.dispositionDt === null ? null : new Date(offenseRecord.dispositionDt),\r\n offenseRecord.gradingResult,\r\n offenseRecord.courtRecordedName,\r\n offenseRecord.faxInfoInd,\r\n offenseRecord.identifierDOB,\r\n offenseRecord.identifierSSN,\r\n offenseRecord.identifierName,\r\n offenseRecord.identifierAddress,\r\n offenseRecord.identifierDLN,\r\n offenseRecord.classification,\r\n offenseRecord.comments,\r\n offenseRecord.referenceNbr,\r\n offenseRecord.nameDiff,\r\n offenseRecord.identifierSIN,\r\n offenseRecord.courtRecordDOB === null ? null : new Date(offenseRecord.courtRecordDOB),\r\n offenseRecord.identifierPartialDOB,\r\n offenseRecord.partialMonth,\r\n offenseRecord.partialDay,\r\n offenseRecord.partialYear,\r\n offenseRecord.identifierNoDOB,\r\n offenseRecord.nextCourtDate === null ? null : new Date(offenseRecord.nextCourtDate),\r\n offenseRecord.probation,\r\n offenseRecord.jailTime,\r\n offenseRecord.prisonTime,\r\n offenseRecord.suspensionTime,\r\n offenseRecord.fines,\r\n offenseRecord.courtCosts,\r\n offenseRecord.otherSentenceNotes,\r\n offenseRecord.arrestDate === null ? null : new Date(offenseRecord.arrestDate),\r\n offenseRecord.results,\r\n offenseRecord.suppressed,\r\n offenseRecord.deleted,\r\n offenseRecord.deferred,\r\n offenseRecord.isCourtCaseSentencing,\r\n offenseRecord.verifiedDOBFull,\r\n offenseRecord.verifiedDOBPartial,\r\n offenseRecord.verifiedAddress,\r\n offenseRecord.verifiedSSN,\r\n offenseRecord.verifiedSIN,\r\n offenseRecord.verifiedDL,\r\n offenseRecord.verifiedName,\r\n offenseRecord.isVerified,\r\n offenseRecord.verifiedUserId,\r\n Charge.createFromRequest(offenseRecord.charges)));\r\n }\r\n }\r\n\r\n return records;\r\n }\r\n\r\n static createNewOffenseRecord(requestNumber: number, offenceNumber): OffenseRecord {\r\n return new OffenseRecord(requestNumber, offenceNumber, null, null, null, null, null,\r\n null, null, null, null, null, null, null,\r\n null, null, null, null, null, null, null,\r\n null, null, null, null, null, null, null,\r\n null, null, null, null, null, null, null,\r\n null, null, null, null, null, null, null,\r\n null, null, null, null, null, new Array(),\r\n true);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/offenseRecord.ts","export default class OffenseSearch {\r\n constructor(public requestNbr: number,\r\n public caseNbr: number,\r\n public refName: string,\r\n public refAddr1: string,\r\n public refCity: string,\r\n public refState: string,\r\n public refZip: string,\r\n public workState: string,\r\n public restrictedState: string,\r\n public dob: Date,\r\n public jurisdiction: string,\r\n public jurisdictionId: number,\r\n public ssn: string,\r\n public searchFromDt: string,\r\n public searchToDt: string,\r\n public admittedCrimNotFound: boolean,\r\n public status: string,\r\n public sourceName: string,\r\n public sourceType: string,\r\n public licenseNumber: string,\r\n public isHeightenedIdentifier: Boolean) {}\r\n\r\n get requestNumber(): number {\r\n return this.requestNbr;\r\n }\r\n\r\n get caseNumber(): number {\r\n return this.caseNbr;\r\n }\r\n\r\n get fullName(): string {\r\n return this.refName;\r\n }\r\n\r\n get address1(): string {\r\n return this.refAddr1;\r\n }\r\n\r\n get city(): string {\r\n return this.refCity;\r\n }\r\n\r\n get state(): string {\r\n return this.refState;\r\n }\r\n\r\n get zip(): string {\r\n return this.refZip;\r\n }\r\n\r\n get isRestrictedState(): boolean {\r\n return this.restrictedState === 'Y';\r\n }\r\n\r\n get socialSecurityNumber(): string {\r\n return this.ssn === null || this.ssn === undefined || this.ssn.length !== 9\r\n ? this.ssn\r\n : `${this.ssn.slice(0, 3)}-${this.ssn.slice(3, 5)}-${this.ssn.slice(5)}`;\r\n }\r\n\r\n get searchFromDate(): string {\r\n return this.searchFromDt;\r\n }\r\n\r\n get searchToDate(): string {\r\n return this.searchToDt;\r\n }\r\n\r\n static createFromRequest(offenseSearch: any): OffenseSearch {\r\n return offenseSearch == null\r\n ? null\r\n : new OffenseSearch(offenseSearch.requestNbr,\r\n offenseSearch.caseNbr,\r\n offenseSearch.refName,\r\n offenseSearch.refAddr1,\r\n offenseSearch.refCity,\r\n offenseSearch.refState,\r\n offenseSearch.refZip,\r\n offenseSearch.workState,\r\n offenseSearch.restrictedState,\r\n new Date(offenseSearch.dob),\r\n offenseSearch.jurisdiction,\r\n offenseSearch.jurisdictionId,\r\n offenseSearch.ssn,\r\n offenseSearch.searchFromDt,\r\n offenseSearch.searchToDt,\r\n offenseSearch.admittedCrimNotFound,\r\n offenseSearch.status,\r\n offenseSearch.sourceName,\r\n offenseSearch.sourceType,\r\n offenseSearch.licenseNumber,\r\n offenseSearch.isHeightenedIdentifier);\r\n }\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/offenseSearch.ts","\r\nimport { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({ name: 'orderBy', pure: false })\r\nexport class OrderBy implements PipeTransform {\r\n value: string[] = [];\r\n static _orderByComparator(a: any, b: any): number {\r\n\r\n if (a === null || a === undefined) { a = 0; }\r\n if (b === null || b === undefined) { b = 0; }\r\n\r\n if ((isNaN(parseFloat(a)) || !isFinite(a)) || (isNaN(parseFloat(b)) || !isFinite(b))) {\r\n if (!isNaN(Date.parse(a)) || !isNaN(Date.parse(b))) {\r\n if (a < b) { return -1; }\r\n if (a > b) { return 1; }\r\n } else {// true\r\n a = a.toString();\r\n b = b.toString();\r\n if (a.toLowerCase() < b.toLowerCase()) { return -1; }\r\n if (a.toLowerCase() > b.toLowerCase()) { return 1; }\r\n }\r\n } else {\r\n if (parseFloat(a) < parseFloat(b)) { return -1; }\r\n if (parseFloat(a) > parseFloat(b)) { return 1; }\r\n }\r\n return 0; // equal each other\r\n }\r\n public transform(input: any, config = '+'): any {\r\n config = JSON.parse(localStorage.getItem('sortOrder'));\r\n if (!input) {\r\n return input;\r\n }\r\n const value = [...input];\r\n if (!Array.isArray(value)) {\r\n return value;\r\n }\r\n return value.sort(function (a: any, b: any) {\r\n for (let i = 0; i < config.length; i++) {\r\n const desc = config[i].substr(0, 1) === '-';\r\n const property = config[i].substr(0, 1) === '+' || config[i].substr(0, 1) === '-'\r\n ? config[i].substr(1) : config[i];\r\n\r\n let aValue = a[property];\r\n let bValue = b[property];\r\n\r\n const propertySplit = property.split('.');\r\n\r\n if (aValue === undefined && bValue === undefined && propertySplit.length > 1) {\r\n aValue = a;\r\n bValue = b;\r\n for (let j = 0; j < propertySplit.length; j++) {\r\n aValue = aValue[propertySplit[j]];\r\n bValue = bValue[propertySplit[j]];\r\n }\r\n }\r\n\r\n const comparison = !desc ? OrderBy._orderByComparator(aValue, bValue)\r\n : -OrderBy._orderByComparator(aValue, bValue);\r\n\r\n if (comparison !== 0) { return comparison; }\r\n }\r\n return 0; // equal each other\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/orderBy.ts","export class Params {\r\n public userName: string;\r\n public currentPassword: string;\r\n public newPassword: string;\r\n public confirmPassword: string;\r\n public email: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/params.ts","import { promisifyConfirm, ConfirmResult, promisifyAlert, AlertResult } from './alertifyPromise';\r\nimport * as alertify from 'alertifyjs';\r\n\r\nexport default class PopupHelper {\r\n static dobMismatchHelper(): Promise {\r\n const message = `\r\n
\r\n
The applicant DOB does not match the court DOB.
\r\n
Select Proceed to continue without editing the DOB.
\r\n
Select Update to edit the DOB.
\r\n
\r\n `;\r\n return promisifyConfirm('
***WARNING*** DOB MISMATCH
', message, {\r\n labels: {\r\n ok: 'Proceed',\r\n cancel: 'Update'\r\n }\r\n });\r\n }\r\n\r\n static saveUnsavedChangesHelper(): Promise {\r\n const message = `You made changes to the current record.\r\n

If you would like these changes to be saved, please select Cancel and Save Record.\r\n Select OK to proceed without saving these changes`;\r\n return promisifyConfirm('Unsaved changes', message);\r\n }\r\n\r\n static exitSystemHelper(): Promise {\r\n const message = `You have chosen to Exit the Criminal Research System. If you\r\n have made any changes that you have not saved, please select\r\n the CANCEL push-button to save those changes. To continue\r\n logging off of the system, select the OK push-button.`;\r\n return promisifyConfirm('System Exit', message);\r\n }\r\n static confirmSubmitHelper(message: string): Promise {\r\n return promisifyConfirm('Confirm Submit', message);\r\n }\r\n static pendingWOHelper(message: string): Promise {\r\n return promisifyAlert('Crim System', message);\r\n }\r\n static passwordExpirationHelper(message: string): Promise {\r\n return promisifyConfirm('Crim Error', message);\r\n }\r\n static saveComment(message: string): Promise {\r\n return promisifyAlert('Notice', message);\r\n }\r\n static loginIssue(message: string): Promise {\r\n return promisifyAlert('CrimSystem', message);\r\n }\r\n static userHelperConfirm(message: string): Promise {\r\n return promisifyConfirm('Crim System', message);\r\n }\r\n static userHelper(message: string, type: string): Promise {\r\n if (type === 'error') {\r\n return promisifyAlert('Crim Error', message);\r\n } else if (type === 'crim') {\r\n return promisifyAlert('Crim System', message);\r\n } else {\r\n return promisifyAlert('Forgot Password', message);\r\n }\r\n }\r\n static deleteRecordHelper(): Promise {\r\n const message = `Are you sure you want to delete this record?`;\r\n return promisifyConfirm('Record Delete', message);\r\n }\r\n\r\n static systemVersion() {\r\n alertify.alert('Crim System', `Criminal Record Information Management Version 2.0`);\r\n }\r\n\r\n static support() {\r\n alertify.alert('Crim System', `Please contact GIS Vendor Relations for any questions related to CRIM.`);\r\n }\r\n\r\n static submitHelper(message) {\r\n alertify.alert('Crim System', message);\r\n }\r\n static noChangesToTaskList(): Promise {\r\n return promisifyAlert('Crim System', `No Changes have been made to the Task List.`);\r\n }\r\n static noHitsConfirmation(message: string): Promise {\r\n return promisifyConfirm('Crim System', message);\r\n }\r\n static developerEasterEgg() {\r\n alertify.alert('Easter Egg Found!!!',\r\n `\r\n
\r\n

Here are the members of the CRIM team in late 2017

\r\n

Director

\r\n
Kristin Schaefer
\r\n\r\n

Manager

\r\n
Steve Amodio
\r\n\r\n

Product Owner

\r\n
Todd Francis
\r\n\r\n

Qa Team

\r\n
Kavitha Jayaseelan
\r\n
Lindsey Fletcher
\r\n
Mohana Katukuti
\r\n\r\n

Front-end Developers

\r\n
Tracy Carter-Romey
\r\n
Michael Astrauckas(Best Developer Ever!!!)
\r\n\r\n

Back-end Developers

\r\n
Rob Segal
\r\n
Michael Baffey
\r\n
\r\n 01000011 01110010 01101001 01101101\r\n 00100000 01101001 01110011 00100000\r\n 01101110 01101111 01110100 00100000\r\n 01100001 00100000 01010011 01110100\r\n 01110010 01100001 01110100 01110101\r\n 01110011 00100000 01110000 01110010\r\n 01101111 01101010 01100101 01100011\r\n 01110100 00100001\r\n
\r\n
\r\n `);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/popupHelper.ts","// Using bitwise operator I can\r\n// pass back multiple codes.\r\nexport enum RegistrationCodes {\r\n ok = 0,\r\n requireToken = 450,\r\n usernameAlreadyExist = 451,\r\n invalidUsername = 452,\r\n requireUsername = 460,\r\n requirePassword = 461,\r\n tokenNotValid = 450,\r\n invalidPassword = 453,\r\n invalidFirstName = 462,\r\n invalidLastName = 463,\r\n emailAddress = 464,\r\n userAndEmailAreTheSame = 472\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/registrationCodes.ts","import { Admission } from './Admission';\r\nexport class Report {\r\n instruction: string;\r\n constructor(\r\n public admissionInfo,\r\n public caseNbr,\r\n public dis_RequestDt_sort,\r\n public dob,\r\n public refAddr1,\r\n public refCity,\r\n public refName,\r\n public refState,\r\n public reportAllText,\r\n public refZip,\r\n public requestNbr,\r\n public researchInstructions,\r\n public researchDisplay,\r\n public searchFromDt,\r\n public searchToDt,\r\n public specialInstr, // flag\r\n public ssn,\r\n public jurisdiction,\r\n public licenseNumber,\r\n public specialInstructions: any = {},\r\n public admission,\r\n public admissionDisplay,\r\n public display,\r\n public applicantAdmissions: any = {}) { }\r\n\r\n static getWorkOrderReport(data: Report[]) {\r\n const rpt = new Array();\r\n\r\n for (const item of data) {\r\n rpt.push(new Report(\r\n item.admissionInfo,\r\n item.caseNbr,\r\n item.dis_RequestDt_sort === null ? null : new Date(item.dis_RequestDt_sort),\r\n item.dob !== '' ? item.dob : '',\r\n item.refAddr1,\r\n item.refCity,\r\n item.refName,\r\n item.refState,\r\n item.reportAllText,\r\n item.refZip,\r\n item.requestNbr,\r\n item.researchInstructions === null ? null : this.getSpecialInstruction(item.specialInstructions, item.reportAllText),\r\n item.researchDisplay = this.displaySections(item.researchInstructions),\r\n item.searchFromDt,\r\n item.searchToDt,\r\n item.specialInstr,\r\n item.ssn,\r\n item.jurisdiction,\r\n item.licenseNumber,\r\n item.specialInstructions,\r\n item.admission = Admission.getAdmissions(item.specialInstructions),\r\n item.admissionDisplay = this.displaySections(item.admission),\r\n item.display = this.display(item.admissionDisplay),\r\n item.applicantAdmissions\r\n ));\r\n }\r\n return rpt;\r\n }\r\n\r\n static getSpecialInstruction(specialInstructions: Report[], reportAllText: string): string {\r\n let instruction = '';\r\n\r\n for (const item of specialInstructions) {\r\n let researchInstructions = '';\r\n if (item.researchInstructions.length > 0) {\r\n for (const x of item.researchInstructions) {\r\n researchInstructions = x.researchInstructions;\r\n }\r\n }\r\n if (reportAllText !== '' && reportAllText !== undefined && reportAllText !== null) {\r\n if (researchInstructions !== '' && researchInstructions !== undefined && researchInstructions !== null) {\r\n instruction = `${reportAllText}. ${researchInstructions}`;\r\n } else {\r\n instruction = `${reportAllText}.`;\r\n }\r\n } else {\r\n if (researchInstructions !== '' && researchInstructions !== undefined && researchInstructions !== null) {\r\n instruction = `${researchInstructions}`;\r\n }\r\n }\r\n }\r\n return instruction;\r\n }\r\n static displaySections(value: string): string {\r\n let display = null;\r\n if (value === '' || value === undefined || value === null) {\r\n display = 'hidden';\r\n }\r\n return display;\r\n }\r\n static display(value: string): boolean {\r\n if (value === 'hidden') {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/report.ts","export class ResearcherTaskList {\r\n calculatedValue: number;\r\n currentSysDt: string;\r\n crrsrCount: number; // count(CR_RequestSpecialRetrieve)\r\n dataType1: string;\r\n dataType2: string;\r\n dataType3: string;\r\n detailWork: string; // request type\r\n displayNumber: number;\r\n emailAddress: string; // aka sourceEmail\r\n errorDescription: string; // aka error\r\n filterText: string; // used to calculate filter total\r\n filterTotal: number; // count(CR_RequestSpecialRetrieve[@jurisdictionId = $filterText])\r\n fullName: string; // RefName: string;\r\n gisUserName: string; // userName;\r\n lateTotal: number; // aka lateRequests\r\n max: number; // aka MaxWork\r\n min: number; // aka MinWork\r\n newTotal: number;   // aka newRequests....maxNewRequest\r\n numbers: number;\r\n requestTotal: number; // totalRequests... requests\r\n sortOne: string; // Jurisdiction\r\n sortTwo: string; // iso_RequestDt\r\n sortThree: string; // CaseNbr\r\n sortOrder1: string; // ascending\r\n sortOrder2: string; // descending\r\n sortOrder3: string; // ascending\r\n sourceName: string;\r\n sourceType: string;\r\n sysID: string; // aka reportNbr\r\n totalDisplayRequest: number; // *\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/researcherTaskList.ts","export enum SentenceLevel {\r\n Record = 0,\r\n Offense = 1\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/sentenceLevel.ts","export class SortList {\r\n sort1: string;\r\n sort2: string;\r\n sort3: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/sortList.ts","\r\nexport class SpecialInstruction {\r\n\r\n constructor(researchInstruction: string, admission: string, ) {\r\n this.researchInstruction = researchInstruction;\r\n this.admission = admission;\r\n }\r\n researchInstruction: string;\r\n admission: string;\r\n\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/specialInstruction.ts","export class SubmitTask {\r\n RequestNbr: string;\r\n Type: string;\r\n PendingComments: string;\r\n AdmittedCrimeNotFound: boolean;\r\n // dialogComment: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/submitTask.ts","export class SubmitTaskDialog {\r\n requestNbr: string;\r\n caseNbr: string;\r\n comments: string;\r\n header: string;\r\n type: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/submitTaskDialog.ts","export default class User {\r\n constructor(public userName: string,\r\n public firstName: string,\r\n public middleName: string,\r\n public lastName: string,\r\n public email: string,\r\n public phoneNumber: string) {\r\n }\r\n\r\n static createFromRequest(request: any): User {\r\n const { userName, firstName, middleName, lastName, email, phoneNumber } = request;\r\n return new User(userName, firstName, middleName, lastName, email, phoneNumber);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/user.ts","export default class Vendor {\r\n constructor(public id: number,\r\n public name: string = null,\r\n public address: string = null,\r\n public city: string = null,\r\n public state: string = null,\r\n public zipCode = null,\r\n public phoneNumber = null) { }\r\n\r\n static createFromRequest(request: any): Vendor {\r\n if (request.source !== null && request.source !== undefined) {\r\n const { sourceName, address, city, state, zipCode, phoneNbr } = request.source;\r\n return new Vendor(null, sourceName, address, city, state, zipCode, phoneNbr);\r\n } else if (request.vendorId === null || request.vendorId === undefined) {\r\n return new Vendor(request.vendorId);\r\n }\r\n\r\n return null;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/vendor.ts","export class WorkOrder {\r\n admissionInfo: string;\r\n admittedCrimeNotFound: boolean;\r\n caseNbr: number;\r\n checked: Boolean;\r\n colorValue: string; // *\r\n crrsrCount: number;\r\n custId: string;\r\n deferred: string;\r\n dis_DueDt: string; /// same as iso_DueDt per baffey\r\n dis_RequestDt: string;\r\n dis_RequestDt_sort: Date;\r\n dob: string;\r\n dobDisplay: string; // *\r\n driversLicense: string;\r\n emailAddress: string; // aka sourceEmail\r\n filterText: string;\r\n filterTotal: number; // count(CR_RequestSpecialRetrieve[@jurisdictionId = $filterText])\r\n gisUserName: string;\r\n hrefAttachDoc: string;\r\n hrefCif: string;\r\n isLate: Boolean; // *\r\n iso_DueDt: string;\r\n iso_SysDt: string;\r\n jurisdiction: string;\r\n jurisdictionId: number; // used to calclate filter total\r\n lateTotal: number; // aka lateRequests\r\n linkColor: string;\r\n manualInd: string;\r\n max: number;\r\n min: number;\r\n nameRefNbr: number; /// refNbr\r\n newTotal: number;   // aka newRequests....maxNewRequest\r\n ociIndicator: string;\r\n pendingComments: string;\r\n phone: string;\r\n position: string; // *\r\n printInd: string;\r\n recordFound: string;\r\n refAddr1: string;\r\n refCity: string;\r\n refName: string; // searchName (in grid with address)\r\n refState: string;\r\n refZip: string;\r\n reportAll: string;\r\n reportAllText: string;\r\n requestNbr: number;\r\n requestTotal: number; // totalRequests... requests\r\n searchFromDt: number;\r\n searchToDt: number;\r\n showInstruction: string;\r\n signedRelInd: string;\r\n sourceName: string;\r\n sourceType: string;\r\n specialInstr: string;\r\n ssn: string;\r\n ssnDisplay: string; // *\r\n status: string;\r\n strWork: string;\r\n totalInstruction: number; // *\r\n url: string;\r\n woNoHitsDisable: Boolean;\r\n woPendingDisable: Boolean;\r\n woNoHitsDisplay: string; // *\r\n woManualDisplay: string; // *\r\n woPendingDisplay: string; // *\r\n woPendingLinkDisplay: string; // *\r\n woRecordDisplay: string; // *\r\n woCommentsDisplay: string; // *\r\n woSearchDisplay: string; // *\r\n woDeferredDisplay: string; // *\r\n woAdmittedDisplay: string; // *\r\n woNoHitsChecked: Boolean; // *\r\n woManualChecked: Boolean; // *\r\n woPendingChecked: Boolean; // *\r\n woDeferredChecked: Boolean; // *\r\n woAdmittedChecked: Boolean; // *\r\n woPhone: string; // *\r\n woValue: string; // *\r\n woSourceName: string; // *\r\n woURL: string; // *\r\n woNoHitsName: string;\r\n woManualName: string;\r\n woPendingName: string;\r\n woDeferredName: string;\r\n woAdmittedName: string;\r\n licenseNumber: string;\r\n isHeightenedIdentifier: Boolean;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/workOrder.ts","export class WorkOrderComplete {\r\n caseNbr: string;\r\n noHitRequests: string;\r\n pendingRequests: string;\r\n removePending: string;\r\n removeNoHit: string;\r\n currentDte: string;\r\n currentStatus: string;\r\n newStatus: string;\r\n pendingComments: string;\r\n submit: string;\r\n persist: string;\r\n closeDt: string;\r\n confirmationMsg = '
' + 'Select OK if you would like to continue with this action. ' + '
' + '
';\r\n msgLine = '______________________________________________________________' + '
' + '
';\r\n breakLine = '
' + '
';\r\n pendingRqstMsg = `The following will be placed in Pending Status.` + '
' + '
';\r\n removePendingMsg = 'The following will no longer be marked as Pending. ' + '
' + '
';\r\n noHitsMsg = 'The following will be marked Completed. ' + '
' + '
';\r\n removeNoHitsMsg = 'The following will no longer be marked as Completed. ' + '
' + '
';\r\n alertMsg: string;\r\n alertMsgS: string;\r\n alertMsgR: string;\r\n work: string;\r\n detailWork: string;\r\n requestNbr: string;\r\n refName: string;\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/models/workOrderComplete.ts","import { Injectable, Compiler } from '@angular/core';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport HttpBase from '../models/httpBase';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport { Router } from '@angular/router';\r\n\r\n@Injectable()\r\nexport class MessageQueService extends HttpBase {\r\n rqstNbrs: string;\r\n status: string;\r\n comment: string;\r\n cacheControlKey: number;\r\n\r\n\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService, private runtime: Compiler) {\r\n super(http, router);\r\n }\r\n\r\n saveRequestNbrs(requestNbrs: string) {\r\n this.rqstNbrs = requestNbrs;\r\n localStorage.setItem('requests', this.rqstNbrs);\r\n }\r\n saveStateData(stateData: string) {\r\n localStorage.setItem('stateData', stateData);\r\n }\r\n saveTaskListData(taskList: string) {\r\n localStorage.setItem('taskList', taskList);\r\n }\r\n saveOriginalAdmitted(admitted: string) {\r\n localStorage.setItem('admitted', admitted);\r\n }\r\n selectedValue(selection: string) {\r\n localStorage.setItem('selection', selection);\r\n }\r\n selectedJurisdiction(jurisdictionId: string) {\r\n localStorage.setItem('jurisdictionId', jurisdictionId);\r\n }\r\n saveWOData(woData: string) {\r\n localStorage.setItem('workOrder', woData);\r\n }\r\n savejurisdictionFilter(filter: string) {\r\n localStorage.setItem('jFilter', filter);\r\n }\r\n saveSortOrder(sortList: string) {\r\n localStorage.setItem('sortOrder', sortList);\r\n }\r\n saveSortType(sorting: string) {\r\n localStorage.setItem('sortType', sorting);\r\n }\r\n saveStatus(status: string) {\r\n this.status = status;\r\n localStorage.setItem('status', this.status);\r\n }\r\n saveComment(comment: string) {\r\n this.comment = comment;\r\n localStorage.setItem('comment', this.comment);\r\n }\r\n\r\n // shared methods\r\n formatDob(dob: string): string {\r\n dob = new Date(dob).toISOString();\r\n const date = new Date(dob);\r\n const day = date.getDate();\r\n const month = this.getMonth(date);\r\n const year = date.getFullYear();\r\n const formattedDt = month + '/' + day + '/' + year;\r\n return formattedDt;\r\n }\r\n setControlKey() { // (configName: string) {\r\n // this.cacheControlKey = this.getSwitchValue();\r\n // if (this.cacheControlKey === undefined || this.cacheControlKey === null) {\r\n // this.getControlKey(configName) ;\r\n // } else {\r\n // if (this.cacheControlKey === 1) {\r\n this.runtime.clearCache();\r\n // }\r\n // }\r\n }\r\n getSwitchValue(): number {\r\n const value = localStorage.getItem('cacheControlKey').toLowerCase().trim();\r\n switch (value) {\r\n case '1':\r\n return 1;\r\n case '0':\r\n return 0;\r\n default: return 0;\r\n }\r\n }\r\n getControlKey() { // (configName: string) {\r\n // this.getCacheControlKey(configName)\r\n // .subscribe(\r\n // (data) => {\r\n // localStorage.setItem('cacheControlKey', data.toString());\r\n // if (data === 1) {\r\n this.runtime.clearCache();\r\n // }\r\n // });\r\n // return this.cacheControlKey;\r\n }\r\n getCacheControlKey(configName: string): Observable {\r\n return this.httpGet(`${this.environmentService.cacheControlKeyUrl}configName=${configName}`, false)\r\n .map((r: Response) => {\r\n return r.json();\r\n });\r\n }\r\n getMonth(date: Date) {\r\n const month = date.getMonth() + 1;\r\n return month < 10 ? '0' + month : month;\r\n }\r\n getDay(date: Date) {\r\n const day = date.getDay() + 1;\r\n return day < 10 ? '0' + day : day;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/MessageQueService.ts","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport { Codes } from '../models/index';\r\nimport HttpBase from '../models/httpBase';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport 'rxjs/add/operator/map';\r\nimport PopupHelper from '../models/popupHelper';\r\n@Injectable()\r\nexport class AuthenticationService extends HttpBase {\r\n\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService) {\r\n super(http, router);\r\n }\r\n\r\n login(username: string, password: string): Observable {\r\n this.deleteLocalStorage();\r\n this.chngPass = false;\r\n return this.httpPost(this.environmentService.loginUrl, {\r\n userName: username,\r\n password\r\n }, true, false)\r\n .map((r: Response) => {\r\n if (r.status === 401 || r.status === 400 ) {\r\n this.statusCd = r.status;\r\n } else {\r\n if (r.status === 200) {\r\n this.reset = (r.json()).resetPassword;\r\n const expirationDt = (r.json()).passwordExpirationDate;\r\n this.loggedIn = r.status === 200;\r\n this.daysTillExpiration = this.isExpired(expirationDt);\r\n\r\n } else if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n this.statusCd = r.status;\r\n }\r\n const okCode: Codes[] = [Codes.ok];\r\n this.setLocalStorage();\r\n return okCode;\r\n });\r\n }\r\n checkAuthorization(environment: string, browser: string): Observable {\r\n return this.httpGet(`${this.environmentService.checkAuthorizationtUrl}browser=${browser}&environment=${environment}`, false)\r\n .map((r: Response) => {\r\n return r.json();\r\n });\r\n }\r\n logout() {\r\n this.loggedIn = false;\r\n this.chngPass = false;\r\n sessionStorage.setItem('isLoggedIn', this.loggedIn.toString());\r\n sessionStorage.setItem('isChanged', this.chngPass.toString());\r\n return this.httpPost(this.environmentService.logoutUrl, {}, false);\r\n }\r\n\r\n isExpired(expirationDt: string): number {\r\n let duration = 0;\r\n const expireDt = new Date(expirationDt);\r\n const currentDt = new Date();\r\n\r\n if (this.expiredDate(expireDt, currentDt)) {\r\n const diff = Math.abs(expireDt.getTime() - currentDt.getTime());\r\n duration = Math.ceil(diff / (1000 * 3600 * 24));\r\n } else {\r\n duration = 0;\r\n }\r\n return duration;\r\n }\r\n expiredDate(expireDt: Date, currentDt: Date): Boolean {\r\n if (expireDt > currentDt) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n private setLocalStorage(): void {\r\n if (this.isLoggedIn !== undefined && this.isLoggedIn !== null ) {\r\n sessionStorage.setItem('isLoggedIn', this.isLoggedIn.toString());\r\n }\r\n if (this.chngPass !== undefined && this.chngPass !== null ) {\r\n sessionStorage.setItem('isChanged', this.chngPass.toString());\r\n }\r\n if (this.reset !== undefined && this.reset !== null ) {\r\n sessionStorage.setItem('isReset', this.reset.toString());\r\n }\r\n if (this.daysTillExpiration !== undefined && this.daysTillExpiration !== null) {\r\n sessionStorage.setItem('isExpiring', this.daysTillExpiration.toString());\r\n }\r\n if (this.statusCd !== undefined && this.statusCd !== null ) {\r\n sessionStorage.setItem('isStatusInvalid', this.statusCd.toString());\r\n }\r\n }\r\n private deleteLocalStorage(): void {\r\n sessionStorage.clear();\r\n }\r\n get isLoggedIn(): boolean {\r\n return this.loggedIn;\r\n }\r\n get isChanged(): boolean {\r\n return this.chngPass;\r\n }\r\n get isReset(): boolean {\r\n return this.reset;\r\n }\r\n get isExpiring(): number {\r\n return this.daysTillExpiration;\r\n }\r\n get isStatusInvalid(): number {\r\n return this.statusCd;\r\n }\r\n changePassword(userName: string, password: string, newPassword: string): Observable {\r\n return this.httpPost(this.environmentService.changePasswordUrl, {\r\n UserName: userName,\r\n Password: password,\r\n NewPassword: newPassword\r\n }, true)\r\n .map((r: Response) => {\r\n if (r.status === 401 || r.status === 400 ) {\r\n PopupHelper.userHelper('Invalid user and/or password. Please try again. Access denied',\r\n 'error');\r\n } else if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n const okCode: Codes[] = [Codes.ok];\r\n return okCode;\r\n });\r\n }\r\n resetPassword(userName: string, email: string): Observable {\r\n return this.httpPost(this.environmentService.resetUrl, {\r\n UserName: userName,\r\n Email: email\r\n }, true)\r\n .map((r: Response) => {\r\n this.statusCd = r.status;\r\n if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n this.setLocalStorage();\r\n const okCode: Codes[] = [Codes.ok];\r\n return okCode;\r\n });\r\n }\r\n private loggedIn = false;\r\n private chngPass = false;\r\n private reset = false;\r\n private daysTillExpiration: number;\r\n private statusCd: number;\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/authenticationService.ts","import { Injectable } from '@angular/core';\r\n\r\n@Injectable()\r\nexport default class BrowserWindowObjectService {\r\n\r\n getNativeWindow(): any {\r\n return window;\r\n }\r\n searchCaptureOpen(route: string) {\r\n window.open(`${route}`, '_blank', `menubar=1, scrollbars=1, resizeable`);\r\n }\r\n watsonShowGuideline(route: string) {\r\n window.open(`${route}`, '_blank', `menubar=1, scrollbars=1, resizeable`);\r\n }\r\n openWindowInNewWindowByRoute(route: string, title: string, width: number, height: number) {\r\n window.open(`#${route}`, 'NewWin', `menubar=1, width=${width}, height= ${height}, scrollbars=1, resizeable, titlebar=${title}`);\r\n }\r\n\r\n openInNewWindowByRoute(route: string, name: string, title: string, width: number, height: number) {\r\n const wComment = window.open(`#${route}`, `${name}`, '', true);\r\n wComment.close();\r\n window.open(`#${route}`, `${name}`, `menubar=1, width=${width}, height= ${height}, scrollbars=1, resizeable, titlebar=${title}`, true);\r\n }\r\n openWindowITabByRoute(route: string, title: string) {\r\n window.open(`#${route}`, `titlebar=${title}`);\r\n }\r\n scrollToTopOfPage() {\r\n window.scrollTo(0, 0);\r\n }\r\n\r\n goBackOnePage() {\r\n window.history.back();\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/browserWindowObjectService.ts","import { Injectable } from '@angular/core';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport HttpBase from '../models/httpBase';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport ComplianceAuditLog from '../models/complianceAuditLog';\r\n\r\n@Injectable()\r\nexport default class ComplianceAuditLogService extends HttpBase {\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService) {\r\n super(http, router);\r\n }\r\n\r\n addComplianceAuditLogs(complianceAuditLogs: ComplianceAuditLog[]): Promise {\r\n return new Promise((resolve, reject) => {\r\n this.httpPost(this.environmentService.complianceAuditLogs, complianceAuditLogs)\r\n .subscribe((r: Response) => {\r\n if (r.status === 200) {\r\n resolve(true);\r\n } else {\r\n reject(false);\r\n }\r\n });\r\n });\r\n }\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/complianceAuditLogService.ts","import { Injectable } from '@angular/core';\r\nimport { Environment } from '../interfaces/environment';\r\nimport { environmentName } from '../globals';\r\n\r\n@Injectable()\r\nexport default class EnvironmentService implements Environment {\r\n\r\n private environmentName: string = environmentName;\r\n private hostname: string = window.location.hostname;\r\n private port = this.isDevelopment ? ':5001' : '';\r\n private crimWebVirtualDirectoryName = this.isDevelopment ? '' : '/crimwebapi';\r\n private protocol = window.location.protocol;\r\n\r\n get webApiUrl(): string {\r\n return `${this.protocol}//${this.hostname}${this.port}${this.crimWebVirtualDirectoryName}/api/`;\r\n }\r\n\r\n get loginUrl(): string {\r\n return `${this.webApiUrl}account/login`;\r\n }\r\n get cacheControlKeyUrl(): string {\r\n return `${this.webApiUrl}ConfigurationKey/SwitchStatus?`;\r\n }\r\n get resetUrl(): string {\r\n return `${this.webApiUrl}account/Forgot`;\r\n }\r\n\r\n get logoutUrl(): string {\r\n return `${this.webApiUrl}account/logout`;\r\n }\r\n\r\n get changePasswordUrl(): string {\r\n return `${this.webApiUrl}account/Change`;\r\n }\r\n\r\n get registerUrl(): string {\r\n return `${this.webApiUrl}account/create`;\r\n }\r\n\r\n get helloWorldUrl(): string {\r\n return `${this.webApiUrl}helloworld/1`;\r\n }\r\n\r\n get navigationUrl(): string {\r\n return `${this.webApiUrl}NavigationPage `;\r\n }\r\n\r\n get taskListUrl(): string {\r\n return `${this.webApiUrl}Requests?`;\r\n }\r\n\r\n get jurisdictionUrl(): string {\r\n return `${this.webApiUrl}Jurisdictions`;\r\n }\r\n\r\n get markRequestReceivedUrl(): string {\r\n return `${this.webApiUrl}Requests/MarkReceived`;\r\n }\r\n\r\n get GetWorkOrdersUrl(): string {\r\n return `${this.webApiUrl}Requests/GetWorkOrders`;\r\n }\r\n\r\n get getResearchTaskCommentUrl(): string {\r\n return `${this.webApiUrl}RequestComments?`;\r\n }\r\n get checkAuthorizationtUrl(): string {\r\n return `${this.webApiUrl}BrowserSecurity/CheckAuthorization?`;\r\n }\r\n get getSubmitTasklUrl(): string {\r\n return `${this.webApiUrl}Requests/SubmitChanges`;\r\n }\r\n\r\n get SpecialInstructionUrl(): string {\r\n return `${this.webApiUrl}SpecialInstructions?`;\r\n }\r\n\r\n get saveResearchTaskCommentUrl(): string {\r\n return `${this.webApiUrl}RequestComments/AddComment`;\r\n }\r\n\r\n get deleteResearchTaskCommentUrl(): string {\r\n return `${this.webApiUrl}RequestComments/DeleteComment`;\r\n }\r\n\r\n get getOffenses(): string {\r\n return `${this.webApiUrl}request`;\r\n }\r\n\r\n get deleteOffense(): string {\r\n return `${this.webApiUrl}request/delete`;\r\n }\r\n\r\n get saveOffenses(): string {\r\n return `${this.webApiUrl}offenses/save`;\r\n }\r\n\r\n get workOrderComplete(): string {\r\n return `${this.webApiUrl}Request/workOrderComplete`;\r\n }\r\n\r\n get invoiceUrl(): string {\r\n return `${this.webApiUrl}invoice`;\r\n }\r\n\r\n get complianceAuditLogs(): string {\r\n return `${this.webApiUrl}ComplianceAuditLog/add`;\r\n }\r\n\r\n get isDevelopment(): boolean {\r\n return this.environmentName === 'DEVELOPMENT';\r\n }\r\n\r\n get isProduction(): boolean {\r\n return this.environmentName === 'PRODUCTION';\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/environmentService.ts","export * from './authenticationService';\r\nexport * from './messageService';\r\nexport * from './researcherService';\r\nexport * from './MessageQueService';\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/index.ts","import { Injectable } from '@angular/core';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport HttpBase from '../models/httpBase';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport Invoice from '../models/invoice';\r\n\r\n@Injectable()\r\nexport default class InvoiceService extends HttpBase {\r\n\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService) {\r\n super(http, router);\r\n }\r\n\r\n getInvoice(invoiceNumber: string, startDate: string, endDate: string) {\r\n\r\n const queryString = `invoiceNumber=${invoiceNumber}&startDate=${startDate}&endDate=${endDate}`;\r\n return this.httpGet(`${this.environmentService.invoiceUrl}?${queryString}`)\r\n .map((r: Response) => {\r\n return Invoice.createFromRequest(r.json());\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/invoiceService.ts","import { Message } from '../interfaces/message';\r\nimport 'rxjs/add/operator/toPromise';\r\nimport { Injectable } from '@angular/core';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport { Http } from '@angular/http';\r\nimport HttpError from '../models/httpError';\r\n\r\n@Injectable()\r\nexport default class MessageService {\r\n\r\n private http: Http;\r\n private environmentService: EnvironmentService;\r\n\r\n constructor(http: Http, environmentService: EnvironmentService) {\r\n this.http = http;\r\n this.environmentService = environmentService;\r\n }\r\n\r\n getMessage(): Promise {\r\n return this.http.get(this.environmentService.helloWorldUrl, { withCredentials: true })\r\n .toPromise()\r\n .then(r => r.json())\r\n .catch(e => {\r\n throw new HttpError(e, this.environmentService.helloWorldUrl);\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/messageService.ts","import { Injectable } from '@angular/core';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport HttpBase from '../models/httpBase';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport Navigation from '../models/navigation';\r\n\r\n@Injectable()\r\nexport default class NavigationService extends HttpBase {\r\n\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService) {\r\n super(http, router);\r\n }\r\n\r\n getJurisdictions(): Observable {\r\n return this.httpGet(this.environmentService.navigationUrl)\r\n .map((r: Response) => {\r\n return Navigation.createFromRequest(r.json());\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/navigationService.ts","import { Injectable } from '@angular/core';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport { OffenseCodes } from '../models/offenseCodes';\r\nimport HttpBase from '../models/httpBase';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport Offense from '../models/offense';\r\nimport OffenseSearch from '../models/offenseSearch';\r\nimport OffenseRecord from '../models/offenseRecord';\r\nimport HttpError from '../models/httpError';\r\n\r\n@Injectable()\r\nexport default class OffenseService extends HttpBase {\r\n\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService) {\r\n super(http, router);\r\n }\r\n\r\n getOffense(requestNbr: number): Observable {\r\n return this.httpGet(`${this.environmentService.getOffenses}\\\\?requestNbr=${requestNbr}`)\r\n .map((r: Response) => {\r\n if (r.status === 200) {\r\n return new Offense(OffenseSearch.createFromRequest(r.json().request),\r\n r.json().request.offenses === null ? null : OffenseRecord.getFromRequest(r.json().request.offenses));\r\n }\r\n\r\n return new HttpError(r, this.environmentService.getOffenses);\r\n });\r\n }\r\n\r\n save(offenseRecords: any): Observable {\r\n return this.httpPost(this.environmentService.saveOffenses, offenseRecords)\r\n .map((r: Response) => {\r\n if (r.status !== 200) {\r\n\r\n }\r\n\r\n return OffenseCodes.ok;\r\n });\r\n }\r\n\r\n delete(requestNumber: number, offenceNumber: number): Observable {\r\n return this.httpDelete(`${this.environmentService.deleteOffense}\\\\${requestNumber}\\\\${offenceNumber}`)\r\n .map((r: Response) => {\r\n if (r.status !== 200) {\r\n return new HttpError(r, this.environmentService.saveOffenses);\r\n }\r\n\r\n return null;\r\n });\r\n }\r\n\r\n workOrderComplete(requestNumber: number, admittedCrimeNotFound: boolean): Observable {\r\n return this.httpPost(`${this.environmentService.workOrderComplete}`, { RequestNbr: requestNumber, admittedCrimeNotFound })\r\n .map((r: Response) => {\r\n if (r.status !== 200) {\r\n return new HttpError(r, this.environmentService.workOrderComplete);\r\n }\r\n\r\n return null;\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/offenseService.ts","import { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport HttpBase from '../models/httpBase';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport { RegistrationCodes } from '../models/registrationCodes';\r\nimport User from '../models/user';\r\n\r\nimport 'rxjs/add/operator/map';\r\n\r\n@Injectable()\r\nexport default class RegistrationService extends HttpBase {\r\n\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService) {\r\n super(http, router);\r\n }\r\n\r\n registerUser(user: User, token: string): Observable {\r\n return this.httpPost(this.environmentService.registerUrl, {\r\n user,\r\n token\r\n }, true)\r\n .map((r: Response) => {\r\n if (r.status === 422) {\r\n return r.json().errorCodes;\r\n }\r\n\r\n const okCode: RegistrationCodes[] = [RegistrationCodes.ok];\r\n\r\n // return Array(RegistrationCodes.ok);\r\n return okCode;\r\n });\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/registrationService.ts","\r\nimport { Injectable } from '@angular/core';\r\nimport HttpBase from '../models/httpBase';\r\nimport { Http, Response } from '@angular/http';\r\nimport { Router } from '@angular/router';\r\nimport { Observable } from 'rxjs/Rx';\r\nimport 'rxjs/add/operator/map';\r\nimport { WorkOrder, Report, SpecialInstruction, SubmitTask, Admission, ResearchInstruction } from '../models/index';\r\nimport EnvironmentService from '../services/environmentService';\r\nimport HttpError from '../models/httpError';\r\n\r\n@Injectable()\r\nexport class ResearcherService extends HttpBase {\r\n private isSuccessful = false;\r\n\r\n constructor(http: Http, router: Router, private environmentService: EnvironmentService) {\r\n super(http, router);\r\n }\r\n // Get Task List\r\n getResearchTaskList(requestType: string, jurisdictionId: number): Observable {\r\n return this.httpGet(`${this.environmentService.taskListUrl}requestType=${requestType}&jurisdictionId=${jurisdictionId}`, false)\r\n .map((r: Response) => {\r\n if (r.status === 401 || r.status === 422) {\r\n this.router.navigate(['login']);\r\n } else {\r\n if (r.status === 200) {\r\n localStorage.setItem('jurisdictions', JSON.stringify((r.json()).jurisdictions));\r\n const wo = (r.json()).requests;\r\n return wo;\r\n }\r\n }\r\n });\r\n }\r\n // Submit Update\r\n submitTaskListData(submitTask: SubmitTask[]): Observable {\r\n return this.httpPost(this.environmentService.getSubmitTasklUrl, submitTask, false)\r\n .map((r: Response) => {\r\n return r.status;\r\n });\r\n }\r\n // Mark Request Received\r\n markRequestReceived(requestNbr: any): Observable {\r\n return this.httpPost(this.environmentService.markRequestReceivedUrl, requestNbr, false)\r\n .map((r: Response) => {\r\n if (r.status === 401) {\r\n window.close();\r\n this.router.navigate(['login']);\r\n } else {\r\n if (r.status === 200) {\r\n this.isSuccessful = r.status === 200;\r\n }\r\n }\r\n });\r\n }\r\n // Generate Work Order\r\n getWorkOrders(requestNbr: any): Observable {\r\n return this.httpPost(this.environmentService.GetWorkOrdersUrl, requestNbr, false)\r\n .map((r: Response) => {\r\n if (r.status === 401) {\r\n window.close();\r\n this.router.navigate(['login']);\r\n } else {\r\n if (r.status === 200) {\r\n const rpt = (r.json()).requests;\r\n return rpt;\r\n }\r\n }\r\n });\r\n }\r\n getSpecialInstructions(requestNbr: string): Observable {\r\n return this.httpGet(`${this.environmentService.SpecialInstructionUrl}requestNbr=${requestNbr}`)\r\n .map((r: Response) => {\r\n if (r.status === 200) {\r\n return new SpecialInstruction(ResearchInstruction.getResearchInstruction(r.json().specialInstructions),\r\n r.json().specialInstructions.admissions === null ? null : Admission.getAdmissions(r.json().specialInstructions));\r\n } else if (r.status === 401) {\r\n window.close();\r\n }\r\n return new HttpError(r, this.environmentService.SpecialInstructionUrl);\r\n });\r\n }\r\n\r\n // Get Comments\r\n getResearchTaskComment(requestNbr: string): Observable {\r\n return this.httpGet(`${this.environmentService.getResearchTaskCommentUrl}requestNbr=${requestNbr}`)\r\n .map((r: Response) => {\r\n if (r.status === 401) {\r\n window.close();\r\n this.router.navigate(['login']);\r\n } else {\r\n if (r.status === 200) {\r\n return (r.json().requestComments.comment);\r\n }\r\n }\r\n });\r\n }\r\n // Delete Comments\r\n deleteResearcherTaskComments(requestNbr: string): Observable {\r\n return this.httpPost(this.environmentService.deleteResearchTaskCommentUrl, {\r\n RequestNbr: requestNbr\r\n }, true)\r\n .map((r: Response) => {\r\n if (r.status === 401) {\r\n window.close();\r\n this.router.navigate(['login']);\r\n }\r\n return r.status;\r\n });\r\n }\r\n // Save Comments\r\n saveResearcherTaskComments(requestNbr: string, comment: string): Observable {\r\n return this.httpPost(this.environmentService.saveResearchTaskCommentUrl, {\r\n RequestNbr: requestNbr,\r\n Comment: comment\r\n }, true)\r\n .map((r: Response) => {\r\n if (r.status === 401) {\r\n window.close();\r\n }\r\n return r.status;\r\n });\r\n }\r\n get successful(): boolean {\r\n return this.isSuccessful;\r\n }\r\n}\r\n\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/researcherService.ts","import { AbstractControl, ValidatorFn } from '@angular/forms';\r\n\r\nexport default function compareTwoInputsValidator(compareInputId: string, same = true): ValidatorFn {\r\n return (control: AbstractControl): {[key: string]: any} => {\r\n const input = document.getElementById(compareInputId) as HTMLInputElement;\r\n return !input || !control || (same ? control.value === input.value : control.value !== input.value) ? null : { compareTwoInputs: true };\r\n };\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/validators/compareTwoInputsValidator.ts","import { AbstractControl, ValidatorFn } from '@angular/forms';\r\nimport DateHandler from '../models/dateHandler';\r\n\r\nexport default function isDateValidator(baseCentury: number): ValidatorFn {\r\n return (control: AbstractControl): {[key: string]: any} => {\r\n const date = new DateHandler(control.value, baseCentury);\r\n return control.value === null || control.value.length === 0 || date.isValid ? null : { isDate: true };\r\n };\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/validators/isDateValidator.ts","import { AbstractControl, ValidatorFn } from '@angular/forms';\r\n\r\nexport default function isNumberValidator(): ValidatorFn {\r\n return (control: AbstractControl): {[key: string]: any} => {\r\n return control.value !== null && control.value.length !== 0 && !isNaN(control.value) ? null : { isNumber: true };\r\n };\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/validators/isNumberValidator.ts","import { AbstractControl, ValidatorFn } from '@angular/forms';\r\n\r\nexport default function passwordRulesValidator(): ValidatorFn {\r\n return (control: AbstractControl): { [key: string]: any } => {\r\n if (control.value != null) {\r\n const password = control.value;\r\n return password.match(/[!@#$%^&*(){}[\\]?~<>]/)\r\n && password.match(/[A-Z]/)\r\n && password.match(/[a-z]/)\r\n && password.match(/\\d/)\r\n && password.length >= 8\r\n ? null\r\n : { passwordRules: true };\r\n } else {\r\n return null;\r\n }\r\n };\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/validators/passwordRulesValidator.ts","import {AbstractControl} from '@angular/forms';\r\n\r\nexport class PasswordValidation {\r\n static MatchPassword(AC: AbstractControl) {\r\n const password = AC.get('newPassword').value;\r\n const confirmPassword = AC.get('confirmPassword').value;\r\n if ( password !== confirmPassword) {\r\n AC.get('confirmPassword').setErrors( {MatchPassword: true} );\r\n } else {\r\n return null;\r\n }\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/validators/passwordValidation.ts","import { ValidatorFn } from '@angular/forms';\r\n\r\nexport default function usernameAlreadyExistValidator(): ValidatorFn {\r\n return (): {[key: string]: any} => {\r\n // Always return true. This is so if the api tells me a username already exist, I can show this error.\r\n return null ;\r\n };\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/validators/usernameAlreadyExistValidator.ts"],"sourceRoot":""}