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",
@@ -1002,7 +996,7 @@ const TCPAConsent = (scope, updates = {}) => ({
1002
996
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
1003
997
  messages: updates.messagesClass ? updates.messagesClass : "",
1004
998
  label:
1005
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
999
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1006
1000
  (updates.labelClass ? " " + updates.labelClass : ""),
1007
1001
  },
1008
1002
  });
@@ -1299,7 +1293,7 @@ function verticalStepHeadline(updates) {
1299
1293
  children: updates.headline || "Tell Us About Your Situation",
1300
1294
  attrs: {
1301
1295
  class:
1302
- "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" +
1296
+ "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" +
1303
1297
  " " +
1304
1298
  (updates.headlineClass || ""),
1305
1299
  },
@@ -1325,7 +1319,7 @@ function commentsStepHeadline(updates) {
1325
1319
  children: updates.headline || "Additional Details",
1326
1320
  attrs: {
1327
1321
  class:
1328
- "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" +
1322
+ "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" +
1329
1323
  " " +
1330
1324
  (updates.headlineClass || ""),
1331
1325
  },
@@ -1345,7 +1339,7 @@ function firstAndLastStepHeadline(updates) {
1345
1339
  children: updates.headline || "Please Provide a Contact Name",
1346
1340
  attrs: {
1347
1341
  class:
1348
- "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" +
1342
+ "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" +
1349
1343
  " " +
1350
1344
  (updates.headlineClass || ""),
1351
1345
  },
@@ -1358,7 +1352,7 @@ function legalCrossSellsStepHeadline(updates) {
1358
1352
  children: updates.headline || "Do any of the following situations apply?",
1359
1353
  attrs: {
1360
1354
  class:
1361
- "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" +
1355
+ "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" +
1362
1356
  " " +
1363
1357
  (updates.headlineClass || ""),
1364
1358
  },
@@ -1371,7 +1365,7 @@ function contactStepHeadline(updates) {
1371
1365
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1372
1366
  attrs: {
1373
1367
  class:
1374
- "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" +
1368
+ "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" +
1375
1369
  " " +
1376
1370
  (updates.headlineClass || "") +
1377
1371
  " f-contact-info-headline",
@@ -1480,6 +1474,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1480
1474
  )
1481
1475
  }
1482
1476
 
1477
+ function commentsWithBankruptcy(updates = {}) {
1478
+ return step(
1479
+ "commentsWithBankruptcy",
1480
+ [
1481
+ commentsStepHeadlineLegal(updates),
1482
+ comments(updates.scope, false, {
1483
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1484
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1485
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1486
+ }),
1487
+ // TODO: needs scope support
1488
+ bankruptcyCrossSell(),
1489
+ {
1490
+ $el: "div",
1491
+ if: "$get(CrossSell_Bankruptcy).value == true",
1492
+ children: [
1493
+ comments("CrossSell:Bankruptcy", false, {
1494
+ label: "Bankruptcy or debt details:",
1495
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1496
+ inputClass: "!t-h-16",
1497
+ }),
1498
+ ],
1499
+ },
1500
+ ],
1501
+ { nextOnEnter: false }
1502
+ )
1503
+ }
1504
+
1483
1505
  function contactInfo(updates = {}) {
1484
1506
  return step(
1485
1507
  "contactInfo",
@@ -1505,7 +1527,7 @@ function firstAndLastV3(updates = {}) {
1505
1527
  headlineClass: updates.headlineClass,
1506
1528
  }),
1507
1529
  verticalStepSubHeadline({
1508
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1530
+ subheadline: updates.subheadline ?? "We never share info without consent",
1509
1531
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1510
1532
  }),
1511
1533
  firstName(updates.scope),
@@ -1519,34 +1541,6 @@ function zipcode(updates = {}) {
1519
1541
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1520
1542
  }
1521
1543
 
1522
- function commentsWithBankruptcy(updates = {}) {
1523
- return step(
1524
- "commentsWithBankruptcy",
1525
- [
1526
- commentsStepHeadlineLegal(updates),
1527
- comments(updates.scope, false, {
1528
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1529
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1530
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1531
- }),
1532
- // TODO: needs scope support
1533
- bankruptcyCrossSell(),
1534
- {
1535
- $el: "div",
1536
- if: "$get(CrossSell_Bankruptcy).value == true",
1537
- children: [
1538
- comments("CrossSell:Bankruptcy", false, {
1539
- label: "Bankruptcy or debt details:",
1540
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1541
- inputClass: "!t-h-16",
1542
- }),
1543
- ],
1544
- },
1545
- ],
1546
- { nextOnEnter: false }
1547
- )
1548
- }
1549
-
1550
1544
  function criminalTOLP(updates = {}) {
1551
1545
  return step(
1552
1546
  "criminalTOLP",
@@ -2140,7 +2134,7 @@ function subHeadlineDefaults(updates = {}) {
2140
2134
  $el: "h3",
2141
2135
  attrs: {
2142
2136
  class:
2143
- "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" +
2137
+ "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" +
2144
2138
  " " +
2145
2139
  (updates.subheadlineClass || "") +
2146
2140
  " f-first-subheadline",
@@ -2496,78 +2490,129 @@ const TOLPCommentsPlaceholders = {
2496
2490
  };
2497
2491
 
2498
2492
  const TOLPFinalHeadlines = {
2499
- // 'Adoption': '',
2500
- };
2501
-
2502
- const TOLPFinalSubHeadlines = {
2503
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2504
- // 'Asbestos and Mesothelioma': '',
2505
- "Auto and Car Accidents":
2506
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2507
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2508
- // 'Birth Certificate and Name Change': '',
2509
- // 'Business Lawyers': '',
2493
+ Adoption: "Connect With Adoption Professionals Today",
2494
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2495
+ Bankruptcy: "Take Control of Your Financial Future",
2496
+ "Birth Certificate and Name Change": "Start Your Change Today",
2497
+ "Business Lawyers": "Connect With Business Professionals Today",
2498
+ "Child Custody": "Connect With Custody Professionals Today",
2499
+ "Child Support": "Connect With Child Support Professionals",
2510
2500
  // 'Child Custody and Support': '',
2511
- // 'Civil Rights and Discrimination': '',
2512
- // 'Civil Lawsuit': '',
2513
- // 'Consumer Lawyers': '',
2514
- "Copyrights and Trademarks":
2515
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2516
- // 'Criminal and Felony': '',
2517
- // 'Debt and Collections': '',
2518
- "Divorce and Separation":
2519
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2520
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2521
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2522
- // 'Employment and Workplace': '',
2523
- // 'Expungement': '',
2524
- // 'Family Issues': '',
2525
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2526
- Guardianship:
2527
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2528
- // 'Harassment and Discrimination': '',
2529
- // 'Identity Theft': '',
2530
- "Immigration and Visas":
2531
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2532
- // 'Insurance': '',
2533
- "Landlord and Tenant":
2534
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2535
- // 'Lemon Law': '',
2536
- "Long Term Disability":
2537
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2538
- "Medical Malpractice":
2539
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2540
- "Patents and Intellectual Property":
2541
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2542
- "Personal Injury":
2543
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2544
- // 'Power of Attorney': '',
2545
- "Probate and Estates":
2546
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2547
- // 'Product Liability': '',
2548
- // 'Property Damage': '',
2549
- "Real Estate":
2550
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2551
- "Social Security Disability and Insurance":
2552
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2553
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2554
- // 'Traffic and Tickets': '',
2555
- Unemployment:
2556
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2557
- // 'Victim of a Crime': '',
2558
- // 'Wills and Trusts': '',
2559
- "Workers Compensation":
2560
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2561
- // 'Wrongful Death': '',
2562
- // 'Wrongful Termination': '',
2501
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2502
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2503
+ // "Consumer Lawyers": "",
2504
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2505
+ // "Criminal and Felony": "Connect With Legal Help",
2506
+ "Debt and Collections": "Connect With Debt Professionals Today",
2507
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2508
+ "DUI and DWI": "Defend Against DUI Charges",
2509
+ "Elder Law": "Connect With Elder Law Professionals",
2510
+ // "Employment and Workplace": "Connect With Legal Help",
2511
+ Expungement: "Clear Your Record",
2512
+ "Family Issues": "Connect With Family Legal Help",
2513
+ Foreclosure: "Fight to Keep Your Home",
2514
+ Guardianship: "Connect With Guardianship Professionals",
2515
+ // "Harassment and Discrimination": "Connect With Legal Help",
2516
+ // "Identity Theft": "Connect With Legal Help",
2517
+ "Immigration and Visas": "Get Immigration Legal Help",
2518
+ Insurance: "Get Insurance Legal Help",
2519
+ // "Landlord and Tenant": "Connect With Legal Help",
2520
+ "Lemon Law": "Connect With Lemon Law Professionals",
2521
+ "Long Term Disability": "Connect With Disability Professionals",
2522
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2523
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2524
+ "Personal Injury": "Maximize Your Injury Compensation",
2525
+ // "Power of Attorney": "Connect With Legal Help",
2526
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2527
+ "Product Liability": "Get Justice for Faulty Products",
2528
+ // 'Property Damage': 'Connect With Legal Help',
2529
+ "Real Estate": "Connect With Real Estate Professionals",
2530
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2531
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2532
+ "Tax and IRS": "Connect With Tax Legal Help",
2533
+ "Traffic and Tickets": "Protect Your Record Today",
2534
+ Unemployment: "Connect With Unemployment Professionals",
2535
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2536
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2537
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2538
+ "Wrongful Death": "Seek Justice for a Loved One",
2539
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2563
2540
  // 'Not Sure or Other': ''
2564
- // 'Sexual Harassment': '',
2565
2541
  // 'Workplace Harassment': '',
2566
2542
  // 'Non-Workplace Harassment': '',
2567
2543
  // 'Workplace Discrimination': '',
2568
2544
  // 'Non-Workplace Discrimination': '',
2569
2545
  };
2570
2546
 
2547
+ const TOLPFinalSubHeadlines = {
2548
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2549
+ // // 'Asbestos and Mesothelioma': '',
2550
+ // "Auto and Car Accidents":
2551
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2552
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2553
+ // // 'Birth Certificate and Name Change': '',
2554
+ // // 'Business Lawyers': '',
2555
+ // // 'Child Custody and Support': '',
2556
+ // // 'Civil Rights and Discrimination': '',
2557
+ // // 'Civil Lawsuit': '',
2558
+ // // 'Consumer Lawyers': '',
2559
+ // "Copyrights and Trademarks":
2560
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2561
+ // // 'Criminal and Felony': '',
2562
+ // // 'Debt and Collections': '',
2563
+ // "Divorce and Separation":
2564
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2565
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2566
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2567
+ // // 'Employment and Workplace': '',
2568
+ // // 'Expungement': '',
2569
+ // // 'Family Issues': '',
2570
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2571
+ // Guardianship:
2572
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2573
+ // // 'Harassment and Discrimination': '',
2574
+ // // 'Identity Theft': '',
2575
+ // "Immigration and Visas":
2576
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2577
+ // // 'Insurance': '',
2578
+ // "Landlord and Tenant":
2579
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2580
+ // // 'Lemon Law': '',
2581
+ // "Long Term Disability":
2582
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2583
+ // "Medical Malpractice":
2584
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2585
+ // "Patents and Intellectual Property":
2586
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2587
+ // "Personal Injury":
2588
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2589
+ // // 'Power of Attorney': '',
2590
+ // "Probate and Estates":
2591
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2592
+ // // 'Product Liability': '',
2593
+ // // 'Property Damage': '',
2594
+ // "Real Estate":
2595
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2596
+ // "Social Security Disability and Insurance":
2597
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2598
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2599
+ // // 'Traffic and Tickets': '',
2600
+ // Unemployment:
2601
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2602
+ // // 'Victim of a Crime': '',
2603
+ // // 'Wills and Trusts': '',
2604
+ // "Workers Compensation":
2605
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2606
+ // // 'Wrongful Death': '',
2607
+ // // 'Wrongful Termination': '',
2608
+ // // 'Not Sure or Other': ''
2609
+ // // 'Sexual Harassment': '',
2610
+ // // 'Workplace Harassment': '',
2611
+ // // 'Non-Workplace Harassment': '',
2612
+ // // 'Workplace Discrimination': '',
2613
+ // // 'Non-Workplace Discrimination': '',
2614
+ };
2615
+
2571
2616
  const nextStepsLegalDefault = [
2572
2617
  "haveAttorney",
2573
2618
  "degreeOfInterest",