bhl-forms 0.2.0 → 0.2.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 (74) hide show
  1. package/dist/bhl-forms.es.js +322 -142
  2. package/dist/bhl-forms.iife.js +7 -7
  3. package/dist/bhl-forms.modern.es.js +382 -278
  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 +33 -21
  8. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  9. package/dist/forms/accidentsAndInjuries.json +1 -1
  10. package/dist/forms/appraisals.es.js +27 -17
  11. package/dist/forms/appraisals.iife.js +1 -1
  12. package/dist/forms/appraisals.json +1 -1
  13. package/dist/forms/childAndFamily.es.js +33 -21
  14. package/dist/forms/childAndFamily.iife.js +1 -1
  15. package/dist/forms/childAndFamily.json +1 -1
  16. package/dist/forms/civilLawsuit.es.js +33 -21
  17. package/dist/forms/civilLawsuit.iife.js +1 -1
  18. package/dist/forms/civilLawsuit.json +1 -1
  19. package/dist/forms/coins.es.js +27 -17
  20. package/dist/forms/coins.iife.js +1 -1
  21. package/dist/forms/coins.json +1 -1
  22. package/dist/forms/contracts.es.js +94 -32
  23. package/dist/forms/contracts.iife.js +1 -1
  24. package/dist/forms/contracts.json +1 -1
  25. package/dist/forms/criminal.es.js +33 -21
  26. package/dist/forms/criminal.iife.js +1 -1
  27. package/dist/forms/criminal.json +1 -1
  28. package/dist/forms/employmentAndWorkplace.es.js +33 -21
  29. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  30. package/dist/forms/employmentAndWorkplace.json +1 -1
  31. package/dist/forms/generalLegal.es.js +33 -21
  32. package/dist/forms/generalLegal.iife.js +1 -1
  33. package/dist/forms/generalLegal.json +1 -1
  34. package/dist/forms/generalLegalPopUnder.es.js +33 -21
  35. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  36. package/dist/forms/generalLegalPopUnder.json +1 -1
  37. package/dist/forms/generalLegalPopUnderTF.es.js +33 -21
  38. package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
  39. package/dist/forms/generalLegalPopUnderTF.json +1 -1
  40. package/dist/forms/generalLegalThankYou.es.js +33 -21
  41. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  42. package/dist/forms/generalLegalThankYou.json +1 -1
  43. package/dist/forms/harassmentAndDiscrimination.es.js +33 -21
  44. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  45. package/dist/forms/harassmentAndDiscrimination.json +1 -1
  46. package/dist/forms/malpractice.es.js +94 -32
  47. package/dist/forms/malpractice.iife.js +1 -1
  48. package/dist/forms/malpractice.json +1 -1
  49. package/dist/forms/mechanics.es.js +27 -17
  50. package/dist/forms/mechanics.iife.js +1 -1
  51. package/dist/forms/mechanics.json +1 -1
  52. package/dist/forms/realEstate.es.js +33 -21
  53. package/dist/forms/realEstate.iife.js +1 -1
  54. package/dist/forms/realEstate.json +1 -1
  55. package/dist/forms/repossession.es.js +94 -32
  56. package/dist/forms/repossession.iife.js +1 -1
  57. package/dist/forms/repossession.json +1 -1
  58. package/dist/forms/ssdi.es.js +183 -81
  59. package/dist/forms/ssdi.iife.js +1 -1
  60. package/dist/forms/ssdi.json +1 -1
  61. package/dist/forms/testForm.es.js +90 -29
  62. package/dist/forms/testForm.iife.js +1 -1
  63. package/dist/forms/testForm.json +1 -1
  64. package/dist/forms/testRedirects.es.js +19 -10
  65. package/dist/forms/testRedirects.iife.js +1 -1
  66. package/dist/forms/testRedirects.json +1 -1
  67. package/dist/forms/vets.es.js +27 -17
  68. package/dist/forms/vets.iife.js +1 -1
  69. package/dist/forms/vets.json +1 -1
  70. package/dist/forms/willsAndTrusts.es.js +33 -21
  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
@@ -94,30 +94,90 @@ function formAnchor(updates) {
94
94
  )
95
95
  }
96
96
 
