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",
@@ -2106,7 +2100,7 @@ const TCPAConsent = (scope, updates = {}) => ({
2106
2100
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
2107
2101
  messages: updates.messagesClass ? updates.messagesClass : "",
2108
2102
  label:
2109
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
2103
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
2110
2104
  (updates.labelClass ? " " + updates.labelClass : ""),
2111
2105
  },
2112
2106
  });
@@ -2916,7 +2910,7 @@ function commentsStepHeadline(updates) {
2916
2910
  children: updates.headline || "Additional Details",
2917
2911
  attrs: {
2918
2912
  class:
2919
- "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" +
2913
+ "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" +
2920
2914
  " " +
2921
2915
  (updates.headlineClass || ""),
2922
2916
  },
@@ -2936,7 +2930,7 @@ function firstAndLastStepHeadline(updates) {
2936
2930
  children: updates.headline || "Please Provide a Contact Name",
2937
2931
  attrs: {
2938
2932
  class:
2939
- "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" +
2933
+ "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" +
2940
2934
  " " +
2941
2935
  (updates.headlineClass || ""),
2942
2936
  },
@@ -2949,7 +2943,7 @@ function legalCrossSellsStepHeadline(updates) {
2949
2943
  children: updates.headline || "Do any of the following situations apply?",
2950
2944
  attrs: {
2951
2945
  class:
2952
- "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" +
2946
+ "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" +
2953
2947
  " " +
2954
2948
  (updates.headlineClass || ""),
2955
2949
  },
@@ -2962,7 +2956,7 @@ function contactStepHeadline(updates) {
2962
2956
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
2963
2957
  attrs: {
2964
2958
  class:
2965
- "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" +
2959
+ "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" +
2966
2960
  " " +
2967
2961
  (updates.headlineClass || "") +
2968
2962
  " f-contact-info-headline",
@@ -3052,6 +3046,34 @@ function step(name, inputs, updates = {}) {
3052
3046
  })
3053
3047
  }
3054
3048
 
3049
+ function commentsWithBankruptcy(updates = {}) {
3050
+ return step(
3051
+ "commentsWithBankruptcy",
3052
+ [
3053
+ commentsStepHeadlineLegal(updates),
3054
+ comments(updates.scope, false, {
3055
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
3056
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
3057
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
3058
+ }),
3059
+ // TODO: needs scope support
3060
+ bankruptcyCrossSell(),
3061
+ {
3062
+ $el: "div",
3063
+ if: "$get(CrossSell_Bankruptcy).value == true",
3064
+ children: [
3065
+ comments("CrossSell:Bankruptcy", false, {
3066
+ label: "Bankruptcy or debt details:",
3067
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
3068
+ inputClass: "!t-h-16",
3069
+ }),
3070
+ ],
3071
+ },
3072
+ ],
3073
+ { nextOnEnter: false }
3074
+ )
3075
+ }
3076
+
3055
3077
  function contactInfo(updates = {}) {
3056
3078
  return step(
3057
3079
  "contactInfo",
@@ -3093,34 +3115,6 @@ function generalLegalTOLPAndZip(updates = {}) {
3093
3115
  )
3094
3116
  }
3095
3117
 
3096
- function commentsWithBankruptcy(updates = {}) {
3097
- return step(
3098
- "commentsWithBankruptcy",
3099
- [
3100
- commentsStepHeadlineLegal(updates),
3101
- comments(updates.scope, false, {
3102
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
3103
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
3104
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
3105
- }),
3106
- // TODO: needs scope support
3107
- bankruptcyCrossSell(),
3108
- {
3109
- $el: "div",
3110
- if: "$get(CrossSell_Bankruptcy).value == true",
3111
- children: [
3112
- comments("CrossSell:Bankruptcy", false, {
3113
- label: "Bankruptcy or debt details:",
3114
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
3115
- inputClass: "!t-h-16",
3116
- }),
3117
- ],
3118
- },
3119
- ],
3120
- { nextOnEnter: false }
3121
- )
3122
- }
3123
-
3124
3118
  const AllTOLPQuestions = () => {
3125
3119
  return [
3126
3120
  AdoptionQuestions(),
@@ -3624,7 +3618,7 @@ function subHeadlineDefaults(updates = {}) {
3624
3618
  $el: "h3",
3625
3619
  attrs: {
3626
3620
  class:
3627
- "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" +
3621
+ "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" +
3628
3622
  " " +
3629
3623
  (updates.subheadlineClass || "") +
3630
3624
  " f-first-subheadline",
@@ -3987,78 +3981,129 @@ const TOLPCommentsPlaceholders = {
3987
3981
  };
3988
3982
 
3989
3983
  const TOLPFinalHeadlines = {
3990
- // 'Adoption': '',
3991
- };
3992
-
3993
- const TOLPFinalSubHeadlines = {
3994
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
3995
- // 'Asbestos and Mesothelioma': '',
3996
- "Auto and Car Accidents":
3997
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
3998
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
3999
- // 'Birth Certificate and Name Change': '',
4000
- // 'Business Lawyers': '',
3984
+ Adoption: "Connect With Adoption Professionals Today",
3985
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
3986
+ Bankruptcy: "Take Control of Your Financial Future",
3987
+ "Birth Certificate and Name Change": "Start Your Change Today",
3988
+ "Business Lawyers": "Connect With Business Professionals Today",
3989
+ "Child Custody": "Connect With Custody Professionals Today",
3990
+ "Child Support": "Connect With Child Support Professionals",
4001
3991
  // 'Child Custody and Support': '',
4002
- // 'Civil Rights and Discrimination': '',
4003
- // 'Civil Lawsuit': '',
4004
- // 'Consumer Lawyers': '',
4005
- "Copyrights and Trademarks":
4006
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
4007
- // 'Criminal and Felony': '',
4008
- // 'Debt and Collections': '',
4009
- "Divorce and Separation":
4010
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
4011
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
4012
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
4013
- // 'Employment and Workplace': '',
4014
- // 'Expungement': '',
4015
- // 'Family Issues': '',
4016
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
4017
- Guardianship:
4018
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
4019
- // 'Harassment and Discrimination': '',
4020
- // 'Identity Theft': '',
4021
- "Immigration and Visas":
4022
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
4023
- // 'Insurance': '',
4024
- "Landlord and Tenant":
4025
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
4026
- // 'Lemon Law': '',
4027
- "Long Term Disability":
4028
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
4029
- "Medical Malpractice":
4030
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
4031
- "Patents and Intellectual Property":
4032
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
4033
- "Personal Injury":
4034
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
4035
- // 'Power of Attorney': '',
4036
- "Probate and Estates":
4037
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
4038
- // 'Product Liability': '',
4039
- // 'Property Damage': '',
4040
- "Real Estate":
4041
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
4042
- "Social Security Disability and Insurance":
4043
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
4044
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
4045
- // 'Traffic and Tickets': '',
4046
- Unemployment:
4047
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
4048
- // 'Victim of a Crime': '',
4049
- // 'Wills and Trusts': '',
4050
- "Workers Compensation":
4051
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
4052
- // 'Wrongful Death': '',
4053
- // 'Wrongful Termination': '',
3992
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
3993
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
3994
+ // "Consumer Lawyers": "",
3995
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
3996
+ // "Criminal and Felony": "Connect With Legal Help",
3997
+ "Debt and Collections": "Connect With Debt Professionals Today",
3998
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
3999
+ "DUI and DWI": "Defend Against DUI Charges",
4000
+ "Elder Law": "Connect With Elder Law Professionals",
4001
+ // "Employment and Workplace": "Connect With Legal Help",
4002
+ Expungement: "Clear Your Record",
4003
+ "Family Issues": "Connect With Family Legal Help",
4004
+ Foreclosure: "Fight to Keep Your Home",
4005
+ Guardianship: "Connect With Guardianship Professionals",
4006
+ // "Harassment and Discrimination": "Connect With Legal Help",
4007
+ // "Identity Theft": "Connect With Legal Help",
4008
+ "Immigration and Visas": "Get Immigration Legal Help",
4009
+ Insurance: "Get Insurance Legal Help",
4010
+ // "Landlord and Tenant": "Connect With Legal Help",
4011
+ "Lemon Law": "Connect With Lemon Law Professionals",
4012
+ "Long Term Disability": "Connect With Disability Professionals",
4013
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
4014
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
4015
+ "Personal Injury": "Maximize Your Injury Compensation",
4016
+ // "Power of Attorney": "Connect With Legal Help",
4017
+ "Probate and Estates": "Manage Probate with Expert Guidance",
4018
+ "Product Liability": "Get Justice for Faulty Products",
4019
+ // 'Property Damage': 'Connect With Legal Help',
4020
+ "Real Estate": "Connect With Real Estate Professionals",
4021
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
4022
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
4023
+ "Tax and IRS": "Connect With Tax Legal Help",
4024
+ "Traffic and Tickets": "Protect Your Record Today",
4025
+ Unemployment: "Connect With Unemployment Professionals",
4026
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
4027
+ "Wills and Trusts": "Plan Your Estate with Confidence",
4028
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
4029
+ "Wrongful Death": "Seek Justice for a Loved One",
4030
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
4054
4031
  // 'Not Sure or Other': ''
4055
- // 'Sexual Harassment': '',
4056
4032
  // 'Workplace Harassment': '',
4057
4033
  // 'Non-Workplace Harassment': '',
4058
4034
  // 'Workplace Discrimination': '',
4059
4035
  // 'Non-Workplace Discrimination': '',
4060
4036
  };
4061
4037
 
4038
+ const TOLPFinalSubHeadlines = {
4039
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
4040
+ // // 'Asbestos and Mesothelioma': '',
4041
+ // "Auto and Car Accidents":
4042
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
4043
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
4044
+ // // 'Birth Certificate and Name Change': '',
4045
+ // // 'Business Lawyers': '',
4046
+ // // 'Child Custody and Support': '',
4047
+ // // 'Civil Rights and Discrimination': '',
4048
+ // // 'Civil Lawsuit': '',
4049
+ // // 'Consumer Lawyers': '',
4050
+ // "Copyrights and Trademarks":
4051
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
4052
+ // // 'Criminal and Felony': '',
4053
+ // // 'Debt and Collections': '',
4054
+ // "Divorce and Separation":
4055
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
4056
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
4057
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
4058
+ // // 'Employment and Workplace': '',
4059
+ // // 'Expungement': '',
4060
+ // // 'Family Issues': '',
4061
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
4062
+ // Guardianship:
4063
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
4064
+ // // 'Harassment and Discrimination': '',
4065
+ // // 'Identity Theft': '',
4066
+ // "Immigration and Visas":
4067
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
4068
+ // // 'Insurance': '',
4069
+ // "Landlord and Tenant":
4070
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
4071
+ // // 'Lemon Law': '',
4072
+ // "Long Term Disability":
4073
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
4074
+ // "Medical Malpractice":
4075
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
4076
+ // "Patents and Intellectual Property":
4077
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
4078
+ // "Personal Injury":
4079
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
4080
+ // // 'Power of Attorney': '',
4081
+ // "Probate and Estates":
4082
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
4083
+ // // 'Product Liability': '',
4084
+ // // 'Property Damage': '',
4085
+ // "Real Estate":
4086
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
4087
+ // "Social Security Disability and Insurance":
4088
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
4089
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
4090
+ // // 'Traffic and Tickets': '',
4091
+ // Unemployment:
4092
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
4093
+ // // 'Victim of a Crime': '',
4094
+ // // 'Wills and Trusts': '',
4095
+ // "Workers Compensation":
4096
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
4097
+ // // 'Wrongful Death': '',
4098
+ // // 'Wrongful Termination': '',
4099
+ // // 'Not Sure or Other': ''
4100
+ // // 'Sexual Harassment': '',
4101
+ // // 'Workplace Harassment': '',
4102
+ // // 'Non-Workplace Harassment': '',
4103
+ // // 'Workplace Discrimination': '',
4104
+ // // 'Non-Workplace Discrimination': '',
4105
+ };
4106
+
4062
4107
  const nextStepsMapLegalLegacy = {
4063
4108
  values: {
4064
4109
  "*": ["TOLPQuestions", "commentsWithBankruptcy", "legalCrossSells", "firstAndLast", "contactInfo"],