bhl-forms 0.11.11 → 0.11.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.
- package/dist/forms/accidentsAndInjuries.es.js +22 -0
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +21 -0
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/appraisals.es.js +21 -0
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +22 -0
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +22 -0
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +147 -79
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +132 -62
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/civilLawsuit1to1.es.js +23 -0
- package/dist/forms/civilLawsuit1to1.iife.js +1 -1
- package/dist/forms/coins.es.js +21 -0
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +22 -0
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +22 -0
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +22 -0
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +132 -62
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/foreclosure.es.js +22 -0
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +21 -0
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +21 -0
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +21 -0
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +24 -0
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +159 -88
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +24 -0
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +159 -88
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +159 -88
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +23 -0
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.es.js +22 -1
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +24 -0
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +159 -88
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +313 -153
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +22 -0
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +22 -0
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +21 -0
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +22 -0
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/realEstate.es.js +22 -0
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +22 -0
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +22 -0
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +21 -0
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +23 -0
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/vets.es.js +21 -0
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +376 -159
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/forms/windows.es.js +21 -0
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +22 -0
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +1 -1
|
@@ -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={"Auto and Car Accidents":{"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"},"Personal Injury":{"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"},"Workers Compensation":{"Auto and Car Accidents":"Involved in a Car Accident","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","Social Security Disability and Insurance":"Interest in SSDI Benefits"},"DUI and DWI":{"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"},"Wills and Trusts":{"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"},"Probate and Estates":{"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"},"Power of Attorney":{"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"},"Long Term Disability":{"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"},"Social Security Disability and Insurance":{"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"},"*":{"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"}},i=e=>(e.name&&!e.id&&(e.id=e.name),e),r=t=>(i(t),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)),l=e=>(e&&e.legendClass||(e.legendClass="required t-w-[100%] t-text-center"),e.fieldsetClass="$reset t-flex t-justify-center t-flex-col",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",r(e)),s=t=>(i(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),o=e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",s(e)),d=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",s(e)),c=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",s(e)),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",s(e)))(e)),p=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",s(e)),m=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",p(e)),y=t=>(i(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),f=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",y(e)),h=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",y(e)),C=t=>(i(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),g=e=>(e.wrapperClass="side-by-side t-items-center",C(e)),b=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",C(e)),v=t=>(i(t),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)),x=e=>(e.wrapperClass="side-by-side t-items-center",v(e)),I=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",v(e)),_=(e,t,a={})=>(t?b:g)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),w=(e,t,a={})=>(t?b:g)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),S=(e,t,a={})=>(t?b:g)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),D=(e,t,a={})=>(t?b:g)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.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:"Phone Number 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]",...a}),P=(t,a,i={})=>(a?b:g)(e({label:a?i.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?i.value??"50":null,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"},...i})),A=(t,a,i={})=>(a?m:u)(e({label:a?i.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},i)),T=e=>{return(t={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:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",id:e?e+":CrossSell_Bankruptcy":"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",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",r(t);var t},$=(t,a,i={})=>(a?h:f)(e({label:a?i.label:"Blood Alcohol Content Measured by Test:",name:t?t+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_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"]},i)),k=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},i)),L=(t,a,r)=>(t=>(i(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":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"'},r)),W=(t,a,i={})=>(a?d:o)(e({label:a?i.label:"Select The Divorce Issue:",name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["File Divorce or Separation","Alimony or Child Support","Divorce Disputes","Child Custody","Prenups","Not Sure or Other"]},i)),O=(t,a,i={})=>(a?d:f)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?i.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?i.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},i)),E=(t,a,i={})=>O(t,a,e(i,{help:"No payment necessary to speak with lawyers."})),j=(t,a,i={})=>(a?m:u)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?i.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},i)),F=(t,a,i={})=>(a?m:u)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?i.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},i)),M=(t,a,i={})=>(a?m:u)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?i.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},i)),B=(t,a,i={})=>(a?d:f)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?i.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},i)),N=(t,a,i={})=>(a?m:u)(e({label:a?i.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},i)),q=(t,a,i={})=>(a?I:x)(e({label:a?i.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},i)),U=(t,a,i={})=>(a?m:u)(e({name:t?t+":Pending_Charges":"Pending_Charges",label:a?i.label:"Do you currently have any pending charges?"},i)),H=(t,a,i={})=>(a?d:c)(e({label:a?i.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},i)),R=(t,a,i={})=>(a?m:u)(e({name:t?t+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:a?i.label:"Any Prior Alcohol Related Offenses?"},i)),Y=(t,a,i={})=>(a?m:u)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?i.label:"Was a Police Report Filed?"},i)),Q=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"What is Your Role in this Matter?",name:t?t+":Role_In_Matter_Probate":"Role_In_Matter_Probate",options:["Preparing My Will","Executor","Heir","Other"]},i)),V=(t,a,i={})=>(a?m:u)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?i.label:"Are You Currently Receiving Social Security Disability Benefits?"},i)),K=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},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:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),z=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"Type of Alcohol Test Performed?",name:t?t+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]},i)),G=(t,a,i={})=>(a?l:n)(e({label:a?i.label:"Type of Assets:",name:t?t+":Type_Of_Assets":"Type_Of_Assets",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]},i)),Z=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"Value of Your Assets?",name:t?t+":Value_Of_Assets":"Value_Of_Assets",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]},i)),J=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),X=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,ee=e=>{if(X(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(X(a))return a;const i=ee(a);if(i)return i}return null},te={$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 ae(t={}){return e(te,t)}function ie(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-4 t-pt-0 t-px-1"}}}function re(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 ne(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function le(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 se(e){return function(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}({headline:e.headline||"Additional Case Details",headlineClass:e.headlineClass})}function oe(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function de(e){return{$el:"h3",children:e.headline||"Do any of the following apply?",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ce(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function ue(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function pe(t,a,i={}){const{nextOnEnter:r=!0,nextOnInput:n=!1,stepKey:l,nextStepMap:s,triggerRedirectMap:o,autoFocus:d}=i;if(a&&a.length&&(r||n)){const e=ee(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===n&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,l),{children:[{$formkit:"group",id:t,name:t,nextStepMap:s,triggerRedirectMap:o,autoFocus:d,children:a}]})}function me(e,t,a,i={}){return void 0===i.nextOnInput&&(i.nextOnInput=!0),pe(e,[ne({headline:i.headline??a,headlineClass:i.headlineClass}),...Array.isArray(t)?t:[t]],i)}const ye={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 fe(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const he={};const Ce={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const ge={$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 be=[{$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}],ve={"*":"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 xe={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 broke my arm at work and need help getting compensation"',"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"'},Ie={Adoption:"Connect With Adoption Professionals Today","Auto and Car Accidents":"Connect With Accident Professionals Today",Bankruptcy:"Take Control of Your Financial Future","Birth Certificate and Name Change":"Start Your Change Today","Business Lawyers":"Connect With Business Professionals Today","Child Custody":"Connect With Custody Professionals Today","Child Support":"Connect With Child Support Professionals","Civil Rights and Discrimination":"Stand Up For Your Rights","Civil Lawsuit":"Connect With Lawsuit Professionals Today","Copyrights and Trademarks":"Protect Your Intellectual Property","Debt and Collections":"Connect With Debt Professionals Today","Divorce and Separation":"Connect With Divorce Professionals Today","DUI and DWI":"Defend Against DUI Charges","Elder Law":"Connect With Elder Law Professionals",Expungement:"Clear Your Record","Family Issues":"Connect With Family Legal Help",Foreclosure:"Fight to Keep Your Home",Guardianship:"Connect With Guardianship Professionals","Immigration and Visas":"Get Immigration Legal Help",Insurance:"Get Insurance Legal Help","Lemon Law":"Connect With Lemon Law Professionals","Long Term Disability":"Connect With Disability Professionals","Medical Malpractice":"Hold Negligent Providers Accountable","Patents and Intellectual Property":"Connect With IP Professionals Today","Personal Injury":"Maximize Your Injury Compensation","Probate and Estates":"Manage Probate with Expert Guidance","Product Liability":"Get Justice for Faulty Products","Real Estate":"Connect With Real Estate Professionals","Sexual Harassment":"Stand Up Against Sexual Harassment","Social Security Disability and Insurance":"Get the Benefits You Deserve","Tax and IRS":"Connect With Tax Legal Help","Traffic and Tickets":"Protect Your Record Today",Unemployment:"Connect With Unemployment Professionals","Victim of a Crime":"Seek Justice as a Crime Victim","Wills and Trusts":"Plan Your Estate with Confidence","Workers Compensation":"Maximize Your Workers' Comp Benefits","Wrongful Death":"Seek Justice for a Loved One","Wrongful Termination":"Fight Back Against Unfair Firing Today"},_e={},we=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Se=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],De=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Pe={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...Se],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...we],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...De],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...we],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...we],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...Se],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...Se],"Civil Rights and Discrimination":["civilRightsType",...we],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...we],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...we],"Defend a Lawsuit":["lawsuitOtherParty",...we],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...we],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Se],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...we],"Divorce and Separation":["maritalStatus","haveChildren",...Se],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...we],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...we],Expungement:["incidentDate","criminalChargeType",...Se],"Family Issues":["maritalStatus","haveChildren",...Se],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...we],Guardianship:["maritalStatus","haveChildren",...Se],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...we],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...we],"Lemon Law":["incidentDate","lawsuitOtherParty",...we],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...De],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...we],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...we],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...De],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...we],"Property Damage":["wouldLikeLawyerTo",...we],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...we],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...De],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...we],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...we],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Se],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...we],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...De],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...we],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...we],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...De],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...we]},"*":we}};function Ae(e,t=[],a={}){const i={...e};return i.values=function e(i){const r={};for(const n in i)Array.isArray(i[n])?r[n]=i[n].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof i[n]?r[n]=e(i[n]):r[n]=i[n];return r}(e.values),i}Ae(Pe,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const Te=Pe.values.Type_Of_Legal_Problem;Te["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Te["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Te["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Child Custody"],Te["Child Support"],Pe.values["*"],Te["Family Issues"];const $e={values:{Type_Of_Legal_Problem_Display:{"Alimony or Child Support":Te["Child Support"],"Child Custody":Te["Child Custody"],"Not Sure or Other":Pe.values["*"]},"*":Te["Divorce and Separation"]}};Te["Defend a Lawsuit"],Te["File a Lawsuit"];Ae({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":Te["Defend a Lawsuit"],"File a Lawsuit":Te["File a Lawsuit"]},"*":["lawsuitOtherParty",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Ae({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":Te["Auto and Car Accidents"],"Contract Disputes":Te["Business Lawyers"],"Dog Bite":Te["Personal Injury"],"Employment and Workplace":Te["Employment and Workplace"],Fraud:Te["Consumer Lawyers"],"Medical Malpractice":Te["Medical Malpractice"],"Personal Injury":Te["Personal Injury"],"Property Damage":Te["Property Damage"],"Real Estate":Te["Real Estate"],"Not Sure or Other":Pe.values["*"]},"*":["lawsuitOtherParty",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Ae({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":Te["Victim of a Crime"],"DUI and DWI":Te["DUI and DWI"],Expungement:Te.Expungement,"Not Sure or Other":Pe.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Se]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Ae({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":Te["Wrongful Termination"],"Workers Compensation":Te["Workers Compensation"],"Personal Injury":Te["Personal Injury"],Unemployment:Te.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),Te["Patents and Intellectual Property"],Te["Business Lawyers"],Te["Business Lawyers"],Pe.values["*"];Ae({values:{Type_Of_Legal_Problem_Display:{Foreclosure:Te.Foreclosure,"Landlord and Tenant":Te["Landlord and Tenant"],"Wills, Trusts, and Estates":Te["Wills and Trusts"],"Property Damage":Te["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const ke=a,Le=function(a=null){let i=xe,r=Ie,n=_e;return a&&(i=fe(xe,a),r=fe(Ie,a),n=fe(_e,a)),{type:"meta",data:e(he,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.",defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Connect With The Legal Help You Deserve",finalHeadlines:r,defaultFinalSubHeadline:"Get a no-obligation consultation with a legal expert.",finalSubHeadlines:n})}}();Le.data.dynamicSchema=[function(e={}){return me("zipcode",((e,t,a={})=>(t?b:g)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":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"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(t={}){return me("maritalStatus",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"Marital Status:",name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]},i)))(t.scope,!0,t.input),"What is your marital status?",t)}(),function(t={}){return me("haveChildren",((t,a,i={})=>(a?m:u)(e({name:t?t+":Have_Children":"Have_Children",label:a?i.label:"Do You Have Children?"},i)))(t.scope,!0,t.input),"Do you have children?",t)}(),function(t={}){return me("childRelationship",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},i)))(t.scope,!0,t.input),"Your relationship to the children:",t)}(),function(t={}){return me("childHome",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},i)))(t.scope,!0,t.input),"Who do the children currently live with?",t)}(),function(t={}){return me("childPrimaryCaregiver",((t,a,i={})=>(a?p:f)(e({label:a?i.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},i)))(t.scope,!0,t.input),"Who is the primary caregiver?",t)}(),function(e={}){return me("haveAttorney",N(e.scope,!0,e.input),"Already working with an attorney?",e)}(),function(e={}){return me("degreeOfInterest",O(e.scope,!0,e.input),"Could you pay if your issue could be resolved?",e)}(),function(t={}){return me("lawyerPaymentMethod",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?i.help:"No payment necessary to start a consultation.",name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",options:a?{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"}:["Cash","Check","Credit Card","Friend","Family","Other"],fieldsetClass:a?"$reset t-flex t-flex-col t-items-center":void 0},i)))(t.scope,!0,t.input),"How would you pay if a solution required it?",t)}(),function(e={}){return pe("commentsWithBankruptcy",[se(e),L(e.scope,0,{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}),T(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[L("CrossSell:Bankruptcy",0,{label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"})]}],{nextOnEnter:!1})}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",pe("legalCrossSells",[de(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:'$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))'})],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{Legal_CrossSells:{"Auto and Car Accidents":["autoAndCarAccidentCrossSellQuestions"],"Personal Injury":["personalInjuryCrossSellQuestions"],"Workers Compensation":["workersCompensationCrossSellQuestions"],"DUI and DWI":["duiAndDWICrossSellQuestions"],"Long Term Disability":["longTermDisabilityCrossSellQuestions"],"Social Security Disability and Insurance":["ssdiCrossSellQuestions"],Bankruptcy:["bankruptcyCrossSellQuestions"],"Power of Attorney":["powerOfAttorneyCrossSellQuestions"],"Wills and Trusts":["willsAndTrustsCrossSellQuestions"],"Divorce and Separation":["divorceAndSeparationCrossSellQuestions"],"Child Custody":["childCustodyCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}}),function(e={}){return pe("autoAndCarAccidentCrossSellQuestions",[ie({headline:"You May Be Entitled To Compensation"}),re({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",J("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[N(a),q(a),A(a),H(a),M(a),Y(a)]})),L("CrossSell:Auto_and_Car_Accidents",0,{label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("personalInjuryCrossSellQuestions",[ie({headline:"You May Be Entitled To Compensation"}),re({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",J("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[N(a),q(a),k(a),A(a),H(a),M(a)]})),L("CrossSell:Personal_Injury",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("duiAndDWICrossSellQuestions",[ie({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",J("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[N(a),q(a),R(a),z(a),$(a),U(a),E(a)]})),L("CrossSell:DUI_and_DWI",0,{label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("ssdiCrossSellQuestions",[ie({headline:"You May Be Entitled To Benefits"}),re({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",J("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[N(a),P(a),j(a),F(a),V(a),M(a)]})),L("CrossSell:Social_Security_Disability_and_Insurance",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("powerOfAttorneyCrossSellQuestions",[ie({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",J("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[N(a),E(a)]})),L("CrossSell:Power_of_Attorney",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("willsAndTrustsCrossSellQuestions",[ie({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",J("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[N(a),Z(a),G(a),Q(a),B(a),E(a)]})),L("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("firstAndLast",[oe({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),le({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),w(e.scope),S(e.scope)],e)}({headlineClass:"!t-text-dark"})];const We=[Le,e(Ce,Oe),{$cmp:"FormKit",props:function(t){const a=e(ye,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"divorce",redirectMap:function(t){return e(ve,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"}}},crossSellOptionMap:ke}),children:[function(t){return e(ge,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(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.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Select a Category to Start!")',if:"$activeStep === $firstStep()"}),...be,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return pe("divorceTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Divorce and Separation"},W(e.scope,!0,e.input)],e)}({nextStepMap:$e}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return pe("contactInfo",[ce(e),ue(e),{$el:"script",if:"$activeStep === $lastStep()",children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},_(e.scope),D(e.scope),K(e.scope),ae()],{nextOnEnter:!1})}(),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Oe;return We}();
|
|
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={"Auto and Car Accidents":{"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"},"Personal Injury":{"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"},"Workers Compensation":{"Auto and Car Accidents":"Involved in a Car Accident","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","Social Security Disability and Insurance":"Interest in SSDI Benefits"},"DUI and DWI":{"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"},"Wills and Trusts":{"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"},"Probate and Estates":{"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"},"Power of Attorney":{"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"},"Long Term Disability":{"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"},"Social Security Disability and Insurance":{"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"},"*":{"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"}},i=e=>(e.name&&!e.id&&(e.id=e.name),e),r=t=>(i(t),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)),s=e=>(e&&e.legendClass||(e.legendClass="required t-w-[100%] t-text-center"),e.fieldsetClass="$reset t-flex t-justify-center t-flex-col",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",r(e)),l=t=>(i(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),o=e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",l(e)),d=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",l(e)),c=e=>(e.legendClass="legend-left-flex md:t-max-w-[40%] required",e.fieldsetClass="$reset side-by-side-flex",e.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",e.innerClass="t-flex t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",l(e)),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",l(e)))(e)),p=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",l(e)),m=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",p(e)),y=t=>(i(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),f=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",y(e)),h=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",y(e)),C=t=>(i(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),g=e=>(e.wrapperClass="side-by-side t-items-center",C(e)),b=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",C(e)),v=t=>(i(t),e({$formkit:"DatePicker",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required t-block t-mb-3 t-font-semibold t-text-base formkit-invalid:t-text-red-500",innerClass:"t-border t-border-gray-400 formkit-invalid:t-border-red-500 t-rounded t-mb-1 focus-within:t-border-blue-500"},t)),x=e=>(e.wrapperClass="side-by-side t-items-center",v(e)),I=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",v(e)),_=(e,t,a={})=>(t?b:g)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),w=(e,t,a={})=>(t?b:g)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),S=(e,t,a={})=>(t?b:g)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),D=(e,t,a={})=>(t?b:g)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.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:"Phone Number 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]",...a}),P=(t,a,i={})=>(a?b:g)(e({label:a?i.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?i.value??"50":null,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"},...i})),A=(t,a,i={})=>(a?m:u)(e({label:a?i.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},i)),T=e=>{return(t={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:e?e+":CrossSell_Bankruptcy":"CrossSell_Bankruptcy",id:e?e+":CrossSell_Bankruptcy":"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",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",r(t);var t},$=(t,a,i={})=>(a?h:f)(e({label:a?i.label:"Blood Alcohol Content Measured by Test:",name:t?t+":Blood_Alcohol_Content_Test":"Blood_Alcohol_Content_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"]},i)),k=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},i)),L=(t,a,r)=>(t=>(i(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":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"'},r)),W=(t,a,i={})=>(a?d:o)(e({label:a?i.label:"Select The Divorce Issue:",name:t?t+":Type_Of_Legal_Problem_Display":"Type_Of_Legal_Problem_Display",options:["File Divorce or Separation","Alimony or Child Support","Divorce Disputes","Child Custody","Prenups","Not Sure or Other"]},i)),O=(t,a,i={})=>(a?d:f)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?i.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?i.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},i)),E=(t,a,i={})=>O(t,a,e(i,{help:"No payment necessary to speak with lawyers."})),j=(t,a,i={})=>(a?m:u)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?i.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},i)),F=(t,a,i={})=>(a?m:u)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?i.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},i)),M=(t,a,i={})=>(a?m:u)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?i.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},i)),B=(t,a,i={})=>(a?d:f)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?i.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},i)),N=(t,a,i={})=>(a?m:u)(e({label:a?i.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},i)),q=(t,a,i={})=>(a?I:x)(e({label:a?i.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},i)),U=(t,a,i={})=>(a?m:u)(e({name:t?t+":Pending_Charges":"Pending_Charges",label:a?i.label:"Do you currently have any pending charges?"},i)),H=(t,a,i={})=>(a?d:c)(e({label:a?i.label:"Primary Injury:",name:t?t+":Primary_Injury":"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Not Sure or Other"]},i)),R=(t,a,i={})=>(a?m:u)(e({name:t?t+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:a?i.label:"Any Prior Alcohol Related Offenses?"},i)),Y=(t,a,i={})=>(a?m:u)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?i.label:"Was a Police Report Filed?"},i)),Q=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"What is Your Role in this Matter?",name:t?t+":Role_In_Matter_Probate":"Role_In_Matter_Probate",options:["Preparing My Will","Executor","Heir","Other"]},i)),V=(t,a,i={})=>(a?m:u)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?i.label:"Are You Currently Receiving Social Security Disability Benefits?"},i)),K=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},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:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),z=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"Type of Alcohol Test Performed?",name:t?t+":Type_Of_Alcohol_Test":"Type_Of_Alcohol_Test",options:["No Test","Refused Test","Breath Test","Blood Test","Urine Test","Don't Know"]},i)),G=(t,a,i={})=>(a?s:n)(e({label:a?i.label:"Type of Assets:",name:t?t+":Type_Of_Assets":"Type_Of_Assets",options:["Business Interests","Cash","Life Insurance Policies","Pensions/Retirement","Personal Possessions","Property","Stock/Bonds"]},i)),Z=(t,a,i={})=>(a?d:f)(e({label:a?i.label:"Value of Your Assets?",name:t?t+":Value_Of_Assets":"Value_Of_Assets",options:["Less than 50K","50K to 100K","100K to 250K","250K to 500K","500K to 1M","More than 1M"]},i)),J=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),X=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,ee=e=>{if(X(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(X(a))return a;const i=ee(a);if(i)return i}return null},te={$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 ae(t={}){return e(te,t)}function ie(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-4 t-pt-0 t-px-1"}}}function re(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 ne(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function se(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 le(e){return function(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}({headline:e.headline||"Additional Case Details",headlineClass:e.headlineClass})}function oe(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function de(e){return{$el:"h3",children:e.headline||"Do any of the following apply?",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ce(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function ue(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function pe(t,a,i={}){const{nextOnEnter:r=!0,nextOnInput:n=!1,stepKey:s,nextStepMap:l,triggerRedirectMap:o,autoFocus:d}=i;if(a&&a.length&&(r||n)){const e=ee(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===n&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,s),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:o,autoFocus:d,children:a}]})}function me(e,t,a,i={}){return void 0===i.nextOnInput&&(i.nextOnInput=!0),pe(e,[ne({headline:i.headline??a,headlineClass:i.headlineClass}),...Array.isArray(t)?t:[t]],i)}const ye={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 fe(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const he={};const Ce={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const ge={$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 be=[{$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}],ve={"*":"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 xe={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 broke my arm at work and need help getting compensation"',"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"'},Ie={Adoption:"Connect With Adoption Professionals Today","Auto and Car Accidents":"Connect With Accident Professionals Today",Bankruptcy:"Take Control of Your Financial Future","Birth Certificate and Name Change":"Start Your Change Today","Business Lawyers":"Connect With Business Professionals Today","Child Custody":"Connect With Custody Professionals Today","Child Support":"Connect With Child Support Professionals","Civil Rights and Discrimination":"Stand Up For Your Rights","Civil Lawsuit":"Connect With Lawsuit Professionals Today","Copyrights and Trademarks":"Protect Your Intellectual Property","Debt and Collections":"Connect With Debt Professionals Today","Divorce and Separation":"Connect With Divorce Professionals Today","DUI and DWI":"Defend Against DUI Charges","Elder Law":"Connect With Elder Law Professionals",Expungement:"Clear Your Record","Family Issues":"Connect With Family Legal Help",Foreclosure:"Fight to Keep Your Home",Guardianship:"Connect With Guardianship Professionals","Immigration and Visas":"Get Immigration Legal Help",Insurance:"Get Insurance Legal Help","Lemon Law":"Connect With Lemon Law Professionals","Long Term Disability":"Connect With Disability Professionals","Medical Malpractice":"Hold Negligent Providers Accountable","Patents and Intellectual Property":"Connect With IP Professionals Today","Personal Injury":"Maximize Your Injury Compensation","Probate and Estates":"Manage Probate with Expert Guidance","Product Liability":"Get Justice for Faulty Products","Real Estate":"Connect With Real Estate Professionals","Sexual Harassment":"Stand Up Against Sexual Harassment","Social Security Disability and Insurance":"Get the Benefits You Deserve","Tax and IRS":"Connect With Tax Legal Help","Traffic and Tickets":"Protect Your Record Today",Unemployment:"Connect With Unemployment Professionals","Victim of a Crime":"Seek Justice as a Crime Victim","Wills and Trusts":"Plan Your Estate with Confidence","Workers Compensation":"Maximize Your Workers' Comp Benefits","Wrongful Death":"Seek Justice for a Loved One","Wrongful Termination":"Fight Back Against Unfair Firing Today"},_e={},we=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Se=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],De=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Pe={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...Se],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...we],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...De],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...we],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...we],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...Se],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...Se],"Civil Rights and Discrimination":["civilRightsType",...we],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...we],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...we],"Defend a Lawsuit":["lawsuitOtherParty",...we],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...we],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Se],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...we],"Divorce and Separation":["maritalStatus","haveChildren",...Se],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...we],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...we],Expungement:["incidentDate","criminalChargeType",...Se],"Family Issues":["maritalStatus","haveChildren",...Se],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...we],Guardianship:["maritalStatus","haveChildren",...Se],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...we],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...we],"Lemon Law":["incidentDate","lawsuitOtherParty",...we],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...De],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...we],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...we],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...De],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...we],"Property Damage":["wouldLikeLawyerTo",...we],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...we],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...De],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...we],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...we],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Se],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...we],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...De],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...we],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...we],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...De],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...we]},"*":we}};function Ae(e,t=[],a={}){const i={...e};return i.values=function e(i){const r={};for(const n in i)Array.isArray(i[n])?r[n]=i[n].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof i[n]?r[n]=e(i[n]):r[n]=i[n];return r}(e.values),i}Ae(Pe,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const Te=Pe.values.Type_Of_Legal_Problem;Te["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Te["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Te["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Personal Injury"].filter((e=>"legalCrossSells"!==e)),Te["Child Custody"],Te["Child Support"],Pe.values["*"],Te["Family Issues"];const $e={values:{Type_Of_Legal_Problem_Display:{"Alimony or Child Support":Te["Child Support"],"Child Custody":Te["Child Custody"],"Not Sure or Other":Pe.values["*"]},"*":Te["Divorce and Separation"]}};Te["Defend a Lawsuit"],Te["File a Lawsuit"];Ae({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":Te["Defend a Lawsuit"],"File a Lawsuit":Te["File a Lawsuit"]},"*":["lawsuitOtherParty",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Ae({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":Te["Auto and Car Accidents"],"Contract Disputes":Te["Business Lawyers"],"Dog Bite":Te["Personal Injury"],"Employment and Workplace":Te["Employment and Workplace"],Fraud:Te["Consumer Lawyers"],"Medical Malpractice":Te["Medical Malpractice"],"Personal Injury":Te["Personal Injury"],"Property Damage":Te["Property Damage"],"Real Estate":Te["Real Estate"],"Not Sure or Other":Pe.values["*"]},"*":["lawsuitOtherParty",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Ae({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":Te["Victim of a Crime"],"DUI and DWI":Te["DUI and DWI"],Expungement:Te.Expungement,"Not Sure or Other":Pe.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Se]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Ae({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":Te["Wrongful Termination"],"Workers Compensation":Te["Workers Compensation"],"Personal Injury":Te["Personal Injury"],Unemployment:Te.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),Te["Workplace Harassment"],Te["Workplace Discrimination"],Te["Probate and Estates"],Te["Wills and Trusts"],Te["Wrongful Death"],Te["Patents and Intellectual Property"],Te["Business Lawyers"],Te["Business Lawyers"],Pe.values["*"];Ae({values:{Type_Of_Legal_Problem_Display:{Foreclosure:Te.Foreclosure,"Landlord and Tenant":Te["Landlord and Tenant"],"Wills, Trusts, and Estates":Te["Wills and Trusts"],"Property Damage":Te["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...we]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const ke=a,Le=function(a=null){let i=xe,r=Ie,n=_e;return a&&(i=fe(xe,a),r=fe(Ie,a),n=fe(_e,a)),{type:"meta",data:e(he,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937.",defaultCommentsPlaceholder:t,commentsPlaceholders:i,defaultFinalHeadline:"Connect With The Legal Help You Deserve",finalHeadlines:r,defaultFinalSubHeadline:"Get a no-obligation consultation with a legal expert.",finalSubHeadlines:n})}}();Le.data.dynamicSchema=[function(e={}){return me("zipcode",((e,t,a={})=>(t?b:g)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":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"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(t={}){return me("maritalStatus",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"Marital Status:",name:t?t+":Marital_Status":"Marital_Status",options:["Unmarried, Living Together","Unmarried, Do Not Live Together","Married, Living Together","Separated","Divorced","Other"]},i)))(t.scope,!0,t.input),"What is your marital status?",t)}(),function(t={}){return me("haveChildren",((t,a,i={})=>(a?m:u)(e({name:t?t+":Have_Children":"Have_Children",label:a?i.label:"Do You Have Children?"},i)))(t.scope,!0,t.input),"Do you have children?",t)}(),function(t={}){return me("childRelationship",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},i)))(t.scope,!0,t.input),"Your relationship to the children:",t)}(),function(t={}){return me("childHome",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},i)))(t.scope,!0,t.input),"Who do the children currently live with?",t)}(),function(t={}){return me("childPrimaryCaregiver",((t,a,i={})=>(a?p:f)(e({label:a?i.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},i)))(t.scope,!0,t.input),"Who is the primary caregiver?",t)}(),function(e={}){return me("haveAttorney",N(e.scope,!0,e.input),"Already working with an attorney?",e)}(),function(e={}){return me("degreeOfInterest",O(e.scope,!0,e.input),"Could you pay if your issue could be resolved?",e)}(),function(t={}){return me("lawyerPaymentMethod",((t,a,i={})=>(a?d:f)(e({label:a?i.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?i.help:"No payment necessary to start a consultation.",name:t?t+":Lawyer_Payment_Method":"Lawyer_Payment_Method",options:a?{Cash:"Cash","Credit Card":"Credit Card",Family:"Family or Friend",Other:"Other"}:["Cash","Check","Credit Card","Friend","Family","Other"],fieldsetClass:a?"$reset t-flex t-flex-col t-items-center":void 0},i)))(t.scope,!0,t.input),"How would you pay if a solution required it?",t)}(),function(e={}){return pe("commentsWithBankruptcy",[le(e),L(e.scope,0,{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}),T(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[L("CrossSell:Bankruptcy",0,{label:"Bankruptcy or debt details:",placeholder:"Please describe your bankrtupcy or debt situation in a few words...",inputClass:"!t-h-16"})]}],{nextOnEnter:!1})}({label:null,headline:"Please briefly describe your situation:",headlineClass:"!t-text-dark"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",pe("legalCrossSells",[de(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:'$getCrossSellOptions($get(form), $getVal($get(form), "Type_Of_Legal_Problem"))'})],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{Legal_CrossSells:{"Auto and Car Accidents":["autoAndCarAccidentCrossSellQuestions"],"Personal Injury":["personalInjuryCrossSellQuestions"],"Workers Compensation":["workersCompensationCrossSellQuestions"],"DUI and DWI":["duiAndDWICrossSellQuestions"],"Long Term Disability":["longTermDisabilityCrossSellQuestions"],"Social Security Disability and Insurance":["ssdiCrossSellQuestions"],Bankruptcy:["bankruptcyCrossSellQuestions"],"Power of Attorney":["powerOfAttorneyCrossSellQuestions"],"Wills and Trusts":["willsAndTrustsCrossSellQuestions"],"Divorce and Separation":["divorceAndSeparationCrossSellQuestions"],"Child Custody":["childCustodyCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}}),function(e={}){return pe("autoAndCarAccidentCrossSellQuestions",[ie({headline:"You May Be Entitled To Compensation"}),re({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",J("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[N(a),q(a),A(a),H(a),M(a),Y(a)]})),L("CrossSell:Auto_and_Car_Accidents",0,{label:"Accident Description:",placeholder:"Please describe your accident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("personalInjuryCrossSellQuestions",[ie({headline:"You May Be Entitled To Compensation"}),re({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",J("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[N(a),q(a),k(a),A(a),H(a),M(a)]})),L("CrossSell:Personal_Injury",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("duiAndDWICrossSellQuestions",[ie({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",J("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[N(a),q(a),R(a),z(a),$(a),U(a),E(a)]})),L("CrossSell:DUI_and_DWI",0,{label:"Incident Description:",placeholder:"Please describe your incident in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("ssdiCrossSellQuestions",[ie({headline:"You May Be Entitled To Benefits"}),re({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",J("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[N(a),P(a),j(a),F(a),V(a),M(a)]})),L("CrossSell:Social_Security_Disability_and_Insurance",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("powerOfAttorneyCrossSellQuestions",[ie({headline:"Power of Attorney Information"}),(t="true",a="CrossSell:Power_of_Attorney",J("PowerofAttorneyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[N(a),E(a)]})),L("CrossSell:Power_of_Attorney",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("willsAndTrustsCrossSellQuestions",[ie({headline:"Will or Trust Information"}),(t="true",a="CrossSell:Wills_and_Trusts",J("WillsAndTrustsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[N(a),Z(a),G(a),Q(a),B(a),E(a)]})),L("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return pe("firstAndLast",[oe({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),se({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),w(e.scope),S(e.scope)],e)}({headlineClass:"!t-text-dark"})];const We=[Le,e(Ce,Oe),{$cmp:"FormKit",props:function(t){const a=e(ye,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"divorce",redirectMap:function(t){return e(ve,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"}}},crossSellOptionMap:ke}),children:[function(t){return e(ge,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.7rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")+" f-first-headline"}}}(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.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Select a Category to Start!")',if:"$activeStep === $firstStep()"}),...be,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return pe("divorceTOLP",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Divorce and Separation"},W(e.scope,!0,e.input)],e)}({nextStepMap:$e}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return pe("contactInfo",[ce(e),ue(e),{$el:"script",if:"$activeStep === $lastStep()",children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},_(e.scope),D(e.scope),K(e.scope),ae()],{nextOnEnter:!1})}(),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Oe;return We}();
|
|
@@ -372,14 +372,11 @@ const verticalDate = (updates) => {
|
|
|
372
372
|
return date(updates)
|
|
373
373
|
};
|
|
374
374
|
|
|
375
|
-
const
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
return func({
|
|
379
|
-
$formkit: "email",
|
|
375
|
+
const emailFL = (scope, updates = {}) => {
|
|
376
|
+
return text({
|
|
377
|
+
$formkit: "FloatingLabelText",
|
|
380
378
|
name: scope ? scope + ":" + "Email" : "Email",
|
|
381
|
-
|
|
382
|
-
placeholder: "email@domain.com",
|
|
379
|
+
placeholder: "Email Address",
|
|
383
380
|
autocomplete: "email",
|
|
384
381
|
"data-tf-sensitive": "false",
|
|
385
382
|
validation: "required|email",
|
|
@@ -387,59 +384,72 @@ const email = (scope, vertical, updates = {}) => {
|
|
|
387
384
|
required: "Email is required",
|
|
388
385
|
email: "Invalid Email",
|
|
389
386
|
},
|
|
387
|
+
inputClass: "t-text-center",
|
|
388
|
+
wrapperClass: "t-flex t-justify-center",
|
|
390
389
|
...updates,
|
|
391
390
|
})
|
|
392
391
|
};
|
|
393
392
|
|
|
394
|
-
const
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
return func({
|
|
398
|
-
label,
|
|
393
|
+
const firstNameFL = (scope, updates = {}) => {
|
|
394
|
+
return text({
|
|
395
|
+
$formkit: "FloatingLabelText",
|
|
399
396
|
placeholder: "First Name",
|
|
400
397
|
name: scope ? scope + ":" + "First_Name" : "First_Name",
|
|
401
398
|
autocomplete: "given-name",
|
|
402
399
|
validationMessages: {
|
|
403
400
|
required: "First Name is required",
|
|
404
401
|
},
|
|
402
|
+
inputClass: "t-text-center",
|
|
405
403
|
...updates,
|
|
406
404
|
})
|
|
407
405
|
};
|
|
408
406
|
|
|
409
|
-
const
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
return func({
|
|
413
|
-
label,
|
|
407
|
+
const lastNameFL = (scope, updates = {}) => {
|
|
408
|
+
return text({
|
|
409
|
+
$formkit: "FloatingLabelText",
|
|
414
410
|
placeholder: "Last Name",
|
|
415
411
|
name: scope ? scope + ":" + "Last_Name" : "Last_Name",
|
|
416
412
|
autocomplete: "family-name",
|
|
417
413
|
validationMessages: {
|
|
418
414
|
required: "Last Name is required",
|
|
419
415
|
},
|
|
416
|
+
inputClass: "t-text-center",
|
|
420
417
|
...updates,
|
|
421
418
|
})
|
|
422
419
|
};
|
|
423
420
|
|
|
424
|
-
const
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
421
|
+
const fullNameFLMobileCol = (scope, updates = {}) => {
|
|
422
|
+
return {
|
|
423
|
+
$el: "div",
|
|
424
|
+
attrs: {
|
|
425
|
+
class: "t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]",
|
|
426
|
+
},
|
|
427
|
+
children: [
|
|
428
|
+
firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
429
|
+
lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
430
|
+
],
|
|
431
|
+
}
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
const phoneFL = (scope, updates = {}) => {
|
|
435
|
+
return text({
|
|
436
|
+
$formkit: "FloatingLabelText",
|
|
437
|
+
datatype: "tel",
|
|
429
438
|
name: scope ? scope + ":" + "Primary_Phone" : "Primary_Phone",
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
help: updates.help || "10-digit phone number, hyphens optional",
|
|
439
|
+
placeholder: updates.placeholder || "Phone Number",
|
|
440
|
+
maxlength: 14,
|
|
441
|
+
help: updates.help || null,
|
|
434
442
|
autocomplete: "tel-national",
|
|
435
443
|
"data-tf-sensitive": "false",
|
|
436
|
-
validation: "required|matches:/^[0-9]{3}
|
|
444
|
+
validation: "required|matches:/^[0-9]{3}[0-9]{3}[0-9]{4}$/|valid_phone",
|
|
437
445
|
validationMessages: {
|
|
438
446
|
required: "Phone Number is required",
|
|
439
|
-
matches: "Invalid Phone Format, use
|
|
447
|
+
matches: "Invalid Phone Format, use (XXX) YYY-ZZZZ",
|
|
440
448
|
valid_phone: "Invalid Phone Number",
|
|
441
449
|
},
|
|
442
450
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]",
|
|
451
|
+
inputClass: "t-text-center",
|
|
452
|
+
wrapperClass: "t-flex t-justify-center",
|
|
443
453
|
...updates,
|
|
444
454
|
})
|
|
445
455
|
};
|
|
@@ -767,10 +777,12 @@ const employeeAtCompany$1 = (scope, vertical, updates = {}) => {
|
|
|
767
777
|
const employmentAndWorkplaceTOLPDisplay = (scope, vertical, updates = {}) => {
|
|
768
778
|
const func = vertical ? col2RadioCenter : col2Radio;
|
|
769
779
|
const label = vertical ? updates.label : "Select The Workplace Issue:";
|
|
780
|
+
const _if = vertical ? updates.if : '$get(Type_Of_Legal_Problem).value == "Employment and Workplace"';
|
|
770
781
|
return func(
|
|
771
782
|
merge(
|
|
772
783
|
{
|
|
773
784
|
label,
|
|
785
|
+
if: _if,
|
|
774
786
|
name: scope ? scope + ":" + "Type_Of_Legal_Problem_Display" : "Type_Of_Legal_Problem_Display",
|
|
775
787
|
options: [
|
|
776
788
|
"Workplace Harassment",
|
|
@@ -1305,6 +1317,24 @@ function secureIcon(updates = {}) {
|
|
|
1305
1317
|
return merge(secureIconDefault, updates)
|
|
1306
1318
|
}
|
|
1307
1319
|
|
|
1320
|
+
function secureIconStandalone(updates = {}) {
|
|
1321
|
+
return {
|
|
1322
|
+
if: "$activeStep === $lastStep()",
|
|
1323
|
+
style: {
|
|
1324
|
+
if: "$activeStep !== $lastStep()",
|
|
1325
|
+
then: "display: none;",
|
|
1326
|
+
},
|
|
1327
|
+
children: [
|
|
1328
|
+
secureIcon({
|
|
1329
|
+
attrs: {
|
|
1330
|
+
class: "t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8",
|
|
1331
|
+
},
|
|
1332
|
+
...updates,
|
|
1333
|
+
}),
|
|
1334
|
+
],
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1308
1338
|
function crossSellQuestionsStepHeadline(updates) {
|
|
1309
1339
|
return {
|
|
1310
1340
|
$el: "h3",
|
|
@@ -1338,19 +1368,6 @@ function verticalStepHeadline(updates) {
|
|
|
1338
1368
|
}
|
|
1339
1369
|
}
|
|
1340
1370
|
|
|
1341
|
-
function verticalStepSubHeadline(updates) {
|
|
1342
|
-
return {
|
|
1343
|
-
$el: "h5",
|
|
1344
|
-
children: updates.subheadline || "",
|
|
1345
|
-
attrs: {
|
|
1346
|
-
class:
|
|
1347
|
-
"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" +
|
|
1348
|
-
" " +
|
|
1349
|
-
(updates.subheadlineClass || ""),
|
|
1350
|
-
},
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
1371
|
function commentsStepHeadline(updates) {
|
|
1355
1372
|
return {
|
|
1356
1373
|
$el: "h3",
|
|
@@ -1520,6 +1537,7 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1520
1537
|
comments(updates.scope, false, {
|
|
1521
1538
|
label: typeof updates.label === "undefined" ? DEFAULT_COMMENTS_LABEL_LEGAL : updates.label,
|
|
1522
1539
|
placeholder: updates.placeholder || DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_LEGAL,
|
|
1540
|
+
// TODO: this is a mess
|
|
1523
1541
|
inputClass: typeof updates.inputClass === "undefined" ? "!t-h-32" : updates.inputClass,
|
|
1524
1542
|
}),
|
|
1525
1543
|
// TODO: needs scope support
|
|
@@ -1540,23 +1558,40 @@ function commentsWithBankruptcy(updates = {}) {
|
|
|
1540
1558
|
)
|
|
1541
1559
|
}
|
|
1542
1560
|
|
|
1543
|
-
function
|
|
1561
|
+
function contactInfoV2(updates = {}) {
|
|
1544
1562
|
return step(
|
|
1545
1563
|
"contactInfo",
|
|
1546
1564
|
[
|
|
1547
1565
|
contactStepHeadline(updates),
|
|
1548
1566
|
contactStepSubHeadline(updates),
|
|
1549
1567
|
trustedFormScript(),
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1568
|
+
{
|
|
1569
|
+
$el: "div",
|
|
1570
|
+
attrs: {
|
|
1571
|
+
class: "t-flex t-flex-col t-justify-center t-items-center",
|
|
1572
|
+
},
|
|
1573
|
+
children: [
|
|
1574
|
+
emailFL(updates.scope, {
|
|
1575
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
1576
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
1577
|
+
}),
|
|
1578
|
+
phoneFL(updates.scope, {
|
|
1579
|
+
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
1580
|
+
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
1581
|
+
}),
|
|
1582
|
+
],
|
|
1583
|
+
},
|
|
1584
|
+
TCPAConsent(updates.scope, {
|
|
1585
|
+
outerClass: "!t-flex !t-flex-col !t-justify-center !t-items-center",
|
|
1586
|
+
wrapperClass: "t-w-[95%] sm:t-w-[80%]",
|
|
1587
|
+
messagesClass: "t-w-[95%] sm:t-w-[80%]",
|
|
1588
|
+
}),
|
|
1554
1589
|
],
|
|
1555
1590
|
{ nextOnEnter: false }
|
|
1556
1591
|
)
|
|
1557
1592
|
}
|
|
1558
1593
|
|
|
1559
|
-
function
|
|
1594
|
+
function firstAndLastV4(updates = {}) {
|
|
1560
1595
|
return step(
|
|
1561
1596
|
"firstAndLast",
|
|
1562
1597
|
[
|
|
@@ -1564,12 +1599,13 @@ function firstAndLastV3(updates = {}) {
|
|
|
1564
1599
|
headline: updates.headline ?? "Who is looking for help?",
|
|
1565
1600
|
headlineClass: updates.headlineClass,
|
|
1566
1601
|
}),
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1602
|
+
{
|
|
1603
|
+
$el: "div",
|
|
1604
|
+
attrs: {
|
|
1605
|
+
class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
|
|
1606
|
+
},
|
|
1607
|
+
children: [fullNameFLMobileCol(updates.scope)],
|
|
1608
|
+
},
|
|
1573
1609
|
],
|
|
1574
1610
|
updates
|
|
1575
1611
|
)
|
|
@@ -1890,13 +1926,17 @@ function criminalChargesFiled(updates = {}) {
|
|
|
1890
1926
|
)
|
|
1891
1927
|
}
|
|
1892
1928
|
|
|
1893
|
-
const
|
|
1929
|
+
const formNavigationNoFinalBack = (updates = {}) => ({
|
|
1894
1930
|
$el: "div",
|
|
1895
1931
|
attrs: {
|
|
1896
1932
|
class: {
|
|
1897
1933
|
if: "$activeStep === $firstStep()",
|
|
1898
1934
|
then: "step-nav " + (updates.firstStepButtonClass || "!t-justify-center sm:!t-justify-between"),
|
|
1899
|
-
else:
|
|
1935
|
+
else: {
|
|
1936
|
+
if: "$activeStep === $lastStep()",
|
|
1937
|
+
then: "step-nav !t-justify-center ",
|
|
1938
|
+
else: "step-nav !t-justify-between",
|
|
1939
|
+
},
|
|
1900
1940
|
},
|
|
1901
1941
|
},
|
|
1902
1942
|
children: [
|
|
@@ -1906,12 +1946,12 @@ const formNavigation = (updates = {}) => ({
|
|
|
1906
1946
|
onClick: "$setPreviousStep($prevStepFunc($get(form)))",
|
|
1907
1947
|
children: "Back",
|
|
1908
1948
|
outerClass: {
|
|
1909
|
-
if: "$activeStep
|
|
1949
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
1910
1950
|
then: "t-hidden sm:t-block",
|
|
1911
1951
|
else: "",
|
|
1912
1952
|
},
|
|
1913
1953
|
style: {
|
|
1914
|
-
if: "$activeStep
|
|
1954
|
+
if: "$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",
|
|
1915
1955
|
then: "display: none;",
|
|
1916
1956
|
},
|
|
1917
1957
|
classes: {
|
|
@@ -1950,7 +1990,8 @@ const formNavigation = (updates = {}) => ({
|
|
|
1950
1990
|
then: "display: none;",
|
|
1951
1991
|
},
|
|
1952
1992
|
classes: {
|
|
1953
|
-
input: (updates.inputClass || "") + "
|
|
1993
|
+
input: (updates.inputClass || "") + " f-navigation-input !t-w-60",
|
|
1994
|
+
outer: "!t-mt-0 !t-mb-0",
|
|
1954
1995
|
},
|
|
1955
1996
|
},
|
|
1956
1997
|
],
|
|
@@ -3026,6 +3067,27 @@ filterNextStepsMap(
|
|
|
3026
3067
|
},
|
|
3027
3068
|
});
|
|
3028
3069
|
|
|
3070
|
+
({
|
|
3071
|
+
values: {
|
|
3072
|
+
Type_Of_Legal_Problem: {
|
|
3073
|
+
"Workplace Harassment": TOLPNextSteps["Workplace Harassment"],
|
|
3074
|
+
"Workplace Discrimination": TOLPNextSteps["Workplace Discrimination"],
|
|
3075
|
+
},
|
|
3076
|
+
"*": [...nextStepsLegalDefault],
|
|
3077
|
+
},
|
|
3078
|
+
});
|
|
3079
|
+
|
|
3080
|
+
({
|
|
3081
|
+
values: {
|
|
3082
|
+
Type_Of_Legal_Problem: {
|
|
3083
|
+
"Probate and Estates": TOLPNextSteps["Probate and Estates"],
|
|
3084
|
+
"Wills and Trusts": TOLPNextSteps["Wills and Trusts"],
|
|
3085
|
+
"Wrongful Death": TOLPNextSteps["Wrongful Death"],
|
|
3086
|
+
},
|
|
3087
|
+
"*": [...nextStepsLegalDefault],
|
|
3088
|
+
},
|
|
3089
|
+
});
|
|
3090
|
+
|
|
3029
3091
|
({
|
|
3030
3092
|
values: {
|
|
3031
3093
|
Type_Of_Legal_Problem_Display: {
|
|
@@ -3102,7 +3164,6 @@ meta.data.dynamicSchema = [
|
|
|
3102
3164
|
numEmployeesOfBusiness(),
|
|
3103
3165
|
primaryInjury(),
|
|
3104
3166
|
relationshipToVictim(),
|
|
3105
|
-
zipcode(),
|
|
3106
3167
|
commentsWithBankruptcy({
|
|
3107
3168
|
label: null,
|
|
3108
3169
|
headline: "Please briefly describe your situation:",
|
|
@@ -3121,7 +3182,7 @@ meta.data.dynamicSchema = [
|
|
|
3121
3182
|
willsAndTrustsCrossSellQuestions(),
|
|
3122
3183
|
divorceAndSeparationCrossSellQuestions(),
|
|
3123
3184
|
childCustodyCrossSellQuestions(),
|
|
3124
|
-
|
|
3185
|
+
firstAndLastV4({
|
|
3125
3186
|
headlineClass: "!t-text-dark",
|
|
3126
3187
|
}),
|
|
3127
3188
|
];
|
|
@@ -3156,8 +3217,17 @@ const schema = [
|
|
|
3156
3217
|
nextStepMap: nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
|
|
3157
3218
|
}),
|
|
3158
3219
|
dynamicSchemaNode(),
|
|
3159
|
-
|
|
3160
|
-
|
|
3220
|
+
zipcode(),
|
|
3221
|
+
contactInfoV2({
|
|
3222
|
+
subheadlineClass: "!t-text-base",
|
|
3223
|
+
}),
|
|
3224
|
+
formNavigationNoFinalBack({
|
|
3225
|
+
startText: "Start Now",
|
|
3226
|
+
submitLabel: "Get Help Now",
|
|
3227
|
+
inputClass: "!t-font-extrabold",
|
|
3228
|
+
firstStepButtonClass: "!t-justify-center",
|
|
3229
|
+
}),
|
|
3230
|
+
secureIconStandalone(),
|
|
3161
3231
|
formDetails(),
|
|
3162
3232
|
],
|
|
3163
3233
|
},
|