97
- const headlineDefaults = {
98
- $el: 'h1',
97
+ const progressBarDefaults = {
98
+ $el: 'div',
99
99
  attrs: {
100
- 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'
101
- }
100
+ class: 't-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center',
101
+ style: {
102
+ if: '$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())',
103
+ then: 'display: none'
104
+ },
105
+ },
106
+ children: [
107
+ {
108
+ $el: 'div',
109
+ attrs: {
110
+ class: 't-flex t-justify-center'
111
+ },
112
+ children: [
113
+ {
114
+ $el: 'span',
115
+ attrs: {
116
+ id: 'progress-bar-text',
117
+ class: 't-text-sm t-mb-1'
118
+ },
119
+ children: [
120
+ "0% Complete"
121
+ ]
122
+ },
123
+ ]
124
+ },
125
+ {
126
+ $el: 'div',
127
+ attrs: {
128
+ class: 't-bg-gray-100 t-w-9/12 t-rounded'
129
+ },
130
+ children: [
131
+ {
132
+ $el: 'div',
133
+ attrs: {
134
+ id: 'progress-bar',
135
+ class: 't-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]',
136
+ style: {
137
+ transition: 'width 0.5s ease'
138
+ },
139
+ },
140
+ }
141
+ ]
142
+ }
143
+ ]
102
144
  };
103
145
 
