bhl-forms 0.11.9 → 0.11.10
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 +172 -0
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +389 -0
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/appraisals.es.js +389 -0
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.es.js +380 -0
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +389 -0
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.es.js +111 -4
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/civilLawsuit.es.js +106 -3
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/coins.es.js +389 -0
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +389 -0
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.es.js +110 -4
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.es.js +111 -4
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +160 -0
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/foreclosure.es.js +372 -0
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.es.js +389 -0
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.es.js +389 -0
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +389 -0
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.es.js +389 -0
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +58 -0
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +389 -0
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +58 -0
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.es.js +58 -0
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle1to1.es.js +4579 -0
- package/dist/forms/generalLegalSingle1to1.iife.js +1 -0
- package/dist/forms/generalLegalSingle1to1.json +1 -0
- package/dist/forms/generalLegalSingleMinimal.es.js +389 -0
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.es.js +389 -0
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +58 -0
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +389 -0
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.es.js +389 -0
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.es.js +389 -0
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.es.js +389 -0
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.es.js +112 -5
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/realEstate.es.js +389 -0
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.es.js +389 -0
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.es.js +389 -0
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.es.js +389 -0
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.es.js +389 -0
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +389 -0
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.es.js +389 -0
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/windows.es.js +389 -0
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.es.js +380 -0
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +1 -1
|
@@ -663,6 +663,395 @@ const hiddenInputsHomeImprovement = [
|
|
|
663
663
|
...hiddenInputsBase,
|
|
664
664
|
];
|
|
665
665
|
|
|
666
|
+
const nextStepsLegalDefault = [
|
|
667
|
+
"haveAttorney",
|
|
668
|
+
"degreeOfInterest",
|
|
669
|
+
"commentsWithBankruptcy",
|
|
670
|
+
"zipcode",
|
|
671
|
+
"legalCrossSells",
|
|
672
|
+
"firstAndLast",
|
|
673
|
+
"contactInfo",
|
|
674
|
+
];
|
|
675
|
+
|
|
676
|
+
const nextStepsLegalDefaultLPM = [
|
|
677
|
+
"haveAttorney",
|
|
678
|
+
"degreeOfInterest",
|
|
679
|
+
"lawyerPaymentMethod",
|
|
680
|
+
"commentsWithBankruptcy",
|
|
681
|
+
"zipcode",
|
|
682
|
+
"legalCrossSells",
|
|
683
|
+
"firstAndLast",
|
|
684
|
+
"contactInfo",
|
|
685
|
+
];
|
|
686
|
+
|
|
687
|
+
const nextStepsLegalNoDOI = [
|
|
688
|
+
"haveAttorney",
|
|
689
|
+
"commentsWithBankruptcy",
|
|
690
|
+
"zipcode",
|
|
691
|
+
"legalCrossSells",
|
|
692
|
+
"firstAndLast",
|
|
693
|
+
"contactInfo",
|
|
694
|
+
];
|
|
695
|
+
|
|
696
|
+
const nextStepsLegalNoHA = [
|
|
697
|
+
"degreeOfInterest",
|
|
698
|
+
"commentsWithBankruptcy",
|
|
699
|
+
"zipcode",
|
|
700
|
+
"legalCrossSells",
|
|
701
|
+
"firstAndLast",
|
|
702
|
+
"contactInfo",
|
|
703
|
+
];
|
|
704
|
+
|
|
705
|
+
const nextStepsMapGeneralLegal = {
|
|
706
|
+
values: {
|
|
707
|
+
Type_Of_Legal_Problem: {
|
|
708
|
+
Adoption: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
709
|
+
"Asbestos and Mesothelioma": ["incidentDate", "doctorTreatment", ...nextStepsLegalDefault],
|
|
710
|
+
"Auto and Car Accidents": [
|
|
711
|
+
"incidentDate",
|
|
712
|
+
"atFault",
|
|
713
|
+
"primaryInjury",
|
|
714
|
+
"doctorTreatment",
|
|
715
|
+
"policeReportFiled",
|
|
716
|
+
...nextStepsLegalNoDOI,
|
|
717
|
+
],
|
|
718
|
+
Bankruptcy: ["totalMonthlyIncome", "totalDebt", "ownRealEstate", "valueOfAssets", ...nextStepsLegalDefault],
|
|
719
|
+
"Business Lawyers": ["businessServices", "businessType", "numEmployeesOfBusiness", ...nextStepsLegalDefault],
|
|
720
|
+
"Child Custody": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
721
|
+
"Child Support": ["childRelationship", "childHome", "childPrimaryCaregiver", ...nextStepsLegalDefaultLPM],
|
|
722
|
+
"Civil Rights and Discrimination": ["civilRightsType", ...nextStepsLegalDefault],
|
|
723
|
+
"Civil Lawsuit": ["civilDefense", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
724
|
+
"File a Lawsuit": ["civilLawsuitTOLPDisplay", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
725
|
+
"Defend a Lawsuit": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
726
|
+
"Consumer Lawyers": ["consumerLawyerType", "incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
727
|
+
"Criminal and Felony": [
|
|
728
|
+
"criminalTOLPDisplay",
|
|
729
|
+
"crimeCommittedDate",
|
|
730
|
+
"roleInMatterCriminal",
|
|
731
|
+
"pendingCharges",
|
|
732
|
+
...nextStepsLegalDefaultLPM,
|
|
733
|
+
],
|
|
734
|
+
"Debt and Collections": [
|
|
735
|
+
"totalMonthlyIncome",
|
|
736
|
+
"totalDebt",
|
|
737
|
+
"ownRealEstate",
|
|
738
|
+
"valueOfAssets",
|
|
739
|
+
...nextStepsLegalDefault,
|
|
740
|
+
],
|
|
741
|
+
"Divorce and Separation": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
742
|
+
"DUI and DWI": [
|
|
743
|
+
"incidentDate",
|
|
744
|
+
"priorAlcoholOffenses",
|
|
745
|
+
"typeOfAlcoholTest",
|
|
746
|
+
"bloodContentAlcoholTest",
|
|
747
|
+
"pendingCharges",
|
|
748
|
+
...nextStepsLegalDefault,
|
|
749
|
+
],
|
|
750
|
+
"Employment and Workplace": [
|
|
751
|
+
"employmentAndWorkplaceTOLPDisplay",
|
|
752
|
+
"numEmployeesOfBusiness",
|
|
753
|
+
"employerType",
|
|
754
|
+
"employeeAtCompany",
|
|
755
|
+
...nextStepsLegalDefault,
|
|
756
|
+
],
|
|
757
|
+
Expungement: ["incidentDate", "criminalChargeType", ...nextStepsLegalDefaultLPM],
|
|
758
|
+
"Family Issues": ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
759
|
+
Foreclosure: [
|
|
760
|
+
"ownRealEstate",
|
|
761
|
+
"typeOfProperty",
|
|
762
|
+
"amountPaymentsPastDue",
|
|
763
|
+
"loanAmount",
|
|
764
|
+
"defaultNotice",
|
|
765
|
+
...nextStepsLegalDefault,
|
|
766
|
+
],
|
|
767
|
+
Guardianship: ["maritalStatus", "haveChildren", ...nextStepsLegalDefaultLPM],
|
|
768
|
+
"Immigration and Visas": [
|
|
769
|
+
"countryOfCitizenship",
|
|
770
|
+
"immigrationLocation",
|
|
771
|
+
"immigrationEntry",
|
|
772
|
+
"immigrationType",
|
|
773
|
+
"immigrationStatus",
|
|
774
|
+
"immigrationDetails",
|
|
775
|
+
...nextStepsLegalDefault,
|
|
776
|
+
],
|
|
777
|
+
"Landlord and Tenant": ["landlordTenantIssue", "landlordTenantParty", ...nextStepsLegalDefault],
|
|
778
|
+
"Lemon Law": ["incidentDate", "lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
779
|
+
"Long Term Disability": [
|
|
780
|
+
"applicantOccupation",
|
|
781
|
+
"applicantAge",
|
|
782
|
+
"applicantLTDisabilityPolicy",
|
|
783
|
+
"applicantDisabilityHowObtain",
|
|
784
|
+
"applicantPreviouslyAppliedLtdBenefits",
|
|
785
|
+
"applicantReceivedDisabilityBenefits",
|
|
786
|
+
"applicantMonthlySalary",
|
|
787
|
+
...nextStepsLegalNoDOI,
|
|
788
|
+
],
|
|
789
|
+
"Medical Malpractice": [
|
|
790
|
+
"incidentDate",
|
|
791
|
+
"claimStatus",
|
|
792
|
+
"doctorTreatment",
|
|
793
|
+
"medicalMalpracticeInjuries",
|
|
794
|
+
...nextStepsLegalDefault,
|
|
795
|
+
],
|
|
796
|
+
"Patents and Intellectual Property": ["patentAssistanceType", "patentFor", ...nextStepsLegalDefault],
|
|
797
|
+
"Personal Injury": [
|
|
798
|
+
"incidentDate",
|
|
799
|
+
"claimStatus",
|
|
800
|
+
"atFault",
|
|
801
|
+
"primaryInjury",
|
|
802
|
+
"doctorTreatment",
|
|
803
|
+
...nextStepsLegalNoDOI,
|
|
804
|
+
],
|
|
805
|
+
"Probate and Estates": [
|
|
806
|
+
"valueOfAssets",
|
|
807
|
+
"typeOfAssets",
|
|
808
|
+
"roleInMatterProbate",
|
|
809
|
+
"estateLegalServicesNeeded",
|
|
810
|
+
...nextStepsLegalDefault,
|
|
811
|
+
],
|
|
812
|
+
"Property Damage": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
813
|
+
"Real Estate": ["realEstateTOLPDisplay", "realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
814
|
+
"Social Security Disability and Insurance": [
|
|
815
|
+
"applicantAge",
|
|
816
|
+
"disabilityConditionStopWork",
|
|
817
|
+
"disabilityWorkHistory",
|
|
818
|
+
"socialSecurityDisabilityReceivingBenefits",
|
|
819
|
+
"doctorTreatment",
|
|
820
|
+
...nextStepsLegalNoDOI,
|
|
821
|
+
],
|
|
822
|
+
"Tax and IRS": ["totalDebt", "taxProblemDetails", "taxLevel", "taxIssueType", ...nextStepsLegalDefault],
|
|
823
|
+
"Traffic and Tickets": ["driversLicenseType", "trafficViolations", "haveCourtDate", ...nextStepsLegalDefault],
|
|
824
|
+
Unemployment: ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalNoHA],
|
|
825
|
+
"Victim of a Crime": [
|
|
826
|
+
"crimeCommittedDate",
|
|
827
|
+
"roleInMatterCriminal",
|
|
828
|
+
"pendingCharges",
|
|
829
|
+
...nextStepsLegalDefaultLPM,
|
|
830
|
+
],
|
|
831
|
+
"Wills and Trusts": [
|
|
832
|
+
"valueOfAssets",
|
|
833
|
+
"typeOfAssets",
|
|
834
|
+
"roleInMatterProbate",
|
|
835
|
+
"estateLegalServicesNeeded",
|
|
836
|
+
...nextStepsLegalDefault,
|
|
837
|
+
],
|
|
838
|
+
"Workers Compensation": [
|
|
839
|
+
"incidentDate",
|
|
840
|
+
"claimStatus",
|
|
841
|
+
"primaryInjury",
|
|
842
|
+
"causeOfInjury",
|
|
843
|
+
"doctorTreatment",
|
|
844
|
+
...nextStepsLegalNoDOI,
|
|
845
|
+
],
|
|
846
|
+
"Workplace Harassment": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
847
|
+
"Workplace Discrimination": [
|
|
848
|
+
"numEmployeesOfBusiness",
|
|
849
|
+
"employerType",
|
|
850
|
+
"employeeAtCompany",
|
|
851
|
+
...nextStepsLegalDefault,
|
|
852
|
+
],
|
|
853
|
+
"Wrongful Death": [
|
|
854
|
+
"incidentDate",
|
|
855
|
+
"relationshipToVictim",
|
|
856
|
+
"criminalChargesFiled",
|
|
857
|
+
"causeOfDeath",
|
|
858
|
+
...nextStepsLegalNoDOI,
|
|
859
|
+
],
|
|
860
|
+
"Wrongful Termination": ["numEmployeesOfBusiness", "employerType", ...nextStepsLegalDefault],
|
|
861
|
+
},
|
|
862
|
+
"*": nextStepsLegalDefault,
|
|
863
|
+
},
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
// Helper to take existing map and trim or replace steps
|
|
867
|
+
function filterNextStepsMap(nextStepsMap, removableSteps = [], replaceSteps = {}) {
|
|
868
|
+
const modifiedMap = { ...nextStepsMap };
|
|
869
|
+
|
|
870
|
+
function filterSteps(steps) {
|
|
871
|
+
return steps.filter((step) => !removableSteps.includes(step)).map((step) => replaceSteps[step] || step)
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
function modifyValues(values) {
|
|
875
|
+
const modifiedValues = {};
|
|
876
|
+
for (const key in values) {
|
|
877
|
+
if (Array.isArray(values[key])) {
|
|
878
|
+
modifiedValues[key] = filterSteps(values[key]);
|
|
879
|
+
} else if (typeof values[key] === "object") {
|
|
880
|
+
modifiedValues[key] = modifyValues(values[key]);
|
|
881
|
+
} else {
|
|
882
|
+
modifiedValues[key] = values[key];
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
return modifiedValues
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
modifiedMap.values = modifyValues(nextStepsMap.values);
|
|
889
|
+
return modifiedMap
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
filterNextStepsMap(nextStepsMapGeneralLegal, ["legalCrossSells"], {
|
|
893
|
+
commentsWithBankruptcy: "comments",
|
|
894
|
+
});
|
|
895
|
+
|
|
896
|
+
const TOLPNextSteps = nextStepsMapGeneralLegal["values"]["Type_Of_Legal_Problem"];
|
|
897
|
+
|
|
898
|
+
({
|
|
899
|
+
values: {
|
|
900
|
+
Type_Of_Legal_Problem_Display: {
|
|
901
|
+
"Auto Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
902
|
+
"Workplace Injury": TOLPNextSteps["Workers Compensation"].filter((step) => step !== "legalCrossSells"),
|
|
903
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
904
|
+
"Slip and Fall": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
905
|
+
"Trucking Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
906
|
+
"Motorcycle Accident": TOLPNextSteps["Auto and Car Accidents"].filter((step) => step !== "legalCrossSells"),
|
|
907
|
+
"Other Accidents or Injuries": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
908
|
+
},
|
|
909
|
+
"*": TOLPNextSteps["Personal Injury"].filter((step) => step !== "legalCrossSells"),
|
|
910
|
+
},
|
|
911
|
+
});
|
|
912
|
+
|
|
913
|
+
({
|
|
914
|
+
values: {
|
|
915
|
+
Type_Of_Legal_Problem: {
|
|
916
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
917
|
+
"Child Support": TOLPNextSteps["Child Support"],
|
|
918
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
919
|
+
},
|
|
920
|
+
"*": TOLPNextSteps["Family Issues"],
|
|
921
|
+
},
|
|
922
|
+
});
|
|
923
|
+
|
|
924
|
+
({
|
|
925
|
+
values: {
|
|
926
|
+
Type_Of_Legal_Problem_Display: {
|
|
927
|
+
"Alimony or Child Support": TOLPNextSteps["Child Support"],
|
|
928
|
+
"Child Custody": TOLPNextSteps["Child Custody"],
|
|
929
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
930
|
+
},
|
|
931
|
+
"*": TOLPNextSteps["Divorce and Separation"],
|
|
932
|
+
},
|
|
933
|
+
});
|
|
934
|
+
|
|
935
|
+
({
|
|
936
|
+
values: {
|
|
937
|
+
Civil_Defense: {
|
|
938
|
+
Yes: TOLPNextSteps["Defend a Lawsuit"],
|
|
939
|
+
No: TOLPNextSteps["File a Lawsuit"],
|
|
940
|
+
},
|
|
941
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
942
|
+
},
|
|
943
|
+
});
|
|
944
|
+
|
|
945
|
+
({
|
|
946
|
+
values: {
|
|
947
|
+
Type_Of_Legal_Problem: {
|
|
948
|
+
"Defend a Lawsuit": TOLPNextSteps["Defend a Lawsuit"],
|
|
949
|
+
"File a Lawsuit": TOLPNextSteps["File a Lawsuit"],
|
|
950
|
+
},
|
|
951
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
952
|
+
},
|
|
953
|
+
});
|
|
954
|
+
|
|
955
|
+
const nextStepsMapCivilTOLPDisplay = {
|
|
956
|
+
values: {
|
|
957
|
+
Type_Of_Legal_Problem_Display: {
|
|
958
|
+
"Automobile Accident": TOLPNextSteps["Auto and Car Accidents"],
|
|
959
|
+
"Contract Disputes": TOLPNextSteps["Business Lawyers"],
|
|
960
|
+
"Dog Bite": TOLPNextSteps["Personal Injury"],
|
|
961
|
+
"Employment and Workplace": TOLPNextSteps["Employment and Workplace"],
|
|
962
|
+
Fraud: TOLPNextSteps["Consumer Lawyers"],
|
|
963
|
+
"Medical Malpractice": TOLPNextSteps["Medical Malpractice"],
|
|
964
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
965
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
966
|
+
"Real Estate": TOLPNextSteps["Real Estate"],
|
|
967
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
968
|
+
},
|
|
969
|
+
"*": ["lawsuitOtherParty", ...nextStepsLegalDefault],
|
|
970
|
+
},
|
|
971
|
+
};
|
|
972
|
+
|
|
973
|
+
filterNextStepsMap(nextStepsMapCivilTOLPDisplay, ["legalCrossSells"], {
|
|
974
|
+
commentsWithBankruptcy: "comments",
|
|
975
|
+
});
|
|
976
|
+
|
|
977
|
+
const nextStepsMapCriminalTOLPDisplay = {
|
|
978
|
+
values: {
|
|
979
|
+
Type_Of_Legal_Problem_Display: {
|
|
980
|
+
"Victim of a Crime": TOLPNextSteps["Victim of a Crime"],
|
|
981
|
+
"DUI and DWI": TOLPNextSteps["DUI and DWI"],
|
|
982
|
+
Expungement: TOLPNextSteps["Expungement"],
|
|
983
|
+
"Not Sure or Other": nextStepsMapGeneralLegal["values"]["*"],
|
|
984
|
+
},
|
|
985
|
+
"*": ["crimeCommittedDate", "roleInMatterCriminal", "pendingCharges", ...nextStepsLegalDefaultLPM],
|
|
986
|
+
},
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
filterNextStepsMap(
|
|
990
|
+
nextStepsMapCriminalTOLPDisplay,
|
|
991
|
+
["legalCrossSells"],
|
|
992
|
+
{
|
|
993
|
+
commentsWithBankruptcy: "comments",
|
|
994
|
+
}
|
|
995
|
+
);
|
|
996
|
+
|
|
997
|
+
const nextStepsMapEmploymentAndWorkplaceTOLPDisplay = {
|
|
998
|
+
values: {
|
|
999
|
+
Type_Of_Legal_Problem_Display: {
|
|
1000
|
+
"Wrongful Termination": TOLPNextSteps["Wrongful Termination"],
|
|
1001
|
+
"Workers Compensation": TOLPNextSteps["Workers Compensation"],
|
|
1002
|
+
"Personal Injury": TOLPNextSteps["Personal Injury"],
|
|
1003
|
+
Unemployment: TOLPNextSteps["Unemployment"],
|
|
1004
|
+
},
|
|
1005
|
+
"*": ["numEmployeesOfBusiness", "employerType", "employeeAtCompany", ...nextStepsLegalDefault],
|
|
1006
|
+
},
|
|
1007
|
+
};
|
|
1008
|
+
|
|
1009
|
+
filterNextStepsMap(
|
|
1010
|
+
nextStepsMapEmploymentAndWorkplaceTOLPDisplay,
|
|
1011
|
+
["legalCrossSells"],
|
|
1012
|
+
{
|
|
1013
|
+
commentsWithBankruptcy: "comments",
|
|
1014
|
+
}
|
|
1015
|
+
);
|
|
1016
|
+
|
|
1017
|
+
({
|
|
1018
|
+
values: {
|
|
1019
|
+
// Custom because we ask typeOfProperty on s1
|
|
1020
|
+
"*": ["amountPaymentsPastDue", "loanAmount", "defaultNotice", "ownRealEstate", ...nextStepsLegalDefault],
|
|
1021
|
+
},
|
|
1022
|
+
});
|
|
1023
|
+
|
|
1024
|
+
({
|
|
1025
|
+
values: {
|
|
1026
|
+
Type_Of_Legal_Problem_Display: {
|
|
1027
|
+
Patents: TOLPNextSteps["Patents and Intellectual Property"],
|
|
1028
|
+
"Business Lawyers": TOLPNextSteps["Business Lawyers"],
|
|
1029
|
+
"Business Consulting": TOLPNextSteps["Business Lawyers"],
|
|
1030
|
+
},
|
|
1031
|
+
"*": nextStepsMapGeneralLegal["values"]["*"],
|
|
1032
|
+
},
|
|
1033
|
+
});
|
|
1034
|
+
|
|
1035
|
+
const nextStepsMapRealEstateTOLPDisplay = {
|
|
1036
|
+
values: {
|
|
1037
|
+
Type_Of_Legal_Problem_Display: {
|
|
1038
|
+
Foreclosure: TOLPNextSteps["Foreclosure"],
|
|
1039
|
+
"Landlord and Tenant": TOLPNextSteps["Landlord and Tenant"],
|
|
1040
|
+
"Wills, Trusts, and Estates": TOLPNextSteps["Wills and Trusts"],
|
|
1041
|
+
"Property Damage": TOLPNextSteps["Property Damage"],
|
|
1042
|
+
},
|
|
1043
|
+
"*": ["realEstateArea", "wouldLikeLawyerTo", ...nextStepsLegalDefault],
|
|
1044
|
+
},
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
filterNextStepsMap(
|
|
1048
|
+
nextStepsMapRealEstateTOLPDisplay,
|
|
1049
|
+
["legalCrossSells"],
|
|
1050
|
+
{
|
|
1051
|
+
commentsWithBankruptcy: "comments",
|
|
1052
|
+
}
|
|
1053
|
+
);
|
|
1054
|
+
|
|
666
1055
|
// ------ Home Improvement
|
|
667
1056
|
|
|
668
1057
|
const HomeImprovementCommentsPlaceholders = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var applianceRepairMinimal=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)},a=e=>(e.wrapperClass="side-by-side t-items-center",t(e)),n=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",t(e)),r=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},inputClass:"t-text-center",...a}),s=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},inputClass:"t-text-center",...a}),i=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center t-max-w-[95%] sm:!t-max-w-[70%]"},children:[r(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t}),s(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t})]}),l=(e,a={})=>t({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:a.placeholder||"Phone Number",maxlength:14,help:a.help||null,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 (XXX) YYY-ZZZZ",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...a}),o=(e,t,r={})=>(t?n:a)({label:t?r.label:"Zip Code:",help:t?r.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"},...r}),m=(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:"")}}),p=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,c=e=>{if(p(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(p(a))return a;const n=c(a);if(n)return n}return null},d={$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 u(t={}){return e(d,t)}function f(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 h(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 x(t,a,n={}){const{nextOnEnter:r=!0,nextOnInput:s=!1,stepKey:i,nextStepMap:l,triggerRedirectMap:o,autoFocus:m}=n;if(a&&a.length&&(r||s)){const e=c(a[a.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===s&&(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,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:o,autoFocus:m,children:a}]})}const g={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 y(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const $={};const v={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const b=[{$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}],w={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"'},S={Appliances:"We Have Appliance Pros Standing By!"},C={Appliances:"Who needs appliance help?"};var I;return[function(t=null){let a=w,n=S,r=C;return t&&(a=y(w,t),n=y(S,t),r=y(C,t)),{type:"meta",data:e($,{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:'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:a,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:n,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:r})}}(),(I={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(v,I)),{$cmp:"FormKit",props:function(t){const a=e(g,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"applianceRepairMinimal",redirectMap:{"*":"/thank-you"}}),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", "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", "Please Enter Your Zip Code:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...b,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return x("applianceRepairFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Appliances"},o(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return x("contactInfo",[f(e),h(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})();"},{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center"},children:[i(e.scope),l(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"})]},m(e.scope,{outerClass:"!t-flex !t-flex-col !t-justify-center !t-items-center",wrapperClass:"t-w-[95%] sm:t-w-[75%]",messagesClass:"t-w-[95%] sm:t-w-[75%]"})],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]",headline:'$getKey($meta, "finalHeadlines." + $get(Category).value, $meta.defaultFinalHeadline)',subheadline:'$getKey($meta, "finalSubHeadlines." + $get(Category).value, $meta.defaultFinalSubHeadline)'}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav !t-justify-center ",else:"step-nav !t-justify-between"}}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"t-hidden sm:t-block",else:""},style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",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||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({startText:"Schedule Now",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[u({attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},...e})]}}(),{$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"}}]}]}]}]}();
|
|
1
|
+
var applianceRepairMinimal=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=t=>{var a;return(a=t).name&&!a.id&&(a.id=a.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)},a=e=>(e.wrapperClass="side-by-side t-items-center",t(e)),n=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",t(e)),s=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},inputClass:"t-text-center",...a}),r=(e,a={})=>t({$formkit:"FloatingLabelText",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},inputClass:"t-text-center",...a}),i=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center t-max-w-[95%] sm:!t-max-w-[70%]"},children:[s(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t}),r(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t})]}),l=(e,a={})=>t({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:a.placeholder||"Phone Number",maxlength:14,help:a.help||null,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 (XXX) YYY-ZZZZ",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...a}),o=(e,t,s={})=>(t?n:a)({label:t?s.label:"Zip Code:",help:t?s.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"},...s}),m=(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:"")}}),c=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,p=e=>{if(c(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(c(a))return a;const n=p(a);if(n)return n}return null},d={$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 u(t={}){return e(d,t)}function f(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 y(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 h(t,a,n={}){const{nextOnEnter:s=!0,nextOnInput:r=!1,stepKey:i,nextStepMap:l,triggerRedirectMap:o,autoFocus:m}=n;if(a&&a.length&&(s||r)){const e=p(a[a.length-1]);e&&!0===s&&(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,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:o,autoFocus:m,children:a}]})}const g={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 x(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const v={};const C={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const b=[{$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}],$=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],w=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],I=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],S={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...w],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...$],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...I],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...$],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...$],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...w],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...w],"Civil Rights and Discrimination":["civilRightsType",...$],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...$],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...$],"Defend a Lawsuit":["lawsuitOtherParty",...$],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...$],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...w],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...$],"Divorce and Separation":["maritalStatus","haveChildren",...w],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...$],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...$],Expungement:["incidentDate","criminalChargeType",...w],"Family Issues":["maritalStatus","haveChildren",...w],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...$],Guardianship:["maritalStatus","haveChildren",...w],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...$],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...$],"Lemon Law":["incidentDate","lawsuitOtherParty",...$],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...I],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...$],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...$],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...I],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...$],"Property Damage":["realEstateArea","wouldLikeLawyerTo",...$],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...$],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...I],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...$],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...$],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...w],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...$],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...I],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...$],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...$],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...I],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...$]},"*":$}};function E(e,t=[],a={}){const n={...e};return n.values=function e(n){const s={};for(const r in n)Array.isArray(n[r])?s[r]=n[r].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[r]?s[r]=e(n[r]):s[r]=n[r];return s}(e.values),n}E(S,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const P=S.values.Type_Of_Legal_Problem;P["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),P["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),P["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Personal Injury"].filter((e=>"legalCrossSells"!==e)),P["Child Custody"],P["Child Support"],S.values["*"],P["Family Issues"],P["Child Support"],P["Child Custody"],S.values["*"],P["Divorce and Separation"],P["Defend a Lawsuit"],P["File a Lawsuit"],P["Defend a Lawsuit"],P["File a Lawsuit"];E({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":P["Auto and Car Accidents"],"Contract Disputes":P["Business Lawyers"],"Dog Bite":P["Personal Injury"],"Employment and Workplace":P["Employment and Workplace"],Fraud:P["Consumer Lawyers"],"Medical Malpractice":P["Medical Malpractice"],"Personal Injury":P["Personal Injury"],"Property Damage":P["Property Damage"],"Real Estate":P["Real Estate"],"Not Sure or Other":S.values["*"]},"*":["lawsuitOtherParty",...$]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});E({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":P["Victim of a Crime"],"DUI and DWI":P["DUI and DWI"],Expungement:P.Expungement,"Not Sure or Other":S.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...w]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});E({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":P["Wrongful Termination"],"Workers Compensation":P["Workers Compensation"],"Personal Injury":P["Personal Injury"],Unemployment:P.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...$]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),P["Patents and Intellectual Property"],P["Business Lawyers"],P["Business Lawyers"],S.values["*"];E({values:{Type_Of_Legal_Problem_Display:{Foreclosure:P.Foreclosure,"Landlord and Tenant":P["Landlord and Tenant"],"Wills, Trusts, and Estates":P["Wills and Trusts"],"Property Damage":P["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...$]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const k={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"'},T={Appliances:"We Have Appliance Pros Standing By!"},L={Appliances:"Who needs appliance help?"};var D;return[function(t=null){let a=k,n=T,s=L;return t&&(a=x(k,t),n=x(T,t),s=x(L,t)),{type:"meta",data:e(v,{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:'$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',commentsPlaceholders:a,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:n,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:s})}}(),(D={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(C,D)),{$cmp:"FormKit",props:function(t){const a=e(g,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"applianceRepairMinimal",redirectMap:{"*":"/thank-you"}}),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", "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", "Please Enter Your Zip Code:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...b,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return h("applianceRepairFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Appliances"},o(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return h("contactInfo",[f(e),y(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})();"},{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center"},children:[i(e.scope),l(e.scope,{outerClass:"!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",innerClass:"!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]"})]},m(e.scope,{outerClass:"!t-flex !t-flex-col !t-justify-center !t-items-center",wrapperClass:"t-w-[95%] sm:t-w-[75%]",messagesClass:"t-w-[95%] sm:t-w-[75%]"})],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]",headline:'$getKey($meta, "finalHeadlines." + $get(Category).value, $meta.defaultFinalHeadline)',subheadline:'$getKey($meta, "finalSubHeadlines." + $get(Category).value, $meta.defaultFinalSubHeadline)'}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav !t-justify-center ",else:"step-nav !t-justify-between"}}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"t-hidden sm:t-block",else:""},style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",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||"")+" f-navigation-input !t-w-60",outer:"!t-mt-0 !t-mb-0"}}]}))({startText:"Schedule Now",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center"}),function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[u({attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},...e})]}}(),{$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"}}]}]}]}]}();
|