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
@@ -1 +1 @@
1
- [{"type":"meta","data":{"tcpaLanguage":"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","commentsPlaceholders":{"Auto and Car Accidents":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\""},"defaultFinalHeadline":"Submit Your Case","finalHeadlines":{},"defaultFinalSubHeadline":"You may benefit from speaking with a legal professional. Please verify your contact information.","finalSubHeadlines":{"Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information."},"dynamicSchema":[{"$el":"section","if":"$stepEnabled(\"incidentDate\")","attrs":{"hidden":"$activeStep !== \"incidentDate\"","key":"incidentDate"},"children":[{"$formkit":"group","id":"incidentDate","name":"incidentDate","children":[{"$el":"h3","children":"When did the incident occur?","attrs":{"class":"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 "}},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","name":"CrossSell:Auto_and_Car_Accidents:Incident_Date","wrapperClass":"t-flex t-justify-center","inputClass":"t-text-center","messagesClass":"t-flex t-justify-center","id":"CrossSell:Auto_and_Car_Accidents:Incident_Date","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"atFault\")","attrs":{"hidden":"$activeStep !== \"atFault\"","key":"atFault"},"children":[{"$formkit":"group","id":"atFault","name":"atFault","children":[{"$el":"h3","children":"Were you at fault?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:At_Fault","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:At_Fault","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"primaryInjury\")","attrs":{"hidden":"$activeStep !== \"primaryInjury\"","key":"primaryInjury"},"children":[{"$formkit":"group","id":"primaryInjury","name":"primaryInjury","children":[{"$el":"h3","children":"What was the primary injury?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 md:t-pl-8 md:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"doctorTreatment\")","attrs":{"hidden":"$activeStep !== \"doctorTreatment\"","key":"doctorTreatment"},"children":[{"$formkit":"group","id":"doctorTreatment","name":"doctorTreatment","children":[{"$el":"h3","children":"Have you seen a doctor about this?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"policeReportFiled\")","attrs":{"hidden":"$activeStep !== \"policeReportFiled\"","key":"policeReportFiled"},"children":[{"$formkit":"group","id":"policeReportFiled","name":"policeReportFiled","children":[{"$el":"h3","children":"Was a police report filed?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"haveAttorney\")","attrs":{"hidden":"$activeStep !== \"haveAttorney\"","key":"haveAttorney"},"children":[{"$formkit":"group","id":"haveAttorney","name":"haveAttorney","children":[{"$el":"h3","children":"Already working with an attorney?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$el":"h3","children":"Please briefly describe the accident:","attrs":{"class":"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 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Comments","label":null,"placeholder":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\"","inputClass":"!t-h-32","id":"CrossSell:Auto_and_Car_Accidents:Comments"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please verify your Zip Code","attrs":{"class":"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 "}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We try to match you with local help","placeholder":"#####","name":"CrossSell:Auto_and_Car_Accidents:Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for help?","attrs":{"class":"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 !t-text-dark"}},{"$el":"h5","children":"Note: we never share info without consent","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-sm !t-text-gray-500"}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","placeholder":"First Name","name":"CrossSell:Auto_and_Car_Accidents:First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last Name","name":"CrossSell:Auto_and_Car_Accidents:Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Connect Now - Final Step","attrs":{"class":"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 f-contact-info-headline"}},{"$el":"h5","children":"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 f-contact-info-subheadline"}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Email"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use ###-###-####","valid_phone":"Invalid Phone Number"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Phone"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","__raw__sectionsSchema":{"label":{"attrs":{"innerHTML":"$label"}}},"name":"CrossSell:Auto_and_Car_Accidents:TCPA_Opt_In","data-tf-sensitive":"false","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"outer":"","wrapper":"","messages":"","label":"t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"width":"25","height":"25","src":"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]}]}]}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Get Instant Car Advice Online\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"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-text-dark f-first-subheadline"},"children":"$urlParam(\"shl\", \"Is the issue due to an auto accident?\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-text-dark"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:TCPA_Language","value":"$meta.tcpaLanguage"},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"autoDamageFromAccident\")","attrs":{"hidden":"$activeStep !== \"autoDamageFromAccident\"","key":"autoDamageFromAccident"},"children":[{"$formkit":"group","id":"autoDamageFromAccident","name":"autoDamageFromAccident","nextStepMap":{"values":{"Auto_Damage_From_Accident":{"Yes":["wouldLikeMVAConsultation","commentsMechanics"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Auto_Damage_From_Accident","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Auto_Damage_From_Accident","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"wouldLikeMVAConsultation\")","attrs":{"hidden":"$activeStep !== \"wouldLikeMVAConsultation\"","key":"wouldLikeMVAConsultation"},"children":[{"$formkit":"group","id":"wouldLikeMVAConsultation","name":"wouldLikeMVAConsultation","nextStepMap":{"values":{"Would_Like_MVA_Consultation":{"Yes":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$el":"h3","children":"Do you want a free legal evaluation?","attrs":{"class":"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 "}},{"$el":"h5","children":"You may be entitled to compensation for your accident.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-blue-900 !t-font-semibold"}},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","id":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","value":"Auto and Car Accidents"},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:vertical","value":"Legal"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Would_Like_MVA_Consultation","help":"Note: we'll still connect you for a mechanic.","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Would_Like_MVA_Consultation","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$cmp":"FormKitSchema","if":"$get(Auto_Damage_From_Accident).value","props":{"schema":"$meta.dynamicSchema","data":"$buildData($meta)"}},{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$el":"h3","children":"Last Step: Describe your vehicle issue","attrs":{"class":"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 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center sm:!t-justify-between","else":"step-nav !t-justify-between"}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$activeStep === $firstStep()","then":"t-hidden sm:t-block","else":""},"style":{"if":"$activeStep === $firstStep()","then":"display: none;"},"classes":{"input":" f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":" f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
1
+ [{"type":"meta","data":{"tcpaLanguage":"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.","defaultCommentsPlaceholder":"$getKey($meta, \"commentsPlaceholders.\" + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)","commentsPlaceholders":{"Auto and Car Accidents":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\""},"defaultFinalHeadline":"Connect With The Legal Help You Deserve","finalHeadlines":{"Auto and Car Accidents":"Connect With Accident Professionals Today"},"defaultFinalSubHeadline":"Get a no-obligation consultation with a legal expert.","finalSubHeadlines":{},"dynamicSchema":[{"$el":"section","if":"$stepEnabled(\"incidentDate\")","attrs":{"hidden":"$activeStep !== \"incidentDate\"","key":"incidentDate"},"children":[{"$formkit":"group","id":"incidentDate","name":"incidentDate","children":[{"$el":"h3","children":"When did the incident occur?","attrs":{"class":"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 "}},{"$formkit":"DatePicker","validation":"required","validationMessages":{"required":"Field is required"},"labelClass":"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500","innerClass":"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500","name":"CrossSell:Auto_and_Car_Accidents:Incident_Date","wrapperClass":"t-flex t-justify-center","inputClass":"t-text-center","messagesClass":"t-flex t-justify-center","id":"CrossSell:Auto_and_Car_Accidents:Incident_Date","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"atFault\")","attrs":{"hidden":"$activeStep !== \"atFault\"","key":"atFault"},"children":[{"$formkit":"group","id":"atFault","name":"atFault","children":[{"$el":"h3","children":"Were you at fault?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:At_Fault","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:At_Fault","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"primaryInjury\")","attrs":{"hidden":"$activeStep !== \"primaryInjury\"","key":"primaryInjury"},"children":[{"$formkit":"group","id":"primaryInjury","name":"primaryInjury","children":[{"$el":"h3","children":"What was the primary injury?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","options":["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"],"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 md:t-pl-8 md:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Injury","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"doctorTreatment\")","attrs":{"hidden":"$activeStep !== \"doctorTreatment\"","key":"doctorTreatment"},"children":[{"$formkit":"group","id":"doctorTreatment","name":"doctorTreatment","children":[{"$el":"h3","children":"Have you seen a doctor about this?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Doctor_Treatment","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"policeReportFiled\")","attrs":{"hidden":"$activeStep !== \"policeReportFiled\"","key":"policeReportFiled"},"children":[{"$formkit":"group","id":"policeReportFiled","name":"policeReportFiled","children":[{"$el":"h3","children":"Was a police report filed?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Police_Report_Filed","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"haveAttorney\")","attrs":{"hidden":"$activeStep !== \"haveAttorney\"","key":"haveAttorney"},"children":[{"$formkit":"group","id":"haveAttorney","name":"haveAttorney","children":[{"$el":"h3","children":"Already working with an attorney?","attrs":{"class":"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 "}},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Have_Attorney","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"comments\")","attrs":{"hidden":"$activeStep !== \"comments\"","key":"comments"},"children":[{"$formkit":"group","id":"comments","name":"comments","children":[{"$el":"h3","children":"Please briefly describe the accident:","attrs":{"class":"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 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Comments","label":null,"placeholder":"Example: \"A truck crashed into my car on the highway\" or \"I've been involved in a hit and run accident\"","inputClass":"!t-h-32","id":"CrossSell:Auto_and_Car_Accidents:Comments"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please verify your Zip Code","attrs":{"class":"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 "}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We try to match you with local help","placeholder":"#####","name":"CrossSell:Auto_and_Car_Accidents:Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"CrossSell:Auto_and_Car_Accidents:Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for help?","attrs":{"class":"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 !t-text-dark"}},{"$el":"h5","children":"We never share info without consent","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-sm !t-text-gray-500"}},{"$formkit":"text","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","label":"First Name:","placeholder":"First Name","name":"CrossSell:Auto_and_Car_Accidents:First_Name","autocomplete":"given-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:First_Name"},{"$formkit":"text","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","label":"Last Name:","placeholder":"Last Name","name":"CrossSell:Auto_and_Car_Accidents:Last_Name","autocomplete":"family-name","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"Connect Now - Final Step","attrs":{"class":"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 f-contact-info-headline"}},{"$el":"h5","children":"After submitting you'll be connected for a mechanic chat and be contacted for an accident legal consultation.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 f-contact-info-subheadline"}},{"$el":"script","if":"$activeStep === $lastStep()","children":"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},{"$formkit":"email","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Email","label":"Email Address:","placeholder":"email@domain.com","autocomplete":"email","data-tf-sensitive":"false","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Email"},{"$formkit":"tel","validation":"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone","validationMessages":{"required":"Phone Number is required","matches":"Invalid Phone Format, use ###-###-####","valid_phone":"Invalid Phone Number"},"labelClass":"required","name":"CrossSell:Auto_and_Car_Accidents:Primary_Phone","label":"Phone Number:","placeholder":"###-###-####","maxlength":12,"help":"10-digit phone number, hyphens optional","autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","wrapperClass":"side-by-side t-items-center","id":"CrossSell:Auto_and_Car_Accidents:Primary_Phone"},{"$formkit":"checkbox","label":"$meta.tcpaLanguage","__raw__sectionsSchema":{"label":{"attrs":{"innerHTML":"$label"}}},"name":"CrossSell:Auto_and_Car_Accidents:TCPA_Opt_In","data-tf-sensitive":"false","validation":"required|accepted","validationMessages":{"required":"Consent is required","accepted":"Consent is required"},"classes":{"outer":"","wrapper":"","messages":"","label":"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"}},{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},"children":[{"$el":"img","attrs":{"loading":"lazy","alt":"","style":{"border":0},"width":"25","height":"25","src":"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{"$el":"span","children":"Secure & Encrypted","attrs":{"class":"t-pl-2 t-pt-1 t-font-medium"}}]}]}]}]}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-30px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[38rem]","formId":"mechanics","popUnderMap":{"properties.Mechanics_CrossSells":{"Auto Insurance":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=Insurance&category=Auto%20Insurance"}},"redirectMap":{"*":"https://listings.answers-now.com/api/v1/redirect?zone_id=4&sub_id=${properties.vid}&vertical=AutoRepair&category=Mechanics&Comments=${properties.Comments}"},"name":"mechanics"},"children":[{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Get Instant Car Advice Online\")","if":"$activeStep === $firstStep()"},{"$el":"h3","attrs":{"class":"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 !t-text-dark f-first-subheadline"},"children":"$urlParam(\"shl\", \"Is the issue due to an auto accident?\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-text-dark"},{"$formkit":"hidden","name":"vertical","value":"AutoRepair"},{"$formkit":"hidden","name":"Category","id":"Category","value":"Mechanics"},{"$formkit":"hidden","name":"gclid","value":null},{"$formkit":"hidden","name":"campaignid","value":null},{"$formkit":"hidden","name":"s","value":null},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:TCPA_Language","value":"$meta.tcpaLanguage"},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"autoDamageFromAccident\")","attrs":{"hidden":"$activeStep !== \"autoDamageFromAccident\"","key":"autoDamageFromAccident"},"children":[{"$formkit":"group","id":"autoDamageFromAccident","name":"autoDamageFromAccident","nextStepMap":{"values":{"Auto_Damage_From_Accident":{"Yes":["wouldLikeMVAConsultation","commentsMechanics"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Auto_Damage_From_Accident","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Auto_Damage_From_Accident","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"wouldLikeMVAConsultation\")","attrs":{"hidden":"$activeStep !== \"wouldLikeMVAConsultation\"","key":"wouldLikeMVAConsultation"},"children":[{"$formkit":"group","id":"wouldLikeMVAConsultation","name":"wouldLikeMVAConsultation","nextStepMap":{"values":{"Would_Like_MVA_Consultation":{"Yes":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled","haveAttorney","comments","zipcode","firstAndLast","contactInfo"],"No":["commentsMechanics"]},"*":["commentsMechanics"]}},"children":[{"$el":"h3","children":"Do you want a free legal evaluation?","attrs":{"class":"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 "}},{"$el":"h5","children":"You may be entitled to compensation for your accident.","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 !t-text-blue-900 !t-font-semibold"}},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","id":"CrossSell:Auto_and_Car_Accidents:Type_Of_Legal_Problem","value":"Auto and Car Accidents"},{"$formkit":"hidden","name":"CrossSell:Auto_and_Car_Accidents:vertical","value":"Legal"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-flex t-justify-center t-my-3","legendClass":"legend-left","name":"Would_Like_MVA_Consultation","help":"Note: we'll still connect you for a mechanic.","options":["Yes","No"],"fieldsetClass":"$reset t-flex t-justify-center t-flex-col-reverse t-items-center","optionClass":"radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5","wrapperClass":"$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]","labelClass":"t-font-semibold t-text-[#1e448f] t-w-[100%]","decoratorIcon":false,"messagesClass":"t-flex t-justify-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Would_Like_MVA_Consultation","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))","onInput":"$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$cmp":"FormKitSchema","if":"$get(Auto_Damage_From_Accident).value","props":{"schema":"$meta.dynamicSchema","data":"$buildData($meta)"}},{"$el":"section","if":"$stepEnabled(\"commentsMechanics\")","attrs":{"hidden":"$activeStep !== \"commentsMechanics\"","key":"commentsMechanics"},"children":[{"$formkit":"group","id":"commentsMechanics","name":"commentsMechanics","children":[{"$el":"h3","children":"Last Step: Describe your vehicle issue","attrs":{"class":"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 !t-text-dark"}},{"$formkit":"textarea","rows":5,"maxlength":500,"validation":"required","validationMessages":{"required":"Field is required"},"innerClass":"t-max-w-xl","labelClass":"required","name":"Comments","label":null,"placeholder":"Example: \"I'm having transmission trouble\", or \"My car won't start\"","inputClass":"!t-h-20","id":"Comments"},{"$formkit":"radio","validation":null,"validationMessages":{"required":"Field is required"},"optionsClass":"t-pt-3","legendClass":"","id":"Mechanics_CrossSells","name":"Mechanics_CrossSells","fieldsetClass":"$reset","wrapperClass":"t-mb-2","options":{"Auto Insurance":"I'd like to save on my auto insurance (optional)"}}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center sm:!t-justify-between","else":"step-nav !t-justify-between"}},"children":[{"$formkit":"button","name":"back_button","onClick":"$setPreviousStep($prevStepFunc($get(form)))","children":"Back","outerClass":{"if":"$activeStep === $firstStep()","then":"t-hidden sm:t-block","else":""},"style":{"if":"$activeStep === $firstStep()","then":"display: none;"},"classes":{"input":" f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":" f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Chat Now","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]},{"$el":"pre","if":"$urlParam(\"fdbg\", \"\") == 1","children":[{"$el":"pre","children":"$stringify( $get(form).value )","attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["activeStep: ","$activeStep"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepHistory: ","$stepHistory"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["stepQueue: ","$stepQueue"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}},{"$el":"pre","children":["steps: ","$stepKeys()"],"attrs":{"class":"t-text-xs","style":"overflow: scroll"}}]}]}]}]
@@ -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",
@@ -1041,7 +1035,7 @@ const TCPAConsent = (scope, updates = {}) => ({
1041
1035
  wrapper: updates.wrapperClass ? updates.wrapperClass : "",
1042
1036
  messages: updates.messagesClass ? updates.messagesClass : "",
1043
1037
  label:
1044
- "t-text-xs t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1038
+ "!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]" +
1045
1039
  (updates.labelClass ? " " + updates.labelClass : ""),
1046
1040
  },
1047
1041
  });
@@ -1314,7 +1308,7 @@ function verticalStepHeadline(updates) {
1314
1308
  children: updates.headline || "Tell Us About Your Situation",
1315
1309
  attrs: {
1316
1310
  class:
1317
- "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" +
1311
+ "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" +
1318
1312
  " " +
1319
1313
  (updates.headlineClass || ""),
1320
1314
  },
@@ -1340,7 +1334,7 @@ function commentsStepHeadline(updates) {
1340
1334
  children: updates.headline || "Additional Details",
1341
1335
  attrs: {
1342
1336
  class:
1343
- "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" +
1337
+ "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" +
1344
1338
  " " +
1345
1339
  (updates.headlineClass || ""),
1346
1340
  },
@@ -1360,7 +1354,7 @@ function firstAndLastStepHeadline(updates) {
1360
1354
  children: updates.headline || "Please Provide a Contact Name",
1361
1355
  attrs: {
1362
1356
  class:
1363
- "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" +
1357
+ "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" +
1364
1358
  " " +
1365
1359
  (updates.headlineClass || ""),
1366
1360
  },
@@ -1373,7 +1367,7 @@ function legalCrossSellsStepHeadline(updates) {
1373
1367
  children: updates.headline || "Do any of the following situations apply?",
1374
1368
  attrs: {
1375
1369
  class:
1376
- "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" +
1370
+ "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" +
1377
1371
  " " +
1378
1372
  (updates.headlineClass || ""),
1379
1373
  },
@@ -1386,7 +1380,7 @@ function contactStepHeadline(updates) {
1386
1380
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC_LEGAL,
1387
1381
  attrs: {
1388
1382
  class:
1389
- "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" +
1383
+ "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" +
1390
1384
  " " +
1391
1385
  (updates.headlineClass || "") +
1392
1386
  " f-contact-info-headline",
@@ -1495,6 +1489,34 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
1495
1489
  )
1496
1490
  }
1497
1491
 
1492
+ function commentsWithBankruptcy(updates = {}) {
1493
+ return step(
1494
+ "commentsWithBankruptcy",
1495
+ [
1496
+ commentsStepHeadlineLegal(updates),
1497
+ comments(updates.scope, false, {
1498
+ label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1499
+ placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1500
+ inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1501
+ }),
1502
+ // TODO: needs scope support
1503
+ bankruptcyCrossSell(),
1504
+ {
1505
+ $el: "div",
1506
+ if: "$get(CrossSell_Bankruptcy).value == true",
1507
+ children: [
1508
+ comments("CrossSell:Bankruptcy", false, {
1509
+ label: "Bankruptcy or debt details:",
1510
+ placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1511
+ inputClass: "!t-h-16",
1512
+ }),
1513
+ ],
1514
+ },
1515
+ ],
1516
+ { nextOnEnter: false }
1517
+ )
1518
+ }
1519
+
1498
1520
  function contactInfo(updates = {}) {
1499
1521
  return step(
1500
1522
  "contactInfo",
@@ -1520,7 +1542,7 @@ function firstAndLastV3(updates = {}) {
1520
1542
  headlineClass: updates.headlineClass,
1521
1543
  }),
1522
1544
  verticalStepSubHeadline({
1523
- subheadline: updates.subheadline ?? "Note: we never share info without consent",
1545
+ subheadline: updates.subheadline ?? "We never share info without consent",
1524
1546
  subheadlineClass: "!t-text-sm !t-text-gray-500",
1525
1547
  }),
1526
1548
  firstName(updates.scope),
@@ -1534,34 +1556,6 @@ function zipcode(updates = {}) {
1534
1556
  return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
1535
1557
  }
1536
1558
 
1537
- function commentsWithBankruptcy(updates = {}) {
1538
- return step(
1539
- "commentsWithBankruptcy",
1540
- [
1541
- commentsStepHeadlineLegal(updates),
1542
- comments(updates.scope, false, {
1543
- label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
1544
- placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
1545
- inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
1546
- }),
1547
- // TODO: needs scope support
1548
- bankruptcyCrossSell(),
1549
- {
1550
- $el: "div",
1551
- if: "$get(CrossSell_Bankruptcy).value == true",
1552
- children: [
1553
- comments("CrossSell:Bankruptcy", false, {
1554
- label: "Bankruptcy or debt details:",
1555
- placeholder: "Please describe your bankrtupcy or debt situation in a few words...",
1556
- inputClass: "!t-h-16",
1557
- }),
1558
- ],
1559
- },
1560
- ],
1561
- { nextOnEnter: false }
1562
- )
1563
- }
1564
-
1565
1559
  function autoAndCarAccidentCrossSellQuestions(updates = {}) {
1566
1560
  return step(
1567
1561
  "autoAndCarAccidentCrossSellQuestions",
@@ -2098,7 +2092,7 @@ function subHeadlineDefaults(updates = {}) {
2098
2092
  $el: "h3",
2099
2093
  attrs: {
2100
2094
  class:
2101
- "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" +
2095
+ "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" +
2102
2096
  " " +
2103
2097
  (updates.subheadlineClass || "") +
2104
2098
  " f-first-subheadline",
@@ -2461,78 +2455,129 @@ const TOLPCommentsPlaceholders = {
2461
2455
  };
2462
2456
 
2463
2457
  const TOLPFinalHeadlines = {
2464
- // 'Adoption': '',
2465
- };
2466
-
2467
- const TOLPFinalSubHeadlines = {
2468
- Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2469
- // 'Asbestos and Mesothelioma': '',
2470
- "Auto and Car Accidents":
2471
- "You may benefit from speaking with an accident professional. Please verify your contact information.",
2472
- Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2473
- // 'Birth Certificate and Name Change': '',
2474
- // 'Business Lawyers': '',
2458
+ Adoption: "Connect With Adoption Professionals Today",
2459
+ "Auto and Car Accidents": "Connect With Accident Professionals Today",
2460
+ Bankruptcy: "Take Control of Your Financial Future",
2461
+ "Birth Certificate and Name Change": "Start Your Change Today",
2462
+ "Business Lawyers": "Connect With Business Professionals Today",
2463
+ "Child Custody": "Connect With Custody Professionals Today",
2464
+ "Child Support": "Connect With Child Support Professionals",
2475
2465
  // 'Child Custody and Support': '',
2476
- // 'Civil Rights and Discrimination': '',
2477
- // 'Civil Lawsuit': '',
2478
- // 'Consumer Lawyers': '',
2479
- "Copyrights and Trademarks":
2480
- "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2481
- // 'Criminal and Felony': '',
2482
- // 'Debt and Collections': '',
2483
- "Divorce and Separation":
2484
- "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2485
- "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2486
- "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2487
- // 'Employment and Workplace': '',
2488
- // 'Expungement': '',
2489
- // 'Family Issues': '',
2490
- Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2491
- Guardianship:
2492
- "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2493
- // 'Harassment and Discrimination': '',
2494
- // 'Identity Theft': '',
2495
- "Immigration and Visas":
2496
- "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2497
- // 'Insurance': '',
2498
- "Landlord and Tenant":
2499
- "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2500
- // 'Lemon Law': '',
2501
- "Long Term Disability":
2502
- "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2503
- "Medical Malpractice":
2504
- "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2505
- "Patents and Intellectual Property":
2506
- "You may benefit from speaking with a patent professional. Please verify your contact information.",
2507
- "Personal Injury":
2508
- "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2509
- // 'Power of Attorney': '',
2510
- "Probate and Estates":
2511
- "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2512
- // 'Product Liability': '',
2513
- // 'Property Damage': '',
2514
- "Real Estate":
2515
- "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2516
- "Social Security Disability and Insurance":
2517
- "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2518
- "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2519
- // 'Traffic and Tickets': '',
2520
- Unemployment:
2521
- "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2522
- // 'Victim of a Crime': '',
2523
- // 'Wills and Trusts': '',
2524
- "Workers Compensation":
2525
- "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2526
- // 'Wrongful Death': '',
2527
- // 'Wrongful Termination': '',
2466
+ "Civil Rights and Discrimination": "Stand Up For Your Rights",
2467
+ "Civil Lawsuit": "Connect With Lawsuit Professionals Today",
2468
+ // "Consumer Lawyers": "",
2469
+ "Copyrights and Trademarks": "Protect Your Intellectual Property",
2470
+ // "Criminal and Felony": "Connect With Legal Help",
2471
+ "Debt and Collections": "Connect With Debt Professionals Today",
2472
+ "Divorce and Separation": "Connect With Divorce Professionals Today",
2473
+ "DUI and DWI": "Defend Against DUI Charges",
2474
+ "Elder Law": "Connect With Elder Law Professionals",
2475
+ // "Employment and Workplace": "Connect With Legal Help",
2476
+ Expungement: "Clear Your Record",
2477
+ "Family Issues": "Connect With Family Legal Help",
2478
+ Foreclosure: "Fight to Keep Your Home",
2479
+ Guardianship: "Connect With Guardianship Professionals",
2480
+ // "Harassment and Discrimination": "Connect With Legal Help",
2481
+ // "Identity Theft": "Connect With Legal Help",
2482
+ "Immigration and Visas": "Get Immigration Legal Help",
2483
+ Insurance: "Get Insurance Legal Help",
2484
+ // "Landlord and Tenant": "Connect With Legal Help",
2485
+ "Lemon Law": "Connect With Lemon Law Professionals",
2486
+ "Long Term Disability": "Connect With Disability Professionals",
2487
+ "Medical Malpractice": "Hold Negligent Providers Accountable",
2488
+ "Patents and Intellectual Property": "Connect With IP Professionals Today",
2489
+ "Personal Injury": "Maximize Your Injury Compensation",
2490
+ // "Power of Attorney": "Connect With Legal Help",
2491
+ "Probate and Estates": "Manage Probate with Expert Guidance",
2492
+ "Product Liability": "Get Justice for Faulty Products",
2493
+ // 'Property Damage': 'Connect With Legal Help',
2494
+ "Real Estate": "Connect With Real Estate Professionals",
2495
+ "Sexual Harassment": "Stand Up Against Sexual Harassment",
2496
+ "Social Security Disability and Insurance": "Get the Benefits You Deserve",
2497
+ "Tax and IRS": "Connect With Tax Legal Help",
2498
+ "Traffic and Tickets": "Protect Your Record Today",
2499
+ Unemployment: "Connect With Unemployment Professionals",
2500
+ "Victim of a Crime": "Seek Justice as a Crime Victim",
2501
+ "Wills and Trusts": "Plan Your Estate with Confidence",
2502
+ "Workers Compensation": "Maximize Your Workers' Comp Benefits",
2503
+ "Wrongful Death": "Seek Justice for a Loved One",
2504
+ "Wrongful Termination": "Fight Back Against Unfair Firing Today",
2528
2505
  // 'Not Sure or Other': ''
2529
- // 'Sexual Harassment': '',
2530
2506
  // 'Workplace Harassment': '',
2531
2507
  // 'Non-Workplace Harassment': '',
2532
2508
  // 'Workplace Discrimination': '',
2533
2509
  // 'Non-Workplace Discrimination': '',
2534
2510
  };
2535
2511
 
2512
+ const TOLPFinalSubHeadlines = {
2513
+ // Adoption: "You may benefit from speaking with an adoption professional. Please verify your contact information.",
2514
+ // // 'Asbestos and Mesothelioma': '',
2515
+ // "Auto and Car Accidents":
2516
+ // "You may benefit from speaking with an accident professional. Please verify your contact information.",
2517
+ // Bankruptcy: "You may benefit from speaking with a bankruptcy professional. Please verify your contact information.",
2518
+ // // 'Birth Certificate and Name Change': '',
2519
+ // // 'Business Lawyers': '',
2520
+ // // 'Child Custody and Support': '',
2521
+ // // 'Civil Rights and Discrimination': '',
2522
+ // // 'Civil Lawsuit': '',
2523
+ // // 'Consumer Lawyers': '',
2524
+ // "Copyrights and Trademarks":
2525
+ // "You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.",
2526
+ // // 'Criminal and Felony': '',
2527
+ // // 'Debt and Collections': '',
2528
+ // "Divorce and Separation":
2529
+ // "You may benefit from speaking with a divorce professional. Please verify your contact information.",
2530
+ // "DUI and DWI": "You may benefit from speaking with a DUI professional. Please verify your contact information.",
2531
+ // "Elder Law": "You may benefit from speaking with an elder law professional. Please verify your contact information.",
2532
+ // // 'Employment and Workplace': '',
2533
+ // // 'Expungement': '',
2534
+ // // 'Family Issues': '',
2535
+ // Foreclosure: "You may benefit from speaking with a foreclosure professional. Please verify your contact information.",
2536
+ // Guardianship:
2537
+ // "You may benefit from speaking with a guardianship professional. Please verify your contact information.",
2538
+ // // 'Harassment and Discrimination': '',
2539
+ // // 'Identity Theft': '',
2540
+ // "Immigration and Visas":
2541
+ // "You may benefit from speaking with a immigration professional. Please verify your contact information.",
2542
+ // // 'Insurance': '',
2543
+ // "Landlord and Tenant":
2544
+ // "You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.",
2545
+ // // 'Lemon Law': '',
2546
+ // "Long Term Disability":
2547
+ // "You may benefit from speaking with a disability legal professional. Please verify your contact information.",
2548
+ // "Medical Malpractice":
2549
+ // "You may benefit from speaking with a malpractice professional. Please verify your contact information.",
2550
+ // "Patents and Intellectual Property":
2551
+ // "You may benefit from speaking with a patent professional. Please verify your contact information.",
2552
+ // "Personal Injury":
2553
+ // "You may benefit from speaking with a personal injury professional. Please verify your contact information.",
2554
+ // // 'Power of Attorney': '',
2555
+ // "Probate and Estates":
2556
+ // "You may benefit from speaking with a probate and estate professional. Please verify your contact information.",
2557
+ // // 'Product Liability': '',
2558
+ // // 'Property Damage': '',
2559
+ // "Real Estate":
2560
+ // "You may benefit from speaking with a real estate professional. Please verify your contact information.",
2561
+ // "Social Security Disability and Insurance":
2562
+ // "You may benefit from speaking with an SSDI professional. Please verify your contact information.",
2563
+ // "Tax and IRS": "You may benefit from speaking with a tax professional. Please verify your contact information.",
2564
+ // // 'Traffic and Tickets': '',
2565
+ // Unemployment:
2566
+ // "You may benefit from speaking with an unemployment professional. Please verify your contact information.",
2567
+ // // 'Victim of a Crime': '',
2568
+ // // 'Wills and Trusts': '',
2569
+ // "Workers Compensation":
2570
+ // "You may benefit from speaking with a workers compensation professional. Please verify your contact information.",
2571
+ // // 'Wrongful Death': '',
2572
+ // // 'Wrongful Termination': '',
2573
+ // // 'Not Sure or Other': ''
2574
+ // // 'Sexual Harassment': '',
2575
+ // // 'Workplace Harassment': '',
2576
+ // // 'Non-Workplace Harassment': '',
2577
+ // // 'Workplace Discrimination': '',
2578
+ // // 'Non-Workplace Discrimination': '',
2579
+ };
2580
+
2536
2581
  const nextStepsLegalDefault = [
2537
2582
  "haveAttorney",
2538
2583
  "degreeOfInterest",