bhl-forms 0.11.10 → 0.11.11
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 +6 -2
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +6 -2
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/appraisals.es.js +6 -2
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +6 -2
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +6 -2
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +6 -2
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/civilLawsuit.es.js +99 -20
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/civilLawsuit1to1.es.js +2576 -0
- package/dist/forms/civilLawsuit1to1.iife.js +1 -0
- package/dist/forms/civilLawsuit1to1.json +1 -0
- package/dist/forms/coins.es.js +6 -2
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +6 -2
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +6 -2
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +6 -2
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +6 -2
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/foreclosure.es.js +6 -2
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +6 -2
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +6 -2
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +6 -2
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +6 -2
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +7 -3
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +6 -2
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +7 -3
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +7 -3
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +7 -3
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -1
- package/dist/forms/generalLegalSingle1to1.json +1 -1
- package/dist/forms/generalLegalSingleMinimal.es.js +6 -2
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.es.js +6 -2
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +7 -3
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +6 -2
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +6 -2
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +6 -2
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +6 -2
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +7 -3
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +6 -2
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +6 -2
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +6 -2
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +6 -2
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +6 -2
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +6 -2
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +6 -2
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/windows.es.js +6 -2
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +6 -2
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var willsAndTrusts=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"}},s=e=>(e.name&&!e.id&&(e.id=e.name),e),i=t=>(s(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),r=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",i(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",i(e)),n=t=>(s(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",n(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",n(e)),u=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",n(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",n(e)),p=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",n(e)))(e)),m=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",n(e)),y=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",m(e)),f=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",n(e)),h=t=>(s(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),C=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]",h(e)),g=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",h(e)),b=t=>(s(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),_=e=>(e.wrapperClass="side-by-side t-items-center",b(e)),I=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",b(e)),v=t=>(s(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)),w=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",v(e)),S=(e,t,a={})=>(t?I:_)({$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}),D=(e,t,a={})=>(t?I:_)({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}),P=(e,t,a={})=>(t?I:_)({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}),A=(e,t,a={})=>(t?I:_)({$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}),T=(e,t,a={})=>(t?I:_)({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}),$=(t,a,s={})=>(a?I:_)(e({label:a?s.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?s.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"},...s})),k=(t,a,s={})=>(a?y:p)(e({label:a?s.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},s)),L=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",i(t);var t},W=(t,a,s={})=>(a?g:C)(e({label:a?s.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"]},s)),O=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Cause of Injury:",name:t?t+":Cause_Of_Injury":"Cause_Of_Injury",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]},s)),E=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"What was the Cause of the Victim's Death?",name:t?t+":Cause_Of_Death":"Cause_Of_Death",options:["Vehicle Accident","Negligent/Careless Act","Reckless Act","Other"]},s)),j=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},s)),F=(t,a,s={})=>(a?m:C)(e({label:a?s.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},s)),N=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},s)),B=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},s)),M=(t,a,i)=>(t=>(s(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"'},i)),q=(t,a,s={})=>(a?f:u)(e({label:a?s.label:"Were Criminal Charges Filed?",name:t?t+":Criminal_Charges_Filed":"Criminal_Charges_Filed",options:["Yes","No","Not Sure"]},s)),U=(t,a,s={})=>(a?d:C)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?s.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?s.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},s)),R=(t,a,s={})=>U(t,a,e(s,{help:"No payment necessary to speak with lawyers."})),H=(t,a,s={})=>(a?y:p)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?s.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},s)),Y=(t,a,s={})=>(a?y:p)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?s.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},s)),Q=(t,a,s={})=>(a?y:p)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?s.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},s)),V=(t,a,s={})=>(a?d:C)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?s.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},s)),K=(t,a,s={})=>(a?y:p)(e({label:a?s.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},s)),z=(t,a,s={})=>(a?y:p)(e({name:t?t+":Have_Children":"Have_Children",label:a?s.label:"Do You Have Children?"},s)),G=(t,a,s={})=>(a?w:x)(e({label:a?s.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},s)),Z=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?s.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},s)),J=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),X=(t,a,s={})=>(a?y:p)(e({name:t?t+":Pending_Charges":"Pending_Charges",label:a?s.label:"Do you currently have any pending charges?"},s)),ee=(t,a,s={})=>(a?d:c)(e({label:a?s.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"]},s)),te=(t,a,s={})=>(a?y:p)(e({name:t?t+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:a?s.label:"Any Prior Alcohol Related Offenses?"},s)),ae=(t,a,s={})=>(a?y:p)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?s.label:"Was a Police Report Filed?"},s)),se=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Relationship to the Victim:",name:t?t+":Relationship_To_Victim":"Relationship_To_Victim",options:["Parent","Spouse","Sibling","Friend","Other"]},s)),ie=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),re=(t,a,s={})=>(a?y:p)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?s.label:"Are You Currently Receiving Social Security Disability Benefits?"},s)),le=(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:"")}}),ne=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),oe=(t,a,s={})=>(a?l:r)(e({label:a?s.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"]},s)),de=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),ue=(t,a,s={})=>(a?d:o)(e({label:a?s.label:"Type of Help Needed:",id:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",name:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",options:["Wills and Trusts","Probate and Estates","Power of Attorney","Wrongful Death","Not Sure or Other"]},s)),ce=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),pe=(e,t)=>ce("FamilyIssuesQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[K(t),J(t),z(t),U(t),Z(t)]}),me=(e,t)=>ce("PowerofAttorneyQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[K(t),R(t)]}),ye=(e,t)=>ce("WillsAndTrustsQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[K(t),de(t),oe(t),ie(t),V(t),R(t)]}),fe=(e,t)=>ce("WrongfulDeathQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Wrongful Death"',children:[K(t),G(t),se(t),q(t),E(t)]}),he=(e,t)=>ce("NotSureOrOtherQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[K(t),R(t)]}),Ce=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,ge=e=>{if(Ce(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(Ce(a))return a;const s=ge(a);if(s)return s}return null},be={$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 _e(t={}){return e(be,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-5 t-pt-0 t-px-1"}}}function ve(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 xe(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 we(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 Se(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 Pe(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 Ae(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 Te(t,a,s={}){const{nextOnEnter:i=!0,nextOnInput:r=!1,stepKey:l,nextStepMap:n,triggerRedirectMap:o,autoFocus:d}=s;if(a&&a.length&&(i||r)){const e=ge(a[a.length-1]);e&&!0===i&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===r&&(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:n,triggerRedirectMap:o,autoFocus:d,children:a}]})}const $e={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 ke(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const Le={};const We={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Oe=[{$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}],Ee={"*":"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 je={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"'},Fe={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"},Ne={},Be=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Me=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],qe=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Ue={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...Me],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...Be],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...qe],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...Be],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...Be],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...Me],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...Me],"Civil Rights and Discrimination":["civilRightsType",...Be],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...Be],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...Be],"Defend a Lawsuit":["lawsuitOtherParty",...Be],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...Be],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Me],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...Be],"Divorce and Separation":["maritalStatus","haveChildren",...Me],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...Be],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...Be],Expungement:["incidentDate","criminalChargeType",...Me],"Family Issues":["maritalStatus","haveChildren",...Me],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...Be],Guardianship:["maritalStatus","haveChildren",...Me],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...Be],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...Be],"Lemon Law":["incidentDate","lawsuitOtherParty",...Be],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...qe],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...Be],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...Be],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...qe],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...Be],"Property Damage":["realEstateArea","wouldLikeLawyerTo",...Be],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...Be],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...qe],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...Be],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...Be],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Me],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...Be],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...qe],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Be],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Be],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...qe],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...Be]},"*":Be}};function Re(e,t=[],a={}){const s={...e};return s.values=function e(s){const i={};for(const r in s)Array.isArray(s[r])?i[r]=s[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[r]?i[r]=e(s[r]):i[r]=s[r];return i}(e.values),s}Re(Ue,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const He=Ue.values.Type_Of_Legal_Problem;He["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),He["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),He["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Child Custody"],He["Child Support"],Ue.values["*"],He["Family Issues"],He["Child Support"],He["Child Custody"],Ue.values["*"],He["Divorce and Separation"],He["Defend a Lawsuit"],He["File a Lawsuit"],He["Defend a Lawsuit"],He["File a Lawsuit"];Re({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":He["Auto and Car Accidents"],"Contract Disputes":He["Business Lawyers"],"Dog Bite":He["Personal Injury"],"Employment and Workplace":He["Employment and Workplace"],Fraud:He["Consumer Lawyers"],"Medical Malpractice":He["Medical Malpractice"],"Personal Injury":He["Personal Injury"],"Property Damage":He["Property Damage"],"Real Estate":He["Real Estate"],"Not Sure or Other":Ue.values["*"]},"*":["lawsuitOtherParty",...Be]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Re({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":He["Victim of a Crime"],"DUI and DWI":He["DUI and DWI"],Expungement:He.Expungement,"Not Sure or Other":Ue.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Me]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Re({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":He["Wrongful Termination"],"Workers Compensation":He["Workers Compensation"],"Personal Injury":He["Personal Injury"],Unemployment:He.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Be]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),He["Patents and Intellectual Property"],He["Business Lawyers"],He["Business Lawyers"],Ue.values["*"];Re({values:{Type_Of_Legal_Problem_Display:{Foreclosure:He.Foreclosure,"Landlord and Tenant":He["Landlord and Tenant"],"Wills, Trusts, and Estates":He["Wills and Trusts"],"Property Damage":He["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...Be]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const Ye=a,Qe=function(a=null){let s=je,i=Fe,r=Ne;return a&&(s=ke(je,a),i=ke(Fe,a),r=ke(Ne,a)),{type:"meta",data:e(Le,{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:s,defaultFinalHeadline:"Connect With The Legal Help You Deserve",finalHeadlines:i,defaultFinalSubHeadline:"Get a no-obligation consultation with a legal expert.",finalSubHeadlines:r})}}();Qe.data.dynamicSchema=[function(e={}){return Te("TOLPQuestions",[Ie(e),ye(),ce("ProbateAndEstatesQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Probate and Estates"',children:[K(a),de(a),oe(a),ie(a),V(a),R(a)]}),me(),fe(),pe(),he()],e);var t,a}(),function(e={}){return Te("commentsWithBankruptcy",[we(e),M(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}),L(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[M("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})}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",Te("legalCrossSells",[De(e),r({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 Te("autoAndCarAccidentCrossSellQuestions",[ve({headline:"You May Be Entitled To Compensation"}),xe({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",ce("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[K(a),G(a),k(a),ee(a),Q(a),ae(a)]})),M("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 Te("personalInjuryCrossSellQuestions",[ve({headline:"You May Be Entitled To Compensation"}),xe({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",ce("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[K(a),G(a),B(a),k(a),ee(a),Q(a)]})),M("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 Te("workersCompensationCrossSellQuestions",[ve({headline:"You May Be Entitled To Benefits"}),xe({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Workers_Compensation",ce("WorkersCompensationQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[K(a),G(a),B(a),ee(a),O(a),Q(a)]})),M("CrossSell:Workers_Compensation",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Te("duiAndDWICrossSellQuestions",[ve({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",ce("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[K(a),G(a),te(a),ne(a),W(a),X(a),R(a)]})),M("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 Te("ssdiCrossSellQuestions",[ve({headline:"You May Be Entitled To Benefits"}),xe({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",ce("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[K(a),$(a),H(a),Y(a),re(a),Q(a)]})),M("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 Te("powerOfAttorneyCrossSellQuestions",[ve({headline:"Power of Attorney Information"}),me("true","CrossSell:Power_of_Attorney"),M("CrossSell:Power_of_Attorney",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e)}(),function(e={}){return Te("willsAndTrustsCrossSellQuestions",[ve({headline:"Will or Trust Information"}),ye("true","CrossSell:Wills_and_Trusts"),M("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e)}(),function(e={}){return Te("divorceAndSeparationCrossSellQuestions",[ve({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",ce("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[K(a),J(a),z(a),U(a),Z(a)]})),M("CrossSell:Divorce_and_Separation",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Te("childCustodyCrossSellQuestions",[ve({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",ce("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[K(a),N(a),j(a),F(a),U(a),Z(a)]})),M("CrossSell:Child_Custody",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Te("firstAndLast",[Se(e),D(e.scope),P(e.scope)],e)}()];const Ve=[Qe,e(We,Ke),{$cmp:"FormKit",props:function(t){const a=e($e,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"willsAndTrusts",redirectMap:function(t){return e(Ee,t)}(),crossSellOptionMap:Ye}),children:[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", "Start Here For a Free Consultation")',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", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...Oe,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Te("willsAndTrustsTOLPAndZip",[ue(e.scope),T(e.scope)],e)}({nextStepMap:{values:{"*":["TOLPQuestions","commentsWithBankruptcy","legalCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return Te("contactInfo",[Pe(e),Ae(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})();"},S(e.scope),A(e.scope),le(e.scope),_e()],{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 Ke;return Ve}();
|
|
1
|
+
var willsAndTrusts=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"}},s=e=>(e.name&&!e.id&&(e.id=e.name),e),i=t=>(s(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)),l=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",i(e)),r=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",i(e)),n=t=>(s(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",n(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",n(e)),u=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",n(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",n(e)),p=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",n(e)))(e)),m=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",n(e)),y=e=>(e.options=["Yes","No"],e.optionsClass="t-flex t-justify-center t-my-3",m(e)),f=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",n(e)),h=t=>(s(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),C=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]",h(e)),g=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",h(e)),b=t=>(s(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),_=e=>(e.wrapperClass="side-by-side t-items-center",b(e)),I=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",b(e)),v=t=>(s(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)),w=e=>(e.wrapperClass="side-by-side t-items-center",v(e)),x=e=>(e.wrapperClass="t-flex t-justify-center",e.inputClass="t-text-center",e.messagesClass="t-flex t-justify-center",v(e)),S=(e,t,a={})=>(t?I:_)({$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}),D=(e,t,a={})=>(t?I:_)({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}),P=(e,t,a={})=>(t?I:_)({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}),A=(e,t,a={})=>(t?I:_)({$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}),T=(e,t,a={})=>(t?I:_)({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}),$=(t,a,s={})=>(a?I:_)(e({label:a?s.label:"Age of Applicant?",placeholder:"Age between 18 and 65",name:t?t+":Applicant_Age":"Applicant_Age",value:a?s.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"},...s})),k=(t,a,s={})=>(a?y:p)(e({label:a?s.label:"Were You at Fault?",name:t?t+":At_Fault":"At_Fault"},s)),L=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",i(t);var t},W=(t,a,s={})=>(a?g:C)(e({label:a?s.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"]},s)),O=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Cause of Injury:",name:t?t+":Cause_Of_Injury":"Cause_Of_Injury",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]},s)),E=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"What was the Cause of the Victim's Death?",name:t?t+":Cause_Of_Death":"Cause_Of_Death",options:["Vehicle Accident","Negligent/Careless Act","Reckless Act","Other"]},s)),j=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"With Whom Do the Children Currently Live?",name:t?t+":Child_Home":"Child_Home",options:["Mother","Father","Grandparents","Other"]},s)),F=(t,a,s={})=>(a?m:C)(e({label:a?s.label:"Who is the Primary Caregiver?",name:t?t+":Child_Primary_Caregiver":"Child_Primary_Caregiver",options:["Mother","Father","Other"]},s)),N=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Your Relationship to Child(ren):",name:t?t+":Child_Relationship":"Child_Relationship",options:["Father","Mother","Grandparent","Aunt/Uncle","Other"]},s)),B=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Status of Claim:",name:t?t+":Claim_Status":"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]},s)),M=(t,a,i)=>(t=>(s(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"'},i)),q=(t,a,s={})=>(a?f:u)(e({label:a?s.label:"Were Criminal Charges Filed?",name:t?t+":Criminal_Charges_Filed":"Criminal_Charges_Filed",options:["Yes","No","Not Sure"]},s)),U=(t,a,s={})=>(a?d:C)(e({name:t?t+":Degree_Of_Interest":"Degree_Of_Interest",id:t?t+":Degree_Of_Interest":"Degree_Of_Interest",label:a?s.label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:a?s.help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]},s)),R=(t,a,s={})=>U(t,a,e(s,{help:"No payment necessary to speak with lawyers."})),H=(t,a,s={})=>(a?y:p)(e({name:t?t+":Disability_Condition_Stop_Work":"Disability_Condition_Stop_Work",label:a?s.label:"Do You Expect To Be Out Of Work For At Least a Year Due To Your Health?"},s)),Y=(t,a,s={})=>(a?y:p)(e({name:t?t+":Disability_Work_History":"Disability_Work_History",label:a?s.label:"Have You Had a Full-Time Job Within the Past 5 Years?"},s)),Q=(t,a,s={})=>(a?y:p)(e({name:t?t+":Doctor_Treatment":"Doctor_Treatment",label:a?s.label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"},s)),V=(t,a,s={})=>(a?d:C)(e({name:t?t+":Estate_Legal_Services_Needed":"Estate_Legal_Services_Needed",label:a?s.label:"Legal Services Needed for Your Estate:",options:["Charitable Giving","Contested Wills","Drafting Wills or Trust","Estate Administration","Asset Protection","Other"]},s)),K=(t,a,s={})=>(a?y:p)(e({label:a?s.label:"Already Working with An Attorney?",name:t?t+":Have_Attorney":"Have_Attorney"},s)),z=(t,a,s={})=>(a?y:p)(e({name:t?t+":Have_Children":"Have_Children",label:a?s.label:"Do You Have Children?"},s)),G=(t,a,s={})=>(a?x:w)(e({label:a?s.label:"Date of Incident:",name:t?t+":Incident_Date":"Incident_Date"},s)),Z=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"How Will You Pay for Legal Fees if You Hire a Lawyer?",help:a?s.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},s)),J=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),X=(t,a,s={})=>(a?y:p)(e({name:t?t+":Pending_Charges":"Pending_Charges",label:a?s.label:"Do you currently have any pending charges?"},s)),ee=(t,a,s={})=>(a?d:c)(e({label:a?s.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"]},s)),te=(t,a,s={})=>(a?y:p)(e({name:t?t+":Prior_Alcohol_Offenses":"Prior_Alcohol_Offenses",label:a?s.label:"Any Prior Alcohol Related Offenses?"},s)),ae=(t,a,s={})=>(a?y:p)(e({name:t?t+":Police_Report_Filed":"Police_Report_Filed",label:a?s.label:"Was a Police Report Filed?"},s)),se=(t,a,s={})=>(a?d:C)(e({label:a?s.label:"Relationship to the Victim:",name:t?t+":Relationship_To_Victim":"Relationship_To_Victim",options:["Parent","Spouse","Sibling","Friend","Other"]},s)),ie=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),le=(t,a,s={})=>(a?y:p)(e({name:t?t+":Social_Security_Disability_Receiving_Benefits":"Social_Security_Disability_Receiving_Benefits",label:a?s.label:"Are You Currently Receiving Social Security Disability Benefits?"},s)),re=(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:"")}}),ne=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),oe=(t,a,s={})=>(a?r:l)(e({label:a?s.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"]},s)),de=(t,a,s={})=>(a?d:C)(e({label:a?s.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"]},s)),ue=(t,a,s={})=>(a?d:o)(e({label:a?s.label:"Type of Help Needed:",id:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",name:t?t+":Type_Of_Legal_Problem":"Type_Of_Legal_Problem",options:["Wills and Trusts","Probate and Estates","Power of Attorney","Wrongful Death","Not Sure or Other"]},s)),ce=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),pe=(e,t)=>ce("FamilyIssuesQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Family Issues"',children:[K(t),J(t),z(t),U(t),Z(t)]}),me=(e,t)=>ce("PowerofAttorneyQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Power of Attorney"',children:[K(t),R(t)]}),ye=(e,t)=>ce("WillsAndTrustsQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Wills and Trusts"',children:[K(t),de(t),oe(t),ie(t),V(t),R(t)]}),fe=(e,t)=>ce("WrongfulDeathQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Wrongful Death"',children:[K(t),G(t),se(t),q(t),E(t)]}),he=(e,t)=>ce("NotSureOrOtherQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[K(t),R(t)]}),Ce=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,ge=e=>{if(Ce(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(Ce(a))return a;const s=ge(a);if(s)return s}return null},be={$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 _e(t={}){return e(be,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-5 t-pt-0 t-px-1"}}}function ve(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 we(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 xe(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 Se(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 Pe(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 Ae(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 Te(t,a,s={}){const{nextOnEnter:i=!0,nextOnInput:l=!1,stepKey:r,nextStepMap:n,triggerRedirectMap:o,autoFocus:d}=s;if(a&&a.length&&(i||l)){const e=ge(a[a.length-1]);e&&!0===i&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===l&&(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,r),{children:[{$formkit:"group",id:t,name:t,nextStepMap:n,triggerRedirectMap:o,autoFocus:d,children:a}]})}const $e={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 ke(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const Le={};const We={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Oe=[{$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}],Ee={"*":"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 je={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"'},Fe={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"},Ne={},Be=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Me=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],qe=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],Ue={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...Me],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...Be],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...qe],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...Be],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...Be],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...Me],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...Me],"Civil Rights and Discrimination":["civilRightsType",...Be],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...Be],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...Be],"Defend a Lawsuit":["lawsuitOtherParty",...Be],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...Be],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Me],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...Be],"Divorce and Separation":["maritalStatus","haveChildren",...Me],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...Be],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...Be],Expungement:["incidentDate","criminalChargeType",...Me],"Family Issues":["maritalStatus","haveChildren",...Me],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...Be],Guardianship:["maritalStatus","haveChildren",...Me],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...Be],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...Be],"Lemon Law":["incidentDate","lawsuitOtherParty",...Be],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...qe],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...Be],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...Be],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...qe],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...Be],"Property Damage":["wouldLikeLawyerTo",...Be],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...Be],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...qe],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...Be],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...Be],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Me],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...Be],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...qe],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Be],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Be],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...qe],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...Be]},"*":Be}};function Re(e,t=[],a={}){const s={...e};return s.values=function e(s){const i={};for(const l in s)Array.isArray(s[l])?i[l]=s[l].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof s[l]?i[l]=e(s[l]):i[l]=s[l];return i}(e.values),s}Re(Ue,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const He=Ue.values.Type_Of_Legal_Problem;He["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),He["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),He["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Personal Injury"].filter((e=>"legalCrossSells"!==e)),He["Child Custody"],He["Child Support"],Ue.values["*"],He["Family Issues"],He["Child Support"],He["Child Custody"],Ue.values["*"],He["Divorce and Separation"],He["Defend a Lawsuit"],He["File a Lawsuit"];Re({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":He["Defend a Lawsuit"],"File a Lawsuit":He["File a Lawsuit"]},"*":["lawsuitOtherParty",...Be]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Re({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":He["Auto and Car Accidents"],"Contract Disputes":He["Business Lawyers"],"Dog Bite":He["Personal Injury"],"Employment and Workplace":He["Employment and Workplace"],Fraud:He["Consumer Lawyers"],"Medical Malpractice":He["Medical Malpractice"],"Personal Injury":He["Personal Injury"],"Property Damage":He["Property Damage"],"Real Estate":He["Real Estate"],"Not Sure or Other":Ue.values["*"]},"*":["lawsuitOtherParty",...Be]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Re({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":He["Victim of a Crime"],"DUI and DWI":He["DUI and DWI"],Expungement:He.Expungement,"Not Sure or Other":Ue.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...Me]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});Re({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":He["Wrongful Termination"],"Workers Compensation":He["Workers Compensation"],"Personal Injury":He["Personal Injury"],Unemployment:He.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...Be]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),He["Patents and Intellectual Property"],He["Business Lawyers"],He["Business Lawyers"],Ue.values["*"];Re({values:{Type_Of_Legal_Problem_Display:{Foreclosure:He.Foreclosure,"Landlord and Tenant":He["Landlord and Tenant"],"Wills, Trusts, and Estates":He["Wills and Trusts"],"Property Damage":He["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...Be]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const Ye=a,Qe=function(a=null){let s=je,i=Fe,l=Ne;return a&&(s=ke(je,a),i=ke(Fe,a),l=ke(Ne,a)),{type:"meta",data:e(Le,{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:s,defaultFinalHeadline:"Connect With The Legal Help You Deserve",finalHeadlines:i,defaultFinalSubHeadline:"Get a no-obligation consultation with a legal expert.",finalSubHeadlines:l})}}();Qe.data.dynamicSchema=[function(e={}){return Te("TOLPQuestions",[Ie(e),ye(),ce("ProbateAndEstatesQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Probate and Estates"',children:[K(a),de(a),oe(a),ie(a),V(a),R(a)]}),me(),fe(),pe(),he()],e);var t,a}(),function(e={}){return Te("commentsWithBankruptcy",[xe(e),M(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}),L(),{$el:"div",if:"$get(CrossSell_Bankruptcy).value == true",children:[M("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})}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Type_Of_Legal_Problem).value",Te("legalCrossSells",[De(e),l({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 Te("autoAndCarAccidentCrossSellQuestions",[ve({headline:"You May Be Entitled To Compensation"}),we({subheadline:"Tell us about your accident:"}),(t="true",a="CrossSell:Auto_and_Car_Accidents",ce("AutoAndCarAccidentsQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Auto and Car Accidents"',children:[K(a),G(a),k(a),ee(a),Q(a),ae(a)]})),M("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 Te("personalInjuryCrossSellQuestions",[ve({headline:"You May Be Entitled To Compensation"}),we({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Personal_Injury",ce("PersonalInjuryQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[K(a),G(a),B(a),k(a),ee(a),Q(a)]})),M("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 Te("workersCompensationCrossSellQuestions",[ve({headline:"You May Be Entitled To Benefits"}),we({subheadline:"Tell us about your injury:"}),(t="true",a="CrossSell:Workers_Compensation",ce("WorkersCompensationQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[K(a),G(a),B(a),ee(a),O(a),Q(a)]})),M("CrossSell:Workers_Compensation",0,{label:"Injury Description:",placeholder:"Please describe your injury in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Te("duiAndDWICrossSellQuestions",[ve({headline:"About Your DUI/DWI"}),(t="true",a="CrossSell:DUI_and_DWI",ce("DUIAndDWIQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "DUI and DWI"',children:[K(a),G(a),te(a),ne(a),W(a),X(a),R(a)]})),M("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 Te("ssdiCrossSellQuestions",[ve({headline:"You May Be Entitled To Benefits"}),we({subheadline:"Tell us about your disability:"}),(t="true",a="CrossSell:Social_Security_Disability_and_Insurance",ce("SocialSecurityDisabilityAndInsuranceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Social Security Disability and Insurance"',children:[K(a),$(a),H(a),Y(a),le(a),Q(a)]})),M("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 Te("powerOfAttorneyCrossSellQuestions",[ve({headline:"Power of Attorney Information"}),me("true","CrossSell:Power_of_Attorney"),M("CrossSell:Power_of_Attorney",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e)}(),function(e={}){return Te("willsAndTrustsCrossSellQuestions",[ve({headline:"Will or Trust Information"}),ye("true","CrossSell:Wills_and_Trusts"),M("CrossSell:Wills_and_Trusts",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e)}(),function(e={}){return Te("divorceAndSeparationCrossSellQuestions",[ve({headline:"Divorce or Separation Information"}),(t="true",a="CrossSell:Divorce_and_Separation",ce("DivorceQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Divorce and Separation"',children:[K(a),J(a),z(a),U(a),Z(a)]})),M("CrossSell:Divorce_and_Separation",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Te("childCustodyCrossSellQuestions",[ve({headline:"Child Custody Information"}),(t="true",a="CrossSell:Child_Custody",ce("ChildCustodyQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Child Custody"',children:[K(a),N(a),j(a),F(a),U(a),Z(a)]})),M("CrossSell:Child_Custody",0,{label:"Description:",placeholder:"Please describe your situation in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Te("firstAndLast",[Se(e),D(e.scope),P(e.scope)],e)}()];const Ve=[Qe,e(We,Ke),{$cmp:"FormKit",props:function(t){const a=e($e,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"willsAndTrusts",redirectMap:function(t){return e(Ee,t)}(),crossSellOptionMap:Ye}),children:[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", "Start Here For a Free Consultation")',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", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...Oe,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Te("willsAndTrustsTOLPAndZip",[ue(e.scope),T(e.scope)],e)}({nextStepMap:{values:{"*":["TOLPQuestions","commentsWithBankruptcy","legalCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}(),function(e={}){return Te("contactInfo",[Pe(e),Ae(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})();"},S(e.scope),A(e.scope),re(e.scope),_e()],{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 Ke;return Ve}();
|
package/dist/forms/windows.es.js
CHANGED
|
@@ -1738,7 +1738,7 @@ const nextStepsMapGeneralLegal = {
|
|
|
1738
1738
|
"estateLegalServicesNeeded",
|
|
1739
1739
|
...nextStepsLegalDefault,
|
|
1740
1740
|
],
|
|
1741
|
-
"Property Damage": ["
|
|
1741
|
+
"Property Damage": ["wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
1742
1742
|
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
1743
1743
|
"Social Security Disability and Insurance": [
|
|
1744
1744
|
"applicantAge",
|
|
@@ -1871,7 +1871,7 @@ const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"
|
|
|
1871
1871
|
},
|
|
1872
1872
|
});
|
|
1873
1873
|
|
|
1874
|
-
|
|
1874
|
+
const nextStepsMapCivilTolp = {
|
|
1875
1875
|
values: {
|
|
1876
1876
|
Type_Of_Legal_Problem: {
|
|
1877
1877
|
"Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
|
|
@@ -1879,6 +1879,10 @@ const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"
|
|
|
1879
1879
|
},
|
|
1880
1880
|
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
1881
1881
|
},
|
|
1882
|
+
};
|
|
1883
|
+
|
|
1884
|
+
filterNextStepsMap(nextStepsMapCivilTolp, ["legalCrossSells"], {
|
|
1885
|
+
commentsWithBankruptcy: "comments",
|
|
1882
1886
|
});
|
|
1883
1887
|
|
|
1884
1888
|
const nextStepsMapCivilTOLPDisplay = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var windows=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',a=t,n={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},s=e=>(e.name&&!e.id&&(e.id=e.name),e),i=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(s(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),l=t=>(s(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),r=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)),o=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",l(e)),d=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",l(e)),c=t=>(s(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),m=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]",c(e)),p=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",c(e)),u=t=>(s(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),f=e=>(e.wrapperClass="side-by-side t-items-center",u(e)),h=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",u(e)),g=(e,t,a={})=>(t?h:f)({$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}),y=(e,t,a={})=>(t?h:f)({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}),b=(e,t,a={})=>(t?h:f)({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}),C=(e,t,a={})=>(t?h:f)({$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}),x=(t,a,n)=>(t=>(s(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"'},n)),w=(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:"")}}),v=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),S=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),$=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),I=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),P=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),E=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),k=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What remodeling job?",name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]},n)),_=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),T=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),W=(t,a,n={})=>(a?r:m)(e({label:a?n.label:"What siding material?",name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]},n)),O=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What windows job type?",name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]},n)),D=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,A=e=>{if(D(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(D(a))return a;const n=A(a);if(n)return n}return null},L={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function R(t={}){return e(L,t)}function j(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 F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function M(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 H(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||"")}}}function q(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function N(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 B(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 Q(t,a,n={}){const{nextOnEnter:s=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=n;if(a&&a.length&&(s||i)){const e=A(a[a.length-1]);e&&!0===s&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(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:r,triggerRedirectMap:o,autoFocus:d,children:a}]})}function z(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),Q(e,[F({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function U(e){return{$el:"h3",children:e.headline||"Interested in free quotes for other projects?",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}const K={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 V(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const G={};const Z={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Y={$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 J=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$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}],X={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ee=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],te=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ae=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ne={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...te],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...ee],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...ae],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...ee],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...te],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...te],"Civil Rights and Discrimination":["civilRightsType",...ee],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...ee],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...ee],"Defend a Lawsuit":["lawsuitOtherParty",...ee],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...ee],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Divorce and Separation":["maritalStatus","haveChildren",...te],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...ee],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],Expungement:["incidentDate","criminalChargeType",...te],"Family Issues":["maritalStatus","haveChildren",...te],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...ee],Guardianship:["maritalStatus","haveChildren",...te],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...ee],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...ee],"Lemon Law":["incidentDate","lawsuitOtherParty",...ee],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...ae],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...ee],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...ee],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...ae],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Property Damage":["realEstateArea","wouldLikeLawyerTo",...ee],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...ee],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...ae],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...ee],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...ee],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...ae],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...ae],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...ee]},"*":ee}};function se(e,t=[],a={}){const n={...e};return n.values=function e(n){const s={};for(const i in n)Array.isArray(n[i])?s[i]=n[i].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[i]?s[i]=e(n[i]):s[i]=n[i];return s}(e.values),n}se(ne,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const ie=ne.values.Type_Of_Legal_Problem;ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Child Custody"],ie["Child Support"],ne.values["*"],ie["Family Issues"],ie["Child Support"],ie["Child Custody"],ne.values["*"],ie["Divorce and Separation"],ie["Defend a Lawsuit"],ie["File a Lawsuit"],ie["Defend a Lawsuit"],ie["File a Lawsuit"];se({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":ie["Auto and Car Accidents"],"Contract Disputes":ie["Business Lawyers"],"Dog Bite":ie["Personal Injury"],"Employment and Workplace":ie["Employment and Workplace"],Fraud:ie["Consumer Lawyers"],"Medical Malpractice":ie["Medical Malpractice"],"Personal Injury":ie["Personal Injury"],"Property Damage":ie["Property Damage"],"Real Estate":ie["Real Estate"],"Not Sure or Other":ne.values["*"]},"*":["lawsuitOtherParty",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":ie["Victim of a Crime"],"DUI and DWI":ie["DUI and DWI"],Expungement:ie.Expungement,"Not Sure or Other":ne.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":ie["Wrongful Termination"],"Workers Compensation":ie["Workers Compensation"],"Personal Injury":ie["Personal Injury"],Unemployment:ie.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),ie["Patents and Intellectual Property"],ie["Business Lawyers"],ie["Business Lawyers"],ne.values["*"];se({values:{Type_Of_Legal_Problem_Display:{Foreclosure:ie.Foreclosure,"Landlord and Tenant":ie["Landlord and Tenant"],"Wills, Trusts, and Estates":ie["Wills and Trusts"],"Property Damage":ie["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const le={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},re={Appliances:"We Have Appliance Pros Standing By!"},oe={Appliances:"Who needs appliance help?"},de=n,ce=function(t=null){let n=le,s=re,i=oe;return t&&(n=V(le,t),s=V(re,t),i=V(oe,t)),{type:"meta",data:e(G,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors 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.",defaultCommentsPlaceholder:a,commentsPlaceholders:n,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:s,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:i})}}();ce.data.dynamicSchema=[function(e={}){return z("zipcode",((e,t,a={})=>(t?h:f)({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 z("timeframe",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)))(t.scope,!0,t.input),"What is the project timeframe?",t)}(),function(t={}){return z("ownHome",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)))(t.scope,!0,t.input),"Do you own the home?",t)}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,z("address",((e,t,a={})=>(t?h:f)({label:t?a.label:"Street Address:",placeholder:"10 Example St",name:e?e+":Address":"Address",autocomplete:"street-address","data-tf-sensitive":"false",minlength:5,maxlength:100,validationMessages:{minlength:"Invalid Address",required:"Address is required"},...a}))(e.scope,!0,e.input),"What is the street address of the home?",e)}(),function(t={}){return z("windowsWorkType",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of windows work?",t)}(),function(t={}){return z("numberOfWindows",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"How many windows?",name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]},n)))(t.scope,!0,t.input),"How many windows?",t)}(),function(e={}){const a={...e,nextOnEnter:!1};return Q("comments",[H(e),x(e.scope,0,{label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],a)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={}){return Q("firstAndLast",[q({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),M({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),y(e.scope),b(e.scope)],e)}({headlineClass:"!t-text-dark"}),function(e={}){return Q("electricalCrossSellQuestions",[j({headline:"Connect With Electrical Pros"}),(t="true",a="CrossSell:Electrical",v("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[$(a),S(a)]})),x("CrossSell:Electrical",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("paintingCrossSellQuestions",[j({headline:"Connect With a Painter"}),(t="true",a="CrossSell:Painting",v("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[P(a),I(a)]})),x("CrossSell:Painting",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("plumbingCrossSellQuestions",[j({headline:"Connect With a Plumber"}),(t="true",a="CrossSell:Plumbing",v("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[E(a),S(a)]})),x("CrossSell:Plumbing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("remodelingCrossSellQuestions",[j({headline:"Connect With Remodelers"}),(t="true",a="CrossSell:Remodeling",v("RemodelingQuestions",{if:t||'$get(Category).value == "Remodeling"',children:[k(a)]})),x("CrossSell:Remodeling",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("roofingCrossSellQuestions",[j({headline:"Connect With a Roofer"}),(t="true",a="CrossSell:Roofing",v("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[T(a),_(a)]})),x("CrossSell:Roofing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("sidingCrossSellQuestions",[j({headline:"Connect With Siding Pros"}),(t="true",a="CrossSell:Siding",v("SidingQuestions",{if:t||'$get(Category).value == "Siding"',children:[W(a),S(a)]})),x("CrossSell:Siding",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",Q("homeImprovementCrossSells",[U(e),(e.scope,i({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];const me=[ce,e(Z,pe),{$cmp:"FormKit",props:function(t){const a=e(K,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"windows",redirectMap:function(t){return e(X,t)}(),crossSellOptionMap:de}),children:[function(t){return e(Y,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 Started Here!")',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", "What needs window work?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...J,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Q("windowsSubtype",[{$formkit:"hidden",name:"Category",id:"Category",value:"Windows"},O(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",nextStepMap:{values:{"*":["windowsWorkType","numberOfWindows","comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return Q("contactInfo",[N(e),B(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})();"},g(e.scope),C(e.scope),w(e.scope),R()],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((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"}}]}))({startText:"Get Quotes",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]"}),{$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 pe;return me}();
|
|
1
|
+
var windows=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',a=t,n={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},s=e=>(e.name&&!e.id&&(e.id=e.name),e),i=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(s(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),l=t=>(s(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),r=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)),o=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",l(e)),d=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",l(e)),c=t=>(s(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),m=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]",c(e)),p=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",c(e)),u=t=>(s(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),f=e=>(e.wrapperClass="side-by-side t-items-center",u(e)),h=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",u(e)),g=(e,t,a={})=>(t?h:f)({$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}),y=(e,t,a={})=>(t?h:f)({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}),b=(e,t,a={})=>(t?h:f)({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}),C=(e,t,a={})=>(t?h:f)({$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}),x=(t,a,n)=>(t=>(s(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"'},n)),w=(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:"")}}),v=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),S=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),$=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),I=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),P=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),E=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),k=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What remodeling job?",name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]},n)),_=(t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),T=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),W=(t,a,n={})=>(a?r:m)(e({label:a?n.label:"What siding material?",name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]},n)),O=(t,a,n={})=>(a?p:m)(e({label:a?n.label:"What windows job type?",name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]},n)),D=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,L=e=>{if(D(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(D(a))return a;const n=L(a);if(n)return n}return null},A={$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 R(t={}){return e(A,t)}function j(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 F(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function M(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 H(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||"")}}}function q(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function N(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 B(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 Q(t,a,n={}){const{nextOnEnter:s=!0,nextOnInput:i=!1,stepKey:l,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=n;if(a&&a.length&&(s||i)){const e=L(a[a.length-1]);e&&!0===s&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(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:r,triggerRedirectMap:o,autoFocus:d,children:a}]})}function z(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),Q(e,[F({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function U(e){return{$el:"h3",children:e.headline||"Interested in free quotes for other projects?",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}const K={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 V(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const G={};const Z={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Y={$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 J=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$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}],X={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ee=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],te=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ae=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],ne={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...te],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...ee],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...ae],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...ee],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...te],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...te],"Civil Rights and Discrimination":["civilRightsType",...ee],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...ee],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...ee],"Defend a Lawsuit":["lawsuitOtherParty",...ee],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...ee],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...ee],"Divorce and Separation":["maritalStatus","haveChildren",...te],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...ee],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],Expungement:["incidentDate","criminalChargeType",...te],"Family Issues":["maritalStatus","haveChildren",...te],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...ee],Guardianship:["maritalStatus","haveChildren",...te],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...ee],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...ee],"Lemon Law":["incidentDate","lawsuitOtherParty",...ee],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...ae],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...ee],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...ee],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...ae],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Property Damage":["wouldLikeLawyerTo",...ee],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...ee],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...ae],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...ee],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...ee],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...ee],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...ae],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...ae],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...ee]},"*":ee}};function se(e,t=[],a={}){const n={...e};return n.values=function e(n){const s={};for(const i in n)Array.isArray(n[i])?s[i]=n[i].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[i]?s[i]=e(n[i]):s[i]=n[i];return s}(e.values),n}se(ne,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const ie=ne.values.Type_Of_Legal_Problem;ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Personal Injury"].filter((e=>"legalCrossSells"!==e)),ie["Child Custody"],ie["Child Support"],ne.values["*"],ie["Family Issues"],ie["Child Support"],ie["Child Custody"],ne.values["*"],ie["Divorce and Separation"],ie["Defend a Lawsuit"],ie["File a Lawsuit"];se({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":ie["Defend a Lawsuit"],"File a Lawsuit":ie["File a Lawsuit"]},"*":["lawsuitOtherParty",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":ie["Auto and Car Accidents"],"Contract Disputes":ie["Business Lawyers"],"Dog Bite":ie["Personal Injury"],"Employment and Workplace":ie["Employment and Workplace"],Fraud:ie["Consumer Lawyers"],"Medical Malpractice":ie["Medical Malpractice"],"Personal Injury":ie["Personal Injury"],"Property Damage":ie["Property Damage"],"Real Estate":ie["Real Estate"],"Not Sure or Other":ne.values["*"]},"*":["lawsuitOtherParty",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":ie["Victim of a Crime"],"DUI and DWI":ie["DUI and DWI"],Expungement:ie.Expungement,"Not Sure or Other":ne.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...te]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});se({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":ie["Wrongful Termination"],"Workers Compensation":ie["Workers Compensation"],"Personal Injury":ie["Personal Injury"],Unemployment:ie.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),ie["Patents and Intellectual Property"],ie["Business Lawyers"],ie["Business Lawyers"],ne.values["*"];se({values:{Type_Of_Legal_Problem_Display:{Foreclosure:ie.Foreclosure,"Landlord and Tenant":ie["Landlord and Tenant"],"Wills, Trusts, and Estates":ie["Wills and Trusts"],"Property Damage":ie["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...ee]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const le={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},re={Appliances:"We Have Appliance Pros Standing By!"},oe={Appliances:"Who needs appliance help?"},de=n,ce=function(t=null){let n=le,s=re,i=oe;return t&&(n=V(le,t),s=V(re,t),i=V(oe,t)),{type:"meta",data:e(G,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors 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.",defaultCommentsPlaceholder:a,commentsPlaceholders:n,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:s,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:i})}}();ce.data.dynamicSchema=[function(e={}){return z("zipcode",((e,t,a={})=>(t?h:f)({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 z("timeframe",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)))(t.scope,!0,t.input),"What is the project timeframe?",t)}(),function(t={}){return z("ownHome",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)))(t.scope,!0,t.input),"Do you own the home?",t)}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,z("address",((e,t,a={})=>(t?h:f)({label:t?a.label:"Street Address:",placeholder:"10 Example St",name:e?e+":Address":"Address",autocomplete:"street-address","data-tf-sensitive":"false",minlength:5,maxlength:100,validationMessages:{minlength:"Invalid Address",required:"Address is required"},...a}))(e.scope,!0,e.input),"What is the street address of the home?",e)}(),function(t={}){return z("windowsWorkType",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"What type of work?",name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of windows work?",t)}(),function(t={}){return z("numberOfWindows",((t,a,n={})=>(a?d:o)(e({label:a?n.label:"How many windows?",name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]},n)))(t.scope,!0,t.input),"How many windows?",t)}(),function(e={}){const a={...e,nextOnEnter:!1};return Q("comments",[H(e),x(e.scope,0,{label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],a)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={}){return Q("firstAndLast",[q({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),M({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),y(e.scope),b(e.scope)],e)}({headlineClass:"!t-text-dark"}),function(e={}){return Q("electricalCrossSellQuestions",[j({headline:"Connect With Electrical Pros"}),(t="true",a="CrossSell:Electrical",v("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[$(a),S(a)]})),x("CrossSell:Electrical",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("paintingCrossSellQuestions",[j({headline:"Connect With a Painter"}),(t="true",a="CrossSell:Painting",v("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[P(a),I(a)]})),x("CrossSell:Painting",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("plumbingCrossSellQuestions",[j({headline:"Connect With a Plumber"}),(t="true",a="CrossSell:Plumbing",v("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[E(a),S(a)]})),x("CrossSell:Plumbing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("remodelingCrossSellQuestions",[j({headline:"Connect With Remodelers"}),(t="true",a="CrossSell:Remodeling",v("RemodelingQuestions",{if:t||'$get(Category).value == "Remodeling"',children:[k(a)]})),x("CrossSell:Remodeling",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("roofingCrossSellQuestions",[j({headline:"Connect With a Roofer"}),(t="true",a="CrossSell:Roofing",v("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[T(a),_(a)]})),x("CrossSell:Roofing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("sidingCrossSellQuestions",[j({headline:"Connect With Siding Pros"}),(t="true",a="CrossSell:Siding",v("SidingQuestions",{if:t||'$get(Category).value == "Siding"',children:[W(a),S(a)]})),x("CrossSell:Siding",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",Q("homeImprovementCrossSells",[U(e),(e.scope,i({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];const me=[ce,e(Z,pe),{$cmp:"FormKit",props:function(t){const a=e(K,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"windows",redirectMap:function(t){return e(X,t)}(),crossSellOptionMap:de}),children:[function(t){return e(Y,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 Started Here!")',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", "What needs window work?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...J,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Q("windowsSubtype",[{$formkit:"hidden",name:"Category",id:"Category",value:"Windows"},O(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",nextStepMap:{values:{"*":["windowsWorkType","numberOfWindows","comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return Q("contactInfo",[N(e),B(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})();"},g(e.scope),C(e.scope),w(e.scope),R()],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((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"}}]}))({startText:"Get Quotes",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]"}),{$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 pe;return me}();
|
|
@@ -2100,7 +2100,7 @@ const nextStepsMapGeneralLegal = {
|
|
|
2100
2100
|
"estateLegalServicesNeeded",
|
|
2101
2101
|
...nextStepsLegalDefault,
|
|
2102
2102
|
],
|
|
2103
|
-
"Property Damage": ["
|
|
2103
|
+
"Property Damage": ["wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2104
2104
|
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
2105
2105
|
"Social Security Disability and Insurance": [
|
|
2106
2106
|
"applicantAge",
|
|
@@ -2233,7 +2233,7 @@ const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"
|
|
|
2233
2233
|
},
|
|
2234
2234
|
});
|
|
2235
2235
|
|
|
2236
|
-
|
|
2236
|
+
const nextStepsMapCivilTolp = {
|
|
2237
2237
|
values: {
|
|
2238
2238
|
Type_Of_Legal_Problem: {
|
|
2239
2239
|
"Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
|
|
@@ -2241,6 +2241,10 @@ const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"
|
|
|
2241
2241
|
},
|
|
2242
2242
|
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
2243
2243
|
},
|
|
2244
|
+
};
|
|
2245
|
+
|
|
2246
|
+
filterNextStepsMap(nextStepsMapCivilTolp, ["legalCrossSells"], {
|
|
2247
|
+
commentsWithBankruptcy: "comments",
|
|
2244
2248
|
});
|
|
2245
2249
|
|
|
2246
2250
|
const nextStepsMapCivilTOLPDisplay = {
|