bhl-forms 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/forms/accidentsAndInjuries.es.js +49 -26
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/accidentsAndInjuries.json +1 -1
- package/dist/forms/business.es.js +50 -31
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/business.json +1 -1
- package/dist/forms/childAndFamily.es.js +48 -26
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamily.json +1 -1
- package/dist/forms/childAndFamilySingle.es.js +50 -31
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.json +1 -1
- package/dist/forms/civilLawsuit.es.js +50 -31
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/civilLawsuit.json +1 -1
- package/dist/forms/contracts.es.js +48 -26
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/contracts.json +1 -1
- package/dist/forms/criminal.es.js +50 -31
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/criminal.json +1 -1
- package/dist/forms/divorce.es.js +50 -31
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/divorce.json +1 -1
- package/dist/forms/employmentAndWorkplace.es.js +50 -31
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.json +1 -1
- package/dist/forms/generalHomeImprovement.es.js +61 -270
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.json +1 -1
- package/dist/forms/generalHomeImprovementThankYou.es.js +3024 -0
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -0
- package/dist/forms/generalHomeImprovementThankYou.json +1 -0
- package/dist/forms/generalLegal.es.js +85 -46
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegal.json +1 -1
- package/dist/forms/generalLegalJustAnswer.es.js +73 -65
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.json +1 -1
- package/dist/forms/generalLegalPopUnder.es.js +85 -46
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.json +1 -1
- package/dist/forms/generalLegalPopUnderSingle.es.js +73 -65
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.json +1 -1
- package/dist/forms/generalLegalSingle.es.js +73 -65
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.json +1 -1
- package/dist/forms/generalLegalThankYou.es.js +85 -46
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYou.json +1 -1
- package/dist/forms/generalLegalThankYouConsultation.es.js +73 -65
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.json +1 -1
- package/dist/forms/harassmentAndDiscrimination.es.js +48 -26
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.json +1 -1
- package/dist/forms/landlordTenant.es.js +50 -31
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/landlordTenant.json +1 -1
- package/dist/forms/malpractice.es.js +48 -26
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/malpractice.json +1 -1
- package/dist/forms/mechanics.es.js +30 -18
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/mechanics.json +1 -1
- package/dist/forms/patentsAndIP.es.js +50 -31
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/patentsAndIP.json +1 -1
- package/dist/forms/realEstate.es.js +85 -46
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/realEstate.json +1 -1
- package/dist/forms/repossession.es.js +48 -26
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/repossession.json +1 -1
- package/dist/forms/ssdi.es.js +47 -32
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/ssdi.json +1 -1
- package/dist/forms/testForm.es.js +28 -13
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testForm.json +1 -1
- package/dist/forms/testRedirects.es.js +28 -13
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/testRedirects.json +1 -1
- package/dist/forms/willsAndTrusts.es.js +48 -26
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/willsAndTrusts.json +1 -1
- package/package.json +1 -1
|
@@ -13,163 +13,8 @@ const DEFAULT_FINAL_SUBHEADLINE_DYNAMIC_LEGAL = '$getKey($meta, "finalSubHeadlin
|
|
|
13
13
|
|
|
14
14
|
const DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC_HOME_IMPROVEMENT = DEFAULT_COMMENTS_PLACEHOLDER_DYNAMIC;
|
|
15
15
|
const DEFAULT_FINAL_HEADLINE_HOME_IMPROVEMENT = 'We Found Contractors Near You';
|
|
16
|
-
const DEFAULT_FINAL_SUBHEADLINE_HOME_IMPROVEMENT = 'Compare
|
|
17
|
-
const TCPA_LANGUAGE_HOME_IMPROVEMENT = "By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors, contractor networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call
|
|
18
|
-
const defaultHomeImprovementCrossSells = [
|
|
19
|
-
'Painting',
|
|
20
|
-
'Plumbing',
|
|
21
|
-
'Electrical',
|
|
22
|
-
'Siding',
|
|
23
|
-
'Remodeling',
|
|
24
|
-
'Roofing',
|
|
25
|
-
];
|
|
26
|
-
const CROSS_SELL_OPTION_MAP_HOME_IMPROVEMENT = {
|
|
27
|
-
// Values can be a list or a map of value -> display value
|
|
28
|
-
'Additions': [
|
|
29
|
-
'Painting',
|
|
30
|
-
'Landscaping',
|
|
31
|
-
'Plumbing',
|
|
32
|
-
'Appliances',
|
|
33
|
-
'Heating and Cooling',
|
|
34
|
-
'Driveways',
|
|
35
|
-
],
|
|
36
|
-
// 'Appliances': [],
|
|
37
|
-
// 'Appraisals': [],
|
|
38
|
-
// 'Cabinets': [],
|
|
39
|
-
// 'Carpentry': [],
|
|
40
|
-
// 'Carpets': [],
|
|
41
|
-
// 'Cleaning': [],
|
|
42
|
-
// 'Countertops': [],
|
|
43
|
-
// 'Decks and Porches': [],
|
|
44
|
-
// 'Demolition': [],
|
|
45
|
-
// 'Doors': [],
|
|
46
|
-
// 'Driveways': [],
|
|
47
|
-
// 'Drywall and Plaster': [],
|
|
48
|
-
'Electrical': [
|
|
49
|
-
'Painting',
|
|
50
|
-
'Plumbing',
|
|
51
|
-
'Drywall and Plaster',
|
|
52
|
-
'Flooring',
|
|
53
|
-
'Remodeling',
|
|
54
|
-
'Roofing',
|
|
55
|
-
],
|
|
56
|
-
// 'Fencing': [],
|
|
57
|
-
'Flooring': [
|
|
58
|
-
'Painting',
|
|
59
|
-
'Plumbing',
|
|
60
|
-
'Electrical',
|
|
61
|
-
'Carpentry',
|
|
62
|
-
'Remodeling',
|
|
63
|
-
'Roofing',
|
|
64
|
-
],
|
|
65
|
-
// 'Foundations': [],
|
|
66
|
-
// 'Garage Doors': [],
|
|
67
|
-
'General Contractors': [
|
|
68
|
-
'Painting',
|
|
69
|
-
'Plumbing',
|
|
70
|
-
'Electrical',
|
|
71
|
-
'Flooring',
|
|
72
|
-
'Landscaping',
|
|
73
|
-
'Roofing',
|
|
74
|
-
],
|
|
75
|
-
// 'Gutters': [],
|
|
76
|
-
// 'Handyman': [],
|
|
77
|
-
// 'Holiday Decorators': [],
|
|
78
|
-
// 'Smart Home': [],
|
|
79
|
-
'Home Builders': [
|
|
80
|
-
'Painting',
|
|
81
|
-
'Driveways',
|
|
82
|
-
'Masonry and Concrete',
|
|
83
|
-
'Pest Control',
|
|
84
|
-
'Landscaping',
|
|
85
|
-
'Windows',
|
|
86
|
-
],
|
|
87
|
-
// 'Home Inspection': [],
|
|
88
|
-
// 'Home Organization': [],
|
|
89
|
-
// 'Home Security': [],
|
|
90
|
-
// 'Home Staging': [],
|
|
91
|
-
// 'Home Theater': [],
|
|
92
|
-
// 'Home Warranties': [],
|
|
93
|
-
// 'Hot Tubs': [],
|
|
94
|
-
// 'Heating and Cooling': [],
|
|
95
|
-
// 'Insulation': [],
|
|
96
|
-
// 'Junk Removal': [],
|
|
97
|
-
// 'Landscaping': [],
|
|
98
|
-
// 'Locksmiths': [],
|
|
99
|
-
// 'Masonry and Concrete': [],
|
|
100
|
-
// 'Restoration': [],
|
|
101
|
-
// // 'Moving': [],
|
|
102
|
-
'Painting': [
|
|
103
|
-
'Plumbing',
|
|
104
|
-
'Electrical',
|
|
105
|
-
'Flooring',
|
|
106
|
-
'Remodeling',
|
|
107
|
-
'Roofing',
|
|
108
|
-
'Windows',
|
|
109
|
-
],
|
|
110
|
-
// 'Pest Control': [],
|
|
111
|
-
// 'Pools': [],
|
|
112
|
-
'Plumbing': [
|
|
113
|
-
'Painting',
|
|
114
|
-
'Appliances',
|
|
115
|
-
'Electrical',
|
|
116
|
-
'Flooring',
|
|
117
|
-
'Remodeling',
|
|
118
|
-
'Roofing',
|
|
119
|
-
],
|
|
120
|
-
// 'Pressure Washing': [],
|
|
121
|
-
'Remodeling': [
|
|
122
|
-
'Painting',
|
|
123
|
-
'Landscaping',
|
|
124
|
-
'Electrical',
|
|
125
|
-
'Flooring',
|
|
126
|
-
'Concrete and Masonry',
|
|
127
|
-
'Roofing',
|
|
128
|
-
],
|
|
129
|
-
'Roofing': [
|
|
130
|
-
'Painting',
|
|
131
|
-
'Plumbing',
|
|
132
|
-
'Electrical',
|
|
133
|
-
'Flooring',
|
|
134
|
-
'Remodeling',
|
|
135
|
-
'Windows',
|
|
136
|
-
],
|
|
137
|
-
// 'Sheds': [],
|
|
138
|
-
// 'Siding': [],
|
|
139
|
-
// 'Solar': [],
|
|
140
|
-
// 'Tiling': [],
|
|
141
|
-
// 'Walk-in Tubs': [],
|
|
142
|
-
// 'Waterproofing': [],
|
|
143
|
-
// 'Window Cleaning': [],
|
|
144
|
-
// 'Windows': []
|
|
145
|
-
'*': defaultHomeImprovementCrossSells,
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
// ------ Common Base Settings
|
|
149
|
-
|
|
150
|
-
const checkbox = (updates) => {
|
|
151
|
-
if (updates.name && !updates.id) {
|
|
152
|
-
updates.id = updates.name;
|
|
153
|
-
}
|
|
154
|
-
return merge({
|
|
155
|
-
$formkit: 'checkbox',
|
|
156
|
-
validation: 'required',
|
|
157
|
-
validationMessages: {
|
|
158
|
-
required: 'Field is required'
|
|
159
|
-
}
|
|
160
|
-
}, updates)
|
|
161
|
-
};
|
|
162
|
-
|
|
163
|
-
const col2Checkbox = (updates) => {
|
|
164
|
-
if (!updates || !updates.legendClass) {
|
|
165
|
-
updates.legendClass = 'required';
|
|
166
|
-
}
|
|
167
|
-
updates.fieldsetClass = '$reset';
|
|
168
|
-
updates.optionsClass = 't-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2';
|
|
169
|
-
updates.innerClass = 't-items-start';
|
|
170
|
-
updates.wrapperClass = '$reset t-flex t-cursor-pointer t-mb-3';
|
|
171
|
-
return checkbox(updates)
|
|
172
|
-
};
|
|
16
|
+
const DEFAULT_FINAL_SUBHEADLINE_HOME_IMPROVEMENT = 'Compare quotes and save! Please verify your contact info:';
|
|
17
|
+
const TCPA_LANGUAGE_HOME_IMPROVEMENT = "By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by up to 5 contractors, contractor networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, please call us.";
|
|
173
18
|
|
|
174
19
|
const radio = (updates) => {
|
|
175
20
|
if (updates.name && !updates.id) {
|
|
@@ -241,6 +86,14 @@ const sbsText = (updates) => {
|
|
|
241
86
|
return text(updates)
|
|
242
87
|
};
|
|
243
88
|
|
|
89
|
+
const verticalText = (updates) => {
|
|
90
|
+
updates.wrapperClass = 't-flex t-justify-center';
|
|
91
|
+
updates.messagesClass = 't-flex t-justify-center';
|
|
92
|
+
updates.inputClass = 't-text-center';
|
|
93
|
+
updates.helpClass = 't-mt-2.5 !t-text-sm t-text-center';
|
|
94
|
+
return text(updates)
|
|
95
|
+
};
|
|
96
|
+
|
|
244
97
|
const textArea = (updates) => {
|
|
245
98
|
if (updates.name && !updates.id) {
|
|
246
99
|
updates.id = updates.name;
|
|
@@ -258,21 +111,28 @@ const textArea = (updates) => {
|
|
|
258
111
|
}, updates)
|
|
259
112
|
};
|
|
260
113
|
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
114
|
+
|
|
115
|
+
// ------ Common Inputs
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
const address$1 = (scope, vertical, updates = {}) => {
|
|
119
|
+
const func = vertical ? verticalText : sbsText;
|
|
120
|
+
const label = vertical ? (updates.label) : 'Street Address:';
|
|
121
|
+
return func({
|
|
122
|
+
label,
|
|
123
|
+
placeholder: '10 Example St',
|
|
124
|
+
name: scope ? scope + ':' + 'Address' : 'Address',
|
|
125
|
+
autocomplete: "street-address",
|
|
126
|
+
'data-tf-sensitive': 'false',
|
|
127
|
+
minlength: 5,
|
|
128
|
+
maxlength: 100,
|
|
129
|
+
validationMessages: {
|
|
130
|
+
minlength: 'Invalid Address',
|
|
131
|
+
required: 'Address is required'
|
|
132
|
+
},
|
|
133
|
+
...updates
|
|
134
|
+
})
|
|
135
|
+
};
|
|
276
136
|
|
|
277
137
|
const email = (scope) => sbsText({
|
|
278
138
|
$formkit: 'email',
|
|
@@ -326,23 +186,27 @@ const phone = (scope) => sbsText({
|
|
|
326
186
|
helpClass: "t-mt-2.5 md:t-text-right md:t-mt-[-2px]"
|
|
327
187
|
});
|
|
328
188
|
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
189
|
+
|
|
190
|
+
const zipcode$1 = (scope, vertical, updates = {}) => {
|
|
191
|
+
const func = vertical ? verticalText : sbsText;
|
|
192
|
+
const label = vertical ? (updates.label) : 'Zip Code:';
|
|
193
|
+
const help = vertical ? (updates.help ?? "We try to match you with local help") : null;
|
|
194
|
+
return func({
|
|
195
|
+
label,
|
|
196
|
+
help,
|
|
197
|
+
placeholder: '#####',
|
|
198
|
+
name: scope ? scope + ':' + 'Zip' : 'Zip',
|
|
199
|
+
maxlength: 5,
|
|
200
|
+
inputmode: "numeric",
|
|
201
|
+
autocomplete: 'postal-code',
|
|
202
|
+
validation: 'required|matches:/^[0-9]{5}$/',
|
|
203
|
+
validationMessages: {
|
|
204
|
+
required: 'Zip Code is required',
|
|
205
|
+
matches: 'Invalid Zip Code'
|
|
206
|
+
},
|
|
207
|
+
...updates
|
|
208
|
+
})
|
|
209
|
+
};
|
|
346
210
|
|
|
347
211
|
const comments = (updates, scope) => textArea(
|
|
348
212
|
merge({
|
|
@@ -367,19 +231,6 @@ const TCPAConsent = (scope) => ({
|
|
|
367
231
|
}
|
|
368
232
|
});
|
|
369
233
|
|
|
370
|
-
|
|
371
|
-
// ------ Home Improvement
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
const homeImprovementCrossSells$1 = () => col2Checkbox({
|
|
375
|
-
id: 'Home_Improvement_CrossSells',
|
|
376
|
-
name: 'Home_Improvement_CrossSells',
|
|
377
|
-
help: 'Just hit "Next" if none apply',
|
|
378
|
-
helpClass: 't-text-center !t-text-sm',
|
|
379
|
-
validation: null,
|
|
380
|
-
options: '$getCrossSellOptions($get(form), $getVal($get(form), "Category"))',
|
|
381
|
-
});
|
|
382
|
-
|
|
383
234
|
const HomeImprovementCategoryOptions = [
|
|
384
235
|
'Additions',
|
|
385
236
|
'Appliances',
|
|
@@ -1375,7 +1226,7 @@ function address(updates = {}) {
|
|
|
1375
1226
|
updates.nextOnInput = typeof updates.nextOnInput === 'undefined' ? false : updates.nextOnInput;
|
|
1376
1227
|
return sqstep(
|
|
1377
1228
|
'address',
|
|
1378
|
-
|
|
1229
|
+
address$1(updates.scope, true),
|
|
1379
1230
|
'What is the street address of the home?',
|
|
1380
1231
|
updates
|
|
1381
1232
|
)
|
|
@@ -1436,39 +1287,12 @@ function firstAndLastV3(updates = {}, scope) {
|
|
|
1436
1287
|
function zipcode(updates = {}) {
|
|
1437
1288
|
return sqstep(
|
|
1438
1289
|
'zipcode',
|
|
1439
|
-
|
|
1290
|
+
zipcode$1(updates.scope, true, updates),
|
|
1440
1291
|
'Please verify your Zip Code',
|
|
1441
1292
|
updates
|
|
1442
1293
|
)
|
|
1443
1294
|
}
|
|
1444
1295
|
|
|
1445
|
-
|
|
1446
|
-
// ------ Home Improvement
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
function homeImprovementCrossSellsStepHeadline(updates) {
|
|
1450
|
-
return {
|
|
1451
|
-
$el: 'h3',
|
|
1452
|
-
children: updates.headline || 'Interested in free quotes for other projects?',
|
|
1453
|
-
attrs: {
|
|
1454
|
-
class: 't-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1' + ' ' + (updates.headlineClass || '')
|
|
1455
|
-
}
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
|
-
function homeImprovementCrossSells(updates = {}) {
|
|
1460
|
-
updates.nextOnInput = false;
|
|
1461
|
-
updates.stepKey = '$get(Category).value';
|
|
1462
|
-
return step(
|
|
1463
|
-
'homeImprovementCrossSells',
|
|
1464
|
-
[
|
|
1465
|
-
homeImprovementCrossSellsStepHeadline(updates),
|
|
1466
|
-
homeImprovementCrossSells$1(),
|
|
1467
|
-
],
|
|
1468
|
-
updates
|
|
1469
|
-
)
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
1296
|
// export function electricalCrossSellQuestions(updates = {}) {
|
|
1473
1297
|
// return step(
|
|
1474
1298
|
// 'electricalCrossSellQuestions',
|
|
@@ -2800,7 +2624,7 @@ const nextStepsHomeImprovementDefault = [
|
|
|
2800
2624
|
'ownHome',
|
|
2801
2625
|
'zipcode',
|
|
2802
2626
|
'address',
|
|
2803
|
-
'homeImprovementCrossSells',
|
|
2627
|
+
// 'homeImprovementCrossSells',
|
|
2804
2628
|
'firstAndLast',
|
|
2805
2629
|
'contactInfo',
|
|
2806
2630
|
];
|
|
@@ -3068,39 +2892,6 @@ const nextStepsMapPainting = {
|
|
|
3068
2892
|
}
|
|
3069
2893
|
};
|
|
3070
2894
|
|
|
3071
|
-
const homeImprovementCrossSellOptionMap = CROSS_SELL_OPTION_MAP_HOME_IMPROVEMENT;
|
|
3072
|
-
|
|
3073
|
-
const nextStepsMapHomeImprovementCrossSells = {
|
|
3074
|
-
values: {
|
|
3075
|
-
'Home_Improvement_CrossSells': {
|
|
3076
|
-
'Appliances': ['applianceCrossSellQuestions'],
|
|
3077
|
-
'Carpentry': ['carpentryCrossSellQuestions'],
|
|
3078
|
-
'Driveways': ['drivewayCrossSellQuestions'],
|
|
3079
|
-
'Drywall and Plaster': ['drywallCrossSellQuestions'],
|
|
3080
|
-
'Electrical': ['electricalCrossSellQuestions'],
|
|
3081
|
-
'Flooring': ['flooringCrossSellQuestions'],
|
|
3082
|
-
'Heating and Cooling': ['heatingCoolingCrossSellQuestions'],
|
|
3083
|
-
'Landscaping': ['landscapingCrossSellQuestions'],
|
|
3084
|
-
'Masonry and Concrete': ['masonryAndConcreteCrossSellQuestions'],
|
|
3085
|
-
'Painting': ['paintingCrossSellQuestions'],
|
|
3086
|
-
'Pest Control': ['pestControlCrossSellQuestions'],
|
|
3087
|
-
'Plumbing': ['plumbingCrossSellQuestions'],
|
|
3088
|
-
'Remodeling': ['remodelingCrossSellQuestions'],
|
|
3089
|
-
'Roofing': ['roofingCrossSellQuestions'],
|
|
3090
|
-
'Siding': ['sidingCrossSellQuestions'],
|
|
3091
|
-
'Windows': ['windowsCrossSellQuestions'],
|
|
3092
|
-
// TODO:
|
|
3093
|
-
// Insulation, Cabinets, Countertops, Decks and Porches, Doors,
|
|
3094
|
-
// Fencing, Gutters, Handyman, Pressure Washing
|
|
3095
|
-
},
|
|
3096
|
-
'*': ['firstAndLast', 'contactInfo'],
|
|
3097
|
-
},
|
|
3098
|
-
// NOTE: this assumes a certain placement of the cross sell question
|
|
3099
|
-
// in the form flow.
|
|
3100
|
-
appendSteps: ['firstAndLast', 'contactInfo'],
|
|
3101
|
-
matchesAllowed: 1,
|
|
3102
|
-
};
|
|
3103
|
-
|
|
3104
2895
|
const meta = defaultMetaPropsHomeImprovement();
|
|
3105
2896
|
|
|
3106
2897
|
meta.data.dynamicSchema = [
|
|
@@ -3168,10 +2959,10 @@ meta.data.dynamicSchema = [
|
|
|
3168
2959
|
headline: 'Please briefly describe your project:',
|
|
3169
2960
|
headlineClass: '!t-text-dark',
|
|
3170
2961
|
}),
|
|
3171
|
-
homeImprovementCrossSells({
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
}),
|
|
2962
|
+
// steps.homeImprovementCrossSells({
|
|
2963
|
+
// headlineClass: '!t-text-dark',
|
|
2964
|
+
// nextStepMap: forms.nextStepsMapHomeImprovementCrossSells,
|
|
2965
|
+
// }),
|
|
3175
2966
|
firstAndLastV3({
|
|
3176
2967
|
headlineClass: '!t-text-dark'
|
|
3177
2968
|
}),
|
|
@@ -3186,7 +2977,7 @@ const schema = [
|
|
|
3186
2977
|
formId: 'generalHomeImprovement',
|
|
3187
2978
|
redirectMap: homeImprovementRedirectMap(),
|
|
3188
2979
|
// valueOverrideMap: forms.homeImprovementAllValueOverrideMap,
|
|
3189
|
-
crossSellOptionMap: homeImprovementCrossSellOptionMap
|
|
2980
|
+
// crossSellOptionMap: forms.homeImprovementCrossSellOptionMap
|
|
3190
2981
|
}),
|
|
3191
2982
|
children: [
|
|
3192
2983
|
progressBar(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var generalHomeImprovement=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',o='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',n='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',r=t,a={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Concrete and Masonry","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},i=t=>(t&&t.legendClass||(t.legendClass="required"),t.fieldsetClass="$reset",t.optionsClass="t-pl-8 md:t-pl-2 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),s=t=>(t.legendClass="required",t.fieldsetClass="$reset t-flex t-justify-center",t.optionsClass="t-pl-2 t-pt-3",t.innerClass="t-items-center",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-12",t.messagesClass="t-flex t-justify-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)))(t)),l=t=>(t.labelClass="required",t.wrapperClass="t-flex t-justify-center",t.messagesClass="t-flex t-justify-center",t.inputClass="t-min-w-[150px] t-bg-white",t.helpClass="t-mt-2.5 t-text-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),p=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),u=e=>(e.wrapperClass="side-by-side t-items-center",p(e)),m=e=>u({label:"First Name:",placeholder:"First",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),d=e=>u({label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),c=e=>u({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),y=(t,o)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:o?o+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),h=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}}),f=["Additions","Appliances","Appraisals","Cabinets","Carpentry","Carpets","Cleaning","Countertops","Decks and Porches","Demolition","Doors","Driveways","Drywall and Plaster","Electrical","Fencing","Flooring","Foundations","Garage Doors","General Contractors","Gutters","Handyman","Holiday Decorators","Smart Home","Home Builders","Home Inspection","Home Organization","Home Security","Home Staging","Home Theater","Home Warranties","Hot Tubs","Heating and Cooling","Insulation","Junk Removal","Landscaping","Locksmiths","Masonry and Concrete","Restoration","Painting","Pest Control","Pools","Plumbing","Pressure Washing","Remodeling","Roofing","Sheds","Siding","Solar","Tiling","Walk-in Tubs","Waterproofing","Window Cleaning","Windows"],g=t=>l(e({name:"Category",id:"Category",options:f},t)),S="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",b="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",v=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,x=e=>{if(v(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const o=e.children[t];if(v(o))return o;const n=x(o);if(n)return n}return null},w={$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 C(t){return e(w,t)}function k(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function _(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function W(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function I(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function $(e){return{$el:"h3",children:e.headline||o,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function T(e){return{$el:"h5",children:e.subheadline||n,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const P="(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})();";const E=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function R(t,o,n={}){const{nextOnEnter:r=!0,nextOnInput:a=!1,stepKey:i,nextStepMap:s,triggerRedirectMap:l,autoFocus:p}=n;if(o&&o.length&&(r||a)){const e=x(o[o.length-1]);e&&!0===r&&(e.onKeypress=S),e&&!0===a&&(e.onInput=b)}return e(E(t,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:s,triggerRedirectMap:l,autoFocus:p,children:o}]})}function O(e,t,o,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),R(e,[k({headline:n.headline??o,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function H(e){return{$el:"h3",children:e.headline||"Interested in free quotes for other projects?",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}const M={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 F(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const N={};const D={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const A={$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 q=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],L={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const G={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"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"'},j={},z={},B=["comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"],Q={values:{Category:{Additions:["additionsSubType","constructionAreaSize",...B],Appliances:["homeImprovementWorkType","applianceType",...B],Appraisals:[...B],Cabinets:["cabinetWorkType",...B],Carpentry:["carpentrySubtype","homeImprovementWorkType",...B],Carpets:["carpetWorkType",...B],Cleaning:["cleaningSubtype",...B],Countertops:["countertopMaterial","homeImprovementWorkType",...B],"Decks and Porches":["deckWorkType",...B],Demolition:["demolitionSubtype",...B],Doors:["doorSubtype","homeImprovementWorkType",...B],Driveways:["drivewayWorkType","drivewayMaterial",...B],"Drywall and Plaster":["wallSurfaceType","homeImprovementWorkType",...B],Electrical:["electricalSubtype","homeImprovementWorkType",...B],Fencing:["fenceMaterial","homeImprovementWorkType",...B],Flooring:["flooringMaterial","homeImprovementWorkType",...B],Foundations:["homeImprovementWorkType",...B],"Garage Doors":["homeImprovementWorkType",...B],"General Contractors":["generalContractorSubtype",...B],Gutters:["gutterMaterial","guttersWorkType",...B],Handyman:[...B],"Holiday Decorators":[...B],"Smart Home":["smartHomeSubtype",...B],"Home Builders":[...B],"Home Inspection":[...B],"Home Organization":["homeOrganizationSubtype",...B],"Home Security":[...B],"Home Staging":["numberOfRooms",...B],"Home Theater":["homeTheaterSubtype",...B],"Home Warranties":[...B],"Hot Tubs":["homeImprovementWorkType",...B],"Heating and Cooling":["heatingCoolingSubtype","fuelSource","homeImprovementWorkType",...B],Insulation:["insulationSubtype",...B],"Junk Removal":[...B],Landscaping:["landscapingSubtype","homeImprovementWorkType",...B],Locksmiths:[...B],"Masonry and Concrete":["masonrySubtype","masonryMaterial","masonryWorkType",...B],Restoration:["restorationSubtype",...B],Moving:["movingFromAddress","movingToAddress","movingHouseholdSize",...B],Painting:["paintingSubtype","paintingRooms",...B],"Pest Control":["pestControlSubtype",...B],Pools:["poolsWorkType","poolsSubtype",...B],Plumbing:["plumbingSubtype","homeImprovementWorkType",...B],"Pressure Washing":[...B],Remodeling:["remodelingSubtype",...B],Roofing:["roofingWorkType","roofingMaterial",...B],Sheds:["homeImprovementWorkType",...B],Siding:["sidingMaterial","homeImprovementWorkType",...B],Solar:["homeImprovementWorkType",...B],Tiling:["tilingSubtype","homeImprovementWorkType",...B],"Walk-in Tubs":[...B],Waterproofing:["waterproofingSubtype",...B],"Window Cleaning":[...B],Windows:["windowsWorkType","windowsSubtype","numberOfWindows",...B]},"*":B}},V={values:{Painting_Subtype:{"Whole Exterior":B,"Exterior Touch-up":B,"Interior Rooms":["paintingRooms",...B],"Interior Touch-up":["paintingRooms",...B],Ceilings:["paintingRooms",...B],Deck:B,Shed:B,Cabinets:B,"Not Sure or Other":B}}},K=a,U=function(t=null){let o=G,n=j,a=z;return t&&(o=F(G,t),n=F(j,t),a=F(z,t)),{type:"meta",data:e(N,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors, contractor networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, call XXX-XXX-XXXX.",defaultCommentsPlaceholder:r,commentsPlaceholders:o,defaultFinalHeadline:"We Found Contractors Near You",finalHeadlines:n,defaultFinalSubHeadline:"Compare free quotes and save! Please verify your contact information.",finalSubHeadlines:a})}}();U.data.dynamicSchema=[function(e={}){return O("zipcode",((e={},t)=>p({placeholder:"#####",help:e.help??"We try to match you with local help",name:t?t+":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"},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"}))(e,e.scope),"Please verify your Zip Code",e)}(),function(e={}){return O("timeframe",s({name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]}),"What is the project timeframe?",e);var t}(),function(e={}){return O("ownHome",s({name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]}),"Do you own the home?",e);var t}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,O("address",(t=e.scope,p({placeholder:"10 Example St",name:t?t+":Address":"Address",help:"Used to verify your location is supported",autocomplete:"street-address","data-tf-sensitive":"false",maxlength:100,validationMessages:{required:"Address is required"},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"})),"What is the street address of the home?",e);var t}(),function(e={}){return O("homeImprovementWorkType",s({name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]}),"What type of work?",e);var t}(),function(e={}){return O("additionsSubType",l({name:t?t+":Additions_Subtype":"Additions_Subtype",options:["Garage","In-Law Suite","Additional Rooms","Additional Stories","Bump-out","Sunroom","Accessory Dwelling Unit","Basement Remodeling","Attic Remodeling","Not Sure or Other"]}),"What type of addition?",e);var t}(),function(e={}){return O("constructionAreaSize",s({name:t?t+":Construction_Area_Size":"Construction_Area_Size",options:["Less than 1000 square feet","1000 to 2000 square feet","More than 2000 square feet"]}),"What is the size of the construction area?",e);var t}(),function(e={}){return O("applianceType",l({name:t?t+":Appliance_Type":"Appliance_Type",options:["Cooktop","Dishwasher","Dryer","Freezer","Garbage Disposal","Ice Maker","Microwave","Range","Refrigerator","Stove","Trash Compactor","Oven","Vacuum","Washer Machine","Not Sure or Other"]}),"What type of appliance?",e);var t}(),function(e={}){return O("cabinetWorkType",s({name:t?t+":Cabinet_Work_Type":"Cabinet_Work_Type",options:["Install","Refinish","Reface","Repair","Not Sure or Other"]}),"What type of cabinet work?",e);var t}(),function(e={}){return O("carpentrySubtype",l({name:t?t+":Carpentry_Subtype":"Carpentry_Subtype",options:["Closets","Custom Furniture","Built-ins","Framing","Interior Trim","Exterior Trim","Windows","Stairways and Railings","Gazebo or Pergola","Multiple Jobs","Not Sure or Other"]}),"What type of carpentry work?",e);var t}(),function(e={}){return O("carpetWorkType",s({name:t?t+":Carpet_Work_Type":"Carpet_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]}),"What type of carpet work?",e);var t}(),function(e={}){return O("cleaningSubtype",l({name:t?t+":Cleaning_Subtype":"Cleaning_Subtype",options:["Whole Home","Office","Carpets","Windows","Air Ducts or Vents","Chimney","Deck","Tile or Grout","Garage","Shed","Gutters","Pool","Junk Removal","Not Sure or Other"]}),"What type of cleaning?",e);var t}(),function(e={}){return O("countertopMaterial",l({name:t?t+":Countertop_Material":"Countertop_Material",options:["Concrete","Granite","Laminate","Marble","Quartz","Stainless Steel","Wood","Not Sure or Other"]}),"What type of countertop material?",e);var t}(),function(e={}){return O("deckWorkType",s({name:t?t+":Deck_Work_Type":"Deck_Work_Type",options:["Paint or Stain","Install or Replace","Repair","Not Sure or Other"]}),"What type of deck work?",e);var t}(),function(e={}){return O("demolitionSubtype",s({name:t?t+":Demolition_Subtype":"Demolition_Subtype",options:["Whole Structure","Partial Home","Shed","Not Sure or Other"]}),"What type of demolition?",e);var t}(),function(e={}){return O("doorSubtype",s({name:t?t+":Door_Subtype":"Door_Subtype",options:["Interior","Exterior","Garage","Sliding","Storm","Not Sure or Other"]}),"What type of door?",e);var t}(),function(e={}){return O("drivewayWorkType",s({name:t?t+":Driveway_Work_Type":"Driveway_Work_Type",options:["Install or Replace","Repair","Sealing","Not Sure or Other"]}),"What type of driveway work?",e);var t}(),function(e={}){return O("drivewayMaterial",s({name:t?t+":Driveway_Material":"Driveway_Material",options:["Asphalt","Brick","Cobblestone","Pebble","Concrete","Pavers","Not Sure or Other"]}),"What type of driveway material?",e);var t}(),function(e={}){return O("wallSurfaceType",s({name:t?t+":Wall_Surface_Type":"Wall_Surface_Type",options:["Drywall","Plaster","Stucco","Not Sure or Other"]}),"What type of surface?",e);var t}(),function(e={}){return O("electricalSubtype",l({name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]}),"What type of electrical work?",e);var t}(),function(e={}){return O("fenceMaterial",s({name:t?t+":Fence_Material":"Fence_Material",options:["Aluminum","Chain Link","Wood","Wire","Vinyl","Iron","Not Sure or Other"]}),"What type of fence material?",e);var t}(),function(e={}){return O("flooringMaterial",s({name:t?t+":Flooring_Material":"Flooring_Material",options:["Carpet","Concrete","Hardwood","Laminate","Linoleum","Slate","Tile","Vinyl","Not Sure or Other"]}),"What type of flooring material?",e);var t}(),function(e={}){return O("generalContractorSubtype",s({name:t?t+":General_Contractor_Subtype":"General_Contractor_Subtype",options:["Remodeling","Additions","Major Home Repairs","Excavation","Demolition","Dumpster Rental","Not Sure or Other"]}),"What type of general contractor work?",e);var t}(),function(e={}){return O("gutterMaterial",s({name:t?t+":Gutter_Material":"Gutter_Material",options:["Galvanized","Metal","PVC","Wood","Not Sure or Other"]}),"What type of gutter material?",e);var t}(),function(e={}){return O("guttersWorkType",s({name:t?t+":Gutters_Work_Type":"Gutters_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]}),"What type of gutter work?",e);var t}(),function(e={}){return O("smartHomeSubtype",s({name:t?t+":Smart_Home_Subtype":"Smart_Home_Subtype",options:["Thermostats","Video Doorbells","Camera Systems","Lighting","Speaker Systems","Not Sure or Other"]}),"What type of smart home work?",e);var t}(),function(e={}){return O("homeOrganizationSubtype",s({name:t?t+":Home_Organization_Subtype":"Home_Organization_Subtype",options:["Packing or Unpacking","Room Organization","Shed Organization","Storage Solutions","Decluttering","Not Sure or Other"]}),"What type of home organization work?",e);var t}(),function(e={}){return O("numberOfRooms",s({name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1","2","3","4","5 or more"]}),"How many rooms?",e);var t}(),function(e={}){return O("homeTheaterSubtype",s({name:t?t+":Home_Theater_Subtype":"Home_Theater_Subtype",options:["Hang TV","Install Sound System","Wiring","Troubleshooting","Not Sure or Other"]}),"What type of home theater work?",e);var t}(),function(e={}){return O("heatingCoolingSubtype",l({name:t?t+":Heating_Cooling_Subtype":"Heating_Cooling_Subtype",options:["Central Air","Humidifier","Ducts and Vents","Furnace","Heat Pump","Radiant Floor","Swamp Cooler","Not Sure or Other"]}),"What type of heating and cooling work?",e);var t}(),function(e={}){return O("fuelSource",s({name:t?t+":Fuel_Source":"Fuel_Source",options:["Gas","Oil","Electric","Propane","Not Sure or Other"]}),"What type of fuel source?",e);var t}(),function(e={}){return O("insulationSubtype",s({name:t?t+":Insulation_Subtype":"Insulation_Subtype",options:["Batt or Roll","Spray Foam","Blown-in","Reflective","Not Sure or Other"]}),"What type of insulation work?",e);var t}(),function(e={}){return O("landscapingSubtype",l({name:t?t+":Landscaping_Subtype":"Landscaping_Subtype",options:["Lawn Mowing","Lawn Care or Fertilization","Yard or Leaf Cleanup","Patios or Walkways","Stonework","Architects","Landscape Construction","Outdoor Lighting","Grading","Materials Delivery","Spinklers"]}),"What type of landscaping work?",e);var t}(),function(e={}){return O("masonrySubtype",s({name:t?t+":Masonry_Subtype":"Masonry_Subtype",options:["Driveways","Walkways","Floors","Walls","Facades","Material Delivery","Not Sure or Other"]}),"What type of masonry work?",e);var t}(),function(e={}){return O("masonryMaterial",s({name:t?t+":Masonry_Material":"Masonry_Material",options:["Brick or Stone","Pavers","Concrete","Not Sure or Other"]}),"What type of masonry material?",e);var t}(),function(e={}){return O("masonryWorkType",s({name:t?t+":Masonry_Work_Type":"Masonry_Work_Type",options:["Install or Replace","Repoint Brick or Stone","Repair","Not Sure or Other"]}),"What type of masonry work?",e);var t}(),function(e={}){return O("restorationSubtype",s({name:t?t+":Restoration_Subtype":"Restoration_Subtype",options:["Mold Remediation","Fire Damage","Water Damage","Not Sure or Other"]}),"What type of restoration work?",e);var t}(),function(e={}){return O("paintingSubtype",l({name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]}),"What type of painting work?",e);var t}({nextStepMap:V}),function(e={}){return O("paintingRooms",s({name:t?t+":Painting_Rooms":"Painting_Rooms",options:["1-2","3-4","4-5","5-6","6+"]}),"How many rooms need painting?",e);var t}(),function(e={}){return O("pestControlSubtype",l({name:t?t+":Pest_Control_Subtype":"Pest_Control_Subtype",options:["Bed Bugs","Flying Animals","Insects","Rodents","Small Animals","Bees","Termites","Not Sure or Other"]}),"What type of pest control work?",e);var t}(),function(e={}){return O("poolsWorkType",s({name:t?t+":Pools_Work_Type":"Pools_Work_Type",options:["Install or Replace","Repair","Cleaning","Close or Open Pool","Not Sure or Other"]}),"What type of pool work?",e);var t}(),function(e={}){return O("poolsSubtype",l({name:t?t+":Pools_Subtype":"Pools_Subtype",options:["Above Ground","Inground Concrete","Inground Fiberglass","Inground Vinyl","Inground Gunite","Pool Liners","Pool Filters","Not Sure or Other"]}),"What type of pool work?",e);var t}(),function(e={}){return O("plumbingSubtype",l({name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]}),"What type of plumbing work?",e);var t}(),function(e={}){return O("remodelingSubtype",l({name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]}),"What type of remodeling work?",e);var t}(),function(e={}){return O("roofingWorkType",s({name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]}),"What type of roofing work?",e);var t}(),function(e={}){return O("roofingMaterial",l({name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]}),"What type of roofing material?",e);var t}(),function(e={}){return O("sidingMaterial",s({name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]}),"What type of siding material?",e);var t}(),function(e={}){return O("tilingSubtype",s({name:t?t+":Tiling_Subtype":"Tiling_Subtype",options:["Floor","Backsplash","Bathroom","Wall","Not Sure or Other"]}),"What type of tiling work?",e);var t}(),function(e={}){return O("waterproofingSubtype",s({name:t?t+":Waterproofing_Subtype":"Waterproofing_Subtype",options:["Foundations","Basements","Drainage","Not Sure or Other"]}),"What type of waterproofing work?",e);var t}(),function(e={}){return O("windowsWorkType",s({name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]}),"What type of windows work?",e);var t}(),function(e={}){return O("windowsSubtype",l({name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]}),"What type of windows work?",e);var t}(),function(e={}){return O("numberOfWindows",s({name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]}),"How many windows?",e);var t}(),function(e={}){const o={...e,nextOnEnter:!1};return R("comments",[W(e),y({label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass},e.scope)],o)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",R("homeImprovementCrossSells",[H(e),i({id:"Home_Improvement_CrossSells",name:"Home_Improvement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'})],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{Home_Improvement_CrossSells:{Appliances:["applianceCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewayCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}}),function(e={},t){return R("firstAndLast",[I({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),_({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),m(t),d(t)],e)}({headlineClass:"!t-text-dark"})];const X=[U,e(D,J),{$cmp:"FormKit",props:function(t){const o=e(M,t);return o.formId&&!o.name&&(o.name=o.formId),o}({formId:"generalHomeImprovement",redirectMap:function(t){return e(L,t)}(),crossSellOptionMap:K}),children:[function(t){return e(A,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Free Quotes Now!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...q,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return R("homeImprovementCategory",[g(e.input)],e)}({nextOnInput:!1,nextStepMap:Q,headlineClass:"t-text-lg",input:{placeholder:"Select a Category",innerClass:"!t-max-w-[275px] md:!t-max-w-xl"}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return R("contactInfo",[$(e),T(e),{$el:"script",if:"$activeStep === $lastStep()",children:P},(t=e.scope,u({$formkit:"email",name:t?t+":Email":"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}})),c(e.scope),h(e.scope),C()],{nextOnEnter:!1});var t}(),((e={})=>({$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var J;return X}();
|
|
1
|
+
var generalHomeImprovement=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',o='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',n=t,a=t=>(t.legendClass="required",t.fieldsetClass="$reset t-flex t-justify-center",t.optionsClass="t-pl-2 t-pt-3",t.innerClass="t-items-center",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-12",t.messagesClass="t-flex t-justify-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)))(t)),i=t=>(t.labelClass="required",t.wrapperClass="t-flex t-justify-center",t.messagesClass="t-flex t-justify-center",t.inputClass="t-min-w-[150px] t-bg-white",t.helpClass="t-mt-2.5 t-text-center",(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)))(t)),s=t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),l=e=>(e.wrapperClass="side-by-side t-items-center",s(e)),p=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)),u=e=>l({label:"First Name:",placeholder:"First",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"}}),m=e=>l({label:"Last Name:",placeholder:"Last",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"}}),d=e=>l({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:"Phone Number:",placeholder:"###-###-####",maxlength:12,help:"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Field is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]"}),c=(t,o)=>(t=>(t.name&&!t.id&&(t.id=t.name),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:o?o+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},t)),h=e=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{label:"t-text-xs t-text-slate-500 t-font-normal"}}),y=["Additions","Appliances","Appraisals","Cabinets","Carpentry","Carpets","Cleaning","Countertops","Decks and Porches","Demolition","Doors","Driveways","Drywall and Plaster","Electrical","Fencing","Flooring","Foundations","Garage Doors","General Contractors","Gutters","Handyman","Holiday Decorators","Smart Home","Home Builders","Home Inspection","Home Organization","Home Security","Home Staging","Home Theater","Home Warranties","Hot Tubs","Heating and Cooling","Insulation","Junk Removal","Landscaping","Locksmiths","Masonry and Concrete","Restoration","Painting","Pest Control","Pools","Plumbing","Pressure Washing","Remodeling","Roofing","Sheds","Siding","Solar","Tiling","Walk-in Tubs","Waterproofing","Window Cleaning","Windows"],f=t=>i(e({name:"Category",id:"Category",options:y},t)),g="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",S="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",b=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,v=e=>{if(b(e))return e;for(var t=e.children.length-1;t>=0;t--){if("string"==typeof e.children)continue;const o=e.children[t];if(b(o))return o;const r=v(o);if(r)return r}return null},w={$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 x(t){return e(w,t)}function k(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function _(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function C(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function W(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function I(e){return{$el:"h3",children:e.headline||o,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function $(e){return{$el:"h5",children:e.subheadline||r,attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-7 t-pt-0 t-px-3 "+(e.subheadlineClass||"")}}}const T="(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})();";const O=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function E(t,o,r={}){const{nextOnEnter:n=!0,nextOnInput:a=!1,stepKey:i,nextStepMap:s,triggerRedirectMap:l,autoFocus:p}=r;if(o&&o.length&&(n||a)){const e=v(o[o.length-1]);e&&!0===n&&(e.onKeypress=g),e&&!0===a&&(e.onInput=S)}return e(O(t,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:s,triggerRedirectMap:l,autoFocus:p,children:o}]})}function R(e,t,o,r={}){return void 0===r.nextOnInput&&(r.nextOnInput=!0),E(e,[k({headline:r.headline??o,headlineClass:r.headlineClass}),...Array.isArray(t)?t:[t]],r)}const P={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 H(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const M={};const F={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const N={$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 D=[{$formkit:"hidden",name:"vertical",value:"HomeImprovement"},{$formkit:"hidden",name:"TCPA_Language",value:"$meta.tcpaLanguage"},{$formkit:"hidden",name:"gclid",value:null},{$formkit:"hidden",name:"campaignid",value:null},{$formkit:"hidden",name:"s",value:null}],A={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const q={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"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"'},L={},G={},z=["comments","timeframe","ownHome","zipcode","address","firstAndLast","contactInfo"],j={values:{Category:{Additions:["additionsSubType","constructionAreaSize",...z],Appliances:["homeImprovementWorkType","applianceType",...z],Appraisals:[...z],Cabinets:["cabinetWorkType",...z],Carpentry:["carpentrySubtype","homeImprovementWorkType",...z],Carpets:["carpetWorkType",...z],Cleaning:["cleaningSubtype",...z],Countertops:["countertopMaterial","homeImprovementWorkType",...z],"Decks and Porches":["deckWorkType",...z],Demolition:["demolitionSubtype",...z],Doors:["doorSubtype","homeImprovementWorkType",...z],Driveways:["drivewayWorkType","drivewayMaterial",...z],"Drywall and Plaster":["wallSurfaceType","homeImprovementWorkType",...z],Electrical:["electricalSubtype","homeImprovementWorkType",...z],Fencing:["fenceMaterial","homeImprovementWorkType",...z],Flooring:["flooringMaterial","homeImprovementWorkType",...z],Foundations:["homeImprovementWorkType",...z],"Garage Doors":["homeImprovementWorkType",...z],"General Contractors":["generalContractorSubtype",...z],Gutters:["gutterMaterial","guttersWorkType",...z],Handyman:[...z],"Holiday Decorators":[...z],"Smart Home":["smartHomeSubtype",...z],"Home Builders":[...z],"Home Inspection":[...z],"Home Organization":["homeOrganizationSubtype",...z],"Home Security":[...z],"Home Staging":["numberOfRooms",...z],"Home Theater":["homeTheaterSubtype",...z],"Home Warranties":[...z],"Hot Tubs":["homeImprovementWorkType",...z],"Heating and Cooling":["heatingCoolingSubtype","fuelSource","homeImprovementWorkType",...z],Insulation:["insulationSubtype",...z],"Junk Removal":[...z],Landscaping:["landscapingSubtype","homeImprovementWorkType",...z],Locksmiths:[...z],"Masonry and Concrete":["masonrySubtype","masonryMaterial","masonryWorkType",...z],Restoration:["restorationSubtype",...z],Moving:["movingFromAddress","movingToAddress","movingHouseholdSize",...z],Painting:["paintingSubtype","paintingRooms",...z],"Pest Control":["pestControlSubtype",...z],Pools:["poolsWorkType","poolsSubtype",...z],Plumbing:["plumbingSubtype","homeImprovementWorkType",...z],"Pressure Washing":[...z],Remodeling:["remodelingSubtype",...z],Roofing:["roofingWorkType","roofingMaterial",...z],Sheds:["homeImprovementWorkType",...z],Siding:["sidingMaterial","homeImprovementWorkType",...z],Solar:["homeImprovementWorkType",...z],Tiling:["tilingSubtype","homeImprovementWorkType",...z],"Walk-in Tubs":[...z],Waterproofing:["waterproofingSubtype",...z],"Window Cleaning":[...z],Windows:["windowsWorkType","windowsSubtype","numberOfWindows",...z]},"*":z}},B={values:{Painting_Subtype:{"Whole Exterior":z,"Exterior Touch-up":z,"Interior Rooms":["paintingRooms",...z],"Interior Touch-up":["paintingRooms",...z],Ceilings:["paintingRooms",...z],Deck:z,Shed:z,Cabinets:z,"Not Sure or Other":z}}},V=function(t=null){let o=q,r=L,a=G;return t&&(o=H(q,t),r=H(L,t),a=H(G,t)),{type:"meta",data:e(M,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by up to 5 contractors, contractor networks, and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services. To submit this request without this consent, please call us.",defaultCommentsPlaceholder:n,commentsPlaceholders:o,defaultFinalHeadline:"We Found Contractors Near You",finalHeadlines:r,defaultFinalSubHeadline:"Compare quotes and save! Please verify your contact info:",finalSubHeadlines:a})}}();V.data.dynamicSchema=[function(e={}){return R("zipcode",((e,t,o={})=>(t?p:l)({label:t?o.label:"Zip Code:",help:t?o.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"},...o}))(e.scope,!0,e),"Please verify your Zip Code",e)}(),function(e={}){return R("timeframe",a({name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]}),"What is the project timeframe?",e);var t}(),function(e={}){return R("ownHome",a({name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]}),"Do you own the home?",e);var t}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,R("address",((e,t,o={})=>(t?p:l)({label:t?o.label:"Street Address:",placeholder:"10 Example St",name:e?e+":Address":"Address",autocomplete:"street-address","data-tf-sensitive":"false",minlength:5,maxlength:100,validationMessages:{minlength:"Invalid Address",required:"Address is required"},...o}))(e.scope,!0),"What is the street address of the home?",e)}(),function(e={}){return R("homeImprovementWorkType",a({name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]}),"What type of work?",e);var t}(),function(e={}){return R("additionsSubType",i({name:t?t+":Additions_Subtype":"Additions_Subtype",options:["Garage","In-Law Suite","Additional Rooms","Additional Stories","Bump-out","Sunroom","Accessory Dwelling Unit","Basement Remodeling","Attic Remodeling","Not Sure or Other"]}),"What type of addition?",e);var t}(),function(e={}){return R("constructionAreaSize",a({name:t?t+":Construction_Area_Size":"Construction_Area_Size",options:["Less than 1000 square feet","1000 to 2000 square feet","More than 2000 square feet"]}),"What is the size of the construction area?",e);var t}(),function(e={}){return R("applianceType",i({name:t?t+":Appliance_Type":"Appliance_Type",options:["Cooktop","Dishwasher","Dryer","Freezer","Garbage Disposal","Ice Maker","Microwave","Range","Refrigerator","Stove","Trash Compactor","Oven","Vacuum","Washer Machine","Not Sure or Other"]}),"What type of appliance?",e);var t}(),function(e={}){return R("cabinetWorkType",a({name:t?t+":Cabinet_Work_Type":"Cabinet_Work_Type",options:["Install","Refinish","Reface","Repair","Not Sure or Other"]}),"What type of cabinet work?",e);var t}(),function(e={}){return R("carpentrySubtype",i({name:t?t+":Carpentry_Subtype":"Carpentry_Subtype",options:["Closets","Custom Furniture","Built-ins","Framing","Interior Trim","Exterior Trim","Windows","Stairways and Railings","Gazebo or Pergola","Multiple Jobs","Not Sure or Other"]}),"What type of carpentry work?",e);var t}(),function(e={}){return R("carpetWorkType",a({name:t?t+":Carpet_Work_Type":"Carpet_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]}),"What type of carpet work?",e);var t}(),function(e={}){return R("cleaningSubtype",i({name:t?t+":Cleaning_Subtype":"Cleaning_Subtype",options:["Whole Home","Office","Carpets","Windows","Air Ducts or Vents","Chimney","Deck","Tile or Grout","Garage","Shed","Gutters","Pool","Junk Removal","Not Sure or Other"]}),"What type of cleaning?",e);var t}(),function(e={}){return R("countertopMaterial",i({name:t?t+":Countertop_Material":"Countertop_Material",options:["Concrete","Granite","Laminate","Marble","Quartz","Stainless Steel","Wood","Not Sure or Other"]}),"What type of countertop material?",e);var t}(),function(e={}){return R("deckWorkType",a({name:t?t+":Deck_Work_Type":"Deck_Work_Type",options:["Paint or Stain","Install or Replace","Repair","Not Sure or Other"]}),"What type of deck work?",e);var t}(),function(e={}){return R("demolitionSubtype",a({name:t?t+":Demolition_Subtype":"Demolition_Subtype",options:["Whole Structure","Partial Home","Shed","Not Sure or Other"]}),"What type of demolition?",e);var t}(),function(e={}){return R("doorSubtype",a({name:t?t+":Door_Subtype":"Door_Subtype",options:["Interior","Exterior","Garage","Sliding","Storm","Not Sure or Other"]}),"What type of door?",e);var t}(),function(e={}){return R("drivewayWorkType",a({name:t?t+":Driveway_Work_Type":"Driveway_Work_Type",options:["Install or Replace","Repair","Sealing","Not Sure or Other"]}),"What type of driveway work?",e);var t}(),function(e={}){return R("drivewayMaterial",a({name:t?t+":Driveway_Material":"Driveway_Material",options:["Asphalt","Brick","Cobblestone","Pebble","Concrete","Pavers","Not Sure or Other"]}),"What type of driveway material?",e);var t}(),function(e={}){return R("wallSurfaceType",a({name:t?t+":Wall_Surface_Type":"Wall_Surface_Type",options:["Drywall","Plaster","Stucco","Not Sure or Other"]}),"What type of surface?",e);var t}(),function(e={}){return R("electricalSubtype",i({name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]}),"What type of electrical work?",e);var t}(),function(e={}){return R("fenceMaterial",a({name:t?t+":Fence_Material":"Fence_Material",options:["Aluminum","Chain Link","Wood","Wire","Vinyl","Iron","Not Sure or Other"]}),"What type of fence material?",e);var t}(),function(e={}){return R("flooringMaterial",a({name:t?t+":Flooring_Material":"Flooring_Material",options:["Carpet","Concrete","Hardwood","Laminate","Linoleum","Slate","Tile","Vinyl","Not Sure or Other"]}),"What type of flooring material?",e);var t}(),function(e={}){return R("generalContractorSubtype",a({name:t?t+":General_Contractor_Subtype":"General_Contractor_Subtype",options:["Remodeling","Additions","Major Home Repairs","Excavation","Demolition","Dumpster Rental","Not Sure or Other"]}),"What type of general contractor work?",e);var t}(),function(e={}){return R("gutterMaterial",a({name:t?t+":Gutter_Material":"Gutter_Material",options:["Galvanized","Metal","PVC","Wood","Not Sure or Other"]}),"What type of gutter material?",e);var t}(),function(e={}){return R("guttersWorkType",a({name:t?t+":Gutters_Work_Type":"Gutters_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]}),"What type of gutter work?",e);var t}(),function(e={}){return R("smartHomeSubtype",a({name:t?t+":Smart_Home_Subtype":"Smart_Home_Subtype",options:["Thermostats","Video Doorbells","Camera Systems","Lighting","Speaker Systems","Not Sure or Other"]}),"What type of smart home work?",e);var t}(),function(e={}){return R("homeOrganizationSubtype",a({name:t?t+":Home_Organization_Subtype":"Home_Organization_Subtype",options:["Packing or Unpacking","Room Organization","Shed Organization","Storage Solutions","Decluttering","Not Sure or Other"]}),"What type of home organization work?",e);var t}(),function(e={}){return R("numberOfRooms",a({name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1","2","3","4","5 or more"]}),"How many rooms?",e);var t}(),function(e={}){return R("homeTheaterSubtype",a({name:t?t+":Home_Theater_Subtype":"Home_Theater_Subtype",options:["Hang TV","Install Sound System","Wiring","Troubleshooting","Not Sure or Other"]}),"What type of home theater work?",e);var t}(),function(e={}){return R("heatingCoolingSubtype",i({name:t?t+":Heating_Cooling_Subtype":"Heating_Cooling_Subtype",options:["Central Air","Humidifier","Ducts and Vents","Furnace","Heat Pump","Radiant Floor","Swamp Cooler","Not Sure or Other"]}),"What type of heating and cooling work?",e);var t}(),function(e={}){return R("fuelSource",a({name:t?t+":Fuel_Source":"Fuel_Source",options:["Gas","Oil","Electric","Propane","Not Sure or Other"]}),"What type of fuel source?",e);var t}(),function(e={}){return R("insulationSubtype",a({name:t?t+":Insulation_Subtype":"Insulation_Subtype",options:["Batt or Roll","Spray Foam","Blown-in","Reflective","Not Sure or Other"]}),"What type of insulation work?",e);var t}(),function(e={}){return R("landscapingSubtype",i({name:t?t+":Landscaping_Subtype":"Landscaping_Subtype",options:["Lawn Mowing","Lawn Care or Fertilization","Yard or Leaf Cleanup","Patios or Walkways","Stonework","Architects","Landscape Construction","Outdoor Lighting","Grading","Materials Delivery","Spinklers"]}),"What type of landscaping work?",e);var t}(),function(e={}){return R("masonrySubtype",a({name:t?t+":Masonry_Subtype":"Masonry_Subtype",options:["Driveways","Walkways","Floors","Walls","Facades","Material Delivery","Not Sure or Other"]}),"What type of masonry work?",e);var t}(),function(e={}){return R("masonryMaterial",a({name:t?t+":Masonry_Material":"Masonry_Material",options:["Brick or Stone","Pavers","Concrete","Not Sure or Other"]}),"What type of masonry material?",e);var t}(),function(e={}){return R("masonryWorkType",a({name:t?t+":Masonry_Work_Type":"Masonry_Work_Type",options:["Install or Replace","Repoint Brick or Stone","Repair","Not Sure or Other"]}),"What type of masonry work?",e);var t}(),function(e={}){return R("restorationSubtype",a({name:t?t+":Restoration_Subtype":"Restoration_Subtype",options:["Mold Remediation","Fire Damage","Water Damage","Not Sure or Other"]}),"What type of restoration work?",e);var t}(),function(e={}){return R("paintingSubtype",i({name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]}),"What type of painting work?",e);var t}({nextStepMap:B}),function(e={}){return R("paintingRooms",a({name:t?t+":Painting_Rooms":"Painting_Rooms",options:["1-2","3-4","4-5","5-6","6+"]}),"How many rooms need painting?",e);var t}(),function(e={}){return R("pestControlSubtype",i({name:t?t+":Pest_Control_Subtype":"Pest_Control_Subtype",options:["Bed Bugs","Flying Animals","Insects","Rodents","Small Animals","Bees","Termites","Not Sure or Other"]}),"What type of pest control work?",e);var t}(),function(e={}){return R("poolsWorkType",a({name:t?t+":Pools_Work_Type":"Pools_Work_Type",options:["Install or Replace","Repair","Cleaning","Close or Open Pool","Not Sure or Other"]}),"What type of pool work?",e);var t}(),function(e={}){return R("poolsSubtype",i({name:t?t+":Pools_Subtype":"Pools_Subtype",options:["Above Ground","Inground Concrete","Inground Fiberglass","Inground Vinyl","Inground Gunite","Pool Liners","Pool Filters","Not Sure or Other"]}),"What type of pool work?",e);var t}(),function(e={}){return R("plumbingSubtype",i({name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]}),"What type of plumbing work?",e);var t}(),function(e={}){return R("remodelingSubtype",i({name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]}),"What type of remodeling work?",e);var t}(),function(e={}){return R("roofingWorkType",a({name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]}),"What type of roofing work?",e);var t}(),function(e={}){return R("roofingMaterial",i({name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]}),"What type of roofing material?",e);var t}(),function(e={}){return R("sidingMaterial",a({name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]}),"What type of siding material?",e);var t}(),function(e={}){return R("tilingSubtype",a({name:t?t+":Tiling_Subtype":"Tiling_Subtype",options:["Floor","Backsplash","Bathroom","Wall","Not Sure or Other"]}),"What type of tiling work?",e);var t}(),function(e={}){return R("waterproofingSubtype",a({name:t?t+":Waterproofing_Subtype":"Waterproofing_Subtype",options:["Foundations","Basements","Drainage","Not Sure or Other"]}),"What type of waterproofing work?",e);var t}(),function(e={}){return R("windowsWorkType",a({name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]}),"What type of windows work?",e);var t}(),function(e={}){return R("windowsSubtype",i({name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]}),"What type of windows work?",e);var t}(),function(e={}){return R("numberOfWindows",a({name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]}),"How many windows?",e);var t}(),function(e={}){const o={...e,nextOnEnter:!1};return E("comments",[C(e),c({label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass},e.scope)],o)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={},t){return E("firstAndLast",[W({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),_({subheadline:e.subheadline??"Note: we never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),u(t),m(t)],e)}({headlineClass:"!t-text-dark"})];const K=[V,e(F,U),{$cmp:"FormKit",props:function(t){const o=e(P,t);return o.formId&&!o.name&&(o.name=o.formId),o}({formId:"generalHomeImprovement",redirectMap:function(t){return e(A,t)}()}),children:[function(t){return e(N,t)}(),function(t={}){return e(function(e={}){return{$el:"h1",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[2rem] t-font-semibold t-pt-5 t-px-7 md:t-px-3 "+(e.headlineClass||"")}}}(t),t)}({children:'$urlParam("hl", "Get Free Quotes Now!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center !t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 "+(e.subheadlineClass||"")}}}(t),t)}({children:'$urlParam("shl", "Our Service is Fast and Free!")',if:"$activeStep === $firstStep()"}),...D,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return E("homeImprovementCategory",[f(e.input)],e)}({nextOnInput:!1,nextStepMap:j,headlineClass:"t-text-lg",input:{placeholder:"Select a Category",innerClass:"!t-max-w-[275px] md:!t-max-w-xl"}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return E("contactInfo",[I(e),$(e),{$el:"script",if:"$activeStep === $lastStep()",children:T},(t=e.scope,l({$formkit:"email",name:t?t+":Email":"Email",label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"}})),d(e.scope),h(e.scope),x()],{nextOnEnter:!1});var t}(),((e={})=>({$el:"div",attrs:{class:"step-nav"},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",style:{if:"$activeStep === $firstStep()",then:"visibility: hidden;"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"}}]}))(),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var U;return K}();
|