(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[330,4210,2445],{50881:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return a(1268)}])},75534:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return b}});var l=a(85893),i=a(67294),o=a(11163),n=a(72095),s=a(32293),r=a(76416),d=a(3798),c=a(83884),x=e=>{let{setZip:t,customFunction:a,zip:o}=e,[n,s]=(0,i.useState)(o),[r,x]=(0,i.useState)(!1),u=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{s(o)},[o]),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("form",{className:"mb-6 flex flex-col items-center lg:mb-10",onSubmit:e=>{e.preventDefault(),(0,c.M)({event:"dealer_slider_zipcode_search",zipcode:n.trim()}),""!==n?(x(!1),localStorage&&localStorage.setItem&&localStorage.setItem("zipcode",n),t(n),a&&a()):x(!0)},children:(0,l.jsxs)("div",{className:"relative flex min-w-300 flex-nowrap lg:min-w-500",children:[(0,l.jsx)("input",{value:n,onChange:function(e){s(e.target.value.trim()),u.current||((0,c.M)({event:"dealer_slider_zipcode_start",zipcode:e.target.value.trim()}),u.current=!0)},autoComplete:"off",className:"h-12 w-full rounded-full border-2 border-r-0 border-y-gray-200 border-l-gray-200 p-4 font-Lato",placeholder:"Enter Postal/Zip Code"}),(0,l.jsx)("button",{type:"submit",className:"absolute right-1.5 top-1.5 rounded-full bg-trane-red px-2.5 py-2.5","data-position":"body","data-location":"filter","data-action":"search","data-text-grouping":"cta","data-text":"search","data-type":"button",title:"Search","aria-label":"Search",children:(0,l.jsx)(d.Z,{svgClass:"stroke-white",pathClass:"stroke-white"})})]})}),r&&(0,l.jsx)("small",{className:"absolute -bottom-6 pl-6 text-trane-red",children:"Zip code or city is required"})]})},u=a(29e3),m=a(25473),h=e=>{let{dealers:t}=e,[a,o]=(0,i.useState)(null),[n,s]=(0,i.useState)(null);return(0,i.useEffect)(()=>{o({attributes:{data:{dealer_card_variation:e.dealerCardVariation,desk_options:"",desk_options_active:"1",desk_options_arrows:"1",desk_options_arrows_bg:"white",desk_options_arrows_border:"trane-red",desk_options_arrows_color:"trane-red",desk_options_automatic_transition:"0",desk_options_dots_colors:"cadet",desk_options_dots_navigation:"1",desk_options_infinite_loop:"0",desk_options_slides_per_view:"3",desk_options_transition_effect:"carousel",desk_options_wrapper_css:"0",mobile_options:"",mobile_options_active:"1",mobile_options_arrows:"1",mobile_options_arrows_bg:"white",mobile_options_arrows_border:"trane-red",mobile_options_arrows_color:"trane-red",mobile_options_automatic_transition:"0",mobile_options_dots_colors:"cadet",mobile_options_dots_navigation:"0",mobile_options_infinite_loop:"0",mobile_options_slides_per_view:"1",mobile_options_transition_effect:"carousel",mobile_options_wrapper_css:"0",tablet_options:"",tablet_options_active:"1",tablet_options_arrows:"1",tablet_options_arrows_bg:"white",tablet_options_arrows_border:"trane-red",tablet_options_arrows_color:"trane-red",tablet_options_automatic_transition:"0",tablet_options_dots_colors:"cadet",tablet_options_dots_navigation:"0",tablet_options_infinite_loop:"0",tablet_options_slides_per_view:"1",tablet_options_transition_effect:"carousel",tablet_options_wrapper_css:"0"}},typeOfData:"dealer-locator-slider",innerBlocks:t}),s(t)},[t,e.dealerCardVariation]),(0,l.jsx)(u.Z,{backgroundClass:"w-screen relative left-1/2 right-1/2 -mx-[50vw] pb-16",children:(0,l.jsx)("div",{className:"min-h-570",children:a&&t===n?(0,l.jsx)(m.default,{...a,numberType:e.numberType}):null})})},p=a(47013),g=e=>{let{zip:t}=e;return(0,l.jsx)("section",{className:"py-8 lg:py-20",children:(0,l.jsxs)("div",{className:"container mx-auto text-center",children:[(0,l.jsxs)("h2",{className:"mb-4 text-22 font-semibold lg:text-28",children:["We found 0 dealers servicing near ",t]}),(0,l.jsx)("span",{className:"mb-4 block font-semibold",children:"What this means for you:"}),(0,l.jsx)("span",{className:"mb-6 block px-6 lg:px-72",children:"The zip code may be incorrect. Please check the numbers and try again. Or, we may not have dealers in your area at this time. Expand your search to nearby zip or postal codes and cities."}),(0,l.jsx)(p.Z,{primary:!0,addClass:"rounded-[100px] w-fit",href:"/residential/en/find-a-dealer/",dataTrackingProps:{position:"body",location:"dealer card",textGrouping:"cta",text:"Find more dealers",type:"button",action:"internal link"},children:"Find more dealers"})]})})},v=a(30654),b=e=>{var t,a,d,c,u,m,p,b;let{dealerPhoneNumberType:f,dealerSectionHeader:w,dealerSectionSubHeader:j,applyVerticalPadding:y=!1}=e,_=(0,i.useContext)(v.z),N=_.zip,A=_.setZip,k=(0,o.useRouter)(),T=("string"==typeof k.query.zipcode?k.query.zipcode:"")||N;(0,i.useEffect)(()=>{T!==N&&A(T)},[N,T,A]);let[L,Z]=(0,i.useState)([]),C=L.length,[S,P]=(0,i.useState)(!1),F=(0,r.Z)(["/residential/en/campaigns/mg/trane-hvac-built-to-last/"],k.asPath)||!!parseInt(null===(a=e.attributes)||void 0===a?void 0:null===(t=a.data)||void 0===t?void 0:t.useTraneInfo),D=(e,t)=>{(0,n.d)(e,t).then(e=>{Z(e.dealers),P(!0)})};return(0,i.useEffect)(()=>{T&&D(T,F)},[T,F]),(0,l.jsxs)("div",{className:y?"pt-6 md:pt-10":"",children:[(0,l.jsx)("div",{className:"container mx-auto flex flex-col items-center justify-between px-4 lg:px-0",children:(0,l.jsxs)("div",{className:"pt-8 lg:w-2/5",children:[(0,l.jsx)("div",{id:"enter-your-zip",children:(0,l.jsx)("h2",{className:"my-0 text-center text-[22px] font-bold md:my-[revert] lg:text-3xl",children:w||"Our HVAC experts can help."})}),(0,l.jsx)("div",{className:"hidden md:block",children:(0,l.jsx)("p",{className:"pt-2 text-center",children:j||"We’re here to connect you with a trusted HVAC specialist in your area. Enter your postal/zip code below to get started."})}),(0,l.jsx)("div",{className:"pt-6 md:pt-0",children:(0,l.jsx)(x,{setZip:A,zip:T})}),C>0&&(0,l.jsxs)("p",{className:"mb-0 pt-1 text-center md:mb-[revert] md:pt-6",children:[(0,l.jsxs)("span",{children:["We found ",(0,l.jsx)("strong",{children:C})," "]}),(0,l.jsx)("strong",{children:"dealers "}),"servicing near",(0,l.jsxs)("span",{className:"font-bold",children:[" ",L.length?(0,s.Z)(null===(d=L[0])||void 0===d?void 0:d.data.city)+",":""," ",L?null===(c=L[0])||void 0===c?void 0:c.data.state:T]})]})]})}),(0,l.jsxs)("div",{className:"min-h-380 pb-4 lg:w-full",children:[C>=1&&(0,l.jsx)(h,{dealers:L,dealerCardVariation:null===(m=e.attributes)||void 0===m?void 0:null===(u=m.data)||void 0===u?void 0:u.dealer_card_variation,numberType:f?f[0]:null===(b=e.attributes)||void 0===b?void 0:null===(p=b.data)||void 0===p?void 0:p.numberType}),0===C&&S&&(0,l.jsx)(g,{zip:T})]})]})}},50386:function(e,t,a){"use strict";var l=a(85893);t.Z=e=>{let{className:t="",fillColor:a="#FF2B00",...i}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 76 76",className:t,"aria-label":"Handshake Icon",...i,children:(0,l.jsx)("path",{fill:a,d:"M37.333 63.243a2.3 2.3 0 0 0 .953-.22c.323-.146.578-.312.764-.499l25.328-25.327c.714-.715 1.252-1.478 1.614-2.29a6.224 6.224 0 0 0 .541-2.557c0-.926-.18-1.817-.541-2.674a6.857 6.857 0 0 0-1.615-2.308L51.712 14.7c-.682-.715-1.421-1.237-2.217-1.568a6.663 6.663 0 0 0-2.581-.496c-.893 0-1.751.165-2.573.496-.823.33-1.58.854-2.275 1.568l-1.815 1.815 5.858 5.907a6.406 6.406 0 0 1 1.575 2.32c.339.87.508 1.77.508 2.704 0 1.933-.645 3.544-1.936 4.835s-2.903 1.937-4.836 1.937a8.094 8.094 0 0 1-2.713-.463 6.156 6.156 0 0 1-2.329-1.48l-5.998-5.95L16.616 40.09a2.406 2.406 0 0 0-.719 1.718c0 .584.2 1.084.597 1.498.398.414.89.621 1.474.621.313 0 .63-.073.953-.219a2.57 2.57 0 0 0 .765-.5l10.4-10.4 3.337 3.336-10.352 10.401a2.41 2.41 0 0 0-.718 1.718c0 .564.204 1.05.612 1.459.408.407.894.611 1.458.611.313 0 .63-.073.953-.219.323-.146.578-.313.764-.5l10.767-10.717 3.337 3.337L29.526 53a1.927 1.927 0 0 0-.523.764c-.13.322-.195.64-.195.953 0 .564.204 1.05.612 1.459a1.99 1.99 0 0 0 1.458.612 2.419 2.419 0 0 0 1.717-.72l10.767-10.717 3.338 3.337-10.767 10.767c-.24.24-.42.517-.54.834-.119.317-.179.621-.179.914 0 .584.217 1.07.652 1.458.434.388.923.582 1.467.582Zm-.049 4.75c-1.79 0-3.35-.622-4.682-1.864-1.332-1.242-2.028-2.789-2.089-4.64-1.794-.122-3.294-.76-4.497-1.912-1.204-1.154-1.857-2.668-1.958-4.544-1.876-.121-3.392-.777-4.549-1.966-1.157-1.19-1.777-2.686-1.858-4.489-1.884-.121-3.438-.804-4.665-2.049-1.226-1.244-1.839-2.818-1.839-4.722 0-.934.178-1.848.533-2.744a6.894 6.894 0 0 1 1.55-2.36l17.149-17.1 9.275 9.275c.186.22.43.394.733.524s.63.195.984.195c.576 0 1.073-.19 1.491-.572.419-.382.628-.881.628-1.499 0-.353-.065-.68-.195-.983a1.97 1.97 0 0 0-.524-.734L31.663 14.701c-.681-.715-1.425-1.237-2.231-1.568a6.78 6.78 0 0 0-2.598-.496c-.893 0-1.74.165-2.542.496-.802.33-1.56.854-2.274 1.568l-10.402 10.45a7.124 7.124 0 0 0-1.415 2.043 6.933 6.933 0 0 0-.649 2.403 6.997 6.997 0 0 0 .091 2c.126.66.347 1.28.664 1.861L6.81 36.953a11.534 11.534 0 0 1-1.613-3.465 12.03 12.03 0 0 1-.445-3.89c.065-1.459.394-2.866.987-4.224a11.762 11.762 0 0 1 2.49-3.639l10.37-10.37c1.187-1.154 2.477-2.022 3.871-2.604a11.283 11.283 0 0 1 4.394-.874c1.534 0 2.994.292 4.378.874 1.385.582 2.654 1.45 3.806 2.603l1.816 1.815 1.814-1.815c1.186-1.153 2.47-2.02 3.855-2.603a11.173 11.173 0 0 1 4.379-.874c1.534 0 2.999.292 4.393.874 1.395.582 2.669 1.45 3.822 2.603l12.587 12.588a12.123 12.123 0 0 1 2.65 3.937 11.63 11.63 0 0 1 .918 4.509 10.7 10.7 0 0 1-.919 4.379c-.613 1.384-1.496 2.653-2.649 3.805L42.387 65.861a7.126 7.126 0 0 1-5.103 2.131Z"})})}},33640:function(e,t,a){"use strict";var l=a(85893);t.Z=e=>{let{className:t="",fillColor:a="#FF2B00",...i}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 76 76",className:t,"aria-label":"Hammer and Screwdriver Icon",...i,children:(0,l.jsx)("path",{fill:a,d:"M57.97 67.953c-.369 0-.713-.059-1.03-.176a2.541 2.541 0 0 1-.909-.606L40.575 51.777a2.54 2.54 0 0 1-.608-.907 2.944 2.944 0 0 1-.176-1.029c0-.368.058-.711.176-1.03.118-.317.32-.618.608-.904l5.806-5.795c.287-.286.59-.488.907-.606a2.962 2.962 0 0 1 1.032-.176c.37 0 .713.059 1.032.176.318.118.621.32.908.606l15.456 15.424c.287.286.49.587.608.905.117.318.176.662.176 1.03 0 .369-.059.712-.176 1.03-.118.317-.32.619-.608.905l-5.807 5.765a2.543 2.543 0 0 1-.907.606 2.949 2.949 0 0 1-1.031.176Zm0-5.235 3.255-3.247-12.858-12.83-3.253 3.248 12.857 12.83ZM17.078 68c-.37 0-.721-.067-1.055-.2a2.79 2.79 0 0 1-.931-.629l-5.76-5.718a2.768 2.768 0 0 1-.63-.929 2.8 2.8 0 0 1-.201-1.053c0-.368.067-.717.2-1.044.134-.328.344-.635.631-.921L25.342 41.53h6.455l2.487-2.483-12.821-12.794h-4.368l-8.507-8.488 7.6-7.582 8.506 8.488v4.359l12.82 12.794 9.067-9.047-4.474-4.465 3.879-3.87H38.18l-1.703-1.671L46.268 7l1.675 1.67v7.818l3.878-3.87 11.532 11.447a7.888 7.888 0 0 1 1.83 2.694 8.397 8.397 0 0 1 .616 3.2 8.101 8.101 0 0 1-2.004 5.353l-6.396-6.382-4.322 4.312L49.83 30 34.998 44.8v6.453L19.017 67.17c-.287.286-.59.496-.909.63-.318.132-.662.199-1.031.199Zm0-5.312 14.06-14.029v-3.247h-3.255l-14.059 14.03 3.254 3.246Zm0 0-3.254-3.247 1.65 1.6 1.604 1.647Z"})})}},56823:function(e,t,a){"use strict";var l=a(85893);t.Z=e=>{let{className:t="",fillColor:a="#FF2B00",...i}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 75 76",className:t,"aria-label":"Ribbon with checkmark icon",...i,children:(0,l.jsx)("path",{fill:a,d:"M37.501 4c7.203 0 13.339 2.516 18.336 7.514 4.997 4.997 7.514 11.132 7.514 18.336 0 3.377-.586 6.582-1.792 9.58-1.207 3-2.896 5.618-5.102 7.893V72l-18.956-6.031L18.546 72V47.323c-2.171-2.274-3.86-4.928-5.066-7.892-1.207-2.999-1.828-6.17-1.828-9.581 0-7.204 2.517-13.339 7.514-18.336C24.163 6.516 30.298 4 37.501 4Zm13.786 47.597a25.642 25.642 0 0 1-6.444 2.999c-2.344.724-4.792 1.068-7.342 1.068s-4.997-.345-7.34-1.068a25.65 25.65 0 0 1-6.446-3v12.822L37.5 60.73l13.786 3.688V51.597ZM37.501 9.17c-5.755 0-10.615 1.999-14.647 6.031-4.033 4.033-6.032 8.893-6.032 14.649 0 5.755 2 10.615 6.032 14.647s8.892 6.031 14.647 6.031c5.756 0 10.616-1.998 14.648-6.03 4.033-4.033 6.032-8.893 6.032-14.648 0-5.756-2-10.616-6.032-14.649-4.032-4.032-8.892-6.031-14.648-6.031Zm14.654 13.854L33.924 41.36h-.035L22.894 30.435l3.688-3.688 7.307 7.34L48.468 19.44l3.687 3.584Z"})})}},48900:function(e,t,a){"use strict";a.d(t,{Z:function(){return i}});var l=a(85893),i=e=>{let{valueProps:t}=e;return(0,l.jsx)("div",{className:"bg-neutral-light-gray py-7 lg:mt-0 lg:py-16 print:hidden",children:(0,l.jsx)("div",{className:"container mx-auto grid w-full grid-cols-1 gap-6 px-4 lg:grid-cols-3 lg:gap-24 print:max-w-full",children:t.map(e=>{let{icon:t,title:a,description:i}=e;return(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsx)(t,{className:"w-19 mb-1 h-19"}),(0,l.jsx)("p",{className:"my-0 mb-5 text-center text-xl font-bold text-red-text",children:a}),(0,l.jsx)("p",{className:"mt-0 text-center text-sm font-medium text-dim-gray",children:i})]},a)})})})}},84210:function(e,t,a){"use strict";a.r(t);var l=a(85893),i=a(67294);t.default=e=>{let[t,a]=(0,i.useState)("");return(0,i.useEffect)(()=>{let t="";["youtube","vimeo","wistia"].forEach(a=>{var l,i,o;(null===(o=e.attributes)||void 0===o?void 0:null===(i=o.data)||void 0===i?void 0:null===(l=i.url)||void 0===l?void 0:l.includes(a))&&(t=e.attributes.data.url)}),t&&a(t)},[]),(0,l.jsx)(l.Fragment,{children:""!==t&&(0,l.jsx)("div",{"data-position":"body","data-location":"card","data-action":"toggle","data-text-grouping":"","data-text":"video","data-type":"video",className:"aspect-h-9 aspect-w-16",children:(0,l.jsx)("iframe",{title:e.attributes.data.title,src:e.attributes.data.url,allowFullScreen:!0})})})}},16597:function(e,t,a){"use strict";a.r(t);var l=a(85893),i=a(47013),o=a(25675),n=a.n(o),s=a(29e3);t.default=e=>{let{header:t,image:a,description:o,pictureSide:r,buttonData:d,dataattributes:c}=e;return(0,l.jsx)(s.Z,{contentClass:"py-12 md:py-8 lg:py-20",children:(0,l.jsxs)("div",{className:"flex flex-col-reverse md:gap-4 ".concat("left"===r?"lg:flex-row":"lg:flex-row-reverse"," lg:items-center"),children:[(0,l.jsx)(n(),{src:a.node.sourceUrl,alt:a.node.altText,width:a.node.mediaDetails.width||400,height:a.node.mediaDetails.height||600,className:"h-auto w-full rounded-2xl object-cover lg:h-[400px] lg:w-1/2"}),(0,l.jsxs)("div",{className:"w-full px-2 md:px-0 lg:w-1/2 lg:px-8",children:[(0,l.jsx)("h2",{className:"mt-0 text-xl font-semibold md:mb-6 md:text-2xl",children:t}),(0,l.jsx)("div",{className:"text-base font-normal md:-mb-2 lg:mb-4",children:o}),d.buttonText&&(0,l.jsx)(i.Z,{primary:!0,addClass:"rounded-full w-fit lg:mt-2 md:mb-4 mb-8 text-base py-2.5 px-6",href:d.buttonLink||"/residential",dataAttributes:{"data-position":(null==c?void 0:c.dataPosition)||"body","data-location":(null==c?void 0:c.dataLocation)||"content block","data-text-grouping":(null==c?void 0:c.dataTextGrouping)||"","data-text":"".concat(d.buttonText),"data-action":(null==c?void 0:c.dataAction)||"internal link","data-type":(null==c?void 0:c.dataType)||"button"},children:d.buttonText})]})]})})}},40980:function(e,t,a){"use strict";var l=a(85893),i=a(11163),o=a(32752),n=a(36140),s=a(55534),r=a(53472),d=a(33086);t.Z=e=>{var t;let{disclaimer:a,schemaBlock:c}=e,{asPath:x}=(0,i.useRouter)(),u=x.includes("/electrification-hub"),m=x.includes("/learning-hvac");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.Z,{seo:e.seo,title:null!==(t=e.title)&&void 0!==t?t:""}),(0,l.jsx)(d.Z,{schemaData:null==c?void 0:c.schemaBlock}),(0,l.jsx)(r.Z,{hideNavOffset:!m}),(0,l.jsx)("main",{role:"main",id:"main-content",children:(0,l.jsx)(o.Z,{...e})}),(0,l.jsx)(s.Z,{disclaimer:a,useBeLink:u})]})}},1268:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return ea},default:function(){return el}});var l=a(85893),i=a(81451),o=a(40980),n=a(11163),s=a(32752),r=a(36140),d=a(33086),c=a(53472),x=a(55534);a(67294);var u=a(25675),m=a.n(u),h=a(16829),p=a(9025),g=a(18755),v={src:"/_next/static/media/Trane-unstoppable-event-badge.f428ce2a.webp",height:67,width:170,blurDataURL:"data:image/webp;base64,UklGRm4AAABXRUJQVlA4WAoAAAAQAAAABwAAAgAAQUxQSBkAAAAANS5TXmVJLjhnaWFmZW9cViItZGFkXSwiAFZQOCAuAAAAsAEAnQEqCAADAAJAOCWkAAL8VX71AAD+nBmfXO0CCaTlRH23/cEUZbDWOHwAAA==",blurWidth:8,blurHeight:3},b={src:"/_next/static/media/sk-campaign-trane-unit-black-and-red.c5259f83.webp",height:767,width:2e3,blurDataURL:"data:image/webp;base64,UklGRjAAAABXRUJQVlA4ICQAAABwAQCdASoIAAMAAkA4JZwCdAFAAAD++veLf2cyucGN+OsAAAA=",blurWidth:8,blurHeight:3},f=e=>{let{title:t,introText:a,isNavDark:i,ctaHref:o}=e;return(0,l.jsxs)("section",{className:(0,h.Z)("relative max-h-max overflow-hidden bg-black",{"-mt-[72px]":i}),children:[(0,l.jsxs)("picture",{children:[(0,l.jsx)("source",{srcSet:"/_next/static/media/hero-lead-form-with-trane-unit-mobile.c91953eb.webp",media:"(max-width: 1024px)"}),(0,l.jsx)(m(),{id:"rebate-hero-bg",priority:!0,src:b,alt:"Savings, Rebates, and Offers Hero Background",className:"absolute z-0",style:{objectFit:"cover",minWidth:"100%",minHeight:"100%"}})]}),(0,l.jsx)("div",{className:"z-9 lg:py-22 container relative mx-auto flex flex-col px-4 py-8",children:(0,l.jsxs)("div",{className:"grid w-full grid-cols-6 flex-wrap items-stretch lg:grid-cols-12 lg:gap-8",children:[(0,l.jsxs)("div",{className:"col-span-6 flex max-w-lg flex-col justify-center lg:col-span-6",children:[(0,l.jsx)(m(),{src:v,alt:"Unstoppable Event Badge",className:"mb-6 hidden lg:block"}),(0,l.jsx)("h1",{className:"mb-6 mt-0 font-Lato text-28 font-700 leading-8 text-white lg:text-42 lg:leading-12",children:t}),a&&(0,l.jsx)("p",{className:"text-container my-0 mb-6 text-balance font-Lato text-sm font-400 text-white lg:text-16",children:a}),o&&(0,l.jsx)(g.Z,{"data-testid":"lead-gen-hero-cta",href:o,className:(0,h.Z)("flex justify-center border !border-trane-red bg-white py-3 lg:py-4"),"data-position":"bottom","data-location":"hero","data-action":"click","data-type":"link","data-text-grouping":"cta","data-text":"find a local pro",children:(0,l.jsx)("span",{className:"text-center font-Lato text-base font-700 text-trane-red",children:"Find a Local Pro"})})]}),(0,l.jsx)("div",{className:"col-span-6 hidden lg:flex",children:(0,l.jsx)(p.default,{attributes:{data:{title:"Let us match you with a local pro",is_address_step_first:"0"}},basicSuccessComponent:!0})})]})})]})},w=a(69345),j=a(75534),y=a(83798),_=a(50386),N=a(33640),A=a(56823);let k=[{rating:5,quote:"Love the new Trane heat pump. It's quieter than my old one and my heating/cooling bills are less each month.",product:(0,l.jsx)("a",{href:"/residential/en/products/heat-pumps/premier-20-tc-wg/",className:"text-black hover:text-trane-red","aria-label":"View 20 TruComfort™ Variable Speed Heat Pump with WeatherGuard™",children:"20 TruComfort™ Variable Speed Heat Pump with WeatherGuard™"}),author:"-Vickie",location:""},{rating:5,quote:"We replaced our old worn-out heat pump with the 17 Multi-Speed Heat Pump with WeatherGuard™ and it was one of the best moves we could have made.",product:(0,l.jsx)("a",{href:"/residential/en/products/heat-pumps/priority-17-wg/",className:"text-black hover:text-trane-red","aria-label":"View 17 Multi-Speed Heat Pump with WeatherGuard™",children:"17 Multi-Speed Heat Pump with WeatherGuard™"}),author:"-Rob",location:""},{rating:5,quote:"Easy to use and gives me the information I want. I can easily access it from my phone to change settings.",product:(0,l.jsx)("a",{href:"/residential/en/products/thermostats-and-controls/smart-thermostats/trane-link-ux360/",className:"text-black hover:text-trane-red","aria-label":"View Trane\xae LINK UX360",children:"Trane\xae LINK UX360"}),author:"-Dave",location:""}],T={showSavingsSummary:!0,savingsSummaryTitle:"Explore Additional Savings",showDealerLocator:!0,showReviews:!0,reviewsSectionTitle:"Why trust us with your home comfort?",reviewsSectionSubtitle:"Hear from the other homeowners."},L=(0,l.jsxs)(l.Fragment,{children:["Enjoy 0% APR financing offer for 60 months",(0,l.jsx)("sup",{children:(0,l.jsx)("a",{href:"#credit-terms",className:"!text-white hover:!text-trane-red hover:no-underline","aria-label":"See Terms",children:"1"})})]}),Z={"2026-offer-texas":{hero:{title:(0,l.jsxs)(l.Fragment,{children:["Save on a new HVAC system with instant rebates up to $900",(0,l.jsx)("a",{href:"#more-info",className:"hover:text-trane-red hover:no-underline","aria-label":"See disclaimer for details",children:"*"})]}),introText:L,ctaText:"Find a Local Pro",ctaHref:"#enter-your-zip"},sections:{...T,valueProps:[{icon:_.Z,title:"Reputation for Quality",description:(0,l.jsxs)(l.Fragment,{children:["Trane is America’s Most Trusted HVAC Brand",(0,l.jsx)("sup",{children:"*"})," for 12 consecutive years, providing purposeful design, rigorous testing, and industry-leading innovation."]})},{icon:N.Z,title:"Purposeful Design",description:"Trane products are designed to provide superior energy-efficient cooling and quiet, reliable operation."},{icon:A.Z,title:"Rigorous Testing",description:"In order to wear the Trane badge, our units are exposed to the harshest conditions and situations in our SEET (System Extreme Environmental Test) Lab in Tyler, Texas."}]},reviews:k},"2026-offer-phoenix":{hero:{title:(0,l.jsxs)(l.Fragment,{children:["Save on a new HVAC system with instant rebates up to $900",(0,l.jsx)("a",{href:"#more-info",className:"hover:text-trane-red hover:no-underline","aria-label":"See disclaimer for details",children:"*"})]}),introText:L,ctaText:"Find a Local Pro",ctaHref:"#enter-your-zip"},sections:{...T,valueProps:[{icon:_.Z,title:"Reputation for Quality",description:(0,l.jsxs)(l.Fragment,{children:["Trane is America’s Most Trusted HVAC Brand",(0,l.jsx)("sup",{children:"*"})," for 12 consecutive years, providing purposeful design, rigorous testing, and industry-leading innovation."]})},{icon:N.Z,title:"Purposeful Design",description:"Trane products are designed to provide superior energy-efficient cooling and quiet, reliable operation."},{icon:A.Z,title:"Rigorous Testing",description:"In order to wear the Trane badge, our units are exposed to the harshest conditions and situations in our SEET (System Extreme Environmental Test) Lab in Tyler, Texas."}]},reviews:k}},C=e=>{var t;let a=Object.keys(Z).find(t=>e.includes(t));if(!a)return null;let l=Z[a];return{...l,sections:{...T,...l.sections},reviews:null!==(t=l.reviews)&&void 0!==t?t:k}};var S=a(48900),P=e=>{var t,a;let{config:i}=e,o=null!==(t=null==i?void 0:i.hero)&&void 0!==t?t:{title:"Save on a new HVAC system with instant rebates up to $900*",introText:""},n={...T,...null==i?void 0:i.sections},s=null!==(a=null==i?void 0:i.reviews)&&void 0!==a?a:k;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(f,{isNavDark:!1,title:o.title,introText:o.introText,ctaHref:o.ctaHref}),n.showSavingsSummary&&(0,l.jsxs)("section",{className:"container mx-auto grid w-full grid-cols-1 flex-wrap items-stretch px-4 py-9 md:flex-nowrap md:gap-8 lg:py-20 print:max-w-full",children:[(0,l.jsx)("h2",{className:"text-center text-2xl lg:text-32",children:n.savingsSummaryTitle}),(0,l.jsx)(w.default,{})]}),n.showDealerLocator&&(0,l.jsx)("section",{id:"enter-your-zip",className:"bg-ivory-egg",children:(0,l.jsx)(j.default,{attributes:{data:{dealer_card_variation:"Call Focused Cards"}}})}),n.showReviews&&s.length>0&&(0,l.jsx)("section",{className:"bg-gradient-to-b from-red-900 to-black py-9 lg:py-20",children:(0,l.jsxs)("div",{className:"container mx-auto",children:[(0,l.jsx)("h2",{className:"mb-4 text-center font-Lato text-28 leading-9 text-white lg:text-32 lg:leading-13",children:n.reviewsSectionTitle}),(0,l.jsx)("p",{className:"mb-10 mt-0 text-center text-20 text-white lg:text-24",children:n.reviewsSectionSubtitle}),(0,l.jsx)("div",{className:"flex flex-row gap-4 overflow-x-auto px-6 pb-16 lg:items-stretch lg:gap-4 lg:overflow-visible lg:px-0",children:s.map((e,t)=>(0,l.jsx)("div",{className:"w-[85%] flex-shrink-0 lg:w-auto lg:flex-1 lg:flex-shrink [&>div]:h-full",children:(0,l.jsx)(y.Z,{quote:e.quote,product:e.product,author:e.author,location:e.location,variant:"light"})},t))})]})}),n.valueProps&&n.valueProps.length>0&&(0,l.jsx)(S.Z,{valueProps:n.valueProps})]})},F=e=>{var t,a,i,o,u;let{schemaBlock:m}=e,{asPath:h}=(0,n.useRouter)(),p=C(h);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{seo:e.seo,title:null!==(u=e.title)&&void 0!==u?u:""}),(0,l.jsx)(d.Z,{schemaData:null==m?void 0:m.schemaBlock}),!(null===(a=e.template)||void 0===a?void 0:null===(t=a.landingPage)||void 0===t?void 0:t.noHeader)&&(0,l.jsx)(c.Z,{hideNavOffset:!0,stickyBanner:!0}),(0,l.jsxs)("main",{children:[p&&(0,l.jsx)(P,{config:p}),(0,l.jsx)(s.Z,{...e})]}),!(null===(o=e.template)||void 0===o?void 0:null===(i=o.landingPage)||void 0===i?void 0:i.noFooter)&&(0,l.jsx)(x.Z,{disclaimer:e.disclaimer})]})},D=a(47013),H=a(29e3),E=a(15830);function I(e){var t,a;let{card:i,backgroundColor:o}=e;return i?(0,l.jsxs)("div",{className:"flex w-full flex-col items-center px-6 lg:flex-1",children:[(null===(a=i.icon)||void 0===a?void 0:null===(t=a.node)||void 0===t?void 0:t.sourceUrl)&&(0,l.jsx)(m(),{src:i.icon.node.sourceUrl,alt:i.header,width:40,height:40,style:{objectFit:"contain"}}),(0,l.jsx)("h3",{className:"mb-4 mt-6 text-center text-xl font-bold ".concat(o?"text-white":"text-black"," lg:text-[22px]"),children:i.header}),(0,l.jsx)("div",{className:"m-0 text-center text-base ".concat(o?"text-white":"text-black"),dangerouslySetInnerHTML:{__html:(0,E.F)(i.description)}})]}):null}function R(e){var t,a,i,o,n,s,r,d;let{heading:c,backgroundColor:x,cardOne:u,cardTwo:m,cardThree:h,threeCardCta:p}=e;return(0,l.jsxs)(H.Z,{backgroundClass:x?"bg-black":"bg-white",contentClass:"py-12 md:py-8 lg:pt-[120px] lg:pb-20 max-w-screen-xl mx-auto",children:[c&&(0,l.jsx)("h2",{className:"m-0 text-center text-2xl font-bold ".concat(x?"text-white":"text-black"," lg:text-2.5xl"),children:c}),(0,l.jsxs)("div",{className:"m-0 flex flex-col items-center gap-10 py-12 sm:py-8 lg:flex-row lg:items-start lg:justify-between lg:gap-0 lg:py-10",children:[u&&(0,l.jsx)(I,{card:u,backgroundColor:x}),m&&(0,l.jsx)(I,{card:m,backgroundColor:x}),h&&(0,l.jsx)(I,{card:h,backgroundColor:x})]}),(null==p?void 0:p.enableCta)&&p.ctaText&&(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(D.Z,{href:null===(t=p.ctaAction)||void 0===t?void 0:t.url,newTab:(null===(a=p.ctaAction)||void 0===a?void 0:a.target)==="_blank"?"1":"0",dataTrackingProps:{action:null===(i=p.dataAttributes)||void 0===i?void 0:i.dataAction,location:null===(o=p.dataAttributes)||void 0===o?void 0:o.dataLocation,position:null===(n=p.dataAttributes)||void 0===n?void 0:n.dataPosition,text:null===(s=p.dataAttributes)||void 0===s?void 0:s.dataText,textGrouping:null===(r=p.dataAttributes)||void 0===r?void 0:r.dataTextGrouping,type:null===(d=p.dataAttributes)||void 0===d?void 0:d.dataType},primary:!0,addClass:"rounded-full w-fit text-sm py-3.5",children:p.ctaText})})]})}var V=a(16597),z=a(76085),B=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split(", ").map(e=>{let[t,a]=e.split(" ");return'url("'.concat(t,'") ').concat(a)}).join(", ");return"image-set(".concat(t,")")},U=a(83275),W=e=>{var t,a,i,o,n,s,r,d,c,x,g,v,b,f;let{heroCta:w,enableCta:j,enableLeadForm:y,enableLogoImage:_,hideLogoImageMobile:N,convertDescriptionToHtml:A,convertHeadlineToHtml:k,convertSubheadingToHtml:T,enablePhoneNumberCta:L,phoneNumber:Z,backgroundImage:C,description:S,headline:P,leadFormTitle:F,logoImage:E,subheading:I,imagePosition:R}=e,V=R&&["left","center","right"].includes(R)?R:"left",{props:{srcSet:W}}=(0,u.getImageProps)({alt:null==C?void 0:null===(t=C.node)||void 0===t?void 0:t.altText,src:null==C?void 0:null===(a=C.node)||void 0===a?void 0:a.sourceUrl,height:null==C?void 0:null===(o=C.node)||void 0===o?void 0:null===(i=o.mediaDetails)||void 0===i?void 0:i.height,width:null==C?void 0:null===(s=C.node)||void 0===s?void 0:null===(n=s.mediaDetails)||void 0===n?void 0:n.width}),M=B(W),O="my-0 text-2.5xl font-bold md:text-42 md:leading-13",G="my-0 pt-2 text-lg font-bold",q="my-0 pt-4 text-14 font-normal leading-5 md:pt-6 md:text-16 md:leading-6",Q=(0,h.Z)(O,"[&_p]:m-0"),X=(0,h.Z)(G,"[&_p]:m-0"),J=(0,h.Z)(q,"[&_p]:m-0"),$=null!==(f=null==Z?void 0:null===(r=Z.phoneNumber)||void 0===r?void 0:r.toString())&&void 0!==f?f:"",K=(0,U.Z)($);return(0,l.jsx)("section",{"data-testid":"hero-section",style:{backgroundImage:M,backgroundSize:"cover",backgroundPosition:V},children:(0,l.jsx)(H.Z,{children:(0,l.jsxs)("div",{className:"".concat(y&&"flex flex-col items-center justify-between gap-x-10"," relative py-10 font-400 text-white md:py-12 lg:flex-row lg:py-16"),children:[(0,l.jsxs)("div",{className:"md:min-w-1/2 w-full",children:[_&&(0,l.jsx)("div",{className:N?"hidden md:block relative h-16 w-full pb-2":"relative h-16 w-full pb-2","data-testid":"logo-wrapper",children:(0,l.jsx)(m(),{src:null==E?void 0:E.node.sourceUrl,alt:null==E?void 0:E.node.altText,fill:!0,style:{objectFit:"contain",objectPosition:"left"},priority:!0})}),k?(0,l.jsx)(z.Z,{content:P,contentClasses:Q}):(0,l.jsx)("h1",{className:O,children:P}),T?(0,l.jsx)(z.Z,{content:I,contentClasses:X}):(0,l.jsx)("h2",{className:G,children:I}),A?(0,l.jsx)(z.Z,{content:S,contentClasses:J}):(0,l.jsx)("p",{className:q,children:S}),j&&(0,l.jsx)(D.Z,{newTab:(null===(d=w.buttonData)||void 0===d?void 0:d.target)==="_blank"?"1":"0",href:null===(c=w.buttonData)||void 0===c?void 0:c.url,addClass:"bg-white text-black text-sm py-3 px-8 rounded-full font-normal hover:no-underline mb-0 mt-4 inline-block",disableBase:!0,dataTrackingProps:{action:w.dataAttributes.dataAction,location:w.dataAttributes.dataLocation,position:w.dataAttributes.dataPosition,text:(null===(x=w.dataAttributes)||void 0===x?void 0:x.dataText)||(null===(g=w.buttonData)||void 0===g?void 0:g.title),textGrouping:(null===(v=w.dataAttributes)||void 0===v?void 0:v.dataTextGrouping)||"",type:w.dataAttributes.dataType},children:null===(b=w.buttonData)||void 0===b?void 0:b.title}),L&&(0,l.jsxs)("p",{className:"text-small mb-0 font-bold md:text-base",children:[null==Z?void 0:Z.phoneNumberText,"\xa0",(0,l.jsx)("a",{className:"text-white",href:"tel:1".concat($),"data-position":"body","data-location":"content block","data-action":"call","data-text":K,"data-type":"link","data-text-grouping":"phone number",children:K})]})]}),y&&(0,l.jsx)("div",{"data-testid":"lead-form-container",className:"flex w-full flex-col justify-center pt-9 text-base lg:min-h-[500px] lg:pt-0",children:(0,l.jsx)(p.default,{attributes:{data:{title:F,is_address_step_first:"0"}}})})]})})})},M=()=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"13",viewBox:"0 0 14 13",fill:"none",children:(0,l.jsx)("path",{d:"M7 0L9.05725 4.16844L13.6574 4.83688L10.3287 8.08156L11.1145 12.6631L7 10.5L2.8855 12.6631L3.6713 8.08156L0.342604 4.83688L4.94275 4.16844L7 0Z",fill:"#DA2400"})}),O=()=>(0,l.jsx)("div",{className:"flex gap-1",children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,l.jsx)("div",{children:(0,l.jsx)(M,{})},t))}),G=e=>{let{testimonialText:t,footnoteOne:a,footnoteTwo:i,showStars:o}=e;return(0,l.jsxs)("div",{className:"flex min-h-[25rem] w-[16rem] flex-col rounded-3xl bg-ivory-egg p-4 shadow-sm transition-shadow hover:shadow-md md:w-[26rem] md:p-8 lg:w-[24rem]",children:[o&&(0,l.jsx)(O,{}),(0,l.jsx)("div",{className:"text-normal mb-6 flex-grow text-base leading-relaxed [&_p]:m-0 ".concat(o?"mt-4":""),dangerouslySetInnerHTML:{__html:(0,E.F)(t)}}),(0,l.jsxs)("div",{className:"mt-auto flex flex-col text-lg font-semibold [&_p]:m-0",children:[(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,E.F)(a)}}),(0,l.jsx)("span",{children:i})]})]})},q=e=>{let{header:t,subHeader:a,cardsarray:i=[]}=e;return(0,l.jsxs)("div",{className:"w-full py-12 md:py-20 lg:py-20",children:[(0,l.jsxs)(H.Z,{fullScreen:!0,contentClass:"mx-auto w-full px-4 md:px-6 lg:px-8 mt-6 mb-12 text-center",children:[(0,l.jsx)("h2",{className:"mb-5 text-[1.75rem] font-bold md:mb-6 md:text-[2rem]",children:t}),(0,l.jsx)("p",{className:"mx-auto max-w-xl text-base font-light md:text-[1rem]",children:a})]}),(0,l.jsxs)("div",{className:"relative flex justify-center pl-4 md:pl-6 lg:pl-8",children:[(0,l.jsx)("div",{className:"modal-remove-sb flex snap-x snap-mandatory gap-4 overflow-x-auto pb-4 pr-4 md:pr-6 lg:pr-8 xl:hidden",children:i.map((e,t)=>(0,l.jsx)("div",{className:"flex-none snap-start",children:(0,l.jsx)(G,{testimonialText:e.testimonialtext,footnoteOne:e.footnoteOne,footnoteTwo:e.footnoteTwo,showStars:e.showStars})},t))}),(0,l.jsx)("div",{className:"hidden xl:grid xl:grid-cols-3 xl:gap-4",children:i.map((e,t)=>(0,l.jsx)("div",{children:(0,l.jsx)(G,{testimonialText:e.testimonialtext,footnoteOne:e.footnoteOne,footnoteTwo:e.footnoteTwo,showStars:e.showStars})},t))})]})]})},Q=e=>(0,l.jsx)("section",{"aria-labelledby":"most-trusted-hvac",children:(0,l.jsx)("div",{className:"w-full bg-black py-8 md:py-10 lg:py-0",children:(0,l.jsxs)("div",{className:"mx-auto max-w-[1500px] px-6 lg:grid lg:min-h-[670px] lg:grid-cols-2 lg:items-center lg:gap-8 lg:px-10",children:[(0,l.jsx)("div",{className:"hidden items-center justify-center lg:flex",children:(0,l.jsx)(m(),{src:e.awardProductImage.node.sourceUrl,alt:e.awardProductImage.node.altText,width:440,height:532,sizes:"(min-width:1024px) 440px",className:"h-auto w-[440px] max-w-full object-contain",priority:!0})}),(0,l.jsxs)("div",{className:"flex w-full flex-col items-center lg:items-start",children:[(0,l.jsxs)("div",{className:"mb-6 mt-2 w-full lg:hidden",children:[(0,l.jsx)("div",{className:"mb-6 flex justify-center",children:(0,l.jsx)(m(),{src:e.awardProductImage.node.sourceUrl,alt:e.awardProductImage.node.altText,width:218,height:360,className:"h-auto w-[218px] object-contain md:w-[424px]"})}),(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsx)(m(),{src:e.awardLogo.node.sourceUrl,alt:e.awardLogo.node.altText,width:340,height:206,className:"h-auto w-[300px] object-contain md:w-[340px]"})})]}),(0,l.jsx)("div",{className:"hidden pb-8 pt-36 lg:block xl:pb-6 xl:pr-28",children:(0,l.jsx)(m(),{src:e.awardLogo.node.sourceUrl,alt:e.awardLogo.node.altText,width:321,height:194,className:"h-auto w-[321px] object-contain"})}),(0,l.jsxs)("div",{className:"max-w-[510px] px-4 text-left font-Lato text-sm leading-6 text-white lg:px-0 lg:text-left lg:text-base",children:[(0,l.jsx)(z.Z,{content:e.awardDescription}),(0,l.jsx)("div",{className:"pt-6 lg:pb-36",children:(0,l.jsxs)("a",{className:"text-xs italic text-white",onClick:e=>{e.preventDefault();let t=e.currentTarget.href.replace(/.*\#/,""),a=document.getElementById(t);null==a||a.scrollIntoView({behavior:"smooth"})},href:"#award-details","data-position":"body","data-location":"content block","data-action":"anchor","data-text":"Award details","data-type":"link",children:["Award ",(0,l.jsx)("strong",{children:"details**"})]})})]})]})]})})});function X(e){var t;let a=Math.max((null===(t=e.headerRow)||void 0===t?void 0:t.length)||0,e.bodyRows?Math.max(...e.bodyRows.map(e=>{var t;return(null===(t=e.row)||void 0===t?void 0:t.length)||0})):0),i=(e,t)=>({className:"".concat(e?"sticky left-0 z-10 text-center font-bold text-lg lg:text-xl":"table-cell whitespace-nowrap"," ").concat("border-4 border-t-0 border-black px-4 py-6 text-left"," ").concat(e&&a>1?"border-l-0":"border-x-0"),style:{minWidth:"80px",width:e?"150px":"auto",zIndex:e?10:"auto",backgroundColor:e?void 0!==t?t%2==0?"#2F2F2F":"#383838":"#636262":"transparent"}}),o=(e,t,a)=>{let o=i(0===t,a);if(!e||!e.column)return(0,l.jsx)("td",{className:"table-cell whitespace-nowrap px-4 py-6 text-left",style:{backgroundColor:void 0!==a?a%2==0?"#2F2F2F":"#383838":"#636262"},children:(0,l.jsx)("div",{className:"text-left",children:"\xa0 "})},t);{let a=1===e.column.length&&!/[a-zA-Z0-9]/.test(e.column);return(0,l.jsx)("td",{className:o.className,style:o.style,children:(0,l.jsx)("div",{className:"".concat(a?"ml-5 xl:!ml-0":""),children:e.column})},t)}},n=(e,t)=>{if(!e)return[];let l=[];for(let i=0;i0&&(0,l.jsx)("thead",{className:"sticky top-0 z-20",style:{backgroundColor:"#636262"},children:(0,l.jsx)("tr",{className:"border-4 border-x-0 border-t-0 border-solid border-black text-lg font-bold text-white lg:text-xl",style:{backgroundColor:"#636262"},children:n(e.headerRow)})}),(0,l.jsx)("tbody",{children:e.bodyRows&&e.bodyRows.length>0&&e.bodyRows.map((e,t)=>(0,l.jsx)("tr",{className:"text-secondary border-4 border-x-0 border-t-0 border-solid border-black text-lg text-white",style:{background:t%2==0?"#2F2F2F":"#383838"},children:n(e.row,t)},t))})]})})})}function J(e){return(0,l.jsxs)(H.Z,{backgroundClass:"bg-black",contentClass:"max-w-screen-xl mx-auto py-8 md:py-12 lg:py-20",children:[(0,l.jsx)("h2",{className:"mb-0 text-center text-[22px] font-semibold text-white md:text-[32px]",children:e.header}),(0,l.jsx)("p",{className:"mx-auto mb-12 max-w-xl px-4 text-center text-base font-normal text-white",children:e.subHeader}),e.tableSection&&e.tableSection.map((e,t)=>(0,l.jsx)("div",{className:"mb-5",children:(0,l.jsx)(X,{...e})},t))]})}var $=a(84210),K=e=>e.videoUrl?(0,l.jsx)(H.Z,{contentClass:"py-8 md:py-12 lg:py-20 2xl:py-20 max-w-screen-xl mx-auto",children:(0,l.jsx)($.default,{attributes:{data:{url:e.videoUrl,title:e.title}}})}):null;let Y={Hero:"DynamicLandingPageContentHeroLayout",ThreeCard:"DynamicLandingPageContentThreeCardLayout",Image:"DynamicLandingPageContentImageLayout",Testimonial:"DynamicLandingPageContentTestimonialLayout",DealerLocator:"DynamicLandingPageContentDealerLocatorSliderLayout",Table:"DynamicLandingPageContentTableLayout",Award:"DynamicLandingPageContentAwardLayout",EcorebatesTool:"DynamicLandingPageContentEcorebatesToolLayout",VideoPlayer:"DynamicLandingPageContentVideoPlayerLayout"};var ee=e=>{switch(e.fieldGroupName){case Y.Hero:return(0,l.jsx)(W,{...e});case Y.ThreeCard:return(0,l.jsx)(R,{...e});case Y.Image:return(0,l.jsx)(V.default,{header:e.header,image:e.image,description:e.description,pictureSide:e.pictureSide,buttonData:e.buttonData,dataattributes:e.dataattributes,fieldGroupName:"DynamicLandingPageContentImageLayout"});case Y.Testimonial:return(0,l.jsx)(q,{...e});case Y.DealerLocator:return(0,l.jsx)(j.default,{...e,applyVerticalPadding:!0});case Y.Table:return(0,l.jsx)(J,{...e});case Y.Award:return(0,l.jsx)(Q,{...e});case Y.EcorebatesTool:var t;return(0,l.jsx)("section",{className:"py-10 lg:py-20",children:(0,l.jsx)(w.default,{attributes:{data:{hide_slider:e.hideSlider?"1":"0",header:null!==(t=e.header)&&void 0!==t?t:void 0}}})});case Y.VideoPlayer:return(0,l.jsx)(K,{...e})}return(0,l.jsx)(l.Fragment,{})},et=e=>{var t,a,i,o,n,s,u;let{schemaBlock:m}=e,h=null===(a=e.template)||void 0===a?void 0:null===(t=a.dynamicLandingPage)||void 0===t?void 0:t.content;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{seo:e.seo,title:null!==(u=e.title)&&void 0!==u?u:""}),(0,l.jsx)(d.Z,{schemaData:null==m?void 0:m.schemaBlock}),!(null===(o=e.template)||void 0===o?void 0:null===(i=o.dynamicLandingPage)||void 0===i?void 0:i.noHeader)&&(0,l.jsx)(c.Z,{hideNavOffset:!0,stickyBanner:!0}),(0,l.jsx)("main",{children:null==h?void 0:h.map((e,t)=>(0,l.jsx)(ee,{...e},"".concat(e.fieldGroupName,"-").concat(t)))}),!(null===(s=e.template)||void 0===s?void 0:null===(n=s.dynamicLandingPage)||void 0===n?void 0:n.noFooter)&&(0,l.jsx)(x.Z,{disclaimer:e.disclaimer})]})},ea=!0;function el(e){if(void 0!==e.slug){var t,a;return(null===(t=e.template)||void 0===t?void 0:t.templateName)==="Landing Page"?(0,l.jsx)(i.Z,{renderTemplate:(0,l.jsx)(F,{}),...e}):(null===(a=e.template)||void 0===a?void 0:a.templateName)==="Dynamic Landing Page"?(0,l.jsx)(i.Z,{renderTemplate:(0,l.jsx)(et,{}),...e}):(0,l.jsx)(i.Z,{renderTemplate:(0,l.jsx)(o.Z,{}),...e})}return e.author,(0,l.jsx)(i.Z,{renderTemplate:(0,l.jsx)(o.Z,{}),...e})}}},function(e){e.O(0,[3697,7149,1451,2861,4935,6057,9698,9345,9050,9025,2888,9774,179],function(){return e(e.s=50881)}),_N_E=e.O()}]);