bhl-forms 0.2.8 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bhl-forms.es.js +1013 -590
- package/dist/bhl-forms.iife.js +7 -7
- package/dist/bhl-forms.modern.es.js +1710 -1221
- package/dist/bhl-forms.modern.iife.js +10 -10
- package/dist/bhl-forms.modern.umd.js +10 -10
- package/dist/bhl-forms.umd.js +7 -7
- package/dist/forms/accidentsAndInjuries.es.js +47 -47
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/appraisals.es.js +2 -2
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/childAndFamily.es.js +48 -48
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/civilLawsuit.es.js +49 -48
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/coins.es.js +2 -2
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.es.js +13 -13
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +169 -169
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +41 -41
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalLegal.es.js +310 -176
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +177 -176
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderTF.es.js +169 -169
- package/dist/forms/generalLegalPopUnderTF.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderTF.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +169 -169
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +13 -13
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/malpractice.es.js +19 -19
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +2 -2
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/realEstate.es.js +169 -169
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +15 -15
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +7 -7
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +3 -3
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +2 -2
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.es.js +5 -2
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/vets.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +41 -41
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/dist/main.css +1 -1
- package/package.json +4 -4
|
@@ -711,8 +711,8 @@ const sbsDate = (updates) => {
|
|
|
711
711
|
return date(updates)
|
|
712
712
|
};
|
|
713
713
|
|
|
714
|
-
const atFault = () => sbsYesNoRadio({
|
|
715
|
-
name: 'At_Fault',
|
|
714
|
+
const atFault = (scope) => sbsYesNoRadio({
|
|
715
|
+
name: scope ? scope + ':' + 'At_Fault' : 'At_Fault',
|
|
716
716
|
label: 'Were You at Fault?'
|
|
717
717
|
});
|
|
718
718
|
|
|
@@ -725,9 +725,9 @@ const bankruptcyCrossSell = () => sbsCheckbox({
|
|
|
725
725
|
helpClass: "!t-text-sm"
|
|
726
726
|
});
|
|
727
727
|
|
|
728
|
-
const causeOfInjury = () => sbsSelect({
|
|
728
|
+
const causeOfInjury = (scope) => sbsSelect({
|
|
729
|
+
name: scope ? scope + ':' + 'Cause_Of_Injury' : 'Cause_Of_Injury',
|
|
729
730
|
label: 'Cause of Injury:',
|
|
730
|
-
name: 'Cause_Of_Injury',
|
|
731
731
|
options: [
|
|
732
732
|
"Traumatic Physical Injury (Accident)",
|
|
733
733
|
"Repeated Trauma Injury",
|
|
@@ -737,9 +737,9 @@ const causeOfInjury = () => sbsSelect({
|
|
|
737
737
|
]
|
|
738
738
|
});
|
|
739
739
|
|
|
740
|
-
const claimStatus = () => sbsSelect({
|
|
740
|
+
const claimStatus = (scope) => sbsSelect({
|
|
741
|
+
name: scope ? scope + ':' + 'Claim_Status' : 'Claim_Status',
|
|
741
742
|
label: "Status of Claim:",
|
|
742
|
-
name: 'Claim_Status',
|
|
743
743
|
options: [
|
|
744
744
|
"No action taken yet",
|
|
745
745
|
"Demand for compensation made",
|
|
@@ -756,10 +756,10 @@ const comments = (updates) => textArea(
|
|
|
756
756
|
}, updates)
|
|
757
757
|
);
|
|
758
758
|
|
|
759
|
-
const degreeOfInterest = (help) => sbsSelect({
|
|
759
|
+
const degreeOfInterest = (scope, help) => sbsSelect({
|
|
760
|
+
name: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
761
|
+
id: scope ? scope + ':' + 'Degree_Of_Interest' : 'Degree_Of_Interest',
|
|
760
762
|
label: 'How Likely Are You to Pay if Your Issue Could be Resolved?',
|
|
761
|
-
id: 'Degree_Of_Interest',
|
|
762
|
-
name: 'Degree_Of_Interest',
|
|
763
763
|
help: help,
|
|
764
764
|
options: [
|
|
765
765
|
'Definitely',
|
|
@@ -769,10 +769,10 @@ const degreeOfInterest = (help) => sbsSelect({
|
|
|
769
769
|
]
|
|
770
770
|
});
|
|
771
771
|
|
|
772
|
-
const degreeOfInterestHelp = () => degreeOfInterest('No payment necessary to speak with lawyers.');
|
|
772
|
+
const degreeOfInterestHelp = (scope) => degreeOfInterest(scope, 'No payment necessary to speak with lawyers.');
|
|
773
773
|
|
|
774
|
-
const doctorTreatment = () => sbsYesNoRadio({
|
|
775
|
-
name: 'Doctor_Treatment',
|
|
774
|
+
const doctorTreatment = (scope) => sbsYesNoRadio({
|
|
775
|
+
name: scope ? scope + ':' + 'Doctor_Treatment' : 'Doctor_Treatment',
|
|
776
776
|
label: 'Have You Recently Been Treated by a Doctor, Hospital or Clinic?'
|
|
777
777
|
});
|
|
778
778
|
|
|
@@ -830,14 +830,14 @@ const firstName = () => sbsText({
|
|
|
830
830
|
}
|
|
831
831
|
});
|
|
832
832
|
|
|
833
|
-
const haveAttorney = () => sbsYesNoRadio({
|
|
834
|
-
name: 'Have_Attorney',
|
|
833
|
+
const haveAttorney = (scope) => sbsYesNoRadio({
|
|
834
|
+
name: scope ? scope + ':' + 'Have_Attorney' : 'Have_Attorney',
|
|
835
835
|
label: 'Already Working with An Attorney?'
|
|
836
836
|
});
|
|
837
837
|
|
|
838
|
-
const incidentDate = () => sbsDate({
|
|
838
|
+
const incidentDate = (scope) => sbsDate({
|
|
839
|
+
name: scope ? scope + ':' + 'Incident_Date' : 'Incident_Date',
|
|
839
840
|
label: 'Date of Incident:',
|
|
840
|
-
name: 'Incident_Date'
|
|
841
841
|
});
|
|
842
842
|
|
|
843
843
|
const lastName = () => sbsText({
|
|
@@ -883,9 +883,9 @@ const phone = () => sbsText({
|
|
|
883
883
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
|
|
884
884
|
});
|
|
885
885
|
|
|
886
|
-
const primaryInjury = () => sbs2ColRadio({
|
|
886
|
+
const primaryInjury = (scope) => sbs2ColRadio({
|
|
887
|
+
name: scope ? scope + ':' + 'Primary_Injury' : 'Primary_Injury',
|
|
887
888
|
label: 'Primary Injury:',
|
|
888
|
-
name: 'Primary_Injury',
|
|
889
889
|
options: [
|
|
890
890
|
"Anxiety",
|
|
891
891
|
"Back or Neck Pain",
|
|
@@ -977,17 +977,17 @@ const WorkplaceDiscriminationQuestions = () => group(
|
|
|
977
977
|
}
|
|
978
978
|
);
|
|
979
979
|
|
|
980
|
-
const PersonalInjuryQuestions = () => group(
|
|
980
|
+
const PersonalInjuryQuestions = (condition, scope) => group(
|
|
981
981
|
'PersonalInjuryQuestions',
|
|
982
982
|
{
|
|
983
|
-
if: '$get(Type_Of_Legal_Problem).value == "Personal Injury"',
|
|
983
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Personal Injury"'),
|
|
984
984
|
children: [
|
|
985
|
-
haveAttorney(),
|
|
986
|
-
incidentDate(),
|
|
987
|
-
claimStatus(),
|
|
988
|
-
atFault(),
|
|
989
|
-
primaryInjury(),
|
|
990
|
-
doctorTreatment()
|
|
985
|
+
haveAttorney(scope),
|
|
986
|
+
incidentDate(scope),
|
|
987
|
+
claimStatus(scope),
|
|
988
|
+
atFault(scope),
|
|
989
|
+
primaryInjury(scope),
|
|
990
|
+
doctorTreatment(scope)
|
|
991
991
|
]
|
|
992
992
|
}
|
|
993
993
|
);
|
|
@@ -1004,17 +1004,17 @@ const UnemploymentQuestions = () => group(
|
|
|
1004
1004
|
}
|
|
1005
1005
|
);
|
|
1006
1006
|
|
|
1007
|
-
const WorkersCompensationQuestions = () => group(
|
|
1007
|
+
const WorkersCompensationQuestions = (condition, scope) => group(
|
|
1008
1008
|
'WorkersCompensationQuestions',
|
|
1009
1009
|
{
|
|
1010
|
-
if: '$get(Type_Of_Legal_Problem).value == "Workers Compensation"',
|
|
1010
|
+
if: (condition || '$get(Type_Of_Legal_Problem).value == "Workers Compensation"'),
|
|
1011
1011
|
children: [
|
|
1012
|
-
haveAttorney(),
|
|
1013
|
-
incidentDate(),
|
|
1014
|
-
claimStatus(),
|
|
1015
|
-
primaryInjury(),
|
|
1016
|
-
causeOfInjury(),
|
|
1017
|
-
doctorTreatment()
|
|
1012
|
+
haveAttorney(scope),
|
|
1013
|
+
incidentDate(scope),
|
|
1014
|
+
claimStatus(scope),
|
|
1015
|
+
primaryInjury(scope),
|
|
1016
|
+
causeOfInjury(scope),
|
|
1017
|
+
doctorTreatment(scope)
|
|
1018
1018
|
]
|
|
1019
1019
|
}
|
|
1020
1020
|
);
|
|
@@ -1082,9 +1082,9 @@ const stepDefaults = (step) => ({
|
|
|
1082
1082
|
function questionsStepHeadline(updates) {
|
|
1083
1083
|
return {
|
|
1084
1084
|
$el: 'h3',
|
|
1085
|
-
children: updates.headline || 'Tell Us About Your
|
|
1085
|
+
children: updates.headline || 'Tell Us About Your Situation',
|
|
1086
1086
|
attrs: {
|
|
1087
|
-
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-
|
|
1087
|
+
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'
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
1090
|
}
|
|
@@ -1095,7 +1095,7 @@ function commentsStepHeadline(updates) {
|
|
|
1095
1095
|
$el: 'h3',
|
|
1096
1096
|
children: updates.headline || 'Additional Case Details',
|
|
1097
1097
|
attrs: {
|
|
1098
|
-
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-
|
|
1098
|
+
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' + ' ' + (updates.headlineClass || '')
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
1101
|
}
|
|
@@ -1105,7 +1105,7 @@ function firstAndLastStepHeadline(updates) {
|
|
|
1105
1105
|
$el: 'h3',
|
|
1106
1106
|
children: updates.headline || 'Please Provide a Contact Name',
|
|
1107
1107
|
attrs: {
|
|
1108
|
-
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-
|
|
1108
|
+
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' + ' ' + (updates.headlineClass || '')
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
1111
|
}
|
|
@@ -1115,7 +1115,7 @@ function contactStepHeadline(updates) {
|
|
|
1115
1115
|
$el: 'h3',
|
|
1116
1116
|
children: updates.headline || DEFAULT_FINAL_HEADLINE_DYNAMIC,
|
|
1117
1117
|
attrs: {
|
|
1118
|
-
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-
|
|
1118
|
+
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1'
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
1121
|
}
|
|
@@ -1162,10 +1162,10 @@ function step(name, inputs, nextOnEnter = true, nextOnInput = false) {
|
|
|
1162
1162
|
}
|
|
1163
1163
|
if (inputs && inputs.length && (nextOnEnter || nextOnInput)) {
|
|
1164
1164
|
const lastInput = findLastInput(inputs[inputs.length - 1]);
|
|
1165
|
-
if (nextOnEnter === true) {
|
|
1165
|
+
if (lastInput && nextOnEnter === true) {
|
|
1166
1166
|
lastInput.onKeypress = NEXT_ON_ENTER;
|
|
1167
1167
|
}
|
|
1168
|
-
if (nextOnInput === true) {
|
|
1168
|
+
if (lastInput && nextOnInput === true) {
|
|
1169
1169
|
lastInput.onInput = NEXT_ON_INPUT;
|
|
1170
1170
|
}
|
|
1171
1171
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var employmentAndWorkplace=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',n={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const i={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l={$el:"div",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 s(t){return e(l,t)}const m=[{$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}],d={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const p=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),c=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",c(e)))(e)),f=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),y=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),g=t=>(t.wrapperClass="side-by-side t-items-center",(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))(t)),h=()=>f({label:"Status of Claim:",name:"Claim_Status",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),b=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),_=()=>f({label:"How Likely Are You to Pay if Your Issue Could be Resolved?",id:"Degree_Of_Interest",name:"Degree_Of_Interest",help:"No payment necessary to speak with lawyers.",options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}),x=()=>u({name:"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),v=()=>f({label:"The Employer Is a:",name:"Employer_Type",options:["Sole proprietorship (mom and pop)","Partnership","Franchise","Privately held company","Public corporation","Government Agency","Don't know"]}),w=t=>(e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="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",c(e)))(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',label:"Select The Workplace Issue:",options:["Workplace Harassment","Workplace Discrimination","Wrongful Termination","Payment Disputes","Workers Compensation","Personal Injury","Unemployment","Other Workplace Issues"]},t)),k=()=>u({name:"Have_Attorney",label:"Already Working with An Attorney?"}),P=()=>g({label:"Date of Incident:",name:"Incident_Date"}),I=()=>f({label:"Total Employees of Business? (estimated)",name:"Num_Employees_Of_Business",options:["1-5","6-20","21-50","51-100","101-500","501-1,000","More than 1,000"]}),$=()=>{return(e={label:"Primary Injury:",name:"Primary_Injury",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"]}).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",c(e);var e},C=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),L=()=>[k(),_()],T="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",O="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",E=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,S=e=>{if(E(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(E(a))return a;const r=S(a);if(r)return r}return null},D=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function A(e){return{$el:"h3",children:e.headline||"Tell Us About Your Case",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3"}}}function W(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3 "+(e.headlineClass||"")}}}function 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-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-3 "+(e.headlineClass||"")}}}function F(e){return{$el:"h3",children:e.headline||a,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-3"}}}function j(e){return{$el:"h5",children:e.subheadline||r,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}}}const M="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";function B(t,a,r=!0,n=!1){if(void 0===r&&(r=!0),a&&a.length&&(r||n)){const e=S(a[a.length-1]);!0===r&&(e.onKeypress=T),!0===n&&(e.onInput=O)}return e(D(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const N=[{type:"meta",data:e(i,{defaultCommentsPlaceholder:t,commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Nursing Home Abuse":'Example: "My mother\'s nursing home is physically abusing her"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Vaccination Injury":'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',"Veteran's Disability":'Example: "I would like help filing for disability benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Veteran's Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}})},e(o,Y),{$cmp:"FormKit",props:function(t){return e(n,t)}({formId:"employmentAndWorkplace",redirectMap:function(t){return e(d,t)}(),valueOverrideMap:{Civil_Defense:{Yes:{Type_Of_Legal_Problem:"Defend a Lawsuit"}},Type_Of_Legal_Problem_Display:{"Auto Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Slip and Fall":{Type_Of_Legal_Problem:"Personal Injury"},"Workplace Injury":{Type_Of_Legal_Problem:"Workers Compensation"},"Trucking Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Motorcycle Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Other Accidents or Injuries":{Type_Of_Legal_Problem:"Personal Injury"},"Automobile Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Contract Disputes":{Type_Of_Legal_Problem:"Business Lawyers"},"Defamation and Slander":{Type_Of_Legal_Problem:"File a Lawsuit"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Employment and Workplace":{Type_Of_Legal_Problem:"Employment and Workplace"},Fraud:{Type_Of_Legal_Problem:"Consumer Lawyers"},"Medical Malpractice":{Type_Of_Legal_Problem:"Medical Malpractice"},"Personal Injury":{Type_Of_Legal_Problem:"Personal Injury"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Small Claims":{Type_Of_Legal_Problem:"File a Lawsuit"},"Real Estate":{Type_Of_Legal_Problem:"Real Estate"},"Other (describe on next page)":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contract Creation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Enforcement":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Cancellation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Fraud":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Breach of Contract":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Other Contract Issues":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Criminal Defense":{Type_Of_Legal_Problem:"Criminal and Felony"},"Victim of a Crime":{Type_Of_Legal_Problem:"Victim of a Crime"},"DUI and DWI":{Type_Of_Legal_Problem:"DUI and DWI"},Expungement:{Type_Of_Legal_Problem:"Expungement"},Harassment:{Type_Of_Legal_Problem:"Criminal and Felony"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Workplace Harassment":{Type_Of_Legal_Problem:"Workplace Harassment"},"Workplace Discrimination":{Type_Of_Legal_Problem:"Workplace Discrimination"},"Wrongful Termination":{Type_Of_Legal_Problem:"Wrongful Termination"},"Payment Disputes":{Type_Of_Legal_Problem:"Employment and Workplace"},"Workers Compensation":{Type_Of_Legal_Problem:"Workers Compensation"},Unemployment:{Type_Of_Legal_Problem:"Unemployment"},"Other Workplace Issues":{Type_Of_Legal_Problem:"Employment and Workplace"},"Attorney Malpractice":{Type_Of_Legal_Problem:"Civil Lawsuit"},"Other Malpractice Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Vehicle Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Property Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Other Repossession Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contracts and Agreements":{Type_Of_Legal_Problem:"Real Estate"},"Deeds, Liens, and Titles":{Type_Of_Legal_Problem:"Real Estate"},Foreclosure:{Type_Of_Legal_Problem:"Foreclosure"},Insurance:{Type_Of_Legal_Problem:"Insurance"},"Landlord and Tenant":{Type_Of_Legal_Problem:"Landlord and Tenant"},"Loans and Mortgages":{Type_Of_Legal_Problem:"Real Estate"},"Wills, Trusts, and Estates":{Type_Of_Legal_Problem:"Wills and Trusts"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Other Real Estate Issues":{Type_Of_Legal_Problem:"Real Estate"}}}}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Start 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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...m,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return B("employmentAndWorkplaceTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Employment and Workplace"},w({if:"true"}),y({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return B("TOLPQuestions",[A(e),C("WorkplaceHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Harassment"',children:L()}),C("WorkplaceDiscriminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Discrimination"',children:L()}),C("WrongfulTerminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Wrongful Termination"',children:[k(),I(),v(),_()]}),C("WorkersCompensationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[k(),P(),h(),$(),f({label:"Cause of Injury:",name:"Cause_Of_Injury",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),x()]}),C("PersonalInjuryQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[k(),P(),h(),u({name:"At_Fault",label:"Were You at Fault?"}),$(),x()]}),C("UnemploymentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Unemployment"',children:[I(),v(),_()]}),C("EmploymentAndWorkplaceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',children:[k(),I(),v(),_()]}),C("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[k(),_()]})],e.nextOnEnter)}(),function(e={}){return B("commentsWithBankruptcy",[W(e),b({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),p({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return B("firstAndLast",[q(e),y({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),y({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return B("contactInfo",[F(e),j(e),{$el:"script",if:"$activeStep === $lastStep()",children:M},y({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),y({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var Y;return N}();
|
|
1
|
+
var employmentAndWorkplace=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Type_Of_Legal_Problem).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',n={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};const i={tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by lawyers, lawyer networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call 878-213-4937."};const o={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const l={$el:"div",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 s(t){return e(l,t)}const m=[{$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}],d={"*":"https://listings.ziplawyer.com/api/v1/redirect?zone_id=4&category=${properties.Type_Of_Legal_Problem}&Degree_Of_Interest=${properties.Degree_Of_Interest}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const p=t=>(t.legendClass="legend-left required",t.fieldsetClass="$reset side-by-side",t.optionsClass="t-pl-1",t.innerClass="t-flex t-items-center",t.wrapperClass="t-mb-3",(t=>e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t))(t)),c=t=>e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t),u=e=>(e.options=["Yes","No"],(e=>(e.legendClass="legend-left t-pb-1 required",e.fieldsetClass="$reset side-by-side t-items-center",e.optionsClass="t-mt-1 t-grid t-grid-cols-1 md:t-grid-cols-2-125 t-items-center",e.innerClass="t-flex t-items-center",e.optionClass="t-pr-1",c(e)))(e)),f=t=>(t.labelClass="required",t.wrapperClass="side-by-side t-items-center",t.innerClass="select-height-content",t.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",(t=>e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t))(t)),y=t=>(t.wrapperClass="side-by-side t-items-center",(t=>e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t))(t)),g=t=>(t.wrapperClass="side-by-side t-items-center",(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))(t)),h=e=>u({name:e?e+":At_Fault":"At_Fault",label:"Were You at Fault?"}),b=e=>f({name:e?e+":Cause_Of_Injury":"Cause_Of_Injury",label:"Cause of Injury:",options:["Traumatic Physical Injury (Accident)","Repeated Trauma Injury","Mental Injury","Occupational Disease","Not Sure"]}),_=e=>f({name:e?e+":Claim_Status":"Claim_Status",label:"Status of Claim:",options:["No action taken yet","Demand for compensation made","Lawsuit filed","Other"]}),x=t=>(t=>e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t))(e({label:"Please briefly describe your situation in a few words:",name:"Comments",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),v=e=>((e,t)=>f({name:e?e+":Degree_Of_Interest":"Degree_Of_Interest",id:e?e+":Degree_Of_Interest":"Degree_Of_Interest",label:"How Likely Are You to Pay if Your Issue Could be Resolved?",help:t,options:["Definitely","Probably","Maybe","Absolutely Can't Afford"]}))(e,"No payment necessary to speak with lawyers."),w=e=>u({name:e?e+":Doctor_Treatment":"Doctor_Treatment",label:"Have You Recently Been Treated by a Doctor, Hospital or Clinic?"}),k=()=>f({label:"The Employer Is a:",name:"Employer_Type",options:["Sole proprietorship (mom and pop)","Partnership","Franchise","Privately held company","Public corporation","Government Agency","Don't know"]}),P=t=>(e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="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",c(e)))(e({name:"Type_Of_Legal_Problem_Display",if:'$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',label:"Select The Workplace Issue:",options:["Workplace Harassment","Workplace Discrimination","Wrongful Termination","Payment Disputes","Workers Compensation","Personal Injury","Unemployment","Other Workplace Issues"]},t)),I=e=>u({name:e?e+":Have_Attorney":"Have_Attorney",label:"Already Working with An Attorney?"}),$=e=>g({name:e?e+":Incident_Date":"Incident_Date",label:"Date of Incident:"}),C=()=>f({label:"Total Employees of Business? (estimated)",name:"Num_Employees_Of_Business",options:["1-5","6-20","21-50","51-100","101-500","501-1,000","More than 1,000"]}),L=e=>{return(t={name:e?e+":Primary_Injury":"Primary_Injury",label:"Primary Injury:",options:["Anxiety","Back or Neck Pain","Broken Bones","Cuts and Bruises","Headaches","Memory Loss","Loss of Limb","Other (describe on next page)"]}).legendClass="legend-left-flex md:t-max-w-[40%] required",t.fieldsetClass="$reset side-by-side-flex",t.optionsClass="md:t-ml-4 md:t-mt-2 t-grid t-grid-cols-1 md:t-grid-cols-2-125",t.innerClass="t-flex t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",c(t);var t},O=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),T=()=>[I(),v()],E=(e,t)=>O("PersonalInjuryQuestions",{if:e||'$get(Type_Of_Legal_Problem).value == "Personal Injury"',children:[I(t),$(t),_(t),h(t),L(t),w(t)]}),S="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",D="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",A=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,W=e=>{if(A(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(A(a))return a;const r=W(a);if(r)return r}return null},F=e=>({$el:"section",if:'$stepIsEnabled("'+e+'")',attrs:{style:{if:'$activeStep !== "'+e+'"',then:"display: none;"}}});function q(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 j(e){return{$el:"h3",children:e.headline||"Additional Case Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function M(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function B(e){return{$el:"h3",children:e.headline||a,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1"}}}function N(e){return{$el:"h5",children:e.subheadline||r,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3"}}}const Y="(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();";function H(t,a,r=!0,n=!1){if(void 0===r&&(r=!0),a&&a.length&&(r||n)){const e=W(a[a.length-1]);e&&!0===r&&(e.onKeypress=S),e&&!0===n&&(e.onInput=D)}return e(F(t),{children:[{$formkit:"group",id:t,name:t,children:a}]})}const R=[{type:"meta",data:e(i,{defaultCommentsPlaceholder:t,commentsPlaceholders:{Adoption:'Example: "I need help with adoption forms"',"Asbestos and Mesothelioma":'Example: "I was exposed to asbestos at work and would like to file a claim"',"Auto and Car Accidents":'Example: "A truck crashed into my car on the highway" or "I\'ve been involved in a hit and run accident"',Bankruptcy:'Example: "I need help filing for bankruptcy"',"Birth Certificate and Name Change":'Example: "Just married and would like to change my last name"',"Business Lawyers":'Example: "I need help incorporating a business" or "I would like a legal contract reviewed"',"Child Custody and Support":'Example: "Need help getting custody" or "Issues with child support payments"',"Child Custody":'Example: "Need help getting custody"',"Child Support":'Example: "Issues with child support payments"',"Civil Rights and Discrimination":'Example: "Police brutality" or "Coworker keeps harassing me"',"Civil Lawsuit":'Example: "A contractor took my money and never completed the job" or "I am being sued by a neighbor"',"File a Lawsuit":'Example: "A contractor took my money and never completed the job"',"Defend a Lawsuit":'Example: "I am being sued by a neighbor"',"Consumer Lawyers":'Example: "Someone committed fraud against me" or "A contractor took my money and never completed the job"',"Copyrights and Trademarks":'Example: "I would like to register a trademark or copyright a name"',"Criminal and Felony":'Example: "I was arrested for DUI and need legal defense" or "I am being charged with assault"',"Debt and Collections":'Example: "I would like to consolidate my debt" or "A collection agency is harassing me"',"Divorce and Separation":'Example: "I would like to file for an uncontested divorce"',"DUI and DWI":'Example: "I was arrested for DUI and need legal defense"',"Elder Law":'Example: "I would like help with Estate Planning" or "I need help with a guardianship"',"Employment and Workplace":'Example: "I was injured while on the job" or "My company is discriminating against me"',Expungement:'Example: "I would like to file for an expungement and clear my record"',"Family Issues":'Example: "I need help with guardianship" or "I need a simple will created"',Foreclosure:'Example: "I need help to avoid foreclosure on my house"',Guardianship:'Example: "I need help with guardianship documents"',"Harassment and Discrimination":'Example: "I am being discriminated at work" or "My neighbor is harassing me"',"Sexual Harassment":'Example: "I am being sexually harassed by a coworker"',"Workplace Harassment":'Example: "My coworker is being aggressive towards me"',"Non-Workplace Harassment":'Example: "My neighbor is harassing me"',"Workplace Discrimination":'Example: "I am being discriminated at work based on my age"',"Non-Workplace Discrimination":'Example: "I am being discriminated against by a local official"',"Identity Theft":'Example: "Someone stole my identity and I need help fixing the issue"',"Immigration and Visas":'Example: "I need help filing for a visa" or "Help with a green card"',Insurance:'Example: "I need help filing an insurance claim for damage to my house"',"Landlord and Tenant":'Example: "I need help to fight an eviction" or "I would like a lawyer to review a rental contract"',"Lemon Law":'Example: "I purchased a new vehicle that broke down already and seller will not assist"',"Long Term Disability":'Example: "I was injured on the job and would like to file for benefits" or "I need help filing for disability benefits"',"Medical Malpractice":'Example: "A doctor performed surgery on the wrong limb and I would like to file a lawsuit"',"Nursing Home Abuse":'Example: "My mother\'s nursing home is physically abusing her"',"Patents and Intellectual Property":'Example: "I would like to file for a patent" or "I need to copyright a name"',"Personal Injury":'Example: "I was bit by the neighbor\'s dog" or "I fell in the icy grocery store parking lot"',"Power of Attorney":'Example: "I need help with a limited or general power of attorney"',"Probate and Estates":'Example: "I need help with planning for my estate" or "A family member passed without a will in place"',"Product Liability":'Example: "My car battery caught on fire" or "I purchased a faulty product"',"Property Damage":'Example: "The neighbor\'s tree fell on my fence" or "My car was hit in the parking lot"',"Real Estate":'Example: "I need help with a quitclaim deed" or "I need a lawyer to review a purchase and sales agreement"',"Social Security Disability and Insurance":'Example: "I would like help filing for disability benefits" or "I\'ve been denied for SSDI and would like to appeal"',"Tax and IRS":'Example: "I need help fighting an IRS tax claim" or "I need audit defense"',"Traffic and Tickets":'Example: "I need help reinstating a supsended license" or "I would like to fight a traffic ticket"',Unemployment:'Example: "I need help filing for unemployment benefits"',"Vaccination Injury":'Example: "I was injured after receiving a vaccine and would like to file a lawsuit"',"Veteran's Disability":'Example: "I would like help filing for disability benefits"',"Victim of a Crime":'Example: "I was assaulted in the store" or "I am being discriminated against at work"',"Wills and Trusts":'Example: "I need a simple will created" or "I would like guidance on creating a trust fund"',"Workers Compensation":'Example: "I was injured at work and would like to file for workers compensation benefits"',"Wrongful Death":'Example: "A family member was killed on the job and we need legal representation"',"Wrongful Termination":'Example: "I was fired by my employer without cause"',"Not Sure or Other":'Example: "I was involved in a car accident" or "I need help setting up power of attorney"'},defaultFinalHeadline:"Submit Your Case",finalHeadlines:{},defaultFinalSubHeadline:"You may benefit from speaking with a legal professional. Please verify your contact information.",finalSubHeadlines:{Adoption:"You may benefit from speaking with an adoption professional. Please verify your contact information.","Auto and Car Accidents":"You may benefit from speaking with an accident professional. Please verify your contact information.",Bankruptcy:"You may benefit from speaking with a bankruptcy professional. Please verify your contact information.","Copyrights and Trademarks":"You may benefit from speaking with a copyright and trademark professional. Please verify your contact information.","Divorce and Separation":"You may benefit from speaking with a divorce professional. Please verify your contact information.","DUI and DWI":"You may benefit from speaking with a DUI professional. Please verify your contact information.","Elder Law":"You may benefit from speaking with an elder law professional. Please verify your contact information.",Foreclosure:"You may benefit from speaking with a foreclosure professional. Please verify your contact information.",Guardianship:"You may benefit from speaking with a guardianship professional. Please verify your contact information.","Immigration and Visas":"You may benefit from speaking with a immigration professional. Please verify your contact information.","Landlord and Tenant":"You may benefit from speaking with a landlord and tenant legal professional. Please verify your contact information.","Long Term Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Medical Malpractice":"You may benefit from speaking with a malpractice professional. Please verify your contact information.","Patents and Intellectual Property":"You may benefit from speaking with a patent professional. Please verify your contact information.","Personal Injury":"You may benefit from speaking with a personal injury professional. Please verify your contact information.","Probate and Estates":"You may benefit from speaking with a probate and estate professional. Please verify your contact information.","Real Estate":"You may benefit from speaking with a real estate professional. Please verify your contact information.","Social Security Disability and Insurance":"You may benefit from speaking with an SSDI professional. Please verify your contact information.","Tax and IRS":"You may benefit from speaking with a tax professional. Please verify your contact information.",Unemployment:"You may benefit from speaking with an unemployment professional. Please verify your contact information.","Veteran's Disability":"You may benefit from speaking with a disability legal professional. Please verify your contact information.","Workers Compensation":"You may benefit from speaking with a workers compensation professional. Please verify your contact information."}})},e(o,U),{$cmp:"FormKit",props:function(t){return e(n,t)}({formId:"employmentAndWorkplace",redirectMap:function(t){return e(d,t)}(),valueOverrideMap:{Civil_Defense:{Yes:{Type_Of_Legal_Problem:"Defend a Lawsuit"}},Type_Of_Legal_Problem_Display:{"Auto Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Slip and Fall":{Type_Of_Legal_Problem:"Personal Injury"},"Workplace Injury":{Type_Of_Legal_Problem:"Workers Compensation"},"Trucking Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Motorcycle Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Other Accidents or Injuries":{Type_Of_Legal_Problem:"Personal Injury"},"Automobile Accident":{Type_Of_Legal_Problem:"Auto and Car Accidents"},"Contract Disputes":{Type_Of_Legal_Problem:"Business Lawyers"},"Defamation and Slander":{Type_Of_Legal_Problem:"File a Lawsuit"},"Dog Bite":{Type_Of_Legal_Problem:"Personal Injury"},"Employment and Workplace":{Type_Of_Legal_Problem:"Employment and Workplace"},Fraud:{Type_Of_Legal_Problem:"Consumer Lawyers"},"Medical Malpractice":{Type_Of_Legal_Problem:"Medical Malpractice"},"Personal Injury":{Type_Of_Legal_Problem:"Personal Injury"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Small Claims":{Type_Of_Legal_Problem:"File a Lawsuit"},"Real Estate":{Type_Of_Legal_Problem:"Real Estate"},"Other (describe on next page)":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contract Creation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Enforcement":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Cancellation":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Contract Fraud":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Breach of Contract":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Other Contract Issues":{Type_Of_Legal_Problem:"Business Lawyers",Business_Services:"Contracts"},"Criminal Defense":{Type_Of_Legal_Problem:"Criminal and Felony"},"Victim of a Crime":{Type_Of_Legal_Problem:"Victim of a Crime"},"DUI and DWI":{Type_Of_Legal_Problem:"DUI and DWI"},Expungement:{Type_Of_Legal_Problem:"Expungement"},Harassment:{Type_Of_Legal_Problem:"Criminal and Felony"},"Not Sure or Other":{Type_Of_Legal_Problem:"Not Sure or Other"},"Workplace Harassment":{Type_Of_Legal_Problem:"Workplace Harassment"},"Workplace Discrimination":{Type_Of_Legal_Problem:"Workplace Discrimination"},"Wrongful Termination":{Type_Of_Legal_Problem:"Wrongful Termination"},"Payment Disputes":{Type_Of_Legal_Problem:"Employment and Workplace"},"Workers Compensation":{Type_Of_Legal_Problem:"Workers Compensation"},Unemployment:{Type_Of_Legal_Problem:"Unemployment"},"Other Workplace Issues":{Type_Of_Legal_Problem:"Employment and Workplace"},"Attorney Malpractice":{Type_Of_Legal_Problem:"Civil Lawsuit"},"Other Malpractice Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Vehicle Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Property Repossession":{Type_Of_Legal_Problem:"Bankruptcy"},"Other Repossession Issues":{Type_Of_Legal_Problem:"Not Sure or Other"},"Contracts and Agreements":{Type_Of_Legal_Problem:"Real Estate"},"Deeds, Liens, and Titles":{Type_Of_Legal_Problem:"Real Estate"},Foreclosure:{Type_Of_Legal_Problem:"Foreclosure"},Insurance:{Type_Of_Legal_Problem:"Insurance"},"Landlord and Tenant":{Type_Of_Legal_Problem:"Landlord and Tenant"},"Loans and Mortgages":{Type_Of_Legal_Problem:"Real Estate"},"Wills, Trusts, and Estates":{Type_Of_Legal_Problem:"Wills and Trusts"},"Property Damage":{Type_Of_Legal_Problem:"Property Damage"},"Other Real Estate Issues":{Type_Of_Legal_Problem:"Real Estate"}}}}),children:[function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Start 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.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subHeadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...m,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return H("employmentAndWorkplaceTOLPAndZip",[{$formkit:"hidden",name:"Type_Of_Legal_Problem",id:"Type_Of_Legal_Problem",value:"Employment and Workplace"},P({if:"true"}),y({label:"Zip Code:",placeholder:"#####",name:"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"}})],e.nextOnEnter)}(),function(e={}){return H("TOLPQuestions",[q(e),O("WorkplaceHarassmentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Harassment"',children:T()}),O("WorkplaceDiscriminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Workplace Discrimination"',children:T()}),O("WrongfulTerminationQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Wrongful Termination"',children:[I(),C(),k(),v()]}),O("WorkersCompensationQuestions",{if:t||'$get(Type_Of_Legal_Problem).value == "Workers Compensation"',children:[I(a),$(a),_(a),L(a),b(a),w(a)]}),E(),O("UnemploymentQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Unemployment"',children:[C(),k(),v()]}),O("EmploymentAndWorkplaceQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Employment and Workplace"',children:[I(),C(),k(),v()]}),O("NotSureOrOtherQuestions",{if:'$get(Type_Of_Legal_Problem).value == "Not Sure or Other"',children:[I(),v()]})],e.nextOnEnter);var t,a}(),function(e={}){return H("commentsWithBankruptcy",[j(e),x({label:void 0===e.label?"Please briefly describe your legal issue in a few words:":e.label,placeholder:e.placeholder||t}),p({label:"I'd also like a separate consultation for bankruptcy and debt elimination",help:"Please note: you will be contacted separately by a bankruptcy expert",name:"CrossSell_Bankruptcy",if:'$getVal($get(form), "Type_Of_Legal_Problem") != "Bankruptcy" && ($getVal($get(form), "Degree_Of_Interest") == "Absolutely Can\'t Afford" || $getVal($get(form), "Degree_Of_Interest") == "Maybe" || $getVal($get(form), "Degree_Of_Interest") == "Probably")',validation:null,helpClass:"!t-text-sm"})],e.nextOnEnter)}({nextOnEnter:!1}),function(e={}){return H("firstAndLast",[M(e),y({$formkit:"text",label:"First Name:",name:"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),y({$formkit:"text",label:"Last Name:",name:"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}})],e.nextOnEnter)}(),function(e={}){return H("contactInfo",[B(e),N(e),{$el:"script",if:"$activeStep === $lastStep()",children:Y},y({$formkit:"email",name:"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}}),y({$formkit:"tel",name:"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),{$formkit:"checkbox",label:"$meta.tcpaLanguage",name:"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}},s()],e.nextOnEnter)}({nextOnEnter:!1}),{$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]},{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var U;return R}();
|