bhl-forms 0.2.9 → 0.3.2

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 (74) hide show
  1. package/dist/bhl-forms.es.js +1020 -593
  2. package/dist/bhl-forms.iife.js +7 -7
  3. package/dist/bhl-forms.modern.es.js +3160 -2662
  4. package/dist/bhl-forms.modern.iife.js +10 -10
  5. package/dist/bhl-forms.modern.umd.js +10 -10
  6. package/dist/bhl-forms.umd.js +7 -7
  7. package/dist/forms/accidentsAndInjuries.es.js +49 -113
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/appraisals.es.js +3 -7
  11. package/dist/forms/appraisals.iife.js +1 -1
  12. package/dist/forms/appraisals.json +1 -1
  13. package/dist/forms/childAndFamily.es.js +49 -113
  14. package/dist/forms/childAndFamily.iife.js +1 -1
  15. package/dist/forms/childAndFamily.json +1 -1
  16. package/dist/forms/civilLawsuit.es.js +51 -114
  17. package/dist/forms/civilLawsuit.iife.js +1 -1
  18. package/dist/forms/civilLawsuit.json +1 -1
  19. package/dist/forms/coins.es.js +3 -7
  20. package/dist/forms/coins.iife.js +1 -1
  21. package/dist/forms/coins.json +1 -1
  22. package/dist/forms/contracts.es.js +14 -78
  23. package/dist/forms/contracts.iife.js +1 -1
  24. package/dist/forms/contracts.json +1 -1
  25. package/dist/forms/criminal.es.js +180 -380
  26. package/dist/forms/criminal.iife.js +1 -1
  27. package/dist/forms/criminal.json +1 -1
  28. package/dist/forms/employmentAndWorkplace.es.js +43 -107
  29. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  30. package/dist/forms/employmentAndWorkplace.json +1 -1
  31. package/dist/forms/generalLegal.es.js +191 -477
  32. package/dist/forms/generalLegal.iife.js +1 -1
  33. package/dist/forms/generalLegal.json +1 -1
  34. package/dist/forms/generalLegalPopUnder.es.js +188 -390
  35. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  36. package/dist/forms/generalLegalPopUnder.json +1 -1
  37. package/dist/forms/generalLegalPopUnderTF.es.js +180 -383
  38. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  39. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  40. package/dist/forms/generalLegalThankYou.es.js +180 -383
  41. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  42. package/dist/forms/generalLegalThankYou.json +1 -1
  43. package/dist/forms/harassmentAndDiscrimination.es.js +14 -78
  44. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  45. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  46. package/dist/forms/malpractice.es.js +21 -85
  47. package/dist/forms/malpractice.iife.js +1 -1
  48. package/dist/forms/malpractice.json +1 -1
  49. package/dist/forms/mechanics.es.js +3 -7
  50. package/dist/forms/mechanics.iife.js +1 -1
  51. package/dist/forms/mechanics.json +1 -1
  52. package/dist/forms/realEstate.es.js +180 -380
  53. package/dist/forms/realEstate.iife.js +1 -1
  54. package/dist/forms/realEstate.json +1 -1
  55. package/dist/forms/repossession.es.js +16 -80
  56. package/dist/forms/repossession.iife.js +1 -1
  57. package/dist/forms/repossession.json +1 -1
  58. package/dist/forms/ssdi.es.js +24 -145
  59. package/dist/forms/ssdi.iife.js +1 -1
  60. package/dist/forms/ssdi.json +1 -1
  61. package/dist/forms/testForm.es.js +4 -68
  62. package/dist/forms/testForm.iife.js +1 -1
  63. package/dist/forms/testForm.json +1 -1
  64. package/dist/forms/testRedirects.es.js +3 -11
  65. package/dist/forms/testRedirects.iife.js +1 -1
  66. package/dist/forms/testRedirects.json +1 -1
  67. package/dist/forms/vets.es.js +3 -7
  68. package/dist/forms/vets.iife.js +1 -1
  69. package/dist/forms/vets.json +1 -1
  70. package/dist/forms/willsAndTrusts.es.js +42 -106
  71. package/dist/forms/willsAndTrusts.iife.js +1 -1
  72. package/dist/forms/willsAndTrusts.json +1 -1
  73. package/dist/main.css +1 -1
  74. package/package.json +4 -4
