1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67585,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let s=e.r(32061);function n(e){let{reason:t,children:r}=e;if("u"<typeof window)throw Object.defineProperty(new s.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}},9885,(e,t,r)=>{"use strict";function s(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return s}})},52157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return o}});let s=e.r(43476),n=e.r(74080),a=e.r(63599),i=e.r(9885),l=e.r(43369);function o(e){let{moduleIds:t}=e;if("u">typeof window)return null;let r=a.workAsyncStorage.getStore();if(void 0===r)return null;let o=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files;o.push(...t)}}if(0===o.length)return null;let d=(0,l.getAssetTokenQuery)();return(0,s.jsx)(s.Fragment,{children:o.map(e=>{let t=`${r.assetPrefix}/_next/${(0,i.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,s.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:r.nonce},e):((0,n.preload)(t,{as:"script",fetchPriority:"low",nonce:r.nonce}),null)})})}},69093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let s=e.r(43476),n=e.r(71645),a=e.r(67585),i=e.r(52157);function l(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},d=function(e){let t={...o,...e},r=(0,n.lazy)(()=>t.loader().then(l)),d=t.loading;function c(e){let l=d?(0,s.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,c=o?n.Suspense:n.Fragment,u=t.ssr?(0,s.jsxs)(s.Fragment,{children:["u"<typeof window?(0,s.jsx)(i.PreloadChunks,{moduleIds:t.modules}):null,(0,s.jsx)(r,{...e})]}):(0,s.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(r,{...e})});return(0,s.jsx)(c,{...o?{fallback:l}:{},children:u})}return c.displayName="LoadableComponent",c}},70703,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}});let s=e.r(55682)._(e.r(69093));function n(e,t){let r={};"function"==typeof e&&(r.loader=e);let n={...r,...t};return(0,s.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},65254,e=>{"use strict";e.i(47167);var t=e.i(43476),r=e.i(71645),s=e.i(3303),n=e.i(22016),a=e.i(70703),i=e.i(85149);let l=(0,a.default)(()=>e.A(57938),{loadableGenerated:{modules:[10103]},ssr:!1}),o=[{id:"tree-removal",label:"Tree Removal",icon:e=>(0,t.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3l5.5 7H14l4 5h-3.5l3 4H6.5l3-4H6l4-5H6.5L12 3z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19v3"})]})},{id:"tree-pruning",label:"Tree Trimming & Pruning",icon:e=>(0,t.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:[(0,t.jsx)("circle",{cx:"6",cy:"6",r:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("circle",{cx:"6",cy:"18",r:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.12 8.12L20 20M8.12 15.88L20 4"})]})},{id:"insect-disease-control",label:"Diagnosis & Treatment",icon:e=>(0,t.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 12h4l2-5 4 10 2-5h6"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21l-7-7c-2-2-2-5 0-7s5-2 7 0l0 0c2-2 5-2 7 0s2 5 0 7L12 21z"})]})},{id:"landscaping",label:"Landscape Design & Build",icon:e=>(0,t.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:[(0,t.jsx)("circle",{cx:"12",cy:"7",r:"3",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10v11"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 21h8"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 15l-3-1M12 15l3-1"})]})},{id:"maintenance",label:"Landscape Maintenance",icon:e=>(0,t.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 20h18"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M7 20c0-3 1-6 2-9"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 20c0-4 1-7 2-11"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 20c0-3 1-6 2-9"})]})},{id:"landscape-lighting",label:"Landscape Lighting",icon:e=>(0,t.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3a6 6 0 014 10c-1 1-2 2
1-2 3v2H10v-2c0-1-1-2-2-3a6 6 0 014-10z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 19h4M11 21h2"})]})},{id:"irrigation",label:"Residential Irrigation",icon:e=>(0,t.jsx)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3c-4 5-6 9-6 12a6 6 0 0012 0c0-3-2-7-6-12z"})})},{id:"emergency-tree-service",label:"Emergency Tree Services",icon:e=>(0,t.jsxs)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3l10 18H2L12 3z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10v5M12 18v.01"})]})},{id:"commercial",label:"Commercial Services",icon:e=>(0,t.jsx)("svg",{className:e,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.6,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 21V5a2 2 0 012-2h8a2 2 0 012 2v16M16 9h2a2 2 0 012 2v10M9 7h2M9 11h2M9 15h2M14 11h2M14 15h2"})})}],d=new Set(["tree-removal","tree-pruning","insect-disease-control"]);e.s(["default",0,function(e){let{title:a="Request a Free Estimate",description:c,variant:u="default",glass:m=!1,region:h=i.DEFAULT_REGION,defaultScheduleEstimate:p=!1}=e,x=i.REGIONS[h],[f,g]=(0,r.useState)({name:"",email:"",phone:"",company:"",address:"",city:"",state:x.stateAbbr,zip:"",services:[],smsOptIn:!1,legalAccept:!1}),[b,j]=(0,r.useState)("idle"),[v,k]=(0,r.useState)(""),[y,N]=(0,r.useState)(null),[w,L]=(0,r.useState)(!1),[C,S]=(0,r.useState)(null),[M,_]=(0,r.useState)(!1),[P,O]=(0,r.useState)(!1),[E,T]=(0,r.useState)(p),[z,B]=(0,r.useState)(""),[I,A]=(0,r.useState)(null),[R,W]=(0,r.useState)(!1),F=(0,r.useRef)(null),$=(0,r.useRef)(null),D=(0,r.useRef)(null);(0,r.useEffect)(()=>{O(!0)},[]),(0,r.useEffect)(()=>{"success"===b&&D.current?.focus()},[b]),(0,r.useEffect)(()=>{if(P&&M){if(F.current&&!$.current&&window.turnstile)return $.current=window.turnstile.render(F.current,{sitekey:"0x4AAAAAADH8henmttz9LIRI",callback:e=>S(e),"expired-callback":()=>S(null),"error-callback":()=>S(null)}),()=>{$.current&&window.turnstile&&(window.turnstile.remove($.current),$.current=null)}}},[P,M]);let H=f.address.trim().length>=5&&/\d/.test(f.address)&&f.city.trim().length>0,G=f.services.length>0&&f.services.every(e=>d.has(e)),q=E&&G&&H,U=async()=>{let e=f.address.trim(),t=f.city.trim(),r=f.state.trim()||x.stateAbbr,s=f.zip.trim();if(!e||e.length<4||!t){B(""),A(null);return}try{let n=await fetch("https://platform.goarborone.com/api/validate-address",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({street:e,city:t,state:r,zip:s})});if(!n.ok)return;let a=await n.json();if("partial"===a.match&&a.suggestion){B(a.suggestion);let e=a.suggestion.split(",").map(e=>e.trim()),t=(e[2]||"").match(/^([A-Z]{2})\s+(\d{5}(-\d{4})?)$/);A({street:e[0]||"",city:e[1]||"",state:t?.[1]||"",zip:t?.[2]||""})}else B(""),A(null)}catch{}},J=async e=>{if(e.preventDefault(),!C){j("error"),k("Please complete the verification check before submitting.");return}j("submitting"),k("");try{let e,t,r=(e=function(e){try{let t=localStorage.getItem(e);if(!t)return null;let r=JSON.parse(t);if(Date.now()>r.expires_at)return localStorage.removeItem(e),null;return r}catch{return null}}("tce_attribution_first"),t=e?.data,{utm_source:t?.utm_source,utm_medium:t?.utm_medium,utm_campaign:t?.utm_campaign,utm_term:t?.utm_term,utm_content:t?.utm_content,gclid:t?.gclid,fbclid:t?.fbclid,msclkid:t?.msclkid,landing_page_url:t?.landing_page_url,referrer_url:t?.referrer_url,first_touch_at:t?.captured_at,conversion_touch_at:new Date().toISOString()}),s=o.filter(e=>f.services.includes(e.id)).map(e=>e.label),n=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:f.name,email:f.email||void 0,phone:f.phone||void 0,company:f.company||void 0,address:f.address||void 0,city:f.city||void 0,state:f.state||void 0,zip:f.zip||void 0,services:s,scheduleEstimate:q,smsOptIn:f.smsOptIn,legalAccept:f.legalAccept,attribution:r,turnstileToken:C})});if(!n.ok){let e=await n.json();throw Error(e.error||"Something went wrong.")}let a=await n.json();if(a.booking_token){window.location.href=`https://schedule.goarborone.com/book/${a.booking_token}`;return}a.scheduling_failed&&"string"==typeof a.customer_message&&N(a.customer_message),j("success")}catch(e){j("error"),k(e instanceof Error?e.message:"Something went wrong. Please try again."),S(null),$.current&&window.turnstile&&window.turnstile.reset($.current)}};if("success"===b)return(0,t.jsxs)("div",{ref:D,role:"status",tabIndex:-1,
1className:"bg-white rounded-2xl shadow-card-xxl p-10 text-center",children:[(0,t.jsx)("div",{className:"w-14 h-14 mx-auto mb-4 rounded-full bg-mint flex items-center justify-center","aria-hidden":"true",children:(0,t.jsx)("svg",{className:"w-7 h-7 text-brand",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})})}),(0,t.jsx)("h3",{className:"text-[1.5rem] font-bold text-ink-heading mb-3",children:y?"Got your request":"Thank you!"}),(0,t.jsx)("p",{className:"text-ink leading-relaxed",children:y||`We've received your request and will get back to you within 24 hours.${f.email?" Check your email for a confirmation.":""}`})]});let K="w-full px-4 py-2.5 bg-white border border-black/15 rounded-md text-[15px] text-ink-heading placeholder:text-black/40 focus:border-brand transition-colors",V="block text-[14px] font-bold text-ink-heading mb-1.5",X=(0,t.jsx)("span",{className:"text-red ml-0.5","aria-hidden":"true",children:"*"}),Z=f.services.includes("commercial");return(0,t.jsxs)("div",{className:"rounded-2xl shadow-card-xxl p-6 sm:p-8",style:m?{backgroundColor:"rgba(255, 255, 255, 0.7)",backdropFilter:"blur(12px)",WebkitBackdropFilter:"blur(12px)",border:"1px solid rgba(255, 255, 255, 0.5)"}:{backgroundColor:"#ffffff"},children:[R&&(0,t.jsx)(s.default,{src:"https://challenges.cloudflare.com/turnstile/v0/api.js",strategy:"lazyOnload",onLoad:()=>_(!0),onReady:()=>_(!0)}),a&&(0,t.jsx)("h2",{className:"font-bold text-ink-heading mb-2",style:{fontSize:"1.5rem",letterSpacing:"-0.5px",lineHeight:1.25},children:a}),c&&(0,t.jsx)("p",{className:"text-[14px] text-ink-soft mb-6 leading-relaxed",children:c}),(0,t.jsxs)("form",{onSubmit:J,onFocus:()=>{R||W(!0)},className:"space-y-5",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:"name",className:V,children:["Name",X]}),(0,t.jsx)("input",{id:"name",type:"text",required:!0,placeholder:"Jane Doe",className:K,value:f.name,onChange:e=>g({...f,name:e.target.value})})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{htmlFor:"email",className:V,children:["Email",q?X:null]}),(0,t.jsx)("input",{id:"email",type:"email",required:q,placeholder:"[email protected]",className:K,value:f.email,onChange:e=>g({...f,email:e.target.value}),"aria-describedby":q?"email-help":void 0}),q&&(0,t.jsx)("p",{id:"email-help",className:"mt-1.5 text-[12px] text-ink-soft",children:"Weâll email your booking link here."})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{className:Z?"":"md:col-span-2",children:[(0,t.jsxs)("label",{htmlFor:"phone",className:V,children:["Phone",X]}),(0,t.jsx)("input",{id:"phone",type:"tel",required:!0,placeholder:"(555) 555-5555",className:K,value:f.phone,onChange:e=>g({...f,phone:e.target.value}),"aria-describedby":"phone-help"}),(0,t.jsx)("p",{id:"phone-help",className:"mt-1.5 text-[12px] text-ink-soft",children:"Weâll use this to call you about your estimate. Text messages are optional."})]}),Z&&(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"company",className:V,children:"Company"}),(0,t.jsx)("input",{id:"company",type:"text",placeholder:"Acme Property Mgmt",className:K,value:f.company,onChange:e=>g({...f,company:e.target.value}),autoComplete:"organization"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"address",className:V,children:"Address"}),w?(0,t.jsx)(l,{id:"address",placeholder:"Start typing your addressâ¦",className:K,region:h,autoFocus:!0,value:f.address,onChange:e=>g(t=>({...t,address:e})),onSelect:e=>g(t=>({...t,address:e.address||t.address,city:e.city||t.city,state:e.state||t.state,zip:e.zip||t.zip}))}):(0,t.jsx)("input",{id:"address",type:"text",placeholder:"Start typing your addressâ¦",className:K,autoComplete:"street-address",value:f.address,onChange:e=>g(t=>({...t,address:e.target.value})),onFocus:()=>L(!0)})]}),(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"city",className:V,children:"City"}),(0,t.jsx)("input",{id:"city",type:"text",placeholder:x.exampleCity,className:K,value:f.city,onChange:e=>g({...f,city:e.target.value}),onBlur:U,autoComplete:"address-level2"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"state",className:V,children:"State"}),(0,t.jsx)("input",{id:"state",type:"text",placeholder:x.stateAbbr,className:K,value:f.state,onChange:e=>g({...f,state:e.target.value}),onBlur:U,autoComplete:"address-level1"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"zip",className:V,children:"ZIP"}),(0,t.jsx)("input",{id:"zip",type:"text",placeholder:x.examplePostalCode,className:K,value:f.zip,onChange:e=>g({...f,zip:e.target.value}),onBlur:U,autoComplete:"postal-code"})]})]}),z&&(0,t.jsxs)("div",{role:"status",className:"rounded-md border border-amber-300 bg-amber-50 px-4 py-3",children:[(0,t.jsxs)("p",{className:"text-[13px] text-amber-900 mb
1-2",children:[(0,t.jsx)("strong",{children:"Did you mean:"})," ",z]}),(0,t.jsx)("button",{type:"button",onClick:()=>{I&&(g(e=>({...e,address:I.street||e.address,city:I.city||e.city,state:I.state||e.state,zip:I.zip||e.zip})),B(""),A(null))},className:"inline-flex items-center gap-1 rounded-md bg-amber-600 px-3 py-1.5 text-[12px] font-semibold text-white hover:bg-amber-700 transition-colors",children:"Use this address"}),(0,t.jsx)("button",{type:"button",onClick:()=>{B(""),A(null)},className:"ml-2 inline-flex items-center gap-1 rounded-md border border-amber-300 bg-white px-3 py-1.5 text-[12px] font-semibold text-amber-900 hover:bg-amber-100 transition-colors",children:"Keep my version"})]}),(0,t.jsxs)("fieldset",{className:"border-0 p-0 m-0",children:[(0,t.jsx)("legend",{className:V,children:"Services"}),(0,t.jsx)("p",{id:"services-help",className:"text-[13px] text-ink-soft",style:{marginBottom:"0.75rem"},children:"What services are you interested in? Tap all that apply."}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 gap-3",children:o.map(e=>{let r=f.services.includes(e.id);return(0,t.jsxs)("button",{type:"button","aria-pressed":r,"aria-describedby":"services-help",onClick:()=>{var t;return t=e.id,void g(e=>({...e,services:e.services.includes(t)?e.services.filter(e=>e!==t):[...e.services,t]}))},className:r?"rounded-xl border-2 border-brand bg-mint text-ink-heading p-4 flex flex-col items-center justify-center gap-2 transition-all":"rounded-xl border border-black/15 bg-white text-ink-heading p-4 flex flex-col items-center justify-center gap-2 hover:border-brand hover:bg-mint/40 transition-all",children:[e.icon("w-7 h-7 text-ink-heading"),(0,t.jsx)("span",{className:"text-[13px] font-semibold text-center leading-tight",children:e.label})]},e.id)})})]}),H&&G&&(0,t.jsxs)("label",{htmlFor:"scheduleEstimate",className:"flex items-start gap-3 p-4 rounded-xl border border-brand bg-mint/50 cursor-pointer",children:[(0,t.jsx)("input",{id:"scheduleEstimate",type:"checkbox",checked:E,onChange:e=>T(e.target.checked),className:"mt-1 w-5 h-5 accent-brand flex-none","aria-describedby":"scheduleEstimate-desc"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"block text-[14px] font-bold text-ink-heading",children:"Schedule your free estimate now"}),(0,t.jsx)("span",{id:"scheduleEstimate-desc",className:"block text-[13px] text-ink-soft mt-0.5",children:"Pick a day and time that works for you â weâll have one of our certified arborists meet you on-site."})]})]}),(0,t.jsxs)("label",{htmlFor:"smsOptIn",className:"flex items-start gap-3 p-4 bg-surface-alt rounded-xl cursor-pointer",children:[(0,t.jsx)("input",{id:"smsOptIn",type:"checkbox",checked:f.smsOptIn,onChange:e=>g({...f,smsOptIn:e.target.checked}),className:"mt-1 w-5 h-5 accent-brand flex-none","aria-label":"Text me booking confirmations and service updates","aria-describedby":"sms-optin-desc"}),(0,t.jsxs)("span",{id:"sms-optin-desc",className:"text-[13px] text-ink leading-relaxed",children:["Text me booking confirmations, appointment reminders, and service updates from Tree Care Enterprises. Message frequency varies. Message and data rates may apply. Reply ",(0,t.jsx)("strong",{children:"STOP"})," to unsubscribe. Reply ",(0,t.jsx)("strong",{children:"HELP"})," for help. Consent is not required to purchase. See our"," ",(0,t.jsx)(n.default,{href:"/legal/sms-terms",className:"text-brand underline",children:"SMS Program Terms"})," and"," ",(0,t.jsx)(n.default,{href:"/legal/privacy",className:"text-brand underline",children:"Privacy Policy"}),"."]})]}),(0,t.jsxs)("label",{htmlFor:"legalAccept",className:"flex items-start gap-3 p-4 bg-surface-alt rounded-xl cursor-pointer",children:[(0,t.jsx)("input",{id:"legalAccept",type:"checkbox",required:!0,checked:f.legalAccept,onChange:e=>g({...f,legalAccept:e.target.checked}),className:"mt-1 w-5 h-5 accent-brand flex-none","aria-label":"I agree to the Terms of Service and Privacy Policy","aria-describedby":"legal-accept-desc"}),(0,t.jsxs)("span",{id:"legal-accept-desc",className:"text-[13px] text-ink leading-relaxed",children:["I have read and agree to the"," ",(0,t.jsx)(n.default,{href:"/legal/terms",className:"text-brand underline",children:"Terms of Service"})," and"," ",(0,t.jsx)(n.default,{href:"/legal/privacy",className:"text-brand underline",children:"Privacy Policy"}),"."]})]}),P&&(0,t.jsx)("div",{ref:F,className:"flex justify-center pt-2"}),"error"===b&&(0,t.jsx)("div",{role:"alert",className:"bg-red/10 border border-red/30 text-red px-4 py-3 rounded-md text-[14px]",children:v}),(0,t.jsxs)("button",{type:"submit",disabled:"submitting"===b||P&&!C,className:"emergency"===u?"w-full py-3.5 bg-red text-white font-semibold rounded-md hover:bg-red/90 transition-colors disabled:opacity-60 flex items-center justify-center gap-2":"w-full py-3.5 bg-brand text-white font-semibold rounded-md hover:bg-brand-bright transition-colors disabled:opacity-60 flex items-center justify-center gap-2",children:[(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,"aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 12L3.27 3.13a.5.5 0 01.7-.6l17 8.5a.5.5 0 010 .9l-17 8.5a.5.5 0 01-.7-.6L6 12zm0 0H13"})}),"submitting"===b?q?"Finding available times...":"Sending...":q?"Submit & Schedule Estimate":"Get my free estimate"]}),(0,t.jsxs)("p",{className:"flex items-center justify-center gap-1.5 text-[13px] text-ink-soft",children:[(0,t.jsx)("svg",{className:"w-4 h-4 text-brand",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),"We'll reach out within one business day, usually faster."]})]})]})}],65254)},86748,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(22016);let n="tce-region-banner-dismissed";e.s(["default",0,function(){let[e,a]=(0,r.useState)(!1);return((0,r.useEffect)(()=>
1{if("1"===function(e){if("u"<typeof document)return null;let t=document.cookie.match(RegExp(`(?:^|; )${e}=([^;]*)`));return t?decodeURIComponent(t[1]):null}(n))return;let e=!1;return fetch("/api/geo",{cache:"no-store"}).then(e=>e.ok?e.json():null).then(t=>{!e&&t?.closerToLakeGeneva&&a(!0)}).catch(()=>{}),()=>{e=!0}},[]),e)?(0,t.jsx)("aside",{"data-region-banner":!0,className:"bg-brand text-white",role:"region","aria-label":"Region suggestion",children:(0,t.jsxs)("div",{className:"tce-container flex items-center justify-between gap-4 py-2.5 text-[14px]",children:[(0,t.jsxs)("p",{className:"leading-snug",children:[(0,t.jsx)("span",{className:"font-semibold",children:"Closer to Lake Geneva, WI?"})," ",(0,t.jsx)(s.default,{href:"/lake-geneva",className:"underline underline-offset-2 hover:no-underline",children:"Visit our Lake Geneva site â"})]}),(0,t.jsx)("button",{onClick:function(){document.cookie=`${n}=1; path=/; max-age=7776000; samesite=lax`,a(!1)},"aria-label":"Dismiss region suggestion",className:"flex-none opacity-80 hover:opacity-100 transition-opacity p-1",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]})}):null}])},64034,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(57688),n=e.i(22016);e.s(["default",0,function(e){let{posts:a}=e,[i,l]=(0,r.useState)(0),[o,d]=(0,r.useState)(!1),[c,u]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=window.matchMedia("(prefers-reduced-motion: reduce)"),t=()=>u(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);let m=a.length>1&&!o&&!c;(0,r.useEffect)(()=>{if(!m)return;let e=setInterval(()=>{l(e=>(e+1)%a.length)},7e3);return()=>clearInterval(e)},[m,a.length]);let h=(0,r.useRef)([]);if((0,r.useEffect)(()=>{h.current.forEach((e,t)=>{e&&(t===i?e.removeAttribute("inert"):e.setAttribute("inert",""))})},[i,a.length]),!a||0===a.length)return null;let p=a.length;return(0,t.jsx)("section",{className:"bg-surface",children:(0,t.jsxs)("div",{className:"tce-container tce-section",children:[(0,t.jsxs)("div",{className:"max-w-3xl mx-auto text-center mb-12",children:[(0,t.jsx)("p",{className:"intro-tag mb-4",children:"Service Area"}),(0,t.jsx)("h2",{className:"font-bold mb-4",children:"In the News"}),(0,t.jsx)("p",{className:"text-[1.125rem] text-ink",children:"Find Tree Care Enterprises services near you"})]}),(0,t.jsx)("div",{className:"relative overflow-hidden",role:"group","aria-roledescription":"carousel","aria-label":"In the News","aria-live":m?"off":"polite",children:(0,t.jsx)("div",{className:"flex transition-transform duration-700 ease-out",style:{transform:`translateX(-${100*i}%)`},children:a.map((e,r)=>(0,t.jsx)("article",{ref:e=>{h.current[r]=e},className:"flex-none w-full",role:"group","aria-roledescription":"slide","aria-label":`${r+1} of ${p}`,"aria-hidden":r!==i,children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-20 items-center",children:[(0,t.jsxs)("div",{className:"order-2 lg:order-1",children:[(0,t.jsx)("p",{className:"intro-tag mb-4",children:e.category??"Tips"}),(0,t.jsx)("h3",{className:"text-[1.5rem] md:text-[2rem] font-bold leading-[1.3] mb-4 text-ink-heading",children:(0,t.jsx)(n.default,{href:`/blog/${e.slug}`,className:"hover:text-brand transition-colors",children:e.title})}),e.description&&(0,t.jsx)("p",{className:"text-[1.0625rem] text-ink leading-relaxed mb-6",children:e.description}),(0,t.jsxs)(n.default,{href:`/blog/${e.slug}`,className:"btn-primary",children:["Read more",(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})]})]}),(0,t.jsx)("div",{className:"order-1 lg:order-2 relative w-full border border-brand-bright rounded-lg overflow-hidden aspect-[4/3] max-h-[480px] mx-auto",children:(0,t.jsx)(s.default,{src:e.image??"/images/hero.avif",alt:e.title,fill:!0,sizes:"(max-width: 1024px) 100vw, 50vw",className:"object-cover"})})]})},e.slug))})}),(0,t.jsxs)("div",{className:"relative flex flex-wrap items-center justify-between gap-y-3 mt-10",children:[(0,t.jsx)("div",{className:"w-24",children:p>1&&!c&&(0,t.jsxs)("button",{type:"button",onClick:()=>d(e=>!e),"aria-pressed":o,className:"min-w-11 min-h-11 inline-flex items-center justify-center gap-1.5 rounded-full border border-brand-dusk/30 bg-white px-3 text-[13px] font-semibold text-ink-heading hover:bg-mint transition-colors",children:[o?(0,t.jsx)("svg",{className:"w-4 h-4",fill:"
1currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})}):(0,t.jsx)("svg",{className:"w-4 h-4",fill:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 5h4v14H6zM14 5h4v14h-4z"})}),o?"Play":"Pause"]})}),(0,t.jsx)("div",{className:"order-first flex w-full justify-center sm:order-none sm:w-auto sm:flex-1",children:a.map((e,r)=>(0,t.jsx)("button",{type:"button",onClick:()=>l(r),"aria-label":`Go to slide ${r+1} of ${p}`,"aria-current":r===i,className:"h-6 inline-flex items-center justify-center px-2",children:(0,t.jsx)("span",{"aria-hidden":!0,className:`block h-2 rounded-full transition-all ${r===i?"bg-brand-dusk w-6":"bg-brand-dusk/30 w-2"}`})},r))}),(0,t.jsxs)("div",{className:"flex gap-2 w-24 justify-end",children:[(0,t.jsx)("button",{type:"button",onClick:()=>l(e=>(e-1+p)%p),"aria-label":"Previous slide",className:"w-11 h-11 rounded-full border border-brand-dusk/30 bg-white hover:bg-mint transition-colors flex items-center justify-center text-ink-heading",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"})})}),(0,t.jsx)("button",{type:"button",onClick:()=>l(e=>(e+1)%p),"aria-label":"Next slide",className:"w-11 h-11 rounded-full border border-brand-dusk/30 bg-white hover:bg-mint transition-colors flex items-center justify-center text-ink-heading",children:(0,t.jsx)("svg",{className:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,"aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})})]})]})]})})}])},57938,e=>{e.v(t=>Promise.all(["static/chunks/0kcwf~-wppxot.js"].map(t=>e.l(t))).then(()=>t(10103)))}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.