bhl-forms 0.6.10 → 0.6.12

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 (69) hide show
  1. package/dist/bhl-forms.iife.js +1 -1
  2. package/dist/bhl-forms.modern.iife.js +7 -7
  3. package/dist/bhl-forms.modern.umd.js +1 -1
  4. package/dist/bhl-forms.umd.js +1 -1
  5. package/dist/forms/accidentsAndInjuries.es.js +29 -28
  6. package/dist/forms/accidentsAndInjuries.iife.js +1 -1
  7. package/dist/forms/business.es.js +38 -36
  8. package/dist/forms/business.iife.js +1 -1
  9. package/dist/forms/business.json +1 -1
  10. package/dist/forms/childAndFamily.es.js +29 -28
  11. package/dist/forms/childAndFamily.iife.js +1 -1
  12. package/dist/forms/childAndFamilySingle.es.js +38 -36
  13. package/dist/forms/childAndFamilySingle.iife.js +1 -1
  14. package/dist/forms/childAndFamilySingle.json +1 -1
  15. package/dist/forms/civilLawsuit.es.js +45 -43
  16. package/dist/forms/civilLawsuit.iife.js +1 -1
  17. package/dist/forms/civilLawsuit.json +1 -1
  18. package/dist/forms/contracts.es.js +29 -28
  19. package/dist/forms/contracts.iife.js +1 -1
  20. package/dist/forms/criminal.es.js +39 -37
  21. package/dist/forms/criminal.iife.js +1 -1
  22. package/dist/forms/criminal.json +1 -1
  23. package/dist/forms/divorce.es.js +38 -36
  24. package/dist/forms/divorce.iife.js +1 -1
  25. package/dist/forms/divorce.json +1 -1
  26. package/dist/forms/employmentAndWorkplace.es.js +44 -42
  27. package/dist/forms/employmentAndWorkplace.iife.js +1 -1
  28. package/dist/forms/employmentAndWorkplace.json +1 -1
  29. package/dist/forms/generalLegal.es.js +29 -28
  30. package/dist/forms/generalLegal.iife.js +1 -1
  31. package/dist/forms/generalLegalPopUnder.es.js +29 -28
  32. package/dist/forms/generalLegalPopUnder.iife.js +1 -1
  33. package/dist/forms/generalLegalPopUnderSingle.es.js +45 -43
  34. package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
  35. package/dist/forms/generalLegalPopUnderSingle.json +1 -1
  36. package/dist/forms/generalLegalSingle.es.js +45 -43
  37. package/dist/forms/generalLegalSingle.iife.js +1 -1
  38. package/dist/forms/generalLegalSingle.json +1 -1
  39. package/dist/forms/generalLegalThankYou.es.js +19 -20
  40. package/dist/forms/generalLegalThankYou.iife.js +1 -1
  41. package/dist/forms/harassmentAndDiscrimination.es.js +29 -28
  42. package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
  43. package/dist/forms/landlordTenant.es.js +38 -36
  44. package/dist/forms/landlordTenant.iife.js +1 -1
  45. package/dist/forms/landlordTenant.json +1 -1
  46. package/dist/forms/malpractice.es.js +29 -28
  47. package/dist/forms/malpractice.iife.js +1 -1
  48. package/dist/forms/mechanics.es.js +824 -34
  49. package/dist/forms/mechanics.iife.js +1 -1
  50. package/dist/forms/mechanics.json +1 -1
  51. package/dist/forms/patentsAndIP.es.js +38 -36
  52. package/dist/forms/patentsAndIP.iife.js +1 -1
  53. package/dist/forms/patentsAndIP.json +1 -1
  54. package/dist/forms/realEstate.es.js +29 -28
  55. package/dist/forms/realEstate.iife.js +1 -1
  56. package/dist/forms/repossession.es.js +29 -28
  57. package/dist/forms/repossession.iife.js +1 -1
  58. package/dist/forms/ssdi.es.js +25 -25
  59. package/dist/forms/ssdi.iife.js +1 -1
  60. package/dist/forms/ssdi.json +1 -1
  61. package/dist/forms/testForm.es.js +18 -19
  62. package/dist/forms/testForm.iife.js +1 -1
  63. package/dist/forms/testRedirects.es.js +8 -2
  64. package/dist/forms/testRedirects.iife.js +1 -1
  65. package/dist/forms/testRedirects.json +1 -1
  66. package/dist/forms/willsAndTrusts.es.js +29 -28
  67. package/dist/forms/willsAndTrusts.iife.js +1 -1
  68. package/dist/main.css +1 -1
  69. package/package.json +1 -1
