bhl-forms 0.7.2 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bhl-forms.es.js +551 -543
- package/dist/bhl-forms.iife.js +4 -4
- package/dist/bhl-forms.modern.es.js +649 -649
- package/dist/bhl-forms.modern.iife.js +7 -7
- package/dist/bhl-forms.modern.umd.js +7 -7
- package/dist/bhl-forms.umd.js +4 -4
- package/dist/forms/accidentsAndInjuries.es.js +1459 -1151
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +138 -137
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +1432 -1149
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -1
- package/dist/forms/childAndFamily.es.js +1327 -1043
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/childAndFamilySingle.es.js +1526 -1378
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +1998 -1807
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +138 -137
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +1347 -1050
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +1830 -1711
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +1539 -1385
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/divorce.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +1831 -1678
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalHomeImprovement.es.js +1361 -1975
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.json +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +1361 -1975
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.json +1 -1
- package/dist/forms/generalLegal.es.js +3035 -2535
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +3214 -2872
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +3035 -2535
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +3214 -2872
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +3214 -2872
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +2823 -2303
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +3214 -2872
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +1423 -1120
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +1393 -1106
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/landlordTenant.json +1 -1
- package/dist/forms/malpractice.es.js +1529 -1223
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +701 -530
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +1828 -1652
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +2850 -2405
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +1566 -1251
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +635 -520
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +409 -371
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +420 -316
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +138 -137
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +1426 -1112
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +1 -1
|
@@ -6,96 +6,101 @@ function LegalRedirectUrl() {
|
|
|
6
6
|
return 'https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}'
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL =
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const
|
|
9
|
+
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL =
|
|
10
|
+
'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
|
|
11
|
+
const DEFAULT_COMMENTS_LABEL_LEGAL = "Please briefly describe your legal issue in a few words:";
|
|
12
|
+
const DEFAULT_FINAL_HEADLINE_LEGAL = "Submit Your Case";
|
|
13
|
+
const DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL =
|
|
14
|
+
'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
|
|
15
|
+
const DEFAULT_FINAL_SUBHEADLINE_LEGAL =
|
|
16
|
+
"You may benefit from speaking with a legal professional. Please verify your contact information.";
|
|
17
|
+
const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL =
|
|
18
|
+
'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
19
|
+
const TCPA_LANGUAGE_LEGAL =
|
|
20
|
+
"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.";
|
|
16
21
|
const defaultLegalImprovementCrossSells = {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
22
|
+
"Auto and Car Accidents": "Injured in a Car Accident",
|
|
23
|
+
"Personal Injury": "Personal or Workplace Injury",
|
|
24
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
25
|
+
"Wills and Trusts": "Need a Will or Trust",
|
|
26
|
+
"Power of Attorney": "Update Power of Attorney",
|
|
27
|
+
"Social Security Disability and Insurance": "Interest in Disability Benefits",
|
|
23
28
|
};
|
|
24
29
|
const CROSS_SELL_OPTION_MAP_LEGAL = {
|
|
25
30
|
// Values can be a list or a map of value -> display value
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
"Auto and Car Accidents": {
|
|
32
|
+
"Social Security Disability and Insurance": "Interest in Disability Benefits",
|
|
33
|
+
"Wills and Trusts": "Need a Will or Trust",
|
|
34
|
+
"Workers Compensation": "Workplace Injury",
|
|
35
|
+
"Power of Attorney": "Update Power of Attorney",
|
|
36
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
37
|
+
"Child Custody": "Need help with Child Custody",
|
|
33
38
|
},
|
|
34
39
|
"Personal Injury": {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
41
|
+
"Wills and Trusts": "Need a Will or Trust",
|
|
42
|
+
"Power of Attorney": "Update Power of Attorney",
|
|
43
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
44
|
+
"Child Custody": "Need help with Child Custody",
|
|
40
45
|
// TODO add one more?
|
|
41
46
|
},
|
|
42
47
|
"Workers Compensation": {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
49
|
+
"Wills and Trusts": "Need a Will or Trust",
|
|
50
|
+
"Power of Attorney": "Update Power of Attorney",
|
|
51
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
52
|
+
"Child Custody": "Need help with Child Custody",
|
|
48
53
|
// TODO add one more?
|
|
49
54
|
},
|
|
50
55
|
"DUI and DWI": {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
"Personal Injury": "Personal or Workplace Injury",
|
|
57
|
+
"Wills and Trusts": "Need a Will or Trust",
|
|
58
|
+
"Social Security Disability and Insurance": "Interest in Disability Benefits",
|
|
59
|
+
"Power of Attorney": "Update Power of Attorney",
|
|
60
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
61
|
+
"Child Custody": "Need help with Child Custody",
|
|
57
62
|
},
|
|
58
63
|
"Wills and Trusts": {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
"Auto and Car Accidents": "Injured in a Car Accident",
|
|
65
|
+
"Personal Injury": "Personal or Workplace Injury",
|
|
66
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
67
|
+
"Social Security Disability and Insurance": "Interest in Disability Benefits",
|
|
68
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
69
|
+
"Child Custody": "Need help with Child Custody",
|
|
65
70
|
},
|
|
66
71
|
"Probate and Estates": {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
72
|
+
"Auto and Car Accidents": "Injured in a Car Accident",
|
|
73
|
+
"Personal Injury": "Personal or Workplace Injury",
|
|
74
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
75
|
+
"Social Security Disability and Insurance": "Interest in Disability Benefits",
|
|
76
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
77
|
+
"Child Custody": "Need help with Child Custody",
|
|
73
78
|
},
|
|
74
79
|
"Power of Attorney": {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
"Auto and Car Accidents": "Injured in a Car Accident",
|
|
81
|
+
"Personal Injury": "Personal or Workplace Injury",
|
|
82
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
83
|
+
"Social Security Disability and Insurance": "Interest in Disability Benefits",
|
|
84
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
85
|
+
"Child Custody": "Need help with Child Custody",
|
|
81
86
|
},
|
|
82
87
|
"Long Term Disability": {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
88
|
+
"Auto and Car Accidents": "Injured in a Car Accident",
|
|
89
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
90
|
+
"Wills and Trusts": "Need a Will or Trust",
|
|
91
|
+
"Power of Attorney": "Update Power of Attorney",
|
|
92
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
93
|
+
"Child Custody": "Need help with Child Custody",
|
|
89
94
|
},
|
|
90
95
|
"Social Security Disability and Insurance": {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
"Auto and Car Accidents": "Injured in a Car Accident",
|
|
97
|
+
"DUI and DWI": "Involved in a DUI/DWI",
|
|
98
|
+
"Wills and Trusts": "Need a Will or Trust",
|
|
99
|
+
"Power of Attorney": "Update Power of Attorney",
|
|
100
|
+
"Divorce and Separation": "Need a Divorce or Separation",
|
|
101
|
+
"Child Custody": "Need help with Child Custody",
|
|
97
102
|
},
|
|
98
|
-
|
|
103
|
+
"*": defaultLegalImprovementCrossSells,
|
|
99
104
|
};
|
|
100
105
|
|
|
101
106
|
// ------ Common Base Settings
|
|
@@ -104,32 +109,48 @@ const checkbox = (updates) => {
|
|
|
104
109
|
if (updates.name && !updates.id) {
|
|
105
110
|
updates.id = updates.name;
|
|
106
111
|
}
|
|
107
|
-
return merge(
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
return merge(
|
|
113
|
+
{
|
|
114
|
+
$formkit: "checkbox",
|
|
115
|
+
validation: "required",
|
|
116
|
+
validationMessages: {
|
|
117
|
+
required: "Field is required",
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
updates
|
|
121
|
+
)
|
|
114
122
|
};
|
|
115
123
|
|
|
116
124
|
const sbsCheckbox = (updates) => {
|
|
117
|
-
updates.legendClass =
|
|
118
|
-
updates.fieldsetClass =
|
|
119
|
-
updates.optionsClass =
|
|
120
|
-
updates.innerClass =
|
|
121
|
-
updates.wrapperClass =
|
|
125
|
+
updates.legendClass = "legend-left required";
|
|
126
|
+
updates.fieldsetClass = "$reset side-by-side";
|
|
127
|
+
updates.optionsClass = "t-pl-1";
|
|
128
|
+
updates.innerClass = "t-flex t-items-center";
|
|
129
|
+
updates.wrapperClass = "t-mb-3";
|
|
122
130
|
return checkbox(updates)
|
|
123
131
|
};
|
|
124
132
|
|
|
125
133
|
const col2Checkbox = (updates) => {
|
|
126
134
|
if (!updates || !updates.legendClass) {
|
|
127
|
-
updates.legendClass =
|
|
135
|
+
updates.legendClass = "required";
|
|
128
136
|
}
|
|
129
|
-
updates.fieldsetClass =
|
|
130
|
-
updates.optionsClass =
|
|
131
|
-
updates.innerClass =
|
|
132
|
-
updates.wrapperClass =
|
|
137
|
+
updates.fieldsetClass = "$reset";
|
|
138
|
+
updates.optionsClass = "t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2";
|
|
139
|
+
updates.innerClass = "t-items-start";
|
|
140
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
141
|
+
return checkbox(updates)
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
const verticalCol2Checkbox = (updates) => {
|
|
145
|
+
if (!updates || !updates.legendClass) {
|
|
146
|
+
updates.legendClass = "required";
|
|
147
|
+
}
|
|
148
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center";
|
|
149
|
+
updates.optionClass = "t-mx-5";
|
|
150
|
+
updates.optionsClass = "t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2";
|
|
151
|
+
updates.innerClass = "t-items-center";
|
|
152
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
153
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
133
154
|
return checkbox(updates)
|
|
134
155
|
};
|
|
135
156
|
|
|
@@ -137,83 +158,104 @@ const radio = (updates) => {
|
|
|
137
158
|
if (updates.name && !updates.id) {
|
|
138
159
|
updates.id = updates.name;
|
|
139
160
|
}
|
|
140
|
-
return merge(
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
161
|
+
return merge(
|
|
162
|
+
{
|
|
163
|
+
$formkit: "radio",
|
|
164
|
+
validation: "required",
|
|
165
|
+
validationMessages: {
|
|
166
|
+
required: "Field is required",
|
|
167
|
+
},
|
|
168
|
+
optionsClass: "t-pt-3 t-pl-1",
|
|
169
|
+
legendClass: "required",
|
|
145
170
|
},
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
171
|
+
updates
|
|
172
|
+
)
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
const col2Radio = (updates) => {
|
|
176
|
+
updates.legendClass = "required";
|
|
177
|
+
updates.fieldsetClass = "$reset";
|
|
178
|
+
updates.optionsClass = "t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2";
|
|
179
|
+
updates.innerClass = "t-items-start";
|
|
180
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
181
|
+
return radio(updates)
|
|
149
182
|
};
|
|
150
183
|
|
|
151
184
|
const col2RadioCenter = (updates) => {
|
|
152
|
-
updates.legendClass =
|
|
153
|
-
if (typeof updates.fieldsetClass ===
|
|
154
|
-
updates.fieldsetClass =
|
|
185
|
+
updates.legendClass = "required t-w-[100%] t-text-center";
|
|
186
|
+
if (typeof updates.fieldsetClass === "undefined") {
|
|
187
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center";
|
|
155
188
|
}
|
|
156
|
-
updates.optionsClass =
|
|
157
|
-
updates.innerClass =
|
|
158
|
-
updates.wrapperClass =
|
|
159
|
-
updates.optionClass =
|
|
160
|
-
updates.messagesClass =
|
|
161
|
-
updates.helpClass =
|
|
189
|
+
updates.optionsClass = "t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2";
|
|
190
|
+
updates.innerClass = "t-items-start";
|
|
191
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
192
|
+
updates.optionClass = "t-pl-4 md:t-pl-8 md:t-min-w-[200px]";
|
|
193
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
194
|
+
updates.helpClass = "t-mt-0 t-mb-4 !t-text-sm t-text-center";
|
|
195
|
+
return radio(updates)
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
const sbsRadio = (updates) => {
|
|
199
|
+
updates.legendClass = "legend-left required";
|
|
200
|
+
updates.fieldsetClass = "$reset side-by-side";
|
|
201
|
+
updates.optionsClass = "t-pl-1";
|
|
202
|
+
updates.innerClass = "t-flex t-items-center";
|
|
203
|
+
updates.wrapperClass = "t-mb-3";
|
|
162
204
|
return radio(updates)
|
|
163
205
|
};
|
|
164
206
|
|
|
165
207
|
const sbs2ColRadio = (updates) => {
|
|
166
|
-
updates.legendClass =
|
|
167
|
-
updates.fieldsetClass =
|
|
168
|
-
updates.optionsClass =
|
|
169
|
-
updates.innerClass =
|
|
170
|
-
updates.wrapperClass =
|
|
208
|
+
updates.legendClass = "legend-left-flex md:t-max-w-[40%] required";
|
|
209
|
+
updates.fieldsetClass = "$reset side-by-side-flex";
|
|
210
|
+
updates.optionsClass = "md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125";
|
|
211
|
+
updates.innerClass = "t-flex t-items-start";
|
|
212
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
171
213
|
return radio(updates)
|
|
172
214
|
};
|
|
173
215
|
|
|
174
216
|
const sbs2ItemRadio = (updates) => {
|
|
175
|
-
updates.legendClass =
|
|
176
|
-
updates.fieldsetClass =
|
|
177
|
-
updates.optionsClass =
|
|
178
|
-
updates.innerClass =
|
|
179
|
-
updates.optionClass =
|
|
217
|
+
updates.legendClass = "legend-left t-pb-1 required";
|
|
218
|
+
updates.fieldsetClass = "$reset side-by-side t-items-center";
|
|
219
|
+
updates.optionsClass = "t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center";
|
|
220
|
+
updates.innerClass = "t-flex t-items-center";
|
|
221
|
+
updates.optionClass = "t-pr-1";
|
|
180
222
|
return radio(updates)
|
|
181
223
|
};
|
|
182
224
|
|
|
183
225
|
const sbsYesNoRadio = (updates) => {
|
|
184
|
-
updates.options = [
|
|
226
|
+
updates.options = ["Yes", "No"];
|
|
185
227
|
return sbs2ItemRadio(updates)
|
|
186
228
|
};
|
|
187
229
|
|
|
188
230
|
const verticalButtonRadio = (updates) => {
|
|
189
|
-
updates.legendClass =
|
|
190
|
-
updates.fieldsetClass =
|
|
191
|
-
if (typeof updates.optionsClass ===
|
|
192
|
-
updates.optionsClass =
|
|
231
|
+
updates.legendClass = "legend-left";
|
|
232
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center t-flex-col-reverse t-items-center";
|
|
233
|
+
if (typeof updates.optionsClass === "undefined") {
|
|
234
|
+
updates.optionsClass = "t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3";
|
|
193
235
|
}
|
|
194
|
-
updates.optionClass =
|
|
195
|
-
updates.wrapperClass =
|
|
196
|
-
updates.labelClass =
|
|
236
|
+
updates.optionClass = "radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5";
|
|
237
|
+
updates.wrapperClass = "$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]";
|
|
238
|
+
updates.labelClass = "t-font-semibold t-text-[#1e448f] t-w-[100%]";
|
|
197
239
|
updates.decoratorIcon = false;
|
|
198
|
-
updates.messagesClass =
|
|
199
|
-
updates.helpClass =
|
|
240
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
241
|
+
updates.helpClass = "t-mt-2.5 !t-text-sm t-text-center";
|
|
200
242
|
return radio(updates)
|
|
201
243
|
};
|
|
202
244
|
|
|
203
245
|
const verticalYesNoRadio = (updates) => {
|
|
204
|
-
updates.options = [
|
|
205
|
-
updates.optionsClass =
|
|
246
|
+
updates.options = ["Yes", "No"];
|
|
247
|
+
updates.optionsClass = "t-flex t-justify-center t-my-3";
|
|
206
248
|
return verticalButtonRadio(updates)
|
|
207
249
|
};
|
|
208
250
|
|
|
209
251
|
const verticalRadio = (updates) => {
|
|
210
|
-
updates.legendClass =
|
|
211
|
-
updates.fieldsetClass =
|
|
212
|
-
updates.optionsClass =
|
|
213
|
-
updates.innerClass =
|
|
214
|
-
updates.wrapperClass =
|
|
215
|
-
updates.optionClass =
|
|
216
|
-
updates.messagesClass =
|
|
252
|
+
updates.legendClass = "required";
|
|
253
|
+
updates.fieldsetClass = "$reset t-flex t-justify-center";
|
|
254
|
+
updates.optionsClass = "t-pl-2 t-pt-3";
|
|
255
|
+
updates.innerClass = "t-items-center";
|
|
256
|
+
updates.wrapperClass = "$reset t-flex t-cursor-pointer t-mb-3";
|
|
257
|
+
updates.optionClass = "t-pl-4 md:t-pl-12";
|
|
258
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
217
259
|
return radio(updates)
|
|
218
260
|
};
|
|
219
261
|
|
|
@@ -221,23 +263,35 @@ const select = (updates) => {
|
|
|
221
263
|
if (updates.name && !updates.id) {
|
|
222
264
|
updates.id = updates.name;
|
|
223
265
|
}
|
|
224
|
-
return merge(
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
266
|
+
return merge(
|
|
267
|
+
{
|
|
268
|
+
$formkit: "select",
|
|
269
|
+
placeholder: "Please Select",
|
|
270
|
+
validation: "required",
|
|
271
|
+
validationMessages: {
|
|
272
|
+
required: "Field is required",
|
|
273
|
+
},
|
|
274
|
+
inputClass: "t-bg-white",
|
|
275
|
+
labelClass: "required",
|
|
230
276
|
},
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}, updates)
|
|
277
|
+
updates
|
|
278
|
+
)
|
|
234
279
|
};
|
|
235
280
|
|
|
236
281
|
const sbsSelect = (updates) => {
|
|
237
|
-
updates.labelClass =
|
|
238
|
-
updates.wrapperClass =
|
|
239
|
-
updates.innerClass =
|
|
240
|
-
updates.helpClass =
|
|
282
|
+
updates.labelClass = "required";
|
|
283
|
+
updates.wrapperClass = "side-by-side t-items-center";
|
|
284
|
+
updates.innerClass = "select-height-content";
|
|
285
|
+
updates.helpClass = "t-mt-2.5 md:t-text-right md:t-mt-[-5px]";
|
|
286
|
+
return select(updates)
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
const verticalSelect = (updates) => {
|
|
290
|
+
updates.labelClass = "required";
|
|
291
|
+
updates.wrapperClass = "t-flex t-justify-center";
|
|
292
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
293
|
+
updates.inputClass = "t-min-w-[150px] t-bg-white";
|
|
294
|
+
updates.helpClass = "t-mt-2.5 t-text-center";
|
|
241
295
|
return select(updates)
|
|
242
296
|
};
|
|
243
297
|
|
|
@@ -245,26 +299,29 @@ const text = (updates) => {
|
|
|
245
299
|
if (updates.name && !updates.id) {
|
|
246
300
|
updates.id = updates.name;
|
|
247
301
|
}
|
|
248
|
-
return merge(
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
302
|
+
return merge(
|
|
303
|
+
{
|
|
304
|
+
$formkit: "text",
|
|
305
|
+
validation: "required",
|
|
306
|
+
validationMessages: {
|
|
307
|
+
required: "Field is required",
|
|
308
|
+
},
|
|
309
|
+
labelClass: "required",
|
|
253
310
|
},
|
|
254
|
-
|
|
255
|
-
|
|
311
|
+
updates
|
|
312
|
+
)
|
|
256
313
|
};
|
|
257
314
|
|
|
258
315
|
const sbsText = (updates) => {
|
|
259
|
-
updates.wrapperClass =
|
|
316
|
+
updates.wrapperClass = "side-by-side t-items-center";
|
|
260
317
|
return text(updates)
|
|
261
318
|
};
|
|
262
319
|
|
|
263
320
|
const verticalText = (updates) => {
|
|
264
|
-
updates.wrapperClass =
|
|
265
|
-
updates.messagesClass =
|
|
266
|
-
updates.inputClass =
|
|
267
|
-
updates.helpClass =
|
|
321
|
+
updates.wrapperClass = "t-flex t-justify-center";
|
|
322
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
323
|
+
updates.inputClass = "t-text-center";
|
|
324
|
+
updates.helpClass = "t-mt-2.5 !t-text-sm t-text-center";
|
|
268
325
|
return text(updates)
|
|
269
326
|
};
|
|
270
327
|
|
|
@@ -272,630 +329,852 @@ const textArea = (updates) => {
|
|
|
272
329
|
if (updates.name && !updates.id) {
|
|
273
330
|
updates.id = updates.name;
|
|
274
331
|
}
|
|
275
|
-
return merge(
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
332
|
+
return merge(
|
|
333
|
+
{
|
|
334
|
+
$formkit: "textarea",
|
|
335
|
+
rows: 5,
|
|
336
|
+
maxlength: 500,
|
|
337
|
+
validation: "required",
|
|
338
|
+
validationMessages: {
|
|
339
|
+
required: "Field is required",
|
|
340
|
+
},
|
|
341
|
+
innerClass: "t-max-w-xl",
|
|
342
|
+
labelClass: "required",
|
|
282
343
|
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
}, updates)
|
|
344
|
+
updates
|
|
345
|
+
)
|
|
286
346
|
};
|
|
287
347
|
|
|
288
348
|
const date = (updates) => {
|
|
289
349
|
if (updates.name && !updates.id) {
|
|
290
350
|
updates.id = updates.name;
|
|
291
351
|
}
|
|
292
|
-
return merge(
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
352
|
+
return merge(
|
|
353
|
+
{
|
|
354
|
+
$formkit: "DatePicker",
|
|
355
|
+
validation: "required",
|
|
356
|
+
validationMessages: {
|
|
357
|
+
required: "Field is required",
|
|
358
|
+
},
|
|
359
|
+
labelClass: "required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",
|
|
360
|
+
innerClass:
|
|
361
|
+
"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500",
|
|
297
362
|
},
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}, updates)
|
|
363
|
+
updates
|
|
364
|
+
)
|
|
301
365
|
};
|
|
302
366
|
|
|
303
367
|
const sbsDate = (updates) => {
|
|
304
|
-
updates.wrapperClass =
|
|
368
|
+
updates.wrapperClass = "side-by-side t-items-center";
|
|
305
369
|
return date(updates)
|
|
306
370
|
};
|
|
307
371
|
|
|
308
372
|
const verticalDate = (updates) => {
|
|
309
|
-
updates.wrapperClass =
|
|
310
|
-
updates.inputClass =
|
|
311
|
-
updates.messagesClass =
|
|
373
|
+
updates.wrapperClass = "t-flex t-justify-center";
|
|
374
|
+
updates.inputClass = "t-text-center";
|
|
375
|
+
updates.messagesClass = "t-flex t-justify-center";
|
|
312
376
|
return date(updates)
|
|
313
377
|
};
|
|
314
378
|
|
|
315
|
-
const email = (scope) =>
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
autocomplete: "given-name",
|
|
334
|
-
validationMessages: {
|
|
335
|
-
required: 'First Name is required'
|
|
336
|
-
}
|
|
337
|
-
});
|
|
379
|
+
const email = (scope, vertical, updates = {}) => {
|
|
380
|
+
const func = vertical ? verticalText : sbsText;
|
|
381
|
+
const label = vertical ? updates.label : "Email Address:";
|
|
382
|
+
return func({
|
|
383
|
+
$formkit: "email",
|
|
384
|
+
name: scope ? scope + ":" + "Email" : "Email",
|
|
385
|
+
label,
|
|
386
|
+
placeholder: "email@domain.com",
|
|
387
|
+
autocomplete: "email",
|
|
388
|
+
"data-tf-sensitive": "false",
|
|
389
|
+
validation: "required|email",
|
|
390
|
+
validationMessages: {
|
|
391
|
+
required: "Email is required",
|
|
392
|
+
email: "Invalid Email",
|
|
393
|
+
},
|
|
394
|
+
...updates,
|
|
395
|
+
})
|
|
396
|
+
};
|
|
338
397
|
|
|
339
|
-
const
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
398
|
+
const firstName = (scope, vertical, updates = {}) => {
|
|
399
|
+
const func = vertical ? verticalText : sbsText;
|
|
400
|
+
const label = vertical ? updates.label : "First Name:";
|
|
401
|
+
return func({
|
|
402
|
+
label,
|
|
403
|
+
placeholder: "First",
|
|
404
|
+
name: scope ? scope + ":" + "First_Name" : "First_Name",
|
|
405
|
+
autocomplete: "given-name",
|
|
406
|
+
validationMessages: {
|
|
407
|
+
required: "First Name is required",
|
|
408
|
+
},
|
|
409
|
+
...updates,
|
|
410
|
+
})
|
|
411
|
+
};
|
|
348
412
|
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
},
|
|
364
|
-
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
|
|
365
|
-
});
|
|
413
|
+
const lastName = (scope, vertical, updates = {}) => {
|
|
414
|
+
const func = vertical ? verticalText : sbsText;
|
|
415
|
+
const label = vertical ? updates.label : "Last Name:";
|
|
416
|
+
return func({
|
|
417
|
+
label,
|
|
418
|
+
placeholder: "Last",
|
|
419
|
+
name: scope ? scope + ":" + "Last_Name" : "Last_Name",
|
|
420
|
+
autocomplete: "family-name",
|
|
421
|
+
validationMessages: {
|
|
422
|
+
required: "Last Name is required",
|
|
423
|
+
},
|
|
424
|
+
...updates,
|
|
425
|
+
})
|
|
426
|
+
};
|
|
366
427
|
|
|
428
|
+
const phone = (scope, vertical, updates = {}) => {
|
|
429
|
+
const func = vertical ? verticalText : sbsText;
|
|
430
|
+
const label = vertical ? updates.label : "Phone Number:";
|
|
431
|
+
return func({
|
|
432
|
+
$formkit: "tel",
|
|
433
|
+
name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
|
|
434
|
+
label,
|
|
435
|
+
placeholder: "###-###-####",
|
|
436
|
+
maxlength: 12,
|
|
437
|
+
help: "10-digit phone number, hyphens optional",
|
|
438
|
+
autocomplete: "tel-national",
|
|
439
|
+
"data-tf-sensitive": "false",
|
|
440
|
+
validation: "required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",
|
|
441
|
+
validationMessages: {
|
|
442
|
+
required: "Phone Number is required",
|
|
443
|
+
matches: "Invalid Phone Format, use ###-###-####",
|
|
444
|
+
valid_phone: "Invalid Phone Number",
|
|
445
|
+
},
|
|
446
|
+
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
|
|
447
|
+
...updates,
|
|
448
|
+
})
|
|
449
|
+
};
|
|
367
450
|
|
|
368
451
|
const zipcode$1 = (scope, vertical, updates = {}) => {
|
|
369
452
|
const func = vertical ? verticalText : sbsText;
|
|
370
|
-
const label = vertical ?
|
|
371
|
-
const help = vertical ?
|
|
453
|
+
const label = vertical ? updates.label : "Zip Code:";
|
|
454
|
+
const help = vertical ? updates.help ?? "We try to match you with local help" : null;
|
|
372
455
|
return func({
|
|
373
456
|
label,
|
|
374
457
|
help,
|
|
375
|
-
placeholder:
|
|
376
|
-
name: scope ? scope +
|
|
458
|
+
placeholder: "#####",
|
|
459
|
+
name: scope ? scope + ":" + "Zip" : "Zip",
|
|
377
460
|
maxlength: 5,
|
|
378
461
|
inputmode: "numeric",
|
|
379
|
-
autocomplete:
|
|
380
|
-
validation:
|
|
462
|
+
autocomplete: "postal-code",
|
|
463
|
+
validation: "required|matches:/^[0-9]{5}$/",
|
|
381
464
|
validationMessages: {
|
|
382
|
-
required:
|
|
383
|
-
matches:
|
|
465
|
+
required: "Zip Code is required",
|
|
466
|
+
matches: "Invalid Zip Code",
|
|
384
467
|
},
|
|
385
|
-
...updates
|
|
468
|
+
...updates,
|
|
386
469
|
})
|
|
387
470
|
};
|
|
388
471
|
|
|
389
472
|
const applicantAge = (scope, vertical, updates = {}) => {
|
|
390
473
|
const func = vertical ? verticalText : sbsText;
|
|
391
|
-
const label = vertical ?
|
|
392
|
-
const value = vertical ?
|
|
393
|
-
return func(
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
474
|
+
const label = vertical ? updates.label : "Age of Applicant?";
|
|
475
|
+
const value = vertical ? updates.value ?? "50" : null;
|
|
476
|
+
return func(
|
|
477
|
+
merge({
|
|
478
|
+
label,
|
|
479
|
+
placeholder: "Age between 18 and 65",
|
|
480
|
+
name: scope ? scope + ":" + "Applicant_Age" : "Applicant_Age",
|
|
481
|
+
value,
|
|
482
|
+
maxlength: 2,
|
|
483
|
+
inputmode: "numeric",
|
|
484
|
+
validation: "required|min:18,max:65",
|
|
485
|
+
validationMessages: {
|
|
486
|
+
required: "Applicant Age is required",
|
|
487
|
+
min: "Invalid Age - must be between 18 and 65",
|
|
488
|
+
max: "Invalid Age - must be between 18 and 65",
|
|
489
|
+
},
|
|
490
|
+
...updates,
|
|
491
|
+
})
|
|
492
|
+
)
|
|
408
493
|
};
|
|
409
494
|
|
|
410
|
-
const atFault$1 = (scope) =>
|
|
411
|
-
|
|
412
|
-
label:
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
id: 'CrossSell_Bankruptcy',
|
|
424
|
-
if: '$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',
|
|
425
|
-
validation: null,
|
|
426
|
-
helpClass: "!t-text-sm"
|
|
427
|
-
});
|
|
428
|
-
|
|
429
|
-
const bloodContentAlcoholTest = (scope) => sbsSelect({
|
|
430
|
-
name: scope ? scope + ':' + 'Blood_Alcohol_Content_Test' : 'Blood_Alcohol_Content_Test',
|
|
431
|
-
label: 'Blood Alcohol Content Measured by Test:',
|
|
432
|
-
options: [
|
|
433
|
-
"No Test",
|
|
434
|
-
"0.00% - 0.04%",
|
|
435
|
-
"0.05% - 0.08%",
|
|
436
|
-
"0.09% - 0.12%",
|
|
437
|
-
"0.13% - 0.16%",
|
|
438
|
-
"0.17% - 0.20%",
|
|
439
|
-
"More than 0.20%",
|
|
440
|
-
"Don't know"
|
|
441
|
-
]
|
|
442
|
-
});
|
|
443
|
-
|
|
444
|
-
const causeOfInjury$1 = (scope) => sbsSelect({
|
|
445
|
-
name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
|
|
446
|
-
label: 'Cause of Injury:',
|
|
447
|
-
options: [
|
|
448
|
-
"Traumatic Physical Injury (Accident)",
|
|
449
|
-
"Repeated Trauma Injury",
|
|
450
|
-
"Mental Injury",
|
|
451
|
-
"Occupational Disease",
|
|
452
|
-
"Not Sure"
|
|
453
|
-
]
|
|
454
|
-
});
|
|
455
|
-
|
|
456
|
-
const causeOfInjuryCenter = (scope) => col2RadioCenter({
|
|
457
|
-
name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
|
|
458
|
-
options: [
|
|
459
|
-
"Traumatic Physical Injury (Accident)",
|
|
460
|
-
"Repeated Trauma Injury",
|
|
461
|
-
"Mental Injury",
|
|
462
|
-
"Occupational Disease",
|
|
463
|
-
"Not Sure"
|
|
464
|
-
]
|
|
465
|
-
});
|
|
466
|
-
|
|
467
|
-
const causeOfDeathCenter = () => col2RadioCenter({
|
|
468
|
-
name: 'Cause_Of_Death',
|
|
469
|
-
options: [
|
|
470
|
-
"Vehicle Accident",
|
|
471
|
-
"Negligent/Careless Act",
|
|
472
|
-
"Reckless Act",
|
|
473
|
-
"Other"
|
|
474
|
-
]
|
|
475
|
-
});
|
|
476
|
-
|
|
477
|
-
const childHome = (scope) => sbsSelect({
|
|
478
|
-
name: scope ? scope + ':' + 'Child_Home' : 'Child_Home',
|
|
479
|
-
label: 'With Whom Do the Children Currently Live?',
|
|
480
|
-
options: [
|
|
481
|
-
'Mother',
|
|
482
|
-
'Father',
|
|
483
|
-
'Grandparents',
|
|
484
|
-
'Other'
|
|
485
|
-
]
|
|
486
|
-
});
|
|
495
|
+
const atFault$1 = (scope, vertical, updates = {}) => {
|
|
496
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
497
|
+
const label = vertical ? updates.label : "Were You at Fault?";
|
|
498
|
+
return func(
|
|
499
|
+
merge(
|
|
500
|
+
{
|
|
501
|
+
label,
|
|
502
|
+
name: scope ? scope + ":" + "At_Fault" : "At_Fault",
|
|
503
|
+
},
|
|
504
|
+
updates
|
|
505
|
+
)
|
|
506
|
+
)
|
|
507
|
+
};
|
|
487
508
|
|
|
488
|
-
const
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
'
|
|
495
|
-
|
|
496
|
-
|
|
509
|
+
const bankruptcyCrossSell = (scope) =>
|
|
510
|
+
sbsCheckbox({
|
|
511
|
+
label: "I'd also like a consult for bankruptcy or debt elimination (optional)",
|
|
512
|
+
help: "Note: you will be contacted separately by a bankruptcy/debt expert",
|
|
513
|
+
name: scope ? scope + ":CrossSell_Bankruptcy" : "CrossSell_Bankruptcy",
|
|
514
|
+
id: scope ? scope + ":CrossSell_Bankruptcy" : "CrossSell_Bankruptcy",
|
|
515
|
+
if: '$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',
|
|
516
|
+
validation: null,
|
|
517
|
+
helpClass: "!t-text-sm",
|
|
518
|
+
});
|
|
519
|
+
|
|
520
|
+
const bloodContentAlcoholTest = (scope, vertical, updates = {}) => {
|
|
521
|
+
const func = vertical ? verticalSelect : sbsSelect;
|
|
522
|
+
const label = vertical ? updates.label : "Blood Alcohol Content Measured by Test:";
|
|
523
|
+
return func(
|
|
524
|
+
merge(
|
|
525
|
+
{
|
|
526
|
+
label,
|
|
527
|
+
name: scope ? scope + ":" + "Blood_Alcohol_Content_Test" : "Blood_Alcohol_Content_Test",
|
|
528
|
+
options: [
|
|
529
|
+
"No Test",
|
|
530
|
+
"0.00% - 0.04%",
|
|
531
|
+
"0.05% - 0.08%",
|
|
532
|
+
"0.09% - 0.12%",
|
|
533
|
+
"0.13% - 0.16%",
|
|
534
|
+
"0.17% - 0.20%",
|
|
535
|
+
"More than 0.20%",
|
|
536
|
+
"Don't know",
|
|
537
|
+
],
|
|
538
|
+
},
|
|
539
|
+
updates
|
|
540
|
+
)
|
|
541
|
+
)
|
|
542
|
+
};
|
|
497
543
|
|
|
498
|
-
const
|
|
499
|
-
|
|
500
|
-
label
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
544
|
+
const causeOfInjury$1 = (scope, vertical, updates = {}) => {
|
|
545
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
546
|
+
const label = vertical ? updates.label : "Cause of Injury:";
|
|
547
|
+
return func(
|
|
548
|
+
merge(
|
|
549
|
+
{
|
|
550
|
+
label,
|
|
551
|
+
name: scope ? scope + ":" + "Cause_Of_Injury" : "Cause_Of_Injury",
|
|
552
|
+
options: [
|
|
553
|
+
"Traumatic Physical Injury (Accident)",
|
|
554
|
+
"Repeated Trauma Injury",
|
|
555
|
+
"Mental Injury",
|
|
556
|
+
"Occupational Disease",
|
|
557
|
+
"Not Sure",
|
|
558
|
+
],
|
|
559
|
+
},
|
|
560
|
+
updates
|
|
561
|
+
)
|
|
562
|
+
)
|
|
563
|
+
};
|
|
509
564
|
|
|
510
|
-
const
|
|
511
|
-
|
|
512
|
-
label: "
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
}
|
|
565
|
+
const causeOfDeath$1 = (scope, vertical, updates = {}) => {
|
|
566
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
567
|
+
const label = vertical ? updates.label : "What was the Cause of the Victim's Death?";
|
|
568
|
+
return func(
|
|
569
|
+
merge(
|
|
570
|
+
{
|
|
571
|
+
label,
|
|
572
|
+
name: scope ? scope + ":" + "Cause_Of_Death" : "Cause_Of_Death",
|
|
573
|
+
options: ["Vehicle Accident", "Negligent/Careless Act", "Reckless Act", "Other"],
|
|
574
|
+
},
|
|
575
|
+
updates
|
|
576
|
+
)
|
|
577
|
+
)
|
|
578
|
+
};
|
|
520
579
|
|
|
521
|
-
const
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
580
|
+
const childHome = (scope, vertical, updates = {}) => {
|
|
581
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
582
|
+
const label = vertical ? updates.label : "With Whom Do the Children Currently Live?";
|
|
583
|
+
return func(
|
|
584
|
+
merge(
|
|
585
|
+
{
|
|
586
|
+
label,
|
|
587
|
+
name: scope ? scope + ":" + "Child_Home" : "Child_Home",
|
|
588
|
+
options: ["Mother", "Father", "Grandparents", "Other"],
|
|
589
|
+
},
|
|
590
|
+
updates
|
|
591
|
+
)
|
|
592
|
+
)
|
|
593
|
+
};
|
|
530
594
|
|
|
531
|
-
const
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
]
|
|
546
|
-
});
|
|
595
|
+
const childPrimaryCaregiver = (scope, vertical, updates = {}) => {
|
|
596
|
+
const func = vertical ? verticalButtonRadio : sbsSelect;
|
|
597
|
+
const label = vertical ? updates.label : "Who is the Primary Caregiver?";
|
|
598
|
+
return func(
|
|
599
|
+
merge(
|
|
600
|
+
{
|
|
601
|
+
label,
|
|
602
|
+
name: scope ? scope + ":" + "Child_Primary_Caregiver" : "Child_Primary_Caregiver",
|
|
603
|
+
options: ["Mother", "Father", "Other"],
|
|
604
|
+
},
|
|
605
|
+
updates
|
|
606
|
+
)
|
|
607
|
+
)
|
|
608
|
+
};
|
|
547
609
|
|
|
548
|
-
const
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
610
|
+
const childRelationship = (scope, vertical, updates = {}) => {
|
|
611
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
612
|
+
const label = vertical ? updates.label : "Your Relationship to Child(ren):";
|
|
613
|
+
return func(
|
|
614
|
+
merge(
|
|
615
|
+
{
|
|
616
|
+
label,
|
|
617
|
+
name: scope ? scope + ":" + "Child_Relationship" : "Child_Relationship",
|
|
618
|
+
options: ["Father", "Mother", "Grandparent", "Aunt/Uncle", "Other"],
|
|
619
|
+
},
|
|
620
|
+
updates
|
|
621
|
+
)
|
|
622
|
+
)
|
|
623
|
+
};
|
|
560
624
|
|
|
561
|
-
const
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
625
|
+
const claimStatus$1 = (scope, vertical, updates = {}) => {
|
|
626
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
627
|
+
const label = vertical ? updates.label : "Status of Claim:";
|
|
628
|
+
return func(
|
|
629
|
+
merge(
|
|
630
|
+
{
|
|
631
|
+
label,
|
|
632
|
+
name: scope ? scope + ":" + "Claim_Status" : "Claim_Status",
|
|
633
|
+
options: ["No action taken yet", "Demand for compensation made", "Lawsuit filed", "Other"],
|
|
634
|
+
},
|
|
635
|
+
updates
|
|
636
|
+
)
|
|
637
|
+
)
|
|
638
|
+
};
|
|
572
639
|
|
|
573
|
-
|
|
640
|
+
// TODO: vertical not supported yet
|
|
641
|
+
const comments = (scope, vertical, updates) =>
|
|
642
|
+
textArea(
|
|
643
|
+
merge(
|
|
644
|
+
{
|
|
645
|
+
name: scope ? scope + ":" + "Comments" : "Comments",
|
|
646
|
+
label: "Please briefly describe your situation in a few words:",
|
|
647
|
+
placeholder:
|
|
648
|
+
'For Example: "I would like help with child support payments" or "I need help with visitation rights"',
|
|
649
|
+
},
|
|
650
|
+
updates
|
|
651
|
+
)
|
|
652
|
+
);
|
|
574
653
|
|
|
575
|
-
const
|
|
576
|
-
|
|
577
|
-
label
|
|
578
|
-
|
|
654
|
+
const criminalChargesFiled$1 = (scope, vertical, updates = {}) => {
|
|
655
|
+
const func = vertical ? verticalRadio : sbsRadio;
|
|
656
|
+
const label = vertical ? updates.label : "Were Criminal Charges Filed?";
|
|
657
|
+
return func(
|
|
658
|
+
merge(
|
|
659
|
+
{
|
|
660
|
+
label,
|
|
661
|
+
name: scope ? scope + ":" + "Criminal_Charges_Filed" : "Criminal_Charges_Filed",
|
|
662
|
+
options: ["Yes", "No", "Not Sure"],
|
|
663
|
+
},
|
|
664
|
+
updates
|
|
665
|
+
)
|
|
666
|
+
)
|
|
667
|
+
};
|
|
579
668
|
|
|
580
|
-
const
|
|
581
|
-
|
|
582
|
-
label:
|
|
583
|
-
|
|
669
|
+
const degreeOfInterest$1 = (scope, vertical, updates = {}) => {
|
|
670
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
671
|
+
const label = vertical ? updates.label : "How Likely Are You to Pay if Your Issue Could be Resolved?";
|
|
672
|
+
const help = vertical ? updates.help : "No payment necessary to speak with lawyers.";
|
|
673
|
+
return func(
|
|
674
|
+
merge(
|
|
675
|
+
{
|
|
676
|
+
name: scope ? scope + ":" + "Degree_Of_Interest" : "Degree_Of_Interest",
|
|
677
|
+
id: scope ? scope + ":" + "Degree_Of_Interest" : "Degree_Of_Interest",
|
|
678
|
+
label,
|
|
679
|
+
help,
|
|
680
|
+
options: ["Definitely", "Probably", "Maybe", "Absolutely Can't Afford"],
|
|
681
|
+
},
|
|
682
|
+
updates
|
|
683
|
+
)
|
|
684
|
+
)
|
|
685
|
+
};
|
|
584
686
|
|
|
585
|
-
const
|
|
586
|
-
|
|
587
|
-
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
|
|
588
|
-
});
|
|
687
|
+
const degreeOfInterestHelp = (scope, vertical, updates = {}) =>
|
|
688
|
+
degreeOfInterest$1(scope, vertical, merge(updates, { help: "No payment necessary to speak with lawyers." }));
|
|
589
689
|
|
|
590
|
-
const
|
|
591
|
-
|
|
592
|
-
|
|
690
|
+
const disabilityConditionStopWork = (scope, vertical, updates = {}) => {
|
|
691
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
692
|
+
const label = vertical
|
|
693
|
+
? updates.label
|
|
694
|
+
: "Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?";
|
|
695
|
+
return func(
|
|
696
|
+
merge(
|
|
697
|
+
{
|
|
698
|
+
name: scope ? scope + ":" + "Disability_Condition_Stop_Work" : "Disability_Condition_Stop_Work",
|
|
699
|
+
label,
|
|
700
|
+
},
|
|
701
|
+
updates
|
|
702
|
+
)
|
|
703
|
+
)
|
|
704
|
+
};
|
|
593
705
|
|
|
594
|
-
const
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
706
|
+
const disabilityWorkHistory = (scope, vertical, updates = {}) => {
|
|
707
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
708
|
+
const label = vertical ? updates.label : "Have You Had a Full-Time Job Within the Past 5 Years?";
|
|
709
|
+
return func(
|
|
710
|
+
merge(
|
|
711
|
+
{
|
|
712
|
+
name: scope ? scope + ":" + "Disability_Work_History" : "Disability_Work_History",
|
|
713
|
+
label,
|
|
714
|
+
},
|
|
715
|
+
updates
|
|
716
|
+
)
|
|
717
|
+
)
|
|
718
|
+
};
|
|
606
719
|
|
|
607
|
-
const
|
|
608
|
-
|
|
609
|
-
|
|
720
|
+
const doctorTreatment$1 = (scope, vertical, updates = {}) => {
|
|
721
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
722
|
+
const label = vertical ? updates.label : "Have You Recently Been Treated by a Doctor, Hospital or Clinic?";
|
|
723
|
+
return func(
|
|
724
|
+
merge(
|
|
725
|
+
{
|
|
726
|
+
name: scope ? scope + ":" + "Doctor_Treatment" : "Doctor_Treatment",
|
|
727
|
+
label,
|
|
728
|
+
},
|
|
729
|
+
updates
|
|
730
|
+
)
|
|
731
|
+
)
|
|
732
|
+
};
|
|
610
733
|
|
|
611
|
-
const
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
"Asset Protection",
|
|
634
|
-
"Other"
|
|
635
|
-
]
|
|
636
|
-
});
|
|
734
|
+
const employerType$1 = (scope, vertical, updates = {}) => {
|
|
735
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
736
|
+
const label = vertical ? updates.label : "The Employer Is a:";
|
|
737
|
+
return func(
|
|
738
|
+
merge(
|
|
739
|
+
{
|
|
740
|
+
label,
|
|
741
|
+
name: scope ? scope + ":" + "Employer_Type" : "Employer_Type",
|
|
742
|
+
options: [
|
|
743
|
+
"Sole proprietorship (mom and pop)",
|
|
744
|
+
"Partnership",
|
|
745
|
+
"Franchise",
|
|
746
|
+
"Privately held company",
|
|
747
|
+
"Public corporation",
|
|
748
|
+
"Government Agency",
|
|
749
|
+
"Don't know",
|
|
750
|
+
],
|
|
751
|
+
},
|
|
752
|
+
updates
|
|
753
|
+
)
|
|
754
|
+
)
|
|
755
|
+
};
|
|
637
756
|
|
|
638
|
-
const
|
|
639
|
-
|
|
640
|
-
label:
|
|
641
|
-
|
|
757
|
+
const employeeAtCompany$1 = (scope, vertical, updates = {}) => {
|
|
758
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
759
|
+
const label = vertical ? updates.label : "Do You Still Work at the Company?";
|
|
760
|
+
return func(
|
|
761
|
+
merge(
|
|
762
|
+
{
|
|
763
|
+
name: scope ? scope + ":" + "Employee_At_Company" : "Employee_At_Company",
|
|
764
|
+
label,
|
|
765
|
+
},
|
|
766
|
+
updates
|
|
767
|
+
)
|
|
768
|
+
)
|
|
769
|
+
};
|
|
642
770
|
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
|
|
771
|
+
const employmentAndWorkplaceTOLPDisplay = (scope, vertical, updates = {}) => {
|
|
772
|
+
const func = vertical ? col2RadioCenter : col2Radio;
|
|
773
|
+
const label = vertical ? updates.label : "Select The Workplace Issue:";
|
|
774
|
+
return func(
|
|
775
|
+
merge(
|
|
776
|
+
{
|
|
777
|
+
label,
|
|
778
|
+
if: '$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',
|
|
779
|
+
name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
|
|
780
|
+
options: [
|
|
781
|
+
"Workplace Harassment",
|
|
782
|
+
"Workplace Discrimination",
|
|
783
|
+
"Wrongful Termination",
|
|
784
|
+
"Payment Disputes",
|
|
785
|
+
"Workers Compensation",
|
|
786
|
+
"Personal Injury",
|
|
787
|
+
"Unemployment",
|
|
788
|
+
"Other Workplace Issues",
|
|
789
|
+
],
|
|
790
|
+
},
|
|
791
|
+
updates
|
|
792
|
+
)
|
|
793
|
+
)
|
|
794
|
+
};
|
|
646
795
|
|
|
647
|
-
const
|
|
648
|
-
|
|
649
|
-
label:
|
|
650
|
-
|
|
796
|
+
const estateLegalServicesNeeded = (scope, vertical, updates = {}) => {
|
|
797
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
798
|
+
const label = vertical ? updates.label : "Legal Services Needed for Your Estate:";
|
|
799
|
+
return func(
|
|
800
|
+
merge(
|
|
801
|
+
{
|
|
802
|
+
name: scope ? scope + ":" + "Estate_Legal_Services_Needed" : "Estate_Legal_Services_Needed",
|
|
803
|
+
label,
|
|
804
|
+
options: [
|
|
805
|
+
"Charitable Giving",
|
|
806
|
+
"Contested Wills",
|
|
807
|
+
"Drafting Wills or Trust",
|
|
808
|
+
"Estate Administration",
|
|
809
|
+
"Asset Protection",
|
|
810
|
+
"Other",
|
|
811
|
+
],
|
|
812
|
+
},
|
|
813
|
+
updates
|
|
814
|
+
)
|
|
815
|
+
)
|
|
816
|
+
};
|
|
651
817
|
|
|
652
|
-
const
|
|
653
|
-
|
|
654
|
-
label:
|
|
655
|
-
|
|
818
|
+
const haveAttorney$1 = (scope, vertical, updates = {}) => {
|
|
819
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
820
|
+
const label = vertical ? updates.label : "Already Working with An Attorney?";
|
|
821
|
+
return func(
|
|
822
|
+
merge(
|
|
823
|
+
{
|
|
824
|
+
label,
|
|
825
|
+
name: scope ? scope + ":" + "Have_Attorney" : "Have_Attorney",
|
|
826
|
+
},
|
|
827
|
+
updates
|
|
828
|
+
)
|
|
829
|
+
)
|
|
830
|
+
};
|
|
656
831
|
|
|
657
|
-
const
|
|
658
|
-
|
|
659
|
-
|
|
832
|
+
const haveChildren = (scope, vertical, updates = {}) => {
|
|
833
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
834
|
+
const label = vertical ? updates.label : "Do You Have Children?";
|
|
835
|
+
return func(
|
|
836
|
+
merge(
|
|
837
|
+
{
|
|
838
|
+
name: scope ? scope + ":" + "Have_Children" : "Have_Children",
|
|
839
|
+
label,
|
|
840
|
+
},
|
|
841
|
+
updates
|
|
842
|
+
)
|
|
843
|
+
)
|
|
844
|
+
};
|
|
660
845
|
|
|
661
|
-
const
|
|
662
|
-
|
|
663
|
-
label
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
}
|
|
846
|
+
const incidentDate$1 = (scope, vertical, updates = {}) => {
|
|
847
|
+
const func = vertical ? verticalDate : sbsDate;
|
|
848
|
+
const label = vertical ? updates.label : "Date of Incident:";
|
|
849
|
+
return func(
|
|
850
|
+
merge(
|
|
851
|
+
{
|
|
852
|
+
label,
|
|
853
|
+
name: scope ? scope + ":" + "Incident_Date" : "Incident_Date",
|
|
854
|
+
},
|
|
855
|
+
updates
|
|
856
|
+
)
|
|
857
|
+
)
|
|
858
|
+
};
|
|
674
859
|
|
|
675
|
-
const
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
help
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
860
|
+
const lawyerPaymentMethod = (scope, vertical, updates = {}) => {
|
|
861
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
862
|
+
const label = vertical ? updates.label : "How Will You Pay for Legal Fees if You Hire a Lawyer?";
|
|
863
|
+
const help = vertical ? updates.help : "No payment necessary to start a consultation.";
|
|
864
|
+
const options = vertical
|
|
865
|
+
? {
|
|
866
|
+
Cash: "Cash",
|
|
867
|
+
"Credit Card": "Credit Card",
|
|
868
|
+
Family: "Family or Friend",
|
|
869
|
+
Other: "Other",
|
|
870
|
+
}
|
|
871
|
+
: ["Cash", "Check", "Credit Card", "Friend", "Family", "Other"];
|
|
872
|
+
return func(
|
|
873
|
+
merge(
|
|
874
|
+
{
|
|
875
|
+
label,
|
|
876
|
+
help,
|
|
877
|
+
name: scope ? scope + ":" + "Lawyer_Payment_Method" : "Lawyer_Payment_Method",
|
|
878
|
+
options,
|
|
879
|
+
fieldsetClass: vertical ? "$reset t-flex t-flex-col t-items-center" : undefined,
|
|
880
|
+
},
|
|
881
|
+
updates
|
|
882
|
+
)
|
|
883
|
+
)
|
|
884
|
+
};
|
|
683
885
|
|
|
684
|
-
const
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
'
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
'
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
886
|
+
const legalCrossSells$1 = () =>
|
|
887
|
+
col2Checkbox({
|
|
888
|
+
id: "Legal_CrossSells",
|
|
889
|
+
name: "Legal_CrossSells",
|
|
890
|
+
help: 'Just hit "Next" if none apply',
|
|
891
|
+
helpClass: "t-text-center !t-text-sm",
|
|
892
|
+
validation: null,
|
|
893
|
+
options: '$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))',
|
|
894
|
+
});
|
|
895
|
+
|
|
896
|
+
const maritalStatus = (scope, vertical, updates = {}) => {
|
|
897
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
898
|
+
const label = vertical ? updates.label : "Marital Status:";
|
|
899
|
+
return func(
|
|
900
|
+
merge(
|
|
901
|
+
{
|
|
902
|
+
label,
|
|
903
|
+
name: scope ? scope + ":" + "Marital_Status" : "Marital_Status",
|
|
904
|
+
options: [
|
|
905
|
+
"Unmarried, Living Together",
|
|
906
|
+
"Unmarried, Do Not Live Together",
|
|
907
|
+
"Married, Living Together",
|
|
908
|
+
"Separated",
|
|
909
|
+
"Divorced",
|
|
910
|
+
"Other",
|
|
911
|
+
],
|
|
912
|
+
},
|
|
913
|
+
updates
|
|
914
|
+
)
|
|
915
|
+
)
|
|
916
|
+
};
|
|
696
917
|
|
|
697
|
-
const
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
918
|
+
const numEmployeesOfBusiness$1 = (scope, vertical, updates = {}) => {
|
|
919
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
920
|
+
const label = vertical ? updates.label : "Total Employees of Business? (estimated)";
|
|
921
|
+
return func(
|
|
922
|
+
merge(
|
|
923
|
+
{
|
|
924
|
+
label,
|
|
925
|
+
name: scope ? scope + ":" + "Num_Employees_Of_Business" : "Num_Employees_Of_Business",
|
|
926
|
+
options: ["1-5", "6-20", "21-50", "51-100", "101-500", "501-1,000", "More than 1,000"],
|
|
927
|
+
},
|
|
928
|
+
updates
|
|
929
|
+
)
|
|
930
|
+
)
|
|
931
|
+
};
|
|
709
932
|
|
|
710
|
-
|
|
711
|
-
name: scope ? scope + ':' + 'Pending_Charges' : 'Pending_Charges',
|
|
712
|
-
label: 'Do you currently have any pending charges?'
|
|
713
|
-
});
|
|
933
|
+
// XXX HERE
|
|
714
934
|
|
|
715
|
-
const
|
|
716
|
-
|
|
717
|
-
label:
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
});
|
|
935
|
+
const pendingCharges = (scope, vertical, updates = {}) => {
|
|
936
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
937
|
+
const label = vertical ? updates.label : "Do you currently have any pending charges?";
|
|
938
|
+
return func(
|
|
939
|
+
merge(
|
|
940
|
+
{
|
|
941
|
+
name: scope ? scope + ":" + "Pending_Charges" : "Pending_Charges",
|
|
942
|
+
label,
|
|
943
|
+
},
|
|
944
|
+
updates
|
|
945
|
+
)
|
|
946
|
+
)
|
|
947
|
+
};
|
|
729
948
|
|
|
730
|
-
const
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
949
|
+
const primaryInjury$1 = (scope, vertical, updates = {}) => {
|
|
950
|
+
const func = vertical ? col2RadioCenter : sbs2ColRadio;
|
|
951
|
+
const label = vertical ? updates.label : "Primary Injury:";
|
|
952
|
+
return func(
|
|
953
|
+
merge(
|
|
954
|
+
{
|
|
955
|
+
label,
|
|
956
|
+
name: scope ? scope + ":" + "Primary_Injury" : "Primary_Injury",
|
|
957
|
+
options: [
|
|
958
|
+
"Anxiety",
|
|
959
|
+
"Back or Neck Pain",
|
|
960
|
+
"Broken Bones",
|
|
961
|
+
"Cuts and Bruises",
|
|
962
|
+
"Headaches",
|
|
963
|
+
"Memory Loss",
|
|
964
|
+
"Loss of Limb",
|
|
965
|
+
"Not Sure or Other",
|
|
966
|
+
],
|
|
967
|
+
},
|
|
968
|
+
updates
|
|
969
|
+
)
|
|
970
|
+
)
|
|
971
|
+
};
|
|
743
972
|
|
|
744
|
-
const priorAlcoholOffenses = (scope) =>
|
|
745
|
-
|
|
746
|
-
label:
|
|
747
|
-
|
|
973
|
+
const priorAlcoholOffenses = (scope, vertical, updates = {}) => {
|
|
974
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
975
|
+
const label = vertical ? updates.label : "Any Prior Alcohol Related Offenses?";
|
|
976
|
+
return func(
|
|
977
|
+
merge(
|
|
978
|
+
{
|
|
979
|
+
name: scope ? scope + ":" + "Prior_Alcohol_Offenses" : "Prior_Alcohol_Offenses",
|
|
980
|
+
label,
|
|
981
|
+
},
|
|
982
|
+
updates
|
|
983
|
+
)
|
|
984
|
+
)
|
|
985
|
+
};
|
|
748
986
|
|
|
749
|
-
const policeReportFiled = (scope) =>
|
|
750
|
-
|
|
751
|
-
label:
|
|
752
|
-
|
|
987
|
+
const policeReportFiled = (scope, vertical, updates = {}) => {
|
|
988
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
989
|
+
const label = vertical ? updates.label : "Was a Police Report Filed?";
|
|
990
|
+
return func(
|
|
991
|
+
merge(
|
|
992
|
+
{
|
|
993
|
+
name: scope ? scope + ":" + "Police_Report_Filed" : "Police_Report_Filed",
|
|
994
|
+
label,
|
|
995
|
+
},
|
|
996
|
+
updates
|
|
997
|
+
)
|
|
998
|
+
)
|
|
999
|
+
};
|
|
753
1000
|
|
|
754
|
-
const
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
}
|
|
1001
|
+
const relationshipToVictim$1 = (scope, vertical, updates = {}) => {
|
|
1002
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1003
|
+
const label = vertical ? updates.label : "Relationship to the Victim:";
|
|
1004
|
+
return func(
|
|
1005
|
+
merge(
|
|
1006
|
+
{
|
|
1007
|
+
label,
|
|
1008
|
+
name: scope ? scope + ":" + "Relationship_To_Victim" : "Relationship_To_Victim",
|
|
1009
|
+
options: ["Parent", "Spouse", "Sibling", "Friend", "Other"],
|
|
1010
|
+
},
|
|
1011
|
+
updates
|
|
1012
|
+
)
|
|
1013
|
+
)
|
|
1014
|
+
};
|
|
764
1015
|
|
|
765
|
-
const roleInMatterProbate = (scope) =>
|
|
766
|
-
|
|
767
|
-
label: "What
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
1016
|
+
const roleInMatterProbate = (scope, vertical, updates = {}) => {
|
|
1017
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1018
|
+
const label = vertical ? updates.label : "What is Your Role in this Matter?";
|
|
1019
|
+
return func(
|
|
1020
|
+
merge(
|
|
1021
|
+
{
|
|
1022
|
+
label,
|
|
1023
|
+
name: scope ? scope + ":" + "Role_In_Matter_Probate" : "Role_In_Matter_Probate",
|
|
1024
|
+
options: ["Preparing My Will", "Executor", "Heir", "Other"],
|
|
1025
|
+
},
|
|
1026
|
+
updates
|
|
1027
|
+
)
|
|
1028
|
+
)
|
|
1029
|
+
};
|
|
775
1030
|
|
|
776
|
-
const socialSecurityDisabilityReceivingBenefits = (scope) =>
|
|
777
|
-
|
|
778
|
-
label:
|
|
779
|
-
|
|
1031
|
+
const socialSecurityDisabilityReceivingBenefits = (scope, vertical, updates = {}) => {
|
|
1032
|
+
const func = vertical ? verticalYesNoRadio : sbsYesNoRadio;
|
|
1033
|
+
const label = vertical ? updates.label : "Are You Currently Receiving Social Security Disability Benefits?";
|
|
1034
|
+
return func(
|
|
1035
|
+
merge(
|
|
1036
|
+
{
|
|
1037
|
+
name: scope
|
|
1038
|
+
? scope + ":" + "Social_Security_Disability_Receiving_Benefits"
|
|
1039
|
+
: "Social_Security_Disability_Receiving_Benefits",
|
|
1040
|
+
label,
|
|
1041
|
+
},
|
|
1042
|
+
updates
|
|
1043
|
+
)
|
|
1044
|
+
)
|
|
1045
|
+
};
|
|
780
1046
|
|
|
781
1047
|
const TCPAConsent = (scope) => ({
|
|
782
|
-
$formkit:
|
|
783
|
-
label:
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
1048
|
+
$formkit: "checkbox",
|
|
1049
|
+
label: "$meta.tcpaLanguage",
|
|
1050
|
+
// Necessary to get links to work in the tcpa language
|
|
1051
|
+
__raw__sectionsSchema: {
|
|
1052
|
+
label: { attrs: { innerHTML: "$label" } },
|
|
1053
|
+
},
|
|
1054
|
+
name: scope ? scope + ":" + "TCPA_Opt_In" : "TCPA_Opt_In",
|
|
1055
|
+
"data-tf-sensitive": "false",
|
|
1056
|
+
validation: "required|accepted",
|
|
787
1057
|
validationMessages: {
|
|
788
|
-
required:
|
|
789
|
-
accepted:
|
|
1058
|
+
required: "Consent is required",
|
|
1059
|
+
accepted: "Consent is required",
|
|
790
1060
|
},
|
|
791
1061
|
classes: {
|
|
792
|
-
label: "t-text-xs t-text-slate-500 t-font-normal"
|
|
793
|
-
}
|
|
1062
|
+
label: "t-text-xs t-text-slate-500 t-font-normal",
|
|
1063
|
+
},
|
|
794
1064
|
});
|
|
795
1065
|
|
|
796
|
-
const typeOfAlcoholTest = (scope) =>
|
|
797
|
-
|
|
798
|
-
label:
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
1066
|
+
const typeOfAlcoholTest = (scope, vertical, updates = {}) => {
|
|
1067
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1068
|
+
const label = vertical ? updates.label : "Type of Alcohol Test Performed?";
|
|
1069
|
+
return func(
|
|
1070
|
+
merge(
|
|
1071
|
+
{
|
|
1072
|
+
label,
|
|
1073
|
+
name: scope ? scope + ":" + "Type_Of_Alcohol_Test" : "Type_Of_Alcohol_Test",
|
|
1074
|
+
options: ["No Test", "Refused Test", "Breath Test", "Blood Test", "Urine Test", "Don't Know"],
|
|
1075
|
+
},
|
|
1076
|
+
updates
|
|
1077
|
+
)
|
|
1078
|
+
)
|
|
1079
|
+
};
|
|
808
1080
|
|
|
809
|
-
const typeOfAssets = (scope) =>
|
|
810
|
-
|
|
811
|
-
label:
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
1081
|
+
const typeOfAssets = (scope, vertical, updates = {}) => {
|
|
1082
|
+
const func = vertical ? verticalCol2Checkbox : col2Checkbox;
|
|
1083
|
+
const label = vertical ? updates.label : "Type of Assets:";
|
|
1084
|
+
return func(
|
|
1085
|
+
merge(
|
|
1086
|
+
{
|
|
1087
|
+
label,
|
|
1088
|
+
name: scope ? scope + ":" + "Type_Of_Assets" : "Type_Of_Assets",
|
|
1089
|
+
options: [
|
|
1090
|
+
"Business Interests",
|
|
1091
|
+
"Cash",
|
|
1092
|
+
"Life Insurance Policies",
|
|
1093
|
+
"Pensions/Retirement",
|
|
1094
|
+
"Personal Possessions",
|
|
1095
|
+
"Property",
|
|
1096
|
+
"Stock/Bonds",
|
|
1097
|
+
],
|
|
1098
|
+
},
|
|
1099
|
+
updates
|
|
1100
|
+
)
|
|
1101
|
+
)
|
|
1102
|
+
};
|
|
822
1103
|
|
|
823
|
-
const valueOfAssets = (scope) =>
|
|
824
|
-
|
|
825
|
-
label:
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
1104
|
+
const valueOfAssets = (scope, vertical, updates = {}) => {
|
|
1105
|
+
const func = vertical ? col2RadioCenter : sbsSelect;
|
|
1106
|
+
const label = vertical ? updates.label : "Value of Your Assets?";
|
|
1107
|
+
return func(
|
|
1108
|
+
merge(
|
|
1109
|
+
{
|
|
1110
|
+
label,
|
|
1111
|
+
name: scope ? scope + ":" + "Value_Of_Assets" : "Value_Of_Assets",
|
|
1112
|
+
options: ["Less than 50K", "50K to 100K", "100K to 250K", "250K to 500K", "500K to 1M", "More than 1M"],
|
|
1113
|
+
},
|
|
1114
|
+
updates
|
|
1115
|
+
)
|
|
1116
|
+
)
|
|
1117
|
+
};
|
|
835
1118
|
|
|
836
|
-
// ------ Question Groups
|
|
1119
|
+
// ------ Question Groups - TODO: move these go separate file groups.js
|
|
837
1120
|
|
|
838
1121
|
// NOTE: name must be unique within a form!
|
|
839
1122
|
const group = (name, updates) => {
|
|
840
|
-
return merge(
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
1123
|
+
return merge(
|
|
1124
|
+
{
|
|
1125
|
+
$cmp: "FormKit",
|
|
1126
|
+
props: {
|
|
1127
|
+
type: "group",
|
|
1128
|
+
key: name,
|
|
1129
|
+
id: name,
|
|
1130
|
+
name: name,
|
|
1131
|
+
},
|
|
1132
|
+
},
|
|
1133
|
+
updates
|
|
1134
|
+
)
|
|
849
1135
|
};
|
|
850
1136
|
|
|
851
|
-
const AutoAndCarAccidentsQuestions = (condition, scope) =>
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"'),
|
|
1137
|
+
const AutoAndCarAccidentsQuestions = (condition, scope) =>
|
|
1138
|
+
group("AutoAndCarAccidentsQuestions", {
|
|
1139
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',
|
|
855
1140
|
children: [
|
|
856
1141
|
haveAttorney$1(scope),
|
|
857
1142
|
incidentDate$1(scope),
|
|
858
1143
|
atFault$1(scope),
|
|
859
1144
|
primaryInjury$1(scope),
|
|
860
1145
|
doctorTreatment$1(scope),
|
|
861
|
-
policeReportFiled(scope)
|
|
862
|
-
]
|
|
863
|
-
}
|
|
864
|
-
);
|
|
1146
|
+
policeReportFiled(scope),
|
|
1147
|
+
],
|
|
1148
|
+
});
|
|
865
1149
|
|
|
866
|
-
const ChildCustodyQuestions = (condition, scope) =>
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"'),
|
|
1150
|
+
const ChildCustodyQuestions = (condition, scope) =>
|
|
1151
|
+
group("ChildCustodyQuestions", {
|
|
1152
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Child Custody"',
|
|
870
1153
|
children: [
|
|
871
1154
|
haveAttorney$1(scope),
|
|
872
1155
|
childRelationship(scope),
|
|
873
1156
|
childHome(scope),
|
|
874
1157
|
childPrimaryCaregiver(scope),
|
|
875
1158
|
degreeOfInterest$1(scope),
|
|
876
|
-
lawyerPaymentMethod(scope)
|
|
877
|
-
]
|
|
878
|
-
}
|
|
879
|
-
);
|
|
1159
|
+
lawyerPaymentMethod(scope),
|
|
1160
|
+
],
|
|
1161
|
+
});
|
|
880
1162
|
|
|
881
|
-
const DivorceQuestions = (condition, scope) =>
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"'),
|
|
1163
|
+
const DivorceQuestions = (condition, scope) =>
|
|
1164
|
+
group("DivorceQuestions", {
|
|
1165
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',
|
|
885
1166
|
children: [
|
|
886
1167
|
haveAttorney$1(scope),
|
|
887
1168
|
maritalStatus(scope),
|
|
888
1169
|
haveChildren(scope),
|
|
889
1170
|
degreeOfInterest$1(scope),
|
|
890
|
-
lawyerPaymentMethod(scope)
|
|
891
|
-
]
|
|
892
|
-
}
|
|
893
|
-
);
|
|
1171
|
+
lawyerPaymentMethod(scope),
|
|
1172
|
+
],
|
|
1173
|
+
});
|
|
894
1174
|
|
|
895
|
-
const DUIAndDWIQuestions = (condition, scope) =>
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "DUI and DWI"'),
|
|
1175
|
+
const DUIAndDWIQuestions = (condition, scope) =>
|
|
1176
|
+
group("DUIAndDWIQuestions", {
|
|
1177
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "DUI and DWI"',
|
|
899
1178
|
children: [
|
|
900
1179
|
haveAttorney$1(scope),
|
|
901
1180
|
incidentDate$1(scope),
|
|
@@ -903,93 +1182,81 @@ const DUIAndDWIQuestions = (condition, scope) => group(
|
|
|
903
1182
|
typeOfAlcoholTest(scope),
|
|
904
1183
|
bloodContentAlcoholTest(scope),
|
|
905
1184
|
pendingCharges(scope),
|
|
906
|
-
degreeOfInterestHelp(scope)
|
|
907
|
-
]
|
|
908
|
-
}
|
|
909
|
-
);
|
|
1185
|
+
degreeOfInterestHelp(scope),
|
|
1186
|
+
],
|
|
1187
|
+
});
|
|
910
1188
|
|
|
911
|
-
const PersonalInjuryQuestions = (condition, scope) =>
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "Personal Injury"'),
|
|
1189
|
+
const PersonalInjuryQuestions = (condition, scope) =>
|
|
1190
|
+
group("PersonalInjuryQuestions", {
|
|
1191
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Personal Injury"',
|
|
915
1192
|
children: [
|
|
916
1193
|
haveAttorney$1(scope),
|
|
917
1194
|
incidentDate$1(scope),
|
|
918
1195
|
claimStatus$1(scope),
|
|
919
1196
|
atFault$1(scope),
|
|
920
1197
|
primaryInjury$1(scope),
|
|
921
|
-
doctorTreatment$1(scope)
|
|
922
|
-
]
|
|
923
|
-
}
|
|
924
|
-
);
|
|
1198
|
+
doctorTreatment$1(scope),
|
|
1199
|
+
],
|
|
1200
|
+
});
|
|
925
1201
|
|
|
926
|
-
const PowerofAttorneyQuestions = (condition, scope) =>
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
haveAttorney$1(scope),
|
|
932
|
-
degreeOfInterestHelp(scope)
|
|
933
|
-
]
|
|
934
|
-
}
|
|
935
|
-
);
|
|
1202
|
+
const PowerofAttorneyQuestions = (condition, scope) =>
|
|
1203
|
+
group("PowerofAttorneyQuestions", {
|
|
1204
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Power of Attorney"',
|
|
1205
|
+
children: [haveAttorney$1(scope), degreeOfInterestHelp(scope)],
|
|
1206
|
+
});
|
|
936
1207
|
|
|
937
|
-
const SocialSecurityDisabilityAndInsuranceQuestions = (condition, scope) =>
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"'),
|
|
1208
|
+
const SocialSecurityDisabilityAndInsuranceQuestions = (condition, scope) =>
|
|
1209
|
+
group("SocialSecurityDisabilityAndInsuranceQuestions", {
|
|
1210
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',
|
|
941
1211
|
children: [
|
|
942
1212
|
haveAttorney$1(scope),
|
|
943
1213
|
applicantAge(scope),
|
|
944
1214
|
disabilityConditionStopWork(scope),
|
|
945
1215
|
disabilityWorkHistory(scope),
|
|
946
1216
|
socialSecurityDisabilityReceivingBenefits(scope),
|
|
947
|
-
doctorTreatment$1(scope)
|
|
948
|
-
]
|
|
949
|
-
}
|
|
950
|
-
);
|
|
1217
|
+
doctorTreatment$1(scope),
|
|
1218
|
+
],
|
|
1219
|
+
});
|
|
951
1220
|
|
|
952
|
-
const WillsAndTrustsQuestions = (condition, scope) =>
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"'),
|
|
1221
|
+
const WillsAndTrustsQuestions = (condition, scope) =>
|
|
1222
|
+
group("WillsAndTrustsQuestions", {
|
|
1223
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',
|
|
956
1224
|
children: [
|
|
957
1225
|
haveAttorney$1(scope),
|
|
958
1226
|
valueOfAssets(scope),
|
|
959
1227
|
typeOfAssets(scope),
|
|
960
1228
|
roleInMatterProbate(scope),
|
|
961
1229
|
estateLegalServicesNeeded(scope),
|
|
962
|
-
degreeOfInterestHelp(scope)
|
|
963
|
-
]
|
|
964
|
-
}
|
|
965
|
-
);
|
|
1230
|
+
degreeOfInterestHelp(scope),
|
|
1231
|
+
],
|
|
1232
|
+
});
|
|
966
1233
|
|
|
967
|
-
const WorkersCompensationQuestions = (condition, scope) =>
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
if: (condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"'),
|
|
1234
|
+
const WorkersCompensationQuestions = (condition, scope) =>
|
|
1235
|
+
group("WorkersCompensationQuestions", {
|
|
1236
|
+
if: condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"',
|
|
971
1237
|
children: [
|
|
972
1238
|
haveAttorney$1(scope),
|
|
973
1239
|
incidentDate$1(scope),
|
|
974
1240
|
claimStatus$1(scope),
|
|
975
1241
|
primaryInjury$1(scope),
|
|
976
1242
|
causeOfInjury$1(scope),
|
|
977
|
-
doctorTreatment$1(scope)
|
|
978
|
-
]
|
|
979
|
-
}
|
|
980
|
-
);
|
|
1243
|
+
doctorTreatment$1(scope),
|
|
1244
|
+
],
|
|
1245
|
+
});
|
|
981
1246
|
|
|
982
|
-
const NEXT_ON_ENTER =
|
|
983
|
-
const NEXT_ON_INPUT =
|
|
1247
|
+
const NEXT_ON_ENTER = "$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))";
|
|
1248
|
+
const NEXT_ON_INPUT = "$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))";
|
|
984
1249
|
|
|
985
|
-
const isInput = (n) => {
|
|
1250
|
+
const isInput = (n) => {
|
|
1251
|
+
return n.type !== "group" && n.type !== "section" && n.type !== "form" && n.$formkit !== "hidden" && !n.children
|
|
1252
|
+
};
|
|
986
1253
|
|
|
987
1254
|
const findLastInput = (n) => {
|
|
988
1255
|
if (isInput(n)) {
|
|
989
1256
|
return n
|
|
990
1257
|
}
|
|
991
1258
|
for (var i = n.children.length - 1; i >= 0; i--) {
|
|
992
|
-
if (typeof n.children ===
|
|
1259
|
+
if (typeof n.children === "string") {
|
|
993
1260
|
continue
|
|
994
1261
|
}
|
|
995
1262
|
const child = n.children[i];
|
|
@@ -1005,136 +1272,154 @@ const findLastInput = (n) => {
|
|
|
1005
1272
|
};
|
|
1006
1273
|
|
|
1007
1274
|
const secureIconDefault = {
|
|
1008
|
-
$el:
|
|
1009
|
-
if:
|
|
1275
|
+
$el: "div",
|
|
1276
|
+
if: "$activeStep === $lastStep()",
|
|
1010
1277
|
attrs: {
|
|
1011
|
-
class:
|
|
1278
|
+
class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500",
|
|
1012
1279
|
},
|
|
1013
1280
|
children: [
|
|
1014
1281
|
{
|
|
1015
|
-
$el:
|
|
1282
|
+
$el: "img",
|
|
1016
1283
|
attrs: {
|
|
1017
|
-
loading:
|
|
1018
|
-
alt:
|
|
1284
|
+
loading: "lazy",
|
|
1285
|
+
alt: "",
|
|
1019
1286
|
style: {
|
|
1020
|
-
border: 0
|
|
1287
|
+
border: 0,
|
|
1021
1288
|
},
|
|
1022
|
-
width:
|
|
1023
|
-
height:
|
|
1024
|
-
src:
|
|
1025
|
-
}
|
|
1289
|
+
width: "25",
|
|
1290
|
+
height: "25",
|
|
1291
|
+
src: "https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg",
|
|
1292
|
+
},
|
|
1026
1293
|
},
|
|
1027
1294
|
{
|
|
1028
|
-
$el:
|
|
1029
|
-
children:
|
|
1295
|
+
$el: "span",
|
|
1296
|
+
children: "Secure & Encrypted",
|
|
1030
1297
|
attrs: {
|
|
1031
|
-
class:
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
]
|
|
1298
|
+
class: "t-pl-2 t-pt-1 t-font-medium",
|
|
1299
|
+
},
|
|
1300
|
+
},
|
|
1301
|
+
],
|
|
1035
1302
|
};
|
|
1036
1303
|
|
|
1037
1304
|
function secureIcon(updates) {
|
|
1038
|
-
return merge(
|
|
1039
|
-
secureIconDefault,
|
|
1040
|
-
updates
|
|
1041
|
-
)
|
|
1305
|
+
return merge(secureIconDefault, updates)
|
|
1042
1306
|
}
|
|
1043
1307
|
|
|
1044
1308
|
function crossSellQuestionsStepHeadline(updates) {
|
|
1045
1309
|
return {
|
|
1046
|
-
$el:
|
|
1047
|
-
children: updates.headline ||
|
|
1310
|
+
$el: "h3",
|
|
1311
|
+
children: updates.headline || "Tell Us About Your Situation",
|
|
1048
1312
|
attrs: {
|
|
1049
|
-
class:
|
|
1050
|
-
}
|
|
1313
|
+
class: "t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1",
|
|
1314
|
+
},
|
|
1051
1315
|
}
|
|
1052
1316
|
}
|
|
1053
1317
|
|
|
1054
1318
|
function crossSellQuestionsStepSubHeadline(updates) {
|
|
1055
1319
|
return {
|
|
1056
|
-
$el:
|
|
1057
|
-
children: updates.subheadline ||
|
|
1320
|
+
$el: "h5",
|
|
1321
|
+
children: updates.subheadline || "Tell us about your situation:",
|
|
1058
1322
|
attrs: {
|
|
1059
|
-
class:
|
|
1060
|
-
}
|
|
1323
|
+
class: "t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3",
|
|
1324
|
+
},
|
|
1061
1325
|
}
|
|
1062
1326
|
}
|
|
1063
1327
|
|
|
1064
1328
|
function verticalStepHeadline(updates) {
|
|
1065
1329
|
return {
|
|
1066
|
-
$el:
|
|
1067
|
-
children: updates.headline ||
|
|
1330
|
+
$el: "h3",
|
|
1331
|
+
children: updates.headline || "Tell Us About Your Situation",
|
|
1068
1332
|
attrs: {
|
|
1069
|
-
class:
|
|
1070
|
-
|
|
1333
|
+
class:
|
|
1334
|
+
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1" +
|
|
1335
|
+
" " +
|
|
1336
|
+
(updates.headlineClass || ""),
|
|
1337
|
+
},
|
|
1071
1338
|
}
|
|
1072
1339
|
}
|
|
1073
1340
|
|
|
1074
1341
|
function verticalStepSubHeadline(updates) {
|
|
1075
1342
|
return {
|
|
1076
|
-
$el:
|
|
1077
|
-
children: updates.subheadline ||
|
|
1343
|
+
$el: "h5",
|
|
1344
|
+
children: updates.subheadline || "",
|
|
1078
1345
|
attrs: {
|
|
1079
|
-
class:
|
|
1080
|
-
|
|
1346
|
+
class:
|
|
1347
|
+
"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1" +
|
|
1348
|
+
" " +
|
|
1349
|
+
(updates.subheadlineClass || ""),
|
|
1350
|
+
},
|
|
1081
1351
|
}
|
|
1082
1352
|
}
|
|
1083
1353
|
|
|
1084
1354
|
function commentsStepHeadline(updates) {
|
|
1085
1355
|
return {
|
|
1086
|
-
$el:
|
|
1087
|
-
children: updates.headline ||
|
|
1356
|
+
$el: "h3",
|
|
1357
|
+
children: updates.headline || "Additional Details",
|
|
1088
1358
|
attrs: {
|
|
1089
|
-
class:
|
|
1090
|
-
|
|
1359
|
+
class:
|
|
1360
|
+
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
1361
|
+
" " +
|
|
1362
|
+
(updates.headlineClass || ""),
|
|
1363
|
+
},
|
|
1091
1364
|
}
|
|
1092
1365
|
}
|
|
1093
1366
|
|
|
1094
1367
|
function commentsStepHeadlineLegal(updates) {
|
|
1095
1368
|
return commentsStepHeadline({
|
|
1096
|
-
headline: updates.headline ||
|
|
1097
|
-
headlineClass: updates.headlineClass
|
|
1369
|
+
headline: updates.headline || "Additional Case Details",
|
|
1370
|
+
headlineClass: updates.headlineClass,
|
|
1098
1371
|
})
|
|
1099
1372
|
}
|
|
1100
1373
|
|
|
1101
1374
|
function firstAndLastStepHeadline(updates) {
|
|
1102
1375
|
return {
|
|
1103
|
-
$el:
|
|
1104
|
-
children: updates.headline ||
|
|
1376
|
+
$el: "h3",
|
|
1377
|
+
children: updates.headline || "Please Provide a Contact Name",
|
|
1105
1378
|
attrs: {
|
|
1106
|
-
class:
|
|
1107
|
-
|
|
1379
|
+
class:
|
|
1380
|
+
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
1381
|
+
" " +
|
|
1382
|
+
(updates.headlineClass || ""),
|
|
1383
|
+
},
|
|
1108
1384
|
}
|
|
1109
1385
|
}
|
|
1110
1386
|
|
|
1111
1387
|
function legalCrossSellsStepHeadline(updates) {
|
|
1112
1388
|
return {
|
|
1113
|
-
$el:
|
|
1114
|
-
children: updates.headline ||
|
|
1389
|
+
$el: "h3",
|
|
1390
|
+
children: updates.headline || "Do any of the following situations apply?",
|
|
1115
1391
|
attrs: {
|
|
1116
|
-
class:
|
|
1117
|
-
|
|
1392
|
+
class:
|
|
1393
|
+
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
1394
|
+
" " +
|
|
1395
|
+
(updates.headlineClass || ""),
|
|
1396
|
+
},
|
|
1118
1397
|
}
|
|
1119
1398
|
}
|
|
1120
1399
|
|
|
1121
1400
|
function contactStepHeadline(updates) {
|
|
1122
1401
|
return {
|
|
1123
|
-
$el:
|
|
1402
|
+
$el: "h3",
|
|
1124
1403
|
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
|
|
1125
1404
|
attrs: {
|
|
1126
|
-
class:
|
|
1127
|
-
|
|
1405
|
+
class:
|
|
1406
|
+
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1" +
|
|
1407
|
+
" " +
|
|
1408
|
+
(updates.headlineClass || ""),
|
|
1409
|
+
},
|
|
1128
1410
|
}
|
|
1129
1411
|
}
|
|
1130
1412
|
|
|
1131
1413
|
function contactStepSubHeadline(updates) {
|
|
1132
1414
|
return {
|
|
1133
|
-
$el:
|
|
1415
|
+
$el: "h5",
|
|
1134
1416
|
children: updates.subheadline || DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL,
|
|
1135
1417
|
attrs: {
|
|
1136
|
-
class:
|
|
1137
|
-
|
|
1418
|
+
class:
|
|
1419
|
+
"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3" +
|
|
1420
|
+
" " +
|
|
1421
|
+
(updates.subheadlineClass || ""),
|
|
1422
|
+
},
|
|
1138
1423
|
}
|
|
1139
1424
|
}
|
|
1140
1425
|
|
|
@@ -1156,19 +1441,19 @@ const TRUSTED_FORM_JS = `(function() {
|
|
|
1156
1441
|
|
|
1157
1442
|
function trustedFormScript() {
|
|
1158
1443
|
return {
|
|
1159
|
-
$el:
|
|
1160
|
-
if:
|
|
1161
|
-
children: TRUSTED_FORM_JS
|
|
1444
|
+
$el: "script",
|
|
1445
|
+
if: "$activeStep === $lastStep()",
|
|
1446
|
+
children: TRUSTED_FORM_JS,
|
|
1162
1447
|
}
|
|
1163
1448
|
}
|
|
1164
1449
|
|
|
1165
1450
|
const stepDefaults = (step, stepKey) => ({
|
|
1166
|
-
$el:
|
|
1451
|
+
$el: "section",
|
|
1167
1452
|
if: '$stepEnabled("' + step + '")',
|
|
1168
1453
|
attrs: {
|
|
1169
1454
|
hidden: '$activeStep !== "' + step + '"',
|
|
1170
|
-
key: stepKey ? stepKey : step
|
|
1171
|
-
}
|
|
1455
|
+
key: stepKey ? stepKey : step,
|
|
1456
|
+
},
|
|
1172
1457
|
});
|
|
1173
1458
|
|
|
1174
1459
|
function step(name, inputs, updates = {}) {
|
|
@@ -1191,35 +1476,35 @@ function step(name, inputs, updates = {}) {
|
|
|
1191
1476
|
}
|
|
1192
1477
|
}
|
|
1193
1478
|
|
|
1194
|
-
return merge(
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
]
|
|
1208
|
-
}
|
|
1209
|
-
)
|
|
1479
|
+
return merge(stepDefaults(name, stepKey), {
|
|
1480
|
+
children: [
|
|
1481
|
+
{
|
|
1482
|
+
$formkit: "group",
|
|
1483
|
+
id: name,
|
|
1484
|
+
name: name,
|
|
1485
|
+
nextStepMap: nextStepMap,
|
|
1486
|
+
triggerRedirectMap: triggerRedirectMap,
|
|
1487
|
+
autoFocus: autoFocus,
|
|
1488
|
+
children: inputs,
|
|
1489
|
+
},
|
|
1490
|
+
],
|
|
1491
|
+
})
|
|
1210
1492
|
}
|
|
1211
1493
|
|
|
1212
1494
|
// Single question step
|
|
1213
1495
|
function sqstep(name, input, defaultHeadline, updates = {}) {
|
|
1214
|
-
if (typeof updates.nextOnInput ===
|
|
1496
|
+
if (typeof updates.nextOnInput === "undefined") {
|
|
1215
1497
|
updates.nextOnInput = true;
|
|
1216
1498
|
}
|
|
1217
|
-
|
|
1499
|
+
|
|
1218
1500
|
return step(
|
|
1219
1501
|
name,
|
|
1220
1502
|
[
|
|
1221
|
-
verticalStepHeadline({
|
|
1222
|
-
|
|
1503
|
+
verticalStepHeadline({
|
|
1504
|
+
headline: updates.headline ?? defaultHeadline,
|
|
1505
|
+
headlineClass: updates.headlineClass,
|
|
1506
|
+
}),
|
|
1507
|
+
...(Array.isArray(input) ? input : [input]),
|
|
1223
1508
|
],
|
|
1224
1509
|
updates
|
|
1225
1510
|
)
|
|
@@ -1227,7 +1512,7 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
|
|
|
1227
1512
|
|
|
1228
1513
|
function contactInfo(updates = {}) {
|
|
1229
1514
|
return step(
|
|
1230
|
-
|
|
1515
|
+
"contactInfo",
|
|
1231
1516
|
[
|
|
1232
1517
|
contactStepHeadline(updates),
|
|
1233
1518
|
contactStepSubHeadline(updates),
|
|
@@ -1235,63 +1520,58 @@ function contactInfo(updates = {}) {
|
|
|
1235
1520
|
email(updates.scope),
|
|
1236
1521
|
phone(updates.scope),
|
|
1237
1522
|
TCPAConsent(updates.scope),
|
|
1238
|
-
secureIcon()
|
|
1523
|
+
secureIcon(),
|
|
1239
1524
|
],
|
|
1240
1525
|
{ nextOnEnter: false }
|
|
1241
1526
|
)
|
|
1242
1527
|
}
|
|
1243
1528
|
|
|
1244
|
-
function firstAndLastV3(updates = {}
|
|
1529
|
+
function firstAndLastV3(updates = {}) {
|
|
1245
1530
|
return step(
|
|
1246
|
-
|
|
1531
|
+
"firstAndLast",
|
|
1247
1532
|
[
|
|
1248
1533
|
firstAndLastStepHeadline({
|
|
1249
|
-
headline: updates.headline ??
|
|
1250
|
-
headlineClass: updates.headlineClass
|
|
1534
|
+
headline: updates.headline ?? "Who is looking for help?",
|
|
1535
|
+
headlineClass: updates.headlineClass,
|
|
1251
1536
|
}),
|
|
1252
1537
|
verticalStepSubHeadline({
|
|
1253
|
-
subheadline: updates.subheadline ??
|
|
1254
|
-
subheadlineClass:
|
|
1538
|
+
subheadline: updates.subheadline ?? "Note: we never share info without consent",
|
|
1539
|
+
subheadlineClass: "!t-text-sm !t-text-gray-500",
|
|
1255
1540
|
}),
|
|
1256
|
-
firstName(scope),
|
|
1257
|
-
lastName(scope)
|
|
1541
|
+
firstName(updates.scope),
|
|
1542
|
+
lastName(updates.scope),
|
|
1258
1543
|
],
|
|
1259
1544
|
updates
|
|
1260
1545
|
)
|
|
1261
1546
|
}
|
|
1262
1547
|
|
|
1263
1548
|
function zipcode(updates = {}) {
|
|
1264
|
-
return sqstep(
|
|
1265
|
-
'zipcode',
|
|
1266
|
-
zipcode$1(updates.scope, true, updates),
|
|
1267
|
-
'Please verify your Zip Code',
|
|
1268
|
-
updates
|
|
1269
|
-
)
|
|
1549
|
+
return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
|
|
1270
1550
|
}
|
|
1271
1551
|
|
|
1272
1552
|
function commentsWithBankruptcy(updates = {}) {
|
|
1273
1553
|
return step(
|
|
1274
|
-
|
|
1554
|
+
"commentsWithBankruptcy",
|
|
1275
1555
|
[
|
|
1276
1556
|
commentsStepHeadlineLegal(updates),
|
|
1277
|
-
comments({
|
|
1278
|
-
label: typeof updates.label ===
|
|
1557
|
+
comments(updates.scope, false, {
|
|
1558
|
+
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
1279
1559
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
1280
|
-
inputClass: typeof updates.inputClass ===
|
|
1281
|
-
}
|
|
1560
|
+
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
1561
|
+
}),
|
|
1282
1562
|
// TODO: needs scope support
|
|
1283
1563
|
bankruptcyCrossSell(),
|
|
1284
1564
|
{
|
|
1285
|
-
$el:
|
|
1286
|
-
if:
|
|
1565
|
+
$el: "div",
|
|
1566
|
+
if: "$get(CrossSell_Bankruptcy).value == true",
|
|
1287
1567
|
children: [
|
|
1288
|
-
comments({
|
|
1289
|
-
label:
|
|
1290
|
-
placeholder:
|
|
1291
|
-
inputClass:
|
|
1292
|
-
},
|
|
1568
|
+
comments("CrossSell:Bankruptcy", false, {
|
|
1569
|
+
label: "Bankruptcy or debt details:",
|
|
1570
|
+
placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
|
|
1571
|
+
inputClass: "!t-h-16",
|
|
1572
|
+
}),
|
|
1293
1573
|
],
|
|
1294
|
-
}
|
|
1574
|
+
},
|
|
1295
1575
|
],
|
|
1296
1576
|
{ nextOnEnter: false }
|
|
1297
1577
|
)
|
|
@@ -1299,19 +1579,20 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1299
1579
|
|
|
1300
1580
|
function autoAndCarAccidentCrossSellQuestions(updates = {}) {
|
|
1301
1581
|
return step(
|
|
1302
|
-
|
|
1582
|
+
"autoAndCarAccidentCrossSellQuestions",
|
|
1303
1583
|
[
|
|
1304
|
-
crossSellQuestionsStepHeadline({
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1584
|
+
crossSellQuestionsStepHeadline({
|
|
1585
|
+
headline: "You May Be Entitled To Compensation",
|
|
1586
|
+
}),
|
|
1587
|
+
crossSellQuestionsStepSubHeadline({
|
|
1588
|
+
subheadline: "Tell us about your accident:",
|
|
1589
|
+
}),
|
|
1590
|
+
AutoAndCarAccidentsQuestions("true", "CrossSell:Auto_and_Car_Accidents"),
|
|
1591
|
+
comments("CrossSell:Auto_and_Car_Accidents", false, {
|
|
1592
|
+
label: "Accident Description:",
|
|
1593
|
+
placeholder: "Please describe your accident in a few words...",
|
|
1594
|
+
inputClass: "!t-h-16",
|
|
1595
|
+
}),
|
|
1315
1596
|
],
|
|
1316
1597
|
updates
|
|
1317
1598
|
)
|
|
@@ -1319,18 +1600,15 @@ function autoAndCarAccidentCrossSellQuestions(updates = {}) {
|
|
|
1319
1600
|
|
|
1320
1601
|
function childCustodyCrossSellQuestions(updates = {}) {
|
|
1321
1602
|
return step(
|
|
1322
|
-
|
|
1603
|
+
"childCustodyCrossSellQuestions",
|
|
1323
1604
|
[
|
|
1324
|
-
crossSellQuestionsStepHeadline({ headline:
|
|
1325
|
-
ChildCustodyQuestions("true",
|
|
1326
|
-
comments(
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
},
|
|
1332
|
-
'CrossSell:Child_Custody'
|
|
1333
|
-
)
|
|
1605
|
+
crossSellQuestionsStepHeadline({ headline: "Child Custody Information" }),
|
|
1606
|
+
ChildCustodyQuestions("true", "CrossSell:Child_Custody"),
|
|
1607
|
+
comments("CrossSell:Child_Custody", false, {
|
|
1608
|
+
label: "Description:",
|
|
1609
|
+
placeholder: "Please describe your situation in a few words...",
|
|
1610
|
+
inputClass: "!t-h-16",
|
|
1611
|
+
}),
|
|
1334
1612
|
],
|
|
1335
1613
|
updates
|
|
1336
1614
|
)
|
|
@@ -1338,18 +1616,17 @@ function childCustodyCrossSellQuestions(updates = {}) {
|
|
|
1338
1616
|
|
|
1339
1617
|
function divorceAndSeparationCrossSellQuestions(updates = {}) {
|
|
1340
1618
|
return step(
|
|
1341
|
-
|
|
1619
|
+
"divorceAndSeparationCrossSellQuestions",
|
|
1342
1620
|
[
|
|
1343
|
-
crossSellQuestionsStepHeadline({
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
)
|
|
1621
|
+
crossSellQuestionsStepHeadline({
|
|
1622
|
+
headline: "Divorce or Separation Information",
|
|
1623
|
+
}),
|
|
1624
|
+
DivorceQuestions("true", "CrossSell:Divorce_and_Separation"),
|
|
1625
|
+
comments("CrossSell:Divorce_and_Separation", false, {
|
|
1626
|
+
label: "Description:",
|
|
1627
|
+
placeholder: "Please describe your situation in a few words...",
|
|
1628
|
+
inputClass: "!t-h-16",
|
|
1629
|
+
}),
|
|
1353
1630
|
],
|
|
1354
1631
|
updates
|
|
1355
1632
|
)
|
|
@@ -1357,18 +1634,15 @@ function divorceAndSeparationCrossSellQuestions(updates = {}) {
|
|
|
1357
1634
|
|
|
1358
1635
|
function duiAndDWICrossSellQuestions(updates = {}) {
|
|
1359
1636
|
return step(
|
|
1360
|
-
|
|
1637
|
+
"duiAndDWICrossSellQuestions",
|
|
1361
1638
|
[
|
|
1362
|
-
crossSellQuestionsStepHeadline({ headline:
|
|
1363
|
-
DUIAndDWIQuestions("true",
|
|
1364
|
-
comments(
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
},
|
|
1370
|
-
'CrossSell:DUI_and_DWI'
|
|
1371
|
-
)
|
|
1639
|
+
crossSellQuestionsStepHeadline({ headline: "About Your DUI/DWI" }),
|
|
1640
|
+
DUIAndDWIQuestions("true", "CrossSell:DUI_and_DWI"),
|
|
1641
|
+
comments("CrossSell:DUI_and_DWI", false, {
|
|
1642
|
+
label: "Incident Description:",
|
|
1643
|
+
placeholder: "Please describe your incident in a few words...",
|
|
1644
|
+
inputClass: "!t-h-16",
|
|
1645
|
+
}),
|
|
1372
1646
|
],
|
|
1373
1647
|
updates
|
|
1374
1648
|
)
|
|
@@ -1376,19 +1650,20 @@ function duiAndDWICrossSellQuestions(updates = {}) {
|
|
|
1376
1650
|
|
|
1377
1651
|
function ssdiCrossSellQuestions(updates = {}) {
|
|
1378
1652
|
return step(
|
|
1379
|
-
|
|
1653
|
+
"ssdiCrossSellQuestions",
|
|
1380
1654
|
[
|
|
1381
|
-
crossSellQuestionsStepHeadline({
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1655
|
+
crossSellQuestionsStepHeadline({
|
|
1656
|
+
headline: "You May Be Entitled To Benefits",
|
|
1657
|
+
}),
|
|
1658
|
+
crossSellQuestionsStepSubHeadline({
|
|
1659
|
+
subheadline: "Tell us about your disability:",
|
|
1660
|
+
}),
|
|
1661
|
+
SocialSecurityDisabilityAndInsuranceQuestions("true", "CrossSell:Social_Security_Disability_and_Insurance"),
|
|
1662
|
+
comments("CrossSell:Social_Security_Disability_and_Insurance", false, {
|
|
1663
|
+
label: "Description:",
|
|
1664
|
+
placeholder: "Please describe your situation in a few words...",
|
|
1665
|
+
inputClass: "!t-h-16",
|
|
1666
|
+
}),
|
|
1392
1667
|
],
|
|
1393
1668
|
updates
|
|
1394
1669
|
)
|
|
@@ -1396,19 +1671,20 @@ function ssdiCrossSellQuestions(updates = {}) {
|
|
|
1396
1671
|
|
|
1397
1672
|
function personalInjuryCrossSellQuestions(updates = {}) {
|
|
1398
1673
|
return step(
|
|
1399
|
-
|
|
1674
|
+
"personalInjuryCrossSellQuestions",
|
|
1400
1675
|
[
|
|
1401
|
-
crossSellQuestionsStepHeadline({
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1676
|
+
crossSellQuestionsStepHeadline({
|
|
1677
|
+
headline: "You May Be Entitled To Compensation",
|
|
1678
|
+
}),
|
|
1679
|
+
crossSellQuestionsStepSubHeadline({
|
|
1680
|
+
subheadline: "Tell us about your injury:",
|
|
1681
|
+
}),
|
|
1682
|
+
PersonalInjuryQuestions("true", "CrossSell:Personal_Injury"),
|
|
1683
|
+
comments("CrossSell:Personal_Injury", false, {
|
|
1684
|
+
label: "Injury Description:",
|
|
1685
|
+
placeholder: "Please describe your injury in a few words...",
|
|
1686
|
+
inputClass: "!t-h-16",
|
|
1687
|
+
}),
|
|
1412
1688
|
],
|
|
1413
1689
|
updates
|
|
1414
1690
|
)
|
|
@@ -1416,18 +1692,17 @@ function personalInjuryCrossSellQuestions(updates = {}) {
|
|
|
1416
1692
|
|
|
1417
1693
|
function powerOfAttorneyCrossSellQuestions(updates = {}) {
|
|
1418
1694
|
return step(
|
|
1419
|
-
|
|
1695
|
+
"powerOfAttorneyCrossSellQuestions",
|
|
1420
1696
|
[
|
|
1421
|
-
crossSellQuestionsStepHeadline({
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
)
|
|
1697
|
+
crossSellQuestionsStepHeadline({
|
|
1698
|
+
headline: "Power of Attorney Information",
|
|
1699
|
+
}),
|
|
1700
|
+
PowerofAttorneyQuestions("true", "CrossSell:Power_of_Attorney"),
|
|
1701
|
+
comments("CrossSell:Power_of_Attorney", false, {
|
|
1702
|
+
label: "Description:",
|
|
1703
|
+
placeholder: "Please describe your situation in a few words...",
|
|
1704
|
+
inputClass: "!t-h-16",
|
|
1705
|
+
}),
|
|
1431
1706
|
],
|
|
1432
1707
|
updates
|
|
1433
1708
|
)
|
|
@@ -1435,18 +1710,15 @@ function powerOfAttorneyCrossSellQuestions(updates = {}) {
|
|
|
1435
1710
|
|
|
1436
1711
|
function willsAndTrustsCrossSellQuestions(updates = {}) {
|
|
1437
1712
|
return step(
|
|
1438
|
-
|
|
1713
|
+
"willsAndTrustsCrossSellQuestions",
|
|
1439
1714
|
[
|
|
1440
|
-
crossSellQuestionsStepHeadline({ headline:
|
|
1441
|
-
WillsAndTrustsQuestions("true",
|
|
1442
|
-
comments(
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
},
|
|
1448
|
-
'CrossSell:Wills_and_Trusts'
|
|
1449
|
-
)
|
|
1715
|
+
crossSellQuestionsStepHeadline({ headline: "Will or Trust Information" }),
|
|
1716
|
+
WillsAndTrustsQuestions("true", "CrossSell:Wills_and_Trusts"),
|
|
1717
|
+
comments("CrossSell:Wills_and_Trusts", false, {
|
|
1718
|
+
label: "Description:",
|
|
1719
|
+
placeholder: "Please describe your situation in a few words...",
|
|
1720
|
+
inputClass: "!t-h-16",
|
|
1721
|
+
}),
|
|
1450
1722
|
],
|
|
1451
1723
|
updates
|
|
1452
1724
|
)
|
|
@@ -1454,19 +1726,20 @@ function willsAndTrustsCrossSellQuestions(updates = {}) {
|
|
|
1454
1726
|
|
|
1455
1727
|
function workersCompensationCrossSellQuestions(updates = {}) {
|
|
1456
1728
|
return step(
|
|
1457
|
-
|
|
1729
|
+
"workersCompensationCrossSellQuestions",
|
|
1458
1730
|
[
|
|
1459
|
-
crossSellQuestionsStepHeadline({
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1731
|
+
crossSellQuestionsStepHeadline({
|
|
1732
|
+
headline: "You May Be Entitled To Benefits",
|
|
1733
|
+
}),
|
|
1734
|
+
crossSellQuestionsStepSubHeadline({
|
|
1735
|
+
subheadline: "Tell us about your injury:",
|
|
1736
|
+
}),
|
|
1737
|
+
WorkersCompensationQuestions("true", "CrossSell:Workers_Compensation"),
|
|
1738
|
+
comments("CrossSell:Workers_Compensation", false, {
|
|
1739
|
+
label: "Injury Description:",
|
|
1740
|
+
placeholder: "Please describe your injury in a few words...",
|
|
1741
|
+
inputClass: "!t-h-16",
|
|
1742
|
+
}),
|
|
1470
1743
|
],
|
|
1471
1744
|
updates
|
|
1472
1745
|
)
|
|
@@ -1474,15 +1747,15 @@ function workersCompensationCrossSellQuestions(updates = {}) {
|
|
|
1474
1747
|
|
|
1475
1748
|
function employmentAndWorkplaceTOLP(updates = {}) {
|
|
1476
1749
|
return step(
|
|
1477
|
-
|
|
1750
|
+
"employmentAndWorkplaceTOLP",
|
|
1478
1751
|
[
|
|
1479
1752
|
{
|
|
1480
|
-
$formkit:
|
|
1753
|
+
$formkit: "hidden",
|
|
1481
1754
|
name: "Type_Of_Legal_Problem",
|
|
1482
1755
|
id: "Type_Of_Legal_Problem",
|
|
1483
|
-
value: "Employment and Workplace"
|
|
1756
|
+
value: "Employment and Workplace",
|
|
1484
1757
|
},
|
|
1485
|
-
|
|
1758
|
+
employmentAndWorkplaceTOLPDisplay(updates.scope, true, updates.input),
|
|
1486
1759
|
],
|
|
1487
1760
|
updates
|
|
1488
1761
|
)
|
|
@@ -1490,249 +1763,237 @@ function employmentAndWorkplaceTOLP(updates = {}) {
|
|
|
1490
1763
|
|
|
1491
1764
|
function legalCrossSells(updates = {}) {
|
|
1492
1765
|
updates.nextOnInput = false;
|
|
1493
|
-
updates.stepKey =
|
|
1494
|
-
return step(
|
|
1495
|
-
'legalCrossSells',
|
|
1496
|
-
[
|
|
1497
|
-
legalCrossSellsStepHeadline(updates),
|
|
1498
|
-
legalCrossSells$1(),
|
|
1499
|
-
],
|
|
1500
|
-
updates
|
|
1501
|
-
)
|
|
1766
|
+
updates.stepKey = "$get(Type_Of_Legal_Problem).value";
|
|
1767
|
+
return step("legalCrossSells", [legalCrossSellsStepHeadline(updates), legalCrossSells$1()], updates)
|
|
1502
1768
|
}
|
|
1503
1769
|
|
|
1504
1770
|
function haveAttorney(updates = {}) {
|
|
1505
1771
|
return sqstep(
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1772
|
+
"haveAttorney",
|
|
1773
|
+
haveAttorney$1(updates.scope, true, updates.input),
|
|
1774
|
+
"Already working with an attorney?",
|
|
1509
1775
|
updates
|
|
1510
1776
|
)
|
|
1511
1777
|
}
|
|
1512
1778
|
|
|
1513
1779
|
function degreeOfInterest(updates = {}) {
|
|
1514
1780
|
return sqstep(
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1781
|
+
"degreeOfInterest",
|
|
1782
|
+
degreeOfInterest$1(updates.scope, true, updates.input),
|
|
1783
|
+
"Could you pay if your issue could be resolved?",
|
|
1518
1784
|
updates
|
|
1519
1785
|
)
|
|
1520
1786
|
}
|
|
1521
1787
|
|
|
1522
1788
|
function incidentDate(updates = {}) {
|
|
1523
1789
|
return sqstep(
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1790
|
+
"incidentDate",
|
|
1791
|
+
incidentDate$1(updates.scope, true, updates.input),
|
|
1792
|
+
"When did the incident occur?",
|
|
1527
1793
|
updates
|
|
1528
1794
|
)
|
|
1529
1795
|
}
|
|
1530
1796
|
|
|
1531
1797
|
function doctorTreatment(updates = {}) {
|
|
1532
1798
|
return sqstep(
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1799
|
+
"doctorTreatment",
|
|
1800
|
+
doctorTreatment$1(updates.scope, true, updates.input),
|
|
1801
|
+
"Have you seen a doctor about this?",
|
|
1536
1802
|
updates
|
|
1537
1803
|
)
|
|
1538
1804
|
}
|
|
1539
1805
|
|
|
1540
1806
|
function atFault(updates = {}) {
|
|
1541
|
-
return sqstep(
|
|
1542
|
-
'atFault',
|
|
1543
|
-
atFaultCenter(updates.scope),
|
|
1544
|
-
'Were you at fault?',
|
|
1545
|
-
updates
|
|
1546
|
-
)
|
|
1807
|
+
return sqstep("atFault", atFault$1(updates.scope, true, updates.input), "Were you at fault?", updates)
|
|
1547
1808
|
}
|
|
1548
1809
|
|
|
1549
1810
|
function primaryInjury(updates = {}) {
|
|
1550
1811
|
return sqstep(
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1812
|
+
"primaryInjury",
|
|
1813
|
+
primaryInjury$1(updates.scope, true, updates.input),
|
|
1814
|
+
"What was the primary injury?",
|
|
1554
1815
|
updates
|
|
1555
1816
|
)
|
|
1556
1817
|
}
|
|
1557
1818
|
|
|
1558
1819
|
function employerType(updates = {}) {
|
|
1559
1820
|
return sqstep(
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1821
|
+
"employerType",
|
|
1822
|
+
employerType$1(updates.scope, true, updates.input),
|
|
1823
|
+
"What type of employer is it?",
|
|
1563
1824
|
updates
|
|
1564
1825
|
)
|
|
1565
1826
|
}
|
|
1566
1827
|
|
|
1567
1828
|
function employeeAtCompany(updates = {}) {
|
|
1568
1829
|
return sqstep(
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1830
|
+
"employeeAtCompany",
|
|
1831
|
+
employeeAtCompany$1(updates.scope, true, updates.input),
|
|
1832
|
+
"Do you/they still work at the company?",
|
|
1572
1833
|
updates
|
|
1573
1834
|
)
|
|
1574
1835
|
}
|
|
1575
1836
|
|
|
1576
1837
|
function numEmployeesOfBusiness(updates = {}) {
|
|
1577
1838
|
return sqstep(
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1839
|
+
"numEmployeesOfBusiness",
|
|
1840
|
+
numEmployeesOfBusiness$1(updates.scope, true, updates.input),
|
|
1841
|
+
"How many employees does the business have?",
|
|
1581
1842
|
updates
|
|
1582
1843
|
)
|
|
1583
1844
|
}
|
|
1584
1845
|
|
|
1585
1846
|
function claimStatus(updates = {}) {
|
|
1586
1847
|
return sqstep(
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1848
|
+
"claimStatus",
|
|
1849
|
+
claimStatus$1(updates.scope, true, updates.input),
|
|
1850
|
+
"What is the status of the claim?",
|
|
1590
1851
|
updates
|
|
1591
1852
|
)
|
|
1592
1853
|
}
|
|
1593
1854
|
|
|
1594
1855
|
function causeOfInjury(updates = {}) {
|
|
1595
1856
|
return sqstep(
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1857
|
+
"causeOfInjury",
|
|
1858
|
+
causeOfInjury$1(updates.scope, true, updates.input),
|
|
1859
|
+
"What was the cause of the injury?",
|
|
1599
1860
|
updates
|
|
1600
1861
|
)
|
|
1601
1862
|
}
|
|
1602
1863
|
|
|
1603
1864
|
function causeOfDeath(updates = {}) {
|
|
1604
1865
|
return sqstep(
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1866
|
+
"causeOfDeath",
|
|
1867
|
+
causeOfDeath$1(updates.scope, true, updates.input),
|
|
1868
|
+
"What was the cause of death?",
|
|
1608
1869
|
updates
|
|
1609
1870
|
)
|
|
1610
1871
|
}
|
|
1611
1872
|
|
|
1612
1873
|
function relationshipToVictim(updates = {}) {
|
|
1613
1874
|
return sqstep(
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1875
|
+
"relationshipToVictim",
|
|
1876
|
+
relationshipToVictim$1(updates.scope, true, updates.input),
|
|
1877
|
+
"What is your relationship to the victim?",
|
|
1617
1878
|
updates
|
|
1618
1879
|
)
|
|
1619
1880
|
}
|
|
1620
1881
|
|
|
1621
1882
|
function criminalChargesFiled(updates = {}) {
|
|
1622
1883
|
return sqstep(
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1884
|
+
"criminalChargesFiled",
|
|
1885
|
+
criminalChargesFiled$1(updates.scope, true, updates.input),
|
|
1886
|
+
"Have criminal charges been filed?",
|
|
1626
1887
|
updates
|
|
1627
1888
|
)
|
|
1628
1889
|
}
|
|
1629
1890
|
|
|
1630
1891
|
const formNavigation = (updates = {}) => ({
|
|
1631
|
-
$el:
|
|
1892
|
+
$el: "div",
|
|
1632
1893
|
attrs: {
|
|
1633
|
-
class:
|
|
1894
|
+
class: "step-nav",
|
|
1634
1895
|
},
|
|
1635
1896
|
children: [
|
|
1636
1897
|
{
|
|
1637
|
-
$formkit:
|
|
1638
|
-
name:
|
|
1639
|
-
onClick:
|
|
1640
|
-
children:
|
|
1898
|
+
$formkit: "button",
|
|
1899
|
+
name: "back_button",
|
|
1900
|
+
onClick: "$setPreviousStep($prevStepFunc($get(form)))",
|
|
1901
|
+
children: "Back",
|
|
1641
1902
|
style: {
|
|
1642
|
-
if:
|
|
1643
|
-
then:
|
|
1644
|
-
}
|
|
1903
|
+
if: "$activeStep === $firstStep()",
|
|
1904
|
+
then: "visibility: hidden;",
|
|
1905
|
+
},
|
|
1645
1906
|
},
|
|
1646
1907
|
{
|
|
1647
|
-
$formkit:
|
|
1648
|
-
name:
|
|
1649
|
-
onClick:
|
|
1908
|
+
$formkit: "button",
|
|
1909
|
+
name: "next_button",
|
|
1910
|
+
onClick: "$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",
|
|
1650
1911
|
children: {
|
|
1651
|
-
if:
|
|
1652
|
-
then:
|
|
1653
|
-
else:
|
|
1912
|
+
if: "$activeStep === $firstStep()",
|
|
1913
|
+
then: "Start",
|
|
1914
|
+
else: "Next",
|
|
1654
1915
|
},
|
|
1655
1916
|
outerClass: {
|
|
1656
|
-
if:
|
|
1657
|
-
then:
|
|
1658
|
-
else:
|
|
1917
|
+
if: "$activeStep === $lastStep()",
|
|
1918
|
+
then: "t-hidden",
|
|
1919
|
+
else: "",
|
|
1659
1920
|
},
|
|
1660
1921
|
style: {
|
|
1661
|
-
if:
|
|
1662
|
-
then:
|
|
1663
|
-
}
|
|
1922
|
+
if: "$activeStep === $lastStep()",
|
|
1923
|
+
then: "display: none;",
|
|
1924
|
+
},
|
|
1664
1925
|
},
|
|
1665
1926
|
{
|
|
1666
|
-
$formkit:
|
|
1667
|
-
name:
|
|
1668
|
-
label: updates.submitLabel ||
|
|
1669
|
-
if:
|
|
1927
|
+
$formkit: "submit",
|
|
1928
|
+
name: "submit_button",
|
|
1929
|
+
label: updates.submitLabel || "Submit",
|
|
1930
|
+
if: "$activeStep === $lastStep()",
|
|
1670
1931
|
style: {
|
|
1671
|
-
if:
|
|
1672
|
-
then:
|
|
1673
|
-
}
|
|
1674
|
-
}
|
|
1675
|
-
]
|
|
1932
|
+
if: "$activeStep !== $lastStep()",
|
|
1933
|
+
then: "display: none;",
|
|
1934
|
+
},
|
|
1935
|
+
},
|
|
1936
|
+
],
|
|
1676
1937
|
});
|
|
1677
1938
|
|
|
1678
1939
|
const formDetails = () => ({
|
|
1679
|
-
$el:
|
|
1940
|
+
$el: "pre",
|
|
1680
1941
|
if: '$urlParam("fdbg", "") == 1',
|
|
1681
1942
|
children: [
|
|
1682
1943
|
{
|
|
1683
|
-
$el:
|
|
1684
|
-
children:
|
|
1944
|
+
$el: "pre",
|
|
1945
|
+
children: "$stringify( $get(form).value )",
|
|
1685
1946
|
attrs: {
|
|
1686
|
-
class:
|
|
1687
|
-
style:
|
|
1688
|
-
}
|
|
1947
|
+
class: "t-text-xs",
|
|
1948
|
+
style: "overflow: scroll",
|
|
1949
|
+
},
|
|
1689
1950
|
},
|
|
1690
1951
|
{
|
|
1691
|
-
$el:
|
|
1692
|
-
children: [
|
|
1952
|
+
$el: "pre",
|
|
1953
|
+
children: ["activeStep: ", "$activeStep"],
|
|
1693
1954
|
attrs: {
|
|
1694
|
-
class:
|
|
1695
|
-
style:
|
|
1696
|
-
}
|
|
1955
|
+
class: "t-text-xs",
|
|
1956
|
+
style: "overflow: scroll",
|
|
1957
|
+
},
|
|
1697
1958
|
},
|
|
1698
1959
|
{
|
|
1699
|
-
$el:
|
|
1700
|
-
children: [
|
|
1960
|
+
$el: "pre",
|
|
1961
|
+
children: ["stepHistory: ", "$stepHistory"],
|
|
1701
1962
|
attrs: {
|
|
1702
|
-
class:
|
|
1703
|
-
style:
|
|
1704
|
-
}
|
|
1963
|
+
class: "t-text-xs",
|
|
1964
|
+
style: "overflow: scroll",
|
|
1965
|
+
},
|
|
1705
1966
|
},
|
|
1706
1967
|
{
|
|
1707
|
-
$el:
|
|
1708
|
-
children: [
|
|
1968
|
+
$el: "pre",
|
|
1969
|
+
children: ["stepQueue: ", "$stepQueue"],
|
|
1709
1970
|
attrs: {
|
|
1710
|
-
class:
|
|
1711
|
-
style:
|
|
1712
|
-
}
|
|
1971
|
+
class: "t-text-xs",
|
|
1972
|
+
style: "overflow: scroll",
|
|
1973
|
+
},
|
|
1713
1974
|
},
|
|
1714
1975
|
{
|
|
1715
|
-
$el:
|
|
1716
|
-
children: [
|
|
1976
|
+
$el: "pre",
|
|
1977
|
+
children: ["steps: ", "$stepKeys()"],
|
|
1717
1978
|
attrs: {
|
|
1718
|
-
class:
|
|
1719
|
-
style:
|
|
1720
|
-
}
|
|
1721
|
-
}
|
|
1722
|
-
]
|
|
1979
|
+
class: "t-text-xs",
|
|
1980
|
+
style: "overflow: scroll",
|
|
1981
|
+
},
|
|
1982
|
+
},
|
|
1983
|
+
],
|
|
1723
1984
|
});
|
|
1724
1985
|
|
|
1725
1986
|
const formPropDefaults = {
|
|
1726
|
-
type:
|
|
1727
|
-
id:
|
|
1728
|
-
config: { validationVisibility:
|
|
1987
|
+
type: "form",
|
|
1988
|
+
id: "form",
|
|
1989
|
+
config: { validationVisibility: "submit" },
|
|
1729
1990
|
onSubmit: '$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',
|
|
1730
|
-
plugins:
|
|
1991
|
+
plugins: "$plugins",
|
|
1731
1992
|
actions: false,
|
|
1732
|
-
anchorElement:
|
|
1993
|
+
anchorElement: "form-anchor",
|
|
1733
1994
|
useLocalStorage: true,
|
|
1734
1995
|
prepop: {
|
|
1735
|
-
fromURL: true
|
|
1996
|
+
fromURL: true,
|
|
1736
1997
|
},
|
|
1737
1998
|
errorCodes: {
|
|
1738
1999
|
403: { message: "An Error Occurred", abort: false },
|
|
@@ -1740,13 +2001,11 @@ const formPropDefaults = {
|
|
|
1740
2001
|
429: "An Error Occurred",
|
|
1741
2002
|
504: { message: "An Error Occurred", abort: false },
|
|
1742
2003
|
},
|
|
1743
|
-
formClass:
|
|
2004
|
+
formClass: "!t-max-w-[40rem]",
|
|
1744
2005
|
};
|
|
1745
2006
|
|
|
1746
2007
|
function filterMapByKey(obj, keyList) {
|
|
1747
|
-
return Object.fromEntries(
|
|
1748
|
-
Object.entries(obj).filter(([key]) => keyList.includes(key))
|
|
1749
|
-
);
|
|
2008
|
+
return Object.fromEntries(Object.entries(obj).filter(([key]) => keyList.includes(key)))
|
|
1750
2009
|
}
|
|
1751
2010
|
|
|
1752
2011
|
// export function filteredNextStepsMapLegal(keyList) {
|
|
@@ -1756,10 +2015,7 @@ function filterMapByKey(obj, keyList) {
|
|
|
1756
2015
|
// }
|
|
1757
2016
|
|
|
1758
2017
|
function formProps(updates) {
|
|
1759
|
-
const props = merge(
|
|
1760
|
-
formPropDefaults,
|
|
1761
|
-
updates
|
|
1762
|
-
);
|
|
2018
|
+
const props = merge(formPropDefaults, updates);
|
|
1763
2019
|
if (props.formId && !props.name) {
|
|
1764
2020
|
props.name = props.formId;
|
|
1765
2021
|
}
|
|
@@ -1769,13 +2025,10 @@ function formProps(updates) {
|
|
|
1769
2025
|
const metaDefaults = {};
|
|
1770
2026
|
|
|
1771
2027
|
function metaProps(updates) {
|
|
1772
|
-
const data = merge(
|
|
1773
|
-
metaDefaults,
|
|
1774
|
-
updates
|
|
1775
|
-
);
|
|
2028
|
+
const data = merge(metaDefaults, updates);
|
|
1776
2029
|
return {
|
|
1777
|
-
type:
|
|
1778
|
-
data
|
|
2030
|
+
type: "meta",
|
|
2031
|
+
data,
|
|
1779
2032
|
}
|
|
1780
2033
|
}
|
|
1781
2034
|
|
|
@@ -1795,475 +2048,474 @@ function defaultMetaPropsLegal(tolps = null) {
|
|
|
1795
2048
|
defaultFinalHeadline: DEFAULT_FINAL_HEADLINE_LEGAL,
|
|
1796
2049
|
finalHeadlines: finalHeadlines,
|
|
1797
2050
|
defaultFinalSubHeadline: DEFAULT_FINAL_SUBHEADLINE_LEGAL,
|
|
1798
|
-
finalSubHeadlines: finalSubHeadlines
|
|
2051
|
+
finalSubHeadlines: finalSubHeadlines,
|
|
1799
2052
|
})
|
|
1800
2053
|
}
|
|
1801
2054
|
|
|
1802
|
-
function dynamicSchemaNode(field =
|
|
2055
|
+
function dynamicSchemaNode(field = "Type_Of_Legal_Problem") {
|
|
1803
2056
|
return {
|
|
1804
|
-
$cmp:
|
|
1805
|
-
if:
|
|
2057
|
+
$cmp: "FormKitSchema",
|
|
2058
|
+
if: "$get(" + field + ").value",
|
|
1806
2059
|
props: {
|
|
1807
|
-
schema:
|
|
1808
|
-
data:
|
|
1809
|
-
}
|
|
2060
|
+
schema: "$meta.dynamicSchema",
|
|
2061
|
+
data: "$buildData($meta)",
|
|
2062
|
+
},
|
|
1810
2063
|
}
|
|
1811
2064
|
}
|
|
1812
2065
|
|
|
1813
2066
|
const formAnchorDefaults = {
|
|
1814
|
-
$el:
|
|
2067
|
+
$el: "div",
|
|
1815
2068
|
children: [
|
|
1816
2069
|
{
|
|
1817
|
-
$el:
|
|
2070
|
+
$el: "div",
|
|
1818
2071
|
attrs: {
|
|
1819
|
-
id:
|
|
1820
|
-
class:
|
|
1821
|
-
style: { top:
|
|
1822
|
-
}
|
|
1823
|
-
}
|
|
2072
|
+
id: "form-anchor",
|
|
2073
|
+
class: "t-absolute",
|
|
2074
|
+
style: { top: "-30px", left: 0 },
|
|
2075
|
+
},
|
|
2076
|
+
},
|
|
1824
2077
|
],
|
|
1825
2078
|
attrs: {
|
|
1826
|
-
class:
|
|
1827
|
-
}
|
|
2079
|
+
class: "t-relative",
|
|
2080
|
+
},
|
|
1828
2081
|
};
|
|
1829
2082
|
|
|
1830
2083
|
function formAnchor(updates) {
|
|
1831
|
-
return merge(
|
|
1832
|
-
formAnchorDefaults,
|
|
1833
|
-
updates
|
|
1834
|
-
)
|
|
2084
|
+
return merge(formAnchorDefaults, updates)
|
|
1835
2085
|
}
|
|
1836
2086
|
|
|
1837
2087
|
const progressBarDefaults = {
|
|
1838
|
-
$el:
|
|
2088
|
+
$el: "div",
|
|
1839
2089
|
attrs: {
|
|
1840
|
-
class:
|
|
2090
|
+
class: "t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",
|
|
1841
2091
|
style: {
|
|
1842
|
-
if:
|
|
1843
|
-
then:
|
|
2092
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
2093
|
+
then: "display: none",
|
|
1844
2094
|
},
|
|
1845
2095
|
},
|
|
1846
2096
|
children: [
|
|
1847
2097
|
{
|
|
1848
|
-
$el:
|
|
2098
|
+
$el: "div",
|
|
1849
2099
|
attrs: {
|
|
1850
|
-
class:
|
|
2100
|
+
class: "t-flex t-justify-center",
|
|
1851
2101
|
},
|
|
1852
2102
|
children: [
|
|
1853
2103
|
{
|
|
1854
|
-
$el:
|
|
2104
|
+
$el: "span",
|
|
1855
2105
|
attrs: {
|
|
1856
|
-
id:
|
|
1857
|
-
class:
|
|
2106
|
+
id: "progress-bar-text",
|
|
2107
|
+
class: "t-text-sm t-mb-1",
|
|
1858
2108
|
},
|
|
1859
|
-
children: [
|
|
1860
|
-
"0% Complete"
|
|
1861
|
-
]
|
|
2109
|
+
children: ["0% Complete"],
|
|
1862
2110
|
},
|
|
1863
|
-
]
|
|
2111
|
+
],
|
|
1864
2112
|
},
|
|
1865
2113
|
{
|
|
1866
|
-
$el:
|
|
2114
|
+
$el: "div",
|
|
1867
2115
|
attrs: {
|
|
1868
|
-
class:
|
|
2116
|
+
class: "t-bg-gray-100 t-w-9/12 t-rounded",
|
|
1869
2117
|
},
|
|
1870
2118
|
children: [
|
|
1871
2119
|
{
|
|
1872
|
-
$el:
|
|
2120
|
+
$el: "div",
|
|
1873
2121
|
attrs: {
|
|
1874
|
-
id:
|
|
1875
|
-
class:
|
|
2122
|
+
id: "progress-bar",
|
|
2123
|
+
class:
|
|
2124
|
+
"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",
|
|
1876
2125
|
style: {
|
|
1877
|
-
transition:
|
|
2126
|
+
transition: "width 0.5s ease",
|
|
1878
2127
|
},
|
|
1879
2128
|
},
|
|
1880
|
-
}
|
|
1881
|
-
]
|
|
1882
|
-
}
|
|
1883
|
-
]
|
|
2129
|
+
},
|
|
2130
|
+
],
|
|
2131
|
+
},
|
|
2132
|
+
],
|
|
1884
2133
|
};
|
|
1885
2134
|
|
|
1886
2135
|
function progressBar(updates) {
|
|
1887
|
-
return merge(
|
|
1888
|
-
progressBarDefaults,
|
|
1889
|
-
updates
|
|
1890
|
-
)
|
|
2136
|
+
return merge(progressBarDefaults, updates)
|
|
1891
2137
|
}
|
|
1892
2138
|
|
|
1893
2139
|
function headlineDefaults(updates = {}) {
|
|
1894
2140
|
return {
|
|
1895
|
-
$el:
|
|
2141
|
+
$el: "h1",
|
|
1896
2142
|
attrs: {
|
|
1897
|
-
class:
|
|
1898
|
-
|
|
2143
|
+
class:
|
|
2144
|
+
"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3" +
|
|
2145
|
+
" " +
|
|
2146
|
+
(updates.headlineClass || ""),
|
|
2147
|
+
},
|
|
1899
2148
|
}
|
|
1900
2149
|
}
|
|
1901
2150
|
|
|
1902
2151
|
function headline(updates = {}) {
|
|
1903
|
-
return merge(
|
|
1904
|
-
headlineDefaults(updates),
|
|
1905
|
-
updates
|
|
1906
|
-
)
|
|
2152
|
+
return merge(headlineDefaults(updates), updates)
|
|
1907
2153
|
}
|
|
1908
2154
|
|
|
1909
2155
|
function defaultHeadline() {
|
|
1910
2156
|
return headline({
|
|
1911
2157
|
children: '$urlParam("hl", "Start Here For a Free Consultation")',
|
|
1912
|
-
if:
|
|
2158
|
+
if: "$activeStep === $firstStep()",
|
|
1913
2159
|
})
|
|
1914
2160
|
}
|
|
1915
2161
|
|
|
1916
2162
|
function subHeadlineDefaults(updates = {}) {
|
|
1917
2163
|
return {
|
|
1918
|
-
$el:
|
|
2164
|
+
$el: "h3",
|
|
1919
2165
|
attrs: {
|
|
1920
|
-
class:
|
|
1921
|
-
|
|
2166
|
+
class:
|
|
2167
|
+
"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10" +
|
|
2168
|
+
" " +
|
|
2169
|
+
(updates.subheadlineClass || ""),
|
|
2170
|
+
},
|
|
1922
2171
|
}
|
|
1923
2172
|
}
|
|
1924
2173
|
|
|
1925
2174
|
function subHeadline(updates = {}) {
|
|
1926
|
-
return merge(
|
|
1927
|
-
subHeadlineDefaults(updates),
|
|
1928
|
-
updates
|
|
1929
|
-
)
|
|
2175
|
+
return merge(subHeadlineDefaults(updates), updates)
|
|
1930
2176
|
}
|
|
1931
2177
|
|
|
1932
2178
|
const hiddenInputsBase = [
|
|
1933
2179
|
{
|
|
1934
|
-
$formkit:
|
|
2180
|
+
$formkit: "hidden",
|
|
1935
2181
|
name: "gclid",
|
|
1936
|
-
value: null
|
|
2182
|
+
value: null,
|
|
1937
2183
|
},
|
|
1938
2184
|
{
|
|
1939
|
-
$formkit:
|
|
2185
|
+
$formkit: "hidden",
|
|
1940
2186
|
name: "campaignid",
|
|
1941
|
-
value: null
|
|
2187
|
+
value: null,
|
|
1942
2188
|
},
|
|
1943
2189
|
{
|
|
1944
|
-
$formkit:
|
|
2190
|
+
$formkit: "hidden",
|
|
1945
2191
|
name: "s",
|
|
1946
|
-
value: null
|
|
1947
|
-
}
|
|
2192
|
+
value: null,
|
|
2193
|
+
},
|
|
1948
2194
|
];
|
|
1949
2195
|
|
|
1950
2196
|
const hiddenInputsLegal = [
|
|
1951
2197
|
{
|
|
1952
|
-
$formkit:
|
|
2198
|
+
$formkit: "hidden",
|
|
1953
2199
|
name: "vertical",
|
|
1954
|
-
value: "Legal"
|
|
2200
|
+
value: "Legal",
|
|
1955
2201
|
},
|
|
1956
2202
|
{
|
|
1957
|
-
$formkit:
|
|
2203
|
+
$formkit: "hidden",
|
|
1958
2204
|
name: "TCPA_Language",
|
|
1959
|
-
value: "$meta.tcpaLanguage"
|
|
2205
|
+
value: "$meta.tcpaLanguage",
|
|
1960
2206
|
},
|
|
1961
|
-
...hiddenInputsBase
|
|
2207
|
+
...hiddenInputsBase,
|
|
1962
2208
|
];
|
|
1963
2209
|
|
|
1964
2210
|
const legalRedirectMapDefaults = {
|
|
1965
|
-
|
|
2211
|
+
"*": LegalRedirectUrl(),
|
|
1966
2212
|
};
|
|
1967
2213
|
|
|
1968
|
-
|
|
1969
2214
|
function legalRedirectMap(updates) {
|
|
1970
|
-
return merge(
|
|
1971
|
-
legalRedirectMapDefaults,
|
|
1972
|
-
updates
|
|
1973
|
-
)
|
|
2215
|
+
return merge(legalRedirectMapDefaults, updates)
|
|
1974
2216
|
}
|
|
1975
2217
|
|
|
1976
2218
|
const businessServicesOverrideMap = {
|
|
1977
|
-
|
|
2219
|
+
Business_Services_Display: {
|
|
1978
2220
|
"Business Formation": {
|
|
1979
|
-
|
|
2221
|
+
Business_Services: "Business Formation",
|
|
1980
2222
|
},
|
|
1981
|
-
|
|
1982
|
-
|
|
2223
|
+
Contracts: {
|
|
2224
|
+
Business_Services: "Contracts",
|
|
1983
2225
|
},
|
|
1984
2226
|
"Insurance and Liability": {
|
|
1985
|
-
|
|
2227
|
+
Business_Services: "Insurance and Liability",
|
|
1986
2228
|
},
|
|
1987
2229
|
"Mergers and Acquisition": {
|
|
1988
|
-
|
|
2230
|
+
Business_Services: "Mergers and Acquisition",
|
|
1989
2231
|
},
|
|
1990
2232
|
"Regulatory Compliance": {
|
|
1991
|
-
|
|
2233
|
+
Business_Services: "Regulatory Compliance",
|
|
1992
2234
|
},
|
|
1993
2235
|
"Employee Dispute": {
|
|
1994
|
-
|
|
2236
|
+
Business_Services: "Employee Dispute",
|
|
1995
2237
|
},
|
|
1996
2238
|
"Advice and Consulting": {
|
|
1997
|
-
|
|
2239
|
+
Business_Services: "Other",
|
|
2240
|
+
},
|
|
2241
|
+
Other: {
|
|
2242
|
+
Business_Services: "Other",
|
|
1998
2243
|
},
|
|
1999
|
-
"Other": {
|
|
2000
|
-
'Business_Services': 'Other'
|
|
2001
|
-
}
|
|
2002
2244
|
},
|
|
2003
2245
|
};
|
|
2004
2246
|
|
|
2005
2247
|
const patentsAndIPTOLPDisplayOverrideMap = {
|
|
2006
|
-
|
|
2007
|
-
|
|
2248
|
+
Copyrights: {
|
|
2249
|
+
Type_Of_Legal_Problem: "Copyrights and Trademarks",
|
|
2008
2250
|
},
|
|
2009
|
-
|
|
2010
|
-
|
|
2251
|
+
Trademarks: {
|
|
2252
|
+
Type_Of_Legal_Problem: "Copyrights and Trademarks",
|
|
2011
2253
|
},
|
|
2012
|
-
|
|
2013
|
-
|
|
2254
|
+
Patents: {
|
|
2255
|
+
Type_Of_Legal_Problem: "Patents and Intellectual Property",
|
|
2014
2256
|
},
|
|
2015
|
-
|
|
2016
|
-
|
|
2257
|
+
"Business Lawyers": {
|
|
2258
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2017
2259
|
},
|
|
2018
|
-
|
|
2019
|
-
|
|
2260
|
+
"Business Consulting": {
|
|
2261
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2020
2262
|
},
|
|
2021
|
-
|
|
2022
|
-
|
|
2263
|
+
"Not Sure or Other": {
|
|
2264
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
2023
2265
|
},
|
|
2024
2266
|
};
|
|
2025
2267
|
|
|
2026
2268
|
const legalAllValueOverrideMap = {
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2269
|
+
Civil_Defense: {
|
|
2270
|
+
Yes: {
|
|
2271
|
+
Type_Of_Legal_Problem: "Defend a Lawsuit",
|
|
2272
|
+
},
|
|
2273
|
+
No: {
|
|
2274
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
2030
2275
|
},
|
|
2031
|
-
'No': {
|
|
2032
|
-
'Type_Of_Legal_Problem': 'File a Lawsuit'
|
|
2033
|
-
}
|
|
2034
2276
|
},
|
|
2035
2277
|
businessServicesOverrideMap,
|
|
2036
|
-
|
|
2278
|
+
Type_Of_Legal_Problem_Display: {
|
|
2037
2279
|
...patentsAndIPTOLPDisplayOverrideMap,
|
|
2038
2280
|
// Accidents and PI
|
|
2039
|
-
|
|
2040
|
-
|
|
2281
|
+
"Auto Accident": {
|
|
2282
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
2041
2283
|
},
|
|
2042
|
-
|
|
2043
|
-
|
|
2284
|
+
"Dog Bite": {
|
|
2285
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
2044
2286
|
},
|
|
2045
|
-
|
|
2046
|
-
|
|
2287
|
+
"Slip and Fall": {
|
|
2288
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
2047
2289
|
},
|
|
2048
|
-
|
|
2049
|
-
|
|
2290
|
+
"Workplace Injury": {
|
|
2291
|
+
Type_Of_Legal_Problem: "Workers Compensation",
|
|
2050
2292
|
},
|
|
2051
|
-
|
|
2052
|
-
|
|
2293
|
+
"Trucking Accident": {
|
|
2294
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
2053
2295
|
},
|
|
2054
|
-
|
|
2055
|
-
|
|
2296
|
+
"Motorcycle Accident": {
|
|
2297
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
2056
2298
|
},
|
|
2057
|
-
|
|
2058
|
-
|
|
2299
|
+
"Other Accidents or Injuries": {
|
|
2300
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
2059
2301
|
},
|
|
2060
2302
|
// Civil
|
|
2061
|
-
|
|
2062
|
-
|
|
2303
|
+
"Automobile Accident": {
|
|
2304
|
+
Type_Of_Legal_Problem: "Auto and Car Accidents",
|
|
2063
2305
|
},
|
|
2064
|
-
|
|
2065
|
-
|
|
2306
|
+
"Contract Disputes": {
|
|
2307
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2066
2308
|
},
|
|
2067
|
-
|
|
2068
|
-
|
|
2309
|
+
"Defamation and Slander": {
|
|
2310
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
2069
2311
|
},
|
|
2070
|
-
|
|
2071
|
-
|
|
2312
|
+
"Dog Bite": {
|
|
2313
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
2072
2314
|
},
|
|
2073
|
-
|
|
2074
|
-
|
|
2315
|
+
"Employment and Workplace": {
|
|
2316
|
+
Type_Of_Legal_Problem: "Employment and Workplace",
|
|
2075
2317
|
},
|
|
2076
|
-
|
|
2077
|
-
|
|
2318
|
+
Fraud: {
|
|
2319
|
+
Type_Of_Legal_Problem: "Consumer Lawyers",
|
|
2078
2320
|
},
|
|
2079
|
-
|
|
2080
|
-
|
|
2321
|
+
"Medical Malpractice": {
|
|
2322
|
+
Type_Of_Legal_Problem: "Medical Malpractice",
|
|
2081
2323
|
},
|
|
2082
|
-
|
|
2083
|
-
|
|
2324
|
+
"Personal Injury": {
|
|
2325
|
+
Type_Of_Legal_Problem: "Personal Injury",
|
|
2084
2326
|
},
|
|
2085
|
-
|
|
2086
|
-
|
|
2327
|
+
"Property Damage": {
|
|
2328
|
+
Type_Of_Legal_Problem: "Property Damage",
|
|
2087
2329
|
},
|
|
2088
|
-
|
|
2089
|
-
|
|
2330
|
+
"Small Claims": {
|
|
2331
|
+
Type_Of_Legal_Problem: "File a Lawsuit",
|
|
2090
2332
|
},
|
|
2091
|
-
|
|
2092
|
-
|
|
2333
|
+
"Real Estate": {
|
|
2334
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
2093
2335
|
},
|
|
2094
|
-
|
|
2095
|
-
|
|
2336
|
+
"Other (describe on next page)": {
|
|
2337
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
2096
2338
|
},
|
|
2097
2339
|
// Contracts
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2340
|
+
"Contract Creation": {
|
|
2341
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2342
|
+
Business_Services: "Contracts",
|
|
2101
2343
|
},
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2344
|
+
"Contract Enforcement": {
|
|
2345
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2346
|
+
Business_Services: "Contracts",
|
|
2105
2347
|
},
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2348
|
+
"Contract Cancellation": {
|
|
2349
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2350
|
+
Business_Services: "Contracts",
|
|
2109
2351
|
},
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2352
|
+
"Contract Fraud": {
|
|
2353
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2354
|
+
Business_Services: "Contracts",
|
|
2113
2355
|
},
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2356
|
+
"Breach of Contract": {
|
|
2357
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2358
|
+
Business_Services: "Contracts",
|
|
2117
2359
|
},
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2360
|
+
"Other Contract Issues": {
|
|
2361
|
+
Type_Of_Legal_Problem: "Business Lawyers",
|
|
2362
|
+
Business_Services: "Contracts",
|
|
2121
2363
|
},
|
|
2122
2364
|
// Criminal
|
|
2123
|
-
|
|
2124
|
-
|
|
2365
|
+
"Criminal Defense": {
|
|
2366
|
+
Type_Of_Legal_Problem: "Criminal and Felony",
|
|
2125
2367
|
},
|
|
2126
|
-
|
|
2127
|
-
|
|
2368
|
+
"Victim of a Crime": {
|
|
2369
|
+
Type_Of_Legal_Problem: "Victim of a Crime",
|
|
2128
2370
|
},
|
|
2129
|
-
|
|
2130
|
-
|
|
2371
|
+
"DUI and DWI": {
|
|
2372
|
+
Type_Of_Legal_Problem: "DUI and DWI",
|
|
2131
2373
|
},
|
|
2132
|
-
|
|
2133
|
-
|
|
2374
|
+
Expungement: {
|
|
2375
|
+
Type_Of_Legal_Problem: "Expungement",
|
|
2134
2376
|
},
|
|
2135
|
-
|
|
2136
|
-
|
|
2377
|
+
Harassment: {
|
|
2378
|
+
Type_Of_Legal_Problem: "Criminal and Felony",
|
|
2137
2379
|
},
|
|
2138
|
-
|
|
2139
|
-
|
|
2380
|
+
"Not Sure or Other": {
|
|
2381
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
2140
2382
|
},
|
|
2141
2383
|
// Employment and Workplace
|
|
2142
|
-
|
|
2143
|
-
|
|
2384
|
+
"Workplace Harassment": {
|
|
2385
|
+
Type_Of_Legal_Problem: "Workplace Harassment",
|
|
2144
2386
|
},
|
|
2145
|
-
|
|
2146
|
-
|
|
2387
|
+
"Workplace Discrimination": {
|
|
2388
|
+
Type_Of_Legal_Problem: "Workplace Discrimination",
|
|
2147
2389
|
},
|
|
2148
|
-
|
|
2149
|
-
|
|
2390
|
+
"Wrongful Termination": {
|
|
2391
|
+
Type_Of_Legal_Problem: "Wrongful Termination",
|
|
2150
2392
|
},
|
|
2151
|
-
|
|
2152
|
-
|
|
2393
|
+
"Payment Disputes": {
|
|
2394
|
+
Type_Of_Legal_Problem: "Employment and Workplace",
|
|
2153
2395
|
},
|
|
2154
|
-
|
|
2155
|
-
|
|
2396
|
+
"Workers Compensation": {
|
|
2397
|
+
Type_Of_Legal_Problem: "Workers Compensation",
|
|
2156
2398
|
},
|
|
2157
|
-
|
|
2158
|
-
|
|
2399
|
+
Unemployment: {
|
|
2400
|
+
Type_Of_Legal_Problem: "Unemployment",
|
|
2159
2401
|
},
|
|
2160
|
-
|
|
2161
|
-
|
|
2402
|
+
"Other Workplace Issues": {
|
|
2403
|
+
Type_Of_Legal_Problem: "Employment and Workplace",
|
|
2162
2404
|
},
|
|
2163
2405
|
// Malpractice
|
|
2164
|
-
|
|
2165
|
-
|
|
2406
|
+
"Attorney Malpractice": {
|
|
2407
|
+
Type_Of_Legal_Problem: "Civil Lawsuit",
|
|
2166
2408
|
},
|
|
2167
|
-
|
|
2168
|
-
|
|
2409
|
+
"Other Malpractice Issues": {
|
|
2410
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
2169
2411
|
},
|
|
2170
2412
|
// Repossession
|
|
2171
|
-
|
|
2172
|
-
|
|
2413
|
+
"Vehicle Repossession": {
|
|
2414
|
+
Type_Of_Legal_Problem: "Bankruptcy",
|
|
2173
2415
|
},
|
|
2174
|
-
|
|
2175
|
-
|
|
2416
|
+
"Property Repossession": {
|
|
2417
|
+
Type_Of_Legal_Problem: "Bankruptcy",
|
|
2176
2418
|
},
|
|
2177
|
-
|
|
2178
|
-
|
|
2419
|
+
"Other Repossession Issues": {
|
|
2420
|
+
Type_Of_Legal_Problem: "Not Sure or Other",
|
|
2179
2421
|
},
|
|
2180
2422
|
// Real Estate
|
|
2181
|
-
|
|
2182
|
-
|
|
2423
|
+
"Contracts and Agreements": {
|
|
2424
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
2183
2425
|
},
|
|
2184
|
-
|
|
2185
|
-
|
|
2426
|
+
"Deeds, Liens, and Titles": {
|
|
2427
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
2186
2428
|
},
|
|
2187
|
-
|
|
2188
|
-
|
|
2429
|
+
Foreclosure: {
|
|
2430
|
+
Type_Of_Legal_Problem: "Foreclosure",
|
|
2189
2431
|
},
|
|
2190
|
-
|
|
2191
|
-
|
|
2432
|
+
Insurance: {
|
|
2433
|
+
Type_Of_Legal_Problem: "Insurance",
|
|
2192
2434
|
},
|
|
2193
|
-
|
|
2194
|
-
|
|
2435
|
+
"Landlord and Tenant": {
|
|
2436
|
+
Type_Of_Legal_Problem: "Landlord and Tenant",
|
|
2195
2437
|
},
|
|
2196
|
-
|
|
2197
|
-
|
|
2438
|
+
"Loans and Mortgages": {
|
|
2439
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
2198
2440
|
},
|
|
2199
|
-
|
|
2200
|
-
|
|
2441
|
+
"Wills, Trusts, and Estates": {
|
|
2442
|
+
Type_Of_Legal_Problem: "Wills and Trusts",
|
|
2201
2443
|
},
|
|
2202
|
-
|
|
2203
|
-
|
|
2444
|
+
"Property Damage": {
|
|
2445
|
+
Type_Of_Legal_Problem: "Property Damage",
|
|
2204
2446
|
},
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
}
|
|
2208
|
-
}
|
|
2447
|
+
"Other Real Estate Issues": {
|
|
2448
|
+
Type_Of_Legal_Problem: "Real Estate",
|
|
2449
|
+
},
|
|
2450
|
+
},
|
|
2209
2451
|
};
|
|
2210
2452
|
|
|
2211
2453
|
const TOLPCommentsPlaceholders = {
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2454
|
+
Adoption: 'Example: "I need help with adoption forms"',
|
|
2455
|
+
"Asbestos and Mesothelioma": 'Example: "I was exposed to asbestos at work and would like to file a claim"',
|
|
2456
|
+
"Auto and Car Accidents":
|
|
2457
|
+
'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',
|
|
2458
|
+
Bankruptcy: 'Example: "I need help filing for bankruptcy"',
|
|
2459
|
+
"Birth Certificate and Name Change": 'Example: "Just married and would like to change my last name"',
|
|
2460
|
+
"Business Lawyers": 'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',
|
|
2461
|
+
"Child Custody and Support": 'Example: "Need help getting custody" or "Issues with child support payments"',
|
|
2462
|
+
"Child Custody": 'Example: "Need help getting custody"',
|
|
2463
|
+
"Child Support": 'Example: "Issues with child support payments"',
|
|
2464
|
+
"Civil Rights and Discrimination": 'Example: "Police brutality" or "Coworker keeps harassing me"',
|
|
2465
|
+
"Civil Lawsuit":
|
|
2466
|
+
'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',
|
|
2467
|
+
"File a Lawsuit": 'Example: "A contractor took my money and never completed the job"',
|
|
2468
|
+
"Defend a Lawsuit": 'Example: "I am being sued by a neighbor"',
|
|
2469
|
+
"Consumer Lawyers":
|
|
2470
|
+
'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',
|
|
2471
|
+
"Copyrights and Trademarks": 'Example: "I would like to register a trademark or copyright a name"',
|
|
2472
|
+
"Criminal and Felony":
|
|
2473
|
+
'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',
|
|
2474
|
+
"Debt and Collections": 'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',
|
|
2475
|
+
"Divorce and Separation": 'Example: "I would like to file for an uncontested divorce"',
|
|
2476
|
+
"DUI and DWI": 'Example: "I was arrested for DUI and need legal defense"',
|
|
2477
|
+
"Elder Law": 'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',
|
|
2478
|
+
"Employment and Workplace": 'Example: "I was injured while on the job" or "My company is discriminating against me"',
|
|
2479
|
+
Expungement: 'Example: "I would like to file for an expungement and clear my record"',
|
|
2480
|
+
"Family Issues": 'Example: "I need help with guardianship" or "I need a simple will created"',
|
|
2481
|
+
Foreclosure: 'Example: "I need help to avoid foreclosure on my house"',
|
|
2482
|
+
Guardianship: 'Example: "I need help with guardianship documents"',
|
|
2483
|
+
"Harassment and Discrimination": 'Example: "I am being discriminated at work" or "My neighbor is harassing me"',
|
|
2484
|
+
"Sexual Harassment": 'Example: "I am being sexually harassed by a coworker"',
|
|
2485
|
+
"Workplace Harassment": 'Example: "My coworker is being aggressive towards me"',
|
|
2486
|
+
"Non-Workplace Harassment": 'Example: "My neighbor is harassing me"',
|
|
2487
|
+
"Workplace Discrimination": 'Example: "I am being discriminated at work based on my age"',
|
|
2488
|
+
"Non-Workplace Discrimination": 'Example: "I am being discriminated against by a local official"',
|
|
2489
|
+
"Identity Theft": 'Example: "Someone stole my identity and I need help fixing the issue"',
|
|
2490
|
+
"Immigration and Visas": 'Example: "I need help filing for a visa" or "Help with a green card"',
|
|
2491
|
+
Insurance: 'Example: "I need help filing an insurance claim for damage to my house"',
|
|
2492
|
+
"Landlord and Tenant":
|
|
2493
|
+
'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',
|
|
2494
|
+
"Lemon Law": 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
|
|
2495
|
+
"Long Term Disability":
|
|
2496
|
+
'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',
|
|
2497
|
+
"Medical Malpractice": 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
|
|
2498
|
+
"Patents and Intellectual Property": 'Example: "I would like to file for a patent" or "I need to copyright a name"',
|
|
2499
|
+
"Personal Injury": 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
|
|
2500
|
+
"Power of Attorney": 'Example: "I need help with a limited or general power of attorney"',
|
|
2501
|
+
"Probate and Estates":
|
|
2502
|
+
'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',
|
|
2503
|
+
"Product Liability": 'Example: "My car battery caught on fire" or "I purchased a faulty product"',
|
|
2504
|
+
"Property Damage": 'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',
|
|
2505
|
+
"Real Estate":
|
|
2506
|
+
'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',
|
|
2507
|
+
"Social Security Disability and Insurance":
|
|
2508
|
+
'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',
|
|
2509
|
+
"Tax and IRS": 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
|
|
2510
|
+
"Traffic and Tickets":
|
|
2511
|
+
'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
|
|
2512
|
+
Unemployment: 'Example: "I need help filing for unemployment benefits"',
|
|
2513
|
+
"Victim of a Crime": 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
|
|
2514
|
+
"Wills and Trusts": 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
|
|
2515
|
+
"Workers Compensation": 'Example: "I was injured at work and would like to file for workers compensation benefits"',
|
|
2516
|
+
"Wrongful Death": 'Example: "A family member was killed on the job and we need legal representation"',
|
|
2517
|
+
"Wrongful Termination": 'Example: "I was fired by my employer without cause"',
|
|
2518
|
+
"Not Sure or Other": 'Example: "I was involved in a car accident" or "I need help setting up power of attorney"',
|
|
2267
2519
|
};
|
|
2268
2520
|
|
|
2269
2521
|
const TOLPFinalHeadlines = {
|
|
@@ -2271,49 +2523,64 @@ const TOLPFinalHeadlines = {
|
|
|
2271
2523
|
};
|
|
2272
2524
|
|
|
2273
2525
|
const TOLPFinalSubHeadlines = {
|
|
2274
|
-
|
|
2526
|
+
Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
|
|
2275
2527
|
// 'Asbestos and Mesothelioma': '',
|
|
2276
|
-
|
|
2277
|
-
|
|
2528
|
+
"Auto and Car Accidents":
|
|
2529
|
+
"You may benefit from speaking with an accident professional. Please verify your contact information.",
|
|
2530
|
+
Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
|
|
2278
2531
|
// 'Birth Certificate and Name Change': '',
|
|
2279
2532
|
// 'Business Lawyers': '',
|
|
2280
2533
|
// 'Child Custody and Support': '',
|
|
2281
2534
|
// 'Civil Rights and Discrimination': '',
|
|
2282
2535
|
// 'Civil Lawsuit': '',
|
|
2283
2536
|
// 'Consumer Lawyers': '',
|
|
2284
|
-
|
|
2537
|
+
"Copyrights and Trademarks":
|
|
2538
|
+
"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
|
|
2285
2539
|
// 'Criminal and Felony': '',
|
|
2286
2540
|
// 'Debt and Collections': '',
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2541
|
+
"Divorce and Separation":
|
|
2542
|
+
"You may benefit from speaking with a divorce professional. Please verify your contact information.",
|
|
2543
|
+
"DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
|
|
2544
|
+
"Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
|
|
2290
2545
|
// 'Employment and Workplace': '',
|
|
2291
2546
|
// 'Expungement': '',
|
|
2292
2547
|
// 'Family Issues': '',
|
|
2293
|
-
|
|
2294
|
-
|
|
2548
|
+
Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
|
|
2549
|
+
Guardianship:
|
|
2550
|
+
"You may benefit from speaking with a guardianship professional. Please verify your contact information.",
|
|
2295
2551
|
// 'Harassment and Discrimination': '',
|
|
2296
2552
|
// 'Identity Theft': '',
|
|
2297
|
-
|
|
2553
|
+
"Immigration and Visas":
|
|
2554
|
+
"You may benefit from speaking with a immigration professional. Please verify your contact information.",
|
|
2298
2555
|
// 'Insurance': '',
|
|
2299
|
-
|
|
2556
|
+
"Landlord and Tenant":
|
|
2557
|
+
"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
|
|
2300
2558
|
// 'Lemon Law': '',
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2559
|
+
"Long Term Disability":
|
|
2560
|
+
"You may benefit from speaking with a disability legal professional. Please verify your contact information.",
|
|
2561
|
+
"Medical Malpractice":
|
|
2562
|
+
"You may benefit from speaking with a malpractice professional. Please verify your contact information.",
|
|
2563
|
+
"Patents and Intellectual Property":
|
|
2564
|
+
"You may benefit from speaking with a patent professional. Please verify your contact information.",
|
|
2565
|
+
"Personal Injury":
|
|
2566
|
+
"You may benefit from speaking with a personal injury professional. Please verify your contact information.",
|
|
2305
2567
|
// 'Power of Attorney': '',
|
|
2306
|
-
|
|
2568
|
+
"Probate and Estates":
|
|
2569
|
+
"You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
|
|
2307
2570
|
// 'Product Liability': '',
|
|
2308
2571
|
// 'Property Damage': '',
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2572
|
+
"Real Estate":
|
|
2573
|
+
"You may benefit from speaking with a real estate professional. Please verify your contact information.",
|
|
2574
|
+
"Social Security Disability and Insurance":
|
|
2575
|
+
"You may benefit from speaking with an SSDI professional. Please verify your contact information.",
|
|
2576
|
+
"Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
|
|
2312
2577
|
// 'Traffic and Tickets': '',
|
|
2313
|
-
|
|
2578
|
+
Unemployment:
|
|
2579
|
+
"You may benefit from speaking with an unemployment professional. Please verify your contact information.",
|
|
2314
2580
|
// 'Victim of a Crime': '',
|
|
2315
2581
|
// 'Wills and Trusts': '',
|
|
2316
|
-
|
|
2582
|
+
"Workers Compensation":
|
|
2583
|
+
"You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
|
|
2317
2584
|
// 'Wrongful Death': '',
|
|
2318
2585
|
// 'Wrongful Termination': '',
|
|
2319
2586
|
// 'Not Sure or Other': ''
|
|
@@ -2325,354 +2592,240 @@ const TOLPFinalSubHeadlines = {
|
|
|
2325
2592
|
};
|
|
2326
2593
|
|
|
2327
2594
|
const nextStepsLegalDefault = [
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2595
|
+
"haveAttorney",
|
|
2596
|
+
"degreeOfInterest",
|
|
2597
|
+
"commentsWithBankruptcy",
|
|
2598
|
+
"zipcode",
|
|
2599
|
+
"legalCrossSells",
|
|
2600
|
+
"firstAndLast",
|
|
2601
|
+
"contactInfo",
|
|
2335
2602
|
];
|
|
2336
2603
|
|
|
2337
2604
|
const nextStepsLegalDefaultLPM = [
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2605
|
+
"haveAttorney",
|
|
2606
|
+
"degreeOfInterest",
|
|
2607
|
+
"lawyerPaymentMethod",
|
|
2608
|
+
"commentsWithBankruptcy",
|
|
2609
|
+
"zipcode",
|
|
2610
|
+
"legalCrossSells",
|
|
2611
|
+
"firstAndLast",
|
|
2612
|
+
"contactInfo",
|
|
2346
2613
|
];
|
|
2347
2614
|
|
|
2348
2615
|
const nextStepsLegalNoDOI = [
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2616
|
+
"haveAttorney",
|
|
2617
|
+
"commentsWithBankruptcy",
|
|
2618
|
+
"zipcode",
|
|
2619
|
+
"legalCrossSells",
|
|
2620
|
+
"firstAndLast",
|
|
2621
|
+
"contactInfo",
|
|
2355
2622
|
];
|
|
2356
2623
|
|
|
2357
2624
|
const nextStepsLegalNoHA = [
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2625
|
+
"degreeOfInterest",
|
|
2626
|
+
"commentsWithBankruptcy",
|
|
2627
|
+
"zipcode",
|
|
2628
|
+
"legalCrossSells",
|
|
2629
|
+
"firstAndLast",
|
|
2630
|
+
"contactInfo",
|
|
2364
2631
|
];
|
|
2365
2632
|
|
|
2366
2633
|
const nextStepsMapGeneralLegal = {
|
|
2367
2634
|
values: {
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2635
|
+
Type_Of_Legal_Problem: {
|
|
2636
|
+
Adoption: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2637
|
+
"Asbestos and Mesothelioma": ["incidentDate", "doctorTreatment", ...nextStepsLegalDefault],
|
|
2638
|
+
"Auto and Car Accidents": [
|
|
2639
|
+
"incidentDate",
|
|
2640
|
+
"atFault",
|
|
2641
|
+
"primaryInjury",
|
|
2642
|
+
"doctorTreatment",
|
|
2643
|
+
"policeReportFiled",
|
|
2644
|
+
...nextStepsLegalNoDOI,
|
|
2373
2645
|
],
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2646
|
+
Bankruptcy: ["totalMonthlyIncome", "totalDebt", "ownRealEstate", "valueOfAssets", ...nextStepsLegalDefault],
|
|
2647
|
+
"Business Lawyers": ["businessServices", "businessType", "numEmployeesOfBusiness", ...nextStepsLegalDefault],
|
|
2648
|
+
"Child Custody": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
2649
|
+
"Child Support": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
2650
|
+
"Civil Rights and Discrimination": ["civilRightsType", ...nextStepsLegalDefault],
|
|
2651
|
+
"Civil Lawsuit": ["civilDefense", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2652
|
+
"File a Lawsuit": ["civilLawsuitTOLPDisplay", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2653
|
+
"Defend a Lawsuit": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2654
|
+
"Consumer Lawyers": ["consumerLawyerType", "incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2655
|
+
"Criminal and Felony": [
|
|
2656
|
+
"criminalTOLPDisplay",
|
|
2657
|
+
"crimeCommittedDate",
|
|
2658
|
+
"roleInMatterCriminal",
|
|
2659
|
+
"pendingCharges",
|
|
2660
|
+
...nextStepsLegalDefaultLPM,
|
|
2378
2661
|
],
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
...nextStepsLegalNoDOI
|
|
2662
|
+
"Debt and Collections": [
|
|
2663
|
+
"totalMonthlyIncome",
|
|
2664
|
+
"totalDebt",
|
|
2665
|
+
"ownRealEstate",
|
|
2666
|
+
"valueOfAssets",
|
|
2667
|
+
...nextStepsLegalDefault,
|
|
2386
2668
|
],
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2669
|
+
"Divorce and Separation": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2670
|
+
"DUI and DWI": [
|
|
2671
|
+
"incidentDate",
|
|
2672
|
+
"priorAlcoholOffenses",
|
|
2673
|
+
"typeOfAlcoholTest",
|
|
2674
|
+
"bloodContentAlcoholTest",
|
|
2675
|
+
"pendingCharges",
|
|
2676
|
+
...nextStepsLegalDefault,
|
|
2393
2677
|
],
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2678
|
+
"Employment and Workplace": [
|
|
2679
|
+
"employmentAndWorkplaceTOLPDisplay",
|
|
2680
|
+
"numEmployeesOfBusiness",
|
|
2681
|
+
"employerType",
|
|
2682
|
+
"employeeAtCompany",
|
|
2683
|
+
...nextStepsLegalDefault,
|
|
2399
2684
|
],
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2685
|
+
Expungement: ["incidentDate", "criminalChargeType", ...nextStepsLegalDefaultLPM],
|
|
2686
|
+
"Family Issues": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2687
|
+
Foreclosure: [
|
|
2688
|
+
"ownRealEstate",
|
|
2689
|
+
"typeOfProperty",
|
|
2690
|
+
"amountPaymentsPastDue",
|
|
2691
|
+
"loanAmount",
|
|
2692
|
+
"defaultNotice",
|
|
2693
|
+
...nextStepsLegalDefault,
|
|
2405
2694
|
],
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2695
|
+
Guardianship: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
2696
|
+
"Immigration and Visas": [
|
|
2697
|
+
"countryOfCitizenship",
|
|
2698
|
+
"immigrationLocation",
|
|
2699
|
+
"immigrationEntry",
|
|
2700
|
+
"immigrationType",
|
|
2701
|
+
"immigrationStatus",
|
|
2702
|
+
"immigrationDetails",
|
|
2703
|
+
...nextStepsLegalDefault,
|
|
2411
2704
|
],
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2705
|
+
"Landlord and Tenant": ["landlordTenantIssue", "landlordTenantParty", ...nextStepsLegalDefault],
|
|
2706
|
+
"Lemon Law": ["incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2707
|
+
"Long Term Disability": [
|
|
2708
|
+
"applicantOccupation",
|
|
2709
|
+
"applicantAge",
|
|
2710
|
+
"applicantLTDisabilityPolicy",
|
|
2711
|
+
"applicantDisabilityHowObtain",
|
|
2712
|
+
"applicantPreviouslyAppliedLtdBenefits",
|
|
2713
|
+
"applicantReceivedDisabilityBenefits",
|
|
2714
|
+
"applicantMonthlySalary",
|
|
2715
|
+
...nextStepsLegalNoDOI,
|
|
2415
2716
|
],
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2717
|
+
"Medical Malpractice": [
|
|
2718
|
+
"incidentDate",
|
|
2719
|
+
"claimStatus",
|
|
2720
|
+
"doctorTreatment",
|
|
2721
|
+
"medicalMalpracticeInjuries",
|
|
2722
|
+
...nextStepsLegalDefault,
|
|
2420
2723
|
],
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2724
|
+
"Patents and Intellectual Property": ["patentAssistanceType", "patentFor", ...nextStepsLegalDefault],
|
|
2725
|
+
"Personal Injury": [
|
|
2726
|
+
"incidentDate",
|
|
2727
|
+
"claimStatus",
|
|
2728
|
+
"atFault",
|
|
2729
|
+
"primaryInjury",
|
|
2730
|
+
"doctorTreatment",
|
|
2731
|
+
...nextStepsLegalNoDOI,
|
|
2425
2732
|
],
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2733
|
+
"Probate and Estates": [
|
|
2734
|
+
"valueOfAssets",
|
|
2735
|
+
"typeOfAssets",
|
|
2736
|
+
"roleInMatterProbate",
|
|
2737
|
+
"estateLegalServicesNeeded",
|
|
2738
|
+
...nextStepsLegalDefault,
|
|
2429
2739
|
],
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2740
|
+
"Property Damage": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2741
|
+
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2742
|
+
"Social Security Disability and Insurance": [
|
|
2743
|
+
"applicantAge",
|
|
2744
|
+
"disabilityConditionStopWork",
|
|
2745
|
+
"disabilityWorkHistory",
|
|
2746
|
+
"socialSecurityDisabilityReceivingBenefits",
|
|
2747
|
+
"doctorTreatment",
|
|
2748
|
+
...nextStepsLegalNoDOI,
|
|
2435
2749
|
],
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2750
|
+
"Tax and IRS": ["totalDebt", "taxProblemDetails", "taxLevel", "taxIssueType", ...nextStepsLegalDefault],
|
|
2751
|
+
"Traffic and Tickets": ["driversLicenseType", "trafficViolations", "haveCourtDate", ...nextStepsLegalDefault],
|
|
2752
|
+
Unemployment: ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalNoHA],
|
|
2753
|
+
"Victim of a Crime": [
|
|
2754
|
+
"crimeCommittedDate",
|
|
2755
|
+
"roleInMatterCriminal",
|
|
2756
|
+
"pendingCharges",
|
|
2757
|
+
...nextStepsLegalDefaultLPM,
|
|
2442
2758
|
],
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
...nextStepsLegalDefault
|
|
2759
|
+
"Wills and Trusts": [
|
|
2760
|
+
"valueOfAssets",
|
|
2761
|
+
"typeOfAssets",
|
|
2762
|
+
"roleInMatterProbate",
|
|
2763
|
+
"estateLegalServicesNeeded",
|
|
2764
|
+
...nextStepsLegalDefault,
|
|
2449
2765
|
],
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2766
|
+
"Workers Compensation": [
|
|
2767
|
+
"incidentDate",
|
|
2768
|
+
"claimStatus",
|
|
2769
|
+
"primaryInjury",
|
|
2770
|
+
"causeOfInjury",
|
|
2771
|
+
"doctorTreatment",
|
|
2772
|
+
...nextStepsLegalNoDOI,
|
|
2454
2773
|
],
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
...nextStepsLegalDefault
|
|
2774
|
+
"Workplace Harassment": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
2775
|
+
"Workplace Discrimination": [
|
|
2776
|
+
"numEmployeesOfBusiness",
|
|
2777
|
+
"employerType",
|
|
2778
|
+
"employeeAtCompany",
|
|
2779
|
+
...nextStepsLegalDefault,
|
|
2462
2780
|
],
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
...
|
|
2469
|
-
],
|
|
2470
|
-
'Expungement': [
|
|
2471
|
-
'incidentDate',
|
|
2472
|
-
'criminalChargeType',
|
|
2473
|
-
...nextStepsLegalDefaultLPM
|
|
2474
|
-
],
|
|
2475
|
-
'Family Issues': [
|
|
2476
|
-
'maritalStatus',
|
|
2477
|
-
'haveChildren',
|
|
2478
|
-
...nextStepsLegalDefaultLPM
|
|
2479
|
-
],
|
|
2480
|
-
'Foreclosure': [
|
|
2481
|
-
'ownRealEstate',
|
|
2482
|
-
'typeOfProperty',
|
|
2483
|
-
'amountPaymentsPastDue',
|
|
2484
|
-
'loanAmount',
|
|
2485
|
-
'defaultNotice',
|
|
2486
|
-
...nextStepsLegalDefault
|
|
2487
|
-
],
|
|
2488
|
-
'Guardianship': [
|
|
2489
|
-
'maritalStatus',
|
|
2490
|
-
'haveChildren',
|
|
2491
|
-
...nextStepsLegalDefaultLPM
|
|
2492
|
-
],
|
|
2493
|
-
'Immigration and Visas': [
|
|
2494
|
-
'countryOfCitizenship',
|
|
2495
|
-
'immigrationLocation',
|
|
2496
|
-
'immigrationEntry',
|
|
2497
|
-
'immigrationType',
|
|
2498
|
-
'immigrationStatus',
|
|
2499
|
-
'immigrationDetails',
|
|
2500
|
-
...nextStepsLegalDefault
|
|
2501
|
-
],
|
|
2502
|
-
'Landlord and Tenant': [
|
|
2503
|
-
'landlordTenantIssue',
|
|
2504
|
-
'landlordTenantParty',
|
|
2505
|
-
...nextStepsLegalDefault
|
|
2506
|
-
],
|
|
2507
|
-
'Lemon Law': [
|
|
2508
|
-
'incidentDate',
|
|
2509
|
-
'lawsuitOtherParty',
|
|
2510
|
-
...nextStepsLegalDefault
|
|
2511
|
-
],
|
|
2512
|
-
'Long Term Disability': [
|
|
2513
|
-
'applicantOccupation',
|
|
2514
|
-
'applicantAge',
|
|
2515
|
-
'applicantLTDisabilityPolicy',
|
|
2516
|
-
'applicantDisabilityHowObtain',
|
|
2517
|
-
'applicantPreviouslyAppliedLtdBenefits',
|
|
2518
|
-
'applicantReceivedDisabilityBenefits',
|
|
2519
|
-
'applicantMonthlySalary',
|
|
2520
|
-
...nextStepsLegalNoDOI
|
|
2521
|
-
],
|
|
2522
|
-
'Medical Malpractice': [
|
|
2523
|
-
'incidentDate',
|
|
2524
|
-
'claimStatus',
|
|
2525
|
-
'doctorTreatment',
|
|
2526
|
-
'medicalMalpracticeInjuries',
|
|
2527
|
-
...nextStepsLegalDefault
|
|
2528
|
-
],
|
|
2529
|
-
'Patents and Intellectual Property': [
|
|
2530
|
-
'patentAssistanceType',
|
|
2531
|
-
'patentFor',
|
|
2532
|
-
...nextStepsLegalDefault
|
|
2533
|
-
],
|
|
2534
|
-
'Personal Injury': [
|
|
2535
|
-
'incidentDate',
|
|
2536
|
-
'claimStatus',
|
|
2537
|
-
'atFault',
|
|
2538
|
-
'primaryInjury',
|
|
2539
|
-
'doctorTreatment',
|
|
2540
|
-
...nextStepsLegalNoDOI
|
|
2541
|
-
],
|
|
2542
|
-
'Probate and Estates': [
|
|
2543
|
-
'valueOfAssets',
|
|
2544
|
-
'typeOfAssets',
|
|
2545
|
-
'roleInMatterProbate',
|
|
2546
|
-
'estateLegalServicesNeeded',
|
|
2547
|
-
...nextStepsLegalDefault
|
|
2548
|
-
],
|
|
2549
|
-
'Property Damage': [
|
|
2550
|
-
'realEstateArea',
|
|
2551
|
-
'wouldLikeLawyerTo',
|
|
2552
|
-
...nextStepsLegalDefault
|
|
2553
|
-
],
|
|
2554
|
-
'Real Estate': [
|
|
2555
|
-
'realEstateTOLPDisplay',
|
|
2556
|
-
'realEstateArea',
|
|
2557
|
-
'wouldLikeLawyerTo',
|
|
2558
|
-
...nextStepsLegalDefault
|
|
2559
|
-
],
|
|
2560
|
-
'Social Security Disability and Insurance': [
|
|
2561
|
-
'applicantAge',
|
|
2562
|
-
'disabilityConditionStopWork',
|
|
2563
|
-
'disabilityWorkHistory',
|
|
2564
|
-
'socialSecurityDisabilityReceivingBenefits',
|
|
2565
|
-
'doctorTreatment',
|
|
2566
|
-
...nextStepsLegalNoDOI
|
|
2567
|
-
],
|
|
2568
|
-
'Tax and IRS': [
|
|
2569
|
-
'totalDebt',
|
|
2570
|
-
'taxProblemDetails',
|
|
2571
|
-
'taxLevel',
|
|
2572
|
-
'taxIssueType',
|
|
2573
|
-
...nextStepsLegalDefault
|
|
2574
|
-
],
|
|
2575
|
-
'Traffic and Tickets': [
|
|
2576
|
-
'driversLicenseType',
|
|
2577
|
-
'trafficViolations',
|
|
2578
|
-
'haveCourtDate',
|
|
2579
|
-
...nextStepsLegalDefault
|
|
2580
|
-
],
|
|
2581
|
-
'Unemployment': [
|
|
2582
|
-
'numEmployeesOfBusiness',
|
|
2583
|
-
'employerType',
|
|
2584
|
-
...nextStepsLegalNoHA
|
|
2585
|
-
],
|
|
2586
|
-
'Victim of a Crime': [
|
|
2587
|
-
'crimeCommittedDate',
|
|
2588
|
-
'roleInMatterCriminal',
|
|
2589
|
-
'pendingCharges',
|
|
2590
|
-
...nextStepsLegalDefaultLPM
|
|
2591
|
-
],
|
|
2592
|
-
'Wills and Trusts': [
|
|
2593
|
-
'valueOfAssets',
|
|
2594
|
-
'typeOfAssets',
|
|
2595
|
-
'roleInMatterProbate',
|
|
2596
|
-
'estateLegalServicesNeeded',
|
|
2597
|
-
...nextStepsLegalDefault
|
|
2598
|
-
],
|
|
2599
|
-
'Workers Compensation': [
|
|
2600
|
-
'incidentDate',
|
|
2601
|
-
'claimStatus',
|
|
2602
|
-
'primaryInjury',
|
|
2603
|
-
'causeOfInjury',
|
|
2604
|
-
'doctorTreatment',
|
|
2605
|
-
...nextStepsLegalNoDOI
|
|
2606
|
-
],
|
|
2607
|
-
'Workplace Harassment': [
|
|
2608
|
-
'numEmployeesOfBusiness',
|
|
2609
|
-
'employerType',
|
|
2610
|
-
'employeeAtCompany',
|
|
2611
|
-
...nextStepsLegalDefault
|
|
2612
|
-
],
|
|
2613
|
-
'Workplace Discrimination': [
|
|
2614
|
-
'numEmployeesOfBusiness',
|
|
2615
|
-
'employerType',
|
|
2616
|
-
'employeeAtCompany',
|
|
2617
|
-
...nextStepsLegalDefault
|
|
2618
|
-
],
|
|
2619
|
-
'Wrongful Death': [
|
|
2620
|
-
'incidentDate',
|
|
2621
|
-
'relationshipToVictim',
|
|
2622
|
-
'criminalChargesFiled',
|
|
2623
|
-
'causeOfDeath',
|
|
2624
|
-
...nextStepsLegalNoDOI
|
|
2625
|
-
],
|
|
2626
|
-
'Wrongful Termination': [
|
|
2627
|
-
'numEmployeesOfBusiness',
|
|
2628
|
-
'employerType',
|
|
2629
|
-
...nextStepsLegalDefault
|
|
2781
|
+
"Wrongful Death": [
|
|
2782
|
+
"incidentDate",
|
|
2783
|
+
"relationshipToVictim",
|
|
2784
|
+
"criminalChargesFiled",
|
|
2785
|
+
"causeOfDeath",
|
|
2786
|
+
...nextStepsLegalNoDOI,
|
|
2630
2787
|
],
|
|
2788
|
+
"Wrongful Termination": ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalDefault],
|
|
2631
2789
|
},
|
|
2632
|
-
|
|
2633
|
-
}
|
|
2790
|
+
"*": nextStepsLegalDefault,
|
|
2791
|
+
},
|
|
2634
2792
|
};
|
|
2635
2793
|
|
|
2636
2794
|
const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"];
|
|
2637
2795
|
|
|
2638
2796
|
const nextStepsMapEmploymentAndWorkplaceTOLPDisplay = {
|
|
2639
2797
|
values: {
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
},
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
'employerType',
|
|
2649
|
-
'employeeAtCompany',
|
|
2650
|
-
...nextStepsLegalDefault
|
|
2651
|
-
]
|
|
2652
|
-
}
|
|
2798
|
+
Type_Of_Legal_Problem_Display: {
|
|
2799
|
+
"Wrongful Termination": TOLPNextSteps["Wrongful Termination"],
|
|
2800
|
+
"Workers Compensation": TOLPNextSteps["Workers Compensation"],
|
|
2801
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
2802
|
+
Unemployment: TOLPNextSteps["Unemployment"],
|
|
2803
|
+
},
|
|
2804
|
+
"*": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
2805
|
+
},
|
|
2653
2806
|
};
|
|
2654
2807
|
|
|
2655
2808
|
const nextStepsMapLegalCrossSells = {
|
|
2656
2809
|
values: {
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
},
|
|
2670
|
-
|
|
2810
|
+
Legal_CrossSells: {
|
|
2811
|
+
"Auto and Car Accidents": ["autoAndCarAccidentCrossSellQuestions"],
|
|
2812
|
+
"Personal Injury": ["personalInjuryCrossSellQuestions"],
|
|
2813
|
+
"Workers Compensation": ["workersCompensationCrossSellQuestions"],
|
|
2814
|
+
"DUI and DWI": ["duiAndDWICrossSellQuestions"],
|
|
2815
|
+
"Long Term Disability": ["longTermDisabilityCrossSellQuestions"],
|
|
2816
|
+
"Social Security Disability and Insurance": ["ssdiCrossSellQuestions"],
|
|
2817
|
+
Bankruptcy: ["bankruptcyCrossSellQuestions"],
|
|
2818
|
+
"Power of Attorney": ["powerOfAttorneyCrossSellQuestions"],
|
|
2819
|
+
"Wills and Trusts": ["willsAndTrustsCrossSellQuestions"],
|
|
2820
|
+
"Divorce and Separation": ["divorceAndSeparationCrossSellQuestions"],
|
|
2821
|
+
"Child Custody": ["childCustodyCrossSellQuestions"],
|
|
2822
|
+
},
|
|
2823
|
+
"*": ["firstAndLast", "contactInfo"],
|
|
2671
2824
|
},
|
|
2672
|
-
|
|
2825
|
+
|
|
2673
2826
|
// NOTE: this assumes a certain placement of the cross sell question
|
|
2674
2827
|
// in the form flow.
|
|
2675
|
-
appendSteps: [
|
|
2828
|
+
appendSteps: ["firstAndLast", "contactInfo"],
|
|
2676
2829
|
matchesAllowed: 1,
|
|
2677
2830
|
};
|
|
2678
2831
|
|