104
- function headline(updates) {
146
+ function progressBar(updates) {
105
147
  return merge(
106
- headlineDefaults,
148
+ progressBarDefaults,
107
149
  updates
108
150
  )
109
151
  }
110
152
 
111
- const subHeadlineDefaults = {
112
- $el: 'h3',
113
- attrs: {
114
- class: 't-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10'
153
+ function headlineDefaults(updates = {}) {
154
+ return {
155
+ $el: 'h1',
156
+ attrs: {
157
+ 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' + ' ' + (updates.headlineClass || '')
158
+ }
115
159
  }
116
- };
160
+ }
117
161
 
118
- function subHeadline(updates) {
162
+ function headline(updates = {}) {
119
163
  return merge(
120
- subHeadlineDefaults,
164
+ headlineDefaults(updates),
165
+ updates
166
+ )
167
+ }
168
+
169
+ function subHeadlineDefaults(updates = {}) {
170
+ return {
171
+ $el: 'h3',
172
+ attrs: {
173
+ class: 't-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10' + ' ' + (updates.subHeadlineClass || '')
174
+ }
175
+ }
176
+ }
177
+
178
+ function subHeadline(updates = {}) {
179
+ return merge(
180
+ subHeadlineDefaults(updates),
121
181
  updates
122
182
  )
123
183
  }
@@ -400,18 +460,21 @@ const radio = (updates) => {
400
460
  }, updates)
401
461
  };
402
462
 
403
- const sbs2ItemRadio = (updates) => {
404
- updates.legendClass = 'legend-left t-pb-1 required';
405
- updates.fieldsetClass = '$reset side-by-side t-items-center';
406
- updates.optionsClass = 't-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center';
407
- updates.innerClass = 't-flex t-items-center';
408
- updates.optionClass = 't-pr-1';
463
+ const vertical2ItemRadio = (updates) => {
464
+ updates.legendClass = 'legend-left';
465
+ updates.fieldsetClass = '$reset vertical t-items-center';
466
+ updates.optionsClass = 't-flex t-justify-center t-my-4';
467
+ updates.optionClass = 'radiobtn t-mx-5';
468
+ updates.wrapperClass = '$reset formkit-wrapper t-mb-0';
469
+ updates.labelClass = 't-font-semibold t-text-[#1e448f]';
470
+ updates.decoratorIcon = false;
471
+ updates.messagesClass = 't-flex t-justify-center';
409
472
  return radio(updates)
410
473
  };
411
474
 
412
- const sbsYesNoRadio = (updates) => {
475
+ const verticalYesNoRadio = (updates) => {
413
476
  updates.options = ['Yes', 'No'];
414
- return sbs2ItemRadio(updates)
477
+ return vertical2ItemRadio(updates)
415
478
  };
416
479
 
417
480
  const select = (updates) => {
@@ -427,14 +490,14 @@ const select = (updates) => {
427
490
  }, updates)
428
491
  };
429
492
 
430
- const sbsSelect = (updates) => {
493
+ const verticalSelect = (updates) => {
431
494
  updates.labelClass = 'required';
432
- updates.wrapperClass = 'side-by-side t-items-center';
433
- updates.innerClass = 'select-height-content';
434
- updates.helpClass = 't-mt-2.5 md:t-text-right md:t-mt-[-5px]';
495
+ updates.wrapperClass = 't-flex t-justify-center';
496
+ updates.messagesClass = 't-flex t-justify-center';
435
497
  return select(updates)
436
498
  };
437
499
 
500
+
438
501
  const text = (updates) => {
439
502
  return merge({
440
503
  $formkit: 'text',
@@ -465,10 +528,9 @@ const textArea = (updates) => {
465
528
  }, updates)
466
529
  };
467
530
 
468
-
469
- const applicantAge = () => sbsSelect({
470
- label: 'Age of Applicant?',
531
+ const applicantAgeVertical = () => verticalSelect({
471
532
  name: 'Applicant_Age',
533
+ value: "50",
472
534
  options: [
473
535
  "18",
474
536
  "19",
@@ -538,19 +600,19 @@ const comments = (updates) => textArea(
538
600
  }, updates)
539
601
  );
540
602
 
541
- const disabilityConditionStopWork = () => sbsYesNoRadio({
603
+ const disabilityConditionStopWorkVertical = () => verticalYesNoRadio({
542
604
  name: 'Disability_Condition_Stop_Work',
543
- label: 'Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?'
605
+ // label: 'Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?'
544
606
  });
545
607
 
546
- const disabilityWorkHistory = () => sbsYesNoRadio({
608
+ const disabilityWorkHistoryVertical = () => verticalYesNoRadio({
547
609
  name: 'Disability_Work_History',
548
- label: 'Have You Had a Full-Time Job Within the Past 5 Years?'
610
+ // label: 'Have You Had a Full-Time Job Within the Past 5 Years?'
549
611
  });
550
612
 
551
- const doctorTreatment = () => sbsYesNoRadio({
613
+ const doctorTreatmentVertical = () => verticalYesNoRadio({
552
614
  name: 'Doctor_Treatment',
553
- label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
615
+ // label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
554
616
  });
555
617
 
556
618
  const email = () => sbsText({
@@ -577,9 +639,9 @@ const firstName = () => sbsText({
577
639
  }
578
640
  });
579
641
 
580
- const haveAttorney = () => sbsYesNoRadio({
642
+ const haveAttorneyVertical = () => verticalYesNoRadio({
581
643
  name: 'Have_Attorney',
582
- label: 'Already Working with An Attorney?'
644
+ // label: 'Already Working with An Attorney?'
583
645
  });
584
646
 
585
647
  const lastName = () => sbsText({
@@ -610,9 +672,9 @@ const phone = () => sbsText({
610
672
  helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
611
673
  });
612
674
 
613
- const socialSecurityDisabilityReceivingBenefits = () => sbsYesNoRadio({
675
+ const socialSecurityDisabilityReceivingBenefitsVertical = () => verticalYesNoRadio({
614
676
  name: 'Social_Security_Disability_Receiving_Benefits',
615
- label: 'Are You Currently Receiving Social Security Disability Benefits?'
677
+ // label: 'Are You Currently Receiving Social Security Disability Benefits?'
616
678
  });
617
679
 
618
680
  const TCPAConsent = () => ({
@@ -630,9 +692,8 @@ const TCPAConsent = () => ({
630
692
  }
631
693
  });
632
694
 
633
- const zipcode = () => sbsText({
634
- label: 'Zip Code:',
635
- placeholder: '#####',
695
+ const zipcodeCenter = () => text({
696
+ placeholder: 'Please Enter Your Zip Code',
636
697
  name: 'Zip',
637
698
  maxlength: 5,
638
699
  inputmode: "numeric",
@@ -641,10 +702,13 @@ const zipcode = () => sbsText({
641
702
  validationMessages: {
642
703
  required: 'Zip Code is required',
643
704
  matches: 'Invalid Zip Code'
644
- }
705
+ },
706
+ wrapperClass: 't-flex t-justify-center',
707
+ messagesClass: 't-flex t-justify-center'
645
708
  });
646
709
 
647
710
  const NEXT_ON_ENTER = '$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
711
+ const NEXT_ON_INPUT = '$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))';
648
712
 
649
713
  const isInput = (n) => { return (n.type !== 'group' && n.type !== 'section' && n.type !== 'form' && n.$formkit !== 'hidden' && !n.children) };
650
714
 
@@ -679,22 +743,23 @@ const stepDefaults = (step) => ({
679
743
  }
680
744
  });
681
745
 
682
- function questionsStepHeadline(updates) {
746
+ function verticalStepHeadline(updates) {
683
747
  return {
684
748
  $el: 'h3',
685
749
  children: updates.headline || 'Tell Us About Your Case',
686
750
  attrs: {
687
- 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'
751
+ 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-3'
688
752
  }
689
753
  }
690
754
  }
691
755
 
756
+
692
757
  function commentsStepHeadline(updates) {
693
758
  return {
694
759
  $el: 'h3',
695
760
  children: updates.headline || 'Additional Case Details',
696
761
  attrs: {
697
- 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'
762
+ 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 || '')
698
763
  }
699
764
  }
700
765
  }
@@ -704,7 +769,7 @@ function firstAndLastStepHeadline(updates) {
704
769
  $el: 'h3',
705
770
  children: updates.headline || 'Please Provide a Contact Name',
706
771
  attrs: {
707
- 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'
772
+ 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 || '')
708
773
  }
709
774
  }
710
775
  }
@@ -755,13 +820,18 @@ function trustedFormScript() {
755
820
  }
756
821
  }
757
822
 
758
- function step(name, inputs, nextOnEnter = true) {
823
+ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
759
824
  if (typeof nextOnEnter === 'undefined') {
760
825
  nextOnEnter = true;
761
826
  }
762
- if (inputs && inputs.length && nextOnEnter) {
827
+ if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
763
828
  const lastInput = findLastInput(inputs[inputs.length - 1]);
764
- lastInput.onKeypress = NEXT_ON_ENTER;
829
+ if (nextOnEnter === true) {
830
+ lastInput.onKeypress = NEXT_ON_ENTER;
831
+ }
832
+ if (nextOnInput === true) {
833
+ lastInput.onInput = NEXT_ON_INPUT;
834
+ }
765
835
  }
766
836
 
767
837
  return merge(
@@ -785,7 +855,7 @@ function commentsWithBankruptcyV2(updates = {}) {
785
855
  [
786
856
  commentsStepHeadline(updates),
787
857
  comments({
788
- label: updates.label || DEFAULT_COMMENTS_LABEL,
858
+ label: updates.label === undefined ? DEFAULT_COMMENTS_LABEL : updates.label,
789
859
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC
790
860
  }),
791
861
  bankruptcyCrossSell()
@@ -833,9 +903,10 @@ function ssdiTOLPAndZip(updates = {}) {
833
903
  id: "Type_Of_Legal_Problem",
834
904
  value: "Social Security Disability and Insurance"
835
905
  },
836
- zipcode()
906
+ zipcodeCenter()
837
907
  ],
838
- updates.nextOnEnter
908
+ updates.nextOnEnter,
909
+ updates.nextOnInput
839
910
  )
840
911
  }
841
912
 
@@ -843,10 +914,11 @@ function ssdiApplicantAge(updates = {}) {
843
914
  return step(
844
915
  'ssdiApplicantAge',
845
916
  [
846
- questionsStepHeadline(updates),
847
- applicantAge(),
917
+ verticalStepHeadline(updates),
918
+ applicantAgeVertical(),
848
919
  ],
849
- updates.nextOnEnter
920
+ updates.nextOnEnter,
921
+ updates.nextOnInput
850
922
  )
851
923
  }
852
924
 
@@ -854,10 +926,11 @@ function ssdiDisabilityConditionStopWork(updates = {}) {
854
926
  return step(
855
927
  'ssdiDisabilityConditionStopWork',
856
928
  [
857
- questionsStepHeadline(updates),
858
- disabilityConditionStopWork(),
929
+ verticalStepHeadline(updates),
930
+ disabilityConditionStopWorkVertical(),
859
931
  ],
860
- updates.nextOnEnter
932
+ updates.nextOnEnter,
933
+ updates.nextOnInput
861
934
  )
862
935
  }
863
936
 
@@ -865,10 +938,11 @@ function ssdiDisabilityWorkHistory(updates = {}) {
865
938
  return step(
866
939
  'ssdiDisabilityWorkHistory',
867
940
  [
868
- questionsStepHeadline(updates),
869
- disabilityWorkHistory(),
941
+ verticalStepHeadline(updates),
942
+ disabilityWorkHistoryVertical(),
870
943
  ],
871
- updates.nextOnEnter
944
+ updates.nextOnEnter,
945
+ updates.nextOnInput
872
946
  )
873
947
  }
874
948
 
@@ -876,10 +950,11 @@ function ssdiSocialSecurityDisabilityReceivingBenefits(updates = {}) {
876
950
  return step(
877
951
  'ssdiSocialSecurityDisabilityReceivingBenefits',
878
952
  [
879
- questionsStepHeadline(updates),
880
- socialSecurityDisabilityReceivingBenefits(),
953
+ verticalStepHeadline(updates),
954
+ socialSecurityDisabilityReceivingBenefitsVertical(),
881
955
  ],
882
- updates.nextOnEnter
956
+ updates.nextOnEnter,
957
+ updates.nextOnInput
883
958
  )
884
959
  }
885
960
 
@@ -887,10 +962,11 @@ function ssdiDoctorTreatment(updates = {}) {
887
962
  return step(
888
963
  'ssdiDoctorTreatment',
889
964
  [
890
- questionsStepHeadline(updates),
891
- doctorTreatment(),
965
+ verticalStepHeadline(updates),
966
+ doctorTreatmentVertical(),
892
967
  ],
893
- updates.nextOnEnter
968
+ updates.nextOnEnter,
969
+ updates.nextOnInput
894
970
  )
895
971
  }
896
972
 
@@ -899,10 +975,11 @@ function ssdiHaveAttorney(updates = {}) {
899
975
  return step(
900
976
  'ssdiHaveAttorney',
901
977
  [
902
- questionsStepHeadline(updates),
903
- haveAttorney(),
978
+ verticalStepHeadline(updates),
979
+ haveAttorneyVertical(),
904
980
  ],
905
- updates.nextOnEnter
981
+ updates.nextOnEnter,
982
+ updates.nextOnInput
906
983
  )
907
984
  }
908
985
 
@@ -915,7 +992,7 @@ const formNavigationV2 = () => ({
915
992
  {
916
993
  $formkit: 'button',
917
994
  name: 'back_button',
918
- onClick: '$setPreviousStep($scrollAnchor($get(form)))',
995
+ onClick: '$setPreviousStep($prevStepFunc($get(form)))',
919
996
  children: 'Back',
920
997
  style: {
921
998
  if: '$activeStep === $firstStep()',
@@ -1005,13 +1082,15 @@ const schema = [
1005
1082
  },
1006
1083
  }),
1007
1084
  children: [
1085
+ progressBar(),
1008
1086
  headline({
1009
1087
  children: '$urlParam("hl", "Start Your FREE Case Application Now")',
1010
- if: '$activeStep === $firstStep()'
1088
+ if: '$activeStep === $firstStep()',
1089
+ headlineClass: '!t-text-dark'
1011
1090
  }),
1012
1091
  subHeadline({
1013
1092
  children: '$urlParam("shl", "Find Out If We Can Assist You in Obtaining $3,148 Per Month in Disability Benefits")',
1014
- if: '$activeStep === $firstStep()'
1093
+ if: '$activeStep === $firstStep()',
1015
1094
  }),
1016
1095
  ...hiddenInputsLegal,
1017
1096
  {
@@ -1021,16 +1100,39 @@ const schema = [
1021
1100
  },
1022
1101
  children: [
1023
1102
  ssdiTOLPAndZip(),
1024
- ssdiApplicantAge(),
1025
- ssdiDisabilityConditionStopWork(),
1026
- ssdiDisabilityWorkHistory(),
1027
- ssdiSocialSecurityDisabilityReceivingBenefits(),
1028
- ssdiDoctorTreatment(),
1029
- ssdiHaveAttorney(),
1103
+ ssdiApplicantAge({
1104
+ nextOnInput: true,
1105
+ headline: 'What is the Age of the Applicant?'
1106
+ }),
1107
+ ssdiDisabilityConditionStopWork({
1108
+ nextOnInput: true,
1109
+ headline: "Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"
1110
+ }),
1111
+ ssdiDisabilityWorkHistory({
1112
+ nextOnInput: true,
1113
+ headline: "Have You Had a Full-Time Job Within the Past 5 Years?"
1114
+ }),
1115
+ ssdiSocialSecurityDisabilityReceivingBenefits({
1116
+ nextOnInput: true,
1117
+ headline: "Are You Currently Receiving Social Security Disability Benefits?"
1118
+ }),
1119
+ ssdiDoctorTreatment({
1120
+ nextOnInput: true,
1121
+ headline: "Have You Recently Been Treated by a Doctor, Hospital or Clinic?"
1122
+ }),
1123
+ ssdiHaveAttorney({
1124
+ nextOnInput: true,
1125
+ headline: "Already Working with An Attorney?"
1126
+ }),
1030
1127
  commentsWithBankruptcyV2({
1031
- nextOnEnter: false
1128
+ nextOnEnter: false,
1129
+ label: null,
1130
+ headline: 'Please briefly describe your situation:',
1131
+ headlineClass: '!t-text-dark'
1132
+ }),
1133
+ firstAndLastV2({
1134
+ headlineClass: '!t-text-dark'
1032
1135
  }),
1033
- firstAndLastV2(),
1034
1136
  contactInfoV2({
1035
1137
  headline: 'Submit Your Free Application',
1036
1138
  subheadline: 'Based on your input you may qualify for SSDI benefits. Please verify your contact information.',
@@ -1 +1 @@
1
- var ssdi=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a="Please briefly describe your legal issue in a few words:",i='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',n='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r={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 o={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 l={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const s={$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"}};const d={$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"}};const m={$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 c(t){return e(m,t)}const p=[{$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}],u=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)),f=t=>(t.legendClass="legend-left t-pb-1 required",t.fieldsetClass="$reset side-by-side t-items-center",t.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",t.innerClass="t-flex t-items-center",t.optionClass="t-pr-1",(t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t))(t)),y=e=>(e.options=["Yes","No"],f(e)),h=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)),g=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),b=()=>h({label:"Age of Applicant?",name:"Applicant_Age",options:["18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","64","65"]}),x=()=>u({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"}),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=()=>y({name:"Disability_Condition_Stop_Work",label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),$=()=>y({name:"Disability_Work_History",label:"Have You Had a Full-Time Job Within the Past 5 Years?"}),k=()=>y({name:"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),I=()=>g({$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"}}),E=()=>g({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),S=()=>y({name:"Have_Attorney",label:"Already Working with An Attorney?"}),C=()=>g({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),P=()=>g({$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]"}),_=()=>y({name:"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),D=()=>({$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"}}),A=()=>g({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"}}),q="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",T=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,Y=e=>{if(T(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(T(a))return a;const i=Y(a);if(i)return i}return null},O=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function L(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 F(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"}}}function M(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"}}}function j(e){return{$el:"h3",children:e.headline||i,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 H(e){return{$el:"h5",children:e.subheadline||n,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 N="(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 W(t,a,i=!0){if(void 0===i&&(i=!0),a&&a.length&&i){Y(a[a.length-1]).onKeypress=q}return e(O(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const B=[{type:"meta",data:e(o,{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(l,R),{$cmp:"FormKit",props:function(t){return e(r,t)}({formId:"ssdi",redirectMap:{"*":"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}"}}),children:[function(t){return e(s,t)}({children:'$urlParam("hl", "Start Your FREE Case Application Now")',if:"$activeStep === $firstStep()"}),function(t){return e(d,t)}({children:'$urlParam("shl", "Find Out If We Can Assist You in Obtaining $3,148 Per Month in Disability Benefits")',if:"$activeStep === $firstStep()"}),...p,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return W("ssdiTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Social Security Disability and Insurance"},A()],e.nextOnEnter)}(),function(e={}){return W("ssdiApplicantAge",[L(e),b()],e.nextOnEnter)}(),function(e={}){return W("ssdiDisabilityConditionStopWork",[L(e),w()],e.nextOnEnter)}(),function(e={}){return W("ssdiDisabilityWorkHistory",[L(e),$()],e.nextOnEnter)}(),function(e={}){return W("ssdiSocialSecurityDisabilityReceivingBenefits",[L(e),_()],e.nextOnEnter)}(),function(e={}){return W("ssdiDoctorTreatment",[L(e),k()],e.nextOnEnter)}(),function(e={}){return W("ssdiHaveAttorney",[L(e),S()],e.nextOnEnter)}(),function(e={}){return W("commentsWithBankruptcy",[F(e),v({label:e.label||a,placeholder:e.placeholder||t}),x()],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return W("firstAndLast",[M(e),E(),C()],e.nextOnEnter)}(),function(e={}){return W("contactInfo",[j(e),H(e),{$el:"script",if:"$activeStep === $lastStep()",children:N},I(),P(),D(),c()],e.nextOnEnter)}({headline:"Submit Your Free Application",subheadline:"Based on your input you may qualify for SSDI benefits. Please verify your contact information.",nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($scrollAnchor($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 R;return B}();
1
+ var ssdi=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)',i='$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 r={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",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const s={$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 d(t){return e(s,t)}const c=[{$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=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=>(t.legendClass="legend-left",t.fieldsetClass="$reset vertical t-items-center",t.optionsClass="t-flex t-justify-center t-my-4",t.optionClass="radiobtn t-mx-5",t.wrapperClass="$reset formkit-wrapper t-mb-0",t.labelClass="t-font-semibold t-text-[#1e448f]",t.decoratorIcon=!1,t.messagesClass="t-flex t-justify-center",(t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t))(t)),u=e=>(e.options=["Yes","No"],p(e)),f=t=>(t.labelClass="required",t.wrapperClass="t-flex t-justify-center",t.messagesClass="t-flex t-justify-center",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),y=t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t),h=e=>(e.wrapperClass="side-by-side t-items-center",y(e)),g=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)),b="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",x="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",v=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,w=e=>{if(v(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(v(a))return a;const i=w(a);if(i)return i}return null},$=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function k(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-dark t-pb-5 t-pt-0 t-px-3"}}}function I(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 E(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 C(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 S(e){return{$el:"h5",children:e.subheadline||i,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 P="(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 _(t,a,i=!0,n=!1){if(void 0===i&&(i=!0),a&&a.length&&(i||n)){const e=w(a[a.length-1]);!0===i&&(e.onKeypress=b),!0===n&&(e.onInput=x)}return e($(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const D=[{type:"meta",data:e(r,{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,O),{$cmp:"FormKit",props:function(t){return e(n,t)}({formId:"ssdi",redirectMap:{"*":"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}"}}),children:[function(t){return e(l,t)}(),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", "Start Your FREE Case Application Now")',if:"$activeStep === $firstStep()",headlineClass:"!t-text-dark"}),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", "Find Out If We Can Assist You in Obtaining $3,148 Per Month in Disability Benefits")',if:"$activeStep === $firstStep()"}),...c,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return _("ssdiTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Social Security Disability and Insurance"},y({placeholder:"Please Enter Your Zip Code",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"},wrapperClass:"t-flex t-justify-center",messagesClass:"t-flex t-justify-center"})],e.nextOnEnter,e.nextOnInput)}(),function(e={}){return _("ssdiApplicantAge",[k(e),f({name:"Applicant_Age",value:"50",options:["18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","64","65"]})],e.nextOnEnter,e.nextOnInput)}({nextOnInput:!0,headline:"What is the Age of the Applicant?"}),function(e={}){return _("ssdiDisabilityConditionStopWork",[k(e),u({name:"Disability_Condition_Stop_Work"})],e.nextOnEnter,e.nextOnInput)}({nextOnInput:!0,headline:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),function(e={}){return _("ssdiDisabilityWorkHistory",[k(e),u({name:"Disability_Work_History"})],e.nextOnEnter,e.nextOnInput)}({nextOnInput:!0,headline:"Have You Had a Full-Time Job Within the Past 5 Years?"}),function(e={}){return _("ssdiSocialSecurityDisabilityReceivingBenefits",[k(e),u({name:"Social_Security_Disability_Receiving_Benefits"})],e.nextOnEnter,e.nextOnInput)}({nextOnInput:!0,headline:"Are You Currently Receiving Social Security Disability Benefits?"}),function(e={}){return _("ssdiDoctorTreatment",[k(e),u({name:"Doctor_Treatment"})],e.nextOnEnter,e.nextOnInput)}({nextOnInput:!0,headline:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),function(e={}){return _("ssdiHaveAttorney",[k(e),u({name:"Have_Attorney"})],e.nextOnEnter,e.nextOnInput)}({nextOnInput:!0,headline:"Already Working with An Attorney?"}),function(e={}){return _("commentsWithBankruptcy",[I(e),g({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),m({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,label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return _("firstAndLast",[E(e),h({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),h({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}({headlineClass:"!t-text-dark"}),function(e={}){return _("contactInfo",[C(e),S(e),{$el:"script",if:"$activeStep === $lastStep()",children:P},h({$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"}}),h({$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"}},d()],e.nextOnEnter)}({headline:"Submit Your Free Application",subheadline:"Based on your input you may qualify for SSDI benefits. Please verify your contact information.",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 O;return D}();