bhl-forms 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bhl-forms.es.js +382 -376
- package/dist/bhl-forms.iife.js +1 -1
- package/dist/bhl-forms.modern.es.js +170 -167
- package/dist/bhl-forms.modern.iife.js +3 -3
- package/dist/bhl-forms.modern.umd.js +3 -3
- package/dist/bhl-forms.umd.js +1 -1
- package/dist/forms/accidentsAndInjuries.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.es.js +1 -1
- package/dist/forms/applianceRepairMinimal.iife.js +1 -1
- package/dist/forms/applianceRepairMinimal.json +1 -1
- package/dist/forms/appraisals.iife.js +1 -1
- package/dist/forms/business.iife.js +1 -1
- package/dist/forms/childAndFamily.iife.js +1 -1
- package/dist/forms/childAndFamilySingle.iife.js +1 -1
- package/dist/forms/civilLawsuit.iife.js +1 -1
- package/dist/forms/coins.iife.js +1 -1
- package/dist/forms/contracts.iife.js +1 -1
- package/dist/forms/criminal.iife.js +1 -1
- package/dist/forms/divorce.iife.js +1 -1
- package/dist/forms/employmentAndWorkplace.iife.js +1 -1
- package/dist/forms/foreclosure.iife.js +1 -1
- package/dist/forms/generalContractors.iife.js +1 -1
- package/dist/forms/generalHomeImprovement.iife.js +1 -1
- package/dist/forms/generalHomeImprovementThankYou.iife.js +1 -1
- package/dist/forms/generalLegal.iife.js +1 -1
- package/dist/forms/generalLegalJustAnswer.iife.js +1 -1
- package/dist/forms/generalLegalPopUnder.iife.js +1 -1
- package/dist/forms/generalLegalPopUnderSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingle.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.es.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.iife.js +1 -1
- package/dist/forms/generalLegalSingleMinimal.json +1 -1
- package/dist/forms/generalLegalThankYou.iife.js +1 -1
- package/dist/forms/generalLegalThankYouConsultation.iife.js +1 -1
- package/dist/forms/harassmentAndDiscrimination.iife.js +1 -1
- package/dist/forms/landlordTenant.iife.js +1 -1
- package/dist/forms/malpractice.iife.js +1 -1
- package/dist/forms/mechanics.iife.js +1 -1
- package/dist/forms/patentsAndIP.iife.js +1 -1
- package/dist/forms/realEstate.iife.js +1 -1
- package/dist/forms/repossession.iife.js +1 -1
- package/dist/forms/ssdi.iife.js +1 -1
- package/dist/forms/testForm.iife.js +1 -1
- package/dist/forms/testRedirects.iife.js +1 -1
- package/dist/forms/vets.iife.js +1 -1
- package/dist/forms/willsAndTrusts.iife.js +1 -1
- package/dist/forms/windows.iife.js +1 -1
- package/dist/forms/workersCompensation.iife.js +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
var generalContractors=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',a='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',n='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',l=t,i=e=>(e.name&&!e.id&&(e.id=e.name),e),s=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(i(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),r=t=>(i(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),o=e=>(e.legendClass="required 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 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",r(e)),d=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",r(e)),c=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",r(e)),p=t=>(i(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),m=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",p(e)),u=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",p(e)),f=t=>(i(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),h=e=>(e.wrapperClass="side-by-side t-items-center",f(e)),g=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",f(e)),b=(e,t,a={})=>(t?g:h)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),x=(e,t,a={})=>(t?g:h)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),y=(e,t,a={})=>(t?g:h)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),C=(e,t,a={})=>(t?g:h)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.help||"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...a}),v=(t,a,n)=>(t=>(i(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},n)),$=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),w=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),S=(t,a,n={})=>(a?c:d)(e({label:a?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),E=(t,a,n={})=>(a?u:m)(e({label:a?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),I=(t,a,n={})=>(a?c:m)(e({label:a?n.label:"What flooring material?",name:t?t+":Flooring_Material":"Flooring_Material",options:["Carpet","Concrete","Hardwood","Laminate","Linoleum","Slate","Tile","Vinyl","Not Sure or Other"]},n)),P=(t,a,n={})=>(a?o:d)(e({label:a?n.label:"What contractor job type?",name:t?t+":General_Contractor_Subtype":"General_Contractor_Subtype",options:["Remodeling","Additions","Major Home Repairs","Excavation","Demolition","Dumpster Rental","Not Sure or Other"]},n)),k=(t,a,n={})=>(a?c:d)(e({label:a?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),_=(t,a,n={})=>(a?u:m)(e({label:a?n.label:"What landscaping job?",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","Sprinklers"]},n)),j=(t,a,n={})=>(a?u:m)(e({label:a?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),F=(t,a,n={})=>(a?u:m)(e({label:a?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),q=(t,a,n={})=>(a?c:d)(e({label:a?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),R=(t,a,n={})=>(a?u:m)(e({label:a?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),H="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",L="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",W=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,O=e=>{if(W(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(W(a))return a;const n=O(a);if(n)return n}return null},M={$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 T(t={}){return e(M,t)}function A(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function N(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function D(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 Q(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function z(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 G(e){return{$el:"h3",children:e.headline||a,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function B(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-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}const K="(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 U=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function Z(t,a,n={}){const{nextOnEnter:l=!0,nextOnInput:i=!1,stepKey:s,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=n;if(a&&a.length&&(l||i)){const e=O(a[a.length-1]);e&&!0===l&&(e.onKeypress=H),e&&!0===i&&(e.onInput=L)}return e(U(t,s),{children:[{$formkit:"group",id:t,name:t,nextStepMap:r,triggerRedirectMap:o,autoFocus:d,children:a}]})}function V(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),Z(e,[N({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function Y(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 J={type:"form",id:"form",config:{validationVisibility:"submit"},onSubmit:'$submit($submitUrl, $prepData, $handleRedirect, "text/plain; charset=UTF-8")',plugins:"$plugins",actions:!1,anchorElement:"form-anchor",useLocalStorage:!0,prepop:{fromURL:!0},errorCodes:{403:{message:"An Error Occurred",abort:!1},409:{abort:!1},429:"An Error Occurred",504:{message:"An Error Occurred",abort:!1}},formClass:"!t-max-w-[40rem]"};function X(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const ee={};const te={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const ae={$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 ne=[{$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}],le={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const ie={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},se={Appliances:"We Have Appliance Pros Standing By!"},re={Appliances:"Who needs appliance help?"},oe={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},de=function(t=null){let a=ie,n=se,i=re;return t&&(a=X(ie,t),n=X(se,t),i=X(re,t)),{type:"meta",data:e(ee,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.",defaultCommentsPlaceholder:l,commentsPlaceholders:a,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:n,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:i})}}();de.data.dynamicSchema=[function(e={}){return V("zipcode",((e,t,a={})=>(t?g:h)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(t={}){return V("timeframe",((t,a,n={})=>(a?c:d)(e({label:a?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)))(t.scope,!0,t.input),"What is the project timeframe?",t)}(),function(t={}){return V("ownHome",((t,a,n={})=>(a?c:d)(e({label:a?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)))(t.scope,!0,t.input),"Do you own the home?",t)}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,V("address",((e,t,a={})=>(t?g:h)({label:t?a.label:"Street Address:",placeholder:"10 Example St",name:e?e+":Address":"Address",autocomplete:"street-address","data-tf-sensitive":"false",minlength:5,maxlength:100,validationMessages:{minlength:"Invalid Address",required:"Address is required"},...a}))(e.scope,!0,e.input),"What is the street address of the home?",e)}(),function(e={}){const a={...e,nextOnEnter:!1};return Z("comments",[Q(e),v(e.scope,0,{label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],a)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={}){return Z("firstAndLast",[z({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),D({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),x(e.scope),y(e.scope)],e)}({headlineClass:"!t-text-dark"}),function(e={}){return Z("electricalCrossSellQuestions",[A({headline:"Connect With Electrical Pros"}),(t="true",a="CrossSell:Electrical",w("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[E(a),S(a)]})),v("CrossSell:Electrical",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Z("flooringCrossSellQuestions",[A({headline:"Connect With Flooring Pros"}),(t="true",a="CrossSell:Flooring",w("FlooringQuestions",{if:t||'$get(Category).value == "Flooring"',children:[I(a),S(a)]})),v("CrossSell:Flooring",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Z("landscapingCrossSellQuestions",[A({headline:"Connect With a Landscaper"}),(t="true",a="CrossSell:Landscaping",w("LandscapingQuestions",{if:t||'$get(Category).value == "Landscaping"',children:[_(a),S(a)]})),v("CrossSell:Landscaping",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Z("paintingCrossSellQuestions",[A({headline:"Connect With a Painter"}),(t="true",a="CrossSell:Painting",w("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[j(a),k(a)]})),v("CrossSell:Painting",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Z("plumbingCrossSellQuestions",[A({headline:"Connect With a Plumber"}),(t="true",a="CrossSell:Plumbing",w("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[F(a),S(a)]})),v("CrossSell:Plumbing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Z("roofingCrossSellQuestions",[A({headline:"Connect With a Roofer"}),(t="true",a="CrossSell:Roofing",w("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[R(a),q(a)]})),v("CrossSell:Roofing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",Z("homeImprovementCrossSells",[Y(e),(e.scope,s({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];const ce=[de,e(te,pe),{$cmp:"FormKit",props:function(t){const a=e(J,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"generalContractors",redirectMap:function(t){return e(le,t)}(),crossSellOptionMap:oe}),children:[function(t){return e(ae,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||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Get Started Here!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Why do you need a contractor?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...ne,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Z("generalContractorSubtype",[{$formkit:"hidden",name:"Category",id:"Category",value:"General Contractors"},P(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",nextStepMap:{values:{"*":["comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return Z("contactInfo",[G(e),B(e),{$el:"script",if:"$activeStep === $lastStep()",children:K},b(e.scope),C(e.scope),$(e.scope),T()],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Quotes",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var pe;return ce}();
|
|
1
|
+
var generalContractors=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',a=t,n=e=>(e.name&&!e.id&&(e.id=e.name),e),l=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(n(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),i=t=>(n(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),s=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 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",i(e)),r=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",i(e)),o=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",i(e)),d=t=>(n(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),c=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",d(e)),p=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",d(e)),m=t=>(n(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),u=e=>(e.wrapperClass="side-by-side t-items-center",m(e)),f=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",m(e)),h=(e,t,a={})=>(t?f:u)({$formkit:"email",name:e?e+":Email":"Email",label:t?a.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...a}),g=(e,t,a={})=>(t?f:u)({label:t?a.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...a}),b=(e,t,a={})=>(t?f:u)({label:t?a.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...a}),x=(e,t,a={})=>(t?f:u)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?a.label:"Phone Number:",placeholder:a.placeholder||"###-###-####",maxlength:12,help:a.help||"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...a}),y=(t,a,l)=>(t=>(n(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},l)),C=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),v=(t,a)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},a),$=(t,a,n={})=>(a?o:r)(e({label:a?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),w=(t,a,n={})=>(a?p:c)(e({label:a?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),S=(t,a,n={})=>(a?o:c)(e({label:a?n.label:"What flooring material?",name:t?t+":Flooring_Material":"Flooring_Material",options:["Carpet","Concrete","Hardwood","Laminate","Linoleum","Slate","Tile","Vinyl","Not Sure or Other"]},n)),E=(t,a,n={})=>(a?s:r)(e({label:a?n.label:"What contractor job type?",name:t?t+":General_Contractor_Subtype":"General_Contractor_Subtype",options:["Remodeling","Additions","Major Home Repairs","Excavation","Demolition","Dumpster Rental","Not Sure or Other"]},n)),I=(t,a,n={})=>(a?o:r)(e({label:a?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),P=(t,a,n={})=>(a?p:c)(e({label:a?n.label:"What landscaping job?",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","Sprinklers"]},n)),k=(t,a,n={})=>(a?p:c)(e({label:a?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),_=(t,a,n={})=>(a?p:c)(e({label:a?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),j=(t,a,n={})=>(a?o:r)(e({label:a?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),F=(t,a,n={})=>(a?p:c)(e({label:a?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),q=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,R=e=>{if(q(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(q(a))return a;const n=R(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 L(t={}){return e(H,t)}function W(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function O(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function M(e){return{$el:"h5",children:e.subheadline||"",attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-normal t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.subheadlineClass||"")}}}function T(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function A(e){return{$el:"h3",children:e.headline||"Please Provide a Contact Name",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function N(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function D(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function Q(t,a,n={}){const{nextOnEnter:l=!0,nextOnInput:i=!1,stepKey:s,nextStepMap:r,triggerRedirectMap:o,autoFocus:d}=n;if(a&&a.length&&(l||i)){const e=R(a[a.length-1]);e&&!0===l&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===i&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,s),{children:[{$formkit:"group",id:t,name:t,nextStepMap:r,triggerRedirectMap:o,autoFocus:d,children:a}]})}function z(e,t,a,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),Q(e,[O({headline:n.headline??a,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function G(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 B={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 K(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const U={};const Z={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const V={$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 Y=[{$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}],J={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const X={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},ee={Appliances:"We Have Appliance Pros Standing By!"},te={Appliances:"Who needs appliance help?"},ae={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},ne=function(t=null){let n=X,l=ee,i=te;return t&&(n=K(X,t),l=K(ee,t),i=K(te,t)),{type:"meta",data:e(U,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.",defaultCommentsPlaceholder:a,commentsPlaceholders:n,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:l,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:i})}}();ne.data.dynamicSchema=[function(e={}){return z("zipcode",((e,t,a={})=>(t?f:u)({label:t?a.label:"Zip Code:",help:t?a.help??"We try to match you with local help":null,placeholder:"#####",name:e?e+":Zip":"Zip",maxlength:5,inputmode:"numeric",autocomplete:"postal-code",validation:"required|matches:/^[0-9]{5}$/",validationMessages:{required:"Zip Code is required",matches:"Invalid Zip Code"},...a}))(e.scope,!0,e.input),"Please verify your Zip Code",e)}(),function(t={}){return z("timeframe",((t,a,n={})=>(a?o:r)(e({label:a?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)))(t.scope,!0,t.input),"What is the project timeframe?",t)}(),function(t={}){return z("ownHome",((t,a,n={})=>(a?o:r)(e({label:a?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)))(t.scope,!0,t.input),"Do you own the home?",t)}(),function(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,z("address",((e,t,a={})=>(t?f:u)({label:t?a.label:"Street Address:",placeholder:"10 Example St",name:e?e+":Address":"Address",autocomplete:"street-address","data-tf-sensitive":"false",minlength:5,maxlength:100,validationMessages:{minlength:"Invalid Address",required:"Address is required"},...a}))(e.scope,!0,e.input),"What is the street address of the home?",e)}(),function(e={}){const a={...e,nextOnEnter:!1};return Q("comments",[T(e),y(e.scope,0,{label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],a)}({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),function(e={}){return Q("firstAndLast",[A({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),M({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),g(e.scope),b(e.scope)],e)}({headlineClass:"!t-text-dark"}),function(e={}){return Q("electricalCrossSellQuestions",[W({headline:"Connect With Electrical Pros"}),(t="true",a="CrossSell:Electrical",v("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[w(a),$(a)]})),y("CrossSell:Electrical",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("flooringCrossSellQuestions",[W({headline:"Connect With Flooring Pros"}),(t="true",a="CrossSell:Flooring",v("FlooringQuestions",{if:t||'$get(Category).value == "Flooring"',children:[S(a),$(a)]})),y("CrossSell:Flooring",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("landscapingCrossSellQuestions",[W({headline:"Connect With a Landscaper"}),(t="true",a="CrossSell:Landscaping",v("LandscapingQuestions",{if:t||'$get(Category).value == "Landscaping"',children:[P(a),$(a)]})),y("CrossSell:Landscaping",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("paintingCrossSellQuestions",[W({headline:"Connect With a Painter"}),(t="true",a="CrossSell:Painting",v("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[k(a),I(a)]})),y("CrossSell:Painting",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("plumbingCrossSellQuestions",[W({headline:"Connect With a Plumber"}),(t="true",a="CrossSell:Plumbing",v("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[_(a),$(a)]})),y("CrossSell:Plumbing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return Q("roofingCrossSellQuestions",[W({headline:"Connect With a Roofer"}),(t="true",a="CrossSell:Roofing",v("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[F(a),j(a)]})),y("CrossSell:Roofing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,a}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",Q("homeImprovementCrossSells",[G(e),(e.scope,l({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];const le=[ne,e(Z,ie),{$cmp:"FormKit",props:function(t){const a=e(B,t);return a.formId&&!a.name&&(a.name=a.formId),a}({formId:"generalContractors",redirectMap:function(t){return e(J,t)}(),crossSellOptionMap:ae}),children:[function(t){return e(V,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||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Get Started Here!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Why do you need a contractor?")',if:"$activeStep === $firstStep()",subheadlineClass:"!t-font-bold !t-text-[#465f87]"}),...Y,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Q("generalContractorSubtype",[{$formkit:"hidden",name:"Category",id:"Category",value:"General Contractors"},E(e.scope,!0,e.input)],e)}({nextOnInput:!1,headlineClass:"t-text-lg",nextStepMap:{values:{"*":["comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"]}}}),function(e="Type_Of_Legal_Problem"){return{$cmp:"FormKitSchema",if:"$get("+e+").value",props:{schema:"$meta.dynamicSchema",data:"$buildData($meta)"}}}("Category"),function(e={}){return Q("contactInfo",[N(e),D(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})();"},h(e.scope),x(e.scope),C(e.scope),L()],{nextOnEnter:!1})}({headlineClass:"!t-text-[#465f87]",subheadlineClass:"!t-text-[#353739]"}),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Quotes",inputClass:"!t-text-black !t-font-extrabold !t-bg-[#ffce51]"}),{$el:"pre",if:'$urlParam("fdbg", "") == 1',children:[{$el:"pre",children:"$stringify( $get(form).value )",attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["activeStep: ","$activeStep"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepHistory: ","$stepHistory"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["stepQueue: ","$stepQueue"],attrs:{class:"t-text-xs",style:"overflow: scroll"}},{$el:"pre",children:["steps: ","$stepKeys()"],attrs:{class:"t-text-xs",style:"overflow: scroll"}}]}]}]}];var ie;return le}();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var generalHomeImprovement=function(){"use strict";function e(){return Object.assign({},...arguments)}const t="Please briefly describe your issue in a few words:",o='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',n='$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',r='$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',a=o,i="We Found Contractors!",l="Compare quotes and save. Verify contact info:",s="By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.",p=e=>(e.name&&!e.id&&(e.id=e.name),e),u=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(p(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),c=t=>(p(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),d=e=>(e.legendClass="required t-w-[100%] t-text-center",void 0===e.fieldsetClass&&(e.fieldsetClass="$reset t-flex t-justify-center"),e.innerClass="t-items-start",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",c(e)),m=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",c(e)),h=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",c(e)),y=t=>(p(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),f=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",y(e)),g=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",y(e)),b=t=>(p(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),S=e=>(e.wrapperClass="side-by-side t-items-center",b(e)),C=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",b(e)),w=(e,t,o={})=>(t?C:S)({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}),v=(e,t,o={})=>(t?C:S)({$formkit:"email",name:e?e+":Email":"Email",label:t?o.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...o}),x=(e,t,o={})=>(t?C:S)({label:t?o.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...o}),W=(e,t,o={})=>(t?C:S)({label:t?o.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...o}),k=(e,t,o={})=>(t?C:S)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?o.label:"Phone Number:",placeholder:o.placeholder||"###-###-####",maxlength:12,help:o.help||"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...o}),_=(e,t,o={})=>(t?C:S)({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}),$=(t,o,n)=>(t=>(p(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},n)),P=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),I=(t,o)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},o),T=["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","Tree Services","Walk-in Tubs","Waterproofing","Window Cleaning","Windows","Not Sure or Other"],R=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"Select a Category:",name:t?t+":Category":"Category",options:T},n)),E=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)),O=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)),H=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What type of addition?",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"]},n)),j=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What is the size of the construction area?",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"]},n)),D=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),M=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What type of appliance?",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"]},n)),F=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Cabinet_Work_Type":"Cabinet_Work_Type",options:["Install","Refinish","Reface","Repair","Not Sure or Other"]},n)),A=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What carpentry job type?",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"]},n)),N=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Carpet_Work_Type":"Carpet_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)),L=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What type of cleaning?",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"]},n)),q=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What type of countertop?",name:t?t+":Countertop_Material":"Countertop_Material",options:["Concrete","Granite","Laminate","Marble","Quartz","Stainless Steel","Wood","Not Sure or Other"]},n)),Q=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Deck_Work_Type":"Deck_Work_Type",options:["Paint or Stain","Install or Replace","Repair","Not Sure or Other"]},n)),G=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of demolition?",name:t?t+":Demolition_Subtype":"Demolition_Subtype",options:["Whole Structure","Partial Home","Shed","Not Sure or Other"]},n)),z=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of door?",name:t?t+":Door_Subtype":"Door_Subtype",options:["Interior","Exterior","Garage","Sliding","Storm","Not Sure or Other"]},n)),B=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Driveway_Work_Type":"Driveway_Work_Type",options:["Install or Replace","Repair","Sealing","Not Sure or Other"]},n)),V=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What driveway material?",name:t?t+":Driveway_Material":"Driveway_Material",options:["Asphalt","Brick","Cobblestone","Pebble","Concrete","Pavers","Not Sure or Other"]},n)),K=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What surface type?",name:t?t+":Wall_Surface_Type":"Wall_Surface_Type",options:["Drywall","Plaster","Stucco","Not Sure or Other"]},n)),U=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),Z=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What fence material?",name:t?t+":Fence_Material":"Fence_Material",options:["Aluminum","Chain Link","Wood","Wire","Vinyl","Iron","Not Sure or Other"]},n)),J=(t,o,n={})=>(o?h:f)(e({label:o?n.label:"What flooring material?",name:t?t+":Flooring_Material":"Flooring_Material",options:["Carpet","Concrete","Hardwood","Laminate","Linoleum","Slate","Tile","Vinyl","Not Sure or Other"]},n)),Y=(t,o,n={})=>(o?d:m)(e({label:o?n.label:"What contractor job type?",name:t?t+":General_Contractor_Subtype":"General_Contractor_Subtype",options:["Remodeling","Additions","Major Home Repairs","Excavation","Demolition","Dumpster Rental","Not Sure or Other"]},n)),X=(t,o,n={})=>(o?d:m)(e({label:o?n.label:"What gutter material?",name:t?t+":Gutter_Material":"Gutter_Material",options:["Galvanized","Metal","PVC","Wood","Not Sure or Other"]},n)),ee=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Gutter_Work_Type":"Gutter_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)),te=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What smart home job type?",name:t?t+":Smart_Home_Subtype":"Smart_Home_Subtype",options:["Thermostats","Video Doorbells","Camera Systems","Lighting","Speaker Systems","Not Sure or Other"]},n)),oe=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What home organization job?",name:t?t+":Home_Organization_Subtype":"Home_Organization_Subtype",options:["Packing or Unpacking","Room Organization","Shed Organization","Storage Solutions","Decluttering","Not Sure or Other"]},n)),ne=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),re=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What home theater job?",name:t?t+":Home_Theater_Subtype":"Home_Theater_Subtype",options:["Hang TV","Install Sound System","Wiring","Troubleshooting","Not Sure or Other"]},n)),ae=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What heating or cooling job?",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"]},n)),ie=(t,o,n={})=>(o?h:f)(e({label:o?n.label:"What is the fuel source?",name:t?t+":Fuel_Source":"Fuel_Source",options:["Gas","Oil","Electric","Propane","Not Sure or Other"]},n)),le=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of insulation job?",name:t?t+":Insulation_Subtype":"Insulation_Subtype",options:["Batt or Roll","Spray Foam","Blown-in","Reflective","Not Sure or Other"]},n)),se=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What landscaping job?",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","Sprinklers"]},n)),pe=(t,o,n={})=>(o?h:f)(e({label:o?n.label:"What masonry job?",name:t?t+":Masonry_Subtype":"Masonry_Subtype",options:["Driveways","Walkways","Floors","Walls","Facades","Material Delivery","Not Sure or Other"]},n)),ue=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What masonry material?",name:t?t+":Masonry_Material":"Masonry_Material",options:["Brick or Stone","Pavers","Concrete","Not Sure or Other"]},n)),ce=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Masonry_Work_Type":"Masonry_Work_Type",options:["Install or Replace","Repoint Brick or Stone","Repair","Not Sure or Other"]},n)),de=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What restoration job?",name:t?t+":Restoration_Subtype":"Restoration_Subtype",options:["Mold Remediation","Fire Damage","Water Damage","Not Sure or Other"]},n)),me=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),he=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What pest control job type?",name:t?t+":Pest_Control_Subtype":"Pest_Control_Subtype",options:["Bed Bugs","Flying Animals","Insects","Rodents","Small Animals","Bees","Termites","Not Sure or Other"]},n)),ye=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Pools_Work_Type":"Pools_Work_Type",options:["Install or Replace","Repair","Cleaning","Close or Open Pool","Not Sure or Other"]},n)),fe=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What type of pool?",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"]},n)),ge=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),be=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What remodeling job?",name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]},n)),Se=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),Ce=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),we=(t,o,n={})=>(o?d:f)(e({label:o?n.label:"What siding material?",name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]},n)),ve=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What tiling job type?",name:t?t+":Tiling_Subtype":"Tiling_Subtype",options:["Floor","Backsplash","Bathroom","Wall","Not Sure or Other"]},n)),xe=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What tree service job type?",name:t?t+":Tree_Services_Subtype":"Tree_Services_Subtype",options:["Tree Removal","Tree Trimming","Stump Grinding","Not Sure or Other"]},n)),We=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What waterproofing job?",name:t?t+":Waterproofing_Subtype":"Waterproofing_Subtype",options:["Foundations","Basements","Drainage","Not Sure or Other"]},n)),ke=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"What type of work?",name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)),_e=(t,o,n={})=>(o?g:f)(e({label:o?n.label:"What windows job type?",name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]},n)),$e=(t,o,n={})=>(o?h:m)(e({label:o?n.label:"How many windows?",name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]},n)),Pe="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",Ie="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))",Te=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,Re=e=>{if(Te(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(Te(o))return o;const n=Re(o);if(n)return n}return null},Ee={$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 Oe(t={}){return e(Ee,t)}function He(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function je(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function De(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 Me(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function Fe(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 Ae(e){return{$el:"h3",children:e.headline||n,attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function Ne(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-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}const Le="(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 qe=(e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}});function Qe(t,o,n={}){const{nextOnEnter:r=!0,nextOnInput:a=!1,stepKey:i,nextStepMap:l,triggerRedirectMap:s,autoFocus:p}=n;if(o&&o.length&&(r||a)){const e=Re(o[o.length-1]);e&&!0===r&&(e.onKeypress=Pe),e&&!0===a&&(e.onInput=Ie)}return e(qe(t,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:s,autoFocus:p,children:o}]})}function Ge(e,t,o,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),Qe(e,[je({headline:n.headline??o,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function ze(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,Ge("address",w(e.scope,!0,e.input),"What is the street address of the home?",e)}function Be(e={}){const n={...e,nextOnEnter:!1};return Qe("comments",[Me(e),$(e.scope,!1,{label:void 0===e.label?t:e.label,placeholder:e.placeholder||o,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],n)}function Ve(e={}){return Qe("firstAndLast",[Fe({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),De({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),x(e.scope),W(e.scope)],e)}function Ke(e={}){return Ge("zipcode",_(e.scope,!0,e.input),"Please verify your Zip Code",e)}function Ue(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||"")}}}function Ze(e={}){return Ge("timeframe",E(e.scope,!0,e.input),"What is the project timeframe?",e)}function Je(e={}){return Ge("ownHome",O(e.scope,!0,e.input),"Do you own the home?",e)}function Ye(e={}){return Ge("additionsSubType",H(e.scope,!0,e.input),"What type of addition?",e)}function Xe(e={}){return Ge("constructionAreaSize",j(e.scope,!0,e.input),"What is the size of the construction area?",e)}function et(e={}){return Ge("homeImprovementWorkType",D(e.scope,!0,e.input),"What type of work?",e)}function tt(e={}){return Ge("applianceType",M(e.scope,!0,e.input),"What type of appliance?",e)}function ot(e={}){return Ge("cabinetWorkType",F(e.scope,!0,e.input),"What type of cabinet work?",e)}function nt(e={}){return Ge("carpentrySubtype",A(e.scope,!0,e.input),"What carpentry job type?",e)}function rt(e={}){return Ge("carpetWorkType",N(e.scope,!0,e.input),"What type of carpet work?",e)}function at(e={}){return Ge("cleaningSubtype",L(e.scope,!0,e.input),"What type of cleaning?",e)}function it(e={}){return Ge("countertopMaterial",q(e.scope,!0,e.input),"What type of countertop material?",e)}function lt(e={}){return Ge("deckWorkType",Q(e.scope,!0,e.input),"What type of deck work?",e)}function st(e={}){return Ge("demolitionSubtype",G(e.scope,!0,e.input),"What type of demolition?",e)}function pt(e={}){return Ge("doorSubtype",z(e.scope,!0,e.input),"What type of door?",e)}function ut(e={}){return Ge("drivewayWorkType",B(e.scope,!0,e.input),"What type of driveway work?",e)}function ct(e={}){return Ge("drivewayMaterial",V(e.scope,!0,e.input),"What type of driveway material?",e)}function dt(e={}){return Ge("wallSurfaceType",K(e.scope,!0,e.input),"What type of surface?",e)}function mt(e={}){return Ge("electricalSubtype",U(e.scope,!0,e.input),"What electrical job type?",e)}function ht(e={}){return Ge("fenceMaterial",Z(e.scope,!0,e.input),"What type of fence material?",e)}function yt(e={}){return Ge("flooringMaterial",J(e.scope,!0,e.input),"What type of flooring material?",e)}function ft(e={}){return Ge("generalContractorSubtype",Y(e.scope,!0,e.input),"What type of general contractor work?",e)}function gt(e={}){return Ge("gutterMaterial",X(e.scope,!0,e.input),"What type of gutter material?",e)}function bt(e={}){return Ge("gutterWorkType",ee(e.scope,!0,e.input),"What type of gutter work?",e)}function St(e={}){return Ge("smartHomeSubtype",te(e.scope,!0,e.input),"What type of smart home work?",e)}function Ct(e={}){return Ge("homeOrganizationSubtype",oe(e.scope,!0,e.input),"What type of home organization work?",e)}function wt(e={}){return Ge("numberOfRooms",ne(e.scope,!0,e.input),"How many rooms?",e)}function vt(e={}){return Ge("homeTheaterSubtype",re(e.scope,!0,e.input),"What type of home theater work?",e)}function xt(e={}){return Ge("heatingCoolingSubtype",ae(e.scope,!0,e.input),"What heating or cooling job type?",e)}function Wt(e={}){return Ge("fuelSource",ie(e.scope,!0,e.input),"What type of fuel source?",e)}function kt(e={}){return Ge("insulationSubtype",le(e.scope,!0,e.input),"What type of insulation work?",e)}function _t(e={}){return Ge("landscapingSubtype",se(e.scope,!0,e.input),"What type of landscaping work?",e)}function $t(e={}){return Ge("masonrySubtype",pe(e.scope,!0,e.input),"What masonry job type?",e)}function Pt(e={}){return Ge("masonryMaterial",ue(e.scope,!0,e.input),"What type of masonry material?",e)}function It(e={}){return Ge("masonryWorkType",ce(e.scope,!0,e.input),"What type of masonry work?",e)}function Tt(e={}){return Ge("restorationSubtype",de(e.scope,!0,e.input),"What type of restoration work?",e)}function Rt(e={}){return Ge("paintingSubtype",me(e.scope,!0,e.input),"What type of painting work?",e)}function Et(e={}){return Ge("paintingRooms",ne(e.scope,!0,e.input),"How many rooms need painting?",e)}function Ot(e={}){return Ge("pestControlSubtype",he(e.scope,!0,e.input),"What type of pest control work?",e)}function Ht(e={}){return Ge("poolsWorkType",ye(e.scope,!0,e.input),"What type of pool work?",e)}function jt(e={}){return Ge("poolsSubtype",fe(e.scope,!0,e.input),"What type of pool work?",e)}function Dt(e={}){return Ge("plumbingSubtype",ge(e.scope,!0,e.input),"What plumbing job type?",e)}function Mt(e={}){return Ge("remodelingSubtype",be(e.scope,!0,e.input),"What type of remodeling work?",e)}function Ft(e={}){return Ge("roofingWorkType",Se(e.scope,!0,e.input),"What type of roofing work?",e)}function At(e={}){return Ge("roofingMaterial",Ce(e.scope,!0,e.input),"What type of roofing material?",e)}function Nt(e={}){return Ge("sidingMaterial",we(e.scope,!0,e.input),"What type of siding material?",e)}function Lt(e={}){return Ge("tilingSubtype",ve(e.scope,!0,e.input),"What type of tiling work?",e)}function qt(e={}){return Ge("treeServicesSubtype",xe(e.scope,!0,e.input),"What type of tree service work?",e)}function Qt(e={}){return Ge("waterproofingSubtype",We(e.scope,!0,e.input),"What type of waterproofing work?",e)}function Gt(e={}){return Ge("windowsWorkType",ke(e.scope,!0,e.input),"What type of windows work?",e)}function zt(e={}){return Ge("windowsSubtype",_e(e.scope,!0,e.input),"What windows job type?",e)}function Bt(e={}){return Ge("numberOfWindows",$e(e.scope,!0,e.input),"How many windows?",e)}const Vt={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 Kt(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const Ut={};function Zt(t=null){let o=to,n=oo,r=no;return t&&(o=Kt(to,t),n=Kt(oo,t),r=Kt(no,t)),{type:"meta",data:e(Ut,{tcpaLanguage:s,defaultCommentsPlaceholder:a,commentsPlaceholders:o,defaultFinalHeadline:i,finalHeadlines:n,defaultFinalSubHeadline:l,finalSubHeadlines:r})}}const Jt={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const Yt={$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 Xt=[{$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}],eo={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const to={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},oo={Appliances:"We Have Appliance Pros Standing By!"},no={Appliances:"Who needs appliance help?"},ro=["comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"],ao=(e=ro)=>({values:{Painting_Subtype:{"Whole Exterior":e,"Exterior Touch-up":e,"Interior Rooms":["paintingRooms",...e],"Interior Touch-up":["paintingRooms",...e],Ceilings:["paintingRooms",...e],Deck:e,Shed:e,Cabinets:e,"Not Sure or Other":e}}}),io={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},lo=function(e=ro){const t=Zt();return t.data.dynamicSchema=[Ke(),Ze(),Je(),ze(),et(),Ye(),Xe(),tt(),ot(),nt(),rt(),at(),it(),lt(),st(),pt(),ut(),ct(),dt(),mt(),ht(),yt(),ft(),gt(),bt(),St(),Ct(),wt(),vt(),xt(),Wt(),kt(),_t(),$t(),Pt(),It(),Tt(),Rt({nextStepMap:ao(e)}),Et(),Ot(),Ht(),jt(),Dt(),Mt(),Ft(),At(),Nt(),Lt(),qt(),Qt(),Gt(),zt(),Bt(),Be({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),Ve({headlineClass:"!t-text-dark"})],t}(),so=[function(e={}){return Qe("appliancesCrossSellQuestions",[He({headline:"Connect With Appliance Pros"}),(t="true",o="CrossSell:Appliances",I("ApplianceQuestions",{if:t||'$get(Category).value == "Appliances"',children:[M(o),D(o)]})),$("CrossSell:Appliances",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("carpentryCrossSellQuestions",[He({headline:"Connect With a Carpenter"}),(t="true",o="CrossSell:Carpentry",I("CarpentryQuestions",{if:t||'$get(Category).value == "Carpentry"',children:[A(o),D(o)]})),$("CrossSell:Carpentry",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("drivewaysCrossSellQuestions",[He({headline:"Connect With Driveway Pros"}),(t="true",o="CrossSell:Driveways",I("DrivewaysQuestions",{if:t||'$get(Category).value == "Driveways"',children:[B(o),V(o)]})),$("CrossSell:Driveways",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("drywallCrossSellQuestions",[He({headline:"Connect With Drywall Pros"}),(t="true",o="CrossSell:Drywall and Plaster",I("DrywallAndPlasterQuestions",{if:t||'$get(Category).value == "Drywall and Plaster"',children:[K(o),D(o)]})),$("CrossSell:Drywall and Plaster",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("electricalCrossSellQuestions",[He({headline:"Connect With Electrical Pros"}),(t="true",o="CrossSell:Electrical",I("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[U(o),D(o)]})),$("CrossSell:Electrical",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("flooringCrossSellQuestions",[He({headline:"Connect With Flooring Pros"}),(t="true",o="CrossSell:Flooring",I("FlooringQuestions",{if:t||'$get(Category).value == "Flooring"',children:[J(o),D(o)]})),$("CrossSell:Flooring",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("heatingCoolingCrossSellQuestions",[He({headline:"Connect With HVAC Pros"}),(t="true",o="CrossSell:Heating and Cooling",I("HeatingAndCoolingQuestions",{if:t||'$get(Category).value == "Heating and Cooling"',children:[ae(o),ie(o),D(o)]})),$("CrossSell:Heating and Cooling",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("landscapingCrossSellQuestions",[He({headline:"Connect With a Landscaper"}),(t="true",o="CrossSell:Landscaping",I("LandscapingQuestions",{if:t||'$get(Category).value == "Landscaping"',children:[se(o),D(o)]})),$("CrossSell:Landscaping",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("masonryAndConcreteCrossSellQuestions",[He({headline:"Connect With Masonry Pros"}),(t="true",o="CrossSell:Masonry and Concrete",I("MasonryAndConcreteQuestions",{if:t||'$get(Category).value == "Masonry and Concrete"',children:[pe(o),ue(o),ce(o)]})),$("CrossSell:Masonry and Concrete",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("paintingCrossSellQuestions",[He({headline:"Connect With a Painter"}),(t="true",o="CrossSell:Painting",I("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[me(o),ne(o)]})),$("CrossSell:Painting",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("pestControlCrossSellQuestions",[He({headline:"Get Pest Control Help"}),(t="true",o="CrossSell:Pest Control",I("PestControlQuestions",{if:t||'$get(Category).value == "Pest Control"',children:[he(o)]})),$("CrossSell:Pest Control",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("plumbingCrossSellQuestions",[He({headline:"Connect With a Plumber"}),(t="true",o="CrossSell:Plumbing",I("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[ge(o),D(o)]})),$("CrossSell:Plumbing",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("remodelingCrossSellQuestions",[He({headline:"Connect With Remodelers"}),(t="true",o="CrossSell:Remodeling",I("RemodelingQuestions",{if:t||'$get(Category).value == "Remodeling"',children:[be(o)]})),$("CrossSell:Remodeling",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("roofingCrossSellQuestions",[He({headline:"Connect With a Roofer"}),(t="true",o="CrossSell:Roofing",I("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[Ce(o),Se(o)]})),$("CrossSell:Roofing",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("sidingCrossSellQuestions",[He({headline:"Connect With Siding Pros"}),(t="true",o="CrossSell:Siding",I("SidingQuestions",{if:t||'$get(Category).value == "Siding"',children:[we(o),D(o)]})),$("CrossSell:Siding",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return Qe("windowsCrossSellQuestions",[He({headline:"Connect With Window Pros"}),(t="true",o="CrossSell:Windows",I("WindowsQuestions",{if:t||'$get(Category).value == "Windows"',children:[_e(o),ke(o),$e(o)]})),$("CrossSell:Windows",!1,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",Qe("homeImprovementCrossSells",[Ue(e),(e.scope,u({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];lo.data.dynamicSchema=lo.data.dynamicSchema.concat(so);const po=[lo,e(Jt,uo),{$cmp:"FormKit",props:function(t){const o=e(Vt,t);return o.formId&&!o.name&&(o.name=o.formId),o}({formId:"generalHomeImprovement",redirectMap:function(t){return e(eo,t)}(),crossSellOptionMap:io}),children:[function(t){return e(Yt,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||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Get Started Here!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Fast. Reliable. Local. Free")',if:"$activeStep === $firstStep()"}),...Xt,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return Qe("homeImprovementCategory",[R(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:((e=ro)=>({values:{Category:{Additions:["additionsSubType","constructionAreaSize",...e],Appliances:["applianceType","homeImprovementWorkType",...e],Appraisals:[...e],Cabinets:["cabinetWorkType",...e],Carpentry:["carpentrySubtype","homeImprovementWorkType",...e],Carpets:["carpetWorkType",...e],Cleaning:["cleaningSubtype",...e],Countertops:["countertopMaterial","homeImprovementWorkType",...e],"Decks and Porches":["deckWorkType",...e],Demolition:["demolitionSubtype",...e],Doors:["doorSubtype","homeImprovementWorkType",...e],Driveways:["drivewayWorkType","drivewayMaterial",...e],"Drywall and Plaster":["wallSurfaceType","homeImprovementWorkType",...e],Electrical:["electricalSubtype","homeImprovementWorkType",...e],Fencing:["fenceMaterial","homeImprovementWorkType",...e],Flooring:["flooringMaterial","homeImprovementWorkType",...e],Foundations:["homeImprovementWorkType",...e],"Garage Doors":["homeImprovementWorkType",...e],"General Contractors":["generalContractorSubtype",...e],Gutters:["gutterMaterial","gutterWorkType",...e],Handyman:[...e],"Holiday Decorators":[...e],"Smart Home":["smartHomeSubtype",...e],"Home Builders":[...e],"Home Inspection":[...e],"Home Organization":["homeOrganizationSubtype",...e],"Home Security":[...e],"Home Staging":["numberOfRooms",...e],"Home Theater":["homeTheaterSubtype",...e],"Home Warranties":[...e],"Hot Tubs":["homeImprovementWorkType",...e],"Heating and Cooling":["heatingCoolingSubtype","fuelSource","homeImprovementWorkType",...e],Insulation:["insulationSubtype",...e],"Junk Removal":[...e],Landscaping:["landscapingSubtype","homeImprovementWorkType",...e],Locksmiths:[...e],"Masonry and Concrete":["masonrySubtype","masonryMaterial","masonryWorkType",...e],Restoration:["restorationSubtype",...e],Painting:["paintingSubtype","paintingRooms",...e],"Pest Control":["pestControlSubtype",...e],Pools:["poolsSubtype","poolsWorkType",...e],Plumbing:["plumbingSubtype","homeImprovementWorkType",...e],"Pressure Washing":[...e],Remodeling:["remodelingSubtype",...e],Roofing:["roofingWorkType","roofingMaterial",...e],Sheds:["homeImprovementWorkType",...e],Siding:["sidingMaterial","homeImprovementWorkType",...e],Solar:["homeImprovementWorkType",...e],Tiling:["tilingSubtype","homeImprovementWorkType",...e],"Tree Services":["treeServicesSubtype",...e],"Walk-in Tubs":[...e],Waterproofing:["waterproofingSubtype",...e],"Window Cleaning":[...e],Windows:["windowsSubtype","windowsWorkType","numberOfWindows",...e]},"*":e}}))(),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 Qe("contactInfo",[Ae(e),Ne(e),{$el:"script",if:"$activeStep === $lastStep()",children:Le},v(e.scope),k(e.scope),P(e.scope),Oe()],{nextOnEnter:!1})}(),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Quotes"}),{$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 uo;return po}();
|
|
1
|
+
var generalHomeImprovement=function(){"use strict";function e(){return Object.assign({},...arguments)}const t='$getKey($meta, "commentsPlaceholders." + $get(Category).value, $meta.defaultCommentsPlaceholder)',o=t,n=e=>(e.name&&!e.id&&(e.id=e.name),e),r=t=>(t&&t.legendClass||(t.legendClass="required t-w-[100%] t-text-center"),t.fieldsetClass="$reset t-flex t-justify-center t-flex-col",t.innerClass="t-items-start",t.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",t.optionClass="t-pl-4 md:t-pl-16 md:t-min-w-[200px]",t.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",t.messagesClass="t-flex t-justify-center",t.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",(t=>(n(t),e({$formkit:"checkbox",validation:"required",validationMessages:{required:"Field is required"}},t)))(t)),a=t=>(n(t),e({$formkit:"radio",validation:"required",validationMessages:{required:"Field is required"},optionsClass:"t-pt-3 t-pl-1",legendClass:"required"},t)),i=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 md:t-pl-8 md:t-min-w-[200px]",e.optionsClass="t-pl-4 t-pt-3 t-grid t-grid-cols-1 md:t-grid-cols-2",e.messagesClass="t-flex t-justify-center",e.helpClass="t-mt-0 t-mb-4 !t-text-sm t-text-center",a(e)),l=e=>(e.legendClass="legend-left required",e.fieldsetClass="$reset side-by-side",e.optionsClass="t-pl-1",e.innerClass="t-flex t-items-center",e.wrapperClass="t-mb-3",a(e)),s=e=>(e.legendClass="required",e.fieldsetClass="$reset t-flex t-justify-center",e.optionsClass="t-pl-2 t-pt-3",e.innerClass="t-items-center",e.wrapperClass="$reset t-flex t-cursor-pointer t-mb-3",e.optionClass="t-pl-4 md:t-pl-12",e.messagesClass="t-flex t-justify-center",a(e)),p=t=>(n(t),e({$formkit:"select",placeholder:"Please Select",validation:"required",validationMessages:{required:"Field is required"},inputClass:"t-bg-white",labelClass:"required"},t)),u=e=>(e.labelClass="required",e.wrapperClass="side-by-side t-items-center",e.innerClass="select-height-content",e.helpClass="t-mt-2.5 md:t-text-right md:t-mt-[-5px]",p(e)),c=e=>(e.labelClass="required",e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-min-w-[150px] t-bg-white "+(e.inputClass||""),e.helpClass="t-mt-2.5 t-text-center",p(e)),d=t=>(n(t),e({$formkit:"text",validation:"required",validationMessages:{required:"Field is required"},labelClass:"required"},t)),m=e=>(e.wrapperClass="side-by-side t-items-center",d(e)),h=e=>(e.wrapperClass="t-flex t-justify-center",e.messagesClass="t-flex t-justify-center",e.inputClass="t-text-center",e.helpClass="t-mt-2.5 !t-text-sm t-text-center",d(e)),y=(e,t,o={})=>(t?h:m)({$formkit:"email",name:e?e+":Email":"Email",label:t?o.label:"Email Address:",placeholder:"email@domain.com",autocomplete:"email","data-tf-sensitive":"false",validation:"required|email",validationMessages:{required:"Email is required",email:"Invalid Email"},...o}),f=(e,t,o={})=>(t?h:m)({label:t?o.label:"First Name:",placeholder:"First Name",name:e?e+":First_Name":"First_Name",autocomplete:"given-name",validationMessages:{required:"First Name is required"},...o}),g=(e,t,o={})=>(t?h:m)({label:t?o.label:"Last Name:",placeholder:"Last Name",name:e?e+":Last_Name":"Last_Name",autocomplete:"family-name",validationMessages:{required:"Last Name is required"},...o}),b=(e,t,o={})=>(t?h:m)({$formkit:"tel",name:e?e+":Primary_Phone":"Primary_Phone",label:t?o.label:"Phone Number:",placeholder:o.placeholder||"###-###-####",maxlength:12,help:o.help||"10-digit phone number, hyphens optional",autocomplete:"tel-national","data-tf-sensitive":"false",validation:"required|matches:/^[0-9]{3}-?[0-9]{3}-?[0-9]{4}$/|valid_phone",validationMessages:{required:"Phone Number is required",matches:"Invalid Phone Format, use ###-###-####",valid_phone:"Invalid Phone Number"},helpClass:"t-mt-2.5 md:t-text-right md:t-mt-[-2px]",...o}),S=(t,o,r)=>(t=>(n(t),e({$formkit:"textarea",rows:5,maxlength:500,validation:"required",validationMessages:{required:"Field is required"},innerClass:"t-max-w-xl",labelClass:"required"},t)))(e({name:t?t+":Comments":"Comments",label:"Please briefly describe your situation in a few words:",placeholder:'For Example: "I would like help with child support payments" or "I need help with visitation rights"'},r)),C=(e,t={})=>({$formkit:"checkbox",label:"$meta.tcpaLanguage",__raw__sectionsSchema:{label:{attrs:{innerHTML:"$label"}}},name:e?e+":TCPA_Opt_In":"TCPA_Opt_In","data-tf-sensitive":"false",validation:"required|accepted",validationMessages:{required:"Consent is required",accepted:"Consent is required"},classes:{outer:t.outerClass?t.outerClass:"",wrapper:t.wrapperClass?t.wrapperClass:"",messages:t.messagesClass?t.messagesClass:"",label:"!t-text-[0.7rem] t-text-slate-500 t-font-normal !t-leading-[0.9rem]"+(t.labelClass?" "+t.labelClass:"")}}),w=(t,o)=>e({$cmp:"FormKit",props:{type:"group",key:t,id:t,name:t}},o),v=["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","Tree Services","Walk-in Tubs","Waterproofing","Window Cleaning","Windows","Not Sure or Other"],x=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"Select a Category:",name:t?t+":Category":"Category",options:v},n)),W=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Work_Type":"Work_Type",options:["Install or Replace","Repair","Not Sure or Other"]},n)),k=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What type of appliance?",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"]},n)),_=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What carpentry job type?",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"]},n)),$=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Driveway_Work_Type":"Driveway_Work_Type",options:["Install or Replace","Repair","Sealing","Not Sure or Other"]},n)),P=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What driveway material?",name:t?t+":Driveway_Material":"Driveway_Material",options:["Asphalt","Brick","Cobblestone","Pebble","Concrete","Pavers","Not Sure or Other"]},n)),I=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What surface type?",name:t?t+":Wall_Surface_Type":"Wall_Surface_Type",options:["Drywall","Plaster","Stucco","Not Sure or Other"]},n)),T=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What electrical job type?",name:t?t+":Electrical_Subtype":"Electrical_Subtype",options:["Electrical Panel","Outlets and Fixtures","Home Theater","Exhaust Fans","Ceiling Fans","EV Charging Station","Addition or Remodel","Generator","Outdoor Lighting","Pet Fence","Thermostat","Wall or Baseboard Heater","Holiday Lighting","Not Sure or Other"]},n)),R=(t,o,n={})=>(o?s:u)(e({label:o?n.label:"What flooring material?",name:t?t+":Flooring_Material":"Flooring_Material",options:["Carpet","Concrete","Hardwood","Laminate","Linoleum","Slate","Tile","Vinyl","Not Sure or Other"]},n)),E=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"How many rooms?",name:t?t+":Number_Of_Rooms":"Number_Of_Rooms",options:["1-2","3-4","4-5","5-6","6+"]},n)),O=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What heating or cooling job?",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"]},n)),H=(t,o,n={})=>(o?s:u)(e({label:o?n.label:"What is the fuel source?",name:t?t+":Fuel_Source":"Fuel_Source",options:["Gas","Oil","Electric","Propane","Not Sure or Other"]},n)),j=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What landscaping job?",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","Sprinklers"]},n)),D=(t,o,n={})=>(o?s:u)(e({label:o?n.label:"What masonry job?",name:t?t+":Masonry_Subtype":"Masonry_Subtype",options:["Driveways","Walkways","Floors","Walls","Facades","Material Delivery","Not Sure or Other"]},n)),M=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What masonry material?",name:t?t+":Masonry_Material":"Masonry_Material",options:["Brick or Stone","Pavers","Concrete","Not Sure or Other"]},n)),F=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Masonry_Work_Type":"Masonry_Work_Type",options:["Install or Replace","Repoint Brick or Stone","Repair","Not Sure or Other"]},n)),A=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What painting job type?",name:t?t+":Painting_Subtype":"Painting_Subtype",options:["Whole Exterior","Exterior Touch-up","Interior Rooms","Interior Touch-up","Ceilings","Deck","Shed","Cabinets","Not Sure or Other"]},n)),N=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What pest control job type?",name:t?t+":Pest_Control_Subtype":"Pest_Control_Subtype",options:["Bed Bugs","Flying Animals","Insects","Rodents","Small Animals","Bees","Termites","Not Sure or Other"]},n)),L=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What plumbing job type?",name:t?t+":Plumbing_Subtype":"Plumbing_Subtype",options:["Tub or Shower","Drain","Sink","Toilet","Boiler","Water Heater","Sump Pump","Piping","Septic","Water Main","Hot Tub","Additions and Remodels","Not Sure or Other"]},n)),q=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What remodeling job?",name:t?t+":Remodeling_Subtype":"Remodeling_Subtype",options:["Interior Designer","Interior Decorator","Kitchen Remodeling","Bathroom Remodeling","Garage Remodeling","Home Remodeling","Dumpster Rental","Landscape Architect","Outdoor Kitchen","Outdoor Enclosure","Additions","Not Sure or Other"]},n)),Q=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Roofing_Work_Type":"Roofing_Work_Type",options:["Install or Replace Roof","Repair Roof","Ice Dams","Gutters","Not Sure or Other"]},n)),G=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What roofing material?",name:t?t+":Roofing_Material":"Roofing_Material",options:["Asphalt Shingle","Metal","Composite","Flat","Foam","Tile","Wood","Slate","Not Sure or Other"]},n)),z=(t,o,n={})=>(o?i:u)(e({label:o?n.label:"What siding material?",name:t?t+":Siding_Material":"Siding_Material",options:["Vinyl","Composite","Brick","Stone","Wood","Stucco","Not Sure or Other"]},n)),B=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Windows_Work_Type":"Windows_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)),V=(t,o,n={})=>(o?c:u)(e({label:o?n.label:"What windows job type?",name:t?t+":Windows_Subtype":"Windows_Subtype",options:["Whole Windows","Frames","Glass","Hardware","Storm Windows","Screens","Not Sure or Other"]},n)),K=(t,o,n={})=>(o?s:l)(e({label:o?n.label:"How many windows?",name:t?t+":Number_Of_Windows":"Number_Of_Windows",options:["1","2","3-5","6+"]},n)),U=e=>"group"!==e.type&&"section"!==e.type&&"form"!==e.type&&"hidden"!==e.$formkit&&!e.children,Z=e=>{if(U(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(U(o))return o;const n=Z(o);if(n)return n}return null},J={$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 Y(t={}){return e(J,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-2xl t-font-bold t-text-blue-500 t-pb-4 t-pt-0 t-px-1"}}}function ee(e){return{$el:"h3",children:e.headline||"Tell Us About Your Situation",attrs:{class:"t-flex t-justify-center t-text-center t-text-xl t-font-bold t-text-dark t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function te(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 oe(e){return{$el:"h3",children:e.headline||"Additional Details",attrs:{class:"t-flex t-justify-center t-text-center t-text-lg sm:t-text-xl t-font-bold t-text-blue-500 t-pb-5 t-pt-0 t-px-1 "+(e.headlineClass||"")}}}function ne(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 re(e){return{$el:"h3",children:e.headline||'$getKey($meta, "finalHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalHeadline)',attrs:{class:"t-flex t-justify-center t-text-center t-text-2xl t-font-bold t-text-blue-500 t-pb-3 t-pt-4 t-px-1 "+(e.headlineClass||"")+" f-contact-info-headline"}}}function ae(e){return{$el:"h5",children:e.subheadline||'$getKey($meta, "finalSubHeadlines." + $get(Type_Of_Legal_Problem).value, $meta.defaultFinalSubHeadline)',attrs:{class:"t-flex t-justify-center t-text-center !t-text-lg t-font-semibold t-pb-6 t-pt-0 t-px-3 "+(e.subheadlineClass||"")+" f-contact-info-subheadline"}}}function ie(t,o,n={}){const{nextOnEnter:r=!0,nextOnInput:a=!1,stepKey:i,nextStepMap:l,triggerRedirectMap:s,autoFocus:p}=n;if(o&&o.length&&(r||a)){const e=Z(o[o.length-1]);e&&!0===r&&(e.onKeypress="$onEnter($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))"),e&&!0===a&&(e.onInput="$onInput($setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form))))")}return e(((e,t)=>({$el:"section",if:'$stepEnabled("'+e+'")',attrs:{hidden:'$activeStep !== "'+e+'"',key:t||e}}))(t,i),{children:[{$formkit:"group",id:t,name:t,nextStepMap:l,triggerRedirectMap:s,autoFocus:p,children:o}]})}function le(e,t,o,n={}){return void 0===n.nextOnInput&&(n.nextOnInput=!0),ie(e,[ee({headline:n.headline??o,headlineClass:n.headlineClass}),...Array.isArray(t)?t:[t]],n)}function se(e={}){return e.nextOnInput=void 0!==e.nextOnInput&&e.nextOnInput,le("address",((e,t,o={})=>(t?h:m)({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,e.input),"What is the street address of the home?",e)}function pe(e={}){const o={...e,nextOnEnter:!1};return ie("comments",[oe(e),S(e.scope,0,{label:void 0===e.label?"Please briefly describe your issue in a few words:":e.label,placeholder:e.placeholder||t,inputClass:void 0===e.inputClass?"!t-h-32":e.inputClass})],o)}function ue(e={}){return ie("firstAndLast",[ne({headline:e.headline??"Who is looking for help?",headlineClass:e.headlineClass}),te({subheadline:e.subheadline??"We never share info without consent",subheadlineClass:"!t-text-sm !t-text-gray-500"}),f(e.scope),g(e.scope)],e)}function ce(e={}){return le("zipcode",((e,t,o={})=>(t?h:m)({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.input),"Please verify your Zip Code",e)}function de(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||"")}}}function me(t={}){return le("timeframe",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What is the project timeframe?",name:t?t+":Timeframe":"Timeframe",options:["Immediate","1-6 Months","More than 6 Months"]},n)))(t.scope,!0,t.input),"What is the project timeframe?",t)}function he(t={}){return le("ownHome",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"Do you own the home?",name:t?t+":Own_Home":"Own_Home",options:["Yes","No","No but authorized"]},n)))(t.scope,!0,t.input),"Do you own the home?",t)}function ye(t={}){return le("additionsSubType",((t,o,n={})=>(o?c:u)(e({label:o?n.label:"What type of addition?",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"]},n)))(t.scope,!0,t.input),"What type of addition?",t)}function fe(t={}){return le("constructionAreaSize",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What is the size of the construction area?",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"]},n)))(t.scope,!0,t.input),"What is the size of the construction area?",t)}function ge(e={}){return le("homeImprovementWorkType",W(e.scope,!0,e.input),"What type of work?",e)}function be(e={}){return le("applianceType",k(e.scope,!0,e.input),"What type of appliance?",e)}function Se(t={}){return le("cabinetWorkType",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Cabinet_Work_Type":"Cabinet_Work_Type",options:["Install","Refinish","Reface","Repair","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of cabinet work?",t)}function Ce(e={}){return le("carpentrySubtype",_(e.scope,!0,e.input),"What carpentry job type?",e)}function we(t={}){return le("carpetWorkType",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Carpet_Work_Type":"Carpet_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of carpet work?",t)}function ve(t={}){return le("cleaningSubtype",((t,o,n={})=>(o?c:u)(e({label:o?n.label:"What type of cleaning?",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"]},n)))(t.scope,!0,t.input),"What type of cleaning?",t)}function xe(t={}){return le("countertopMaterial",((t,o,n={})=>(o?c:u)(e({label:o?n.label:"What type of countertop?",name:t?t+":Countertop_Material":"Countertop_Material",options:["Concrete","Granite","Laminate","Marble","Quartz","Stainless Steel","Wood","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of countertop material?",t)}function We(t={}){return le("deckWorkType",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Deck_Work_Type":"Deck_Work_Type",options:["Paint or Stain","Install or Replace","Repair","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of deck work?",t)}function ke(t={}){return le("demolitionSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of demolition?",name:t?t+":Demolition_Subtype":"Demolition_Subtype",options:["Whole Structure","Partial Home","Shed","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of demolition?",t)}function _e(t={}){return le("doorSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of door?",name:t?t+":Door_Subtype":"Door_Subtype",options:["Interior","Exterior","Garage","Sliding","Storm","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of door?",t)}function $e(e={}){return le("drivewayWorkType",$(e.scope,!0,e.input),"What type of driveway work?",e)}function Pe(e={}){return le("drivewayMaterial",P(e.scope,!0,e.input),"What type of driveway material?",e)}function Ie(e={}){return le("wallSurfaceType",I(e.scope,!0,e.input),"What type of surface?",e)}function Te(e={}){return le("electricalSubtype",T(e.scope,!0,e.input),"What electrical job type?",e)}function Re(t={}){return le("fenceMaterial",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What fence material?",name:t?t+":Fence_Material":"Fence_Material",options:["Aluminum","Chain Link","Wood","Wire","Vinyl","Iron","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of fence material?",t)}function Ee(e={}){return le("flooringMaterial",R(e.scope,!0,e.input),"What type of flooring material?",e)}function Oe(t={}){return le("generalContractorSubtype",((t,o,n={})=>(o?i:l)(e({label:o?n.label:"What contractor job type?",name:t?t+":General_Contractor_Subtype":"General_Contractor_Subtype",options:["Remodeling","Additions","Major Home Repairs","Excavation","Demolition","Dumpster Rental","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of general contractor work?",t)}function He(t={}){return le("gutterMaterial",((t,o,n={})=>(o?i:l)(e({label:o?n.label:"What gutter material?",name:t?t+":Gutter_Material":"Gutter_Material",options:["Galvanized","Metal","PVC","Wood","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of gutter material?",t)}function je(t={}){return le("gutterWorkType",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Gutter_Work_Type":"Gutter_Work_Type",options:["Install or Replace","Repair","Cleaning","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of gutter work?",t)}function De(t={}){return le("smartHomeSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What smart home job type?",name:t?t+":Smart_Home_Subtype":"Smart_Home_Subtype",options:["Thermostats","Video Doorbells","Camera Systems","Lighting","Speaker Systems","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of smart home work?",t)}function Me(t={}){return le("homeOrganizationSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What home organization job?",name:t?t+":Home_Organization_Subtype":"Home_Organization_Subtype",options:["Packing or Unpacking","Room Organization","Shed Organization","Storage Solutions","Decluttering","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of home organization work?",t)}function Fe(e={}){return le("numberOfRooms",E(e.scope,!0,e.input),"How many rooms?",e)}function Ae(t={}){return le("homeTheaterSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What home theater job?",name:t?t+":Home_Theater_Subtype":"Home_Theater_Subtype",options:["Hang TV","Install Sound System","Wiring","Troubleshooting","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of home theater work?",t)}function Ne(e={}){return le("heatingCoolingSubtype",O(e.scope,!0,e.input),"What heating or cooling job type?",e)}function Le(e={}){return le("fuelSource",H(e.scope,!0,e.input),"What type of fuel source?",e)}function qe(t={}){return le("insulationSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of insulation job?",name:t?t+":Insulation_Subtype":"Insulation_Subtype",options:["Batt or Roll","Spray Foam","Blown-in","Reflective","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of insulation work?",t)}function Qe(e={}){return le("landscapingSubtype",j(e.scope,!0,e.input),"What type of landscaping work?",e)}function Ge(e={}){return le("masonrySubtype",D(e.scope,!0,e.input),"What masonry job type?",e)}function ze(e={}){return le("masonryMaterial",M(e.scope,!0,e.input),"What type of masonry material?",e)}function Be(e={}){return le("masonryWorkType",F(e.scope,!0,e.input),"What type of masonry work?",e)}function Ve(t={}){return le("restorationSubtype",((t,o,n={})=>(o?c:u)(e({label:o?n.label:"What restoration job?",name:t?t+":Restoration_Subtype":"Restoration_Subtype",options:["Mold Remediation","Fire Damage","Water Damage","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of restoration work?",t)}function Ke(e={}){return le("paintingSubtype",A(e.scope,!0,e.input),"What type of painting work?",e)}function Ue(e={}){return le("paintingRooms",E(e.scope,!0,e.input),"How many rooms need painting?",e)}function Ze(e={}){return le("pestControlSubtype",N(e.scope,!0,e.input),"What type of pest control work?",e)}function Je(t={}){return le("poolsWorkType",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What type of work?",name:t?t+":Pools_Work_Type":"Pools_Work_Type",options:["Install or Replace","Repair","Cleaning","Close or Open Pool","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of pool work?",t)}function Ye(t={}){return le("poolsSubtype",((t,o,n={})=>(o?c:u)(e({label:o?n.label:"What type of pool?",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"]},n)))(t.scope,!0,t.input),"What type of pool work?",t)}function Xe(e={}){return le("plumbingSubtype",L(e.scope,!0,e.input),"What plumbing job type?",e)}function et(e={}){return le("remodelingSubtype",q(e.scope,!0,e.input),"What type of remodeling work?",e)}function tt(e={}){return le("roofingWorkType",Q(e.scope,!0,e.input),"What type of roofing work?",e)}function ot(e={}){return le("roofingMaterial",G(e.scope,!0,e.input),"What type of roofing material?",e)}function nt(e={}){return le("sidingMaterial",z(e.scope,!0,e.input),"What type of siding material?",e)}function rt(t={}){return le("tilingSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What tiling job type?",name:t?t+":Tiling_Subtype":"Tiling_Subtype",options:["Floor","Backsplash","Bathroom","Wall","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of tiling work?",t)}function at(t={}){return le("treeServicesSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What tree service job type?",name:t?t+":Tree_Services_Subtype":"Tree_Services_Subtype",options:["Tree Removal","Tree Trimming","Stump Grinding","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of tree service work?",t)}function it(t={}){return le("waterproofingSubtype",((t,o,n={})=>(o?s:l)(e({label:o?n.label:"What waterproofing job?",name:t?t+":Waterproofing_Subtype":"Waterproofing_Subtype",options:["Foundations","Basements","Drainage","Not Sure or Other"]},n)))(t.scope,!0,t.input),"What type of waterproofing work?",t)}function lt(e={}){return le("windowsWorkType",B(e.scope,!0,e.input),"What type of windows work?",e)}function st(e={}){return le("windowsSubtype",V(e.scope,!0,e.input),"What windows job type?",e)}function pt(e={}){return le("numberOfWindows",K(e.scope,!0,e.input),"How many windows?",e)}const ut={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 ct(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>t.includes(e))))}const dt={};function mt(t=null){let n=bt,r=St,a=Ct;return t&&(n=ct(bt,t),r=ct(St,t),a=ct(Ct,t)),{type:"meta",data:e(dt,{tcpaLanguage:"By checking this box, I a) agree to the Terms of Use, and b) consent to be contacted by contractors and partners of this website using live, autodialed, pre-recorded, or artificial voice calls, as well as text messages. Your consent is not required as a condition of purchasing any goods or services.",defaultCommentsPlaceholder:o,commentsPlaceholders:n,defaultFinalHeadline:"We Found Contractors!",finalHeadlines:r,defaultFinalSubHeadline:"Compare quotes and save. Verify contact info:",finalSubHeadlines:a})}}const ht={$el:"div",children:[{$el:"div",attrs:{id:"form-anchor",class:"t-absolute",style:{top:"-30px",left:0}}}],attrs:{class:"t-relative"}};const yt={$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 ft=[{$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}],gt={"*":"https://listings.zipcontractor.com/api/v1/redirect?zone_id=4&vertical=HomeImprovement&category=${properties.Category}&zip_code=${properties.Zip}&sub_id=${properties.vid}"};const bt={Additions:'Example: "I would like to add a sunroom to my home"',Appliances:'Example: "I need to repair a dishwasher"',Appraisals:'Example: "I need to get my home appraised"',Cabinets:'Example: "I want to install new kitchen cabinets"',Carpentry:'Example: "I need someone to build custom shelves"',Carpets:'Example: "I want to replace the carpets in my living room"',Cleaning:'Example: "I need a professional cleaning service for my home"',Countertops:'Example: "I want to install granite countertops in my kitchen"',"Decks and Porches":'Example: "I want to build a new deck in my backyard"',Demolition:'Example: "I need to demolish a wall in my home"',Doors:'Example: "I want to replace the front door of my house"',Driveways:'Example: "I need to repair my driveway"',"Drywall and Plaster":'Example: "I need to repair a hole in my drywall"',Electrical:'Example: "I need an electrician to install new light fixtures"',Fencing:'Example: "I want to install a privacy fence in my backyard"',Flooring:'Example: "I want to install hardwood flooring in my living room"',Foundations:'Example: "I need to repair the foundation of my house"',"Garage Doors":'Example: "I want to replace my garage door"',"General Contractors":'Example: "I need a general contractor for a home renovation"',Gutters:'Example: "I need to clean and repair my gutters"',Handyman:'Example: "I need a handyman to fix various things around my house"',"Holiday Decorators":'Example: "I want to hire someone to decorate my home for the holidays"',"Smart Home":'Example: "I want to install a smart home automation system"',"Home Builders":'Example: "I want to build a custom home"',"Home Inspection":'Example: "I need a home inspection before buying a house"',"Home Organization":'Example: "I need help organizing my closets and storage"',"Home Security":'Example: "I want to install a home security system"',"Home Staging":'Example: "I need a home staging service to prepare my house for sale"',"Home Theater":'Example: "I want to set up a home theater system"',"Home Warranties":'Example: "I want to purchase a home warranty"',"Hot Tubs":'Example: "I want to install a hot tub in my backyard"',"Heating and Cooling":'Example: "I need to repair my air conditioning unit"',Insulation:'Example: "I want to improve the insulation in my home"',"Junk Removal":'Example: "I need a service to remove junk and debris from my property"',Landscaping:'Example: "I want to redesign my backyard landscaping"',Locksmiths:'Example: "I need a locksmith to change the locks on my doors"',"Masonry and Concrete":'Example: "I need to repair a cracked concrete driveway"',Restoration:'Example: "I need water damage restoration services"',Moving:'Example: "I need a moving company to help me relocate"',Painting:'Example: "I want to paint the interior walls of my house"',"Pest Control":'Example: "I need pest control services for my home"',Pools:'Example: "I want to install a swimming pool in my backyard"',Plumbing:'Example: "I need a plumber to fix a leaky faucet"',"Pressure Washing":'Example: "I want to pressure wash the exterior of my house"',Remodeling:'Example: "I want to remodel my kitchen"',Roofing:'Example: "I need to repair a leaky roof"',Sheds:'Example: "I want to build a storage shed in my backyard"',Siding:'Example: "I want to replace the siding on my house"',Solar:'Example: "I want to install solar panels on my roof"',Tiling:'Example: "I want to install new tiles in my bathroom"',"Tree Services":'Example: "I need a large tree removed"',"Walk-in Tubs":'Example: "I want to install a walk-in tub in my bathroom"',Waterproofing:'Example: "I need to waterproof my basement"',"Window Cleaning":'Example: "I need a professional window cleaning service"',Windows:'Example: "I want to replace 3 windows in my house"',"Not Sure or Other":'Example: "I need general handyman services"'},St={Appliances:"We Have Appliance Pros Standing By!"},Ct={Appliances:"Who needs appliance help?"},wt=["comments","timeframe","ownHome","zipcode","address","homeImprovementCrossSells","firstAndLast","contactInfo"],vt=(e=wt)=>({values:{Painting_Subtype:{"Whole Exterior":e,"Exterior Touch-up":e,"Interior Rooms":["paintingRooms",...e],"Interior Touch-up":["paintingRooms",...e],Ceilings:["paintingRooms",...e],Deck:e,Shed:e,Cabinets:e,"Not Sure or Other":e}}}),xt={Additions:["Painting","Landscaping","Plumbing","Appliances","Heating and Cooling","Driveways"],Electrical:["Painting","Plumbing","Drywall and Plaster","Flooring","Remodeling","Roofing"],Flooring:["Painting","Plumbing","Electrical","Carpentry","Remodeling","Roofing"],"General Contractors":["Painting","Plumbing","Electrical","Flooring","Landscaping","Roofing"],"Home Builders":["Painting","Driveways","Masonry and Concrete","Pest Control","Landscaping","Windows"],Painting:["Plumbing","Electrical","Flooring","Remodeling","Roofing","Windows"],Plumbing:["Painting","Appliances","Electrical","Flooring","Remodeling","Roofing"],Remodeling:["Painting","Landscaping","Electrical","Flooring","Masonry and Concrete","Roofing"],Roofing:["Painting","Plumbing","Electrical","Flooring","Remodeling","Windows"],"*":["Painting","Plumbing","Electrical","Siding","Remodeling","Roofing"]},Wt=function(e=wt){const t=mt();return t.data.dynamicSchema=[ce(),me(),he(),se(),ge(),ye(),fe(),be(),Se(),Ce(),we(),ve(),xe(),We(),ke(),_e(),$e(),Pe(),Ie(),Te(),Re(),Ee(),Oe(),He(),je(),De(),Me(),Fe(),Ae(),Ne(),Le(),qe(),Qe(),Ge(),ze(),Be(),Ve(),Ke({nextStepMap:vt(e)}),Ue(),Ze(),Je(),Ye(),Xe(),et(),tt(),ot(),nt(),rt(),at(),it(),lt(),st(),pt(),pe({label:null,headline:"Please briefly describe your project:",headlineClass:"!t-text-dark"}),ue({headlineClass:"!t-text-dark"})],t}(),kt=[function(e={}){return ie("appliancesCrossSellQuestions",[X({headline:"Connect With Appliance Pros"}),(t="true",o="CrossSell:Appliances",w("ApplianceQuestions",{if:t||'$get(Category).value == "Appliances"',children:[k(o),W(o)]})),S("CrossSell:Appliances",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("carpentryCrossSellQuestions",[X({headline:"Connect With a Carpenter"}),(t="true",o="CrossSell:Carpentry",w("CarpentryQuestions",{if:t||'$get(Category).value == "Carpentry"',children:[_(o),W(o)]})),S("CrossSell:Carpentry",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("drivewaysCrossSellQuestions",[X({headline:"Connect With Driveway Pros"}),(t="true",o="CrossSell:Driveways",w("DrivewaysQuestions",{if:t||'$get(Category).value == "Driveways"',children:[$(o),P(o)]})),S("CrossSell:Driveways",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("drywallCrossSellQuestions",[X({headline:"Connect With Drywall Pros"}),(t="true",o="CrossSell:Drywall and Plaster",w("DrywallAndPlasterQuestions",{if:t||'$get(Category).value == "Drywall and Plaster"',children:[I(o),W(o)]})),S("CrossSell:Drywall and Plaster",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("electricalCrossSellQuestions",[X({headline:"Connect With Electrical Pros"}),(t="true",o="CrossSell:Electrical",w("ElectricalQuestions",{if:t||'$get(Category).value == "Electrical"',children:[T(o),W(o)]})),S("CrossSell:Electrical",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("flooringCrossSellQuestions",[X({headline:"Connect With Flooring Pros"}),(t="true",o="CrossSell:Flooring",w("FlooringQuestions",{if:t||'$get(Category).value == "Flooring"',children:[R(o),W(o)]})),S("CrossSell:Flooring",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("heatingCoolingCrossSellQuestions",[X({headline:"Connect With HVAC Pros"}),(t="true",o="CrossSell:Heating and Cooling",w("HeatingAndCoolingQuestions",{if:t||'$get(Category).value == "Heating and Cooling"',children:[O(o),H(o),W(o)]})),S("CrossSell:Heating and Cooling",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("landscapingCrossSellQuestions",[X({headline:"Connect With a Landscaper"}),(t="true",o="CrossSell:Landscaping",w("LandscapingQuestions",{if:t||'$get(Category).value == "Landscaping"',children:[j(o),W(o)]})),S("CrossSell:Landscaping",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("masonryAndConcreteCrossSellQuestions",[X({headline:"Connect With Masonry Pros"}),(t="true",o="CrossSell:Masonry and Concrete",w("MasonryAndConcreteQuestions",{if:t||'$get(Category).value == "Masonry and Concrete"',children:[D(o),M(o),F(o)]})),S("CrossSell:Masonry and Concrete",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("paintingCrossSellQuestions",[X({headline:"Connect With a Painter"}),(t="true",o="CrossSell:Painting",w("PaintingQuestions",{if:t||'$get(Category).value == "Painting"',children:[A(o),E(o)]})),S("CrossSell:Painting",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("pestControlCrossSellQuestions",[X({headline:"Get Pest Control Help"}),(t="true",o="CrossSell:Pest Control",w("PestControlQuestions",{if:t||'$get(Category).value == "Pest Control"',children:[N(o)]})),S("CrossSell:Pest Control",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("plumbingCrossSellQuestions",[X({headline:"Connect With a Plumber"}),(t="true",o="CrossSell:Plumbing",w("PlumbingQuestions",{if:t||'$get(Category).value == "Plumbing"',children:[L(o),W(o)]})),S("CrossSell:Plumbing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("remodelingCrossSellQuestions",[X({headline:"Connect With Remodelers"}),(t="true",o="CrossSell:Remodeling",w("RemodelingQuestions",{if:t||'$get(Category).value == "Remodeling"',children:[q(o)]})),S("CrossSell:Remodeling",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("roofingCrossSellQuestions",[X({headline:"Connect With a Roofer"}),(t="true",o="CrossSell:Roofing",w("RoofingQuestions",{if:t||'$get(Category).value == "Roofing"',children:[G(o),Q(o)]})),S("CrossSell:Roofing",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("sidingCrossSellQuestions",[X({headline:"Connect With Siding Pros"}),(t="true",o="CrossSell:Siding",w("SidingQuestions",{if:t||'$get(Category).value == "Siding"',children:[z(o),W(o)]})),S("CrossSell:Siding",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return ie("windowsCrossSellQuestions",[X({headline:"Connect With Window Pros"}),(t="true",o="CrossSell:Windows",w("WindowsQuestions",{if:t||'$get(Category).value == "Windows"',children:[V(o),B(o),K(o)]})),S("CrossSell:Windows",0,{label:"Project Description:",placeholder:"Please describe your project in a few words...",inputClass:"!t-h-16"})],e);var t,o}(),function(e={}){return e.nextOnInput=!1,e.stepKey="$get(Category).value",ie("homeImprovementCrossSells",[de(e),(e.scope,r({id:"HomeImprovement_CrossSells",name:"HomeImprovement_CrossSells",help:'Just hit "Next" if none apply',helpClass:"t-text-center !t-text-sm",validation:null,options:'$getCrossSellOptions($get(form), $getVal($get(form), "Category"))'}))],e)}({headlineClass:"!t-text-dark",nextStepMap:{values:{HomeImprovement_CrossSells:{Appliances:["appliancesCrossSellQuestions"],Carpentry:["carpentryCrossSellQuestions"],Driveways:["drivewaysCrossSellQuestions"],"Drywall and Plaster":["drywallCrossSellQuestions"],Electrical:["electricalCrossSellQuestions"],Flooring:["flooringCrossSellQuestions"],"Heating and Cooling":["heatingCoolingCrossSellQuestions"],Landscaping:["landscapingCrossSellQuestions"],"Masonry and Concrete":["masonryAndConcreteCrossSellQuestions"],Painting:["paintingCrossSellQuestions"],"Pest Control":["pestControlCrossSellQuestions"],Plumbing:["plumbingCrossSellQuestions"],Remodeling:["remodelingCrossSellQuestions"],Roofing:["roofingCrossSellQuestions"],Siding:["sidingCrossSellQuestions"],Windows:["windowsCrossSellQuestions"]},"*":["firstAndLast","contactInfo"]},appendSteps:["firstAndLast","contactInfo"],matchesAllowed:1}})];Wt.data.dynamicSchema=Wt.data.dynamicSchema.concat(kt);const _t=[Wt,e(ht,$t),{$cmp:"FormKit",props:function(t){const o=e(ut,t);return o.formId&&!o.name&&(o.name=o.formId),o}({formId:"generalHomeImprovement",redirectMap:function(t){return e(gt,t)}(),crossSellOptionMap:xt}),children:[function(t){return e(yt,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||"")+" f-first-headline"}}}(t),t)}({children:'$urlParam("hl", "Get Started Here!")',if:"$activeStep === $firstStep()"}),function(t={}){return e(function(e={}){return{$el:"h3",attrs:{class:"t-flex t-justify-center t-text-center t-text-[1.1rem] md:t-text-[1.2rem] t-font-medium t-text-blue-500 t-px-10 t-pb-3 "+(e.subheadlineClass||"")+" f-first-subheadline"}}}(t),t)}({children:'$urlParam("shl", "Fast. Reliable. Local. Free")',if:"$activeStep === $firstStep()"}),...ft,{$el:"div",attrs:{class:"form-body"},children:[function(e={}){return ie("homeImprovementCategory",[x(e.scope,!0,e.input)],e)}({nextOnInput:!1,nextStepMap:((e=wt)=>({values:{Category:{Additions:["additionsSubType","constructionAreaSize",...e],Appliances:["applianceType","homeImprovementWorkType",...e],Appraisals:[...e],Cabinets:["cabinetWorkType",...e],Carpentry:["carpentrySubtype","homeImprovementWorkType",...e],Carpets:["carpetWorkType",...e],Cleaning:["cleaningSubtype",...e],Countertops:["countertopMaterial","homeImprovementWorkType",...e],"Decks and Porches":["deckWorkType",...e],Demolition:["demolitionSubtype",...e],Doors:["doorSubtype","homeImprovementWorkType",...e],Driveways:["drivewayWorkType","drivewayMaterial",...e],"Drywall and Plaster":["wallSurfaceType","homeImprovementWorkType",...e],Electrical:["electricalSubtype","homeImprovementWorkType",...e],Fencing:["fenceMaterial","homeImprovementWorkType",...e],Flooring:["flooringMaterial","homeImprovementWorkType",...e],Foundations:["homeImprovementWorkType",...e],"Garage Doors":["homeImprovementWorkType",...e],"General Contractors":["generalContractorSubtype",...e],Gutters:["gutterMaterial","gutterWorkType",...e],Handyman:[...e],"Holiday Decorators":[...e],"Smart Home":["smartHomeSubtype",...e],"Home Builders":[...e],"Home Inspection":[...e],"Home Organization":["homeOrganizationSubtype",...e],"Home Security":[...e],"Home Staging":["numberOfRooms",...e],"Home Theater":["homeTheaterSubtype",...e],"Home Warranties":[...e],"Hot Tubs":["homeImprovementWorkType",...e],"Heating and Cooling":["heatingCoolingSubtype","fuelSource","homeImprovementWorkType",...e],Insulation:["insulationSubtype",...e],"Junk Removal":[...e],Landscaping:["landscapingSubtype","homeImprovementWorkType",...e],Locksmiths:[...e],"Masonry and Concrete":["masonrySubtype","masonryMaterial","masonryWorkType",...e],Restoration:["restorationSubtype",...e],Painting:["paintingSubtype","paintingRooms",...e],"Pest Control":["pestControlSubtype",...e],Pools:["poolsSubtype","poolsWorkType",...e],Plumbing:["plumbingSubtype","homeImprovementWorkType",...e],"Pressure Washing":[...e],Remodeling:["remodelingSubtype",...e],Roofing:["roofingWorkType","roofingMaterial",...e],Sheds:["homeImprovementWorkType",...e],Siding:["sidingMaterial","homeImprovementWorkType",...e],Solar:["homeImprovementWorkType",...e],Tiling:["tilingSubtype","homeImprovementWorkType",...e],"Tree Services":["treeServicesSubtype",...e],"Walk-in Tubs":[...e],Waterproofing:["waterproofingSubtype",...e],"Window Cleaning":[...e],Windows:["windowsSubtype","windowsWorkType","numberOfWindows",...e]},"*":e}}))(),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 ie("contactInfo",[re(e),ae(e),{$el:"script",if:"$activeStep === $lastStep()",children:"(function() {\n if (window.xxTrustedFormLoaded) {\n return\n }\n var vid = '';\n if (typeof window.zar !== 'undefined') {\n vid = window.zar.getVID();\n }\n window.xxTrustedFormLoaded = true;\n var sandbox = document.location.hostname.indexOf('localhost') > -1 ? 'true' : 'false'\n var tf = document.createElement('script');\n tf.type = 'text/javascript'; tf.async = true;\n tf.src = (\"https:\" == document.location.protocol ? 'https' : 'http') + \"://api.trustedform.com/trustedform.js?field=xxTrustedFormCertUrl&identifier=\" + vid + \"&ping_field=xxTrustedFormPingUrl&provideReferrer=false&invert_field_sensitivity=true&sandbox=\" + sandbox + \"&l=\" + new Date().getTime() + Math.random();\n var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\n})();"},y(e.scope),b(e.scope),C(e.scope),Y()],{nextOnEnter:!1})}(),((e={})=>({$el:"div",attrs:{class:{if:"$activeStep === $firstStep()",then:"step-nav "+(e.firstStepButtonClass||"!t-justify-center sm:!t-justify-between"),else:"step-nav !t-justify-between"}},children:[{$formkit:"button",name:"back_button",onClick:"$setPreviousStep($prevStepFunc($get(form)))",children:"Back",outerClass:{if:"$activeStep === $firstStep()",then:"t-hidden sm:t-block",else:""},style:{if:"$activeStep === $firstStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"button",name:"next_button",onClick:"$setNextStep($fireStepEvent($get(form)), $preStepFunc($get(form)))",children:{if:"$activeStep === $firstStep()",then:e.startText||"Start",else:"Next"},outerClass:{if:"$activeStep === $lastStep()",then:"t-hidden",else:""},style:{if:"$activeStep === $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" f-navigation-input"}},{$formkit:"submit",name:"submit_button",label:e.submitLabel||"Submit",if:"$activeStep === $lastStep()",style:{if:"$activeStep !== $lastStep()",then:"display: none;"},classes:{input:(e.inputClass||"")+" !t-ml-2 sm:!t-ml-auto f-navigation-input"}}]}))({startText:"Get Quotes"}),{$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 $t;return _t}();
|