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",
@@ -242,9 +244,7 @@ const verticalYesNoRadio = (updates) => {
242
244
  };
243
245
 
244
246
  const select = (updates) => {
245
- if (updates.name && !updates.id) {
246
- updates.id = updates.name;
247
- }
247
+ ensureIds(updates);
248
248
  return merge(
249
249
  {
250
250
  $formkit: "select",
@@ -272,15 +272,13 @@ const verticalSelect = (updates) => {
272
272
  updates.labelClass = "required";
273
273
  updates.wrapperClass = "t-flex t-justify-center";
274
274
  updates.messagesClass = "t-flex t-justify-center";
275
- updates.inputClass = "t-min-w-[150px] t-bg-white";
275
+ updates.inputClass = "t-min-w-[150px] t-bg-white " + (updates.inputClass || "");
276
276
  updates.helpClass = "t-mt-2.5 t-text-center";
277
277
  return select(updates)
278
278
  };
279
279
 
280
280
  const text = (updates) => {
281
- if (updates.name && !updates.id) {
282
- updates.id = updates.name;
283
- }
281
+ ensureIds(updates);
284
282
  return merge(
285
283
  {
286
284
  $formkit: "text",
@@ -308,9 +306,7 @@ const verticalText = (updates) => {
308
306
  };
309
307
 
310
308
  const textArea = (updates) => {
311
- if (updates.name && !updates.id) {
312
- updates.id = updates.name;
313
- }
309
+ ensureIds(updates);
314
310
  return merge(
315
311
  {
316
312
  $formkit: "textarea",
@@ -328,9 +324,7 @@ const textArea = (updates) => {
328
324
  };
329
325
 
330
326
  const date = (updates) => {
331
- if (updates.name && !updates.id) {
332
- updates.id = updates.name;
333
- }
327
+ ensureIds(updates);
334
328
  return merge(
335
329
  {
336
330
  $formkit: "DatePicker",
@@ -924,7 +918,7 @@ const TCPAConsent = (scope, updates = {}) => ({
924
918
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
925
919
  messages: updates.messagesClass ? updates.messagesClass : "",
926
920
  label:
927
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
921
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
928
922
  (updates.labelClass ? " " + updates.labelClass : ""),
929
923
  },
930
924
  });
@@ -1159,7 +1153,7 @@ function verticalStepHeadline(updates) {
1159
1153
  children: updates.headline || "Tell Us About Your Situation",
1160
1154
  attrs: {
1161
1155
  class:
1162
- "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" +
1156
+ "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" +
1163
1157
  " " +
1164
1158
  (updates.headlineClass || ""),
1165
1159
  },
@@ -1185,7 +1179,7 @@ function commentsStepHeadline(updates) {
1185
1179
  children: updates.headline || "Additional Details",
1186
1180
  attrs: {
1187
1181
  class:
1188
- "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" +
1182
+ "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" +
1189
1183
  " " +
1190
1184
  (updates.headlineClass || ""),
1191
1185
  },
@@ -1205,7 +1199,7 @@ function firstAndLastStepHeadline(updates) {
1205
1199
  children: updates.headline || "Please Provide a Contact Name",
1206
1200
  attrs: {
1207
1201
  class:
1208
- "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" +
1202
+ "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" +
1209
1203
  " " +
1210
1204
  (updates.headlineClass || ""),
1211
1205
  },
@@ -1218,7 +1212,7 @@ function legalCrossSellsStepHeadline(updates) {
1218
1212
  children: updates.headline || "Do any of the following situations apply?",
1219
1213
  attrs: {
1220
1214
  class:
1221
- "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" +
1215
+ "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" +
1222
1216
  " " +
1223
1217
  (updates.headlineClass || ""),
1224
1218
  },
@@ -1231,7 +1225,7 @@ function contactStepHeadline(updates) {
1231
1225
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1232
1226
  attrs: {
1233
1227
  class:
1234
- "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" +
1228
+ "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" +
1235
1229
  " " +
1236
1230
  (updates.headlineClass || "") +
1237
1231
  " f-contact-info-headline",
@@ -1340,6 +1334,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1340
1334
  )
1341
1335
  }
1342
1336
 
1337
+ function commentsWithBankruptcy(updates = {}) {
1338
+ return step(
1339
+ "commentsWithBankruptcy",
1340
+ [
1341
+ commentsStepHeadlineLegal(updates),
1342
+ comments(updates.scope, false, {
1343
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1344
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1345
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1346
+ }),
1347
+ // TODO: needs scope support
1348
+ bankruptcyCrossSell(),
1349
+ {
1350
+ $el: "div",
1351
+ if: "$get(CrossSell_Bankruptcy).value == true",
1352
+ children: [
1353
+ comments("CrossSell:Bankruptcy", false, {
1354
+ label: "Bankruptcy or debt details:",
1355
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1356
+ inputClass: "!t-h-16",
1357
+ }),
1358
+ ],
1359
+ },
1360
+ ],
1361
+ { nextOnEnter: false }
1362
+ )
1363
+ }
1364
+
1343
1365
  function contactInfo(updates = {}) {
1344
1366
  return step(
1345
1367
  "contactInfo",
@@ -1365,7 +1387,7 @@ function firstAndLastV3(updates = {}) {
1365
1387
  headlineClass: updates.headlineClass,
1366
1388
  }),
1367
1389
  verticalStepSubHeadline({
1368
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1390
+ subheadline: updates.subheadline ?? "We never share info without consent",
1369
1391
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1370
1392
  }),
1371
1393
  firstName(updates.scope),
@@ -1379,34 +1401,6 @@ function zipcode(updates = {}) {
1379
1401
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1380
1402
  }
1381
1403
 
1382
- function commentsWithBankruptcy(updates = {}) {
1383
- return step(
1384
- "commentsWithBankruptcy",
1385
- [
1386
- commentsStepHeadlineLegal(updates),
1387
- comments(updates.scope, false, {
1388
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1389
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1390
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1391
- }),
1392
- // TODO: needs scope support
1393
- bankruptcyCrossSell(),
1394
- {
1395
- $el: "div",
1396
- if: "$get(CrossSell_Bankruptcy).value == true",
1397
- children: [
1398
- comments("CrossSell:Bankruptcy", false, {
1399
- label: "Bankruptcy or debt details:",
1400
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1401
- inputClass: "!t-h-16",
1402
- }),
1403
- ],
1404
- },
1405
- ],
1406
- { nextOnEnter: false }
1407
- )
1408
- }
1409
-
1410
1404
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1411
1405
  return step(
1412
1406
  "autoAndCarAccidentCrossSellQuestions",
@@ -1897,7 +1891,7 @@ function subHeadlineDefaults(updates = {}) {
1897
1891
  $el: "h3",
1898
1892
  attrs: {
1899
1893
  class:
1900
- "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" +
1894
+ "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" +
1901
1895
  " " +
1902
1896
  (updates.subheadlineClass || "") +
1903
1897
  " f-first-subheadline",
@@ -2039,78 +2033,129 @@ const TOLPCommentsPlaceholders = {
2039
2033
  };
2040
2034
 
2041
2035
  const TOLPFinalHeadlines = {
2042
- // 'Adoption': '',
2043
- };
2044
-
2045
- const TOLPFinalSubHeadlines = {
2046
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2047
- // 'Asbestos and Mesothelioma': '',
2048
- "Auto and Car Accidents":
2049
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2050
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2051
- // 'Birth Certificate and Name Change': '',
2052
- // 'Business Lawyers': '',
2036
+ Adoption: "Connect With Adoption Professionals Today",
2037
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2038
+ Bankruptcy: "Take Control of Your Financial Future",
2039
+ "Birth Certificate and Name Change": "Start Your Change Today",
2040
+ "Business Lawyers": "Connect With Business Professionals Today",
2041
+ "Child Custody": "Connect With Custody Professionals Today",
2042
+ "Child Support": "Connect With Child Support Professionals",
2053
2043
  // 'Child Custody and Support': '',
2054
- // 'Civil Rights and Discrimination': '',
2055
- // 'Civil Lawsuit': '',
2056
- // 'Consumer Lawyers': '',
2057
- "Copyrights and Trademarks":
2058
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2059
- // 'Criminal and Felony': '',
2060
- // 'Debt and Collections': '',
2061
- "Divorce and Separation":
2062
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2063
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2064
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2065
- // 'Employment and Workplace': '',
2066
- // 'Expungement': '',
2067
- // 'Family Issues': '',
2068
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2069
- Guardianship:
2070
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2071
- // 'Harassment and Discrimination': '',
2072
- // 'Identity Theft': '',
2073
- "Immigration and Visas":
2074
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2075
- // 'Insurance': '',
2076
- "Landlord and Tenant":
2077
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2078
- // 'Lemon Law': '',
2079
- "Long Term Disability":
2080
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2081
- "Medical Malpractice":
2082
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2083
- "Patents and Intellectual Property":
2084
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2085
- "Personal Injury":
2086
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2087
- // 'Power of Attorney': '',
2088
- "Probate and Estates":
2089
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2090
- // 'Product Liability': '',
2091
- // 'Property Damage': '',
2092
- "Real Estate":
2093
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2094
- "Social Security Disability and Insurance":
2095
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2096
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2097
- // 'Traffic and Tickets': '',
2098
- Unemployment:
2099
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2100
- // 'Victim of a Crime': '',
2101
- // 'Wills and Trusts': '',
2102
- "Workers Compensation":
2103
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2104
- // 'Wrongful Death': '',
2105
- // 'Wrongful Termination': '',
2044
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2045
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2046
+ // "Consumer Lawyers": "",
2047
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2048
+ // "Criminal and Felony": "Connect With Legal Help",
2049
+ "Debt and Collections": "Connect With Debt Professionals Today",
2050
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2051
+ "DUI and DWI": "Defend Against DUI Charges",
2052
+ "Elder Law": "Connect With Elder Law Professionals",
2053
+ // "Employment and Workplace": "Connect With Legal Help",
2054
+ Expungement: "Clear Your Record",
2055
+ "Family Issues": "Connect With Family Legal Help",
2056
+ Foreclosure: "Fight to Keep Your Home",
2057
+ Guardianship: "Connect With Guardianship Professionals",
2058
+ // "Harassment and Discrimination": "Connect With Legal Help",
2059
+ // "Identity Theft": "Connect With Legal Help",
2060
+ "Immigration and Visas": "Get Immigration Legal Help",
2061
+ Insurance: "Get Insurance Legal Help",
2062
+ // "Landlord and Tenant": "Connect With Legal Help",
2063
+ "Lemon Law": "Connect With Lemon Law Professionals",
2064
+ "Long Term Disability": "Connect With Disability Professionals",
2065
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2066
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2067
+ "Personal Injury": "Maximize Your Injury Compensation",
2068
+ // "Power of Attorney": "Connect With Legal Help",
2069
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2070
+ "Product Liability": "Get Justice for Faulty Products",
2071
+ // 'Property Damage': 'Connect With Legal Help',
2072
+ "Real Estate": "Connect With Real Estate Professionals",
2073
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2074
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2075
+ "Tax and IRS": "Connect With Tax Legal Help",
2076
+ "Traffic and Tickets": "Protect Your Record Today",
2077
+ Unemployment: "Connect With Unemployment Professionals",
2078
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2079
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2080
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2081
+ "Wrongful Death": "Seek Justice for a Loved One",
2082
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2106
2083
  // 'Not Sure or Other': ''
2107
- // 'Sexual Harassment': '',
2108
2084
  // 'Workplace Harassment': '',
2109
2085
  // 'Non-Workplace Harassment': '',
2110
2086
  // 'Workplace Discrimination': '',
2111
2087
  // 'Non-Workplace Discrimination': '',
2112
2088
  };
2113
2089
 
2090
+ const TOLPFinalSubHeadlines = {
2091
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2092
+ // // 'Asbestos and Mesothelioma': '',
2093
+ // "Auto and Car Accidents":
2094
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2095
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2096
+ // // 'Birth Certificate and Name Change': '',
2097
+ // // 'Business Lawyers': '',
2098
+ // // 'Child Custody and Support': '',
2099
+ // // 'Civil Rights and Discrimination': '',
2100
+ // // 'Civil Lawsuit': '',
2101
+ // // 'Consumer Lawyers': '',
2102
+ // "Copyrights and Trademarks":
2103
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2104
+ // // 'Criminal and Felony': '',
2105
+ // // 'Debt and Collections': '',
2106
+ // "Divorce and Separation":
2107
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2108
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2109
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2110
+ // // 'Employment and Workplace': '',
2111
+ // // 'Expungement': '',
2112
+ // // 'Family Issues': '',
2113
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2114
+ // Guardianship:
2115
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2116
+ // // 'Harassment and Discrimination': '',
2117
+ // // 'Identity Theft': '',
2118
+ // "Immigration and Visas":
2119
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2120
+ // // 'Insurance': '',
2121
+ // "Landlord and Tenant":
2122
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2123
+ // // 'Lemon Law': '',
2124
+ // "Long Term Disability":
2125
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2126
+ // "Medical Malpractice":
2127
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2128
+ // "Patents and Intellectual Property":
2129
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2130
+ // "Personal Injury":
2131
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2132
+ // // 'Power of Attorney': '',
2133
+ // "Probate and Estates":
2134
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2135
+ // // 'Product Liability': '',
2136
+ // // 'Property Damage': '',
2137
+ // "Real Estate":
2138
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2139
+ // "Social Security Disability and Insurance":
2140
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2141
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2142
+ // // 'Traffic and Tickets': '',
2143
+ // Unemployment:
2144
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2145
+ // // 'Victim of a Crime': '',
2146
+ // // 'Wills and Trusts': '',
2147
+ // "Workers Compensation":
2148
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2149
+ // // 'Wrongful Death': '',
2150
+ // // 'Wrongful Termination': '',
2151
+ // // 'Not Sure or Other': ''
2152
+ // // 'Sexual Harassment': '',
2153
+ // // 'Workplace Harassment': '',
2154
+ // // 'Non-Workplace Harassment': '',
2155
+ // // 'Workplace Discrimination': '',
2156
+ // // 'Non-Workplace Discrimination': '',
2157
+ };
2158
+
2114
2159
  const nextStepsLegalDefault = [
2115
2160
  "haveAttorney",
2116
2161
  "degreeOfInterest",