bhl-forms 0.13.5 → 0.13.7
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/applianceRepair.es.js +4 -4
- package/dist/forms/applianceRepair.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +4 -4
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.json +1 -1
- package/dist/forms/electrical.es.js +11 -69
- package/dist/forms/electrical.iife.js +1 -1
- package/dist/forms/electrical.json +1 -1
- package/dist/forms/garageDoors.es.js +1379 -0
- package/dist/forms/garageDoors.iife.js +1 -0
- package/dist/forms/garageDoors.json +1 -0
- package/dist/forms/generalContractors.es.js +4 -4
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalContractors.json +1 -1
- package/dist/forms/generalHomeImprovement.es.js +4 -4
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.json +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +4 -4
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.json +1 -1
- package/dist/forms/hvac.es.js +11 -69
- package/dist/forms/hvac.iife.js +1 -1
- package/dist/forms/hvac.json +1 -1
- package/dist/forms/painting.es.js +4 -4
- package/dist/forms/painting.iife.js +1 -1
- package/dist/forms/painting.json +1 -1
- package/dist/forms/pestControl.es.js +1379 -0
- package/dist/forms/pestControl.iife.js +1 -0
- package/dist/forms/pestControl.json +1 -0
- package/dist/forms/plumbing.es.js +11 -69
- package/dist/forms/plumbing.iife.js +1 -1
- package/dist/forms/plumbing.json +1 -1
- package/dist/forms/remodeling.es.js +4 -4
- package/dist/forms/remodeling.iife.js +1 -1
- package/dist/forms/remodeling.json +1 -1
- package/dist/forms/restoration.es.js +4 -4
- package/dist/forms/restoration.iife.js +1 -1
- package/dist/forms/restorationCall.es.js +4 -4
- package/dist/forms/restorationCall.iife.js +1 -1
- package/dist/forms/roofing.es.js +11 -69
- package/dist/forms/roofing.iife.js +1 -1
- package/dist/forms/roofing.json +1 -1
- package/dist/forms/windows.es.js +4 -4
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/windows.json +1 -1
- package/package.json +1 -1
package/dist/forms/hvac.es.js
CHANGED
|
@@ -99,24 +99,6 @@ const verticalText = (updates) => {
|
|
|
99
99
|
return text(updates)
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
const emailFL = (scope, updates = {}) => {
|
|
103
|
-
return text({
|
|
104
|
-
$formkit: "FloatingLabelText",
|
|
105
|
-
name: scope ? scope + ":" + "Email" : "Email",
|
|
106
|
-
placeholder: "Email Address",
|
|
107
|
-
autocomplete: "email",
|
|
108
|
-
"data-tf-sensitive": "false",
|
|
109
|
-
validation: "required|email",
|
|
110
|
-
validationMessages: {
|
|
111
|
-
required: "Email is required",
|
|
112
|
-
email: "Invalid Email",
|
|
113
|
-
},
|
|
114
|
-
inputClass: "t-text-center",
|
|
115
|
-
wrapperClass: "t-flex t-justify-center",
|
|
116
|
-
...updates,
|
|
117
|
-
})
|
|
118
|
-
};
|
|
119
|
-
|
|
120
102
|
const firstNameFL = (scope, updates = {}) => {
|
|
121
103
|
return text({
|
|
122
104
|
$formkit: "FloatingLabelText",
|
|
@@ -145,15 +127,15 @@ const lastNameFL = (scope, updates = {}) => {
|
|
|
145
127
|
})
|
|
146
128
|
};
|
|
147
129
|
|
|
148
|
-
const
|
|
130
|
+
const fullNameFL = (scope, updates = {}) => {
|
|
149
131
|
return {
|
|
150
132
|
$el: "div",
|
|
151
133
|
attrs: {
|
|
152
|
-
class: "t-flex t-flex-
|
|
134
|
+
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%]",
|
|
153
135
|
},
|
|
154
136
|
children: [
|
|
155
|
-
firstNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
156
|
-
lastNameFL(scope, { outerClass: "sm:!t-max-w-[49%]", ...updates }),
|
|
137
|
+
firstNameFL(scope, { outerClass: "!t-max-w-[48%] sm:!t-max-w-[49%]", ...updates }),
|
|
138
|
+
lastNameFL(scope, { outerClass: "!t-max-w-[48%] sm:!t-max-w-[49%]", ...updates }),
|
|
157
139
|
],
|
|
158
140
|
}
|
|
159
141
|
};
|
|
@@ -329,19 +311,6 @@ function verticalStepHeadline(updates) {
|
|
|
329
311
|
}
|
|
330
312
|
}
|
|
331
313
|
|
|
332
|
-
function firstAndLastStepHeadline(updates) {
|
|
333
|
-
return {
|
|
334
|
-
$el: "h3",
|
|
335
|
-
children: updates.headline || "Please Provide a Contact Name",
|
|
336
|
-
attrs: {
|
|
337
|
-
class:
|
|
338
|
-
"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1" +
|
|
339
|
-
" " +
|
|
340
|
-
(updates.headlineClass || ""),
|
|
341
|
-
},
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
|
|
345
314
|
function contactStepHeadline(updates) {
|
|
346
315
|
return {
|
|
347
316
|
$el: "h3",
|
|
@@ -463,7 +432,7 @@ function sqstep(name, input, defaultHeadline, updates = {}) {
|
|
|
463
432
|
)
|
|
464
433
|
}
|
|
465
434
|
|
|
466
|
-
function
|
|
435
|
+
function contactInfoNamePhoneNoTCPA(updates = {}) {
|
|
467
436
|
return step(
|
|
468
437
|
"contactInfo",
|
|
469
438
|
[
|
|
@@ -476,10 +445,7 @@ function contactInfoNoTCPA(updates = {}) {
|
|
|
476
445
|
class: "t-flex t-flex-col t-justify-center t-items-center",
|
|
477
446
|
},
|
|
478
447
|
children: [
|
|
479
|
-
|
|
480
|
-
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
481
|
-
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
482
|
-
}),
|
|
448
|
+
fullNameFL(updates.scope),
|
|
483
449
|
phoneFL(updates.scope, {
|
|
484
450
|
outerClass: "!t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%]",
|
|
485
451
|
innerClass: "!t-w-[98%] !t-max-w-[98%] sm:!t-w-[100%] sm:!t-max-w-[100%]",
|
|
@@ -491,26 +457,6 @@ function contactInfoNoTCPA(updates = {}) {
|
|
|
491
457
|
)
|
|
492
458
|
}
|
|
493
459
|
|
|
494
|
-
function firstAndLastV4(updates = {}) {
|
|
495
|
-
return step(
|
|
496
|
-
"firstAndLast",
|
|
497
|
-
[
|
|
498
|
-
firstAndLastStepHeadline({
|
|
499
|
-
headline: updates.headline ?? "Who is looking for help?",
|
|
500
|
-
headlineClass: updates.headlineClass,
|
|
501
|
-
}),
|
|
502
|
-
{
|
|
503
|
-
$el: "div",
|
|
504
|
-
attrs: {
|
|
505
|
-
class: "t-flex t-flex-col t-justify-center t-items-center t-pt-3",
|
|
506
|
-
},
|
|
507
|
-
children: [fullNameFLMobileCol(updates.scope)],
|
|
508
|
-
},
|
|
509
|
-
],
|
|
510
|
-
updates
|
|
511
|
-
)
|
|
512
|
-
}
|
|
513
|
-
|
|
514
460
|
function zipcode(updates = {}) {
|
|
515
461
|
return sqstep("zipcode", zipcode$1(updates.scope, true, updates.input), "Please verify your Zip Code", updates)
|
|
516
462
|
}
|
|
@@ -1372,7 +1318,7 @@ const HomeImprovementFinalHeadlines = {
|
|
|
1372
1318
|
// 'Fencing': '',
|
|
1373
1319
|
// 'Flooring': '',
|
|
1374
1320
|
// 'Foundations': '',
|
|
1375
|
-
|
|
1321
|
+
"Garage Doors": "Garage Pros Are Standing By!",
|
|
1376
1322
|
// "General Contractors": "Connect With Top Contractors!",
|
|
1377
1323
|
// 'Gutters': '',
|
|
1378
1324
|
// 'Handyman': '',
|
|
@@ -1395,7 +1341,7 @@ const HomeImprovementFinalHeadlines = {
|
|
|
1395
1341
|
Restoration: "Restoration Pros Are Standing By!",
|
|
1396
1342
|
// 'Moving': '',
|
|
1397
1343
|
// 'Painting': '',
|
|
1398
|
-
|
|
1344
|
+
"Pest Control": "Exterminators Are Standing By!",
|
|
1399
1345
|
// 'Pools': '',
|
|
1400
1346
|
Plumbing: "Plumbers Are Standing By!",
|
|
1401
1347
|
// 'Pressure Washing': '',
|
|
@@ -1429,7 +1375,7 @@ const HomeImprovementFinalSubHeadlines = {
|
|
|
1429
1375
|
Fencing: "Secure your property with new fencing.",
|
|
1430
1376
|
Flooring: "Install stunning new floors.",
|
|
1431
1377
|
Foundations: "Foundation repair and maintenance.",
|
|
1432
|
-
"Garage Doors": "
|
|
1378
|
+
"Garage Doors": "Confirm your contact information:",
|
|
1433
1379
|
"General Contractors": "Top contractors for your home projects.",
|
|
1434
1380
|
Gutters: "Clean and repair your gutters.",
|
|
1435
1381
|
Handyman: "Handyman services for all your needs.",
|
|
@@ -1452,7 +1398,7 @@ const HomeImprovementFinalSubHeadlines = {
|
|
|
1452
1398
|
Restoration: "Confirm your contact information:",
|
|
1453
1399
|
Moving: "Reliable moving services.",
|
|
1454
1400
|
Painting: "Professional painting services.",
|
|
1455
|
-
"Pest Control": "
|
|
1401
|
+
"Pest Control": "Confirm your contact information:",
|
|
1456
1402
|
Pools: "Install or repair your pool.",
|
|
1457
1403
|
Plumbing: "Confirm your contact information:",
|
|
1458
1404
|
"Pressure Washing": "Pressure wash your home's exterior.",
|
|
@@ -1529,11 +1475,7 @@ const schema = [
|
|
|
1529
1475
|
help: "We'll match you to the nearest pro.",
|
|
1530
1476
|
},
|
|
1531
1477
|
}),
|
|
1532
|
-
|
|
1533
|
-
headlineClass: "!t-text-dark",
|
|
1534
|
-
headline: "Who is looking for HVAC help?",
|
|
1535
|
-
}),
|
|
1536
|
-
contactInfoNoTCPA({
|
|
1478
|
+
contactInfoNamePhoneNoTCPA({
|
|
1537
1479
|
headlineClass: "!t-text-[#465f87]",
|
|
1538
1480
|
subheadlineClass: "!t-text-[#353739]",
|
|
1539
1481
|
}),
|
package/dist/forms/hvac.iife.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var hvac=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=e=>(e.name&&!e.id&&(e.id=e.name),e),a=a=>(t(a),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},a)),n=e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",a(e)),r=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",a(e)),s=a=>(t(a),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},a)),i=e=>(e.wrapperClass="side-by-side t-items-center",s(e)),o=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",s(e)),l=(e,t={})=>s({$formkit:"FloatingLabelText",name:e?e+":Email":"Email",placeholder:"Email Address",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},inputClass:"t-text-center",wrapperClass:"t-flex t-justify-center",...t}),m=(e,t={})=>s({$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",...t}),c=(e,t={})=>s({$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",...t}),d=(e,t={})=>({$el:"div",attrs:{class:"t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]"},children:[m(e,{outerClass:"sm:!t-max-w-[49%]",...t}),c(e,{outerClass:"sm:!t-max-w-[49%]",...t})]}),p=(e,t={})=>s({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:t.placeholder||"Phone Number",maxlength:14,help:t.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",...t}),u=(t,a,s={})=>(a?r:n)(e({label:a?s.label:"Select The HVAC Issue:",name:t?t+":Category_Display":"Category_Display",options:["Heating System","Cooling System","Duct Cleaning","Other HVAC Issues"]},s)),f=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,y=e=>{if(f(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(f(a))return a;const n=y(a);if(n)return n}return null},h={$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 g(t={}){return e(h,t)}function x(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function v(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function C(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-xl md:!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 w(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function b(t,a,n={}){const{nextOnEnter:r=!0,nextOnInput:s=!1,stepKey:i,nextStepMap:o,triggerRedirectMap:l,autoFocus:m}=n;if(a&&a.length&&(r||s)){const e=y(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))))")}const c={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:l,autoFocus:m,children:a}]};return void 0!==n.if&&(c.if=n.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,i),c)}const $={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 S(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const I={};const E={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const P={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const k=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$formkit:"hidden",name:"TCPA_Opt_In",value:!0},{$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}],T=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],D=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],L=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],A={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...D],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...T],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...L],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...T],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...T],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...D],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...D],"Civil Rights and Discrimination":["civilRightsType",...T],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...T],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...T],"Defend a Lawsuit":["lawsuitOtherParty",...T],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...T],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...D],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...T],"Divorce and Separation":["maritalStatus","haveChildren",...D],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...T],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...T],Expungement:["incidentDate","criminalChargeType",...D],"Family Issues":["maritalStatus","haveChildren",...D],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...T],Guardianship:["maritalStatus","haveChildren",...D],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...T],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...T],"Lemon Law":["incidentDate","lawsuitOtherParty",...T],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...L],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...T],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...T],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...L],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...T],"Property Damage":["wouldLikeLawyerTo",...T],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...T],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...L],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...T],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...T],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...D],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...T],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...L],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...T],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...T],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...L],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...T]},"*":T}};function O(e,t=[],a={}){const n={...e};return n.values=function e(n){const r={};for(const s in n)Array.isArray(n[s])?r[s]=n[s].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[s]?r[s]=e(n[s]):r[s]=n[s];return r}(e.values),n}O(A,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const _=A.values.Type_Of_Legal_Problem;_["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),_["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),_["Personal Injury"].filter((e=>"legalCrossSells"!==e)),_["Personal Injury"].filter((e=>"legalCrossSells"!==e)),_["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),_["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),_["Personal Injury"].filter((e=>"legalCrossSells"!==e)),_["Personal Injury"].filter((e=>"legalCrossSells"!==e)),_["Child Custody"],_["Child Support"],A.values["*"],_["Family Issues"],_["Child Support"],_["Child Custody"],A.values["*"],_["Divorce and Separation"],_["Defend a Lawsuit"],_["File a Lawsuit"];O({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":_["Defend a Lawsuit"],"File a Lawsuit":_["File a Lawsuit"]},"*":["lawsuitOtherParty",...T]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});O({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":_["Auto and Car Accidents"],"Contract Disputes":_["Business Lawyers"],"Dog Bite":_["Personal Injury"],"Employment and Workplace":_["Employment and Workplace"],Fraud:_["Consumer Lawyers"],"Medical Malpractice":_["Medical Malpractice"],"Personal Injury":_["Personal Injury"],"Property Damage":_["Property Damage"],"Real Estate":_["Real Estate"],"Not Sure or Other":A.values["*"]},"*":["lawsuitOtherParty",...T]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});O({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":_["Victim of a Crime"],"DUI and DWI":_["DUI and DWI"],Expungement:_.Expungement,"Not Sure or Other":A.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...D]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});O({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":_["Wrongful Termination"],"Workers Compensation":_["Workers Compensation"],"Personal Injury":_["Personal Injury"],Unemployment:_.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...T]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),_["Workplace Harassment"],_["Workplace Discrimination"],_["Probate and Estates"],_["Wills and Trusts"],_["Wrongful Death"],_["Patents and Intellectual Property"],_["Business Lawyers"],_["Business Lawyers"],A.values["*"];O({values:{Type_Of_Legal_Problem_Display:{Foreclosure:_.Foreclosure,"Landlord and Tenant":_["Landlord and Tenant"],"Wills, Trusts, and Estates":_["Wills and Trusts"],"Property Damage":_["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...T]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const H={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:'Examples: "I need two rooms painted" or "I need to replace a faucet", etc',"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: "My basement is flooded and needs restoration"',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"'},W={Appliances:"Our Pros Are Ready To Help",Electrical:"Electricians Are Standing By!",Restoration:"Restoration Pros Are Standing By!",Plumbing:"Plumbers Are Standing By!",Roofing:"Roofers Are Standing By!"},F={Additions:"Get your dream addition started today!",Appliances:"Confirm your contact information:",Appraisals:"Accurate home appraisals at your service.",Cabinets:"Transform your kitchen with new cabinets.",Carpentry:"Custom carpentry solutions for your home.",Carpets:"Upgrade your home with new carpets.",Cleaning:"Professional cleaning services for a spotless home.",Countertops:"Install beautiful countertops in your kitchen.","Decks and Porches":"Build the perfect outdoor space.",Demolition:"Safe and efficient demolition services.",Doors:"Enhance your home with new doors.",Driveways:"Repair or install a new driveway.","Drywall and Plaster":"Expert drywall and plaster services.",Electrical:"Confirm your contact information:",Fencing:"Secure your property with new fencing.",Flooring:"Install stunning new floors.",Foundations:"Foundation repair and maintenance.","Garage Doors":"Upgrade your garage with new doors.","General Contractors":"Top contractors for your home projects.",Gutters:"Clean and repair your gutters.",Handyman:"Handyman services for all your needs.","Holiday Decorators":"Get your home ready for the holidays.","Smart Home":"Upgrade to a smart home today.","Home Builders":"Build your custom dream home.","Home Inspection":"Thorough home inspections for peace of mind.","Home Organization":"Organize your home with expert help.","Home Security":"Protect your home with a security system.","Home Staging":"Stage your home for a quick sale.","Home Theater":"Create the ultimate home theater.","Home Warranties":"Get a warranty for your home.","Hot Tubs":"Install a relaxing hot tub.","Heating and Cooling":"Confirm your contact information:",Insulation:"Improve your home's insulation.","Junk Removal":"Remove unwanted junk from your property.",Landscaping:"Transform your yard with expert landscaping.",Locksmiths:"Professional locksmith services.","Masonry and Concrete":"Expert masonry and concrete work.",Restoration:"Confirm your contact information:",Moving:"Reliable moving services.",Painting:"Professional painting services.","Pest Control":"Effective pest control solutions.",Pools:"Install or repair your pool.",Plumbing:"Confirm your contact information:","Pressure Washing":"Pressure wash your home's exterior.",Remodeling:"Remodel your home with top professionals.",Roofing:"Confirm your contact information:",Sheds:"Build a new shed for extra storage.",Siding:"Upgrade your home's siding.",Solar:"Install solar panels and save on energy.",Tiling:"Install beautiful new tiles.","Walk-in Tubs":"Install a convenient walk-in tub.",Waterproofing:"Waterproof your home to prevent damage.","Window Cleaning":"Professional window cleaning services.",Windows:"Replace your windows with energy-efficient options."};var j;return[function(t=null,a=!1){let n=H,r=W,s=F;return t&&(n=S(H,t),r=S(W,t),s=S(F,t)),{type:"meta",data:e(I,{tcpaLanguage:a?'By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> 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.':'By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> 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:n,defaultFinalHeadline:"We Found Matching Contractors!",finalHeadlines:r,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:s})}}("Heating and Cooling",!0),(j={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(E,j)),{$cmp:"FormKit",props:function(t){const a=e($,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"hvac",valueOverrideMap:{Category_Display:{"Heating System":{Category:"Heating"},"Cooling System":{Category:"Air Conditioning"},"Duct Cleaning":{Category:"Duct Cleaning"},"Other HVAC Issues":{Category:"Heating and Cooling"}}},redirectMap:{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"}}),children:[function(t){return e(P,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.3rem] 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", "Compare Quotes and Save")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Select Your Issue Type:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...k,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return b("heatingCoolingFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Heating and Cooling"},u(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return function(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),b(e,[x({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}("zipcode",((e,t,a={})=>(t?o:i)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}({nextOnInput:!1,headlineClass:"!t-mt-5 !t-text-xl sm:!t-text-2xl",headline:"Please Verify Your Zip Code:",input:{outerClass:"!t-mt-6 !t-mb-10",help:"We'll match you to the nearest pro."}}),function(e={}){return b("firstAndLast",[v({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),{$el:"div",attrs:{class:"t-flex t-flex-col t-justify-center t-items-center t-pt-3"},children:[d(e.scope)]}],e)}({headlineClass:"!t-text-dark",headline:"Who is looking for HVAC help?"}),function(e={}){return b("contactInfo",[C(e),w(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:[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%]"}),p(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%]"})]}],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav "+(e.lastStepButtonClass||"!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:"Click To Start",submitLabel:"Get A Quote",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center",lastStepButtonClass:"!t-justify-center !t-my-0 !t-py-0"}),{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[{$el:"div",attrs:{class:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto",innerHTML:"$meta.tcpaLanguage"}}]},function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[g({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 hvac=function(){"use strict";function e(){return Object.assign({},...arguments)}const t=e=>(e.name&&!e.id&&(e.id=e.name),e),a=a=>(t(a),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},a)),n=e=>(e.legendClass="required",e.fieldsetClass="$reset",e.optionsClass="t-pl-2 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",a(e)),r=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]",e.optionsClass="t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",a(e)),s=a=>(t(a),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},a)),i=e=>(e.wrapperClass="side-by-side t-items-center",s(e)),o=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",s(e)),l=(e,t={})=>s({$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",...t}),m=(e,t={})=>s({$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",...t}),c=(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:[l(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t}),m(e,{outerClass:"!t-max-w-[48%] sm:!t-max-w-[49%]",...t})]}),p=(e,t={})=>s({$formkit:"FloatingLabelText",datatype:"tel",name:e?e+":Primary_Phone":"Primary_Phone",placeholder:t.placeholder||"Phone Number",maxlength:14,help:t.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",...t}),d=(t,a,s={})=>(a?r:n)(e({label:a?s.label:"Select The HVAC Issue:",name:t?t+":Category_Display":"Category_Display",options:["Heating System","Cooling System","Duct Cleaning","Other HVAC Issues"]},s)),u=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,y=e=>{if(u(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(u(a))return a;const n=y(a);if(n)return n}return null},f={$el:"div",if:"$activeStep === $lastStep()",attrs:{class:"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500"},children:[{$el:"img",attrs:{loading:"lazy",alt:"",style:{border:0},width:"25",height:"25",src:"https://d27hmee62k45vz.cloudfront.net/lock_icon_1.jpeg"}},{$el:"span",children:"Secure & Encrypted",attrs:{class:"t-pl-2 t-pt-1 t-font-medium"}}]};function h(t={}){return e(f,t)}function g(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function x(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-xl md:!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 v(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function C(t,a,n={}){const{nextOnEnter:r=!0,nextOnInput:s=!1,stepKey:i,nextStepMap:o,triggerRedirectMap:l,autoFocus:m}=n;if(a&&a.length&&(r||s)){const e=y(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))))")}const c={children:[{$formkit:"group",id:t,name:t,nextStepMap:o,triggerRedirectMap:l,autoFocus:m,children:a}]};return void 0!==n.if&&(c.if=n.if),e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,i),c)}const w={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 b(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const $={};const S={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const I={$el:"div",attrs:{class:"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center",style:{if:"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())",then:"display: none"}},children:[{$el:"div",attrs:{class:"t-flex t-justify-center"},children:[{$el:"span",attrs:{id:"progress-bar-text",class:"t-text-sm t-mb-1"},children:["0% Complete"]}]},{$el:"div",attrs:{class:"t-bg-gray-100 t-w-9/12 t-rounded"},children:[{$el:"div",attrs:{id:"progress-bar",class:"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]",style:{transition:"width 0.5s ease"}}}]}]};const E=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$formkit:"hidden",name:"TCPA_Opt_In",value:!0},{$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}],P=["haveAttorney","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],k=["haveAttorney","degreeOfInterest","lawyerPaymentMethod","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],T=["haveAttorney","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],D={values:{Type_Of_Legal_Problem:{Adoption:["maritalStatus","haveChildren",...k],"Asbestos and Mesothelioma":["incidentDate","doctorTreatment",...P],"Auto and Car Accidents":["incidentDate","atFault","primaryInjury","doctorTreatment","policeReportFiled",...T],Bankruptcy:["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...P],"Business Lawyers":["businessServices","businessType","numEmployeesOfBusiness",...P],"Child Custody":["childRelationship","childHome","childPrimaryCaregiver",...k],"Child Support":["childRelationship","childHome","childPrimaryCaregiver",...k],"Civil Rights and Discrimination":["civilRightsType",...P],"Civil Lawsuit":["civilDefense","lawsuitOtherParty",...P],"File a Lawsuit":["civilLawsuitTOLPDisplay","lawsuitOtherParty",...P],"Defend a Lawsuit":["lawsuitOtherParty",...P],"Consumer Lawyers":["consumerLawyerType","incidentDate","lawsuitOtherParty",...P],"Criminal and Felony":["criminalTOLPDisplay","crimeCommittedDate","roleInMatterCriminal","pendingCharges",...k],"Debt and Collections":["totalMonthlyIncome","totalDebt","ownRealEstate","valueOfAssets",...P],"Divorce and Separation":["maritalStatus","haveChildren",...k],"DUI and DWI":["incidentDate","priorAlcoholOffenses","typeOfAlcoholTest","bloodContentAlcoholTest","pendingCharges",...P],"Employment and Workplace":["employmentAndWorkplaceTOLPDisplay","numEmployeesOfBusiness","employerType","employeeAtCompany",...P],Expungement:["incidentDate","criminalChargeType",...k],"Family Issues":["maritalStatus","haveChildren",...k],Foreclosure:["ownRealEstate","typeOfProperty","amountPaymentsPastDue","loanAmount","defaultNotice",...P],Guardianship:["maritalStatus","haveChildren",...k],"Immigration and Visas":["countryOfCitizenship","immigrationLocation","immigrationEntry","immigrationType","immigrationStatus","immigrationDetails",...P],"Landlord and Tenant":["landlordTenantIssue","landlordTenantParty",...P],"Lemon Law":["incidentDate","lawsuitOtherParty",...P],"Long Term Disability":["applicantOccupation","applicantAge","applicantLTDisabilityPolicy","applicantDisabilityHowObtain","applicantPreviouslyAppliedLtdBenefits","applicantReceivedDisabilityBenefits","applicantMonthlySalary",...T],"Medical Malpractice":["incidentDate","claimStatus","doctorTreatment","medicalMalpracticeInjuries",...P],"Patents and Intellectual Property":["patentAssistanceType","patentFor",...P],"Personal Injury":["incidentDate","claimStatus","atFault","primaryInjury","doctorTreatment",...T],"Probate and Estates":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...P],"Property Damage":["wouldLikeLawyerTo",...P],"Real Estate":["realEstateTOLPDisplay","realEstateArea","wouldLikeLawyerTo",...P],"Social Security Disability and Insurance":["applicantAge","disabilityConditionStopWork","disabilityWorkHistory","socialSecurityDisabilityReceivingBenefits","doctorTreatment",...T],"Tax and IRS":["totalDebt","taxProblemDetails","taxLevel","taxIssueType",...P],"Traffic and Tickets":["driversLicenseType","trafficViolations","haveCourtDate",...P],Unemployment:["numEmployeesOfBusiness","employerType","degreeOfInterest","commentsWithBankruptcy","zipcode","legalCrossSells","firstAndLast","contactInfo"],"Victim of a Crime":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...k],"Wills and Trusts":["valueOfAssets","typeOfAssets","roleInMatterProbate","estateLegalServicesNeeded",...P],"Workers Compensation":["incidentDate","claimStatus","primaryInjury","causeOfInjury","doctorTreatment",...T],"Workplace Harassment":["numEmployeesOfBusiness","employerType","employeeAtCompany",...P],"Workplace Discrimination":["numEmployeesOfBusiness","employerType","employeeAtCompany",...P],"Wrongful Death":["incidentDate","relationshipToVictim","criminalChargesFiled","causeOfDeath",...T],"Wrongful Termination":["numEmployeesOfBusiness","employerType",...P]},"*":P}};function L(e,t=[],a={}){const n={...e};return n.values=function e(n){const r={};for(const s in n)Array.isArray(n[s])?r[s]=n[s].filter((e=>!t.includes(e))).map((e=>a[e]||e)):"object"==typeof n[s]?r[s]=e(n[s]):r[s]=n[s];return r}(e.values),n}L(D,["legalCrossSells"],{commentsWithBankruptcy:"comments"});const A=D.values.Type_Of_Legal_Problem;A["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),A["Workers Compensation"].filter((e=>"legalCrossSells"!==e)),A["Personal Injury"].filter((e=>"legalCrossSells"!==e)),A["Personal Injury"].filter((e=>"legalCrossSells"!==e)),A["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),A["Auto and Car Accidents"].filter((e=>"legalCrossSells"!==e)),A["Personal Injury"].filter((e=>"legalCrossSells"!==e)),A["Personal Injury"].filter((e=>"legalCrossSells"!==e)),A["Child Custody"],A["Child Support"],D.values["*"],A["Family Issues"],A["Child Support"],A["Child Custody"],D.values["*"],A["Divorce and Separation"],A["Defend a Lawsuit"],A["File a Lawsuit"];L({values:{Type_Of_Legal_Problem:{"Defend a Lawsuit":A["Defend a Lawsuit"],"File a Lawsuit":A["File a Lawsuit"]},"*":["lawsuitOtherParty",...P]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});L({values:{Type_Of_Legal_Problem_Display:{"Automobile Accident":A["Auto and Car Accidents"],"Contract Disputes":A["Business Lawyers"],"Dog Bite":A["Personal Injury"],"Employment and Workplace":A["Employment and Workplace"],Fraud:A["Consumer Lawyers"],"Medical Malpractice":A["Medical Malpractice"],"Personal Injury":A["Personal Injury"],"Property Damage":A["Property Damage"],"Real Estate":A["Real Estate"],"Not Sure or Other":D.values["*"]},"*":["lawsuitOtherParty",...P]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});L({values:{Type_Of_Legal_Problem_Display:{"Victim of a Crime":A["Victim of a Crime"],"DUI and DWI":A["DUI and DWI"],Expungement:A.Expungement,"Not Sure or Other":D.values["*"]},"*":["crimeCommittedDate","roleInMatterCriminal","pendingCharges",...k]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});L({values:{Type_Of_Legal_Problem_Display:{"Wrongful Termination":A["Wrongful Termination"],"Workers Compensation":A["Workers Compensation"],"Personal Injury":A["Personal Injury"],Unemployment:A.Unemployment},"*":["numEmployeesOfBusiness","employerType","employeeAtCompany",...P]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"}),A["Workplace Harassment"],A["Workplace Discrimination"],A["Probate and Estates"],A["Wills and Trusts"],A["Wrongful Death"],A["Patents and Intellectual Property"],A["Business Lawyers"],A["Business Lawyers"],D.values["*"];L({values:{Type_Of_Legal_Problem_Display:{Foreclosure:A.Foreclosure,"Landlord and Tenant":A["Landlord and Tenant"],"Wills, Trusts, and Estates":A["Wills and Trusts"],"Property Damage":A["Property Damage"]},"*":["realEstateArea","wouldLikeLawyerTo",...P]}},["legalCrossSells"],{commentsWithBankruptcy:"comments"});const O={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:'Examples: "I need two rooms painted" or "I need to replace a faucet", etc',"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: "My basement is flooded and needs restoration"',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"'},_={Appliances:"Our Pros Are Ready To Help",Electrical:"Electricians Are Standing By!","Garage Doors":"Garage Pros Are Standing By!",Restoration:"Restoration Pros Are Standing By!","Pest Control":"Exterminators Are Standing By!",Plumbing:"Plumbers Are Standing By!",Roofing:"Roofers Are Standing By!"},H={Additions:"Get your dream addition started today!",Appliances:"Confirm your contact information:",Appraisals:"Accurate home appraisals at your service.",Cabinets:"Transform your kitchen with new cabinets.",Carpentry:"Custom carpentry solutions for your home.",Carpets:"Upgrade your home with new carpets.",Cleaning:"Professional cleaning services for a spotless home.",Countertops:"Install beautiful countertops in your kitchen.","Decks and Porches":"Build the perfect outdoor space.",Demolition:"Safe and efficient demolition services.",Doors:"Enhance your home with new doors.",Driveways:"Repair or install a new driveway.","Drywall and Plaster":"Expert drywall and plaster services.",Electrical:"Confirm your contact information:",Fencing:"Secure your property with new fencing.",Flooring:"Install stunning new floors.",Foundations:"Foundation repair and maintenance.","Garage Doors":"Confirm your contact information:","General Contractors":"Top contractors for your home projects.",Gutters:"Clean and repair your gutters.",Handyman:"Handyman services for all your needs.","Holiday Decorators":"Get your home ready for the holidays.","Smart Home":"Upgrade to a smart home today.","Home Builders":"Build your custom dream home.","Home Inspection":"Thorough home inspections for peace of mind.","Home Organization":"Organize your home with expert help.","Home Security":"Protect your home with a security system.","Home Staging":"Stage your home for a quick sale.","Home Theater":"Create the ultimate home theater.","Home Warranties":"Get a warranty for your home.","Hot Tubs":"Install a relaxing hot tub.","Heating and Cooling":"Confirm your contact information:",Insulation:"Improve your home's insulation.","Junk Removal":"Remove unwanted junk from your property.",Landscaping:"Transform your yard with expert landscaping.",Locksmiths:"Professional locksmith services.","Masonry and Concrete":"Expert masonry and concrete work.",Restoration:"Confirm your contact information:",Moving:"Reliable moving services.",Painting:"Professional painting services.","Pest Control":"Confirm your contact information:",Pools:"Install or repair your pool.",Plumbing:"Confirm your contact information:","Pressure Washing":"Pressure wash your home's exterior.",Remodeling:"Remodel your home with top professionals.",Roofing:"Confirm your contact information:",Sheds:"Build a new shed for extra storage.",Siding:"Upgrade your home's siding.",Solar:"Install solar panels and save on energy.",Tiling:"Install beautiful new tiles.","Walk-in Tubs":"Install a convenient walk-in tub.",Waterproofing:"Waterproof your home to prevent damage.","Window Cleaning":"Professional window cleaning services.",Windows:"Replace your windows with energy-efficient options."};var W;return[function(t=null,a=!1){let n=O,r=_,s=H;return t&&(n=b(O,t),r=b(_,t),s=b(H,t)),{type:"meta",data:e($,{tcpaLanguage:a?'By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> 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.':'By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by up to four home service <a href="/providers" target="_blank" class="t-underline">companies and partners</a> 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:n,defaultFinalHeadline:"We Found Matching Contractors!",finalHeadlines:r,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:s})}}("Heating and Cooling",!0),(W={children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-80px",left:0}}}]},e(S,W)),{$cmp:"FormKit",props:function(t){const a=e(w,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"hvac",valueOverrideMap:{Category_Display:{"Heating System":{Category:"Heating"},"Cooling System":{Category:"Air Conditioning"},"Duct Cleaning":{Category:"Duct Cleaning"},"Other HVAC Issues":{Category:"Heating and Cooling"}}},redirectMap:{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"}}),children:[function(t){return e(I,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.3rem] 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", "Compare Quotes and Save")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Select Your Issue Type:")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...E,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return C("heatingCoolingFirstStep",[{$formkit:"hidden",name:"Category",id:"Category",value:"Heating and Cooling"},d(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",input:{help:null}}),function(e={}){return function(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),C(e,[g({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}("zipcode",((e,t,a={})=>(t?o:i)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}({nextOnInput:!1,headlineClass:"!t-mt-5 !t-text-xl sm:!t-text-2xl",headline:"Please Verify Your Zip Code:",input:{outerClass:"!t-mt-6 !t-mb-10",help:"We'll match you to the nearest pro."}}),function(e={}){return C("contactInfo",[x(e),v(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:[c(e.scope),p(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%]"})]}],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:{if:"$activeStep === $lastStep()",then:"step-nav "+(e.lastStepButtonClass||"!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:"Click To Start",submitLabel:"Get A Quote",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]",firstStepButtonClass:"!t-justify-center",lastStepButtonClass:"!t-justify-center !t-my-0 !t-py-0"}),{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[{$el:"div",attrs:{class:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto",innerHTML:"$meta.tcpaLanguage"}}]},function(e={}){return{if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},children:[h({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"}}]}]}]}]}();
|
package/dist/forms/hvac.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"type":"meta","data":{"tcpaLanguage":"By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href=\"/providers\" target=\"_blank\" class=\"t-underline\">companies and partners</a> 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":{"Heating and Cooling":"Example: \"I need to repair my air conditioning unit\""},"defaultFinalHeadline":"We Found Matching Contractors!","finalHeadlines":{},"defaultFinalSubHeadline":"Compare quotes and save. Verify contact info:","finalSubHeadlines":{"Heating and Cooling":"Confirm your contact information:"}}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[40rem]","formId":"hvac","valueOverrideMap":{"Category_Display":{"Heating System":{"Category":"Heating"},"Cooling System":{"Category":"Air Conditioning"},"Duct Cleaning":{"Category":"Duct Cleaning"},"Other HVAC Issues":{"Category":"Heating and Cooling"}}},"redirectMap":{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"name":"hvac"},"children":[{"$el":"div","attrs":{"class":"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center","style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none"}},"children":[{"$el":"div","attrs":{"class":"t-flex t-justify-center"},"children":[{"$el":"span","attrs":{"id":"progress-bar-text","class":"t-text-sm t-mb-1"},"children":["0% Complete"]}]},{"$el":"div","attrs":{"class":"t-bg-gray-100 t-w-9/12 t-rounded"},"children":[{"$el":"div","attrs":{"id":"progress-bar","class":"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]","style":{"transition":"width 0.5s ease"}}}]}]},{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.3rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Compare Quotes and Save\")","if":"$activeStep === $firstStep()"},{"$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 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Select Your Issue Type:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"HomeImprovement"},{"$formkit":"hidden","name":"TCPA_Opt_In","value":true},{"$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},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"heatingCoolingFirstStep\")","attrs":{"hidden":"$activeStep !== \"heatingCoolingFirstStep\"","key":"heatingCoolingFirstStep"},"children":[{"$formkit":"group","id":"heatingCoolingFirstStep","name":"heatingCoolingFirstStep","children":[{"$formkit":"hidden","name":"Category","id":"Category","value":"Heating and Cooling"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"Category_Display","options":["Heating System","Cooling System","Duct Cleaning","Other HVAC Issues"],"help":null,"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"Category_Display","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please Verify Your Zip Code:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 !t-mt-5 !t-text-xl sm:!t-text-2xl"}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We'll match you to the nearest pro.","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","outerClass":"!t-mt-6 !t-mb-10","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"firstAndLast\")","attrs":{"hidden":"$activeStep !== \"firstAndLast\"","key":"firstAndLast"},"children":[{"$formkit":"group","id":"firstAndLast","name":"firstAndLast","children":[{"$el":"h3","children":"Who is looking for HVAC help?","attrs":{"class":"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 !t-text-dark"}},{"$el":"div","attrs":{"class":"t-flex t-flex-col t-justify-center t-items-center t-pt-3"},"children":[{"$el":"div","attrs":{"class":"t-flex t-flex-col sm:t-flex-row t-flex-wrap t-gap-x-[2%] t-justify-center sm:!t-max-w-[70%]"},"children":[{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","placeholder":"First Name","name":"First_Name","autocomplete":"given-name","inputClass":"t-text-center","outerClass":"sm:!t-max-w-[49%]","id":"First_Name"},{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","placeholder":"Last Name","name":"Last_Name","autocomplete":"family-name","inputClass":"t-text-center","outerClass":"sm:!t-max-w-[49%]","id":"Last_Name","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"$getKey($meta, \"finalHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 !t-text-[#465f87] f-contact-info-headline"}},{"$el":"h5","children":"$getKey($meta, \"finalSubHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 !t-text-[#353739] f-contact-info-subheadline"}},{"$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":[{"$formkit":"FloatingLabelText","validation":"required|email","validationMessages":{"required":"Email is required","email":"Invalid Email"},"labelClass":"required","name":"Email","placeholder":"Email Address","autocomplete":"email","data-tf-sensitive":"false","inputClass":"t-text-center","wrapperClass":"t-flex t-justify-center","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%]","id":"Email"},{"$formkit":"FloatingLabelText","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"},"labelClass":"required","datatype":"tel","name":"Primary_Phone","placeholder":"Phone Number","maxlength":14,"help":null,"autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","inputClass":"t-text-center","wrapperClass":"t-flex t-justify-center","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%]","id":"Primary_Phone"}]}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","else":{"if":"$activeStep === $lastStep()","then":"step-nav !t-justify-center !t-my-0 !t-py-0","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":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Click To Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Get A Quote","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","attrs":{"class":"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto","innerHTML":"$meta.tcpaLanguage"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},"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"}}]}]},{"$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
|
+
[{"type":"meta","data":{"tcpaLanguage":"By clicking this button, I agree to the Terms of Use, and consent to be contacted by up to four home service <a href=\"/providers\" target=\"_blank\" class=\"t-underline\">companies and partners</a> 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":{"Heating and Cooling":"Example: \"I need to repair my air conditioning unit\""},"defaultFinalHeadline":"We Found Matching Contractors!","finalHeadlines":{},"defaultFinalSubHeadline":"Compare quotes and save. Verify contact info:","finalSubHeadlines":{"Heating and Cooling":"Confirm your contact information:"}}},{"$el":"div","children":[{"$el":"div","attrs":{"id":"form-anchor","class":"t-absolute","style":{"top":"-80px","left":0}}}],"attrs":{"class":"t-relative"}},{"$cmp":"FormKit","props":{"type":"form","id":"form","config":{"validationVisibility":"submit"},"onSubmit":"$submit($submitUrl, $prepData, $handleRedirect, \"text/plain; charset=UTF-8\")","plugins":"$plugins","actions":false,"anchorElement":"form-anchor","useLocalStorage":true,"prepop":{"fromURL":true},"errorCodes":{"403":{"message":"An Error Occurred","abort":false},"409":{"abort":false},"429":"An Error Occurred","504":{"message":"An Error Occurred","abort":false}},"formClass":"!t-max-w-[40rem]","formId":"hvac","valueOverrideMap":{"Category_Display":{"Heating System":{"Category":"Heating"},"Cooling System":{"Category":"Air Conditioning"},"Duct Cleaning":{"Category":"Duct Cleaning"},"Other HVAC Issues":{"Category":"Heating and Cooling"}}},"redirectMap":{"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"},"name":"hvac"},"children":[{"$el":"div","attrs":{"class":"t-mt-7 t-mb-5 t-w-full t-flex t-flex-col t-justify-center t-items-center","style":{"if":"$fns.eq($activeStep, $firstStep()) || $fns.eq($activeStep, $lastStep())","then":"display: none"}},"children":[{"$el":"div","attrs":{"class":"t-flex t-justify-center"},"children":[{"$el":"span","attrs":{"id":"progress-bar-text","class":"t-text-sm t-mb-1"},"children":["0% Complete"]}]},{"$el":"div","attrs":{"class":"t-bg-gray-100 t-w-9/12 t-rounded"},"children":[{"$el":"div","attrs":{"id":"progress-bar","class":"t-flex t-flex-col t-justify-center t-text-center t-whitespace-nowrap t-w-[10%] t-h-1.5 t-rounded t-text-white t-bg-[#007bff]","style":{"transition":"width 0.5s ease"}}}]}]},{"$el":"h1","attrs":{"class":"t-flex t-justify-center t-text-center t-text-[1.3rem] sm:t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 f-first-headline"},"children":"$urlParam(\"hl\", \"Compare Quotes and Save\")","if":"$activeStep === $firstStep()"},{"$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 !t-font-bold !t-text-[#465f87] f-first-subheadline"},"children":"$urlParam(\"shl\", \"Select Your Issue Type:\")","if":"$activeStep === $firstStep()","subheadlineClass":"!t-font-bold !t-text-[#465f87]"},{"$formkit":"hidden","name":"vertical","value":"HomeImprovement"},{"$formkit":"hidden","name":"TCPA_Opt_In","value":true},{"$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},{"$el":"div","attrs":{"class":"form-body"},"children":[{"$el":"section","if":"$stepEnabled(\"heatingCoolingFirstStep\")","attrs":{"hidden":"$activeStep !== \"heatingCoolingFirstStep\"","key":"heatingCoolingFirstStep"},"children":[{"$formkit":"group","id":"heatingCoolingFirstStep","name":"heatingCoolingFirstStep","children":[{"$formkit":"hidden","name":"Category","id":"Category","value":"Heating and Cooling"},{"$formkit":"radio","validation":"required","validationMessages":{"required":"Field is required"},"optionsClass":"t-pl-0 sm:t-pl-4 t-pt-3 t-grid t-grid-cols-1 sm:t-grid-cols-2","legendClass":"required t-w-[100%] t-text-center","name":"Category_Display","options":["Heating System","Cooling System","Duct Cleaning","Other HVAC Issues"],"help":null,"fieldsetClass":"$reset t-flex t-justify-center","innerClass":"t-items-start","wrapperClass":"$reset t-flex t-cursor-pointer t-mb-3","optionClass":"t-pl-4 sm:t-pl-8 sm:t-min-w-[200px]","messagesClass":"t-flex t-justify-center","helpClass":"t-mt-0 t-mb-4 !t-text-sm t-text-center","id":"Category_Display","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"zipcode\")","attrs":{"hidden":"$activeStep !== \"zipcode\"","key":"zipcode"},"children":[{"$formkit":"group","id":"zipcode","name":"zipcode","children":[{"$el":"h3","children":"Please Verify Your Zip Code:","attrs":{"class":"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 !t-mt-5 !t-text-xl sm:!t-text-2xl"}},{"$formkit":"text","validation":"required|matches:/^[0-9]{5}$/","validationMessages":{"required":"Zip Code is required","matches":"Invalid Zip Code"},"labelClass":"required","help":"We'll match you to the nearest pro.","placeholder":"#####","name":"Zip","maxlength":5,"inputmode":"numeric","autocomplete":"postal-code","outerClass":"!t-mt-6 !t-mb-10","wrapperClass":"t-flex t-justify-center","messagesClass":"t-flex t-justify-center","inputClass":"t-text-center","helpClass":"t-mt-2.5 !t-text-sm t-text-center","id":"Zip","onKeypress":"$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"}]}]},{"$el":"section","if":"$stepEnabled(\"contactInfo\")","attrs":{"hidden":"$activeStep !== \"contactInfo\"","key":"contactInfo"},"children":[{"$formkit":"group","id":"contactInfo","name":"contactInfo","children":[{"$el":"h3","children":"$getKey($meta, \"finalHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-xl md:!t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 !t-text-[#465f87] f-contact-info-headline"}},{"$el":"h5","children":"$getKey($meta, \"finalSubHeadlines.\" + ($get(Type_Of_Legal_Problem).value || $get(Category).value), $meta.defaultFinalSubHeadline)","attrs":{"class":"t-flex t-justify-center t-text-center !t-text-base md:!t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 !t-text-[#353739] f-contact-info-subheadline"}},{"$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":[{"$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":[{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"First Name is required"},"labelClass":"required","placeholder":"First Name","name":"First_Name","autocomplete":"given-name","inputClass":"t-text-center","outerClass":"!t-max-w-[48%] sm:!t-max-w-[49%]","id":"First_Name"},{"$formkit":"FloatingLabelText","validation":"required","validationMessages":{"required":"Last Name is required"},"labelClass":"required","placeholder":"Last Name","name":"Last_Name","autocomplete":"family-name","inputClass":"t-text-center","outerClass":"!t-max-w-[48%] sm:!t-max-w-[49%]","id":"Last_Name"}]},{"$formkit":"FloatingLabelText","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"},"labelClass":"required","datatype":"tel","name":"Primary_Phone","placeholder":"Phone Number","maxlength":14,"help":null,"autocomplete":"tel-national","data-tf-sensitive":"false","helpClass":"t-mt-2.5 md:t-text-right md:t-mt-[-2px]","inputClass":"t-text-center","wrapperClass":"t-flex t-justify-center","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%]","id":"Primary_Phone"}]}]}]},{"$el":"div","attrs":{"class":{"if":"$activeStep === $firstStep()","then":"step-nav !t-justify-center","else":{"if":"$activeStep === $lastStep()","then":"step-nav !t-justify-center !t-my-0 !t-py-0","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":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"button","name":"next_button","onClick":"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))","children":{"if":"$activeStep === $firstStep()","then":"Click To Start","else":"Next"},"outerClass":{"if":"$activeStep === $lastStep()","then":"t-hidden","else":""},"style":{"if":"$activeStep === $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input"}},{"$formkit":"submit","name":"submit_button","label":"Get A Quote","if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"classes":{"input":"!t-text-black !t-font-extrabold !t-bg-[#ffce51] f-navigation-input !t-w-60","outer":"!t-mt-0 !t-mb-0"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","attrs":{"class":"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-tight !t-pt-0 !t-pb-3 !t-max-w-[95%] !t-w-[96%] sm:!t-w-[70%] !t-mx-auto","innerHTML":"$meta.tcpaLanguage"}}]},{"if":"$activeStep === $lastStep()","style":{"if":"$activeStep !== $lastStep()","then":"display: none;"},"children":[{"$el":"div","if":"$activeStep === $lastStep()","attrs":{"class":"t-flex t-justify-center t-items-center t-text-sm t-text-gray-500 t-pb-6 sm:t-pb-8"},"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"}}]}]},{"$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"}}]}]}]}]
|
|
@@ -1545,7 +1545,7 @@ const HomeImprovementFinalHeadlines = {
|
|
|
1545
1545
|
// 'Fencing': '',
|
|
1546
1546
|
// 'Flooring': '',
|
|
1547
1547
|
// 'Foundations': '',
|
|
1548
|
-
|
|
1548
|
+
"Garage Doors": "Garage Pros Are Standing By!",
|
|
1549
1549
|
// "General Contractors": "Connect With Top Contractors!",
|
|
1550
1550
|
// 'Gutters': '',
|
|
1551
1551
|
// 'Handyman': '',
|
|
@@ -1568,7 +1568,7 @@ const HomeImprovementFinalHeadlines = {
|
|
|
1568
1568
|
Restoration: "Restoration Pros Are Standing By!",
|
|
1569
1569
|
// 'Moving': '',
|
|
1570
1570
|
// 'Painting': '',
|
|
1571
|
-
|
|
1571
|
+
"Pest Control": "Exterminators Are Standing By!",
|
|
1572
1572
|
// 'Pools': '',
|
|
1573
1573
|
Plumbing: "Plumbers Are Standing By!",
|
|
1574
1574
|
// 'Pressure Washing': '',
|
|
@@ -1602,7 +1602,7 @@ const HomeImprovementFinalSubHeadlines = {
|
|
|
1602
1602
|
Fencing: "Secure your property with new fencing.",
|
|
1603
1603
|
Flooring: "Install stunning new floors.",
|
|
1604
1604
|
Foundations: "Foundation repair and maintenance.",
|
|
1605
|
-
"Garage Doors": "
|
|
1605
|
+
"Garage Doors": "Confirm your contact information:",
|
|
1606
1606
|
"General Contractors": "Top contractors for your home projects.",
|
|
1607
1607
|
Gutters: "Clean and repair your gutters.",
|
|
1608
1608
|
Handyman: "Handyman services for all your needs.",
|
|
@@ -1625,7 +1625,7 @@ const HomeImprovementFinalSubHeadlines = {
|
|
|
1625
1625
|
Restoration: "Confirm your contact information:",
|
|
1626
1626
|
Moving: "Reliable moving services.",
|
|
1627
1627
|
Painting: "Professional painting services.",
|
|
1628
|
-
"Pest Control": "
|
|
1628
|
+
"Pest Control": "Confirm your contact information:",
|
|
1629
1629
|
Pools: "Install or repair your pool.",
|
|
1630
1630
|
Plumbing: "Confirm your contact information:",
|
|
1631
1631
|
"Pressure Washing": "Pressure wash your home's exterior.",
|