@csmart/ngc-smart-victim 1.14.42 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/{esm2020 → esm2022}/csmart-ngc-smart-victim.mjs +4 -4
- package/esm2022/lib/caseNote/caseNote.component.mjs +194 -0
- package/esm2022/lib/common-dialog/common-dialog.component.mjs +23 -0
- package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.module.mjs +34 -34
- package/{esm2020 → esm2022}/lib/common-dialog/common-dialog.service.mjs +33 -33
- package/esm2022/lib/contact/contact.component.mjs +140 -0
- package/{esm2020 → esm2022}/lib/email.services.mjs +29 -29
- package/esm2022/lib/intake.service.mjs +57 -0
- package/{esm2020 → esm2022}/lib/safetyPlan/serviceProvider.component.mjs +62 -62
- package/esm2022/lib/safetyPlan/victimSafetyPlan.component.mjs +116 -0
- package/esm2022/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +340 -0
- package/{esm2020 → esm2022}/lib/shared/app.shared.module.mjs +215 -215
- package/esm2022/lib/shared/validators/date.validator.mjs +59 -0
- package/{esm2020 → esm2022}/lib/shared/validators/index.mjs +1 -1
- package/esm2022/lib/smart-victim-delete-confirm.component.mjs +44 -0
- package/esm2022/lib/smart-victim-detail/smart-victim-detail.component.mjs +1104 -0
- package/esm2022/lib/smart-victim.component.mjs +314 -0
- package/{esm2020 → esm2022}/lib/smart-victim.model.mjs +132 -132
- package/{esm2020 → esm2022}/lib/smart-victim.module.mjs +128 -128
- package/esm2022/lib/smart-victim.service.mjs +352 -0
- package/{esm2020 → esm2022}/lib/victim-routing.module.mjs +41 -41
- package/{esm2020 → esm2022}/lib/victimSearch/VictimSearchFilter.mjs +2 -2
- package/esm2022/lib/victimSearch/victimSearchForm.component.mjs +38 -0
- package/{esm2020 → esm2022}/public-api.mjs +10 -10
- package/fesm2022/csmart-ngc-smart-victim.mjs +3261 -0
- package/fesm2022/csmart-ngc-smart-victim.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/caseNote/caseNote.component.d.ts +51 -51
- package/lib/common-dialog/common-dialog.component.d.ts +14 -14
- package/lib/common-dialog/common-dialog.module.d.ts +8 -8
- package/lib/common-dialog/common-dialog.service.d.ts +11 -11
- package/lib/contact/contact.component.d.ts +40 -40
- package/lib/email.services.d.ts +11 -11
- package/lib/intake.service.d.ts +57 -57
- package/lib/safetyPlan/serviceProvider.component.d.ts +19 -19
- package/lib/safetyPlan/victimSafetyPlan.component.d.ts +54 -54
- package/lib/safetyPlan/victimSafetyPlanDetail.component.d.ts +62 -62
- package/lib/shared/app.shared.module.d.ts +33 -33
- package/lib/shared/validators/date.validator.d.ts +9 -9
- package/lib/shared/validators/index.d.ts +1 -1
- package/lib/smart-victim-delete-confirm.component.d.ts +12 -12
- package/lib/smart-victim-detail/smart-victim-detail.component.d.ts +129 -129
- package/lib/smart-victim.component.d.ts +68 -68
- package/lib/smart-victim.model.d.ts +205 -205
- package/lib/smart-victim.module.d.ts +49 -49
- package/lib/smart-victim.service.d.ts +71 -71
- package/lib/victim-routing.module.d.ts +7 -7
- package/lib/victimSearch/VictimSearchFilter.d.ts +7 -7
- package/lib/victimSearch/victimSearchForm.component.d.ts +14 -14
- package/package.json +5 -11
- package/public-api.d.ts +7 -7
- package/esm2020/lib/caseNote/caseNote.component.mjs +0 -194
- package/esm2020/lib/common-dialog/common-dialog.component.mjs +0 -23
- package/esm2020/lib/contact/contact.component.mjs +0 -140
- package/esm2020/lib/intake.service.mjs +0 -57
- package/esm2020/lib/safetyPlan/victimSafetyPlan.component.mjs +0 -116
- package/esm2020/lib/safetyPlan/victimSafetyPlanDetail.component.mjs +0 -340
- package/esm2020/lib/shared/validators/date.validator.mjs +0 -59
- package/esm2020/lib/smart-victim-delete-confirm.component.mjs +0 -44
- package/esm2020/lib/smart-victim-detail/smart-victim-detail.component.mjs +0 -1104
- package/esm2020/lib/smart-victim.component.mjs +0 -314
- package/esm2020/lib/smart-victim.service.mjs +0 -352
- package/esm2020/lib/victimSearch/victimSearchForm.component.mjs +0 -38
- package/fesm2015/csmart-ngc-smart-victim.mjs +0 -3273
- package/fesm2015/csmart-ngc-smart-victim.mjs.map +0 -1
- package/fesm2020/csmart-ngc-smart-victim.mjs +0 -3261
- package/fesm2020/csmart-ngc-smart-victim.mjs.map +0 -1
@@ -1,1104 +0,0 @@
|
|
1
|
-
import { Component, Input, Output, EventEmitter, ViewChild } from '@angular/core';
|
2
|
-
import { UntypedFormBuilder, UntypedFormControl, Validators } from '@angular/forms';
|
3
|
-
import { MatRadioGroup } from '@angular/material/radio';
|
4
|
-
import { NgcSmartVictimService } from '../smart-victim.service';
|
5
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
6
|
-
import { CommonDialogService } from '.././common-dialog/common-dialog.service';
|
7
|
-
import { DatePipe, Location } from '@angular/common';
|
8
|
-
import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
9
|
-
import { MatTableDataSource } from '@angular/material/table';
|
10
|
-
import { SmartAddressComponent } from '@csmart/ngc-smart-address';
|
11
|
-
import { MatDialog } from '@angular/material/dialog';
|
12
|
-
import { MatSnackBar } from '@angular/material/snack-bar';
|
13
|
-
import { MatInput } from '@angular/material/input';
|
14
|
-
import { MatSelect } from '@angular/material/select';
|
15
|
-
import { ChangeDetectorRef, } from '@angular/core';
|
16
|
-
import * as i0 from "@angular/core";
|
17
|
-
import * as i1 from "@angular/common";
|
18
|
-
import * as i2 from "@angular/forms";
|
19
|
-
import * as i3 from "@angular/material/dialog";
|
20
|
-
import * as i4 from "@angular/router";
|
21
|
-
import * as i5 from "@angular/material/snack-bar";
|
22
|
-
import * as i6 from ".././common-dialog/common-dialog.service";
|
23
|
-
import * as i7 from "../smart-victim.service";
|
24
|
-
import * as i8 from "@angular/material/button";
|
25
|
-
import * as i9 from "@angular/material/checkbox";
|
26
|
-
import * as i10 from "@angular/material/radio";
|
27
|
-
import * as i11 from "@angular/material/slider";
|
28
|
-
import * as i12 from "@angular/material/card";
|
29
|
-
import * as i13 from "@angular/material/tabs";
|
30
|
-
import * as i14 from "@angular/material/form-field";
|
31
|
-
import * as i15 from "@angular/material/input";
|
32
|
-
import * as i16 from "@angular/material/datepicker";
|
33
|
-
import * as i17 from "@angular/material/select";
|
34
|
-
import * as i18 from "@angular/material/core";
|
35
|
-
import * as i19 from "@angular/material/table";
|
36
|
-
import * as i20 from "@csmart/ngc-smart-address";
|
37
|
-
import * as i21 from "@csmart/smart-ui";
|
38
|
-
export function conditionalValidator(predicate, validator, errorNamespace) {
|
39
|
-
return (formControl => {
|
40
|
-
if (!formControl.parent) {
|
41
|
-
return null;
|
42
|
-
}
|
43
|
-
let error = null;
|
44
|
-
if (predicate()) {
|
45
|
-
error = validator(formControl);
|
46
|
-
}
|
47
|
-
if (errorNamespace && error) {
|
48
|
-
const customError = {};
|
49
|
-
customError[errorNamespace] = error;
|
50
|
-
error = customError;
|
51
|
-
}
|
52
|
-
return error;
|
53
|
-
});
|
54
|
-
}
|
55
|
-
export function stringConditionalValidator(predicate, validator, errorNamespace) {
|
56
|
-
return (formControl => {
|
57
|
-
if (!formControl.parent) {
|
58
|
-
return null;
|
59
|
-
}
|
60
|
-
let error = null;
|
61
|
-
if (predicate() == 'YS') {
|
62
|
-
error = validator(formControl);
|
63
|
-
}
|
64
|
-
if (errorNamespace && error) {
|
65
|
-
const customError = {};
|
66
|
-
customError[errorNamespace] = error;
|
67
|
-
error = customError;
|
68
|
-
}
|
69
|
-
return error;
|
70
|
-
});
|
71
|
-
}
|
72
|
-
export class SmartVictimDetailComponent {
|
73
|
-
constructor(location, formBuilder, dialog, route, router, snackBar, commonDialogService, victimService, changeDetectorRefs) {
|
74
|
-
this.location = location;
|
75
|
-
this.formBuilder = formBuilder;
|
76
|
-
this.dialog = dialog;
|
77
|
-
this.route = route;
|
78
|
-
this.router = router;
|
79
|
-
this.snackBar = snackBar;
|
80
|
-
this.commonDialogService = commonDialogService;
|
81
|
-
this.victimService = victimService;
|
82
|
-
this.changeDetectorRefs = changeDetectorRefs;
|
83
|
-
this.victimDetail = {};
|
84
|
-
this.onSave = new EventEmitter();
|
85
|
-
this.onCancel = new EventEmitter();
|
86
|
-
this.hidden = true;
|
87
|
-
this.victimAdvocate = {};
|
88
|
-
this.victimGuardian = {};
|
89
|
-
this.guardianTabFlag = false;
|
90
|
-
this.advocateTabFlag = false;
|
91
|
-
this.commonChildrenDivFlag = false;
|
92
|
-
this.cpoExpirationDivFlag = false;
|
93
|
-
this.supportInPlaceDivFlag = false;
|
94
|
-
this.weaponInvolvedDivFlag = false;
|
95
|
-
this.drugUseDivFlag = false;
|
96
|
-
this.showDelete = false;
|
97
|
-
this.addressId = 0;
|
98
|
-
this.advocateAddressId = 0;
|
99
|
-
this.guardianAddressId = 0;
|
100
|
-
this.datePipe = new DatePipe('en-US');
|
101
|
-
this.emailPattern = "^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$";
|
102
|
-
this.phoneNumber = "\\d{10}";
|
103
|
-
this.editVictim = {};
|
104
|
-
this.otherWeaponFlag = false;
|
105
|
-
this.otherDrugFlag = false;
|
106
|
-
this.contactDataSource = new MatTableDataSource();
|
107
|
-
this.guardianPhoneExistFlag = false;
|
108
|
-
this.advocatePhoneExistFlag = false;
|
109
|
-
this.phoneValidationFlag = false;
|
110
|
-
this.guaridanNoPhoneChkFlag = true;
|
111
|
-
this.advocateNoPhoneChkFlag = true;
|
112
|
-
this.addressValidators = {
|
113
|
-
street: [],
|
114
|
-
street2: [],
|
115
|
-
city: [],
|
116
|
-
stateCode: [],
|
117
|
-
zipCode: [],
|
118
|
-
psaCode: [],
|
119
|
-
};
|
120
|
-
this.homePhoneControl = new UntypedFormControl();
|
121
|
-
this.cellPhoneControl = new UntypedFormControl();
|
122
|
-
this.workPhoneControl = new UntypedFormControl();
|
123
|
-
this.guardianHomePhoneControl = new UntypedFormControl();
|
124
|
-
this.guardianCellPhoneControl = new UntypedFormControl();
|
125
|
-
this.guardianWorkPhoneControl = new UntypedFormControl();
|
126
|
-
this.advocateHomePhoneControl = new UntypedFormControl();
|
127
|
-
this.advocateCellPhoneControl = new UntypedFormControl();
|
128
|
-
this.advocateWorkPhoneControl = new UntypedFormControl();
|
129
|
-
this.emergencyContactPhoneControl = new UntypedFormControl();
|
130
|
-
this.initForm();
|
131
|
-
}
|
132
|
-
initForm() {
|
133
|
-
this.victimForm = this.formBuilder.group({
|
134
|
-
underSupervisionFlag: new UntypedFormControl('', Validators.compose([Validators.required])),
|
135
|
-
victimOffenderRelationshipTypeId: new UntypedFormControl('', Validators.compose([Validators.required])),
|
136
|
-
lastName: new UntypedFormControl('', Validators.compose([Validators.required])),
|
137
|
-
firstName: new UntypedFormControl('', Validators.compose([Validators.required])),
|
138
|
-
middleName: new UntypedFormControl(''),
|
139
|
-
prefixId: new UntypedFormControl(''),
|
140
|
-
suffixId: new UntypedFormControl(''),
|
141
|
-
genderCode: new UntypedFormControl(''),
|
142
|
-
birthDate: new UntypedFormControl(''),
|
143
|
-
homePhone: new UntypedFormControl(''),
|
144
|
-
cellPhone: new UntypedFormControl(''),
|
145
|
-
workPhone: new UntypedFormControl(''),
|
146
|
-
email: new UntypedFormControl('', Validators.compose([Validators.pattern(this.emailPattern)])),
|
147
|
-
minorFlag: new UntypedFormControl('', Validators.compose([Validators.required])),
|
148
|
-
victimAdvocateFlag: new UntypedFormControl('', Validators.compose([Validators.required])),
|
149
|
-
guardianLastName: new UntypedFormControl('', stringConditionalValidator(() => this.victimForm.get('minorFlag').value, Validators.required, 'illuminatiError')),
|
150
|
-
guardianFirstName: new UntypedFormControl('', stringConditionalValidator(() => this.victimForm.get('minorFlag').value, Validators.required, 'illuminatiError')),
|
151
|
-
guardianPrefixId: new UntypedFormControl(''),
|
152
|
-
guardianSuffixId: new UntypedFormControl(''),
|
153
|
-
//guardianGender:new FormControl('', ),
|
154
|
-
guardianBirthDate: new UntypedFormControl(''),
|
155
|
-
guardianNoPhoneFlag: new UntypedFormControl(true),
|
156
|
-
guardianHomePhone: new UntypedFormControl(''),
|
157
|
-
guardianCellPhone: new UntypedFormControl(''),
|
158
|
-
guardianWorkPhone: new UntypedFormControl(''),
|
159
|
-
guardianEmail: new UntypedFormControl('', Validators.compose([Validators.pattern(this.emailPattern)])),
|
160
|
-
advocateNoPhoneFlag: new UntypedFormControl(true),
|
161
|
-
advocateWorkPhone: new UntypedFormControl(''),
|
162
|
-
advocateHomePhone: new UntypedFormControl(''),
|
163
|
-
advocateCellPhone: new UntypedFormControl(''),
|
164
|
-
advocateSuffixId: new UntypedFormControl(''),
|
165
|
-
advocatePrefixId: new UntypedFormControl(''),
|
166
|
-
advocateFirstName: new UntypedFormControl('', stringConditionalValidator(() => this.victimForm.get('victimAdvocateFlag').value, Validators.required, 'illuminatiError')),
|
167
|
-
advocateLastName: new UntypedFormControl('', stringConditionalValidator(() => this.victimForm.get('victimAdvocateFlag').value, Validators.required, 'illuminatiError')),
|
168
|
-
advocateEmail: new UntypedFormControl('', Validators.compose([Validators.pattern(this.emailPattern)])),
|
169
|
-
emergencyContact: new UntypedFormControl(''),
|
170
|
-
emergencyContactPhone: new UntypedFormControl(''),
|
171
|
-
emergencyChildren: new UntypedFormControl(''),
|
172
|
-
emergencyCpo: new UntypedFormControl(''),
|
173
|
-
emergencyDrug: new UntypedFormControl(''),
|
174
|
-
emergencySupport: new UntypedFormControl(''),
|
175
|
-
emergencyWeapon: new UntypedFormControl(''),
|
176
|
-
drug: new UntypedFormControl(''),
|
177
|
-
weapon: new UntypedFormControl(''),
|
178
|
-
support: new UntypedFormControl(''),
|
179
|
-
commonChildrenFlag: new UntypedFormControl(''),
|
180
|
-
commonChildrenNumber: new UntypedFormControl(''),
|
181
|
-
cpoExpirationFlag: new UntypedFormControl(''),
|
182
|
-
cpoExpirationDate: new UntypedFormControl(''),
|
183
|
-
accessRisk: new UntypedFormControl(''),
|
184
|
-
drugUseFlag: new UntypedFormControl(''),
|
185
|
-
supportInPlaceFlag: new UntypedFormControl(''),
|
186
|
-
weaponInvolvedFlag: new UntypedFormControl(''),
|
187
|
-
otherWeapon: new UntypedFormControl(''),
|
188
|
-
otherDrug: new UntypedFormControl(''),
|
189
|
-
alcoholUseFlag: new UntypedFormControl(''),
|
190
|
-
victimSupports: new UntypedFormControl(''),
|
191
|
-
victimWeaponUses: new UntypedFormControl(''),
|
192
|
-
victimDrugUses: new UntypedFormControl(''),
|
193
|
-
allowCsosaContactFlag: new UntypedFormControl(''),
|
194
|
-
liveWithOffenderFlag: new UntypedFormControl(''),
|
195
|
-
});
|
196
|
-
this.victimForm.markAsPristine();
|
197
|
-
this.victimForm.markAsUntouched();
|
198
|
-
}
|
199
|
-
_getVictim() {
|
200
|
-
if (this.victimId === 0) {
|
201
|
-
return;
|
202
|
-
}
|
203
|
-
;
|
204
|
-
if (this.editMode == true) {
|
205
|
-
console.log('find victim id inside getVictim');
|
206
|
-
console.log(this.victimId);
|
207
|
-
if (this.victimId === undefined) {
|
208
|
-
this.sub = this.route.params.subscribe(params => {
|
209
|
-
this.victimId = params['victimId'];
|
210
|
-
console.log('my this.victimId');
|
211
|
-
console.log(this.victimId);
|
212
|
-
});
|
213
|
-
}
|
214
|
-
this.victimService.getVictim(this.victimId)
|
215
|
-
.subscribe((victim) => {
|
216
|
-
console.log('victim data 1');
|
217
|
-
console.log(victim);
|
218
|
-
this.editVictim = victim;
|
219
|
-
var supportsData = [];
|
220
|
-
this.editVictim.victimSupports.forEach(t => { supportsData.push(t.victimSupportTypeId); });
|
221
|
-
const victimSupportsControl = this.victimForm.get('victimSupports');
|
222
|
-
victimSupportsControl.setValue(supportsData);
|
223
|
-
var weaponUsesData = [];
|
224
|
-
var otherWeapon = "";
|
225
|
-
this.editVictim.victimWeaponUses.forEach(t => {
|
226
|
-
weaponUsesData.push(t.weaponTypeId);
|
227
|
-
if (t.weaponTypeId == "OTHER") {
|
228
|
-
otherWeapon = t.otherWeapon;
|
229
|
-
this.otherWeaponFlag = true;
|
230
|
-
}
|
231
|
-
});
|
232
|
-
const victimWeaponUsesControl = this.victimForm.get('victimWeaponUses');
|
233
|
-
victimWeaponUsesControl.setValue(weaponUsesData);
|
234
|
-
const otherWeaponControl = this.victimForm.get('otherWeapon');
|
235
|
-
otherWeaponControl.setValue(otherWeapon);
|
236
|
-
var drugUseData = [];
|
237
|
-
var otherDrug = "";
|
238
|
-
console.log('load this.editVictim.victimDrugUses');
|
239
|
-
console.log(this.editVictim.victimDrugUses);
|
240
|
-
this.editVictim.victimDrugUses.forEach(t => {
|
241
|
-
if (t.drugTypeId === null) {
|
242
|
-
otherDrug = t.otherDrug;
|
243
|
-
this.otherDrugFlag = true;
|
244
|
-
t.drugTypeId = 'OTHER';
|
245
|
-
}
|
246
|
-
drugUseData.push(t.drugTypeId);
|
247
|
-
});
|
248
|
-
console.log('this.editVictim.victimDrugUses after push');
|
249
|
-
console.log(drugUseData);
|
250
|
-
if (drugUseData) {
|
251
|
-
const victimDrugUsesControl = this.victimForm.get('victimDrugUses');
|
252
|
-
victimDrugUsesControl.setValue(drugUseData);
|
253
|
-
}
|
254
|
-
if (otherDrug) {
|
255
|
-
const otherDrugControl = this.victimForm.get('otherDrug');
|
256
|
-
otherDrugControl.setValue(otherDrug);
|
257
|
-
}
|
258
|
-
//contact
|
259
|
-
this.victimService.getContacts(this.victimId).subscribe(contactList => {
|
260
|
-
console.log('contactList');
|
261
|
-
console.log(contactList);
|
262
|
-
this.contactList = contactList;
|
263
|
-
this.contactDataSource.data = this.contactList;
|
264
|
-
});
|
265
|
-
//no phone field
|
266
|
-
if (this.editVictim.guardianNoPhoneFlag === false) {
|
267
|
-
this.victimForm.patchValue({ guardianNoPhoneFlag: false });
|
268
|
-
}
|
269
|
-
if (this.editVictim.advocateNoPhoneFlag === false) {
|
270
|
-
this.victimForm.patchValue({ advocateNoPhoneFlag: false });
|
271
|
-
}
|
272
|
-
this.homePhoneControl.setValue(!this.editVictim.homePhone ? "" : this.editVictim.homePhone);
|
273
|
-
this.cellPhoneControl.setValue(!this.editVictim.cellPhone ? "" : this.editVictim.cellPhone);
|
274
|
-
this.workPhoneControl.setValue(!this.editVictim.workPhone ? "" : this.editVictim.workPhone);
|
275
|
-
this.guardianHomePhoneControl.setValue(!this.editVictim.guardianHomePhone ? "" : this.editVictim.guardianHomePhone);
|
276
|
-
this.guardianCellPhoneControl.setValue(!this.editVictim.guardianCellPhone ? "" : this.editVictim.guardianCellPhone);
|
277
|
-
this.guardianWorkPhoneControl.setValue(!this.editVictim.guardianWorkPhone ? "" : this.editVictim.guardianWorkPhone);
|
278
|
-
this.advocateHomePhoneControl.setValue(!this.editVictim.advocateHomePhone ? "" : this.editVictim.advocateHomePhone);
|
279
|
-
this.advocateCellPhoneControl.setValue(!this.editVictim.advocateCellPhone ? "" : this.editVictim.advocateCellPhone);
|
280
|
-
this.advocateWorkPhoneControl.setValue(!this.editVictim.advocateWorkPhone ? "" : this.editVictim.advocateWorkPhone);
|
281
|
-
this.emergencyContactPhoneControl.setValue(!this.editVictim.emergencyContactPhone ? "" : this.editVictim.emergencyContactPhone);
|
282
|
-
}, error => {
|
283
|
-
this.snackBar.open("Error occured while retriving Victim Information. Please try again.");
|
284
|
-
});
|
285
|
-
return;
|
286
|
-
}
|
287
|
-
else {
|
288
|
-
//new
|
289
|
-
}
|
290
|
-
}
|
291
|
-
ngOnChanges() {
|
292
|
-
}
|
293
|
-
onClear() {
|
294
|
-
if (this.addressComponent)
|
295
|
-
this.addressComponent.reset();
|
296
|
-
}
|
297
|
-
showAddress(value) {
|
298
|
-
if (value.checked) {
|
299
|
-
this.victimService.getCurrentHousing(this.offenderId).subscribe((item) => {
|
300
|
-
this.addressId = item.housing.addressId;
|
301
|
-
this.victimForm.patchValue({ addressId: this.addressId });
|
302
|
-
});
|
303
|
-
}
|
304
|
-
else {
|
305
|
-
this.addressComponent.reset();
|
306
|
-
this.editVictim.allowCsosaContactFlag = false;
|
307
|
-
this.addressId = null;
|
308
|
-
}
|
309
|
-
}
|
310
|
-
onAddressChange(addressId) {
|
311
|
-
this.victimForm.patchValue({ addressId: addressId });
|
312
|
-
this.addressId = addressId;
|
313
|
-
}
|
314
|
-
onGuardianAddressChange(MyGuardianAddressId) {
|
315
|
-
this.victimForm.patchValue({ guardianAddressId: MyGuardianAddressId });
|
316
|
-
this.guardianAddressId = MyGuardianAddressId;
|
317
|
-
}
|
318
|
-
onAdvocateAddressChange(MyAdvocateAddressId) {
|
319
|
-
this.victimForm.patchValue({ advocateAddressId: MyAdvocateAddressId });
|
320
|
-
this.advocateAddressId = MyAdvocateAddressId;
|
321
|
-
}
|
322
|
-
cancel() {
|
323
|
-
this.victimForm.reset();
|
324
|
-
}
|
325
|
-
ngOnInit() {
|
326
|
-
this.homePhoneControl.valueChanges.subscribe((hpn) => {
|
327
|
-
const newValue = hpn.replace(/\D/g, '');
|
328
|
-
this.editVictim.homePhone = newValue;
|
329
|
-
});
|
330
|
-
this.cellPhoneControl.valueChanges.subscribe((hpn) => {
|
331
|
-
const newValue = hpn.replace(/\D/g, '');
|
332
|
-
this.editVictim.cellPhone = newValue;
|
333
|
-
});
|
334
|
-
this.workPhoneControl.valueChanges.subscribe((hpn) => {
|
335
|
-
const newValue = hpn.replace(/\D/g, '');
|
336
|
-
this.editVictim.workPhone = newValue;
|
337
|
-
});
|
338
|
-
this.guardianHomePhoneControl.valueChanges.subscribe((hpn) => {
|
339
|
-
const newValue = hpn.replace(/\D/g, '');
|
340
|
-
this.editVictim.guardianHomePhone = newValue;
|
341
|
-
});
|
342
|
-
this.guardianCellPhoneControl.valueChanges.subscribe((hpn) => {
|
343
|
-
const newValue = hpn.replace(/\D/g, '');
|
344
|
-
this.editVictim.guardianCellPhone = newValue;
|
345
|
-
});
|
346
|
-
this.guardianWorkPhoneControl.valueChanges.subscribe((hpn) => {
|
347
|
-
const newValue = hpn.replace(/\D/g, '');
|
348
|
-
this.editVictim.guardianWorkPhone = newValue;
|
349
|
-
});
|
350
|
-
this.advocateHomePhoneControl.valueChanges.subscribe((hpn) => {
|
351
|
-
const newValue = hpn.replace(/\D/g, '');
|
352
|
-
this.editVictim.advocateHomePhone = newValue;
|
353
|
-
});
|
354
|
-
this.advocateCellPhoneControl.valueChanges.subscribe((hpn) => {
|
355
|
-
const newValue = hpn.replace(/\D/g, '');
|
356
|
-
this.editVictim.advocateCellPhone = newValue;
|
357
|
-
});
|
358
|
-
this.advocateWorkPhoneControl.valueChanges.subscribe((hpn) => {
|
359
|
-
const newValue = hpn.replace(/\D/g, '');
|
360
|
-
this.editVictim.advocateWorkPhone = newValue;
|
361
|
-
});
|
362
|
-
this.emergencyContactPhoneControl.valueChanges.subscribe((hpn) => {
|
363
|
-
const newValue = hpn.replace(/\D/g, '');
|
364
|
-
this.editVictim.emergencyContactPhone = newValue;
|
365
|
-
});
|
366
|
-
console.log('show offenderId');
|
367
|
-
console.log(this.offenderId);
|
368
|
-
console.log('show staffId');
|
369
|
-
console.log(this.staffId);
|
370
|
-
console.log('show isIntake');
|
371
|
-
console.log(this.isIntake);
|
372
|
-
//required field
|
373
|
-
const requiredImplementation = { get: function () {
|
374
|
-
if (this._required) {
|
375
|
-
return this._required;
|
376
|
-
}
|
377
|
-
if (this.ngControl && this.ngControl.control && this.ngControl.control.validator) {
|
378
|
-
const emptyValueControl = Object.assign({}, this.ngControl.control);
|
379
|
-
emptyValueControl.value = null;
|
380
|
-
return ('required' in (this.ngControl.control.validator(emptyValueControl) || {}));
|
381
|
-
}
|
382
|
-
return false;
|
383
|
-
}, set: function (value) { this._required = coerceBooleanProperty(value); }, };
|
384
|
-
Object.defineProperty(MatInput.prototype, 'required', requiredImplementation);
|
385
|
-
Object.defineProperty(MatSelect.prototype, 'required', requiredImplementation);
|
386
|
-
Object.defineProperty(MatRadioGroup.prototype, 'required', requiredImplementation);
|
387
|
-
//required field end
|
388
|
-
if (this.victimDetail != null) {
|
389
|
-
// edit record
|
390
|
-
this.editMode = true;
|
391
|
-
this.showDelete = true;
|
392
|
-
this.victimId = this.victimDetail.victimId;
|
393
|
-
this.guardianTabFlag = this.victimDetail.minorFlag;
|
394
|
-
if (this.victimDetail.victimAdvocateFlag == 'YS') {
|
395
|
-
this.advocateTabFlag = true;
|
396
|
-
}
|
397
|
-
if (this.otherWeaponFlag == true) {
|
398
|
-
const otherWeaponControl = this.victimForm.get('otherWeapon');
|
399
|
-
otherWeaponControl.setValidators(Validators.required);
|
400
|
-
}
|
401
|
-
if (this.otherDrugFlag == true) {
|
402
|
-
const otherDrugControl = this.victimForm.get('otherDrug');
|
403
|
-
otherDrugControl.setValidators(Validators.required);
|
404
|
-
}
|
405
|
-
this.cpoExpirationDivFlag = this.victimDetail.cpoExpirationFlag;
|
406
|
-
this.commonChildrenDivFlag = this.victimDetail.commonChildrenFlag;
|
407
|
-
this.supportInPlaceDivFlag = this.victimDetail.supportInPlaceFlag;
|
408
|
-
this.weaponInvolvedDivFlag = this.victimDetail.weaponInvolvedFlag;
|
409
|
-
this.drugUseDivFlag = this.victimDetail.drugUseFlag;
|
410
|
-
this.addressId = this.victimDetail.addressId;
|
411
|
-
this.guardianAddressId = this.victimDetail.guardianAddressId;
|
412
|
-
this.advocateAddressId = this.victimDetail.advocateAddressId;
|
413
|
-
this._getVictim();
|
414
|
-
}
|
415
|
-
else {
|
416
|
-
//add new record
|
417
|
-
this.victimForm.patchValue({ guardianNoPhoneFlag: true });
|
418
|
-
this.victimForm.patchValue({ advocateNoPhoneFlag: true });
|
419
|
-
}
|
420
|
-
this.victimService.getFlagOptionYesNoUnknowns().subscribe((items) => {
|
421
|
-
this.flagOption = items;
|
422
|
-
});
|
423
|
-
this.victimService.getGenders().subscribe((items) => {
|
424
|
-
this.genders = items;
|
425
|
-
});
|
426
|
-
this.victimService.getPrefixes().subscribe((items) => {
|
427
|
-
this.prefixes = items;
|
428
|
-
});
|
429
|
-
this.victimService.getSuffixes().subscribe((items) => {
|
430
|
-
this.suffixes = items;
|
431
|
-
});
|
432
|
-
this.victimService.getRelationshipTypes().subscribe((items) => {
|
433
|
-
this.relationshipTypes = items.filter((y) => (y.relationshipCategoryId === 'ST' || y.relationshipCategoryId === 'FM'));
|
434
|
-
});
|
435
|
-
this.victimService.getSupportTypes().subscribe((items) => {
|
436
|
-
this.victimSupportTypes = items;
|
437
|
-
});
|
438
|
-
this.victimService.getWeaponTypes().subscribe((items) => {
|
439
|
-
this.weaponTypes = items;
|
440
|
-
});
|
441
|
-
this.victimService.getDrugsTypes().subscribe((items) => {
|
442
|
-
console.log('drug lookup items');
|
443
|
-
console.log(items);
|
444
|
-
this.drugs = items;
|
445
|
-
this.drugs.push({ drugTypeId: 'OTHER', name: 'Other' });
|
446
|
-
console.log(this.drugs);
|
447
|
-
});
|
448
|
-
// this.victimService.getDocketList(this.offenderId).subscribe(
|
449
|
-
// (items: any) => {
|
450
|
-
// this.docketlist = items;
|
451
|
-
// }
|
452
|
-
// );
|
453
|
-
this.victimForm.get('minorFlag').valueChanges
|
454
|
-
.subscribe(value => {
|
455
|
-
this.victimForm.get('guardianFirstName').updateValueAndValidity();
|
456
|
-
this.victimForm.get('guardianLastName').updateValueAndValidity();
|
457
|
-
this.victimForm.get('guardianWorkPhone').updateValueAndValidity();
|
458
|
-
this.victimForm.get('guardianHomePhone').updateValueAndValidity();
|
459
|
-
this.victimForm.get('guardianCellPhone').updateValueAndValidity();
|
460
|
-
});
|
461
|
-
this.victimForm.get('victimAdvocateFlag').valueChanges
|
462
|
-
.subscribe(value => {
|
463
|
-
this.victimForm.get('advocateFirstName').updateValueAndValidity();
|
464
|
-
this.victimForm.get('advocateLastName').updateValueAndValidity();
|
465
|
-
this.victimForm.get('advocateWorkPhone').updateValueAndValidity();
|
466
|
-
this.victimForm.get('advocateHomePhone').updateValueAndValidity();
|
467
|
-
this.victimForm.get('advocateCellPhone').updateValueAndValidity();
|
468
|
-
});
|
469
|
-
}
|
470
|
-
back() {
|
471
|
-
//this.onSave.emit(this.victimDetail);
|
472
|
-
this.router.navigate(['victimList']);
|
473
|
-
}
|
474
|
-
deleteVictim() {
|
475
|
-
this.commonDialogService
|
476
|
-
.confirm('', 'Do you want to delete this Victim?', 'Yes', 'No')
|
477
|
-
.subscribe(res => {
|
478
|
-
this.result = res;
|
479
|
-
if (this.result) {
|
480
|
-
this.victimService.deleteVictims(this.victimDetail.victimId, this.staffId)
|
481
|
-
.subscribe(result => {
|
482
|
-
this.snackBar.open('Delete Successfully! Please refresh this page.', '', {
|
483
|
-
duration: 3000,
|
484
|
-
});
|
485
|
-
});
|
486
|
-
// this.onSave.emit(this.victimDetail);
|
487
|
-
// this.router.navigate(['victim']);
|
488
|
-
setTimeout(() => {
|
489
|
-
window.location.reload();
|
490
|
-
}, 3000);
|
491
|
-
}
|
492
|
-
});
|
493
|
-
}
|
494
|
-
radioMinorChange($event) {
|
495
|
-
if ($event.value === true) {
|
496
|
-
this.guardianTabFlag = true;
|
497
|
-
}
|
498
|
-
else {
|
499
|
-
this.guardianTabFlag = false;
|
500
|
-
}
|
501
|
-
}
|
502
|
-
radioAdvocateChange($event) {
|
503
|
-
const advocateLastNameControl = this.victimForm.get('advocateLastName');
|
504
|
-
const advocateFirstNameControl = this.victimForm.get('advocateFirstName');
|
505
|
-
if ($event.value === "YS") {
|
506
|
-
this.advocateTabFlag = true;
|
507
|
-
advocateLastNameControl.setValidators(Validators.required);
|
508
|
-
advocateFirstNameControl.setValidators(Validators.required);
|
509
|
-
}
|
510
|
-
else {
|
511
|
-
this.advocateTabFlag = false;
|
512
|
-
advocateLastNameControl.clearValidators();
|
513
|
-
advocateFirstNameControl.clearValidators();
|
514
|
-
}
|
515
|
-
advocateLastNameControl.updateValueAndValidity();
|
516
|
-
advocateFirstNameControl.updateValueAndValidity();
|
517
|
-
}
|
518
|
-
radioCicChange($event) {
|
519
|
-
if ($event.value === true) {
|
520
|
-
this.commonChildrenDivFlag = true;
|
521
|
-
// requrie field
|
522
|
-
this.setValidators('commonChildren');
|
523
|
-
}
|
524
|
-
else {
|
525
|
-
this.commonChildrenDivFlag = false;
|
526
|
-
}
|
527
|
-
}
|
528
|
-
setValidators(type) {
|
529
|
-
if (type == 'commonChildren') {
|
530
|
-
this.victimForm.get('commonChildrenNumber').clearValidators();
|
531
|
-
this.victimForm.get('commonChildrenNumber').setValidators(Validators.required);
|
532
|
-
}
|
533
|
-
else if (type == 'cpo') {
|
534
|
-
this.victimForm.get('cpoExpirationDate').clearValidators();
|
535
|
-
this.victimForm.get('cpoExpirationDate').setValidators(Validators.required);
|
536
|
-
}
|
537
|
-
}
|
538
|
-
radioSupportChange($event) {
|
539
|
-
if ($event.value === true) {
|
540
|
-
this.supportInPlaceDivFlag = true;
|
541
|
-
}
|
542
|
-
else {
|
543
|
-
this.supportInPlaceDivFlag = false;
|
544
|
-
}
|
545
|
-
}
|
546
|
-
radioWeaponChange($event) {
|
547
|
-
if ($event.value === true) {
|
548
|
-
this.weaponInvolvedDivFlag = true;
|
549
|
-
}
|
550
|
-
else {
|
551
|
-
this.weaponInvolvedDivFlag = false;
|
552
|
-
}
|
553
|
-
}
|
554
|
-
radioDrugChange($event) {
|
555
|
-
if ($event.value === true) {
|
556
|
-
this.drugUseDivFlag = true;
|
557
|
-
}
|
558
|
-
else {
|
559
|
-
this.drugUseDivFlag = false;
|
560
|
-
}
|
561
|
-
}
|
562
|
-
radioCpoChange($event) {
|
563
|
-
if ($event.value === true) {
|
564
|
-
this.cpoExpirationDivFlag = true;
|
565
|
-
this.setValidators('cpo');
|
566
|
-
}
|
567
|
-
else {
|
568
|
-
this.cpoExpirationDivFlag = false;
|
569
|
-
}
|
570
|
-
}
|
571
|
-
handleDOBChange($event) {
|
572
|
-
var ageDifMs = Date.now() - $event.value;
|
573
|
-
var ageDate = new Date(ageDifMs);
|
574
|
-
if (Math.abs(ageDate.getUTCFullYear() - 1970) <= 18) {
|
575
|
-
this.snackBar.open('Victim is a Minor. This information is a sensitive and should not be disclosed to any unauthorized parties. Contact the legal guardian.', '', {
|
576
|
-
duration: 6000,
|
577
|
-
});
|
578
|
-
const minorControl = this.victimForm.get('minorFlag');
|
579
|
-
minorControl.setValue(true);
|
580
|
-
this.guardianTabFlag = true;
|
581
|
-
}
|
582
|
-
}
|
583
|
-
checkOtherWeapon(WeaponUse) {
|
584
|
-
const otherWeaponControl = this.victimForm.get('otherWeapon');
|
585
|
-
if (WeaponUse.includes("OTHER")) {
|
586
|
-
this.otherWeaponFlag = true;
|
587
|
-
otherWeaponControl.setValidators(Validators.required);
|
588
|
-
}
|
589
|
-
else {
|
590
|
-
this.otherWeaponFlag = false;
|
591
|
-
otherWeaponControl.clearValidators();
|
592
|
-
}
|
593
|
-
otherWeaponControl.updateValueAndValidity();
|
594
|
-
}
|
595
|
-
checkOtherDrug(DrugUse) {
|
596
|
-
const otherDrugControl = this.victimForm.get('otherDrug');
|
597
|
-
if (DrugUse.includes("OTHER")) {
|
598
|
-
this.otherDrugFlag = true;
|
599
|
-
otherDrugControl.setValidators(Validators.required);
|
600
|
-
}
|
601
|
-
else {
|
602
|
-
this.otherDrugFlag = false;
|
603
|
-
otherDrugControl.clearValidators();
|
604
|
-
}
|
605
|
-
otherDrugControl.updateValueAndValidity();
|
606
|
-
}
|
607
|
-
//#region "save victim"
|
608
|
-
saveVictim() {
|
609
|
-
//guardian phone logic
|
610
|
-
if (!this.victimForm.value.guardianNoPhoneFlag) {
|
611
|
-
if (this.guardianHomePhoneControl.value) {
|
612
|
-
if (this.guardianHomePhoneControl.value !== null) {
|
613
|
-
if (this.guardianHomePhoneControl.value !== "") {
|
614
|
-
this.guardianPhoneExistFlag = true;
|
615
|
-
}
|
616
|
-
}
|
617
|
-
}
|
618
|
-
if (this.guardianWorkPhoneControl.value !== undefined) {
|
619
|
-
if (this.guardianWorkPhoneControl.value !== null) {
|
620
|
-
if (this.guardianWorkPhoneControl.value !== "") {
|
621
|
-
this.guardianPhoneExistFlag = true;
|
622
|
-
}
|
623
|
-
}
|
624
|
-
}
|
625
|
-
if (this.guardianCellPhoneControl.value) {
|
626
|
-
if (this.guardianCellPhoneControl.value !== null) {
|
627
|
-
if (this.guardianCellPhoneControl.value !== "") {
|
628
|
-
this.guardianPhoneExistFlag = true;
|
629
|
-
}
|
630
|
-
}
|
631
|
-
}
|
632
|
-
}
|
633
|
-
console.log('this.victimForm.value.guardianNoPhoneFlag');
|
634
|
-
console.log(this.victimForm.value.guardianNoPhoneFlag);
|
635
|
-
console.log('this.guardianPhoneExistFlag');
|
636
|
-
console.log(this.guardianPhoneExistFlag);
|
637
|
-
if (this.guardianPhoneExistFlag === false && this.victimForm.value.guardianNoPhoneFlag === false) {
|
638
|
-
this.phoneValidationFlag = true;
|
639
|
-
this.commonDialogService
|
640
|
-
.warning('', 'Please check the guardian phone field. You have to fill one of the three phone fileds.', 'Ok')
|
641
|
-
.subscribe(res => {
|
642
|
-
this.result = res;
|
643
|
-
});
|
644
|
-
}
|
645
|
-
console.log('this.phoneValidationFlag');
|
646
|
-
console.log(this.phoneValidationFlag);
|
647
|
-
//advocate phone logic
|
648
|
-
if (!this.victimForm.value.advocateNoPhoneFlag) {
|
649
|
-
if (this.advocateHomePhoneControl.value) {
|
650
|
-
if (this.advocateHomePhoneControl.value !== null) {
|
651
|
-
if (this.advocateHomePhoneControl.value !== "") {
|
652
|
-
this.advocatePhoneExistFlag = true;
|
653
|
-
}
|
654
|
-
}
|
655
|
-
}
|
656
|
-
if (this.advocateWorkPhoneControl.value !== undefined) {
|
657
|
-
if (this.advocateWorkPhoneControl.value !== null) {
|
658
|
-
if (this.advocateWorkPhoneControl.value !== "") {
|
659
|
-
this.advocatePhoneExistFlag = true;
|
660
|
-
}
|
661
|
-
}
|
662
|
-
}
|
663
|
-
if (this.advocateCellPhoneControl.value) {
|
664
|
-
if (this.advocateCellPhoneControl.value !== null) {
|
665
|
-
if (this.advocateCellPhoneControl.value !== "") {
|
666
|
-
this.advocatePhoneExistFlag = true;
|
667
|
-
}
|
668
|
-
}
|
669
|
-
}
|
670
|
-
}
|
671
|
-
console.log('this.victimForm.value.advocateNoPhoneFlag');
|
672
|
-
console.log(this.victimForm.value.advocateNoPhoneFlag);
|
673
|
-
console.log('this.advocatePhoneExistFlag');
|
674
|
-
console.log(this.advocatePhoneExistFlag);
|
675
|
-
if (this.advocatePhoneExistFlag === false && this.victimForm.value.advocateNoPhoneFlag === false) {
|
676
|
-
this.phoneValidationFlag = true;
|
677
|
-
this.commonDialogService
|
678
|
-
.warning('', 'Please check the advocate phone field. You have to fill one of the three phone fileds.', 'Ok')
|
679
|
-
.subscribe(res => {
|
680
|
-
this.result = res;
|
681
|
-
});
|
682
|
-
}
|
683
|
-
if (this.homePhoneControl.value) {
|
684
|
-
this.victimForm.value.homePhone = this.homePhoneControl.value.replace(/[()\s-]/g, '');
|
685
|
-
}
|
686
|
-
else {
|
687
|
-
this.victimForm.value.homePhone = null;
|
688
|
-
}
|
689
|
-
if (this.cellPhoneControl.value) {
|
690
|
-
this.victimForm.value.cellPhone = this.cellPhoneControl.value.replace(/[()\s-]/g, '');
|
691
|
-
}
|
692
|
-
else {
|
693
|
-
this.victimForm.value.cellPhone = null;
|
694
|
-
}
|
695
|
-
if (this.workPhoneControl.value) {
|
696
|
-
this.victimForm.value.workPhone = this.workPhoneControl.value.replace(/[()\s-]/g, '');
|
697
|
-
}
|
698
|
-
else {
|
699
|
-
this.victimForm.value.workPhone = null;
|
700
|
-
}
|
701
|
-
if (this.guardianHomePhoneControl.value) {
|
702
|
-
this.victimForm.value.guardianHomePhone = this.guardianHomePhoneControl.value.replace(/[()\s-]/g, '');
|
703
|
-
}
|
704
|
-
else {
|
705
|
-
this.victimForm.value.guardianHomePhone = null;
|
706
|
-
}
|
707
|
-
if (this.guardianCellPhoneControl.value) {
|
708
|
-
this.victimForm.value.guardianCellPhone = this.guardianCellPhoneControl.value.replace(/[()\s-]/g, '');
|
709
|
-
}
|
710
|
-
else {
|
711
|
-
this.victimForm.value.guardianCellPhone = null;
|
712
|
-
}
|
713
|
-
if (this.guardianWorkPhoneControl.value) {
|
714
|
-
this.victimForm.value.guardianWorkPhone = this.guardianWorkPhoneControl.value.replace(/[()\s-]/g, '');
|
715
|
-
}
|
716
|
-
else {
|
717
|
-
this.victimForm.value.guardianWorkPhone = null;
|
718
|
-
}
|
719
|
-
if (this.advocateHomePhoneControl.value) {
|
720
|
-
this.victimForm.value.advocateHomePhone = this.advocateHomePhoneControl.value.replace(/[()\s-]/g, '');
|
721
|
-
}
|
722
|
-
else {
|
723
|
-
this.victimForm.value.advocateHomePhone = null;
|
724
|
-
}
|
725
|
-
if (this.advocateCellPhoneControl.value) {
|
726
|
-
this.victimForm.value.advocateCellPhone = this.advocateCellPhoneControl.value.replace(/[()\s-]/g, '');
|
727
|
-
}
|
728
|
-
else {
|
729
|
-
this.victimForm.value.advocateCellPhone = null;
|
730
|
-
}
|
731
|
-
if (this.advocateWorkPhoneControl.value) {
|
732
|
-
this.victimForm.value.advocateWorkPhone = this.advocateWorkPhoneControl.value.replace(/[()\s-]/g, '');
|
733
|
-
}
|
734
|
-
else {
|
735
|
-
this.victimForm.value.advocateWorkPhone = null;
|
736
|
-
}
|
737
|
-
if (this.emergencyContactPhoneControl.value) {
|
738
|
-
this.victimForm.value.emergencyContactPhone = this.emergencyContactPhoneControl.value.replace(/[()\s-]/g, '');
|
739
|
-
}
|
740
|
-
else {
|
741
|
-
this.victimForm.value.emergencyContactPhone = null;
|
742
|
-
}
|
743
|
-
//data process
|
744
|
-
console.log('this.phoneValidationFlag 1');
|
745
|
-
console.log(this.phoneValidationFlag);
|
746
|
-
if (this.phoneValidationFlag === false) {
|
747
|
-
if (this.victimDetail === null) {
|
748
|
-
//insert new victim
|
749
|
-
var myVictimSupports = [];
|
750
|
-
if (this.victimForm.value.victimSupports) {
|
751
|
-
this.victimForm.value.victimSupports.forEach(element => {
|
752
|
-
const victimSupport = {};
|
753
|
-
victimSupport.victimId = this.victimForm.value.victimId;
|
754
|
-
victimSupport.victimSupportTypeId = element;
|
755
|
-
victimSupport.modifiedBy = this.staffId;
|
756
|
-
myVictimSupports.push(victimSupport);
|
757
|
-
});
|
758
|
-
}
|
759
|
-
var myVictimDrugUses = [];
|
760
|
-
console.log('this.victimForm.value.victimDrugUses during save');
|
761
|
-
console.log(this.victimForm.value.victimDrugUses);
|
762
|
-
if (this.victimForm.value.victimDrugUses) {
|
763
|
-
this.victimForm.value.victimDrugUses.forEach(element => {
|
764
|
-
const victimDrugUse = {};
|
765
|
-
victimDrugUse.drugTypeId = element;
|
766
|
-
if (element === "OTHER" || element === "" || element === null) {
|
767
|
-
victimDrugUse.drugTypeId = null;
|
768
|
-
victimDrugUse.otherDrug = this.victimForm.value.otherDrug;
|
769
|
-
}
|
770
|
-
else {
|
771
|
-
victimDrugUse.drugTypeId = element;
|
772
|
-
victimDrugUse.otherDrug = null;
|
773
|
-
}
|
774
|
-
victimDrugUse.modifiedBy = this.staffId;
|
775
|
-
victimDrugUse.victimId = this.victimForm.value.victimId;
|
776
|
-
myVictimDrugUses.push(victimDrugUse);
|
777
|
-
});
|
778
|
-
}
|
779
|
-
console.log('this.victimForm.value.victimDrugUses during save 1');
|
780
|
-
console.log(this.victimForm.value.victimDrugUses);
|
781
|
-
var myVictimWeaponUses = [];
|
782
|
-
if (this.victimForm.value.victimWeaponUses) {
|
783
|
-
this.victimForm.value.victimWeaponUses.forEach(element => {
|
784
|
-
const victimWeaponUse = {};
|
785
|
-
victimWeaponUse.victimId = this.victimForm.value.victimId;
|
786
|
-
victimWeaponUse.weaponTypeId = element;
|
787
|
-
if (element == "OTHER") {
|
788
|
-
victimWeaponUse.otherWeapon = this.victimForm.value.otherWeapon;
|
789
|
-
}
|
790
|
-
else {
|
791
|
-
victimWeaponUse.otherWeapon = null;
|
792
|
-
}
|
793
|
-
victimWeaponUse.modifiedBy = this.staffId;
|
794
|
-
myVictimWeaponUses.push(victimWeaponUse);
|
795
|
-
});
|
796
|
-
}
|
797
|
-
const newVictim = {
|
798
|
-
victimId: 0,
|
799
|
-
offenderId: this.offenderId,
|
800
|
-
victimOffenderRelationshipTypeId: this.victimForm.value.victimOffenderRelationshipTypeId,
|
801
|
-
lastName: this.victimForm.value.lastName,
|
802
|
-
firstName: this.victimForm.value.firstName,
|
803
|
-
middleName: this.victimForm.value.middleName
|
804
|
-
? this.victimForm.value.middleName
|
805
|
-
: null,
|
806
|
-
prefixId: this.victimForm.value.prefixId
|
807
|
-
? this.victimForm.value.prefixId
|
808
|
-
: null,
|
809
|
-
suffixId: this.victimForm.value.suffixId
|
810
|
-
? this.victimForm.value.suffixId
|
811
|
-
: null,
|
812
|
-
birthDate: this.victimForm.value.birthDate
|
813
|
-
? this.victimForm.value.birthDate
|
814
|
-
: null,
|
815
|
-
genderCode: this.victimForm.value.genderCode
|
816
|
-
? this.victimForm.value.genderCode
|
817
|
-
: null,
|
818
|
-
underSupervisionFlag: this.victimForm.value.underSupervisionFlag,
|
819
|
-
minorFlag: this.victimForm.value.minorFlag,
|
820
|
-
victimAdvocateFlag: this.victimForm.value.victimAdvocateFlag,
|
821
|
-
homePhone: this.victimForm.value.homePhone,
|
822
|
-
workPhone: this.victimForm.value.workPhone,
|
823
|
-
cellPhone: this.victimForm.value.cellPhone,
|
824
|
-
email: this.victimForm.value.email ? this.victimForm.value.email : null,
|
825
|
-
addressId: this.victimForm.value.addressId
|
826
|
-
? this.victimForm.value.addressId
|
827
|
-
: 1,
|
828
|
-
emergencyContact: this.victimForm.value.emergencyContact
|
829
|
-
? this.victimForm.value.emergencyContact
|
830
|
-
: null,
|
831
|
-
emergencyContactPhone: this.victimForm.value.emergencyContactPhone,
|
832
|
-
commonChildrenFlag: this.victimForm.value.commonChildrenFlag,
|
833
|
-
commonChildrenNumber: this.victimForm.value.commonChildrenNumber,
|
834
|
-
cpoExpirationFlag: this.victimForm.value.cpoExpirationFlag,
|
835
|
-
cpoExpirationDate: this.victimForm.value.cpoExpirationDate
|
836
|
-
? this.datePipe.transform(this.victimForm.value.cpoExpirationDate, "short")
|
837
|
-
: null,
|
838
|
-
supportInPlaceFlag: this.victimForm.value.supportInPlaceFlag,
|
839
|
-
weaponInvolvedFlag: this.victimForm.value.weaponInvolvedFlag,
|
840
|
-
drugUseFlag: this.victimForm.value.drugUseFlag,
|
841
|
-
alcoholUseFlag: this.victimForm.value.alcoholUseFlag,
|
842
|
-
accessRisk: this.victimForm.value.accessRisk,
|
843
|
-
modifiedBy: this.staffId,
|
844
|
-
vVictimAdvocate: null,
|
845
|
-
vVictimGuardian: null,
|
846
|
-
victimDrugUses: myVictimDrugUses,
|
847
|
-
victimSupports: myVictimSupports,
|
848
|
-
victimWeaponUses: myVictimWeaponUses,
|
849
|
-
advocateFirstName: null,
|
850
|
-
advocateLastName: null,
|
851
|
-
advocateEmail: null,
|
852
|
-
advocatePrefixId: null,
|
853
|
-
advocateSuffixId: null,
|
854
|
-
advocateNoPhoneFlag: null,
|
855
|
-
advocateHomePhone: null,
|
856
|
-
advocateWorkPhone: null,
|
857
|
-
advocateCellPhone: null,
|
858
|
-
advocateAddressId: null,
|
859
|
-
guardianFirstName: null,
|
860
|
-
guardianLastName: null,
|
861
|
-
guardianEmail: null,
|
862
|
-
guardianPrefixId: null,
|
863
|
-
guardianSuffixId: null,
|
864
|
-
guardianNoPhoneFlag: null,
|
865
|
-
guardianHomePhone: null,
|
866
|
-
guardianWorkPhone: null,
|
867
|
-
guardianCellPhone: null,
|
868
|
-
guardianAddressId: null,
|
869
|
-
guardianBirthDate: null,
|
870
|
-
relationship: null,
|
871
|
-
//relationship: this.victimForm.value.victimOffenderRelationshipTypeId? this.victimForm.value.victimOffenderRelationshipTypeId : null,
|
872
|
-
allowCsosaContactFlag: this.victimForm.value.allowCsosaContactFlag
|
873
|
-
? this.victimForm.value.allowCsosaContactFlag
|
874
|
-
: null,
|
875
|
-
liveWithOffenderFlag: this.victimForm.value.liveWithOffenderFlag
|
876
|
-
? this.victimForm.value.liveWithOffenderFlag
|
877
|
-
: null,
|
878
|
-
};
|
879
|
-
if (this.addressId == 0) {
|
880
|
-
newVictim.addressId = null;
|
881
|
-
}
|
882
|
-
else {
|
883
|
-
newVictim.addressId = this.addressId;
|
884
|
-
}
|
885
|
-
newVictim.advocateAddressId = this.advocateAddressId;
|
886
|
-
newVictim.guardianAddressId = this.guardianAddressId;
|
887
|
-
console.log('newVictim');
|
888
|
-
console.log(newVictim);
|
889
|
-
this.victimService.postVictims(newVictim).subscribe((items) => {
|
890
|
-
const id = items ? items.victimId : '';
|
891
|
-
if (this.victimForm.value.victimAdvocateFlag == "YS") {
|
892
|
-
console.log('add advocate');
|
893
|
-
const victimAdvocate = {
|
894
|
-
victimAdvocateId: id,
|
895
|
-
lastName: this.victimForm.value.advocateLastName,
|
896
|
-
firstName: this.victimForm.value.advocateFirstName,
|
897
|
-
prefixId: this.victimForm.value.advocatePrefixId,
|
898
|
-
suffixId: this.victimForm.value.advocateSuffixId,
|
899
|
-
addressId: this.advocateAddressId ? this.advocateAddressId : null,
|
900
|
-
noPhoneFlag: this.victimForm.value.advocateNoPhoneFlag ? this.victimForm.value.advocateNoPhoneFlag : null,
|
901
|
-
homePhone: this.victimForm.value.advocateHomePhone,
|
902
|
-
workPhone: this.victimForm.value.advocateWorkPhone,
|
903
|
-
cellPhone: this.victimForm.value.advocateCellPhone,
|
904
|
-
email: this.victimForm.value.advocateEmail,
|
905
|
-
modifiedBy: this.staffId
|
906
|
-
};
|
907
|
-
this.victimService.postVictimAdvocate(id, victimAdvocate).subscribe();
|
908
|
-
}
|
909
|
-
if (this.victimForm.value.minorFlag == true) {
|
910
|
-
const victimGuardian = {
|
911
|
-
victimGuardianId: id,
|
912
|
-
lastName: this.victimForm.value.guardianLastName,
|
913
|
-
firstName: this.victimForm.value.guardianFirstName,
|
914
|
-
prefixId: this.victimForm.value.guardianPrefixId,
|
915
|
-
suffixId: this.victimForm.value.guardianSuffixId,
|
916
|
-
birthDate: this.victimForm.value.guardianBirthDate,
|
917
|
-
addressId: this.guardianAddressId ? this.guardianAddressId : null,
|
918
|
-
noPhoneFlag: this.victimForm.value.guardianNoPhoneFlag ? this.victimForm.value.guardianNoPhoneFlag : null,
|
919
|
-
homePhone: this.victimForm.value.guardianHomePhone,
|
920
|
-
workPhone: this.victimForm.value.guardianWorkPhone,
|
921
|
-
cellPhone: this.victimForm.value.guardianCellPhone,
|
922
|
-
email: this.victimForm.value.guardianEmail,
|
923
|
-
modifiedBy: this.staffId
|
924
|
-
};
|
925
|
-
this.victimService.postVictimGuardian(id, victimGuardian).subscribe();
|
926
|
-
}
|
927
|
-
this.snackBar.open('Add Victim Successfully!', '', {
|
928
|
-
duration: 3000,
|
929
|
-
});
|
930
|
-
//insert new
|
931
|
-
if (this.isIntake === true) {
|
932
|
-
this.router.navigate(['victimHome']);
|
933
|
-
}
|
934
|
-
else {
|
935
|
-
this.router.navigate(['victimList']);
|
936
|
-
}
|
937
|
-
//this.onSave.emit(this.victimDetail);
|
938
|
-
});
|
939
|
-
}
|
940
|
-
else {
|
941
|
-
//update victim
|
942
|
-
this.victimDetail.underSupervisionFlag = this.victimForm.value.underSupervisionFlag;
|
943
|
-
this.victimDetail.victimOffenderRelationshipTypeId = this.victimForm.value.victimOffenderRelationshipTypeId;
|
944
|
-
this.victimDetail.lastName = this.victimForm.value.lastName;
|
945
|
-
this.victimDetail.firstName = this.victimForm.value.firstName;
|
946
|
-
this.victimDetail.middleName = this.victimForm.value.middleName;
|
947
|
-
this.victimDetail.prefixId = this.victimForm.value.prefixId ? this.victimForm.value.prefixId : null;
|
948
|
-
this.victimDetail.suffixId = this.victimForm.value.suffixId ? this.victimForm.value.suffixId : null;
|
949
|
-
this.victimDetail.birthDate = this.victimForm.value.birthDate;
|
950
|
-
this.victimDetail.genderCode = this.victimForm.value.genderCode;
|
951
|
-
this.victimDetail.minorFlag = this.victimForm.value.minorFlag;
|
952
|
-
this.victimDetail.homePhone = this.victimForm.value.homePhone;
|
953
|
-
this.victimDetail.workPhone = this.victimForm.value.workPhone;
|
954
|
-
this.victimDetail.cellPhone = this.victimForm.value.cellPhone;
|
955
|
-
this.victimDetail.email = this.victimForm.value.email;
|
956
|
-
this.victimDetail.victimAdvocateFlag = this.victimForm.value.victimAdvocateFlag;
|
957
|
-
this.victimDetail.emergencyContact = this.victimForm.value.emergencyContact;
|
958
|
-
this.victimDetail.emergencyContactPhone = this.victimForm.value.emergencyContactPhone;
|
959
|
-
this.victimDetail.commonChildrenFlag = this.victimForm.value.commonChildrenFlag;
|
960
|
-
this.victimDetail.commonChildrenNumber = this.victimForm.value.commonChildrenNumber;
|
961
|
-
this.victimDetail.cpoExpirationDate = this.victimForm.value.cpoExpirationDate;
|
962
|
-
this.victimDetail.cpoExpirationFlag = this.victimForm.value.cpoExpirationFlag;
|
963
|
-
this.victimDetail.supportInPlaceFlag = this.victimForm.value.supportInPlaceFlag;
|
964
|
-
this.victimDetail.weaponInvolvedFlag = this.victimForm.value.weaponInvolvedFlag;
|
965
|
-
this.victimDetail.drugUseFlag = this.victimForm.value.drugUseFlag;
|
966
|
-
this.victimDetail.alcoholUseFlag = this.victimForm.value.alcoholUseFlag;
|
967
|
-
this.victimDetail.accessRisk = this.victimForm.value.accessRisk;
|
968
|
-
this.victimDetail.addressId = this.addressId;
|
969
|
-
this.victimDetail.allowCsosaContactFlag = this.victimForm.value.allowCsosaContactFlag;
|
970
|
-
this.victimDetail.liveWithOffenderFlag = this.victimForm.value.liveWithOffenderFlag;
|
971
|
-
this.victimDetail.victimSupports = [];
|
972
|
-
this.victimForm.value.victimSupports.forEach(element => {
|
973
|
-
const victimSupport = {};
|
974
|
-
victimSupport.victimId = this.victimDetail.victimId;
|
975
|
-
victimSupport.victimSupportTypeId = element;
|
976
|
-
victimSupport.modifiedBy = this.staffId;
|
977
|
-
this.victimDetail.victimSupports.push(victimSupport);
|
978
|
-
});
|
979
|
-
this.victimDetail.victimDrugUses = [];
|
980
|
-
this.victimForm.value.victimDrugUses.forEach(element => {
|
981
|
-
const victimDrugUse = {};
|
982
|
-
victimDrugUse.drugTypeId = element;
|
983
|
-
console.log('this.victimForm.value.victimDrugUses before');
|
984
|
-
console.log(this.victimForm.value.victimDrugUses);
|
985
|
-
if (element === "OTHER" || element === "") {
|
986
|
-
victimDrugUse.drugTypeId = null;
|
987
|
-
victimDrugUse.otherDrug = this.victimForm.value.otherDrug;
|
988
|
-
}
|
989
|
-
else {
|
990
|
-
victimDrugUse.drugTypeId = element;
|
991
|
-
victimDrugUse.otherDrug = null;
|
992
|
-
}
|
993
|
-
victimDrugUse.modifiedBy = this.staffId;
|
994
|
-
victimDrugUse.victimId = this.victimDetail.victimId;
|
995
|
-
this.victimDetail.victimDrugUses.push(victimDrugUse);
|
996
|
-
});
|
997
|
-
this.victimForm.value.victimDrugUses.filter(word => (!(word.drugTypeId === null && word.otherDrug === null)));
|
998
|
-
this.victimDetail.victimWeaponUses = [];
|
999
|
-
this.victimForm.value.victimWeaponUses.forEach(element => {
|
1000
|
-
const victimWeaponUse = {};
|
1001
|
-
victimWeaponUse.victimId = this.victimDetail.victimId;
|
1002
|
-
victimWeaponUse.weaponTypeId = element;
|
1003
|
-
if (element == "OTHER") {
|
1004
|
-
victimWeaponUse.otherWeapon = this.victimForm.value.otherWeapon;
|
1005
|
-
}
|
1006
|
-
else {
|
1007
|
-
victimWeaponUse.otherWeapon = null;
|
1008
|
-
}
|
1009
|
-
victimWeaponUse.modifiedBy = this.staffId;
|
1010
|
-
this.victimDetail.victimWeaponUses.push(victimWeaponUse);
|
1011
|
-
});
|
1012
|
-
console.log('this.victimDetail before emit');
|
1013
|
-
console.log(this.victimDetail);
|
1014
|
-
this.victimService.putVictims(this.victimDetail.victimId, this.victimDetail).subscribe((items) => {
|
1015
|
-
this.snackBar.open('Update Successfully!', '', {
|
1016
|
-
duration: 3000,
|
1017
|
-
});
|
1018
|
-
//Advocate section
|
1019
|
-
this.victimAdvocate.victimAdvocateId = this.victimDetail.victimId;
|
1020
|
-
this.victimAdvocate.lastName = this.victimForm.value.advocateLastName;
|
1021
|
-
this.victimAdvocate.firstName = this.victimForm.value.advocateFirstName;
|
1022
|
-
this.victimAdvocate.prefixId = this.victimForm.value.advocatePrefixId ? this.victimForm.value.advocatePrefixId : null;
|
1023
|
-
this.victimAdvocate.suffixId = this.victimForm.value.advocateSuffixId ? this.victimForm.value.advocateSuffixId : null;
|
1024
|
-
this.victimAdvocate.addressId = this.advocateAddressId ? this.advocateAddressId : null;
|
1025
|
-
this.victimAdvocate.noPhoneFlag = this.victimForm.value.advocateNoPhoneFlag ? true : false;
|
1026
|
-
this.victimAdvocate.homePhone = this.victimForm.value.advocateHomePhone;
|
1027
|
-
this.victimAdvocate.workPhone = this.victimForm.value.advocateWorkPhone;
|
1028
|
-
this.victimAdvocate.cellPhone = this.victimForm.value.advocateCellPhone;
|
1029
|
-
this.victimAdvocate.email = this.victimForm.value.advocateEmail ? this.victimForm.value.advocateEmail : null;
|
1030
|
-
this.victimAdvocate.modifiedBy = this.staffId;
|
1031
|
-
console.log('work on advocate part');
|
1032
|
-
if (this.victimDetail.victimAdvocateFlag == 'YS') {
|
1033
|
-
console.log('work on advocate flag is YS ');
|
1034
|
-
if (this.victimDetail.advocateFirstName != null) {
|
1035
|
-
console.log('check advocate fisrt name ');
|
1036
|
-
console.log(this.victimDetail.advocateFirstName);
|
1037
|
-
this.victimService.putVictimAdvocate(this.victimDetail.victimId, this.victimAdvocate).subscribe(resp => { });
|
1038
|
-
}
|
1039
|
-
else {
|
1040
|
-
console.log('add advocate');
|
1041
|
-
console.log(this.victimAdvocate);
|
1042
|
-
this.victimService.postVictimAdvocate(this.victimDetail.victimId, this.victimAdvocate).subscribe();
|
1043
|
-
}
|
1044
|
-
}
|
1045
|
-
// guardian section
|
1046
|
-
this.victimGuardian.victimGuardianId = this.victimDetail.victimId;
|
1047
|
-
this.victimGuardian.lastName = this.victimForm.value.guardianLastName;
|
1048
|
-
this.victimGuardian.firstName = this.victimForm.value.guardianFirstName;
|
1049
|
-
this.victimGuardian.prefixId = this.victimForm.value.guardianPrefixId ? this.victimForm.value.guardianPrefixId : null;
|
1050
|
-
this.victimGuardian.suffixId = this.victimForm.value.guardianSuffixId ? this.victimForm.value.guardianSuffixId : null;
|
1051
|
-
this.victimGuardian.addressId = this.guardianAddressId ? this.guardianAddressId : null;
|
1052
|
-
this.victimGuardian.noPhoneFlag = this.victimForm.value.guardianNoPhoneFlag ? true : false;
|
1053
|
-
this.victimGuardian.homePhone = this.victimForm.value.guardianHomePhone;
|
1054
|
-
this.victimGuardian.workPhone = this.victimForm.value.guardianWorkPhone;
|
1055
|
-
this.victimGuardian.cellPhone = this.victimForm.value.guardianCellPhone;
|
1056
|
-
this.victimGuardian.email = this.victimForm.value.guardianEmail ? this.victimForm.value.guardianEmail : null;
|
1057
|
-
this.victimGuardian.modifiedBy = this.staffId;
|
1058
|
-
if (this.victimDetail.minorFlag == true) {
|
1059
|
-
if (this.victimDetail.guardianFirstName != null)
|
1060
|
-
this.victimService.putVictimGuardian(this.victimDetail.victimId, this.victimGuardian).subscribe(resp => {
|
1061
|
-
});
|
1062
|
-
else {
|
1063
|
-
console.log('add gurdian');
|
1064
|
-
console.log(this.victimGuardian);
|
1065
|
-
this.victimService.postVictimGuardian(this.victimDetail.victimId, this.victimGuardian).subscribe();
|
1066
|
-
}
|
1067
|
-
}
|
1068
|
-
});
|
1069
|
-
}
|
1070
|
-
} //end of this.phoneValidationFlag = false
|
1071
|
-
console.log('this.victimDetail');
|
1072
|
-
console.log(this.victimDetail);
|
1073
|
-
this.onSave.emit(this.victimDetail);
|
1074
|
-
}
|
1075
|
-
//#endregion "save victim"
|
1076
|
-
addContact() {
|
1077
|
-
this.router.navigate(['victimContact', this.victimId]);
|
1078
|
-
}
|
1079
|
-
formatLabel(value) {
|
1080
|
-
return value;
|
1081
|
-
}
|
1082
|
-
}
|
1083
|
-
/** @nocollapse */ SmartVictimDetailComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SmartVictimDetailComponent, deps: [{ token: i1.Location }, { token: i2.UntypedFormBuilder }, { token: i3.MatDialog }, { token: i4.ActivatedRoute }, { token: i4.Router }, { token: i5.MatSnackBar }, { token: i6.CommonDialogService }, { token: i7.NgcSmartVictimService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
1084
|
-
/** @nocollapse */ SmartVictimDetailComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SmartVictimDetailComponent, selector: "csmart-victim-detail", inputs: { victimDetail: "victimDetail", staffId: "staffId", offenderId: "offenderId", isIntake: "isIntake" }, outputs: { onSave: "onSave", onCancel: "onCancel" }, providers: [CommonDialogService], viewQueries: [{ propertyName: "addressComponent", first: true, predicate: ["addressComponent"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<mat-card>\r\n <mat-card-content>\r\n\r\n <div [formGroup]=\"victimForm\">\r\n\r\n <mat-tab-group dynamicHeight mat-stretch-tabs>\r\n <mat-tab label=\"Victim Detail\" >\r\n <div class='container'>\r\n\r\n <mat-form-field>\r\n <mat-label>Is victim a minor?<font color=\"red\">* </font></mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"minorFlag\" (change)=\"radioMinorChange($event)\" [(ngModel)]=\"editVictim.minorFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('minorFlag').errors\r\n && (victimForm.get('minorFlag').dirty || victimForm.get('minorFlag').touched)\">\r\n <mat-error>If victim a minor field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Does the Victim have a Victim Advocate or Social Worker with <br>whom CSOSA should maintain contact?<font color=\"red\">* </font></mat-label>\r\n <br>\r\n <br>\r\n <mat-radio-group class = \"tp-radio-group\" formControlName=\"victimAdvocateFlag\" (change)=\"radioAdvocateChange($event)\" [(ngModel)]=\"editVictim.victimAdvocateFlag\">\r\n <mat-radio-button color=\"primary\" *ngFor=\"let item of flagOption\" [value]=\"item.flagOptionYesNoUnknownId\">{{item.name}} </mat-radio-button> \r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimAdvocateFlag').errors\r\n && (victimForm.get('victimAdvocateFlag').dirty || victimForm.get('victimAdvocateFlag').touched)\">\r\n <mat-error>If victim has advocate field is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Currently Under Supervision:</mat-label>\r\n <mat-select formControlName=\"underSupervisionFlag\" name=\"supervision\" [(ngModel)]=\"editVictim.underSupervisionFlag\" >\r\n <mat-option *ngFor=\"let item of flagOption\" [value]=\"item.flagOptionYesNoUnknownId\" >\r\n {{item.name}}</mat-option>\r\n </mat-select>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('underSupervisionFlag').errors\r\n && (victimForm.get('underSupervisionFlag').dirty || victimForm.get('underSupervisionFlag').touched)\">\r\n <mat-error>under supervision field is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Relationship to Offender:</mat-label>\r\n <mat-select formControlName=\"victimOffenderRelationshipTypeId\" [(ngModel)]=\"editVictim.victimOffenderRelationshipTypeId\" >\r\n <mat-option *ngFor=\"let item of relationshipTypes\" [value]=\"item.relationshipTypeId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimOffenderRelationshipTypeId').errors\r\n && (victimForm.get('victimOffenderRelationshipTypeId').dirty || victimForm.get('victimOffenderRelationshipTypeId').touched)\">\r\n <mat-error>relationship is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Last Name:</mat-label>\r\n <input matInput formControlName=\"lastName\" [(ngModel)]=\"editVictim.lastName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('lastName').errors\r\n && (victimForm.get('lastName').dirty || victimForm.get('lastName').touched)\">\r\n <mat-error>victim last name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim First Name: </mat-label>\r\n <input matInput formControlName=\"firstName\" [(ngModel)]=\"editVictim.firstName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('firstName').errors\r\n && (victimForm.get('firstName').dirty || victimForm.get('firstName').touched)\">\r\n <mat-error>victim first name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Middle Name:</mat-label>\r\n <input matInput formControlName=\"middleName\" [(ngModel)]=\"editVictim.middleName\">\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Prefix:</mat-label>\r\n <mat-select formControlName=\"prefixId\" [(ngModel)]=\"editVictim.prefixId\">\r\n <mat-option *ngFor=\"let item of prefixes\" [value]=\"item.prefixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Suffix:</mat-label>\r\n <mat-select formControlName=\"suffixId\" [(ngModel)]=\"editVictim.suffixId\">\r\n <mat-option *ngFor=\"let item of suffixes\" [value]=\"item.suffixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Gender:</mat-label>\r\n <mat-select formControlName=\"genderCode\" [(ngModel)]=\"editVictim.genderCode\">\r\n <mat-option *ngFor=\"let item of genders\" [value]=\"item.genderCode\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Date of Birth:</mat-label>\r\n <input matInput\r\n [matDatepicker]=\"victimBirthRef\"\r\n formControlName=\"birthDate\"\r\n [(ngModel)]=\"editVictim.birthDate\"\r\n (click)=\"victimBirthRef.open()\"\r\n (dateChange)=\"handleDOBChange($event)\"\r\n >\r\n <mat-datepicker-toggle [for]=\"victimBirthRef\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #victimBirthRef></mat-datepicker>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Home Phone:</mat-label>\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.homePhone\"\r\n [phoneControl]=\"homePhoneControl\"\r\n [formControl]=\"homePhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('homePhone').errors\r\n && (victimForm.get('homePhone').dirty || victimForm.get('homePhone').touched)\">\r\n <mat-error><strong>Home phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Victim Cell Phone:</mat-label>\r\n <input\r\n id=\"tel1\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.cellPhone\"\r\n [phoneControl]=\"cellPhoneControl\"\r\n [formControl]=\"cellPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('cellPhone').errors\r\n && (victimForm.get('cellPhone').dirty || victimForm.get('cellPhone').touched)\">\r\n <mat-error><strong>Cell phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field >\r\n <mat-label>Victim Work Phone:</mat-label>\r\n <input\r\n id=\"tel2\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.workPhone\"\r\n [phoneControl]=\"workPhoneControl\"\r\n [formControl]=\"workPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('workPhone').errors\r\n && (victimForm.get('workPhone').dirty || victimForm.get('workPhone').touched)\">\r\n <mat-error><strong>Work phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Victim Email:</mat-label>\r\n <input matInput formControlName=\"email\" [(ngModel)]=\"editVictim.email\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('email').errors\r\n && (victimForm.get('email').dirty || victimForm.get('email').touched)\">\r\n <mat-error><strong>victim email format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n <app-smart-address\r\n [modifiedBy]=\"staffId\"\r\n [id]=\"addressId\"\r\n [outline]=\"true\"\r\n [showPsa]=\"true\"\r\n [addressValidators]=\"addressValidators\"\r\n [readonly]=\"false\"\r\n (addressIdChange)=\"onAddressChange($event)\"\r\n #addressComponent >\r\n\r\n </app-smart-address>\r\n\r\n\r\n <!-- Docket:\r\n <div>\r\n <div *ngFor=\"let docket of docketlist; let i=index\">\r\n <mat-checkbox >{{docket.docketNumber}}</mat-checkbox>\r\n </div>\r\n </div> -->\r\n <div>\r\n <mat-checkbox color=\"primary\" formControlName=\"liveWithOffenderFlag\" name=\"liveWithOffenderFlag\" [(ngModel)]=\"editVictim.liveWithOffenderFlag\" (change)=\"showAddress($event)\" >victim live with offender</mat-checkbox>\r\n <br>\r\n <mat-checkbox color=\"primary\" formControlName=\"allowCsosaContactFlag\" name=\"allowCsosaContactFlag\" [(ngModel)]=\"editVictim.allowCsosaContactFlag\">victim wants to be contacted by CSOSA</mat-checkbox>\r\n </div>\r\n\r\n </div>\r\n\r\n <mat-card>\r\n <mat-form-field>\r\n <mat-label> Children in Common</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"commonChildrenFlag\" [(ngModel)]=\"editVictim.commonChildrenFlag\" (change)=\"radioCicChange($event)\">\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"commonChildrenDivFlag\">\r\n\r\n <mat-form-field >\r\n <mat-label>\r\n Children number\r\n </mat-label>\r\n <input matInput formControlName=\"commonChildrenNumber\" [(ngModel)]=\"editVictim.commonChildrenNumber\" >\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <mat-form-field>\r\n <mat-label>CPO: </mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"cpoExpirationFlag\" [(ngModel)]=\"editVictim.cpoExpirationFlag\" (change)=\"radioCpoChange($event)\">\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"cpoExpirationDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Expiration Date: </mat-label>\r\n <input matInput\r\n [matDatepicker]=\"cpoDateRef\"\r\n formControlName=\"cpoExpirationDate\"\r\n (click)=\"cpoDateRef.open()\"\r\n [(ngModel)]=\"editVictim.cpoExpirationDate\" >\r\n <mat-datepicker-toggle [for]=\"cpoDateRef\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #cpoDateRef></mat-datepicker>\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim has a Support System in Place? </mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"supportInPlaceFlag\" [(ngModel)]=\"editVictim.supportInPlaceFlag\" (change)=\"radioSupportChange($event)\">\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"supportInPlaceDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Support type? </mat-label>\r\n <mat-select #supportSel formControlName=\"victimSupports\" [(ngModel)]=\"editVictim.victimSupports\" multiple>\r\n <div (mouseleave)=\"supportSel.close()\">\r\n <mat-option color=\"primary\" *ngFor=\"let item of victimSupportTypes\" [value]=\"item.victimSupportTypeId\">\r\n {{item.name}}\r\n </mat-option>\r\n </div>\r\n </mat-select>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Weapons Involved?</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"weaponInvolvedFlag\" (change)=\"radioWeaponChange($event)\" [(ngModel)]=\"editVictim.weaponInvolvedFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n\r\n <div *ngIf=\"weaponInvolvedDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Weapon Type</mat-label>\r\n <mat-select #weaponSel formControlName=\"victimWeaponUses\" multiple [(ngModel)]=\"editVictim.victimWeaponUses\" (selectionChange)=\"checkOtherWeapon($event.value)\" >\r\n <div (mouseleave)=\"weaponSel.close()\">\r\n <mat-option color=\"primary\" *ngFor=\"let item of weaponTypes\" [value]=\"item.weaponTypeId\">\r\n {{item.name}}\r\n </mat-option>\r\n </div>\r\n </mat-select>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div *ngIf=\"otherWeaponFlag\">\r\n <mat-form-field>\r\n <mat-label>Other Weapon:* </mat-label>\r\n <input matInput formControlName=\"otherWeapon\" >\r\n </mat-form-field>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherWeapon').errors\r\n && (victimForm.get('otherWeapon').dirty || victimForm.get('otherWeapon').touched)\">\r\n <mat-error><strong>Other weapon is required.</strong></mat-error>\r\n </div>\r\n </div>\r\n\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Was Offender under the influence of alcohol at the time of the offense?</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"alcoholUseFlag\" [(ngModel)]=\"editVictim.alcoholUseFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Was Offender under the influence of drugs at the time of the offense?</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"drugUseFlag\" (change)=\"radioDrugChange($event)\" [(ngModel)]=\"editVictim.drugUseFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"drugUseDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Drug:</mat-label>\r\n <mat-select #drugSel formControlName=\"victimDrugUses\" multiple (selectionChange)=\"checkOtherDrug($event.value)\" >\r\n <div (mouseleave)=\"drugSel.close()\">\r\n <mat-option color=\"primary\" *ngFor=\"let item of drugs\" [value]=\"item.drugTypeId\">\r\n {{item.name}}\r\n </mat-option>\r\n\r\n </div>\r\n </mat-select>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <div *ngIf=\"otherDrugFlag\">\r\n <mat-form-field>\r\n <mat-label>Other Drug:* </mat-label>\r\n <input matInput formControlName=\"otherDrug\" >\r\n </mat-form-field>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherDrug').errors\r\n && (victimForm.get('otherDrug').dirty || victimForm.get('otherDrug').touched)\">\r\n <mat-error><strong>Other drug is required.</strong></mat-error>\r\n </div>\r\n </div>\r\n <br>\r\n <br>\r\n\r\n <div>\r\n <div>\r\n <mat-label>\r\n Access Risk: 1 thru 10 (10 greatest risk): <b> {{editVictim.accessRisk}}</b>\r\n </mat-label>\r\n </div>\r\n <div>\r\n\r\n <mat-slider\r\n formControlName=\"accessRisk\"\r\n thumbLabel=\"true\"\r\n [displayWith]=\"formatLabel\"\r\n min=\"1\"\r\n max=\"10\"\r\n [(ngModel)]=\"editVictim.accessRisk\"\r\n ></mat-slider>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </mat-card>\r\n\r\n\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n <mat-tab *ngIf=\"guardianTabFlag\" label=\"Legal Guardian\">\r\n <div class='container'>\r\n <mat-form-field>\r\n <mat-label>Guardian Last Name:</mat-label>\r\n <input matInput formControlName=\"guardianLastName\" [(ngModel)]=\"editVictim.guardianLastName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianLastName').errors \">\r\n <mat-error>Guardian last name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian First Name:</mat-label>\r\n <input matInput formControlName=\"guardianFirstName\" [(ngModel)]=\"editVictim.guardianFirstName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianFirstName').errors \">\r\n <mat-error>Guardian first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian Prefix:</mat-label>\r\n <mat-select formControlName=\"guardianPrefixId\" [(ngModel)]=\"editVictim.guardianPrefixId\" >\r\n <mat-option *ngFor=\"let item of prefixes\" [value]=\"item.prefixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian Suffix:</mat-label>\r\n <mat-select formControlName=\"guardianSuffixId\" [(ngModel)]=\"editVictim.guardianSuffixId\" >\r\n <mat-option *ngFor=\"let item of suffixes\" [value]=\"item.suffixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n\r\n <!-- <mat-form-field>\r\n <mat-select placeholder=\"Choose\" formControlName=\"guardianGender\" [(ngModel)]=\"editVictim.guardianGender\">\r\n <mat-option *ngFor=\"let item of genders\" [value]=\"item.genderCode\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field> -->\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Date of Birth:</mat-label>\r\n <input matInput\r\n [matDatepicker]=\"guardianDateRef\"\r\n formControlName=\"guardianBirthDate\"\r\n [(ngModel)]=\"editVictim.guardianBirthDate\"\r\n (click)=\"guardianDateRef.open()\"\r\n >\r\n <mat-datepicker-toggle [for]=\"guardianDateRef\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #guardianDateRef></mat-datepicker>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n <mat-form-field >\r\n <mat-checkbox\r\n color = \"primary\"\r\n formControlName=\"guardianNoPhoneFlag\">\r\n No Phone (If there is no phone, the phone fields are no longer required)</mat-checkbox>\r\n <input matInput placeholder=\"\" style=\"display: none;\">\r\n </mat-form-field>\r\n\r\n\r\n <div></div>\r\n <mat-card>\r\n <mat-form-field >\r\n <mat-label>Guardian Home Phone:</mat-label>\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.guardianHomePhone\"\r\n [phoneControl]=\"guardianHomePhoneControl\"\r\n [formControl]=\"guardianHomePhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianHomePhone').errors\r\n && (victimForm.get('guardianHomePhone').dirty || victimForm.get('guardianHomePhone').touched)\">\r\n <mat-error><strong>Guardian home phone number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Guardian Cell Phone:</mat-label>\r\n <input\r\n id=\"tel4\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.guardianCellPhone\"\r\n [phoneControl]=\"guardianCellPhoneControl\"\r\n [formControl]=\"guardianCellPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianCellPhone').errors\r\n && (victimForm.get('guardianCellPhone').dirty || victimForm.get('guardianCellPhone').touched)\">\r\n <mat-error><strong>Guardian Cell phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Guardian Work Phone:</mat-label>\r\n\r\n <input\r\n id=\"tel5\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.guardianWorkPhone\"\r\n [phoneControl]=\"guardianWorkPhoneControl\"\r\n [formControl]=\"guardianWorkPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianWorkPhone').errors\r\n && (victimForm.get('guardianWorkPhone').dirty || victimForm.get('guardianWorkPhone').touched)\">\r\n <mat-error><strong>Guardian work phone number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n\r\n </mat-form-field>\r\n </mat-card>\r\n\r\n <div></div>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian Email:</mat-label>\r\n <input matInput formControlName=\"guardianEmail\" [(ngModel)]=\"editVictim.guardianEmail\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianEmail').errors\r\n && (victimForm.get('guardianEmail').dirty || victimForm.get('guardianEmail').touched)\">\r\n <mat-error><strong>Guardian email format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n\r\n <div>\r\n <app-smart-address\r\n\r\n [showPsa]=\"true\"\r\n [modifiedBy]=\"staffId\"\r\n [id]=\"guardianAddressId\"\r\n (addressIdChange)=\"onGuardianAddressChange($event)\"\r\n [outline]=\"true\"\r\n readonly=\"false\"\r\n [rowHeight]=\"80\"\r\n (isValid)=\"false\"\r\n [addressValidators]=\"addressValidators\"\r\n #guardianAddressComponent\r\n >\r\n </app-smart-address>\r\n </div>\r\n </div>\r\n\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n <!--advocate-->\r\n\r\n <mat-tab *ngIf=\"advocateTabFlag\" label=\"Advocate\" >\r\n <div class='container'>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Last Name:</mat-label>\r\n <input matInput formControlName=\"advocateLastName\" [(ngModel)]=\"editVictim.advocateLastName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateLastName').errors \">\r\n <mat-error>Advocate last name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate First Name:</mat-label>\r\n <input matInput formControlName=\"advocateFirstName\" [(ngModel)]=\"editVictim.advocateFirstName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateFirstName').errors \">\r\n <mat-error>Advocate first name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Prefix:</mat-label>\r\n <mat-select formControlName=\"advocatePrefixId\" [(ngModel)]=\"editVictim.advocatePrefixId\" >\r\n <mat-option *ngFor=\"let item of prefixes\" [value]=\"item.prefixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Suffix:</mat-label>\r\n <mat-select formControlName=\"advocateSuffixId\" [(ngModel)]=\"editVictim.advocateSuffixId\" >\r\n <mat-option *ngFor=\"let item of suffixes\" [value]=\"item.suffixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-checkbox\r\n color = \"primary\"\r\n formControlName=\"advocateNoPhoneFlag\"\r\n\r\n [(ngModel)]=\"editVictim.advocateNoPhoneFlag\" >\r\n No Phone (If there is no phone, the phone fields are no longer required)</mat-checkbox>\r\n <input matInput placeholder=\"\" style=\"display: none;\">\r\n </mat-form-field>\r\n\r\n <div></div>\r\n <mat-card>\r\n <mat-form-field >\r\n <mat-label>Advocate Home Phone:</mat-label>\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.advocateHomePhone\"\r\n [phoneControl]=\"advocateHomePhoneControl\"\r\n [formControl]=\"advocateHomePhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateHomePhone').errors\r\n && (victimForm.get('advocateHomePhone').dirty || victimForm.get('advocateHomePhone').touched)\">\r\n <mat-error><strong>Advocate home number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Cell Phone:</mat-label>\r\n <input\r\n id=\"tel7\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.advocateCellPhone\"\r\n [phoneControl]=\"advocateCellPhoneControl\"\r\n [formControl]=\"advocateCellPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateCellPhone').errors\r\n && (victimForm.get('advocateCellPhone').dirty || victimForm.get('advocateCellPhone').touched)\">\r\n <mat-error><strong>Advocate cell number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Work Phone:</mat-label>\r\n <input\r\n id=\"tel8\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.advocateWorkPhone\"\r\n [phoneControl]=\"advocateWorkPhoneControl\"\r\n [formControl]=\"advocateWorkPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateWorkPhone').errors\r\n && (victimForm.get('advocateWorkPhone').dirty || victimForm.get('advocateWorkPhone').touched)\">\r\n <mat-error><strong>Advocate work number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n </mat-card>\r\n\r\n <div></div>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Email:</mat-label>\r\n <input matInput formControlName=\"advocateEmail\" [(ngModel)]=\"editVictim.advocateEmail\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateEmail').errors\r\n && (victimForm.get('advocateEmail').dirty || victimForm.get('advocateEmail').touched)\">\r\n <mat-error><strong>Advocate email format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n\r\n\r\n <div >\r\n <app-smart-address\r\n [showPsa]=\"true\"\r\n [modifiedBy]=\"staffId\"\r\n [id]=\"advocateAddressId\"\r\n (addressIdChange)=\"onAdvocateAddressChange($event)\"\r\n [outline]=\"true\"\r\n readonly=\"false\"\r\n [rowHeight]=\"80\"\r\n (isValid)=\"false\"\r\n [addressValidators]=\"addressValidators\"\r\n #advocateAddressComponent >\r\n </app-smart-address>\r\n </div>\r\n </div>\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n\r\n <mat-tab label=\"Emergency Contact\">\r\n <div class='container'>\r\n\r\n <mat-form-field>\r\n <mat-label>Emergency Contact Name:</mat-label>\r\n <input matInput formControlName=\"emergencyContact\" [(ngModel)]=\"editVictim.emergencyContact\" >\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Emergency Phone Number:</mat-label>\r\n\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.emergencyContactPhone\"\r\n [phoneControl]=\"emergencyContactPhoneControl\"\r\n [formControl]=\"emergencyContactPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('emergencyContactPhone').errors\r\n && (victimForm.get('emergencyContactPhone').dirty || victimForm.get('emergencyContactPhone').touched)\">\r\n <mat-error><strong>Emergency contact number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n </div>\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n </mat-tab-group>\r\n <div class='outer'>\r\n <div>\r\n All buttons apply to all tabs. If save button is grey, please check each tab to make sure the required field is filled.<br><br>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('minorFlag').errors\r\n && (victimForm.get('minorFlag').dirty || victimForm.get('minorFlag').touched)\">\r\n <mat-error>If victim a minor field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimAdvocateFlag').errors\r\n && (victimForm.get('victimAdvocateFlag').dirty || victimForm.get('victimAdvocateFlag').touched)\">\r\n <mat-error>If victim has advocate field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('underSupervisionFlag').errors\r\n && (victimForm.get('underSupervisionFlag').dirty || victimForm.get('underSupervisionFlag').touched)\">\r\n <mat-error>Under supervision field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimOffenderRelationshipTypeId').errors\r\n && (victimForm.get('victimOffenderRelationshipTypeId').dirty || victimForm.get('victimOffenderRelationshipTypeId').touched)\">\r\n <mat-error>Relationship is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('lastName').errors\r\n && (victimForm.get('lastName').dirty || victimForm.get('lastName').touched)\">\r\n <mat-error>Victim last name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('firstName').errors\r\n && (victimForm.get('firstName').dirty || victimForm.get('firstName').touched)\">\r\n <mat-error>victim first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianFirstName').errors\r\n && (victimForm.get('guardianFirstName').dirty || victimForm.get('guardianFirstName').touched)\">\r\n <mat-error>Guardian first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianLastName').errors\r\n && (victimForm.get('guardianLastName').dirty || victimForm.get('guardianLastName').touched)\" >\r\n <mat-error>Guardian last name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateLastName').errors\r\n && (victimForm.get('advocateLastName').dirty || victimForm.get('advocateLastName').touched)\" >\r\n <mat-error>Advocate last name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateFirstName').errors\r\n && (victimForm.get('advocateFirstName').dirty || victimForm.get('advocateFirstName').touched)\">\r\n <mat-error>Advocate first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherWeapon').errors\r\n && (victimForm.get('otherWeapon').dirty || victimForm.get('otherWeapon').touched)\">\r\n <mat-error>Other weapon field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherDrug').errors\r\n && (victimForm.get('otherDrug').dirty || victimForm.get('otherDrug').touched)\">\r\n <mat-error>Other drug field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n\r\n </div>\r\n\r\n <div class=\"inner\">\r\n <button mat-raised-button color=\"primary\" (click)=\"saveVictim()\" [disabled]=\"!victimForm.valid\" >Save </button>\r\n </div>\r\n \r\n <div *ngIf=\"showDelete\" class=\"inner\">\r\n <button mat-raised-button color=\"primary\" (click)=\"deleteVictim()\">Delete </button>\r\n </div>\r\n \r\n <div class=\"inner\">\r\n <button mat-raised-button color=\"primary\" (click)=\"cancel()\">Clear </button>\r\n </div>\r\n \r\n <button mat-raised-button color=\"primary\" (click)=\"back()\">Back</button>\r\n\r\n </div>\r\n\r\n </div>\r\n <br>\r\n <br>\r\n\r\n <div align=\"right\">\r\n <button mat-raised-button color=\"primary\" (click)=\"addContact()\" >Add victim contact</button>\r\n </div>\r\n\r\n <div>\r\n\r\n <mat-table #table [dataSource]=\"contactDataSource\" class=\"example-table\">\r\n <ng-container matColumnDef=\"contactDate\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Contact Date</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.contactDate | date}} </mat-cell>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"victimContactMethod\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Contact Method</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.victimContactMethod}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"nextContactDate\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Next Contact Date</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.nextContactDate | date}} </mat-cell>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"staff\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Contact By</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.staff}} </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"comment\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Comment</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.comment}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"contactId\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\"></mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\">\r\n\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <mat-header-row *matHeaderRowDef=\"['contactDate', 'victimContactMethod','nextContactDate', 'staff', 'comment', 'contactId']\" class=\"example-header-row\"></mat-header-row>\r\n <mat-row *matRowDef=\"let row; columns:['contactDate', 'victimContactMethod','nextContactDate', 'staff', 'comment', 'contactId'];\" class=\"example-row\"></mat-row>\r\n </mat-table>\r\n\r\n\r\n </div>\r\n\r\n </mat-card-content>\r\n</mat-card>\r\n", styles: ["mat-form-field{width:100%}.container{margin:16px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;grid-auto-rows:minmax(50px,auto);justify-items:stretch}@media only screen and (max-width: 1120px){.container{display:grid;grid-template-columns:1fr 1fr;grid-row-gap:15px}}@media only screen and (max-width: 675px){.container{display:flex;flex-direction:column}}#outer{width:100%;text-align:center}.inner{display:inline-block}.tp-radio-group{display:flex;justify-content:space-between}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i8.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i10.MatRadioGroup, selector: "mat-radio-group", exportAs: ["matRadioGroup"] }, { kind: "component", type: i10.MatRadioButton, selector: "mat-radio-button", inputs: ["disableRipple", "tabIndex"], exportAs: ["matRadioButton"] }, { kind: "component", type: i11.MatSlider, selector: "mat-slider", inputs: ["disabled", "color", "tabIndex", "invert", "max", "min", "step", "thumbLabel", "tickInterval", "value", "displayWith", "valueText", "vertical"], outputs: ["change", "input", "valueChange"], exportAs: ["matSlider"] }, { kind: "component", type: i12.MatCard, selector: "mat-card", exportAs: ["matCard"] }, { kind: "directive", type: i12.MatCardContent, selector: "mat-card-content, [mat-card-content], [matCardContent]" }, { kind: "component", type: i13.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i13.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "directive", type: i14.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i14.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i14.MatLabel, selector: "mat-label" }, { kind: "directive", type: i14.MatSuffix, selector: "[matSuffix]" }, { kind: "directive", type: i15.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i16.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i16.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i16.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "component", type: i17.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i18.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "component", type: i19.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i19.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i19.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i19.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i19.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i19.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i19.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i19.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i19.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i19.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i20.SmartAddressComponent, selector: "app-smart-address", inputs: ["showPsa", "housingTypeId", "modifiedBy", "rowHeight", "id", "outline", "readonly", "addressValidators"], outputs: ["isValid", "addressIdChange"] }, { kind: "directive", type: i21.PhoneMaskDirective, selector: "[phoneMask]", inputs: ["phoneControl", "preValue"] }, { kind: "pipe", type: i1.DatePipe, name: "date" }] });
|
1085
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SmartVictimDetailComponent, decorators: [{
|
1086
|
-
type: Component,
|
1087
|
-
args: [{ selector: 'csmart-victim-detail', providers: [CommonDialogService], template: "<mat-card>\r\n <mat-card-content>\r\n\r\n <div [formGroup]=\"victimForm\">\r\n\r\n <mat-tab-group dynamicHeight mat-stretch-tabs>\r\n <mat-tab label=\"Victim Detail\" >\r\n <div class='container'>\r\n\r\n <mat-form-field>\r\n <mat-label>Is victim a minor?<font color=\"red\">* </font></mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"minorFlag\" (change)=\"radioMinorChange($event)\" [(ngModel)]=\"editVictim.minorFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('minorFlag').errors\r\n && (victimForm.get('minorFlag').dirty || victimForm.get('minorFlag').touched)\">\r\n <mat-error>If victim a minor field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Does the Victim have a Victim Advocate or Social Worker with <br>whom CSOSA should maintain contact?<font color=\"red\">* </font></mat-label>\r\n <br>\r\n <br>\r\n <mat-radio-group class = \"tp-radio-group\" formControlName=\"victimAdvocateFlag\" (change)=\"radioAdvocateChange($event)\" [(ngModel)]=\"editVictim.victimAdvocateFlag\">\r\n <mat-radio-button color=\"primary\" *ngFor=\"let item of flagOption\" [value]=\"item.flagOptionYesNoUnknownId\">{{item.name}} </mat-radio-button> \r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimAdvocateFlag').errors\r\n && (victimForm.get('victimAdvocateFlag').dirty || victimForm.get('victimAdvocateFlag').touched)\">\r\n <mat-error>If victim has advocate field is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Currently Under Supervision:</mat-label>\r\n <mat-select formControlName=\"underSupervisionFlag\" name=\"supervision\" [(ngModel)]=\"editVictim.underSupervisionFlag\" >\r\n <mat-option *ngFor=\"let item of flagOption\" [value]=\"item.flagOptionYesNoUnknownId\" >\r\n {{item.name}}</mat-option>\r\n </mat-select>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('underSupervisionFlag').errors\r\n && (victimForm.get('underSupervisionFlag').dirty || victimForm.get('underSupervisionFlag').touched)\">\r\n <mat-error>under supervision field is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Relationship to Offender:</mat-label>\r\n <mat-select formControlName=\"victimOffenderRelationshipTypeId\" [(ngModel)]=\"editVictim.victimOffenderRelationshipTypeId\" >\r\n <mat-option *ngFor=\"let item of relationshipTypes\" [value]=\"item.relationshipTypeId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimOffenderRelationshipTypeId').errors\r\n && (victimForm.get('victimOffenderRelationshipTypeId').dirty || victimForm.get('victimOffenderRelationshipTypeId').touched)\">\r\n <mat-error>relationship is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Last Name:</mat-label>\r\n <input matInput formControlName=\"lastName\" [(ngModel)]=\"editVictim.lastName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('lastName').errors\r\n && (victimForm.get('lastName').dirty || victimForm.get('lastName').touched)\">\r\n <mat-error>victim last name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim First Name: </mat-label>\r\n <input matInput formControlName=\"firstName\" [(ngModel)]=\"editVictim.firstName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('firstName').errors\r\n && (victimForm.get('firstName').dirty || victimForm.get('firstName').touched)\">\r\n <mat-error>victim first name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Middle Name:</mat-label>\r\n <input matInput formControlName=\"middleName\" [(ngModel)]=\"editVictim.middleName\">\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Prefix:</mat-label>\r\n <mat-select formControlName=\"prefixId\" [(ngModel)]=\"editVictim.prefixId\">\r\n <mat-option *ngFor=\"let item of prefixes\" [value]=\"item.prefixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Suffix:</mat-label>\r\n <mat-select formControlName=\"suffixId\" [(ngModel)]=\"editVictim.suffixId\">\r\n <mat-option *ngFor=\"let item of suffixes\" [value]=\"item.suffixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Gender:</mat-label>\r\n <mat-select formControlName=\"genderCode\" [(ngModel)]=\"editVictim.genderCode\">\r\n <mat-option *ngFor=\"let item of genders\" [value]=\"item.genderCode\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Date of Birth:</mat-label>\r\n <input matInput\r\n [matDatepicker]=\"victimBirthRef\"\r\n formControlName=\"birthDate\"\r\n [(ngModel)]=\"editVictim.birthDate\"\r\n (click)=\"victimBirthRef.open()\"\r\n (dateChange)=\"handleDOBChange($event)\"\r\n >\r\n <mat-datepicker-toggle [for]=\"victimBirthRef\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #victimBirthRef></mat-datepicker>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim Home Phone:</mat-label>\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.homePhone\"\r\n [phoneControl]=\"homePhoneControl\"\r\n [formControl]=\"homePhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('homePhone').errors\r\n && (victimForm.get('homePhone').dirty || victimForm.get('homePhone').touched)\">\r\n <mat-error><strong>Home phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Victim Cell Phone:</mat-label>\r\n <input\r\n id=\"tel1\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.cellPhone\"\r\n [phoneControl]=\"cellPhoneControl\"\r\n [formControl]=\"cellPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('cellPhone').errors\r\n && (victimForm.get('cellPhone').dirty || victimForm.get('cellPhone').touched)\">\r\n <mat-error><strong>Cell phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field >\r\n <mat-label>Victim Work Phone:</mat-label>\r\n <input\r\n id=\"tel2\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.workPhone\"\r\n [phoneControl]=\"workPhoneControl\"\r\n [formControl]=\"workPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('workPhone').errors\r\n && (victimForm.get('workPhone').dirty || victimForm.get('workPhone').touched)\">\r\n <mat-error><strong>Work phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Victim Email:</mat-label>\r\n <input matInput formControlName=\"email\" [(ngModel)]=\"editVictim.email\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('email').errors\r\n && (victimForm.get('email').dirty || victimForm.get('email').touched)\">\r\n <mat-error><strong>victim email format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n <app-smart-address\r\n [modifiedBy]=\"staffId\"\r\n [id]=\"addressId\"\r\n [outline]=\"true\"\r\n [showPsa]=\"true\"\r\n [addressValidators]=\"addressValidators\"\r\n [readonly]=\"false\"\r\n (addressIdChange)=\"onAddressChange($event)\"\r\n #addressComponent >\r\n\r\n </app-smart-address>\r\n\r\n\r\n <!-- Docket:\r\n <div>\r\n <div *ngFor=\"let docket of docketlist; let i=index\">\r\n <mat-checkbox >{{docket.docketNumber}}</mat-checkbox>\r\n </div>\r\n </div> -->\r\n <div>\r\n <mat-checkbox color=\"primary\" formControlName=\"liveWithOffenderFlag\" name=\"liveWithOffenderFlag\" [(ngModel)]=\"editVictim.liveWithOffenderFlag\" (change)=\"showAddress($event)\" >victim live with offender</mat-checkbox>\r\n <br>\r\n <mat-checkbox color=\"primary\" formControlName=\"allowCsosaContactFlag\" name=\"allowCsosaContactFlag\" [(ngModel)]=\"editVictim.allowCsosaContactFlag\">victim wants to be contacted by CSOSA</mat-checkbox>\r\n </div>\r\n\r\n </div>\r\n\r\n <mat-card>\r\n <mat-form-field>\r\n <mat-label> Children in Common</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"commonChildrenFlag\" [(ngModel)]=\"editVictim.commonChildrenFlag\" (change)=\"radioCicChange($event)\">\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"commonChildrenDivFlag\">\r\n\r\n <mat-form-field >\r\n <mat-label>\r\n Children number\r\n </mat-label>\r\n <input matInput formControlName=\"commonChildrenNumber\" [(ngModel)]=\"editVictim.commonChildrenNumber\" >\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <mat-form-field>\r\n <mat-label>CPO: </mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"cpoExpirationFlag\" [(ngModel)]=\"editVictim.cpoExpirationFlag\" (change)=\"radioCpoChange($event)\">\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"cpoExpirationDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Expiration Date: </mat-label>\r\n <input matInput\r\n [matDatepicker]=\"cpoDateRef\"\r\n formControlName=\"cpoExpirationDate\"\r\n (click)=\"cpoDateRef.open()\"\r\n [(ngModel)]=\"editVictim.cpoExpirationDate\" >\r\n <mat-datepicker-toggle [for]=\"cpoDateRef\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #cpoDateRef></mat-datepicker>\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Victim has a Support System in Place? </mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"supportInPlaceFlag\" [(ngModel)]=\"editVictim.supportInPlaceFlag\" (change)=\"radioSupportChange($event)\">\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"supportInPlaceDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Support type? </mat-label>\r\n <mat-select #supportSel formControlName=\"victimSupports\" [(ngModel)]=\"editVictim.victimSupports\" multiple>\r\n <div (mouseleave)=\"supportSel.close()\">\r\n <mat-option color=\"primary\" *ngFor=\"let item of victimSupportTypes\" [value]=\"item.victimSupportTypeId\">\r\n {{item.name}}\r\n </mat-option>\r\n </div>\r\n </mat-select>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Weapons Involved?</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"weaponInvolvedFlag\" (change)=\"radioWeaponChange($event)\" [(ngModel)]=\"editVictim.weaponInvolvedFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n\r\n <div *ngIf=\"weaponInvolvedDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Weapon Type</mat-label>\r\n <mat-select #weaponSel formControlName=\"victimWeaponUses\" multiple [(ngModel)]=\"editVictim.victimWeaponUses\" (selectionChange)=\"checkOtherWeapon($event.value)\" >\r\n <div (mouseleave)=\"weaponSel.close()\">\r\n <mat-option color=\"primary\" *ngFor=\"let item of weaponTypes\" [value]=\"item.weaponTypeId\">\r\n {{item.name}}\r\n </mat-option>\r\n </div>\r\n </mat-select>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n </div>\r\n\r\n <div *ngIf=\"otherWeaponFlag\">\r\n <mat-form-field>\r\n <mat-label>Other Weapon:* </mat-label>\r\n <input matInput formControlName=\"otherWeapon\" >\r\n </mat-form-field>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherWeapon').errors\r\n && (victimForm.get('otherWeapon').dirty || victimForm.get('otherWeapon').touched)\">\r\n <mat-error><strong>Other weapon is required.</strong></mat-error>\r\n </div>\r\n </div>\r\n\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Was Offender under the influence of alcohol at the time of the offense?</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"alcoholUseFlag\" [(ngModel)]=\"editVictim.alcoholUseFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <br>\r\n <br>\r\n\r\n <mat-form-field>\r\n <mat-label>Was Offender under the influence of drugs at the time of the offense?</mat-label>\r\n <br>\r\n <mat-radio-group formControlName=\"drugUseFlag\" (change)=\"radioDrugChange($event)\" [(ngModel)]=\"editVictim.drugUseFlag\" >\r\n <mat-radio-button color=\"primary\" [value]=\"true\">Yes</mat-radio-button> \r\n <mat-radio-button color=\"primary\" [value]=\"false\">No</mat-radio-button>\r\n </mat-radio-group>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n <div *ngIf=\"drugUseDivFlag\">\r\n <mat-form-field>\r\n <mat-label>Drug:</mat-label>\r\n <mat-select #drugSel formControlName=\"victimDrugUses\" multiple (selectionChange)=\"checkOtherDrug($event.value)\" >\r\n <div (mouseleave)=\"drugSel.close()\">\r\n <mat-option color=\"primary\" *ngFor=\"let item of drugs\" [value]=\"item.drugTypeId\">\r\n {{item.name}}\r\n </mat-option>\r\n\r\n </div>\r\n </mat-select>\r\n <input matInput placeholder=\"\" style=\"display: none\">\r\n </mat-form-field>\r\n\r\n </div>\r\n\r\n <div *ngIf=\"otherDrugFlag\">\r\n <mat-form-field>\r\n <mat-label>Other Drug:* </mat-label>\r\n <input matInput formControlName=\"otherDrug\" >\r\n </mat-form-field>\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherDrug').errors\r\n && (victimForm.get('otherDrug').dirty || victimForm.get('otherDrug').touched)\">\r\n <mat-error><strong>Other drug is required.</strong></mat-error>\r\n </div>\r\n </div>\r\n <br>\r\n <br>\r\n\r\n <div>\r\n <div>\r\n <mat-label>\r\n Access Risk: 1 thru 10 (10 greatest risk): <b> {{editVictim.accessRisk}}</b>\r\n </mat-label>\r\n </div>\r\n <div>\r\n\r\n <mat-slider\r\n formControlName=\"accessRisk\"\r\n thumbLabel=\"true\"\r\n [displayWith]=\"formatLabel\"\r\n min=\"1\"\r\n max=\"10\"\r\n [(ngModel)]=\"editVictim.accessRisk\"\r\n ></mat-slider>\r\n\r\n </div>\r\n\r\n </div>\r\n\r\n </mat-card>\r\n\r\n\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n <mat-tab *ngIf=\"guardianTabFlag\" label=\"Legal Guardian\">\r\n <div class='container'>\r\n <mat-form-field>\r\n <mat-label>Guardian Last Name:</mat-label>\r\n <input matInput formControlName=\"guardianLastName\" [(ngModel)]=\"editVictim.guardianLastName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianLastName').errors \">\r\n <mat-error>Guardian last name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian First Name:</mat-label>\r\n <input matInput formControlName=\"guardianFirstName\" [(ngModel)]=\"editVictim.guardianFirstName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianFirstName').errors \">\r\n <mat-error>Guardian first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian Prefix:</mat-label>\r\n <mat-select formControlName=\"guardianPrefixId\" [(ngModel)]=\"editVictim.guardianPrefixId\" >\r\n <mat-option *ngFor=\"let item of prefixes\" [value]=\"item.prefixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian Suffix:</mat-label>\r\n <mat-select formControlName=\"guardianSuffixId\" [(ngModel)]=\"editVictim.guardianSuffixId\" >\r\n <mat-option *ngFor=\"let item of suffixes\" [value]=\"item.suffixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n\r\n <!-- <mat-form-field>\r\n <mat-select placeholder=\"Choose\" formControlName=\"guardianGender\" [(ngModel)]=\"editVictim.guardianGender\">\r\n <mat-option *ngFor=\"let item of genders\" [value]=\"item.genderCode\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field> -->\r\n\r\n\r\n <mat-form-field>\r\n <mat-label>Date of Birth:</mat-label>\r\n <input matInput\r\n [matDatepicker]=\"guardianDateRef\"\r\n formControlName=\"guardianBirthDate\"\r\n [(ngModel)]=\"editVictim.guardianBirthDate\"\r\n (click)=\"guardianDateRef.open()\"\r\n >\r\n <mat-datepicker-toggle [for]=\"guardianDateRef\" matSuffix></mat-datepicker-toggle>\r\n <mat-datepicker #guardianDateRef></mat-datepicker>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n <mat-form-field >\r\n <mat-checkbox\r\n color = \"primary\"\r\n formControlName=\"guardianNoPhoneFlag\">\r\n No Phone (If there is no phone, the phone fields are no longer required)</mat-checkbox>\r\n <input matInput placeholder=\"\" style=\"display: none;\">\r\n </mat-form-field>\r\n\r\n\r\n <div></div>\r\n <mat-card>\r\n <mat-form-field >\r\n <mat-label>Guardian Home Phone:</mat-label>\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.guardianHomePhone\"\r\n [phoneControl]=\"guardianHomePhoneControl\"\r\n [formControl]=\"guardianHomePhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianHomePhone').errors\r\n && (victimForm.get('guardianHomePhone').dirty || victimForm.get('guardianHomePhone').touched)\">\r\n <mat-error><strong>Guardian home phone number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Guardian Cell Phone:</mat-label>\r\n <input\r\n id=\"tel4\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.guardianCellPhone\"\r\n [phoneControl]=\"guardianCellPhoneControl\"\r\n [formControl]=\"guardianCellPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianCellPhone').errors\r\n && (victimForm.get('guardianCellPhone').dirty || victimForm.get('guardianCellPhone').touched)\">\r\n <mat-error><strong>Guardian Cell phone number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field >\r\n <mat-label>Guardian Work Phone:</mat-label>\r\n\r\n <input\r\n id=\"tel5\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.guardianWorkPhone\"\r\n [phoneControl]=\"guardianWorkPhoneControl\"\r\n [formControl]=\"guardianWorkPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianWorkPhone').errors\r\n && (victimForm.get('guardianWorkPhone').dirty || victimForm.get('guardianWorkPhone').touched)\">\r\n <mat-error><strong>Guardian work phone number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n\r\n </mat-form-field>\r\n </mat-card>\r\n\r\n <div></div>\r\n\r\n <mat-form-field>\r\n <mat-label>Guardian Email:</mat-label>\r\n <input matInput formControlName=\"guardianEmail\" [(ngModel)]=\"editVictim.guardianEmail\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianEmail').errors\r\n && (victimForm.get('guardianEmail').dirty || victimForm.get('guardianEmail').touched)\">\r\n <mat-error><strong>Guardian email format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n\r\n <div>\r\n <app-smart-address\r\n\r\n [showPsa]=\"true\"\r\n [modifiedBy]=\"staffId\"\r\n [id]=\"guardianAddressId\"\r\n (addressIdChange)=\"onGuardianAddressChange($event)\"\r\n [outline]=\"true\"\r\n readonly=\"false\"\r\n [rowHeight]=\"80\"\r\n (isValid)=\"false\"\r\n [addressValidators]=\"addressValidators\"\r\n #guardianAddressComponent\r\n >\r\n </app-smart-address>\r\n </div>\r\n </div>\r\n\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n <!--advocate-->\r\n\r\n <mat-tab *ngIf=\"advocateTabFlag\" label=\"Advocate\" >\r\n <div class='container'>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Last Name:</mat-label>\r\n <input matInput formControlName=\"advocateLastName\" [(ngModel)]=\"editVictim.advocateLastName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateLastName').errors \">\r\n <mat-error>Advocate last name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate First Name:</mat-label>\r\n <input matInput formControlName=\"advocateFirstName\" [(ngModel)]=\"editVictim.advocateFirstName\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateFirstName').errors \">\r\n <mat-error>Advocate first name is <strong>required</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Prefix:</mat-label>\r\n <mat-select formControlName=\"advocatePrefixId\" [(ngModel)]=\"editVictim.advocatePrefixId\" >\r\n <mat-option *ngFor=\"let item of prefixes\" [value]=\"item.prefixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Suffix:</mat-label>\r\n <mat-select formControlName=\"advocateSuffixId\" [(ngModel)]=\"editVictim.advocateSuffixId\" >\r\n <mat-option *ngFor=\"let item of suffixes\" [value]=\"item.suffixId\">{{item.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n\r\n\r\n <mat-form-field>\r\n <mat-checkbox\r\n color = \"primary\"\r\n formControlName=\"advocateNoPhoneFlag\"\r\n\r\n [(ngModel)]=\"editVictim.advocateNoPhoneFlag\" >\r\n No Phone (If there is no phone, the phone fields are no longer required)</mat-checkbox>\r\n <input matInput placeholder=\"\" style=\"display: none;\">\r\n </mat-form-field>\r\n\r\n <div></div>\r\n <mat-card>\r\n <mat-form-field >\r\n <mat-label>Advocate Home Phone:</mat-label>\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.advocateHomePhone\"\r\n [phoneControl]=\"advocateHomePhoneControl\"\r\n [formControl]=\"advocateHomePhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateHomePhone').errors\r\n && (victimForm.get('advocateHomePhone').dirty || victimForm.get('advocateHomePhone').touched)\">\r\n <mat-error><strong>Advocate home number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Cell Phone:</mat-label>\r\n <input\r\n id=\"tel7\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.advocateCellPhone\"\r\n [phoneControl]=\"advocateCellPhoneControl\"\r\n [formControl]=\"advocateCellPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateCellPhone').errors\r\n && (victimForm.get('advocateCellPhone').dirty || victimForm.get('advocateCellPhone').touched)\">\r\n <mat-error><strong>Advocate cell number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Work Phone:</mat-label>\r\n <input\r\n id=\"tel8\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.advocateWorkPhone\"\r\n [phoneControl]=\"advocateWorkPhoneControl\"\r\n [formControl]=\"advocateWorkPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateWorkPhone').errors\r\n && (victimForm.get('advocateWorkPhone').dirty || victimForm.get('advocateWorkPhone').touched)\">\r\n <mat-error><strong>Advocate work number format is not correct.</strong></mat-error>\r\n </div>\r\n\r\n </mat-form-field>\r\n </mat-card>\r\n\r\n <div></div>\r\n\r\n <mat-form-field>\r\n <mat-label>Advocate Email:</mat-label>\r\n <input matInput formControlName=\"advocateEmail\" [(ngModel)]=\"editVictim.advocateEmail\" >\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateEmail').errors\r\n && (victimForm.get('advocateEmail').dirty || victimForm.get('advocateEmail').touched)\">\r\n <mat-error><strong>Advocate email format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n <div></div>\r\n\r\n\r\n <div >\r\n <app-smart-address\r\n [showPsa]=\"true\"\r\n [modifiedBy]=\"staffId\"\r\n [id]=\"advocateAddressId\"\r\n (addressIdChange)=\"onAdvocateAddressChange($event)\"\r\n [outline]=\"true\"\r\n readonly=\"false\"\r\n [rowHeight]=\"80\"\r\n (isValid)=\"false\"\r\n [addressValidators]=\"addressValidators\"\r\n #advocateAddressComponent >\r\n </app-smart-address>\r\n </div>\r\n </div>\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n\r\n <mat-tab label=\"Emergency Contact\">\r\n <div class='container'>\r\n\r\n <mat-form-field>\r\n <mat-label>Emergency Contact Name:</mat-label>\r\n <input matInput formControlName=\"emergencyContact\" [(ngModel)]=\"editVictim.emergencyContact\" >\r\n </mat-form-field>\r\n\r\n <mat-form-field>\r\n <mat-label>Emergency Phone Number:</mat-label>\r\n\r\n <input\r\n id=\"tel\"\r\n matInput\r\n phoneMask\r\n [preValue]=\"editVictim.emergencyContactPhone\"\r\n [phoneControl]=\"emergencyContactPhoneControl\"\r\n [formControl]=\"emergencyContactPhoneControl\"\r\n maxlength=\"14\"/>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('emergencyContactPhone').errors\r\n && (victimForm.get('emergencyContactPhone').dirty || victimForm.get('emergencyContactPhone').touched)\">\r\n <mat-error><strong>Emergency contact number format is not correct.</strong></mat-error>\r\n </div>\r\n </mat-form-field>\r\n\r\n </div>\r\n <br><br><br>\r\n </mat-tab>\r\n\r\n </mat-tab-group>\r\n <div class='outer'>\r\n <div>\r\n All buttons apply to all tabs. If save button is grey, please check each tab to make sure the required field is filled.<br><br>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('minorFlag').errors\r\n && (victimForm.get('minorFlag').dirty || victimForm.get('minorFlag').touched)\">\r\n <mat-error>If victim a minor field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimAdvocateFlag').errors\r\n && (victimForm.get('victimAdvocateFlag').dirty || victimForm.get('victimAdvocateFlag').touched)\">\r\n <mat-error>If victim has advocate field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('underSupervisionFlag').errors\r\n && (victimForm.get('underSupervisionFlag').dirty || victimForm.get('underSupervisionFlag').touched)\">\r\n <mat-error>Under supervision field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('victimOffenderRelationshipTypeId').errors\r\n && (victimForm.get('victimOffenderRelationshipTypeId').dirty || victimForm.get('victimOffenderRelationshipTypeId').touched)\">\r\n <mat-error>Relationship is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('lastName').errors\r\n && (victimForm.get('lastName').dirty || victimForm.get('lastName').touched)\">\r\n <mat-error>Victim last name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('firstName').errors\r\n && (victimForm.get('firstName').dirty || victimForm.get('firstName').touched)\">\r\n <mat-error>victim first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianFirstName').errors\r\n && (victimForm.get('guardianFirstName').dirty || victimForm.get('guardianFirstName').touched)\">\r\n <mat-error>Guardian first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('guardianLastName').errors\r\n && (victimForm.get('guardianLastName').dirty || victimForm.get('guardianLastName').touched)\" >\r\n <mat-error>Guardian last name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateLastName').errors\r\n && (victimForm.get('advocateLastName').dirty || victimForm.get('advocateLastName').touched)\" >\r\n <mat-error>Advocate last name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('advocateFirstName').errors\r\n && (victimForm.get('advocateFirstName').dirty || victimForm.get('advocateFirstName').touched)\">\r\n <mat-error>Advocate first name is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherWeapon').errors\r\n && (victimForm.get('otherWeapon').dirty || victimForm.get('otherWeapon').touched)\">\r\n <mat-error>Other weapon field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n <div class=\"help-block\" *ngIf=\"victimForm.get('otherDrug').errors\r\n && (victimForm.get('otherDrug').dirty || victimForm.get('otherDrug').touched)\">\r\n <mat-error>Other drug field is <strong>required</strong></mat-error>\r\n </div>\r\n\r\n\r\n </div>\r\n\r\n <div class=\"inner\">\r\n <button mat-raised-button color=\"primary\" (click)=\"saveVictim()\" [disabled]=\"!victimForm.valid\" >Save </button>\r\n </div>\r\n \r\n <div *ngIf=\"showDelete\" class=\"inner\">\r\n <button mat-raised-button color=\"primary\" (click)=\"deleteVictim()\">Delete </button>\r\n </div>\r\n \r\n <div class=\"inner\">\r\n <button mat-raised-button color=\"primary\" (click)=\"cancel()\">Clear </button>\r\n </div>\r\n \r\n <button mat-raised-button color=\"primary\" (click)=\"back()\">Back</button>\r\n\r\n </div>\r\n\r\n </div>\r\n <br>\r\n <br>\r\n\r\n <div align=\"right\">\r\n <button mat-raised-button color=\"primary\" (click)=\"addContact()\" >Add victim contact</button>\r\n </div>\r\n\r\n <div>\r\n\r\n <mat-table #table [dataSource]=\"contactDataSource\" class=\"example-table\">\r\n <ng-container matColumnDef=\"contactDate\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Contact Date</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.contactDate | date}} </mat-cell>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"victimContactMethod\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Contact Method</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.victimContactMethod}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"nextContactDate\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Next Contact Date</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.nextContactDate | date}} </mat-cell>\r\n </ng-container>\r\n\r\n\r\n <ng-container matColumnDef=\"staff\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Contact By</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.staff}} </mat-cell>\r\n </ng-container>\r\n <ng-container matColumnDef=\"comment\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\">Comment</mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\"> {{row.comment}} </mat-cell>\r\n </ng-container>\r\n\r\n <ng-container matColumnDef=\"contactId\">\r\n <mat-header-cell *matHeaderCellDef class=\"example-header-cell\"></mat-header-cell>\r\n <mat-cell *matCellDef=\"let row\" class=\"example-cell\">\r\n\r\n </mat-cell>\r\n </ng-container>\r\n\r\n <mat-header-row *matHeaderRowDef=\"['contactDate', 'victimContactMethod','nextContactDate', 'staff', 'comment', 'contactId']\" class=\"example-header-row\"></mat-header-row>\r\n <mat-row *matRowDef=\"let row; columns:['contactDate', 'victimContactMethod','nextContactDate', 'staff', 'comment', 'contactId'];\" class=\"example-row\"></mat-row>\r\n </mat-table>\r\n\r\n\r\n </div>\r\n\r\n </mat-card-content>\r\n</mat-card>\r\n", styles: ["mat-form-field{width:100%}.container{margin:16px;display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;grid-auto-rows:minmax(50px,auto);justify-items:stretch}@media only screen and (max-width: 1120px){.container{display:grid;grid-template-columns:1fr 1fr;grid-row-gap:15px}}@media only screen and (max-width: 675px){.container{display:flex;flex-direction:column}}#outer{width:100%;text-align:center}.inner{display:inline-block}.tp-radio-group{display:flex;justify-content:space-between}\n"] }]
|
1088
|
-
}], ctorParameters: function () { return [{ type: i1.Location }, { type: i2.UntypedFormBuilder }, { type: i3.MatDialog }, { type: i4.ActivatedRoute }, { type: i4.Router }, { type: i5.MatSnackBar }, { type: i6.CommonDialogService }, { type: i7.NgcSmartVictimService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { victimDetail: [{
|
1089
|
-
type: Input
|
1090
|
-
}], staffId: [{
|
1091
|
-
type: Input
|
1092
|
-
}], offenderId: [{
|
1093
|
-
type: Input
|
1094
|
-
}], isIntake: [{
|
1095
|
-
type: Input
|
1096
|
-
}], onSave: [{
|
1097
|
-
type: Output
|
1098
|
-
}], onCancel: [{
|
1099
|
-
type: Output
|
1100
|
-
}], addressComponent: [{
|
1101
|
-
type: ViewChild,
|
1102
|
-
args: ["addressComponent"]
|
1103
|
-
}] } });
|
1104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtdmljdGltLWRldGFpbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ2Mtc21hcnQtdmljdGltL3NyYy9saWIvc21hcnQtdmljdGltLWRldGFpbC9zbWFydC12aWN0aW0tZGV0YWlsLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nYy1zbWFydC12aWN0aW0vc3JjL2xpYi9zbWFydC12aWN0aW0tZGV0YWlsL3NtYXJ0LXZpY3RpbS1kZXRhaWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsS0FBSyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3JHLE9BQU8sRUFBRSxrQkFBa0IsRUFBb0Isa0JBQWtCLEVBQUMsVUFBVSxFQUFjLE1BQU0sZ0JBQWdCLENBQUM7QUFDakgsT0FBTyxFQUFrQixhQUFhLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUV4RSxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNoRSxPQUFPLEVBQUUsTUFBTSxFQUFFLGNBQWMsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0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Z2V0KCdvdGhlckRydWcnKTtcclxuICAgICAgICAgIG90aGVyRHJ1Z0NvbnRyb2wuc2V0VmFsdWUob3RoZXJEcnVnKTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC8vY29udGFjdFxyXG4gICAgICAgIHRoaXMudmljdGltU2VydmljZS5nZXRDb250YWN0cyh0aGlzLnZpY3RpbUlkKS5zdWJzY3JpYmUoXHJcbiAgICAgICAgICBjb250YWN0TGlzdCA9PiB7XHJcbiAgICAgICAgICAgIGNvbnNvbGUubG9nKCdjb250YWN0TGlzdCcpO1xyXG4gICAgICAgICAgICBjb25zb2xlLmxvZyhjb250YWN0TGlzdCk7XHJcbiAgICAgICAgICAgIHRoaXMuY29udGFjdExpc3QgPSBjb250YWN0TGlzdDtcclxuICAgICAgICAgICAgdGhpcy5jb250YWN0RGF0YVNvdXJjZS5kYXRhID0gdGhpcy5jb250YWN0TGlzdDtcclxuICAgICAgICAgIH1cclxuICAgICAgICApO1xyXG5cclxuICAgICAgICAvL25vIHBob25lIGZpZWxkXHJcblxyXG4gICAgICAgIGlmICggdGhpcy5lZGl0VmljdGltLmd1YXJkaWFuTm9QaG9uZUZsYWcgPT09IGZhbHNlICl7XHJcbiAgICAgICAgICB0aGlzLnZpY3RpbUZvcm0ucGF0Y2hWYWx1ZSh7Z3VhcmRpYW5Ob1Bob25lRmxhZzogZmFsc2V9KTtcclxuICAgICAgICB9XHJcbiAgICAgICAgaWYgKCB0aGlzLmVkaXRWaWN0aW0uYWR2b2NhdGVOb1Bob25lRmxhZyA9PT0gZmFsc2UgKXtcclxuICAgICAgICAgIHRoaXMudmljdGltRm9ybS5wYXRjaFZhbHVlKHthZHZvY2F0ZU5vUGhvbmVGbGFnOiBmYWxzZX0pO1xyXG4gICAgICAgIH1cclxuXHJcbiAgICAgICAgdGhpcy5ob21lUGhvbmVDb250cm9sLnNldFZhbHVlKFxyXG4gICAgICAgICAgIXRoaXMuZWRpdFZpY3RpbS5ob21lUGhvbmUgPyBc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Rm9ybS52YWx1ZS5ndWFyZGlhbldvcmtQaG9uZSxcclxuICAgICAgICAgIGNlbGxQaG9uZTogdGhpcy52aWN0aW1Gb3JtLnZhbHVlLmd1YXJkaWFuQ2VsbFBob25lLFxyXG4gICAgICAgICAgZW1haWw6IHRoaXMudmljdGltRm9ybS52YWx1ZS5ndWFyZGlhbkVtYWlsLFxyXG4gICAgICAgICAgbW9kaWZpZWRCeTogdGhpcy5zdGFmZklkXHJcbiAgICAgICB9O1xyXG4gICAgICAgIHRoaXMudmljdGltU2VydmljZS5wb3N0VmljdGltR3VhcmRpYW4oaWQsIHZpY3RpbUd1YXJkaWFuKS5zdWJzY3JpYmUoKTtcclxuICAgICAgfVxyXG5cclxuICAgICAgICB0aGlzLnNuYWNrQmFyLm9wZW4oJ0FkZCBWaWN0aW0gU3VjY2Vzc2Z1bGx5IScsICcnLCB7XHJcbiAgICAgICAgICBkdXJhdGlvbjogMzAwMCxcclxuICAgICAgICAgICAgICAgfSk7XHJcbiAgICAgICAgLy9pbnNlcnQgbmV3XHJcbiAgICAgICAgaWYgKHRoaXMuaXNJbnRha2U9PT10cnVlKXtcclxuICAgICAgICAgIHRoaXMucm91dGVyLm5hdmlnYXRlKFsndmljdGltSG9tZSddKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgZWxzZVxyXG4gICAgICAgIHtcclxuICAgICAgICAgIHRoaXMucm91dGVyLm5hdmlnYXRlKFsndmljdGltTGlzdCddKTtcclxuICAgICAgICB9XHJcbiAgICAgICAgLy90aGlzLm9uU2F2ZS5lbWl0KHRoaXMudmljdGltRGV0YWlsKTtcclxuXHJcbiAgICAgIH1cclxuICAgICApO1xyXG5cclxuICAgIH1cclxuICAgIGVsc2Uge1xyXG4gICAgICAvL3VwZGF0ZSB2aWN0aW1cclxuICAgICAgdGhpcy52aWN0aW1EZXRhaWwudW5kZXJTdXBlcnZpc2lvbkZsYWcgPSB0aGlzLnZpY3RpbUZvcm0udmFsdWUudW5kZXJTdXBlcnZpc2l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0aW1Gb3JtLnZhbHVlLm90aGVyRHJ1ZztcclxuICAgICAgICAgfVxyXG4gICAgICAgICBlbHNle1xyXG4gICAgICAgICAgdmljdGltRHJ1Z1VzZS5kcnVnVHlwZUlkID0gZWxlbWVudDtcclxuICAgICAgICAgIHZpY3RpbURydWdVc2Uub3RoZXJEcnVnID0gbnVsbDtcclxuICAgICAgICAgfVxyXG5cclxuICAgICAgICB2aWN0aW1EcnVnVXNlLm1vZGlmaWVkQnkgPSB0aGlzLnN0YWZmSWQ7XHJcbiAgICAgICAgdmljdGltRHJ1Z1VzZS52aWN0aW1JZCA9IHRoaXMudmljdGltRGV0YWlsLnZpY3RpbUlkO1xyXG4gICAgICAgIHRoaXMudmljdGltRGV0YWlsLnZpY3RpbURydWdVc2VzLnB1c2godmljdGltRHJ1Z1VzZSk7XHJcblxyXG4gICAgICB9KTtcclxuICAgICAgdGhpcy52aWN0aW1Gb3JtLnZhbHVlLnZpY3RpbURydWdVc2VzLmZpbHRlcih3b3JkID0+ICggISh3b3JkLmRydWdUeXBlSWQgPT09IG51bGwgICYmIHdvcmQub3RoZXJEcnVnID09PSBudWxsKSAgICApKTtcclxuXHJcbiAgICAgdGhpcy52aWN0aW1EZXRhaWwudmljdGltV2VhcG9uVXNlcyA9IFtdO1xyXG4gICAgIHRoaXMudmljdGltRm9ybS52YWx1ZS52aWN0aW1XZWFwb25Vc2VzLmZvckVhY2goZWxlbWVudCA9PiB7XHJcbiAgICAgICAgICBjb25zdCB2aWN0aW1XZWFwb25Vc2UgPSA8VmljdGltV2VhcG9uVXNlPnt9O1xyXG4gICAgICAgICAgdmljdGltV2VhcG9uVXNlLnZpY3RpbUlkPSB0aGlzLnZpY3RpbURldGFpbC52aWN0aW1JZDtcclxuICAgICAgICAgIHZpY3RpbVdlYXBvblVzZS53ZWFwb25UeXBlSWQ9IGVsZW1lbnQ7XHJcblxyXG4gICAgICAgICBpZiAoZWxlbWVudCA9PVwiT1RIRVJcIil7XHJcbiAgICAgICAgICB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ICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPlZpY3RpbSBNaWRkbGUgTmFtZTo8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgIGZvcm1Db250cm9sTmFtZT1cIm1pZGRsZU5hbWVcIiBbKG5nTW9kZWwpXT1cImVkaXRWaWN0aW0ubWlkZGxlTmFtZVwiPlxyXG4gICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+VmljdGltIFByZWZpeDo8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICA8bWF0LXNlbGVjdCAgZm9ybUNvbnRyb2xOYW1lPVwicHJlZml4SWRcIiBbKG5nTW9kZWwpXT1cImVkaXRWaWN0aW0ucHJlZml4SWRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgIDxtYXQtb3B0aW9uICpuZ0Zvcj1cImxldCBpdGVtIG9mIHByZWZpeGVzXCIgW3ZhbHVlXT1cIml0ZW0ucHJlZml4SWRcIj57e2l0ZW0ubmFtZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvbWF0LXNlbGVjdD5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPlZpY3RpbSBTdWZmaXg6PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1zZWxlY3QgIGZvcm1Db250cm9sTmFtZT1cInN1ZmZpeElkXCIgIFsobmdNb2RlbCld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xOYW1lPVwiYmlydGhEYXRlXCJcclxuICAgICAgICAgICAgICAgICAgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmJpcnRoRGF0ZVwiXHJcbiAgICAgICAgICAgICAgICAgIChjbGljayk9XCJ2aWN0aW1CaXJ0aFJlZi5vcGVuKClcIlxyXG4gICAgICAgICAgICAgICAgICAoZGF0ZUNoYW5nZSk9XCJoYW5kbGVET0JDaGFuZ2UoJGV2ZW50KVwiXHJcbiAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWRhdGVwaWNrZXItdG9nZ2xlIFtmb3JdPVwidmljdGltQmlydGhSZWZcIiBtYXRTdWZmaXg+PC9tYXQtZGF0ZXBpY2tlci10b2dnbGU+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtZGF0ZXBpY2tlciAjdmljdGltQmlydGhSZWY+PC9tYXQtZGF0ZXBpY2tlcj5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPlZpY3RpbSBIb21lIFBob25lOjwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgIGlkPVwidGVsXCJcclxuICAgICAgICAgICAgICAgICAgICBtYXRJbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgIHBob25lTWFza1xyXG4gICAgICAgICAgICAgICAgICAgIFtwcmVWYWx1ZV09XCJlZGl0VmljdGltLmhvbWVQaG9uZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgW3Bob25lQ29udHJvbF09XCJob21lUGhvbmVDb250cm9sXCJcclxuICAgICAgICAgICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiaG9tZVBob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgbWF4bGVuZ3RoPVwiMTRcIi8+XHJcblxyXG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVscC1ibG9ja1wiICpuZ0lmPVwidmljdGltRm9ybS5nZXQoJ2hvbWVQaG9uZScpLmVycm9yc1xyXG4gICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ2hvbWVQaG9uZScpLmRpcnR5IHx8IHZpY3RpbUZvcm0uZ2V0KCdob21lUGhvbmUnKS50b3VjaGVkKVwiPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWVycm9yPjxzdHJvbmc+SG9tZSBwaG9uZSBudW1iZXIgZm9ybWF0IGlzIG5vdCBjb3JyZWN0Ljwvc3Ryb25nPjwvbWF0LWVycm9yPlxyXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkID5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5WaWN0aW0gQ2VsbCBQaG9uZTo8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgPGlucHV0XHJcbiAgICAgICAgICAgICAgICAgIGlkPVwidGVsMVwiXHJcbiAgICAgICAgICAgICAgICAgIG1hdElucHV0XHJcbiAgICAgICAgICAgICAgICAgIHBob25lTWFza1xyXG4gICAgICAgICAgICAgICAgICBbcHJlVmFsdWVdPVwiZWRpdFZpY3RpbS5jZWxsUGhvbmVcIlxyXG4gICAgICAgICAgICAgICAgICBbcGhvbmVDb250cm9sXT1cImNlbGxQaG9uZUNvbnRyb2xcIlxyXG4gICAgICAgICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiY2VsbFBob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgIG1heGxlbmd0aD1cIjE0XCIvPlxyXG5cclxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImhlbHAtYmxvY2tcIiAqbmdJZj1cInZpY3RpbUZvcm0uZ2V0KCdjZWxsUGhvbmUnKS5lcnJvcnNcclxuICAgICAgICAgICAgICAgICAgJiYgKHZpY3RpbUZvcm0uZ2V0KCdjZWxsUGhvbmUnKS5kaXJ0eSB8fCB2aWN0aW1Gb3JtLmdldCgnY2VsbFBob25lJykudG91Y2hlZClcIj5cclxuICAgICAgICAgICAgICAgICAgIDxtYXQtZXJyb3I+PHN0cm9uZz5DZWxsIHBob25lIG51bWJlciBmb3JtYXQgaXMgbm90IGNvcnJlY3QuPC9zdHJvbmc+PC9tYXQtZXJyb3I+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuXHJcbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQgPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPlZpY3RpbSBXb3JrIFBob25lOjwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICA8aW5wdXRcclxuICAgICAgICAgICAgICAgICAgaWQ9XCJ0ZWwyXCJcclxuICAgICAgICAgICAgICAgICAgbWF0SW5wdXRcclxuICAgICAgICAgICAgICAgICAgcGhvbmVNYXNrXHJcbiAgICAgICAgICAgICAgICAgIFtwcmVWYWx1ZV09XCJlZGl0VmljdGltLndvcmtQaG9uZVwiXHJcbiAgICAgICAgICAgICAgICAgIFtwaG9uZUNvbnRyb2xdPVwid29ya1Bob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJ3b3JrUGhvbmVDb250cm9sXCJcclxuICAgICAgICAgICAgICAgICAgbWF4bGVuZ3RoPVwiMTRcIi8+XHJcblxyXG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVscC1ibG9ja1wiICpuZ0lmPVwidmljdGltRm9ybS5nZXQoJ3dvcmtQaG9uZScpLmVycm9yc1xyXG4gICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ3dvcmtQaG9uZScpLmRpcnR5IHx8IHZpY3RpbUZvcm0uZ2V0KCd3b3JrUGhvbmUnKS50b3VjaGVkKVwiPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWVycm9yPjxzdHJvbmc+V29yayBwaG9uZSBudW1iZXIgZm9ybWF0IGlzIG5vdCBjb3JyZWN0Ljwvc3Ryb25nPjwvbWF0LWVycm9yPlxyXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkID5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5WaWN0aW0gRW1haWw6PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgIGZvcm1Db250cm9sTmFtZT1cImVtYWlsXCIgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmVtYWlsXCIgPlxyXG4gICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImhlbHAtYmxvY2tcIiAqbmdJZj1cInZpY3RpbUZvcm0uZ2V0KCdlbWFpbCcpLmVycm9yc1xyXG4gICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ2VtYWlsJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ2VtYWlsJykudG91Y2hlZClcIj5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1lcnJvcj48c3Ryb25nPnZpY3RpbSBlbWFpbCBmb3JtYXQgaXMgbm90IGNvcnJlY3QuPC9zdHJvbmc+PC9tYXQtZXJyb3I+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuICAgICAgICAgICAgICAgIDxkaXY+PC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8YXBwLXNtYXJ0LWFkZHJlc3NcclxuICAgICAgICAgICAgICAgIFttb2RpZmllZEJ5XT1cInN0YWZmSWRcIlxyXG4gICAgICAgICAgICAgICAgW2lkXT1cImFkZHJlc3NJZFwiXHJcbiAgICAgICAgICAgICAgICBbb3V0bGluZV09XCJ0cnVlXCJcclxuICAgICAgICAgICAgICAgIFtzaG93UHNhXT1cInRydWVcIlxyXG4gICAgICAgICAgICAgICAgW2FkZHJlc3NWYWxpZGF0b3JzXT1cImFkZHJlc3NWYWxpZGF0b3JzXCJcclxuICAgICAgICAgICAgICAgIFtyZWFkb25seV09XCJmYWxzZVwiXHJcbiAgICAgICAgICAgICAgICAoYWRkcmVzc0lkQ2hhbmdlKT1cIm9uQWRkcmVzc0NoYW5nZSgkZXZlbnQpXCJcclxuICAgICAgICAgICAgICAgICNhZGRyZXNzQ29tcG9uZW50ID5cclxuXHJcbiAgICAgICAgICAgICAgICA8L2FwcC1zbWFydC1hZGRyZXNzPlxyXG5cclxuXHJcbiAgICAgICAgICAgICAgICAgIDwhLS0gRG9ja2V0OlxyXG4gICAgICAgICAgICAgICAgICA8ZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgICpuZ0Zvcj1cImxldCBkb2NrZXQgb2YgZG9ja2V0bGlzdDsgbGV0IGk9aW5kZXhcIj5cclxuICAgICAgICAgICAgICAgICAgICAgIDxtYXQtY2hlY2tib3ggPnt7ZG9ja2V0LmRvY2tldE51bWJlcn19PC9tYXQtY2hlY2tib3g+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgIDwvZGl2PiAtLT5cclxuICAgICAgICAgICAgICAgICAgPGRpdj5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1jaGVja2JveCAgY29sb3I9XCJwcmltYXJ5XCIgZm9ybUNvbnRyb2xOYW1lPVwibGl2ZVdpdGhPZmZlbmRlckZsYWdcIiBuYW1lPVwibGl2ZVdpdGhPZ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aW8tYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIFt2YWx1ZV09XCJ0cnVlXCI+WWVzPC9tYXQtcmFkaW8tYnV0dG9uPiZuYnNwO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1yYWRpby1idXR0b24gY29sb3I9XCJwcmltYXJ5XCIgW3ZhbHVlXT1cImZhbHNlXCI+Tm88L21hdC1yYWRpby1idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtcmFkaW8tZ3JvdXA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0IHBsYWNlaG9sZGVyPVwiXCIgc3R5bGU9XCJkaXNwbGF5OiBub25lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgIDxkaXYgICpuZ0lmPVwiY29tbW9uQ2hpbGRyZW5EaXZGbGFnXCI+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZCA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBDaGlsZHJlbiBudW1iZXJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0ICBmb3JtQ29udHJvbE5hbWU9XCJjb21tb25DaGlsZHJlbk51bWJlclwiIFsobmdNb2RlbCldPVwiZWRpdFZpY3RpbS5jb21tb25DaGlsZHJlbk51bWJlclwiID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+Q1BPOiA8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGJyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtcmFkaW8tZ3JvdXAgZm9ybUNvbnRyb2xOYW1lPVwiY3BvRXhwaXJhdGlvbkZsYWdcIiAgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmNwb0V4cGlyYXRpb25GbGFnXCIgKGNoYW5nZSk9XCJyYWRpb0Nwb0NoYW5nZSgkZXZlbnQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtcmFkaW8tYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIFt2YWx1ZV09XCJ0cnVlXCI+WWVzPC9tYXQtcmFkaW8tYnV0dG9uPiZuYnNwO1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBbdmFsdWVdPVwiZmFsc2VcIj5ObzwvbWF0LXJhZGlvLWJ1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LXJhZGlvLWdyb3VwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0IHBsYWNlaG9sZGVyPVwiXCIgc3R5bGU9XCJkaXNwbGF5OiBub25lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICpuZ0lmPVwiY3BvRXhwaXJhdGlvbkRpdkZsYWdcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPkV4cGlyYXRpb24gRGF0ZTogPC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXRcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFttYXREYXRlcGlja2VyXT1cImNwb0RhdGVSZWZcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9ybUNvbnRyb2xOYW1lPVwiY3BvRXhwaXJhdGlvbkRhdGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwiY3BvRGF0ZVJlZi5vcGVuKClcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbKG5nTW9kZWwpXT1cImVkaXRWaWN0aW0uY3BvRXhwaXJhdGlvbkRhdGVcIiAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWRhdGVwaWNrZXItdG9nZ2xlIFtmb3JdPVwiY3BvRGF0ZVJlZlwiIG1hdFN1ZmZpeD48L21hdC1kYXRlcGlja2VyLXRvZ2dsZT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1kYXRlcGlja2VyICNjcG9EYXRlUmVmPjwvbWF0LWRhdGVwaWNrZXI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8YnI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGJyPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPlZpY3RpbSBoYXMgYSBTdXBwb3J0IFN5c3RlbSBpbiBQbGFjZT8gPC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1yYWRpby1ncm91cCBmb3JtQ29udHJvbE5hbWU9XCJzdXBwb3J0SW5QbGFjZUZsYWdcIiBbKG5nTW9kZWwpXT1cImVkaXRWaWN0aW0uc3VwcG9ydEluUGxhY2VGbGFnXCIgIChjaGFuZ2UpPVwicmFkaW9TdXBwb3J0Q2hhbmdlKCRldmVudClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBbdmFsdWVdPVwidHJ1ZVwiPlllczwvbWF0LXJhZGlvLWJ1dHRvbj4mbmJzcDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBbdmFsdWVdPVwiZmFsc2VcIj5ObzwvbWF0LXJhZGlvLWJ1dHRvbj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtcmFkaW8tZ3JvdXA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBtYXRJbnB1dCBwbGFjZWhvbGRlcj1cIlwiIHN0eWxlPVwiZGlzcGxheTogbm9uZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgKm5nSWY9XCJzdXBwb3J0SW5QbGFjZURpdkZsYWdcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5TdXBwb3J0IHR5cGU/IDwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtc2VsZWN0ICNzdXBwb3J0U2VsIGZvcm1Db250cm9sTmFtZT1cInZpY3RpbVN1cHBvcnRzXCIgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLnZpY3RpbVN1cHBvcnRzXCIgbXVsdGlwbGU+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IChtb3VzZWxlYXZlKT1cInN1cHBvcnRTZWwuY2xvc2UoKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LW9wdGlvbiBjb2xvcj1cInByaW1hcnlcIiAqbmdGb3I9XCJsZXQgaXRlbSBvZiB2aWN0aW1TdXBwb3J0VHlwZXNcIiBbdmFsdWVdPVwiaXRlbS52aWN0aW1TdXBwb3J0VHlwZUlkXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3tpdGVtLm5hbWV9fVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1vcHRpb24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LXNlbGVjdD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgcGxhY2Vob2xkZXI9XCJcIiBzdHlsZT1cImRpc3BsYXk6IG5vbmVcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgIDxicj5cclxuICAgICAgICAgICAgICAgICAgICAgIDxicj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+V2VhcG9ucyBJbnZvbHZlZD88L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWdyb3VwIGZvcm1Db250cm9sTmFtZT1cIndlYXBvbkludm9sdmVkRmxhZ1wiIChjaGFuZ2UpPVwicmFkaW9XZWFwb25DaGFuZ2UoJGV2ZW50KVwiIFsobmdNb2RlbCldPVwiZWRpdFZpY3RpbS53ZWFwb25JbnZvbHZlZEZsYWdcIiA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBbdmFsdWVdPVwidHJ1ZVwiPlllczwvbWF0LXJhZGlvLWJ1dHRvbj4mbmJzcDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtcmFkaW8tYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIFt2YWx1ZV09XCJmYWxzZVwiPk5vPC9tYXQtcmFkaW8tYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LXJhZGlvLWdyb3VwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBtYXRJbnB1dCBwbGFjZWhvbGRlcj1cIlwiIHN0eWxlPVwiZGlzcGxheTogbm9uZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgKm5nSWY9XCJ3ZWFwb25JbnZvbHZlZERpdkZsYWdcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+V2VhcG9uIFR5cGU8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtc2VsZWN0ICAjd2VhcG9uU2VsIGZvcm1Db250cm9sTmFtZT1cInZpY3RpbVdlYXBvblVzZXNcIiBtdWx0aXBsZSBbKG5nTW9kZWwpXT1cImVkaXRWaWN0aW0udmljdGltV2VhcG9uVXNlc1wiIChzZWxlY3Rpb25DaGFuZ2UpPVwiY2hlY2tPdGhlcldlYXBvbigkZXZlbnQudmFsdWUpXCIgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IChtb3VzZWxlYXZlKT1cIndlYXBvblNlbC5jbG9zZSgpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1vcHRpb24gY29sb3I9XCJwcmltYXJ5XCIgKm5nRm9yPVwibGV0IGl0ZW0gb2Ygd2VhcG9uVHlwZXNcIiBbdmFsdWVdPVwiaXRlbS53ZWFwb25UeXBlSWRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7aXRlbS5uYW1lfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1vcHRpb24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtc2VsZWN0PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0IHBsYWNlaG9sZGVyPVwiXCIgc3R5bGU9XCJkaXNwbGF5OiBub25lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAqbmdJZj1cIm90aGVyV2VhcG9uRmxhZ1wiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5PdGhlciBXZWFwb246KiA8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0ICBmb3JtQ29udHJvbE5hbWU9XCJvdGhlcldlYXBvblwiID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImhlbHAtYmxvY2tcIiAqbmdJZj1cInZpY3RpbUZvcm0uZ2V0KCdvdGhlcldlYXBvbicpLmVycm9yc1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ290aGVyV2VhcG9uJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ290aGVyV2VhcG9uJykudG91Y2hlZClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1lcnJvcj48c3Ryb25nPk90aGVyIHdlYXBvbiBpcyByZXF1aXJlZC48L3N0cm9uZz48L21hdC1lcnJvcj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGJyPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8YnI+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5XYXMgT2ZmZW5kZXIgdW5kZXIgdGhlIGluZmx1ZW5jZSBvZiBhbGNvaG9sIGF0IHRoZSB0aW1lIG9mIHRoZSBvZmZlbnNlPzwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxicj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWdyb3VwIGZvcm1Db250cm9sTmFtZT1cImFsY29ob2xVc2VGbGFnXCIgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmFsY29ob2xVc2VGbGFnXCIgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiBbdmFsdWVdPVwidHJ1ZVwiPlllczwvbWF0LXJhZGlvLWJ1dHRvbj4mbmJzcDtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1yYWRpby1idXR0b24gY29sb3I9XCJwcmltYXJ5XCIgW3ZhbHVlXT1cImZhbHNlXCI+Tm88L21hdC1yYWRpby1idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1yYWRpby1ncm91cD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbnB1dCBtYXRJbnB1dCBwbGFjZWhvbGRlcj1cIlwiIHN0eWxlPVwiZGlzcGxheTogbm9uZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxicj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICA8YnI+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+V2FzIE9mZmVuZGVyIHVuZGVyIHRoZSBpbmZsdWVuY2Ugb2YgZHJ1Z3MgYXQgdGhlIHRpbWUgb2YgdGhlIG9mZmVuc2U/PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8YnI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LXJhZGlvLWdyb3VwIGZvcm1Db250cm9sTmFtZT1cImRydWdVc2VGbGFnXCIgKGNoYW5nZSk9XCJyYWRpb0RydWdDaGFuZ2UoJGV2ZW50KVwiIFsobmdNb2RlbCldPVwiZWRpdFZpY3RpbS5kcnVnVXNlRmxhZ1wiICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1yYWRpby1idXR0b24gY29sb3I9XCJwcmltYXJ5XCIgW3ZhbHVlXT1cInRydWVcIj5ZZXM8L21hdC1yYWRpby1idXR0b24+Jm5ic3A7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1yYWRpby1idXR0b24gY29sb3I9XCJwcmltYXJ5XCIgW3ZhbHVlXT1cImZhbHNlXCI+Tm88L21hdC1yYWRpby1idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LXJhZGlvLWdyb3VwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgcGxhY2Vob2xkZXI9XCJcIiBzdHlsZT1cImRpc3BsYXk6IG5vbmVcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2ICpuZ0lmPVwiZHJ1Z1VzZURpdkZsYWdcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5EcnVnOjwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtc2VsZWN0ICAjZHJ1Z1NlbCBmb3JtQ29udHJvbE5hbWU9XCJ2aWN0aW1EcnVnVXNlc1wiIG11bHRpcGxlICAgKHNlbGVjdGlvbkNoYW5nZSk9XCJjaGVja090aGVyRHJ1ZygkZXZlbnQudmFsdWUpXCIgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiAobW91c2VsZWF2ZSk9XCJkcnVnU2VsLmNsb3NlKClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LW9wdGlvbiBjb2xvcj1cInByaW1hcnlcIiAqbmdGb3I9XCJsZXQgaXRlbSBvZiBkcnVnc1wiIFt2YWx1ZV09XCJpdGVtLmRydWdUeXBlSWRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7e2l0ZW0ubmFtZX19XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LW9wdGlvbj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1zZWxlY3Q+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0IHBsYWNlaG9sZGVyPVwiXCIgc3R5bGU9XCJkaXNwbGF5OiBub25lXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgKm5nSWY9XCJvdGhlckRydWdGbGFnXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPk90aGVyIERydWc6KiA8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0ICBmb3JtQ29udHJvbE5hbWU9XCJvdGhlckRydWdcIiA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWxwLWJsb2NrXCIgKm5nSWY9XCJ2aWN0aW1Gb3JtLmdldCgnb3RoZXJEcnVnJykuZXJyb3JzXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICYmICh2aWN0aW1Gb3JtLmdldCgnb3RoZXJEcnVnJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ290aGVyRHJ1ZycpLnRvdWNoZWQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZXJyb3I+PHN0cm9uZz5PdGhlciBkcnVnIGlzIHJlcXVpcmVkLjwvc3Ryb25nPjwvbWF0LWVycm9yPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxicj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxicj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEFjY2VzcyBSaXNrOiAxIHRocnUgMTAgKDEwIGdyZWF0ZXN0IHJpc2spOiAmbmJzcDs8Yj4ge3tlZGl0VmljdGltLmFjY2Vzc1Jpc2t9fTwvYj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L21hdC1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1zbGlkZXJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZm9ybUNvbnRyb2xOYW1lPVwiYWNjZXNzUmlza1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRodW1iTGFiZWw9XCJ0cnVlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Rpc3BsYXlXaXRoXT1cImZvcm1hdExhYmVsXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWluPVwiMVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1heD1cIjEwXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmFjY2Vzc1Jpc2tcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC9tYXQtc2xpZGVyPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtY2FyZD5cclxuXHJcblxyXG4gICAgICAgICAgICAgIDxicj48YnI+PGJyPlxyXG4gICAgICAgICAgICA8L21hdC10YWI+XHJcblxyXG4gICAgICAgICAgIDxtYXQtdGFiICAqbmdJZj1cImd1YXJkaWFuVGFiRmxhZ1wiIGxhYmVsPVwiTGVnYWw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gICAgICAgICAgICAgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmd1YXJkaWFuQmlydGhEYXRlXCJcclxuICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cImd1YXJkaWFuRGF0ZVJlZi5vcGVuKClcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICA8bWF0LWRhdGVwaWNrZXItdG9nZ2xlIFtmb3JdPVwiZ3VhcmRpYW5EYXRlUmVmXCIgbWF0U3VmZml4PjwvbWF0LWRhdGVwaWNrZXItdG9nZ2xlPlxyXG4gICAgICAgICAgICAgICAgICAgIDxtYXQtZGF0ZXBpY2tlciAjZ3VhcmRpYW5EYXRlUmVmPjwvbWF0LWRhdGVwaWNrZXI+XHJcbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuICAgICAgICAgICAgICAgIDxkaXY+PC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZCA+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtY2hlY2tib3hcclxuICAgICAgICAgICAgICAgICAgY29sb3IgPSBcInByaW1hcnlcIlxyXG4gICAgICAgICAgICAgICAgICBmb3JtQ29udHJvbE5hbWU9XCJndWFyZGlhbk5vUGhvbmVGbGFnXCI+XHJcbiAgICAgICAgICAgICAgICAgIE5vIFBob25lIChJZiB0aGVyZSBpcyBubyBwaG9uZSwgdGhlIHBob25lIGZpZWxkcyBhcmUgbm8gbG9uZ2VyIHJlcXVpcmVkKTwvbWF0LWNoZWNrYm94PlxyXG4gICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgcGxhY2Vob2xkZXI9XCJcIiBzdHlsZT1cImRpc3BsYXk6IG5vbmU7XCI+XHJcbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuXHJcbiAgICAgICAgICAgICAgICA8ZGl2PjwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPG1hdC1jYXJkPlxyXG4gICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkID5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5HdWFyZGlhbiBIb21lIFBob25lOjwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgIGlkPVwidGVsXCJcclxuICAgICAgICAgICAgICAgICAgICBtYXRJbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgIHBob25lTWFza1xyXG4gICAgICAgICAgICAgICAgICAgIFtwcmVWYWx1ZV09XCJlZGl0VmljdGltLmd1YXJkaWFuSG9tZVBob25lXCJcclxuICAgICAgICAgICAgICAgICAgICBbcGhvbmVDb250cm9sXT1cImd1YXJkaWFuSG9tZVBob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImd1YXJkaWFuSG9tZVBob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgbWF4bGVuZ3RoPVwiMTRcIi8+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWxwLWJsb2NrXCIgKm5nSWY9XCJ2aWN0aW1Gb3JtLmdldCgnZ3VhcmRpYW5Ib21lUGhvbmUnKS5lcnJvcnNcclxuICAgICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ2d1YXJkaWFuSG9tZVBob25lJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ2d1YXJkaWFuSG9tZVBob25lJykudG91Y2hlZClcIj5cclxuICAgICAgICAgICAgICAgICAgICA8bWF0LWVycm9yPjxzdHJvbmc+R3VhcmRpYW4gaG9tZSBwaG9uZSBudW1iZXIgZm9ybWF0IGlzIG5vdCBjb3JyZWN0Ljwvc3Ryb25nPjwvbWF0LWVycm9yPlxyXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcblxyXG4gICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQgPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPkd1YXJkaWFuIENlbGwgUGhvbmU6PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICA8aW5wdXRcclxuICAgICAgICAgICAgICAgICAgIGlkPVwidGVsNFwiXHJcbiAgICAgICAgICAgICAgICAgICBtYXRJbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgcGhvbmVNYXNrXHJcbiAgICAgICAgICAgICAgICAgICBbcHJlVmFsdWVdPVwiZWRpdFZpY3RpbS5ndWFyZGlhbkNlbGxQaG9uZVwiXHJcbiAgICAgICAgICAgICAgICAgICBbcGhvbmVDb250cm9sXT1cImd1YXJkaWFuQ2VsbFBob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZ3VhcmRpYW5DZWxsUGhvbmVDb250cm9sXCJcclxuICAgICAgICAgICAgICAgICAgIG1heGxlbmd0aD1cIjE0XCIvPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVscC1ibG9ja1wiICpuZ0lmPVwidmljdGltRm9ybS5nZXQoJ2d1YXJkaWFuQ2VsbFBob25lJykuZXJyb3JzXHJcbiAgICAgICAgICAgICAgICAgICAgICYmICh2aWN0aW1Gb3JtLmdldCgnZ3VhcmRpYW5DZWxsUGhvbmUnKS5kaXJ0eSB8fCB2aWN0aW1Gb3JtLmdldCgnZ3VhcmRpYW5DZWxsUGhvbmUnKS50b3VjaGVkKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxtYXQtZXJyb3I+PHN0cm9uZz5HdWFyZGlhbiBDZWxsIHBob25lIG51bWJlciBmb3JtYXQgaXMgbm90IGNvcnJlY3QuPC9zdHJvbmc+PC9tYXQtZXJyb3I+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZCA+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+R3VhcmRpYW4gV29yayBQaG9uZTo8L21hdC1sYWJlbD5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgPGlucHV0XHJcbiAgICAgICAgICAgICAgICAgICAgaWQ9XCJ0ZWw1XCJcclxuICAgICAgICAgICAgICAgICAgICBtYXRJbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgIHBob25lTWFza1xyXG4gICAgICAgICAgICAgICAgICAgIFtwcmVWYWx1ZV09XCJlZGl0VmljdGltLmd1YXJkaWFuV29ya1Bob25lXCJcclxuICAgICAgICAgICAgICAgICAgICBbcGhvbmVDb250cm9sXT1cImd1YXJkaWFuV29ya1Bob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImd1YXJkaWFuV29ya1Bob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgbWF4bGVuZ3RoPVwiMTRcIi8+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWxwLWJsb2NrXCIgKm5nSWY9XCJ2aWN0aW1Gb3JtLmdldCgnZ3VhcmRpYW5Xb3JrUGhvbmUnKS5lcnJvcnNcclxuICAgICAgICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ2d1YXJkaWFuV29ya1Bob25lJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ2d1YXJkaWFuV29ya1Bob25lJykudG91Y2hlZClcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWVycm9yPjxzdHJvbmc+R3VhcmRpYW4gd29yayBwaG9uZSBudW1iZXIgZm9ybWF0IGlzIG5vdCBjb3JyZWN0Ljwv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C1hZGRyZXNzXHJcblxyXG4gICAgICAgICAgICAgICAgW3Nob3dQc2FdPVwidHJ1ZVwiXHJcbiAgICAgICAgICAgICAgICBbbW9kaWZpZWRCeV09XCJzdGFmZklkXCJcclxuICAgICAgICAgICAgICAgIFtpZF09XCJndWFyZGlhbkFkZHJlc3NJZFwiXHJcbiAgICAgICAgICAgICAgICAoYWRkcmVzc0lkQ2hhbmdlKT1cIm9uR3VhcmRpYW5BZGRyZXNzQ2hhbmdlKCRldmVudClcIlxyXG4gICAgICAgICAgICAgICAgW291dGxpbmVdPVwidHJ1ZVwiXHJcbiAgICAgICAgICAgICAgICByZWFkb25seT1cImZhbHNlXCJcclxuICAgICAgICAgICAgICAgIFtyb3dIZWlnaHRdPVwiODBcIlxyXG4gICAgICAgICAgICAgICAgKGlzVmFsaWQpPVwiZmFsc2VcIlxyXG4gICAgICAgICAgICAgICAgW2FkZHJlc3NWYWxpZGF0b3JzXT1cImFkZHJlc3NWYWxpZGF0b3JzXCJcclxuICAgICAgICAgICAgICAgICNndWFyZGlhbkFkZHJlc3NDb21wb25lbnRcclxuICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIDwvYXBwLXNtYXJ0LWFkZHJlc3M+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgPGJyPjxicj48YnI+XHJcbiAgICAgICAgICAgIDwvbWF0LXRhYj5cclxuXHJcbiAgICAgICAgICAgIDwhLS1hZHZvY2F0ZS0tPlxyXG5cclxuICAgICAgICAgICAgICA8bWF0LXRhYiAgKm5nSWY9XCJhZHZvY2F0ZVRhYkZsYWdcIiBsYWJlbD1cIkFkdm9jYXRlXCIgPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0nY29udGFpbmVyJz5cclxuXHJcbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgIDx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e2l0ZW0ubmFtZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvbWF0LXNlbGVjdD5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG5cclxuICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1jaGVja2JveFxyXG4gICAgICAgICAgICAgICAgICBjb2xvciA9IFwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICAgIGZvcm1Db250cm9sTmFtZT1cImFkdm9jYXRlTm9QaG9uZUZsYWdcIlxyXG5cclxuICAgICAgICAgICAgICAgICAgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmFkdm9jYXRlTm9QaG9uZUZsYWdcIiA+XHJcbiAgICAgICAgICAgICAgICAgIE5vIFBob25lIChJZiB0aGVyZSBpcyBubyBwaG9uZSwgdGhlIHBob25lIGZpZWxkcyBhcmUgbm8gbG9uZ2VyIHJlcXVpcmVkKTwvbWF0LWNoZWNrYm94PlxyXG4gICAgICAgICAgICAgICAgICA8aW5wdXQgbWF0SW5wdXQgcGxhY2Vob2xkZXI9XCJcIiBzdHlsZT1cImRpc3BsYXk6IG5vbmU7XCI+XHJcbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuICAgICAgICAgICAgICAgIDxkaXY+PC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8bWF0LWNhcmQ+XHJcbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQgPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPkFkdm9jYXRlIEhvbWUgUGhvbmU6PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgPGlucHV0XHJcbiAgICAgICAgICAgICAgICAgICAgaWQ9XCJ0ZWxcIlxyXG4gICAgICAgICAgICAgICAgICAgIG1hdElucHV0XHJcbiAgICAgICAgICAgICAgICAgICAgcGhvbmVNYXNrXHJcbiAgICAgICAgICAgICAgICAgICAgW3ByZVZhbHVlXT1cImVkaXRWaWN0aW0uYWR2b2NhdGVIb21lUGhvbmVcIlxyXG4gICAgICAgICAgICAgICAgICAgIFtwaG9uZUNvbnRyb2xdPVwiYWR2b2NhdGVIb21lUGhvbmVDb250cm9sXCJcclxuICAgICAgICAgICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiYWR2b2NhdGVIb21lUGhvbmVDb250cm9sXCJcclxuICAgICAgICAgICAgICAgICAgICBtYXhsZW5ndGg9XCIxNFwiLz5cclxuXHJcblxyXG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWxwLWJsb2NrXCIgKm5nSWY9XCJ2aWN0aW1Gb3JtLmdldCgnYWR2b2NhdGVIb21lUGhvbmUnKS5lcnJvcnNcclxuICAgICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ2Fkdm9jYXRlSG9tZVBob25lJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ2Fkdm9jYXRlSG9tZVBob25lJykudG91Y2hlZClcIj5cclxuICAgICAgICAgICAgICAgICAgICA8bWF0LWVycm9yPjxzdHJvbmc+QWR2b2NhdGUgaG9tZSBudW1iZXIgZm9ybWF0IGlzIG5vdCBjb3JyZWN0Ljwvc3Ryb25nPjwvbWF0LWVycm9yPlxyXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG5cclxuICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5BZHZvY2F0ZSBDZWxsIFBob25lOjwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgIGlkPVwidGVsN1wiXHJcbiAgICAgICAgICAgICAgICAgICAgbWF0SW5wdXRcclxuICAgICAgICAgICAgICAgICAgICBwaG9uZU1hc2tcclxuICAgICAgICAgICAgICAgICAgICBbcHJlVmFsdWVdPVwiZWRpdFZpY3RpbS5hZHZvY2F0ZUNlbGxQaG9uZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgW3Bob25lQ29udHJvbF09XCJhZHZvY2F0ZUNlbGxQaG9uZUNvbnRyb2xcIlxyXG4gICAgICAgICAgICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJhZHZvY2F0ZUNlbGxQaG9uZUNvbnRyb2xcIlxyXG4gICAgICAgICAgICAgICAgICAgIG1heGxlbmd0aD1cIjE0XCIvPlxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVscC1ibG9ja1wiICpuZ0lmPVwidmljdGltRm9ybS5nZXQoJ2Fkdm9jYXRlQ2VsbFBob25lJykuZXJyb3JzXHJcbiAgICAgICAgICAgICAgICAgICAgJiYgKHZpY3RpbUZvcm0uZ2V0KCdhZHZvY2F0ZUNlbGxQaG9uZScpLmRpcnR5IHx8IHZpY3RpbUZvcm0uZ2V0KCdhZHZvY2F0ZUNlbGxQaG9uZScpLnRvdWNoZWQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1lcnJvcj48c3Ryb25nPkFkdm9jYXRlIGNlbGwgbnVtYmVyIGZvcm1hdCBpcyBub3QgY29ycmVjdC48L3N0cm9uZz48L21hdC1lcnJvcj5cclxuICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPG1hdC1mb3JtLWZpZWxkPlxyXG4gICAgICAgICAgICAgICAgICA8bWF0LWxhYmVsPkFkdm9jYXRlIFdvcmsgUGhvbmU6PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgPGlucHV0XHJcbiAgICAgICAgICAgICAgICAgICAgaWQ9XCJ0ZWw4XCJcclxuICAgICAgICAgICAgICAgICAgICBtYXRJbnB1dFxyXG4gICAgICAgICAgICAgICAgICAgIHBob25lTWFza1xyXG4gICAgICAgICAgICAgICAgICAgIFtwcmVWYWx1ZV09XCJlZGl0VmljdGltLmFkdm9jYXRlV29ya1Bob25lXCJcclxuICAgICAgICAgICAgICAgICAgICBbcGhvbmVDb250cm9sXT1cImFkdm9jYXRlV29ya1Bob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImFkdm9jYXRlV29ya1Bob25lQ29udHJvbFwiXHJcbiAgICAgICAgICAgICAgICAgICAgbWF4bGVuZ3RoPVwiMTRcIi8+XHJcblxyXG5cclxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVscC1ibG9ja1wiICpuZ0lmPVwidmljdGltRm9ybS5nZXQoJ2Fkdm9jYXRlV29ya1Bob25lJykuZXJyb3JzXHJcbiAgICAgICAgICAgICAgICAgICAgJiYgKHZpY3RpbUZvcm0uZ2V0KCdhZHZvY2F0ZVdvcmtQaG9uZScpLmRpcnR5IHx8IHZpY3RpbUZvcm0uZ2V0KCdhZHZvY2F0ZVdvcmtQaG9uZScpLnRvdWNoZWQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1lcnJvcj48c3Ryb25nPkFkdm9jYXRlIHdvcmsgbnVtYmVyIGZvcm1hdCBpcyBub3QgY29ycmVjdC48L3N0cm9uZz48L21hdC1lcnJvcj5cclxuICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWNhcmQ+XHJcblxyXG4gICAgICAgICAgICAgICAgPGRpdj48L2Rpdj5cclxuXHJcbiAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZ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dXRsaW5lXT1cInRydWVcIlxyXG4gICAgICAgICAgICAgIHJlYWRvbmx5PVwiZmFsc2VcIlxyXG4gICAgICAgICAgICAgIFtyb3dIZWlnaHRdPVwiODBcIlxyXG4gICAgICAgICAgICAgIChpc1ZhbGlkKT1cImZhbHNlXCJcclxuICAgICAgICAgICAgICBbYWRkcmVzc1ZhbGlkYXRvcnNdPVwiYWRkcmVzc1ZhbGlkYXRvcnNcIlxyXG4gICAgICAgICAgICAgICNhZHZvY2F0ZUFkZHJlc3NDb21wb25lbnQgPlxyXG4gICAgICAgICAgICAgIDwvYXBwLXNtYXJ0LWFkZHJlc3M+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgPGJyPjxicj48YnI+XHJcbiAgICAgICAgICAgIDwvbWF0LXRhYj5cclxuXHJcblxyXG4gICAgICAgICAgICAgPG1hdC10YWIgIGxhYmVsPVwiRW1lcmdlbmN5IENvbnRhY3RcIj5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9J2NvbnRhaW5lcic+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPG1hdC1sYWJlbD5FbWVyZ2VuY3kgQ29udGFjdCBOYW1lOjwvbWF0LWxhYmVsPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlucHV0IG1hdElucHV0ICBmb3JtQ29udHJvbE5hbWU9XCJlbWVyZ2VuY3lDb250YWN0XCIgWyhuZ01vZGVsKV09XCJlZGl0VmljdGltLmVtZXJnZW5jeUNvbnRhY3RcIiAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtZm9ybS1maWVsZD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtbGFiZWw+RW1lcmdlbmN5IFBob25lIE51bWJlcjo8L21hdC1sYWJlbD5cclxuXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW5wdXRcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlkPVwidGVsXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1hdElucHV0XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwaG9uZU1hc2tcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtwcmVWYWx1ZV09XCJlZGl0VmljdGltLmVtZXJnZW5jeUNvbnRhY3RQaG9uZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbcGhvbmVDb250cm9sXT1cImVtZXJnZW5jeUNvbnRhY3RQaG9uZUNvbnRyb2xcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImVtZXJnZW5jeUNvbnRhY3RQaG9uZUNvbnRyb2xcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbWF4bGVuZ3RoPVwiMTRcIi8+XHJcblxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVscC1ibG9ja1wiICpuZ0lmPVwidmljdGltRm9ybS5nZXQoJ2VtZXJnZW5jeUNvbnRhY3RQaG9uZScpLmVycm9yc1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAmJiAodmljdGltRm9ybS5nZXQoJ2VtZXJnZW5jeUNvbnRhY3RQaG9uZScpLmRpcnR5IHx8IHZpY3RpbUZvcm0uZ2V0KCdlbWVyZ2VuY3lDb250YWN0UGhvbmUnKS50b3VjaGVkKVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWVycm9yPjxzdHJvbmc+RW1lcmdlbmN5IGNvbnRhY3QgbnVtYmVyIGZvcm1hdCBpcyBub3QgY29ycmVjdC48L3N0cm9uZz48L21hdC1lcnJvcj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuXHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDxicj48YnI+PGJyPlxyXG4gICAgICAgICAgICA8L21hdC10YWI+XHJcblxyXG4gICAgICAgICAgPC9tYXQtdGFiLWdyb3VwPlxyXG4gICAgICAgICAgPGRpdiBjbGFzcz0nb3V0ZXInPlxyXG4gICAgICAgICAgICA8ZGl2PlxyXG4gICAgICAgICAgICAgICBBbGwgYnV0dG9ucyBhcHBseSB0byBhbGwgdGFicy4gSWYgc2F2ZSBidXR0b24gaXMgZ3JleSwgcGxlYXNlIGNoZWNrIGVhY2ggdGFiIHRvIG1ha2Ugc3VyZSB0aGUgcmVxdWlyZWQgZmllbGQgaXMgZmlsbGVkLjxicj48YnI+XHJcblxyXG4gICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiaGVscC1ibG9ja1wiICpuZ0lmPVwidmljdGltRm9ybS5nZXQoJ21pbm9yRmxhZycpLmVycm9yc1xyXG4gICAgICAgICAgICAgICAgICAgICYmICh2aWN0aW1Gb3JtLmdldCgnbWlub3JGbGFnJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ21pbm9yRmxhZycpLnRvdWNoZWQpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1lcnJvcj5JZiB2aWN0aW0gYSBtaW5vciBmaWVsZCBpcyA8c3Ryb25nPnJlcXVpcmVkPC9zdHJvbmc+PC9tYXQtZXJyb3I+XHJcbiAgICAgICAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJoZWxwLWJsb2NrXCIgKm5nSWY9XCJ2aWN0aW1Gb3JtLmdldCgndmljdGltQWR2b2NhdGVGbGFnJykuZ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AgICAgICAgICYmICh2aWN0aW1Gb3JtLmdldCgnb3RoZXJEcnVnJykuZGlydHkgfHwgdmljdGltRm9ybS5nZXQoJ290aGVyRHJ1ZycpLnRvdWNoZWQpXCI+XHJcbiAgICAgICAgICAgICAgPG1hdC1lcnJvcj5PdGhlciBkcnVnIGZpZWxkIGlzIDxzdHJvbmc+cmVxdWlyZWQ8L3N0cm9uZz48L21hdC1lcnJvcj5cclxuICAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuXHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImlubmVyXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gIG1hdC1yYWlzZWQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIChjbGljayk9XCJzYXZlVmljdGltKClcIiBbZGlzYWJsZWRdPVwiIXZpY3RpbUZvcm0udmFsaWRcIiAgPlNhdmUgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAmbmJzcDsmbmJzcDtcclxuICAgICAgICAgICAgICAgICAgPGRpdiAqbmdJZj1cInNob3dEZWxldGVcIiBjbGFzcz1cImlubmVyXCI+XHJcbiAgICAgICAgICAgICAgICAgIDxidXR0b24gIG1hdC1yYWlzZWQtYnV0dG9uIGNvbG9yPVwicHJpbWFyeVwiIChjbGljayk9XCJkZWxldGVWaWN0aW0oKVwiPkRlbGV0ZSA8L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgJm5ic3A7Jm5ic3A7XHJcbiAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJpbm5lclwiPlxyXG4gICAgICAgICAgICAgICAgICA8YnV0dG9uICBtYXQtcmFpc2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiAoY2xpY2spPVwiY2FuY2VsKClcIj5DbGVhciA8L2J1dHRvbj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgICAgICAmbmJzcDsmbmJzcDtcclxuICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBtYXQtcmFpc2VkLWJ1dHRvbiBjb2xvcj1cInByaW1hcnlcIiAgKGNsaWNrKT1cImJhY2soKVwiPkJhY2s8L2J1dHRvbj5cclxuXHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8YnI+XHJcbiAgICAgICAgPGJyPlxyXG5cclxuICAgICAgICA8ZGl2IGFsaWduPVwicmlnaHRcIj5cclxuICAgICAgICAgIDxidXR0b24gbWF0LXJhaXNlZC1idXR0b24gY29sb3I9XCJwcmltYXJ5XCIgIChjbGljayk9XCJhZGRDb250YWN0KClcIiAgPkFkZCB2aWN0aW0gY29udGFjdDwvYnV0dG9uPlxyXG4gICAgICAgIDwvZGl2PlxyXG5cclxuICAgICAgICA8ZGl2PlxyXG5cclxuICAgICAgICAgIDxtYXQtdGFibGUgI3RhYmxlIFtkYXRhU291cmNlXT1cImNvbnRhY3REYXRhU291cmNlXCIgY2xhc3M9XCJleGFtcGxlLXRhYmxlXCI+XHJcbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwiY29udGFjdERhdGVcIj5cclxuICAgICAgICAgICAgICAgIDxtYXQtaGVhZGVyLWNlbGwgKm1hdEhlYWRlckNlbGxEZWYgY2xhc3M9XCJleGFtcGxlLWhlYWRlci1jZWxsXCI+Q29udGFjdCBEYXRlPC9tYXQtaGVhZGVyLWNlbGw+XHJcbiAgICAgICAgICAgICAgICA8bWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgcm93XCIgY2xhc3M9XCJleGFtcGxlLWNlbGxcIj4ge3tyb3cuY29udGFjdERhdGUgfCBkYXRlfX0gPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgPC9uZy1jb250YWluZX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k8L21hdC1oZWFkZXItY2VsbD5cclxuICAgICAgICAgICAgICAgICAgICA8bWF0LWNlbGwgKm1hdENlbGxEZWY9XCJsZXQgcm93XCIgY2xhc3M9XCJleGFtcGxlLWNlbGxcIj4ge3tyb3cuc3RhZmZ9fSA8L21hdC1jZWxsPlxyXG4gICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICAgICAgPG5nLWNvbnRhaW5lciBtYXRDb2x1bW5EZWY9XCJjb21tZW50XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bWF0LWhlYWRlci1jZWxsICptYXRIZWFkZXJDZWxsRGVmIGNsYXNzPVwiZXhhbXBsZS1oZWFkZXItY2VsbFwiPkNvbW1lbnQ8L21hdC1oZWFkZXItY2VsbD5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiBjbGFzcz1cImV4YW1wbGUtY2VsbFwiPiB7e3Jvdy5jb21tZW50fX0gPC9tYXQtY2VsbD5cclxuICAgICAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuXHJcbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgbWF0Q29sdW1uRGVmPVwiY29udGFjdElkXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPG1hdC1oZWFkZXItY2VsbCAqbWF0SGVhZGVyQ2VsbERlZiBjbGFzcz1cImV4YW1wbGUtaGVhZGVyLWNlbGxcIj48L21hdC1oZWFkZXItY2VsbD5cclxuICAgICAgICAgICAgICAgIDxtYXQtY2VsbCAqbWF0Q2VsbERlZj1cImxldCByb3dcIiBjbGFzcz1cImV4YW1wbGUtY2VsbFwiPlxyXG5cclxuICAgICAgICAgICAgICAgIDwvbWF0LWNlbGw+XHJcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG5cclxuICAgICAgICAgICAgPG1hdC1oZWFkZXItcm93ICptYXRIZWFkZXJSb3dEZWY9XCJbJ2NvbnRhY3REYXRlJywgJ3ZpY3RpbUNvbnRhY3RNZXRob2QnLCduZXh0Q29udGFjdERhdGUnLCAnc3RhZmYnLCAnY29tbWVudCcsICdjb250YWN0SWQnXVwiIGNsYXNzPVwiZXhhbXBsZS1oZWFkZXItcm93XCI+PC9tYXQtaGVhZGVyLXJvdz5cclxuICAgICAgICAgICAgPG1hdC1yb3cgKm1hdFJvd0RlZj1cImxldCByb3c7IGNvbHVtbnM6Wydjb250YWN0RGF0ZScsICd2aWN0aW1Db250YWN0TWV0aG9kJywnbmV4dENvbnRhY3REYXRlJywgJ3N0YWZmJywgJ2NvbW1lbnQnLCAnY29udGFjdElkJ107XCIgY2xhc3M9XCJleGFtcGxlLXJvd1wiPjwvbWF0LXJvdz5cclxuICAgICAgICAgICAgPC9tYXQtdGFibGU+XHJcblxyXG5cclxuICAgICAgICA8L2Rpdj5cclxuXHJcbiAgPC9tYXQtY2FyZC1jb250ZW50PlxyXG48L21hdC1jYXJkPlxyXG4iXX0=
|