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.
Files changed (121) hide show
  1. package/dist/bhl-forms.es.js +3958 -4643
  2. package/dist/bhl-forms.iife.js +4 -4
  3. package/dist/bhl-forms.modern.es.js +5280 -6107
  4. package/dist/bhl-forms.modern.iife.js +7 -7
  5. package/dist/bhl-forms.modern.umd.js +7 -7
  6. package/dist/bhl-forms.umd.js +4 -4
  7. package/dist/forms/accidentsAndInjuries.es.js +165 -120
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/applianceRepairMinimal.es.js +16 -17
  11. package/dist/forms/applianceRepairMinimal.iife.js +1 -1
  12. package/dist/forms/applianceRepairMinimal.json +1 -1
  13. package/dist/forms/appraisals.es.js +11 -4
  14. package/dist/forms/appraisals.iife.js +1 -1
  15. package/dist/forms/appraisals.json +1 -1
  16. package/dist/forms/business.es.js +167 -122
  17. package/dist/forms/business.iife.js +1 -1
  18. package/dist/forms/business.json +1 -1
  19. package/dist/forms/childAndFamily.es.js +165 -120
  20. package/dist/forms/childAndFamily.iife.js +1 -1
  21. package/dist/forms/childAndFamily.json +1 -1
  22. package/dist/forms/childAndFamilySingle.es.js +167 -122
  23. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  24. package/dist/forms/childAndFamilySingle.json +1 -1
  25. package/dist/forms/civilLawsuit.es.js +167 -122
  26. package/dist/forms/civilLawsuit.iife.js +1 -1
  27. package/dist/forms/civilLawsuit.json +1 -1
  28. package/dist/forms/coins.es.js +11 -4
  29. package/dist/forms/coins.iife.js +1 -1
  30. package/dist/forms/coins.json +1 -1
  31. package/dist/forms/contracts.es.js +165 -120
  32. package/dist/forms/contracts.iife.js +1 -1
  33. package/dist/forms/contracts.json +1 -1
  34. package/dist/forms/criminal.es.js +167 -122
  35. package/dist/forms/criminal.iife.js +1 -1
  36. package/dist/forms/criminal.json +1 -1
  37. package/dist/forms/divorce.es.js +167 -122
  38. package/dist/forms/divorce.iife.js +1 -1
  39. package/dist/forms/divorce.json +1 -1
  40. package/dist/forms/employmentAndWorkplace.es.js +167 -122
  41. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  42. package/dist/forms/employmentAndWorkplace.json +1 -1
  43. package/dist/forms/foreclosure.es.js +167 -122
  44. package/dist/forms/foreclosure.iife.js +1 -1
  45. package/dist/forms/foreclosure.json +1 -1
  46. package/dist/forms/generalContractors.es.js +20 -23
  47. package/dist/forms/generalContractors.iife.js +1 -1
  48. package/dist/forms/generalContractors.json +1 -1
  49. package/dist/forms/generalHomeImprovement.es.js +20 -23
  50. package/dist/forms/generalHomeImprovement.iife.js +1 -1
  51. package/dist/forms/generalHomeImprovement.json +1 -1
  52. package/dist/forms/generalHomeImprovementThankYou.es.js +21 -20
  53. package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
  54. package/dist/forms/generalHomeImprovementThankYou.json +1 -1
  55. package/dist/forms/generalLegal.es.js +165 -120
  56. package/dist/forms/generalLegal.iife.js +1 -1
  57. package/dist/forms/generalLegal.json +1 -1
  58. package/dist/forms/generalLegalJustAnswer.es.js +167 -122
  59. package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
  60. package/dist/forms/generalLegalJustAnswer.json +1 -1
  61. package/dist/forms/generalLegalPopUnder.es.js +165 -120
  62. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  63. package/dist/forms/generalLegalPopUnder.json +1 -1
  64. package/dist/forms/generalLegalPopUnderSingle.es.js +167 -122
  65. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  66. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  67. package/dist/forms/generalLegalSingle.es.js +167 -122
  68. package/dist/forms/generalLegalSingle.iife.js +1 -1
  69. package/dist/forms/generalLegalSingle.json +1 -1
  70. package/dist/forms/generalLegalSingleMinimal.es.js +1325 -0
  71. package/dist/forms/generalLegalSingleMinimal.iife.js +1 -0
  72. package/dist/forms/generalLegalSingleMinimal.json +1 -0
  73. package/dist/forms/generalLegalThankYou.es.js +164 -119
  74. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  75. package/dist/forms/generalLegalThankYou.json +1 -1
  76. package/dist/forms/generalLegalThankYouConsultation.es.js +167 -122
  77. package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
  78. package/dist/forms/generalLegalThankYouConsultation.json +1 -1
  79. package/dist/forms/harassmentAndDiscrimination.es.js +161 -116
  80. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  81. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  82. package/dist/forms/landlordTenant.es.js +167 -122
  83. package/dist/forms/landlordTenant.iife.js +1 -1
  84. package/dist/forms/landlordTenant.json +1 -1
  85. package/dist/forms/malpractice.es.js +166 -121
  86. package/dist/forms/malpractice.iife.js +1 -1
  87. package/dist/forms/malpractice.json +1 -1
  88. package/dist/forms/mechanics.es.js +137 -86
  89. package/dist/forms/mechanics.iife.js +1 -1
  90. package/dist/forms/mechanics.json +1 -1
  91. package/dist/forms/patentsAndIP.es.js +167 -122
  92. package/dist/forms/patentsAndIP.iife.js +1 -1
  93. package/dist/forms/patentsAndIP.json +1 -1
  94. package/dist/forms/realEstate.es.js +161 -116
  95. package/dist/forms/realEstate.iife.js +1 -1
  96. package/dist/forms/realEstate.json +1 -1
  97. package/dist/forms/repossession.es.js +165 -120
  98. package/dist/forms/repossession.iife.js +1 -1
  99. package/dist/forms/repossession.json +1 -1
  100. package/dist/forms/ssdi.es.js +158 -109
  101. package/dist/forms/ssdi.iife.js +1 -1
  102. package/dist/forms/ssdi.json +1 -1
  103. package/dist/forms/testForm.es.js +131 -76
  104. package/dist/forms/testForm.iife.js +1 -1
  105. package/dist/forms/testForm.json +1 -1
  106. package/dist/forms/testRedirects.es.js +13 -10
  107. package/dist/forms/testRedirects.iife.js +1 -1
  108. package/dist/forms/vets.es.js +11 -4
  109. package/dist/forms/vets.iife.js +1 -1
  110. package/dist/forms/vets.json +1 -1
  111. package/dist/forms/willsAndTrusts.es.js +161 -116
  112. package/dist/forms/willsAndTrusts.iife.js +1 -1
  113. package/dist/forms/willsAndTrusts.json +1 -1
  114. package/dist/forms/windows.es.js +20 -23
  115. package/dist/forms/windows.iife.js +1 -1
  116. package/dist/forms/windows.json +1 -1
  117. package/dist/forms/workersCompensation.es.js +166 -121
  118. package/dist/forms/workersCompensation.iife.js +1 -1
  119. package/dist/forms/workersCompensation.json +1 -1
  120. package/dist/main.css +1 -1
  121. 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 = "Submit Your Case";
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 checkbox = (updates) => {
109
- if (updates.name && !updates.id) {
110
- updates.id = updates.name;
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
- if (updates.name && !updates.id) {
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
- if (updates.name && !updates.id) {
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
- if (updates.name && !updates.id) {
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
- if (updates.name && !updates.id) {
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
- if (updates.name && !updates.id) {
352
- updates.id = updates.name;
353
- }
347
+ ensureIds(updates);
354
348
  return merge(
355
349
  {
356
350
  $formkit: "DatePicker",
@@ -1064,7 +1058,7 @@ const TCPAConsent = (scope, updates = {}) => ({
1064
1058
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
1065
1059
  messages: updates.messagesClass ? updates.messagesClass : "",
1066
1060
  label:
1067
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1061
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1068
1062
  (updates.labelClass ? " " + updates.labelClass : ""),
1069
1063
  },
1070
1064
  });
@@ -1337,7 +1331,7 @@ function verticalStepHeadline(updates) {
1337
1331
  children: updates.headline || "Tell Us About Your Situation",
1338
1332
  attrs: {
1339
1333
  class:
1340
- "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" +
1334
+ "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" +
1341
1335
  " " +
1342
1336
  (updates.headlineClass || ""),
1343
1337
  },
@@ -1363,7 +1357,7 @@ function commentsStepHeadline(updates) {
1363
1357
  children: updates.headline || "Additional Details",
1364
1358
  attrs: {
1365
1359
  class:
1366
- "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" +
1360
+ "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" +
1367
1361
  " " +
1368
1362
  (updates.headlineClass || ""),
1369
1363
  },
@@ -1383,7 +1377,7 @@ function firstAndLastStepHeadline(updates) {
1383
1377
  children: updates.headline || "Please Provide a Contact Name",
1384
1378
  attrs: {
1385
1379
  class:
1386
- "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" +
1380
+ "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" +
1387
1381
  " " +
1388
1382
  (updates.headlineClass || ""),
1389
1383
  },
@@ -1396,7 +1390,7 @@ function legalCrossSellsStepHeadline(updates) {
1396
1390
  children: updates.headline || "Do any of the following situations apply?",
1397
1391
  attrs: {
1398
1392
  class:
1399
- "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" +
1393
+ "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" +
1400
1394
  " " +
1401
1395
  (updates.headlineClass || ""),
1402
1396
  },
@@ -1409,7 +1403,7 @@ function contactStepHeadline(updates) {
1409
1403
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1410
1404
  attrs: {
1411
1405
  class:
1412
- "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" +
1406
+ "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" +
1413
1407
  " " +
1414
1408
  (updates.headlineClass || "") +
1415
1409
  " f-contact-info-headline",
@@ -1518,6 +1512,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1518
1512
  )
1519
1513
  }
1520
1514
 
1515
+ function commentsWithBankruptcy(updates = {}) {
1516
+ return step(
1517
+ "commentsWithBankruptcy",
1518
+ [
1519
+ commentsStepHeadlineLegal(updates),
1520
+ comments(updates.scope, false, {
1521
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1522
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1523
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1524
+ }),
1525
+ // TODO: needs scope support
1526
+ bankruptcyCrossSell(),
1527
+ {
1528
+ $el: "div",
1529
+ if: "$get(CrossSell_Bankruptcy).value == true",
1530
+ children: [
1531
+ comments("CrossSell:Bankruptcy", false, {
1532
+ label: "Bankruptcy or debt details:",
1533
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1534
+ inputClass: "!t-h-16",
1535
+ }),
1536
+ ],
1537
+ },
1538
+ ],
1539
+ { nextOnEnter: false }
1540
+ )
1541
+ }
1542
+
1521
1543
  function contactInfo(updates = {}) {
1522
1544
  return step(
1523
1545
  "contactInfo",
@@ -1543,7 +1565,7 @@ function firstAndLastV3(updates = {}) {
1543
1565
  headlineClass: updates.headlineClass,
1544
1566
  }),
1545
1567
  verticalStepSubHeadline({
1546
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1568
+ subheadline: updates.subheadline ?? "We never share info without consent",
1547
1569
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1548
1570
  }),
1549
1571
  firstName(updates.scope),
@@ -1557,34 +1579,6 @@ function zipcode(updates = {}) {
1557
1579
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1558
1580
  }
1559
1581
 
1560
- function commentsWithBankruptcy(updates = {}) {
1561
- return step(
1562
- "commentsWithBankruptcy",
1563
- [
1564
- commentsStepHeadlineLegal(updates),
1565
- comments(updates.scope, false, {
1566
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1567
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1568
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1569
- }),
1570
- // TODO: needs scope support
1571
- bankruptcyCrossSell(),
1572
- {
1573
- $el: "div",
1574
- if: "$get(CrossSell_Bankruptcy).value == true",
1575
- children: [
1576
- comments("CrossSell:Bankruptcy", false, {
1577
- label: "Bankruptcy or debt details:",
1578
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1579
- inputClass: "!t-h-16",
1580
- }),
1581
- ],
1582
- },
1583
- ],
1584
- { nextOnEnter: false }
1585
- )
1586
- }
1587
-
1588
1582
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1589
1583
  return step(
1590
1584
  "autoAndCarAccidentCrossSellQuestions",
@@ -2191,7 +2185,7 @@ function subHeadlineDefaults(updates = {}) {
2191
2185
  $el: "h3",
2192
2186
  attrs: {
2193
2187
  class:
2194
- "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" +
2188
+ "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" +
2195
2189
  " " +
2196
2190
  (updates.subheadlineClass || "") +
2197
2191
  " f-first-subheadline",
@@ -2547,78 +2541,129 @@ const TOLPCommentsPlaceholders = {
2547
2541
  };
2548
2542
 
2549
2543
  const TOLPFinalHeadlines = {
2550
- // 'Adoption': '',
2551
- };
2552
-
2553
- const TOLPFinalSubHeadlines = {
2554
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2555
- // 'Asbestos and Mesothelioma': '',
2556
- "Auto and Car Accidents":
2557
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2558
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2559
- // 'Birth Certificate and Name Change': '',
2560
- // 'Business Lawyers': '',
2544
+ Adoption: "Connect With Adoption Professionals Today",
2545
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2546
+ Bankruptcy: "Take Control of Your Financial Future",
2547
+ "Birth Certificate and Name Change": "Start Your Change Today",
2548
+ "Business Lawyers": "Connect With Business Professionals Today",
2549
+ "Child Custody": "Connect With Custody Professionals Today",
2550
+ "Child Support": "Connect With Child Support Professionals",
2561
2551
  // 'Child Custody and Support': '',
2562
- // 'Civil Rights and Discrimination': '',
2563
- // 'Civil Lawsuit': '',
2564
- // 'Consumer Lawyers': '',
2565
- "Copyrights and Trademarks":
2566
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2567
- // 'Criminal and Felony': '',
2568
- // 'Debt and Collections': '',
2569
- "Divorce and Separation":
2570
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2571
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2572
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2573
- // 'Employment and Workplace': '',
2574
- // 'Expungement': '',
2575
- // 'Family Issues': '',
2576
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2577
- Guardianship:
2578
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2579
- // 'Harassment and Discrimination': '',
2580
- // 'Identity Theft': '',
2581
- "Immigration and Visas":
2582
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2583
- // 'Insurance': '',
2584
- "Landlord and Tenant":
2585
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2586
- // 'Lemon Law': '',
2587
- "Long Term Disability":
2588
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2589
- "Medical Malpractice":
2590
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2591
- "Patents and Intellectual Property":
2592
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2593
- "Personal Injury":
2594
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2595
- // 'Power of Attorney': '',
2596
- "Probate and Estates":
2597
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2598
- // 'Product Liability': '',
2599
- // 'Property Damage': '',
2600
- "Real Estate":
2601
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2602
- "Social Security Disability and Insurance":
2603
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2604
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2605
- // 'Traffic and Tickets': '',
2606
- Unemployment:
2607
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2608
- // 'Victim of a Crime': '',
2609
- // 'Wills and Trusts': '',
2610
- "Workers Compensation":
2611
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2612
- // 'Wrongful Death': '',
2613
- // 'Wrongful Termination': '',
2552
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2553
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2554
+ // "Consumer Lawyers": "",
2555
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2556
+ // "Criminal and Felony": "Connect With Legal Help",
2557
+ "Debt and Collections": "Connect With Debt Professionals Today",
2558
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2559
+ "DUI and DWI": "Defend Against DUI Charges",
2560
+ "Elder Law": "Connect With Elder Law Professionals",
2561
+ // "Employment and Workplace": "Connect With Legal Help",
2562
+ Expungement: "Clear Your Record",
2563
+ "Family Issues": "Connect With Family Legal Help",
2564
+ Foreclosure: "Fight to Keep Your Home",
2565
+ Guardianship: "Connect With Guardianship Professionals",
2566
+ // "Harassment and Discrimination": "Connect With Legal Help",
2567
+ // "Identity Theft": "Connect With Legal Help",
2568
+ "Immigration and Visas": "Get Immigration Legal Help",
2569
+ Insurance: "Get Insurance Legal Help",
2570
+ // "Landlord and Tenant": "Connect With Legal Help",
2571
+ "Lemon Law": "Connect With Lemon Law Professionals",
2572
+ "Long Term Disability": "Connect With Disability Professionals",
2573
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2574
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2575
+ "Personal Injury": "Maximize Your Injury Compensation",
2576
+ // "Power of Attorney": "Connect With Legal Help",
2577
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2578
+ "Product Liability": "Get Justice for Faulty Products",
2579
+ // 'Property Damage': 'Connect With Legal Help',
2580
+ "Real Estate": "Connect With Real Estate Professionals",
2581
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2582
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2583
+ "Tax and IRS": "Connect With Tax Legal Help",
2584
+ "Traffic and Tickets": "Protect Your Record Today",
2585
+ Unemployment: "Connect With Unemployment Professionals",
2586
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2587
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2588
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2589
+ "Wrongful Death": "Seek Justice for a Loved One",
2590
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2614
2591
  // 'Not Sure or Other': ''
2615
- // 'Sexual Harassment': '',
2616
2592
  // 'Workplace Harassment': '',
2617
2593
  // 'Non-Workplace Harassment': '',
2618
2594
  // 'Workplace Discrimination': '',
2619
2595
  // 'Non-Workplace Discrimination': '',
2620
2596
  };
2621
2597
 
2598
+ const TOLPFinalSubHeadlines = {
2599
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2600
+ // // 'Asbestos and Mesothelioma': '',
2601
+ // "Auto and Car Accidents":
2602
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2603
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2604
+ // // 'Birth Certificate and Name Change': '',
2605
+ // // 'Business Lawyers': '',
2606
+ // // 'Child Custody and Support': '',
2607
+ // // 'Civil Rights and Discrimination': '',
2608
+ // // 'Civil Lawsuit': '',
2609
+ // // 'Consumer Lawyers': '',
2610
+ // "Copyrights and Trademarks":
2611
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2612
+ // // 'Criminal and Felony': '',
2613
+ // // 'Debt and Collections': '',
2614
+ // "Divorce and Separation":
2615
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2616
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2617
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2618
+ // // 'Employment and Workplace': '',
2619
+ // // 'Expungement': '',
2620
+ // // 'Family Issues': '',
2621
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2622
+ // Guardianship:
2623
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2624
+ // // 'Harassment and Discrimination': '',
2625
+ // // 'Identity Theft': '',
2626
+ // "Immigration and Visas":
2627
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2628
+ // // 'Insurance': '',
2629
+ // "Landlord and Tenant":
2630
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2631
+ // // 'Lemon Law': '',
2632
+ // "Long Term Disability":
2633
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2634
+ // "Medical Malpractice":
2635
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2636
+ // "Patents and Intellectual Property":
2637
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2638
+ // "Personal Injury":
2639
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2640
+ // // 'Power of Attorney': '',
2641
+ // "Probate and Estates":
2642
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2643
+ // // 'Product Liability': '',
2644
+ // // 'Property Damage': '',
2645
+ // "Real Estate":
2646
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2647
+ // "Social Security Disability and Insurance":
2648
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2649
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2650
+ // // 'Traffic and Tickets': '',
2651
+ // Unemployment:
2652
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2653
+ // // 'Victim of a Crime': '',
2654
+ // // 'Wills and Trusts': '',
2655
+ // "Workers Compensation":
2656
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2657
+ // // 'Wrongful Death': '',
2658
+ // // 'Wrongful Termination': '',
2659
+ // // 'Not Sure or Other': ''
2660
+ // // 'Sexual Harassment': '',
2661
+ // // 'Workplace Harassment': '',
2662
+ // // 'Non-Workplace Harassment': '',
2663
+ // // 'Workplace Discrimination': '',
2664
+ // // 'Non-Workplace Discrimination': '',
2665
+ };
2666
+
2622
2667
  const nextStepsLegalDefault = [
2623
2668
  "haveAttorney",
2624
2669
  "degreeOfInterest",