@@ -434,7 +434,6 @@ const TOLPCommentsPlaceholders = {
434
434
  'Lemon Law': 'Example: "I purchased a new vehicle that broke down already and seller will not assist"',
435
435
  'Long Term Disability': 'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',
436
436
  'Medical Malpractice': 'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',
437
- 'Nursing Home Abuse': 'Example: "My mother\'s nursing home is physically abusing her"',
438
437
  'Patents and Intellectual Property': 'Example: "I would like to file for a patent" or "I need to copyright a name"',
439
438
  'Personal Injury': 'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',
440
439
  'Power of Attorney': 'Example: "I need help with a limited or general power of attorney"',
@@ -446,8 +445,6 @@ const TOLPCommentsPlaceholders = {
446
445
  'Tax and IRS': 'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',
447
446
  'Traffic and Tickets': 'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',
448
447
  'Unemployment': 'Example: "I need help filing for unemployment benefits"',
449
- 'Vaccination Injury': 'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',
450
- 'Veteran\'s Disability': 'Example: "I would like help filing for disability benefits"',
451
448
  'Victim of a Crime': 'Example: "I was assaulted in the store" or "I am being discriminated against at work"',
452
449
  'Wills and Trusts': 'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',
453
450
  'Workers Compensation': 'Example: "I was injured at work and would like to file for workers compensation benefits"',
@@ -458,59 +455,6 @@ const TOLPCommentsPlaceholders = {
458
455
 
459
456
  const TOLPFinalHeadlines = {
460
457
  // 'Adoption': '',
461
- // 'Asbestos and Mesothelioma': '',
462
- // 'Auto and Car Accidents': '',
463
- // 'Bankruptcy': '',
464
- // 'Birth Certificate and Name Change': '',
465
- // 'Business Lawyers': '',
466
- // 'Child Custody and Support': '',
467
- // 'Civil Rights and Discrimination': '',
468
- // 'Civil Lawsuit': '',
469
- // 'Consumer Lawyers': '',
470
- // 'Copyrights and Trademarks': '',
471
- // 'Criminal and Felony': '',
472
- // 'Debt and Collections': '',
473
- // 'Divorce and Separation': '',
474
- // 'DUI and DWI': '',
475
- // 'Elder Law': '',
476
- // 'Employment and Workplace': '',
477
- // 'Expungement': '',
478
- // 'Family Issues': '',
479
- // 'Foreclosure': '',
480
- // 'Guardianship': '',
481
- // 'Harassment and Discrimination': '',
482
- // 'Identity Theft': '',
483
- // 'Immigration and Visas': '',
484
- // 'Insurance': '',
485
- // 'Landlord and Tenant': '',
486
- // 'Lemon Law': '',
487
- // 'Long Term Disability': '',
488
- // 'Medical Malpractice': '',
489
- // 'Nursing Home Abuse': '',
490
- // 'Patents and Intellectual Property': '',
491
- // 'Personal Injury': '',
492
- // 'Power of Attorney': '',
493
- // 'Probate and Estates': '',
494
- // 'Product Liability': '',
495
- // 'Property Damage': '',
496
- // 'Real Estate': '',
497
- // 'Social Security Disability and Insurance': '',
498
- // 'Tax and IRS': '',
499
- // 'Traffic and Tickets': '',
500
- // 'Unemployment': '',
501
- // 'Vaccination Injury': '',
502
- // 'Veteran\'s Disability': '',
503
- // 'Victim of a Crime': '',
504
- // 'Wills and Trusts': '',
505
- // 'Workers Compensation': '',
506
- // 'Wrongful Death': '',
507
- // 'Wrongful Termination': '',
508
- // 'Not Sure or Other': ''
509
- // 'Sexual Harassment': '',
510
- // 'Workplace Harassment': '',
511
- // 'Non-Workplace Harassment': '',
512
- // 'Workplace Discrimination': '',
513
- // 'Non-Workplace Discrimination': '',
514
458
  };
515
459
 
516
460
  const TOLPFinalSubHeadlines = {
@@ -543,7 +487,6 @@ const TOLPFinalSubHeadlines = {
543
487
  // 'Lemon Law': '',
544
488
  'Long Term Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
545
489
  'Medical Malpractice': 'You may benefit from speaking with a malpractice professional. Please verify your contact information.',
546
- // 'Nursing Home Abuse': '',
547
490
  'Patents and Intellectual Property': 'You may benefit from speaking with a patent professional. Please verify your contact information.',
548
491
  'Personal Injury': 'You may benefit from speaking with a personal injury professional. Please verify your contact information.',
549
492
  // 'Power of Attorney': '',
@@ -555,8 +498,6 @@ const TOLPFinalSubHeadlines = {
555
498
  'Tax and IRS': 'You may benefit from speaking with a tax professional. Please verify your contact information.',
556
499
  // 'Traffic and Tickets': '',
557
500
  'Unemployment': 'You may benefit from speaking with an unemployment professional. Please verify your contact information.',
558
- // 'Vaccination Injury': '',
559
- 'Veteran\'s Disability': 'You may benefit from speaking with a disability legal professional. Please verify your contact information.',
560
501
  // 'Victim of a Crime': '',
561
502
  // 'Wills and Trusts': '',
562
503
  'Workers Compensation': 'You may benefit from speaking with a workers compensation professional. Please verify your contact information.',
@@ -656,7 +597,6 @@ const sbsSelect = (updates) => {
656
597
  return select(updates)
657
598
  };
658
599
 
659
-
660
600
  const text = (updates) => {
661
601
  return merge({
662
602
  $formkit: 'text',
@@ -722,8 +662,8 @@ const accidentsAndInjuriesTOLPDisplay = (updates) => col2Radio(merge({
722
662
  ]
723
663
  }, updates));
724
664
 
725
- const atFault = () => sbsYesNoRadio({
726
- name: 'At_Fault',
665
+ const atFault = (scope) => sbsYesNoRadio({
666
+ name: scope ? scope + ':' + 'At_Fault' : 'At_Fault',
727
667
  label: 'Were You at Fault?'
728
668
  });
729
669
 
@@ -736,9 +676,9 @@ const bankruptcyCrossSell = () => sbsCheckbox({
736
676
  helpClass: "!t-text-sm"
737
677
  });
738
678
 
739
- const causeOfInjury = () => sbsSelect({
679
+ const causeOfInjury = (scope) => sbsSelect({
680
+ name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
740
681
  label: 'Cause of Injury:',
741
- name: 'Cause_Of_Injury',
742
682
  options: [
743
683
  "Traumatic Physical Injury (Accident)",
744
684
  "Repeated Trauma Injury",
@@ -748,9 +688,9 @@ const causeOfInjury = () => sbsSelect({
748
688
  ]
749
689
  });
750
690
 
751
- const claimStatus = () => sbsSelect({
691
+ const claimStatus = (scope) => sbsSelect({
692
+ name: scope ? scope + ':' + 'Claim_Status' : 'Claim_Status',
752
693
  label: "Status of Claim:",
753
- name: 'Claim_Status',
754
694
  options: [
755
695
  "No action taken yet",
756
696
  "Demand for compensation made",
@@ -767,9 +707,9 @@ const comments = (updates) => textArea(
767
707
  }, updates)
768
708
  );
769
709
 
770
- const doctorTreatment = () => sbsYesNoRadio({
771
- name: 'Doctor_Treatment',
772
- label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
710
+ const doctorTreatment = (scope) => sbsYesNoRadio({
711
+ name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
712
+ label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
773
713
  });
774
714
 
775
715
  const email = () => sbsText({
@@ -796,14 +736,14 @@ const firstName = () => sbsText({
796
736
  }
797
737
  });
798
738
 
799
- const haveAttorney = () => sbsYesNoRadio({
800
- name: 'Have_Attorney',
739
+ const haveAttorney = (scope) => sbsYesNoRadio({
740
+ name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
801
741
  label: 'Already Working with An Attorney?'
802
742
  });
803
743
 
804
- const incidentDate = () => sbsDate({
744
+ const incidentDate = (scope) => sbsDate({
745
+ name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
805
746
  label: 'Date of Incident:',
806
- name: 'Incident_Date'
807
747
  });
808
748
 
809
749
  const lastName = () => sbsText({
@@ -834,9 +774,9 @@ const phone = () => sbsText({
834
774
  helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
835
775
  });
836
776
 
837
- const primaryInjury = () => sbs2ColRadio({
777
+ const primaryInjury = (scope) => sbs2ColRadio({
778
+ name: scope ? scope + ':' + 'Primary_Injury' : 'Primary_Injury',
838
779
  label: 'Primary Injury:',
839
- name: 'Primary_Injury',
840
780
  options: [
841
781
  "Anxiety",
842
782
  "Back or Neck Pain",
@@ -849,8 +789,8 @@ const primaryInjury = () => sbs2ColRadio({
849
789
  ]
850
790
  });
851
791
 
852
- const policeReportFiled = () => sbsYesNoRadio({
853
- name: 'Police_Report_Filed',
792
+ const policeReportFiled = (scope) => sbsYesNoRadio({
793
+ name: scope ? scope + ':' + 'Police_Report_Filed' : 'Police_Report_Filed',
854
794
  label: 'Was a Police Report Filed?'
855
795
  });
856
796
 
@@ -899,47 +839,47 @@ const group = (name, updates) => {
899
839
  }, updates)
900
840
  };
901
841
 
902
- const AutoAndCarAccidentsQuestions = () => group(
842
+ const AutoAndCarAccidentsQuestions = (condition, scope) => group(
903
843
  'AutoAndCarAccidentsQuestions',
904
844
  {
905
- if: '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',
845
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"'),
906
846
  children: [
907
- haveAttorney(),
908
- incidentDate(),
909
- atFault(),
910
- primaryInjury(),
911
- doctorTreatment(),
912
- policeReportFiled()
847
+ haveAttorney(scope),
848
+ incidentDate(scope),
849
+ atFault(scope),
850
+ primaryInjury(scope),
851
+ doctorTreatment(scope),
852
+ policeReportFiled(scope)
913
853
  ]
914
854
  }
915
855
  );
916
856
 
917
- const PersonalInjuryQuestions = () => group(
857
+ const PersonalInjuryQuestions = (condition, scope) => group(
918
858
  'PersonalInjuryQuestions',
919
859
  {
920
- if: '$get(Type_Of_Legal_Problem).value == "Personal Injury"',
860
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Personal Injury"'),
921
861
  children: [
922
- haveAttorney(),
923
- incidentDate(),
924
- claimStatus(),
925
- atFault(),
926
- primaryInjury(),
927
- doctorTreatment()
862
+ haveAttorney(scope),
863
+ incidentDate(scope),
864
+ claimStatus(scope),
865
+ atFault(scope),
866
+ primaryInjury(scope),
867
+ doctorTreatment(scope)
928
868
  ]
929
869
  }
930
870
  );
931
871
 
932
- const WorkersCompensationQuestions = () => group(
872
+ const WorkersCompensationQuestions = (condition, scope) => group(
933
873
  'WorkersCompensationQuestions',
934
874
  {
935
- if: '$get(Type_Of_Legal_Problem).value == "Workers Compensation"',
875
+ if: (condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"'),
936
876
  children: [
937
- haveAttorney(),
938
- incidentDate(),
939
- claimStatus(),
940
- primaryInjury(),
941
- causeOfInjury(),
942
- doctorTreatment()
877
+ haveAttorney(scope),
878
+ incidentDate(scope),
879
+ claimStatus(scope),
880
+ primaryInjury(scope),
881
+ causeOfInjury(scope),
882
+ doctorTreatment(scope)
943
883
  ]
944
884
  }
945
885
  );
@@ -971,21 +911,17 @@ const findLastInput = (n) => {
971
911
 
972
912
  const stepDefaults = (step) => ({
973
913
  $el: 'section',
974
- if: '$stepIsEnabled("' + step + '")',
975
914
  attrs: {
976
- style: {
977
- if: '$activeStep !== "' + step + '"',
978
- then: 'display: none;'
979
- }
915
+ hidden: '$activeStep !== "' + step + '"'
980
916
  }
981
917
  });
982
918
 
983
919
  function questionsStepHeadline(updates) {
984
920
  return {
985
921
  $el: 'h3',
986
- children: updates.headline || 'Tell Us About Your Case',
922
+ children: updates.headline || 'Tell Us About Your Situation',
987
923
  attrs: {
988
- 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-3'
924
+ 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'
989
925
  }
990
926
  }
991
927
  }
@@ -996,7 +932,7 @@ function commentsStepHeadline(updates) {
996
932
  $el: 'h3',
997
933
  children: updates.headline || 'Additional Case Details',
998
934
  attrs: {
999
- 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-3' + ' ' + (updates.headlineClass || '')
935
+ 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' + ' ' + (updates.headlineClass || '')
1000
936
  }
1001
937
  }
1002
938
  }
@@ -1006,7 +942,7 @@ function firstAndLastStepHeadline(updates) {
1006
942
  $el: 'h3',
1007
943
  children: updates.headline || 'Please Provide a Contact Name',
1008
944
  attrs: {
1009
- 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-3' + ' ' + (updates.headlineClass || '')
945
+ 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' + ' ' + (updates.headlineClass || '')
1010
946
  }
1011
947
  }
1012
948
  }
@@ -1016,7 +952,7 @@ function contactStepHeadline(updates) {
1016
952
  $el: 'h3',
1017
953
  children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
1018
954
  attrs: {
1019
- 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-3'
955
+ 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'
1020
956
  }
1021
957
  }
1022
958
  }
@@ -1063,10 +999,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
1063
999
  }
1064
1000
  if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
1065
1001
  const lastInput = findLastInput(inputs[inputs.length - 1]);
1066
- if (nextOnEnter === true) {
1002
+ if (lastInput && nextOnEnter === true) {
1067
1003
  lastInput.onKeypress = NEXT_ON_ENTER;
1068
1004
  }
1069
- if (nextOnInput === true) {
1005
+ if (lastInput && nextOnInput === true) {
1070
1006
  lastInput.onInput = NEXT_ON_INPUT;
1071
1007
  }
1072
1008
  }
@@ -1 +1 @@
1
- var accidentsAndInjuries=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',i={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const n={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."};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l={$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"}}]};function s(t){return e(l,t)}const d=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],m={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const c=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),p=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",p(e)))(e)),f=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),y=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),g=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$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"},t))(t)),h=t=>(e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",p(e)))(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',label:"Select The Issue:",options:["Auto Accident","Workplace Injury","Dog Bite","Slip and Fall","Trucking Accident","Motorcycle Accident","Other Accidents or Injuries"]},t)),b=()=>u({name:"At_Fault",label:"Were You at Fault?"}),_=()=>f({label:"Status of Claim:",name:"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),x=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),v=()=>u({name:"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),w=()=>u({name:"Have_Attorney",label:"Already Working with An Attorney?"}),P=()=>g({label:"Date of Incident:",name:"Incident_Date"}),k=()=>{return(e={label:"Primary Injury:",name:"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",p(e);var e},I=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),$="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",C="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",L=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,T=e=>{if(L(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(L(a))return a;const r=T(a);if(r)return r}return null},E=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function O(e){return{$el:"h3",children:e.headline||"Tell Us About Your Case",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-3"}}}function S(e){return{$el:"h3",children:e.headline||"Additional Case Details",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-3 "+(e.headlineClass||"")}}}function A(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",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-3 "+(e.headlineClass||"")}}}function D(e){return{$el:"h3",children:e.headline||a,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-3"}}}function j(e){return{$el:"h5",children:e.subheadline||r,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}}}const q="(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})();";function F(t,a,r=!0,i=!1){if(void 0===r&&(r=!0),a&&a.length&&(r||i)){const e=T(a[a.length-1]);!0===r&&(e.onKeypress=$),!0===i&&(e.onInput=C)}return e(E(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const M=[{type:"meta",data:e(n,{defaultCommentsPlaceholder:t,commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"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"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Nursing Home Abuse":'Example: "My mother\'s nursing home is physically abusing her"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Vaccination Injury":'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',"Veteran's Disability":'Example: "I would like help filing for disability benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Veteran's Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}})},e(o,W),{$cmp:"FormKit",props:function(t){return e(i,t)}({formId:"accidentsAndInjuries",redirectMap:function(t){return e(m,t)}(),valueOverrideMap:{Civil_Defense:{Yes:{Type_Of_Legal_Problem:"Defend a Lawsuit"}},Type_Of_Legal_Problem_Display:{"Auto Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Slip and Fall":{Type_Of_Legal_Problem:"Personal Injury"},"Workplace Injury":{Type_Of_Legal_Problem:"Workers Compensation"},"Trucking Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Motorcycle Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Other Accidents or Injuries":{Type_Of_Legal_Problem:"Personal Injury"},"Automobile Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Contract Disputes":{Type_Of_Legal_Problem:"Business Lawyers"},"Defamation and Slander":{Type_Of_Legal_Problem:"File a Lawsuit"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Employment and Workplace":{Type_Of_Legal_Problem:"Employment and Workplace"},Fraud:{Type_Of_Legal_Problem:"Consumer Lawyers"},"Medical Malpractice":{Type_Of_Legal_Problem:"Medical Malpractice"},"Personal Injury":{Type_Of_Legal_Problem:"Personal Injury"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Small Claims":{Type_Of_Legal_Problem:"File a Lawsuit"},"Real Estate":{Type_Of_Legal_Problem:"Real Estate"},"Other (describe on next page)":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contract Creation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Enforcement":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Cancellation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Fraud":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Breach of Contract":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Other Contract Issues":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Criminal Defense":{Type_Of_Legal_Problem:"Criminal and Felony"},"Victim of a Crime":{Type_Of_Legal_Problem:"Victim of a Crime"},"DUI and DWI":{Type_Of_Legal_Problem:"DUI and DWI"},Expungement:{Type_Of_Legal_Problem:"Expungement"},Harassment:{Type_Of_Legal_Problem:"Criminal and Felony"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Workplace Harassment":{Type_Of_Legal_Problem:"Workplace Harassment"},"Workplace Discrimination":{Type_Of_Legal_Problem:"Workplace Discrimination"},"Wrongful Termination":{Type_Of_Legal_Problem:"Wrongful Termination"},"Payment Disputes":{Type_Of_Legal_Problem:"Employment and Workplace"},"Workers Compensation":{Type_Of_Legal_Problem:"Workers Compensation"},Unemployment:{Type_Of_Legal_Problem:"Unemployment"},"Other Workplace Issues":{Type_Of_Legal_Problem:"Employment and Workplace"},"Attorney Malpractice":{Type_Of_Legal_Problem:"Civil Lawsuit"},"Other Malpractice Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Vehicle Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Property Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Other Repossession Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contracts and Agreements":{Type_Of_Legal_Problem:"Real Estate"},"Deeds, Liens, and Titles":{Type_Of_Legal_Problem:"Real Estate"},Foreclosure:{Type_Of_Legal_Problem:"Foreclosure"},Insurance:{Type_Of_Legal_Problem:"Insurance"},"Landlord and Tenant":{Type_Of_Legal_Problem:"Landlord and Tenant"},"Loans and Mortgages":{Type_Of_Legal_Problem:"Real Estate"},"Wills, Trusts, and Estates":{Type_Of_Legal_Problem:"Wills and Trusts"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Other Real Estate Issues":{Type_Of_Legal_Problem:"Real Estate"}}}}),children:[function(t={}){return e(function(e={}){return{$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 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Accident & Injury Help Now")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...d,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return F("accidentsAndInjuriesTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Auto and Car Accidents"},h({if:"true"}),y({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return F("TOLPQuestions",[O(e),I("AutoAndCarAccidentsQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[w(),P(),b(),k(),v(),u({name:"Police_Report_Filed",label:"Was a Police Report Filed?"})]}),I("PersonalInjuryQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[w(),P(),_(),b(),k(),v()]}),I("WorkersCompensationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[w(),P(),_(),k(),f({label:"Cause of Injury:",name:"Cause_Of_Injury",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),v()]})],e.nextOnEnter)}(),function(e={}){return F("commentsWithBankruptcy",[S(e),x({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),c({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return F("firstAndLast",[A(e),y({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),y({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return F("contactInfo",[D(e),j(e),{$el:"script",if:"$activeStep === $lastStep()",children:q},y({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),y({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$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;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$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"}}]}]}]}];var W;return M}();
1
+ var accidentsAndInjuries=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',n={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const i={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."};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l={$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"}}]};function s(t){return e(l,t)}const d=[{$formkit:"hidden",name:"vertical",value:"Legal"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],m={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const c=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),p=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",p(e)))(e)),f=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),y=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),g=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$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"},t))(t)),h=t=>(e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",p(e)))(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',label:"Select The Issue:",options:["Auto Accident","Workplace Injury","Dog Bite","Slip and Fall","Trucking Accident","Motorcycle Accident","Other Accidents or Injuries"]},t)),b=e=>u({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),_=e=>f({name:e?e+":Cause_Of_Injury":"Cause_Of_Injury",label:"Cause of Injury:",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),x=e=>f({name:e?e+":Claim_Status":"Claim_Status",label:"Status of Claim:",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),v=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),w=e=>u({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),P=e=>u({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),k=e=>g({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),I=e=>{return(t={name:e?e+":Primary_Injury":"Primary_Injury",label:"Primary Injury:",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",t.fieldsetClass="$reset side-by-side-flex",t.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",t.innerClass="t-flex t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",p(t);var t},$=e=>u({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),C=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),L=(e,t)=>C("PersonalInjuryQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[P(t),k(t),x(t),b(t),I(t),w(t)]}),T=(e,t)=>C("WorkersCompensationQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[P(t),k(t),x(t),I(t),_(t),w(t)]}),O="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",E="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",S=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,A=e=>{if(S(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const a=e.children[t];if(S(a))return a;const r=A(a);if(r)return r}return null},D=e=>({$el:"section",attrs:{hidden:'$activeStep !== "'+e+'"'}});function F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",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"}}}function j(e){return{$el:"h3",children:e.headline||"Additional Case Details",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 "+(e.headlineClass||"")}}}function q(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",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 "+(e.headlineClass||"")}}}function M(e){return{$el:"h3",children:e.headline||a,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"}}}function W(e){return{$el:"h5",children:e.subheadline||r,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}}}const B="(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})();";function N(t,a,r=!0,n=!1){if(void 0===r&&(r=!0),a&&a.length&&(r||n)){const e=A(a[a.length-1]);e&&!0===r&&(e.onKeypress=O),e&&!0===n&&(e.onInput=E)}return e(D(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const Y=[{type:"meta",data:e(i,{defaultCommentsPlaceholder:t,commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"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"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}})},e(o,H),{$cmp:"FormKit",props:function(t){return e(n,t)}({formId:"accidentsAndInjuries",redirectMap:function(t){return e(m,t)}(),valueOverrideMap:{Civil_Defense:{Yes:{Type_Of_Legal_Problem:"Defend a Lawsuit"}},Type_Of_Legal_Problem_Display:{"Auto Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Slip and Fall":{Type_Of_Legal_Problem:"Personal Injury"},"Workplace Injury":{Type_Of_Legal_Problem:"Workers Compensation"},"Trucking Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Motorcycle Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Other Accidents or Injuries":{Type_Of_Legal_Problem:"Personal Injury"},"Automobile Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Contract Disputes":{Type_Of_Legal_Problem:"Business Lawyers"},"Defamation and Slander":{Type_Of_Legal_Problem:"File a Lawsuit"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Employment and Workplace":{Type_Of_Legal_Problem:"Employment and Workplace"},Fraud:{Type_Of_Legal_Problem:"Consumer Lawyers"},"Medical Malpractice":{Type_Of_Legal_Problem:"Medical Malpractice"},"Personal Injury":{Type_Of_Legal_Problem:"Personal Injury"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Small Claims":{Type_Of_Legal_Problem:"File a Lawsuit"},"Real Estate":{Type_Of_Legal_Problem:"Real Estate"},"Other (describe on next page)":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contract Creation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Enforcement":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Cancellation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Fraud":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Breach of Contract":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Other Contract Issues":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Criminal Defense":{Type_Of_Legal_Problem:"Criminal and Felony"},"Victim of a Crime":{Type_Of_Legal_Problem:"Victim of a Crime"},"DUI and DWI":{Type_Of_Legal_Problem:"DUI and DWI"},Expungement:{Type_Of_Legal_Problem:"Expungement"},Harassment:{Type_Of_Legal_Problem:"Criminal and Felony"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Workplace Harassment":{Type_Of_Legal_Problem:"Workplace Harassment"},"Workplace Discrimination":{Type_Of_Legal_Problem:"Workplace Discrimination"},"Wrongful Termination":{Type_Of_Legal_Problem:"Wrongful Termination"},"Payment Disputes":{Type_Of_Legal_Problem:"Employment and Workplace"},"Workers Compensation":{Type_Of_Legal_Problem:"Workers Compensation"},Unemployment:{Type_Of_Legal_Problem:"Unemployment"},"Other Workplace Issues":{Type_Of_Legal_Problem:"Employment and Workplace"},"Attorney Malpractice":{Type_Of_Legal_Problem:"Civil Lawsuit"},"Other Malpractice Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Vehicle Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Property Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Other Repossession Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contracts and Agreements":{Type_Of_Legal_Problem:"Real Estate"},"Deeds, Liens, and Titles":{Type_Of_Legal_Problem:"Real Estate"},Foreclosure:{Type_Of_Legal_Problem:"Foreclosure"},Insurance:{Type_Of_Legal_Problem:"Insurance"},"Landlord and Tenant":{Type_Of_Legal_Problem:"Landlord and Tenant"},"Loans and Mortgages":{Type_Of_Legal_Problem:"Real Estate"},"Wills, Trusts, and Estates":{Type_Of_Legal_Problem:"Wills and Trusts"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Other Real Estate Issues":{Type_Of_Legal_Problem:"Real Estate"}}}}),children:[function(t={}){return e(function(e={}){return{$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 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Accident & Injury Help Now")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...d,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return N("accidentsAndInjuriesTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Auto and Car Accidents"},h({if:"true"}),y({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return N("TOLPQuestions",[F(e),C("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[P(a),k(a),b(a),I(a),w(a),$(a)]}),L(),T()],e.nextOnEnter);var t,a}(),function(e={}){return N("commentsWithBankruptcy",[j(e),v({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),c({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return N("firstAndLast",[q(e),y({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),y({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return N("contactInfo",[M(e),W(e),{$el:"script",if:"$activeStep === $lastStep()",children:B},y({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),y({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$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;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$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"}}]}]}]}];var H;return Y}();