bhl-forms 0.10.5 → 0.11.1
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 +3958 -4643
- package/dist/bhl-forms.iife.js +4 -4
- package/dist/bhl-forms.modern.es.js +5280 -6107
- 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 +165 -120
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +16 -17
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.json +1 -1
- package/dist/forms/appraisals.es.js +11 -4
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/appraisals.json +1 -1
- package/dist/forms/business.es.js +167 -122
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -1
- package/dist/forms/childAndFamily.es.js +165 -120
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/childAndFamilySingle.es.js +167 -122
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +167 -122
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +11 -4
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/coins.json +1 -1
- package/dist/forms/contracts.es.js +165 -120
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +167 -122
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +167 -122
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/divorce.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +167 -122
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/foreclosure.es.js +167 -122
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/foreclosure.json +1 -1
- package/dist/forms/generalContractors.es.js +20 -23
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalContractors.json +1 -1
- package/dist/forms/generalHomeImprovement.es.js +20 -23
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.json +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +21 -20
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.json +1 -1
- package/dist/forms/generalLegal.es.js +165 -120
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +167 -122
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +165 -120
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +167 -122
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +167 -122
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalSingleMinimal.es.js +1325 -0
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -0
- package/dist/forms/generalLegalSingleMinimal.json +1 -0
- package/dist/forms/generalLegalThankYou.es.js +164 -119
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +167 -122
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +161 -116
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +167 -122
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/landlordTenant.json +1 -1
- package/dist/forms/malpractice.es.js +166 -121
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +137 -86
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +167 -122
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +161 -116
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +165 -120
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +158 -109
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +131 -76
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +13 -10
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +11 -4
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/vets.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +161 -116
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/forms/windows.es.js +20 -23
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/windows.json +1 -1
- package/dist/forms/workersCompensation.es.js +166 -121
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/dist/forms/workersCompensation.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +4 -3
|
@@ -9,11 +9,10 @@ function LegalRedirectUrl() {
|
|
|
9
9
|
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL =
|
|
10
10
|
'$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
|
|
11
11
|
const DEFAULT_COMMENTS_LABEL_LEGAL = "Please briefly describe your legal issue in a few words:";
|
|
12
|
-
const DEFAULT_FINAL_HEADLINE_LEGAL = "
|
|
12
|
+
const DEFAULT_FINAL_HEADLINE_LEGAL = "Connect With The Legal Help You Deserve";
|
|
13
13
|
const DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL =
|
|
14
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.";
|
|
15
|
+
const DEFAULT_FINAL_SUBHEADLINE_LEGAL = "Get a no-obligation consultation with a legal expert.";
|
|
17
16
|
const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL =
|
|
18
17
|
'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
|
|
19
18
|
const TCPA_LANGUAGE_LEGAL =
|
|
@@ -105,10 +104,15 @@ const CROSS_SELL_OPTION_MAP_LEGAL = {
|
|
|
105
104
|
|
|
106
105
|
// ------ Common Base Settings
|
|
107
106
|
|
|
108
|
-
const
|
|
109
|
-
if (
|
|
110
|
-
|
|
107
|
+
const ensureIds = (cfg) => {
|
|
108
|
+
if (cfg.name && !cfg.id) {
|
|
109
|
+
cfg.id = cfg.name;
|
|
111
110
|
}
|
|
111
|
+
return cfg
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
const checkbox = (updates) => {
|
|
115
|
+
ensureIds(updates);
|
|
112
116
|
return merge(
|
|
113
117
|
{
|
|
114
118
|
$formkit: "checkbox",
|
|
@@ -156,9 +160,7 @@ const verticalCol2Checkbox = (updates) => {
|
|
|
156
160
|
};
|
|
157
161
|
|
|
158
162
|
const radio = (updates) => {
|
|
159
|
-
|
|
160
|
-
updates.id = updates.name;
|
|
161
|
-
}
|
|
163
|
+
ensureIds(updates);
|
|
162
164
|
return merge(
|
|
163
165
|
{
|
|
164
166
|
$formkit: "radio",
|
|
@@ -262,9 +264,7 @@ const verticalRadio = (updates) => {
|
|
|
262
264
|
};
|
|
263
265
|
|
|
264
266
|
const select = (updates) => {
|
|
265
|
-
|
|
266
|
-
updates.id = updates.name;
|
|
267
|
-
}
|
|
267
|
+
ensureIds(updates);
|
|
268
268
|
return merge(
|
|
269
269
|
{
|
|
270
270
|
$formkit: "select",
|
|
@@ -292,15 +292,13 @@ const verticalSelect = (updates) => {
|
|
|
292
292
|
updates.labelClass = "required";
|
|
293
293
|
updates.wrapperClass = "t-flex t-justify-center";
|
|
294
294
|
updates.messagesClass = "t-flex t-justify-center";
|
|
295
|
-
updates.inputClass = "t-min-w-[150px] t-bg-white";
|
|
295
|
+
updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
|
|
296
296
|
updates.helpClass = "t-mt-2.5 t-text-center";
|
|
297
297
|
return select(updates)
|
|
298
298
|
};
|
|
299
299
|
|
|
300
300
|
const text = (updates) => {
|
|
301
|
-
|
|
302
|
-
updates.id = updates.name;
|
|
303
|
-
}
|
|
301
|
+
ensureIds(updates);
|
|
304
302
|
return merge(
|
|
305
303
|
{
|
|
306
304
|
$formkit: "text",
|
|
@@ -328,9 +326,7 @@ const verticalText = (updates) => {
|
|
|
328
326
|
};
|
|
329
327
|
|
|
330
328
|
const textArea = (updates) => {
|
|
331
|
-
|
|
332
|
-
updates.id = updates.name;
|
|
333
|
-
}
|
|
329
|
+
ensureIds(updates);
|
|
334
330
|
return merge(
|
|
335
331
|
{
|
|
336
332
|
$formkit: "textarea",
|
|
@@ -348,9 +344,7 @@ const textArea = (updates) => {
|
|
|
348
344
|
};
|
|
349
345
|
|
|
350
346
|
const date = (updates) => {
|
|
351
|
-
|
|
352
|
-
updates.id = updates.name;
|
|
353
|
-
}
|
|
347
|
+
ensureIds(updates);
|
|
354
348
|
return merge(
|
|
355
349
|
{
|
|
356
350
|
$formkit: "DatePicker",
|
|
@@ -1174,7 +1168,7 @@ const TCPAConsent = (scope, updates = {}) => ({
|
|
|
1174
1168
|
wrapper: updates.wrapperClass ? updates.wrapperClass : "",
|
|
1175
1169
|
messages: updates.messagesClass ? updates.messagesClass : "",
|
|
1176
1170
|
label:
|
|
1177
|
-
"t-text-
|
|
1171
|
+
"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
|
|
1178
1172
|
(updates.labelClass ? " " + updates.labelClass : ""),
|
|
1179
1173
|
},
|
|
1180
1174
|
});
|
|
@@ -1469,7 +1463,7 @@ function verticalStepHeadline(updates) {
|
|
|
1469
1463
|
children: updates.headline || "Tell Us About Your Situation",
|
|
1470
1464
|
attrs: {
|
|
1471
1465
|
class:
|
|
1472
|
-
"t-flex t-justify-center t-text-center t-text-
|
|
1466
|
+
"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1" +
|
|
1473
1467
|
" " +
|
|
1474
1468
|
(updates.headlineClass || ""),
|
|
1475
1469
|
},
|
|
@@ -1495,7 +1489,7 @@ function commentsStepHeadline(updates) {
|
|
|
1495
1489
|
children: updates.headline || "Additional Details",
|
|
1496
1490
|
attrs: {
|
|
1497
1491
|
class:
|
|
1498
|
-
"t-flex t-justify-center t-text-center t-text-
|
|
1492
|
+
"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
1499
1493
|
" " +
|
|
1500
1494
|
(updates.headlineClass || ""),
|
|
1501
1495
|
},
|
|
@@ -1515,7 +1509,7 @@ function firstAndLastStepHeadline(updates) {
|
|
|
1515
1509
|
children: updates.headline || "Please Provide a Contact Name",
|
|
1516
1510
|
attrs: {
|
|
1517
1511
|
class:
|
|
1518
|
-
"t-flex t-justify-center t-text-center t-text-
|
|
1512
|
+
"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
1519
1513
|
" " +
|
|
1520
1514
|
(updates.headlineClass || ""),
|
|
1521
1515
|
},
|
|
@@ -1528,7 +1522,7 @@ function legalCrossSellsStepHeadline(updates) {
|
|
|
1528
1522
|
children: updates.headline || "Do any of the following situations apply?",
|
|
1529
1523
|
attrs: {
|
|
1530
1524
|
class:
|
|
1531
|
-
"t-flex t-justify-center t-text-center t-text-
|
|
1525
|
+
"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
1532
1526
|
" " +
|
|
1533
1527
|
(updates.headlineClass || ""),
|
|
1534
1528
|
},
|
|
@@ -1541,7 +1535,7 @@ function contactStepHeadline(updates) {
|
|
|
1541
1535
|
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
|
|
1542
1536
|
attrs: {
|
|
1543
1537
|
class:
|
|
1544
|
-
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-
|
|
1538
|
+
"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1" +
|
|
1545
1539
|
" " +
|
|
1546
1540
|
(updates.headlineClass || "") +
|
|
1547
1541
|
" f-contact-info-headline",
|
|
@@ -1650,6 +1644,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
|
|
|
1650
1644
|
)
|
|
1651
1645
|
}
|
|
1652
1646
|
|
|
1647
|
+
function commentsWithBankruptcy(updates = {}) {
|
|
1648
|
+
return step(
|
|
1649
|
+
"commentsWithBankruptcy",
|
|
1650
|
+
[
|
|
1651
|
+
commentsStepHeadlineLegal(updates),
|
|
1652
|
+
comments(updates.scope, false, {
|
|
1653
|
+
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
1654
|
+
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
1655
|
+
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
1656
|
+
}),
|
|
1657
|
+
// TODO: needs scope support
|
|
1658
|
+
bankruptcyCrossSell(),
|
|
1659
|
+
{
|
|
1660
|
+
$el: "div",
|
|
1661
|
+
if: "$get(CrossSell_Bankruptcy).value == true",
|
|
1662
|
+
children: [
|
|
1663
|
+
comments("CrossSell:Bankruptcy", false, {
|
|
1664
|
+
label: "Bankruptcy or debt details:",
|
|
1665
|
+
placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
|
|
1666
|
+
inputClass: "!t-h-16",
|
|
1667
|
+
}),
|
|
1668
|
+
],
|
|
1669
|
+
},
|
|
1670
|
+
],
|
|
1671
|
+
{ nextOnEnter: false }
|
|
1672
|
+
)
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1653
1675
|
function contactInfo(updates = {}) {
|
|
1654
1676
|
return step(
|
|
1655
1677
|
"contactInfo",
|
|
@@ -1675,7 +1697,7 @@ function firstAndLastV3(updates = {}) {
|
|
|
1675
1697
|
headlineClass: updates.headlineClass,
|
|
1676
1698
|
}),
|
|
1677
1699
|
verticalStepSubHeadline({
|
|
1678
|
-
subheadline: updates.subheadline ?? "
|
|
1700
|
+
subheadline: updates.subheadline ?? "We never share info without consent",
|
|
1679
1701
|
subheadlineClass: "!t-text-sm !t-text-gray-500",
|
|
1680
1702
|
}),
|
|
1681
1703
|
firstName(updates.scope),
|
|
@@ -1689,34 +1711,6 @@ function zipcode(updates = {}) {
|
|
|
1689
1711
|
return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
|
|
1690
1712
|
}
|
|
1691
1713
|
|
|
1692
|
-
function commentsWithBankruptcy(updates = {}) {
|
|
1693
|
-
return step(
|
|
1694
|
-
"commentsWithBankruptcy",
|
|
1695
|
-
[
|
|
1696
|
-
commentsStepHeadlineLegal(updates),
|
|
1697
|
-
comments(updates.scope, false, {
|
|
1698
|
-
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
1699
|
-
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
1700
|
-
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
1701
|
-
}),
|
|
1702
|
-
// TODO: needs scope support
|
|
1703
|
-
bankruptcyCrossSell(),
|
|
1704
|
-
{
|
|
1705
|
-
$el: "div",
|
|
1706
|
-
if: "$get(CrossSell_Bankruptcy).value == true",
|
|
1707
|
-
children: [
|
|
1708
|
-
comments("CrossSell:Bankruptcy", false, {
|
|
1709
|
-
label: "Bankruptcy or debt details:",
|
|
1710
|
-
placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
|
|
1711
|
-
inputClass: "!t-h-16",
|
|
1712
|
-
}),
|
|
1713
|
-
],
|
|
1714
|
-
},
|
|
1715
|
-
],
|
|
1716
|
-
{ nextOnEnter: false }
|
|
1717
|
-
)
|
|
1718
|
-
}
|
|
1719
|
-
|
|
1720
1714
|
function autoAndCarAccidentCrossSellQuestions(updates = {}) {
|
|
1721
1715
|
return step(
|
|
1722
1716
|
"autoAndCarAccidentCrossSellQuestions",
|
|
@@ -2349,7 +2343,7 @@ function subHeadlineDefaults(updates = {}) {
|
|
|
2349
2343
|
$el: "h3",
|
|
2350
2344
|
attrs: {
|
|
2351
2345
|
class:
|
|
2352
|
-
"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10" +
|
|
2346
|
+
"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3" +
|
|
2353
2347
|
" " +
|
|
2354
2348
|
(updates.subheadlineClass || "") +
|
|
2355
2349
|
" f-first-subheadline",
|
|
@@ -2712,78 +2706,129 @@ const TOLPCommentsPlaceholders = {
|
|
|
2712
2706
|
};
|
|
2713
2707
|
|
|
2714
2708
|
const TOLPFinalHeadlines = {
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
"
|
|
2722
|
-
"You may benefit from speaking with an accident professional. Please verify your contact information.",
|
|
2723
|
-
Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
|
|
2724
|
-
// 'Birth Certificate and Name Change': '',
|
|
2725
|
-
// 'Business Lawyers': '',
|
|
2709
|
+
Adoption: "Connect With Adoption Professionals Today",
|
|
2710
|
+
"Auto and Car Accidents": "Connect With Accident Professionals Today",
|
|
2711
|
+
Bankruptcy: "Take Control of Your Financial Future",
|
|
2712
|
+
"Birth Certificate and Name Change": "Start Your Change Today",
|
|
2713
|
+
"Business Lawyers": "Connect With Business Professionals Today",
|
|
2714
|
+
"Child Custody": "Connect With Custody Professionals Today",
|
|
2715
|
+
"Child Support": "Connect With Child Support Professionals",
|
|
2726
2716
|
// 'Child Custody and Support': '',
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
//
|
|
2730
|
-
"Copyrights and Trademarks":
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
"
|
|
2735
|
-
|
|
2736
|
-
"
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
//
|
|
2746
|
-
"
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
"
|
|
2750
|
-
|
|
2751
|
-
//
|
|
2752
|
-
"
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
"
|
|
2757
|
-
|
|
2758
|
-
"
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
"
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
"
|
|
2766
|
-
"You may benefit from speaking with a real estate professional. Please verify your contact information.",
|
|
2767
|
-
"Social Security Disability and Insurance":
|
|
2768
|
-
"You may benefit from speaking with an SSDI professional. Please verify your contact information.",
|
|
2769
|
-
"Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
|
|
2770
|
-
// 'Traffic and Tickets': '',
|
|
2771
|
-
Unemployment:
|
|
2772
|
-
"You may benefit from speaking with an unemployment professional. Please verify your contact information.",
|
|
2773
|
-
// 'Victim of a Crime': '',
|
|
2774
|
-
// 'Wills and Trusts': '',
|
|
2775
|
-
"Workers Compensation":
|
|
2776
|
-
"You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
|
|
2777
|
-
// 'Wrongful Death': '',
|
|
2778
|
-
// 'Wrongful Termination': '',
|
|
2717
|
+
"Civil Rights and Discrimination": "Stand Up For Your Rights",
|
|
2718
|
+
"Civil Lawsuit": "Connect With Lawsuit Professionals Today",
|
|
2719
|
+
// "Consumer Lawyers": "",
|
|
2720
|
+
"Copyrights and Trademarks": "Protect Your Intellectual Property",
|
|
2721
|
+
// "Criminal and Felony": "Connect With Legal Help",
|
|
2722
|
+
"Debt and Collections": "Connect With Debt Professionals Today",
|
|
2723
|
+
"Divorce and Separation": "Connect With Divorce Professionals Today",
|
|
2724
|
+
"DUI and DWI": "Defend Against DUI Charges",
|
|
2725
|
+
"Elder Law": "Connect With Elder Law Professionals",
|
|
2726
|
+
// "Employment and Workplace": "Connect With Legal Help",
|
|
2727
|
+
Expungement: "Clear Your Record",
|
|
2728
|
+
"Family Issues": "Connect With Family Legal Help",
|
|
2729
|
+
Foreclosure: "Fight to Keep Your Home",
|
|
2730
|
+
Guardianship: "Connect With Guardianship Professionals",
|
|
2731
|
+
// "Harassment and Discrimination": "Connect With Legal Help",
|
|
2732
|
+
// "Identity Theft": "Connect With Legal Help",
|
|
2733
|
+
"Immigration and Visas": "Get Immigration Legal Help",
|
|
2734
|
+
Insurance: "Get Insurance Legal Help",
|
|
2735
|
+
// "Landlord and Tenant": "Connect With Legal Help",
|
|
2736
|
+
"Lemon Law": "Connect With Lemon Law Professionals",
|
|
2737
|
+
"Long Term Disability": "Connect With Disability Professionals",
|
|
2738
|
+
"Medical Malpractice": "Hold Negligent Providers Accountable",
|
|
2739
|
+
"Patents and Intellectual Property": "Connect With IP Professionals Today",
|
|
2740
|
+
"Personal Injury": "Maximize Your Injury Compensation",
|
|
2741
|
+
// "Power of Attorney": "Connect With Legal Help",
|
|
2742
|
+
"Probate and Estates": "Manage Probate with Expert Guidance",
|
|
2743
|
+
"Product Liability": "Get Justice for Faulty Products",
|
|
2744
|
+
// 'Property Damage': 'Connect With Legal Help',
|
|
2745
|
+
"Real Estate": "Connect With Real Estate Professionals",
|
|
2746
|
+
"Sexual Harassment": "Stand Up Against Sexual Harassment",
|
|
2747
|
+
"Social Security Disability and Insurance": "Get the Benefits You Deserve",
|
|
2748
|
+
"Tax and IRS": "Connect With Tax Legal Help",
|
|
2749
|
+
"Traffic and Tickets": "Protect Your Record Today",
|
|
2750
|
+
Unemployment: "Connect With Unemployment Professionals",
|
|
2751
|
+
"Victim of a Crime": "Seek Justice as a Crime Victim",
|
|
2752
|
+
"Wills and Trusts": "Plan Your Estate with Confidence",
|
|
2753
|
+
"Workers Compensation": "Maximize Your Workers' Comp Benefits",
|
|
2754
|
+
"Wrongful Death": "Seek Justice for a Loved One",
|
|
2755
|
+
"Wrongful Termination": "Fight Back Against Unfair Firing Today",
|
|
2779
2756
|
// 'Not Sure or Other': ''
|
|
2780
|
-
// 'Sexual Harassment': '',
|
|
2781
2757
|
// 'Workplace Harassment': '',
|
|
2782
2758
|
// 'Non-Workplace Harassment': '',
|
|
2783
2759
|
// 'Workplace Discrimination': '',
|
|
2784
2760
|
// 'Non-Workplace Discrimination': '',
|
|
2785
2761
|
};
|
|
2786
2762
|
|
|
2763
|
+
const TOLPFinalSubHeadlines = {
|
|
2764
|
+
// Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
|
|
2765
|
+
// // 'Asbestos and Mesothelioma': '',
|
|
2766
|
+
// "Auto and Car Accidents":
|
|
2767
|
+
// "You may benefit from speaking with an accident professional. Please verify your contact information.",
|
|
2768
|
+
// Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
|
|
2769
|
+
// // 'Birth Certificate and Name Change': '',
|
|
2770
|
+
// // 'Business Lawyers': '',
|
|
2771
|
+
// // 'Child Custody and Support': '',
|
|
2772
|
+
// // 'Civil Rights and Discrimination': '',
|
|
2773
|
+
// // 'Civil Lawsuit': '',
|
|
2774
|
+
// // 'Consumer Lawyers': '',
|
|
2775
|
+
// "Copyrights and Trademarks":
|
|
2776
|
+
// "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
|
|
2777
|
+
// // 'Criminal and Felony': '',
|
|
2778
|
+
// // 'Debt and Collections': '',
|
|
2779
|
+
// "Divorce and Separation":
|
|
2780
|
+
// "You may benefit from speaking with a divorce professional. Please verify your contact information.",
|
|
2781
|
+
// "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
|
|
2782
|
+
// "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
|
|
2783
|
+
// // 'Employment and Workplace': '',
|
|
2784
|
+
// // 'Expungement': '',
|
|
2785
|
+
// // 'Family Issues': '',
|
|
2786
|
+
// Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
|
|
2787
|
+
// Guardianship:
|
|
2788
|
+
// "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
|
|
2789
|
+
// // 'Harassment and Discrimination': '',
|
|
2790
|
+
// // 'Identity Theft': '',
|
|
2791
|
+
// "Immigration and Visas":
|
|
2792
|
+
// "You may benefit from speaking with a immigration professional. Please verify your contact information.",
|
|
2793
|
+
// // 'Insurance': '',
|
|
2794
|
+
// "Landlord and Tenant":
|
|
2795
|
+
// "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
|
|
2796
|
+
// // 'Lemon Law': '',
|
|
2797
|
+
// "Long Term Disability":
|
|
2798
|
+
// "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
|
|
2799
|
+
// "Medical Malpractice":
|
|
2800
|
+
// "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
|
|
2801
|
+
// "Patents and Intellectual Property":
|
|
2802
|
+
// "You may benefit from speaking with a patent professional. Please verify your contact information.",
|
|
2803
|
+
// "Personal Injury":
|
|
2804
|
+
// "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
|
|
2805
|
+
// // 'Power of Attorney': '',
|
|
2806
|
+
// "Probate and Estates":
|
|
2807
|
+
// "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
|
|
2808
|
+
// // 'Product Liability': '',
|
|
2809
|
+
// // 'Property Damage': '',
|
|
2810
|
+
// "Real Estate":
|
|
2811
|
+
// "You may benefit from speaking with a real estate professional. Please verify your contact information.",
|
|
2812
|
+
// "Social Security Disability and Insurance":
|
|
2813
|
+
// "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
|
|
2814
|
+
// "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
|
|
2815
|
+
// // 'Traffic and Tickets': '',
|
|
2816
|
+
// Unemployment:
|
|
2817
|
+
// "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
|
|
2818
|
+
// // 'Victim of a Crime': '',
|
|
2819
|
+
// // 'Wills and Trusts': '',
|
|
2820
|
+
// "Workers Compensation":
|
|
2821
|
+
// "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
|
|
2822
|
+
// // 'Wrongful Death': '',
|
|
2823
|
+
// // 'Wrongful Termination': '',
|
|
2824
|
+
// // 'Not Sure or Other': ''
|
|
2825
|
+
// // 'Sexual Harassment': '',
|
|
2826
|
+
// // 'Workplace Harassment': '',
|
|
2827
|
+
// // 'Non-Workplace Harassment': '',
|
|
2828
|
+
// // 'Workplace Discrimination': '',
|
|
2829
|
+
// // 'Non-Workplace Discrimination': '',
|
|
2830
|
+
};
|
|
2831
|
+
|
|
2787
2832
|
const nextStepsLegalDefault = [
|
|
2788
2833
|
"haveAttorney",
|
|
2789
2834
|
"degreeOfInterest",
|