@@ -104,7 +104,7 @@ const sbsYesNoRadio = (updates) => {
104
104
 
105
105
  const verticalButtonRadio = (updates) => {
106
106
  updates.legendClass = 'legend-left';
107
- updates.fieldsetClass = '$reset t-flex t-justify-center t-items-center';
107
+ updates.fieldsetClass = '$reset t-flex t-justify-center t-flex-col-reverse t-items-center';
108
108
  if (typeof updates.optionsClass === 'undefined') {
109
109
  updates.optionsClass = 't-flex t-flex-col sm:t-flex-row t-justify-center t-my-3';
110
110
  }
@@ -113,6 +113,7 @@ const verticalButtonRadio = (updates) => {
113
113
  updates.labelClass = 't-font-semibold t-text-[#1e448f] t-w-[100%]';
114
114
  updates.decoratorIcon = false;
115
115
  updates.messagesClass = 't-flex t-justify-center';
116
+ updates.helpClass = 't-mt-2.5 !t-text-sm t-text-center';
116
117
  return radio(updates)
117
118
  };
118
119
 
@@ -349,9 +350,9 @@ const doctorTreatment = (scope) => sbsYesNoRadio({
349
350
  label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?',
350
351
  });
351
352
 
352
- const email = () => sbsText({
353
+ const email = (scope) => sbsText({
353
354
  $formkit: 'email',
354
- name: 'Email',
355
+ name: scope ? scope + ':' + 'Email' : 'Email',
355
356
  label: 'Email Address:',
356
357
  placeholder: 'email@domain.com',
357
358
  autocomplete: 'email',
@@ -376,11 +377,11 @@ const estateLegalServicesNeeded = (scope) => sbsSelect({
376
377
  ]
377
378
  });
378
379
 
379
- const firstName = () => sbsText({
380
+ const firstName = (scope) => sbsText({
380
381
  $formkit: 'text',
381
382
  label: 'First Name:',
382
383
  placeholder: 'First',
383
- name: 'First_Name',
384
+ name: scope ? scope + ':' + 'First_Name' : 'First_Name',
384
385
  autocomplete: "given-name",
385
386
  validationMessages: {
386
387
  required: 'First Name is required'
@@ -392,8 +393,8 @@ const haveAttorney$1 = (scope) => sbsYesNoRadio({
392
393
  label: 'Already Working with An Attorney?'
393
394
  });
394
395
 
395
- const haveAttorneyCenter = () => verticalYesNoRadio({
396
- name: 'Have_Attorney',
396
+ const haveAttorneyCenter = (scope) => verticalYesNoRadio({
397
+ name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
397
398
  });
398
399
 
399
400
  const haveChildrenCenter = (scope) => verticalYesNoRadio({
@@ -405,11 +406,11 @@ const incidentDate = (scope) => sbsDate({
405
406
  label: 'Date of Incident:',
406
407
  });
407
408
 
408
- const lastName = () => sbsText({
409
+ const lastName = (scope) => sbsText({
409
410
  $formkit: 'text',
410
411
  label: 'Last Name:',
411
412
  placeholder: 'Last',
412
- name: 'Last_Name',
413
+ name: scope ? scope + ':' + 'Last_Name' : 'Last_Name',
413
414
  autocomplete: "family-name",
414
415
  validationMessages: {
415
416
  required: 'Last Name is required'
@@ -516,9 +517,9 @@ const pendingCharges = (scope) => sbsYesNoRadio({
516
517
  label: 'Do you currently have any pending charges?'
517
518
  });
518
519
 
519
- const phone = () => sbsText({
520
+ const phone = (scope) => sbsText({
520
521
  $formkit: 'tel',
521
- name: 'Primary_Phone',
522
+ name: scope ? scope + ':' + 'Primary_Phone' : 'Primary_Phone',
522
523
  label: 'Phone Number:',
523
524
  placeholder: '###-###-####',
524
525
  maxlength: 12,
@@ -575,10 +576,10 @@ const socialSecurityDisabilityReceivingBenefits = (scope) => sbsYesNoRadio({
575
576
  label: 'Are You Currently Receiving Social Security Disability Benefits?'
576
577
  });
577
578
 
578
- const TCPAConsent = () => ({
579
+ const TCPAConsent = (scope) => ({
579
580
  $formkit: 'checkbox',
580
581
  label: '$meta.tcpaLanguage',
581
- name: 'TCPA_Opt_In',
582
+ name: scope ? scope + ':' + 'TCPA_Opt_In' : 'TCPA_Opt_In',
582
583
  'data-tf-sensitive': 'false',
583
584
  validation: 'required|accepted',
584
585
  validationMessages: {
@@ -630,10 +631,10 @@ const valueOfAssets = (scope) => sbsSelect({
630
631
  ]
631
632
  });
632
633
 
633
- const zipcodeCenter = (updates = {}) => text({
634
+ const zipcodeCenter = (updates = {}, scope) => text({
634
635
  placeholder: '#####',
635
636
  help: updates.help ?? "We try to match you with local legal help",
636
- name: 'Zip',
637
+ name: scope ? scope + ':' + 'Zip' : 'Zip',
637
638
  maxlength: 5,
638
639
  inputmode: "numeric",
639
640
  autocomplete: 'postal-code',
@@ -991,7 +992,8 @@ function commentsWithBankruptcy(updates = {}) {
991
992
  label: typeof updates.label === 'undefined' ? DEFAULT_COMMENTS_LABEL : updates.label,
992
993
  placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC,
993
994
  inputClass: typeof updates.inputClass === 'undefined' ? '!t-h-32' : updates.inputClass,
994
- }),
995
+ }, updates.scope),
996
+ // TODO: needs scope support
995
997
  bankruptcyCrossSell(),
996
998
  {
997
999
  $el: 'div',
@@ -1016,16 +1018,16 @@ function contactInfo(updates = {}) {
1016
1018
  contactStepHeadline(updates),
1017
1019
  contactStepSubHeadline(updates),
1018
1020
  trustedFormScript(),
1019
- email(),
1020
- phone(),
1021
- TCPAConsent(),
1021
+ email(updates.scope),
1022
+ phone(updates.scope),
1023
+ TCPAConsent(updates.scope),
1022
1024
  secureIcon()
1023
1025
  ],
1024
1026
  false, // nextOnEnter
1025
1027
  )
1026
1028
  }
1027
1029
 
1028
- function firstAndLastV3(updates = {}) {
1030
+ function firstAndLastV3(updates = {}, scope) {
1029
1031
  return step(
1030
1032
  'firstAndLast',
1031
1033
  [
@@ -1037,8 +1039,8 @@ function firstAndLastV3(updates = {}) {
1037
1039
  subheadline: updates.subheadline ?? 'Note: we never share info without consent',
1038
1040
  subheadlineClass: '!t-text-sm !t-text-gray-500'
1039
1041
  }),
1040
- firstName(),
1041
- lastName()
1042
+ firstName(scope),
1043
+ lastName(scope)
1042
1044
  ],
1043
1045
  updates.nextOnEnter
1044
1046
  )
@@ -1198,7 +1200,7 @@ function legalCrossSells(updates = {}) {
1198
1200
  function zipcode(updates = {}) {
1199
1201
  return sqstep(
1200
1202
  'zipcode',
1201
- zipcodeCenter(updates),
1203
+ zipcodeCenter(updates, updates.scope),
1202
1204
  'Please verify your Zip Code',
1203
1205
  updates
1204
1206
  )
@@ -1252,7 +1254,7 @@ function childPrimaryCaregiver(updates = {}) {
1252
1254
  function haveAttorney(updates = {}) {
1253
1255
  return sqstep(
1254
1256
  'haveAttorney',
1255
- haveAttorneyCenter(),
1257
+ haveAttorneyCenter(updates.scope),
1256
1258
  'Already working with an attorney?',
1257
1259
  updates
1258
1260
  )
@@ -1276,9 +1278,7 @@ function lawyerPaymentMethod(updates = {}) {
1276
1278
  )
1277
1279
  }
1278
1280
 
1279
- // ------ Common
1280
-
1281
- const formNavigation = () => ({
1281
+ const formNavigation = (updates = {}) => ({
1282
1282
  $el: 'div',
1283
1283
  attrs: {
1284
1284
  class: 'step-nav'
@@ -1316,7 +1316,7 @@ const formNavigation = () => ({
1316
1316
  {
1317
1317
  $formkit: 'submit',
1318
1318
  name: 'submit_button',
1319
- label: 'Submit',
1319
+ label: updates.submitLabel || 'Submit',
1320
1320
  if: '$activeStep === $lastStep()',
1321
1321
  style: {
1322
1322
  if: '$activeStep !== $lastStep()',
@@ -1451,14 +1451,16 @@ function defaultMetaProps(tolps = null) {
1451
1451
  })
1452
1452
  }
1453
1453
 
1454
- const dynamicSchemaNode = {
1455
- $cmp: 'FormKitSchema',
1456
- if: '$get(Type_Of_Legal_Problem).value',
1457
- props: {
1458
- schema: '$meta.dynamicSchema',
1459
- data: '$buildData($meta)'
1454
+ function dynamicSchemaNode(field = 'Type_Of_Legal_Problem') {
1455
+ return {
1456
+ $cmp: 'FormKitSchema',
1457
+ if: '$get(' + field + ').value',
1458
+ props: {
1459
+ schema: '$meta.dynamicSchema',
1460
+ data: '$buildData($meta)'
1461
+ }
1460
1462
  }
1461
- };
1463
+ }
1462
1464
 
1463
1465
  const formAnchorDefaults = {
1464
1466
  $el: 'div',
@@ -2207,7 +2209,7 @@ const schema = [
2207
2209
  divorceTOLP({
2208
2210
  nextStepMap: nextStepsMapDivorce
2209
2211
  }),
2210
- dynamicSchemaNode,
2212
+ dynamicSchemaNode(),
2211
2213
  contactInfo(),
2212
2214
  formNavigation(),
2213
2215
  formDetails()
@@ -1 +1 @@
1
- var divorce=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)',r=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),n=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md: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",r(e)),o=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),l=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.optionsClass="t-pl-4 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",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",o(e)),s=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",o(e)))(e)),d=e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",o(e)),c=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",d(e)),u=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=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),p=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),m=e=>(e.wrapperClass="side-by-side t-items-center",p(e)),f=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),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)),y=e=>m({name:e?e+":Applicant_Age":"Applicant_Age",label:"Age of Applicant?",placeholder:"Age between 18 and 65",maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"}}),h=e=>s({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),g=()=>{return(e={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"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"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",r(e);var e},b=e=>u({name:e?e+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",label:"Blood Alcohol Content Measured by Test:",options:["No Test","0.00% - 0.04%","0.05% - 0.08%","0.09% - 0.12%","0.13% - 0.16%","0.17% - 0.20%","More than 0.20%","Don't know"]}),C=e=>u({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,a)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:a?a+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),_=t=>l(e({name:"Type_Of_Legal_Problem_Display",options:["File Divorce or Separation","Alimony or Child Support","Divorce Disputes","Child Custody","Prenups","Not Sure or Other"]},t)),x=e=>((e,t)=>u({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}))(e,"No payment necessary to speak with lawyers."),w=e=>s({name:e?e+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),I=e=>s({name:e?e+":Disability_Work_History":"Disability_Work_History",label:"Have You Had a Full-Time Job Within the Past 5 Years?"}),P=e=>s({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),S=e=>u({name:e?e+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),$=e=>s({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),D=e=>f({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),k=e=>s({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),A=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","Not Sure or Other"]}).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",o(t);var t},T=e=>s({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),O=e=>s({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),E=e=>u({name:e?e+":Role_In_Matter_Probate":"Role_In_Matter_Probate",label:"What Is Your Role in this Matter?",options:["Preparing My Will","Executor","Heir","Other"]}),L=e=>s({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),W=e=>u({name:e?e+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",label:"Type of Alcohol Test Performed?",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]}),j=e=>n({name:e?e+":Type_Of_Assets":"Type_Of_Assets",label:"Type of Assets:",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]}),M=e=>u({name:e?e+":Value_Of_Assets":"Value_Of_Assets",label:"Value of Your Assets?",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),F=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),N="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",q="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",B=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,Y=e=>{if(B(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(B(a))return a;const i=Y(a);if(i)return i}return null},U={$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 H(t){return e(U,t)}function R(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 V(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function K(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-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function Q(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function z(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 G(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 Z(e){return{$el:"h3",children:e.headline||"Do any of the following situations apply?",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 J(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 "+(e.headlineClass||"")}}}function X(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 "+(e.subheadlineClass||"")}}}const ee="(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})();";const te=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function ae(t,a,i=!0,r=!1,n=void 0,o=void 0,l=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=Y(a[a.length-1]);e&&!0===i&&(e.onKeypress=N),e&&!0===r&&(e.onInput=q)}return e(te(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}function ie(e,t,a,i={}){return ae(e,[K({headline:i.headline??a,headlineClass:i.headlineClass}),...Array.isArray(t)?t:[t]],i.nextOnEnter,void 0===i.nextOnInput||i.nextOnInput,i.stepKey,i.nextStepMap)}const re={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,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]"};function ne(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const oe={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 le={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const se={$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 de=[{$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}],ce={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ue={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"'},pe={},me={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."},fe=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ye=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],he=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ge={Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...ye],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...fe],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...he],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...fe],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...fe],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...ye],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...ye],"Civil Rights and Discrimination":["civilRightsType",...fe],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...fe],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...fe],"Defend a Lawsuit":["lawsuitOtherParty",...fe],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...fe],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...ye],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...fe],"Divorce and Separation":["maritalStatus","haveChildren",...ye],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...fe],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...fe],Expungement:["incidentDate","criminalChargeType",...ye],"Family Issues":["maritalStatus","haveChildren",...ye],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...fe],Guardianship:["maritalStatus","haveChildren",...ye],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...fe],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...fe],"Lemon Law":["incidentDate","lawsuitOtherParty",...fe],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...he],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...fe],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...fe],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...he],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...fe],"Property Damage":["realEstateArea","wouldLikeLawyerTo",...fe],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...fe],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...he],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...fe],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...fe],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...ye],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...fe],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...he],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...fe],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...fe],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...he],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...fe]},"*":fe},be=ge.Type_Of_Legal_Problem,Ce={Type_Of_Legal_Problem_Display:{"Alimony or Child Support":be["Child Support"],"Child Custody":be["Child Custody"],"Not Sure or Other":ge["*"]},"*":be["Divorce and Separation"]};be["Defend a Lawsuit"],be["File a Lawsuit"],be["Defend a Lawsuit"],be["File a Lawsuit"],be["Auto and Car Accidents"],be["Business Lawyers"],be["Personal Injury"],be["Employment and Workplace"],be["Consumer Lawyers"],be["Medical Malpractice"],be["Personal Injury"],be["Property Damage"],be["Real Estate"],be["Wrongful Termination"],be["Workers Compensation"],be["Personal Injury"],be.Unemployment,be.Foreclosure,be["Landlord and Tenant"],be["Wills and Trusts"],be["Property Damage"];const ve=function(a=null){let i=ue,r=pe,n=me;return a&&(i=ne(ue,a),r=ne(pe,a),n=ne(me,a)),{type:"meta",data:e(oe,{defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:r,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();ve.data.dynamicSchema=[function(e={}){return ie("zipcode",((e={})=>p({placeholder:"#####",help:e.help??"We try to match you with local legal help",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",inputClass:"t-text-center",helpClass:"t-mt-2.5 !t-text-sm t-text-center"}))(e),"Please verify your Zip Code",e)}(),function(e={}){return ie("maritalStatus",l({name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),"What is your marital status?",e);var t}(),function(e={}){return ie("haveChildren",c({name:t?t+":Have_Children":"Have_Children"}),"Do you have children?",e);var t}(),function(e={}){return ie("childRelationship",l({name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),"Your relationship to the children:",e);var t}(),function(e={}){return ie("childHome",l({name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]}),"Who do the children currently live with?",e);var t}(),function(e={}){return ie("childPrimaryCaregiver",d({name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),"Who is the primary caregiver?",e);var t}(),function(e={}){return ie("haveAttorney",c({name:"Have_Attorney"}),"Already working with an attorney?",e)}(),function(e={}){return ie("degreeOfInterest",l({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",help:a,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),"Could you pay if your issue could be resolved?",e);var t,a}(),function(e={}){return ie("lawyerPaymentMethod",l({name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",help:"No payment necessary to start a consultation.",options:{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"},fieldsetClass:"$reset t-flex t-flex-col t-items-center"}),"How would you pay if a solution required it?",e);var t}(),function(e={}){return ae("commentsWithBankruptcy",[z(e),v({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass}),g(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[v({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],!1)}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return ae("legalCrossSells",[Z(e),n({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Auto and Car Accidents"',then:{"Social Security Disability and Insurance":"Interest in Disability Benefits","Wills and Trusts":"Need a Will or Trust","Workers Compensation":"Workplace Injury","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',then:{"DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',then:{"Personal Injury":"Personal or Workplace Injury","Wills and Trusts":"Need a Will or Trust","Social Security Disability and Insurance":"Interest in Disability Benefits","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',then:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',then:{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Social Security Disability and Insurance":"Interest in Disability Benefits"}}}}}}})],e.nextOnEnter,!1,"$get(Type_Of_Legal_Problem).value")}({headlineClass:"!t-text-dark"}),function(e={}){return ae("autoAndCarAccidentCrossSellQuestions",[R({headline:"You May Be Entitled To Compensation"}),V({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",F("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[$(a),D(a),h(a),A(a),P(a),O(a)]})),v({label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"},"CrossSell:Auto_and_Car_Accidents")],e.nextOnEnter);var t,a}(),function(e={}){return ae("personalInjuryCrossSellQuestions",[R({headline:"You May Be Entitled To Compensation"}),V({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",F("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[$(a),D(a),C(a),h(a),A(a),P(a)]})),v({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Personal_Injury")],e.nextOnEnter);var t,a}(),function(e={}){return ae("duiAndDWICrossSellQuestions",[R({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",F("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[$(a),D(a),T(a),W(a),b(a),k(a),x(a)]})),v({label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"},"CrossSell:DUI_and_DWI")],e.nextOnEnter);var t,a}(),function(e={}){return ae("ssdiCrossSellQuestions",[R({headline:"You May Be Entitled To Benefits"}),V({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",F("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[$(a),y(a),w(a),I(a),L(a),P(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Social_Security_Disability_and_Insurance")],e.nextOnEnter);var t,a}(),function(e={}){return ae("powerOfAttorneyCrossSellQuestions",[R({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",F("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[$(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Power_of_Attorney")],e.nextOnEnter);var t,a}(),function(e={}){return ae("willsAndTrustsCrossSellQuestions",[R({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",F("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[$(a),M(a),j(a),E(a),S(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Wills_and_Trusts")],e.nextOnEnter);var t,a}(),function(e={}){return ae("firstAndLast",[G({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),Q({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),m({$formkit:"text",label:"First Name:",placeholder:"First",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),m({$formkit:"text",label:"Last Name:",placeholder:"Last",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}({headlineClass:"!t-text-dark"})];const _e=[ve,e(le,xe),{$cmp:"FormKit",props:function(t){const a=e(re,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"divorce",redirectMap:function(t){return e(ce,t)}(),valueOverrideMap:{Type_Of_Legal_Problem_Display:{"File Divorce or Separation":{Type_Of_Legal_Problem:"Divorce and Separation"},"Alimony or Child Support":{Type_Of_Legal_Problem:"Child Support"},"Divorce Disputes":{Type_Of_Legal_Problem:"Divorce and Separation"},"Child Custody":{Type_Of_Legal_Problem:"Child Custody"},Prenups:{Type_Of_Legal_Problem:"Divorce and Separation"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"}}}}),children:[function(t){return e(se,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", "Get Help With Your Divorce Today")',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", "Select a Category to Start!")',if:"$activeStep === $firstStep()"}),...de,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return ae("divorceTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Divorce and Separation"},_()],e.nextOnEnter,e.nextOnInput,e.stepKey,e.nextStepMap)}({nextStepMap:Ce}),{$cmp:"FormKitSchema",if:"$get(Type_Of_Legal_Problem).value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}},function(e={}){return ae("contactInfo",[J(e),X(e),{$el:"script",if:"$activeStep === $lastStep()",children:ee},m({$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"}}),m({$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"}},H()],!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"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var xe;return _e}();
1
+ var divorce=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)',r=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),n=e=>(e&&e.legendClass||(e.legendClass="required"),e.fieldsetClass="$reset",e.optionsClass="t-pl-8 md: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",r(e)),o=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),l=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.optionsClass="t-pl-4 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",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",o(e)),s=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",o(e)))(e)),d=e=>(e.legendClass="legend-left",e.fieldsetClass="$reset t-flex t-justify-center t-flex-col-reverse t-items-center",void 0===e.optionsClass&&(e.optionsClass="t-flex t-flex-col sm:t-flex-row t-justify-center t-my-3"),e.optionClass="radiobtn t-my-2 sm:t-my-0 t-mx-2 md:t-mx-5",e.wrapperClass="$reset formkit-wrapper t-mb-0 t-flex t-items-center t-h-[100%]",e.labelClass="t-font-semibold t-text-[#1e448f] t-w-[100%]",e.decoratorIcon=!1,e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",o(e)),c=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",d(e)),u=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=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),p=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),m=e=>(e.wrapperClass="side-by-side t-items-center",p(e)),f=t=>(t.wrapperClass="side-by-side t-items-center",(t=>(t.name&&!t.id&&(t.id=t.name),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)),y=e=>m({name:e?e+":Applicant_Age":"Applicant_Age",label:"Age of Applicant?",placeholder:"Age between 18 and 65",maxlength:2,inputmode:"numeric",validation:"required|min:18,max:65",validationMessages:{required:"Applicant Age is required",min:"Invalid Age - must be between 18 and 65",max:"Invalid Age - must be between 18 and 65"}}),h=e=>s({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),g=()=>{return(e={label:"I'd also like a consult for bankruptcy or debt elimination (optional)",help:"Note: you will be contacted separately by a bankruptcy/debt expert",name:"CrossSell_Bankruptcy",id:"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"}).legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",r(e);var e},b=e=>u({name:e?e+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_Test",label:"Blood Alcohol Content Measured by Test:",options:["No Test","0.00% - 0.04%","0.05% - 0.08%","0.09% - 0.12%","0.13% - 0.16%","0.17% - 0.20%","More than 0.20%","Don't know"]}),C=e=>u({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,a)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:a?a+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),_=t=>l(e({name:"Type_Of_Legal_Problem_Display",options:["File Divorce or Separation","Alimony or Child Support","Divorce Disputes","Child Custody","Prenups","Not Sure or Other"]},t)),x=e=>((e,t)=>u({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}))(e,"No payment necessary to speak with lawyers."),w=e=>s({name:e?e+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"}),I=e=>s({name:e?e+":Disability_Work_History":"Disability_Work_History",label:"Have You Had a Full-Time Job Within the Past 5 Years?"}),P=e=>s({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),S=e=>u({name:e?e+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]}),$=e=>m({$formkit:"text",label:"First Name:",placeholder:"First",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),D=e=>s({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),k=e=>f({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),A=e=>m({$formkit:"text",label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),T=e=>s({name:e?e+":Pending_Charges":"Pending_Charges",label:"Do you currently have any pending charges?"}),O=e=>m({$formkit:"tel",name:e?e+":Primary_Phone":"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]"}),L=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","Not Sure or Other"]}).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",o(t);var t},E=e=>s({name:e?e+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:"Any Prior Alcohol Related Offenses?"}),W=e=>s({name:e?e+":Police_Report_Filed":"Police_Report_Filed",label:"Was a Police Report Filed?"}),j=e=>u({name:e?e+":Role_In_Matter_Probate":"Role_In_Matter_Probate",label:"What Is Your Role in this Matter?",options:["Preparing My Will","Executor","Heir","Other"]}),M=e=>s({name:e?e+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:"Are You Currently Receiving Social Security Disability Benefits?"}),F=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",name:e?e+":TCPA_Opt_In":"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"}}),N=e=>u({name:e?e+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",label:"Type of Alcohol Test Performed?",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]}),q=e=>n({name:e?e+":Type_Of_Assets":"Type_Of_Assets",label:"Type of Assets:",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]}),B=e=>u({name:e?e+":Value_Of_Assets":"Value_Of_Assets",label:"Value of Your Assets?",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]}),Y=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),H="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",U="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",R=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,V=e=>{if(R(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(R(a))return a;const i=V(a);if(i)return i}return null},K={$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 Q(t){return e(K,t)}function z(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 G(e){return{$el:"h5",children:e.subheadline||"Tell us about your situation:",attrs:{class:"t-flex t-justify-center t-text-dark t-text-center !t-text-lg t-font-semibold t-pb-4 t-pt-0 t-px-3"}}}function Z(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-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function J(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function X(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 ee(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 te(e){return{$el:"h3",children:e.headline||"Do any of the following situations apply?",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 ae(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 "+(e.headlineClass||"")}}}function ie(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 "+(e.subheadlineClass||"")}}}const re="(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})();";const ne=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function oe(t,a,i=!0,r=!1,n=void 0,o=void 0,l=void 0){if(void 0===i&&(i=!0),a&&a.length&&(i||r)){const e=V(a[a.length-1]);e&&!0===i&&(e.onKeypress=H),e&&!0===r&&(e.onInput=U)}return e(ne(t,n),{children:[{$formkit:"group",id:t,name:t,nextStepMap:o,autoFocus:l,children:a}]})}function le(e,t,a,i={}){return oe(e,[Z({headline:i.headline??a,headlineClass:i.headlineClass}),...Array.isArray(t)?t:[t]],i.nextOnEnter,void 0===i.nextOnInput||i.nextOnInput,i.stepKey,i.nextStepMap)}const se={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,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]"};function de(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const ce={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 ue={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const pe={$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 me=[{$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}],fe={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&vertical=Legal&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ye={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"'},he={},ge={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."},be=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Ce=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ve=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],_e={Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...Ce],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...be],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...ve],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...be],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...be],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...Ce],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...Ce],"Civil Rights and Discrimination":["civilRightsType",...be],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...be],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...be],"Defend a Lawsuit":["lawsuitOtherParty",...be],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...be],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Ce],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...be],"Divorce and Separation":["maritalStatus","haveChildren",...Ce],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...be],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...be],Expungement:["incidentDate","criminalChargeType",...Ce],"Family Issues":["maritalStatus","haveChildren",...Ce],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...be],Guardianship:["maritalStatus","haveChildren",...Ce],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...be],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...be],"Lemon Law":["incidentDate","lawsuitOtherParty",...be],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...ve],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...be],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...be],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...ve],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...be],"Property Damage":["realEstateArea","wouldLikeLawyerTo",...be],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...be],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...ve],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...be],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...be],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Ce],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...be],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...ve],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...be],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...be],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...ve],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...be]},"*":be},xe=_e.Type_Of_Legal_Problem,we={Type_Of_Legal_Problem_Display:{"Alimony or Child Support":xe["Child Support"],"Child Custody":xe["Child Custody"],"Not Sure or Other":_e["*"]},"*":xe["Divorce and Separation"]};xe["Defend a Lawsuit"],xe["File a Lawsuit"],xe["Defend a Lawsuit"],xe["File a Lawsuit"],xe["Auto and Car Accidents"],xe["Business Lawyers"],xe["Personal Injury"],xe["Employment and Workplace"],xe["Consumer Lawyers"],xe["Medical Malpractice"],xe["Personal Injury"],xe["Property Damage"],xe["Real Estate"],xe["Wrongful Termination"],xe["Workers Compensation"],xe["Personal Injury"],xe.Unemployment,xe.Foreclosure,xe["Landlord and Tenant"],xe["Wills and Trusts"],xe["Property Damage"];const Ie=function(a=null){let i=ye,r=he,n=ge;return a&&(i=de(ye,a),r=de(he,a),n=de(ge,a)),{type:"meta",data:e(ce,{defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Submit Your Case",finalHeadlines:r,defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:n})}}();Ie.data.dynamicSchema=[function(e={}){return le("zipcode",((e={},t)=>p({placeholder:"#####",help:e.help??"We try to match you with local legal help",name:t?t+":Zip":"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",inputClass:"t-text-center",helpClass:"t-mt-2.5 !t-text-sm t-text-center"}))(e,e.scope),"Please verify your Zip Code",e)}(),function(e={}){return le("maritalStatus",l({name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]}),"What is your marital status?",e);var t}(),function(e={}){return le("haveChildren",c({name:t?t+":Have_Children":"Have_Children"}),"Do you have children?",e);var t}(),function(e={}){return le("childRelationship",l({name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]}),"Your relationship to the children:",e);var t}(),function(e={}){return le("childHome",l({name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]}),"Who do the children currently live with?",e);var t}(),function(e={}){return le("childPrimaryCaregiver",d({name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]}),"Who is the primary caregiver?",e);var t}(),function(e={}){return le("haveAttorney",(t=e.scope,c({name:t?t+":Have_Attorney":"Have_Attorney"})),"Already working with an attorney?",e);var t}(),function(e={}){return le("degreeOfInterest",l({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",help:a,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),"Could you pay if your issue could be resolved?",e);var t,a}(),function(e={}){return le("lawyerPaymentMethod",l({name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",help:"No payment necessary to start a consultation.",options:{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"},fieldsetClass:"$reset t-flex t-flex-col t-items-center"}),"How would you pay if a solution required it?",e);var t}(),function(e={}){return oe("commentsWithBankruptcy",[X(e),v({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass},e.scope),g(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[v({label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Bankruptcy")]}],!1)}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return oe("legalCrossSells",[te(e),n({id:"Legal_CrossSells",name:"Legal_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Auto and Car Accidents"',then:{"Social Security Disability and Insurance":"Interest in Disability Benefits","Wills and Trusts":"Need a Will or Trust","Workers Compensation":"Workplace Injury","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Personal Injury" || $getVal($get(form), "Type_Of_Legal_Problem") === "Workers Compensation"',then:{"DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "DUI and DWI"',then:{"Personal Injury":"Personal or Workplace Injury","Wills and Trusts":"Need a Will or Trust","Social Security Disability and Insurance":"Interest in Disability Benefits","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Wills and Trusts" || $getVal($get(form), "Type_Of_Legal_Problem") === "Probate and Estates" || $getVal($get(form), "Type_Of_Legal_Problem") === "Power of Attorney"',then:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Social Security Disability and Insurance":"Interest in Disability Benefits","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{if:'$getVal($get(form), "Type_Of_Legal_Problem") === "Long Term Disability" || $getVal($get(form), "Type_Of_Legal_Problem") === "Social Security Disability and Insurance"',then:{"Auto and Car Accidents":"Injured in a Car Accident","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Divorce and Separation":"Need a Divorce or Separation","Child Custody":"Need help with Child Custody"},else:{"Auto and Car Accidents":"Injured in a Car Accident","Personal Injury":"Personal or Workplace Injury","DUI and DWI":"Involved in a DUI/DWI","Wills and Trusts":"Need a Will or Trust","Power of Attorney":"Update Power of Attorney","Social Security Disability and Insurance":"Interest in Disability Benefits"}}}}}}})],e.nextOnEnter,!1,"$get(Type_Of_Legal_Problem).value")}({headlineClass:"!t-text-dark"}),function(e={}){return oe("autoAndCarAccidentCrossSellQuestions",[z({headline:"You May Be Entitled To Compensation"}),G({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",Y("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[D(a),k(a),h(a),L(a),P(a),W(a)]})),v({label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"},"CrossSell:Auto_and_Car_Accidents")],e.nextOnEnter);var t,a}(),function(e={}){return oe("personalInjuryCrossSellQuestions",[z({headline:"You May Be Entitled To Compensation"}),G({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",Y("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[D(a),k(a),C(a),h(a),L(a),P(a)]})),v({label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"},"CrossSell:Personal_Injury")],e.nextOnEnter);var t,a}(),function(e={}){return oe("duiAndDWICrossSellQuestions",[z({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",Y("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[D(a),k(a),E(a),N(a),b(a),T(a),x(a)]})),v({label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"},"CrossSell:DUI_and_DWI")],e.nextOnEnter);var t,a}(),function(e={}){return oe("ssdiCrossSellQuestions",[z({headline:"You May Be Entitled To Benefits"}),G({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",Y("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[D(a),y(a),w(a),I(a),M(a),P(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Social_Security_Disability_and_Insurance")],e.nextOnEnter);var t,a}(),function(e={}){return oe("powerOfAttorneyCrossSellQuestions",[z({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",Y("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[D(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Power_of_Attorney")],e.nextOnEnter);var t,a}(),function(e={}){return oe("willsAndTrustsCrossSellQuestions",[z({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",Y("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[D(a),B(a),q(a),j(a),S(a),x(a)]})),v({label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"},"CrossSell:Wills_and_Trusts")],e.nextOnEnter);var t,a}(),function(e={},t){return oe("firstAndLast",[ee({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),J({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),$(t),A(t)],e.nextOnEnter)}({headlineClass:"!t-text-dark"})];const Pe=[Ie,e(ue,Se),{$cmp:"FormKit",props:function(t){const a=e(se,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"divorce",redirectMap:function(t){return e(fe,t)}(),valueOverrideMap:{Type_Of_Legal_Problem_Display:{"File Divorce or Separation":{Type_Of_Legal_Problem:"Divorce and Separation"},"Alimony or Child Support":{Type_Of_Legal_Problem:"Child Support"},"Divorce Disputes":{Type_Of_Legal_Problem:"Divorce and Separation"},"Child Custody":{Type_Of_Legal_Problem:"Child Custody"},Prenups:{Type_Of_Legal_Problem:"Divorce and Separation"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"}}}}),children:[function(t){return e(pe,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", "Get Help With Your Divorce Today")',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", "Select a Category to Start!")',if:"$activeStep === $firstStep()"}),...me,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return oe("divorceTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Divorce and Separation"},_()],e.nextOnEnter,e.nextOnInput,e.stepKey,e.nextStepMap)}({nextStepMap:we}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return oe("contactInfo",[ae(e),ie(e),{$el:"script",if:"$activeStep === $lastStep()",children:re},(t=e.scope,m({$formkit:"email",name:t?t+":Email":"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"}})),O(e.scope),F(e.scope),Q()],!1);var t}(),((e={})=>({$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:e.submitLabel||"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"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Se;return Pe}();