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
@@ -14,11 +14,10 @@ function LegalRedirectUrl() {
14
14
  const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL =
15
15
  '$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)';
16
16
  const DEFAULT_COMMENTS_LABEL_LEGAL = "Please briefly describe your legal issue in a few words:";
17
- const DEFAULT_FINAL_HEADLINE_LEGAL = "Submit Your Case";
17
+ const DEFAULT_FINAL_HEADLINE_LEGAL = "Connect With The Legal Help You Deserve";
18
18
  const DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL =
19
19
  '$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)';
20
- const DEFAULT_FINAL_SUBHEADLINE_LEGAL =
21
- "You may benefit from speaking with a legal professional. Please verify your contact information.";
20
+ const DEFAULT_FINAL_SUBHEADLINE_LEGAL = "Get a no-obligation consultation with a legal expert.";
22
21
  const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL =
23
22
  '$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)';
24
23
  const TCPA_LANGUAGE_LEGAL =
@@ -110,10 +109,15 @@ const CROSS_SELL_OPTION_MAP_LEGAL = {
110
109
 
111
110
  // ------ Common Base Settings
112
111
 
113
- const checkbox = (updates) => {
114
- if (updates.name && !updates.id) {
115
- updates.id = updates.name;
112
+ const ensureIds = (cfg) => {
113
+ if (cfg.name && !cfg.id) {
114
+ cfg.id = cfg.name;
116
115
  }
116
+ return cfg
117
+ };
118
+
119
+ const checkbox = (updates) => {
120
+ ensureIds(updates);
117
121
  return merge(
118
122
  {
119
123
  $formkit: "checkbox",
@@ -161,9 +165,7 @@ const verticalCol2Checkbox = (updates) => {
161
165
  };
162
166
 
163
167
  const radio = (updates) => {
164
- if (updates.name && !updates.id) {
165
- updates.id = updates.name;
166
- }
168
+ ensureIds(updates);
167
169
  return merge(
168
170
  {
169
171
  $formkit: "radio",
@@ -247,9 +249,7 @@ const verticalYesNoRadio = (updates) => {
247
249
  };
248
250
 
249
251
  const select = (updates) => {
250
- if (updates.name && !updates.id) {
251
- updates.id = updates.name;
252
- }
252
+ ensureIds(updates);
253
253
  return merge(
254
254
  {
255
255
  $formkit: "select",
@@ -277,15 +277,13 @@ const verticalSelect = (updates) => {
277
277
  updates.labelClass = "required";
278
278
  updates.wrapperClass = "t-flex t-justify-center";
279
279
  updates.messagesClass = "t-flex t-justify-center";
280
- updates.inputClass = "t-min-w-[150px] t-bg-white";
280
+ updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
281
281
  updates.helpClass = "t-mt-2.5 t-text-center";
282
282
  return select(updates)
283
283
  };
284
284
 
285
285
  const text = (updates) => {
286
- if (updates.name && !updates.id) {
287
- updates.id = updates.name;
288
- }
286
+ ensureIds(updates);
289
287
  return merge(
290
288
  {
291
289
  $formkit: "text",
@@ -313,9 +311,7 @@ const verticalText = (updates) => {
313
311
  };
314
312
 
315
313
  const textArea = (updates) => {
316
- if (updates.name && !updates.id) {
317
- updates.id = updates.name;
318
- }
314
+ ensureIds(updates);
319
315
  return merge(
320
316
  {
321
317
  $formkit: "textarea",
@@ -333,9 +329,7 @@ const textArea = (updates) => {
333
329
  };
334
330
 
335
331
  const date = (updates) => {
336
- if (updates.name && !updates.id) {
337
- updates.id = updates.name;
338
- }
332
+ ensureIds(updates);
339
333
  return merge(
340
334
  {
341
335
  $formkit: "DatePicker",
@@ -982,7 +976,7 @@ const TCPAConsent = (scope, updates = {}) => ({
982
976
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
983
977
  messages: updates.messagesClass ? updates.messagesClass : "",
984
978
  label:
985
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
979
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
986
980
  (updates.labelClass ? " " + updates.labelClass : ""),
987
981
  },
988
982
  });
@@ -1255,7 +1249,7 @@ function verticalStepHeadline(updates) {
1255
1249
  children: updates.headline || "Tell Us About Your Situation",
1256
1250
  attrs: {
1257
1251
  class:
1258
- "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" +
1252
+ "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" +
1259
1253
  " " +
1260
1254
  (updates.headlineClass || ""),
1261
1255
  },
@@ -1281,7 +1275,7 @@ function commentsStepHeadline(updates) {
1281
1275
  children: updates.headline || "Additional Details",
1282
1276
  attrs: {
1283
1277
  class:
1284
- "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" +
1278
+ "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" +
1285
1279
  " " +
1286
1280
  (updates.headlineClass || ""),
1287
1281
  },
@@ -1301,7 +1295,7 @@ function firstAndLastStepHeadline(updates) {
1301
1295
  children: updates.headline || "Please Provide a Contact Name",
1302
1296
  attrs: {
1303
1297
  class:
1304
- "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" +
1298
+ "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" +
1305
1299
  " " +
1306
1300
  (updates.headlineClass || ""),
1307
1301
  },
@@ -1314,7 +1308,7 @@ function legalCrossSellsStepHeadline(updates) {
1314
1308
  children: updates.headline || "Do any of the following situations apply?",
1315
1309
  attrs: {
1316
1310
  class:
1317
- "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" +
1311
+ "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" +
1318
1312
  " " +
1319
1313
  (updates.headlineClass || ""),
1320
1314
  },
@@ -1327,7 +1321,7 @@ function contactStepHeadline(updates) {
1327
1321
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1328
1322
  attrs: {
1329
1323
  class:
1330
- "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" +
1324
+ "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" +
1331
1325
  " " +
1332
1326
  (updates.headlineClass || "") +
1333
1327
  " f-contact-info-headline",
@@ -1436,6 +1430,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1436
1430
  )
1437
1431
  }
1438
1432
 
1433
+ function commentsWithBankruptcy(updates = {}) {
1434
+ return step(
1435
+ "commentsWithBankruptcy",
1436
+ [
1437
+ commentsStepHeadlineLegal(updates),
1438
+ comments(updates.scope, false, {
1439
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1440
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1441
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1442
+ }),
1443
+ // TODO: needs scope support
1444
+ bankruptcyCrossSell(),
1445
+ {
1446
+ $el: "div",
1447
+ if: "$get(CrossSell_Bankruptcy).value == true",
1448
+ children: [
1449
+ comments("CrossSell:Bankruptcy", false, {
1450
+ label: "Bankruptcy or debt details:",
1451
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1452
+ inputClass: "!t-h-16",
1453
+ }),
1454
+ ],
1455
+ },
1456
+ ],
1457
+ { nextOnEnter: false }
1458
+ )
1459
+ }
1460
+
1439
1461
  function contactInfo(updates = {}) {
1440
1462
  return step(
1441
1463
  "contactInfo",
@@ -1461,7 +1483,7 @@ function firstAndLastV3(updates = {}) {
1461
1483
  headlineClass: updates.headlineClass,
1462
1484
  }),
1463
1485
  verticalStepSubHeadline({
1464
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1486
+ subheadline: updates.subheadline ?? "We never share info without consent",
1465
1487
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1466
1488
  }),
1467
1489
  firstName(updates.scope),
@@ -1475,34 +1497,6 @@ function zipcode(updates = {}) {
1475
1497
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1476
1498
  }
1477
1499
 
1478
- function commentsWithBankruptcy(updates = {}) {
1479
- return step(
1480
- "commentsWithBankruptcy",
1481
- [
1482
- commentsStepHeadlineLegal(updates),
1483
- comments(updates.scope, false, {
1484
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1485
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1486
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1487
- }),
1488
- // TODO: needs scope support
1489
- bankruptcyCrossSell(),
1490
- {
1491
- $el: "div",
1492
- if: "$get(CrossSell_Bankruptcy).value == true",
1493
- children: [
1494
- comments("CrossSell:Bankruptcy", false, {
1495
- label: "Bankruptcy or debt details:",
1496
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1497
- inputClass: "!t-h-16",
1498
- }),
1499
- ],
1500
- },
1501
- ],
1502
- { nextOnEnter: false }
1503
- )
1504
- }
1505
-
1506
1500
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1507
1501
  return step(
1508
1502
  "autoAndCarAccidentCrossSellQuestions",
@@ -2029,7 +2023,7 @@ function subHeadlineDefaults(updates = {}) {
2029
2023
  $el: "h3",
2030
2024
  attrs: {
2031
2025
  class:
2032
- "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" +
2026
+ "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" +
2033
2027
  " " +
2034
2028
  (updates.subheadlineClass || "") +
2035
2029
  " f-first-subheadline",
@@ -2186,78 +2180,129 @@ const TOLPCommentsPlaceholders = {
2186
2180
  };
2187
2181
 
2188
2182
  const TOLPFinalHeadlines = {
2189
- // 'Adoption': '',
2190
- };
2191
-
2192
- const TOLPFinalSubHeadlines = {
2193
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2194
- // 'Asbestos and Mesothelioma': '',
2195
- "Auto and Car Accidents":
2196
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2197
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2198
- // 'Birth Certificate and Name Change': '',
2199
- // 'Business Lawyers': '',
2183
+ Adoption: "Connect With Adoption Professionals Today",
2184
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2185
+ Bankruptcy: "Take Control of Your Financial Future",
2186
+ "Birth Certificate and Name Change": "Start Your Change Today",
2187
+ "Business Lawyers": "Connect With Business Professionals Today",
2188
+ "Child Custody": "Connect With Custody Professionals Today",
2189
+ "Child Support": "Connect With Child Support Professionals",
2200
2190
  // 'Child Custody and Support': '',
2201
- // 'Civil Rights and Discrimination': '',
2202
- // 'Civil Lawsuit': '',
2203
- // 'Consumer Lawyers': '',
2204
- "Copyrights and Trademarks":
2205
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2206
- // 'Criminal and Felony': '',
2207
- // 'Debt and Collections': '',
2208
- "Divorce and Separation":
2209
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2210
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2211
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2212
- // 'Employment and Workplace': '',
2213
- // 'Expungement': '',
2214
- // 'Family Issues': '',
2215
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2216
- Guardianship:
2217
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2218
- // 'Harassment and Discrimination': '',
2219
- // 'Identity Theft': '',
2220
- "Immigration and Visas":
2221
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2222
- // 'Insurance': '',
2223
- "Landlord and Tenant":
2224
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2225
- // 'Lemon Law': '',
2226
- "Long Term Disability":
2227
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2228
- "Medical Malpractice":
2229
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2230
- "Patents and Intellectual Property":
2231
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2232
- "Personal Injury":
2233
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2234
- // 'Power of Attorney': '',
2235
- "Probate and Estates":
2236
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2237
- // 'Product Liability': '',
2238
- // 'Property Damage': '',
2239
- "Real Estate":
2240
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2241
- "Social Security Disability and Insurance":
2242
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2243
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2244
- // 'Traffic and Tickets': '',
2245
- Unemployment:
2246
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2247
- // 'Victim of a Crime': '',
2248
- // 'Wills and Trusts': '',
2249
- "Workers Compensation":
2250
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2251
- // 'Wrongful Death': '',
2252
- // 'Wrongful Termination': '',
2191
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2192
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2193
+ // "Consumer Lawyers": "",
2194
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2195
+ // "Criminal and Felony": "Connect With Legal Help",
2196
+ "Debt and Collections": "Connect With Debt Professionals Today",
2197
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2198
+ "DUI and DWI": "Defend Against DUI Charges",
2199
+ "Elder Law": "Connect With Elder Law Professionals",
2200
+ // "Employment and Workplace": "Connect With Legal Help",
2201
+ Expungement: "Clear Your Record",
2202
+ "Family Issues": "Connect With Family Legal Help",
2203
+ Foreclosure: "Fight to Keep Your Home",
2204
+ Guardianship: "Connect With Guardianship Professionals",
2205
+ // "Harassment and Discrimination": "Connect With Legal Help",
2206
+ // "Identity Theft": "Connect With Legal Help",
2207
+ "Immigration and Visas": "Get Immigration Legal Help",
2208
+ Insurance: "Get Insurance Legal Help",
2209
+ // "Landlord and Tenant": "Connect With Legal Help",
2210
+ "Lemon Law": "Connect With Lemon Law Professionals",
2211
+ "Long Term Disability": "Connect With Disability Professionals",
2212
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2213
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2214
+ "Personal Injury": "Maximize Your Injury Compensation",
2215
+ // "Power of Attorney": "Connect With Legal Help",
2216
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2217
+ "Product Liability": "Get Justice for Faulty Products",
2218
+ // 'Property Damage': 'Connect With Legal Help',
2219
+ "Real Estate": "Connect With Real Estate Professionals",
2220
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2221
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2222
+ "Tax and IRS": "Connect With Tax Legal Help",
2223
+ "Traffic and Tickets": "Protect Your Record Today",
2224
+ Unemployment: "Connect With Unemployment Professionals",
2225
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2226
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2227
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2228
+ "Wrongful Death": "Seek Justice for a Loved One",
2229
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2253
2230
  // 'Not Sure or Other': ''
2254
- // 'Sexual Harassment': '',
2255
2231
  // 'Workplace Harassment': '',
2256
2232
  // 'Non-Workplace Harassment': '',
2257
2233
  // 'Workplace Discrimination': '',
2258
2234
  // 'Non-Workplace Discrimination': '',
2259
2235
  };
2260
2236
 
2237
+ const TOLPFinalSubHeadlines = {
2238
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2239
+ // // 'Asbestos and Mesothelioma': '',
2240
+ // "Auto and Car Accidents":
2241
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2242
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2243
+ // // 'Birth Certificate and Name Change': '',
2244
+ // // 'Business Lawyers': '',
2245
+ // // 'Child Custody and Support': '',
2246
+ // // 'Civil Rights and Discrimination': '',
2247
+ // // 'Civil Lawsuit': '',
2248
+ // // 'Consumer Lawyers': '',
2249
+ // "Copyrights and Trademarks":
2250
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2251
+ // // 'Criminal and Felony': '',
2252
+ // // 'Debt and Collections': '',
2253
+ // "Divorce and Separation":
2254
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2255
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2256
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2257
+ // // 'Employment and Workplace': '',
2258
+ // // 'Expungement': '',
2259
+ // // 'Family Issues': '',
2260
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2261
+ // Guardianship:
2262
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2263
+ // // 'Harassment and Discrimination': '',
2264
+ // // 'Identity Theft': '',
2265
+ // "Immigration and Visas":
2266
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2267
+ // // 'Insurance': '',
2268
+ // "Landlord and Tenant":
2269
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2270
+ // // 'Lemon Law': '',
2271
+ // "Long Term Disability":
2272
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2273
+ // "Medical Malpractice":
2274
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2275
+ // "Patents and Intellectual Property":
2276
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2277
+ // "Personal Injury":
2278
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2279
+ // // 'Power of Attorney': '',
2280
+ // "Probate and Estates":
2281
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2282
+ // // 'Product Liability': '',
2283
+ // // 'Property Damage': '',
2284
+ // "Real Estate":
2285
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2286
+ // "Social Security Disability and Insurance":
2287
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2288
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2289
+ // // 'Traffic and Tickets': '',
2290
+ // Unemployment:
2291
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2292
+ // // 'Victim of a Crime': '',
2293
+ // // 'Wills and Trusts': '',
2294
+ // "Workers Compensation":
2295
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2296
+ // // 'Wrongful Death': '',
2297
+ // // 'Wrongful Termination': '',
2298
+ // // 'Not Sure or Other': ''
2299
+ // // 'Sexual Harassment': '',
2300
+ // // 'Workplace Harassment': '',
2301
+ // // 'Non-Workplace Harassment': '',
2302
+ // // 'Workplace Discrimination': '',
2303
+ // // 'Non-Workplace Discrimination': '',
2304
+ };
2305
+
2261
2306
  const nextStepsLegalNoHA = [
2262
2307
  "degreeOfInterest",
2263
2308
  "commentsWithBankruptcy",