"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9449,9133],{84792:function(e,s,l){var a=l(85893),t=l(16829);s.Z=e=>{let{svgClass:s,pathClass:l,...i}=e;return(0,a.jsx)("svg",{width:"14",height:"8",viewBox:"0 0 14 8",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Arrow Up Icon",className:(0,t.Z)(s||"stroke-cadet"),...i,children:(0,a.jsx)("path",{d:"M13 7L7 1L1 7",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:l})})}},49133:function(e,s,l){l.r(s);var a=l(85893),t=l(67294),i=l(43078),r=l(93967),n=l.n(r),c=l(15830),d=l(83884);s.default=e=>{var s,l,r,o,m,x;let[h,u]=(0,t.useState)(!1),{title:p,description:b,email_input:f,disclaimer:j='By pressing "submit", I understand that I am providing express consent for Trane Residential to contact me about this request or similar topics. I can unsubscribe and opt-out from future communications at any time. See our Privacy Policy for more information.',background_img_large:g,background_img_small:v}=e.attributes.data,{forceMobile:N=!1}=e,[y,w]=(0,t.useState)(!1),C=e=>{w(!!e.target.value)},k="banner-email",Z=(0,t.useId)(),T="".concat(k,"-email-").concat(Z),P="".concat(k,"-country-").concat(Z),S=(0,t.useRef)(!1),R=e=>{S.current||((0,d.p)({event:"dealer_form_start",formId:k,fieldStarted:e}),S.current=!0)};return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"z-9 container relative mx-auto flex flex-col justify-between overflow-hidden rounded-lg bg-black px-5 py-10 ".concat(N?"":"md:px-20 lg:flex-row lg:py-28"),children:[(0,a.jsx)("div",{style:{"--bg-sm":"url(".concat((null===(r=e.mediaData)||void 0===r?void 0:null===(l=r[1])||void 0===l?void 0:null===(s=l.node)||void 0===s?void 0:s.sourceUrl)||"",")"),"--bg-lg":"url(".concat((null===(x=e.mediaData)||void 0===x?void 0:null===(m=x[0])||void 0===m?void 0:null===(o=m.node)||void 0===o?void 0:o.sourceUrl)||"",")")},className:"absolute inset-0 bg-[image:var(--bg-sm)] bg-cover bg-center opacity-60 md:bg-[image:var(--bg-lg)]","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"z-10 grid ".concat(N?"":"lg:grid-cols-2"),children:[(0,a.jsxs)("div",{className:"mb-6 ".concat(N?"":"lg:mb-0 lg:mr-20"),children:[(0,a.jsx)("h2",{className:"mb-4 mt-0 p-0 text-28 font-bold text-white",children:p}),(0,a.jsx)("span",{className:"block text-16 text-white",children:b})]}),(0,a.jsx)("div",{className:n()({"lg:ml-8 lg:flex lg:items-center":!N}),children:"1"===f&&(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"w-full text-center lg:mb-0",children:[!h&&(0,a.jsxs)(i.l0,{className:n()("flex flex-wrap justify-center",{"lg:ml-8 lg:w-90% lg:justify-end":!N}),id:k,brand:"Trane",kind:"MARKETO",source:"TRANE:BANNER_WITH_EMAIL_CAPABILITY",onSubmit:()=>{(0,d.p)({event:"dealer_form_success",formId:k}),u(!0)},name:"CUSTOMER EMAIL",children:[(0,a.jsx)(i.U5,{id:T,placeholder:"Enter your email",autoComplete:"email",label:"Email",name:"email",onChange:e=>{C(e),R("email")},required:!0,loadingNode:(0,a.jsx)("span",{className:"font-14 absolute inset-1/4 z-2 h-56 bg-error-red py-4 text-white",children:"Sending..."}),errorMessages:{external:"Please enter a valid email",none:null,required:"Please enter a valid email",regex:"Please enter an email with a @ and a domain name"},wrapperClassName:"w-full",errorMessageClassName:"text-error-red text-14 font-bold text-left my-2",errorClassName:"order-4 w-full text-error-red my-0",inputClassName:"py-4 order-2 rounded w-full border-light-silver ".concat(""),inputOnErrorClassName:"",labelClassName:"sr-only order-1"}),(0,a.jsxs)("div",{className:"relative flex basis-full gap-4 pt-4",children:[(0,a.jsxs)(i.Ph,{id:P,label:"Country",name:"country",errorMessages:{external:"Please select a country",none:null,required:"Please select a country",regex:"Please select a country"},labelClassName:"sr-only",wrapperClassName:"flex-1 flex flex-col",inputClassName:"rounded border border-light-silver text-black flex-1 px-2",inputOnErrorClassName:"rounded border border-trane-red text-black flex-1 px-2",errorClassName:"order-4 w-full text-error-red my-0 absolute bottom-[-2.75rem]",errorMessageClassName:"text-error-red text-14 font-bold text-left",required:!0,children:[(0,a.jsx)("option",{value:"US",defaultChecked:!0,children:"United States"}),(0,a.jsx)("option",{value:"CA",children:"Canada"}),(0,a.jsx)("option",{value:"OO",children:"Other"})]}),(0,a.jsx)(i.Mm,{disabled:!y,"data-position":"body","data-location":"banner","data-action":"submit","data-text-grouping":"cta","data-text":"send","data-type":"button",className:n()("text-16 leading-1.7 text-white","rounded","order-3 bg-trane-red","disabled:cursor-not-allowed disabled:bg-trane-red/50","px-6 py-3"),children:"Send"})]}),(0,a.jsx)(i.Q2,{children:(0,a.jsx)("p",{className:n()("mt-9","order-5","text-left text-10 leading-1.2 text-ceiling-bright-white"),dangerouslySetInnerHTML:{__html:(0,c.F)(j)}})})]}),h&&(0,a.jsx)("div",{className:"text-22 text-white",children:"Thank you! Your email has been successfully\xa0submitted."})]})})})]})]})})}},176:function(e,s,l){var a=l(85893),t=l(14701),i=l(84792),r=l(47013);s.Z=e=>(0,a.jsx)("div",{className:"flex w-full items-center justify-center py-3 md:justify-start lg:ml-auto lg:w-auto",children:(0,a.jsxs)(r.Z,{disableBase:!0,onClick:()=>{e.openDropdown(!e.categoryOpen)},addClass:"flex items-center lg:ml-auto",children:[(0,a.jsx)("span",{className:"font-IBM text-12 uppercase",children:"Browse by category"}),(0,a.jsx)("span",{className:"ml-1 inline-block h-6 w-6 sm:ml-3",children:e.categoryOpen?(0,a.jsx)(i.Z,{svgClass:"stroke-trane-red w-full mt-2"}):(0,a.jsx)(t.Z,{svgClass:"stroke-trane-red w-full mt-2"})})]})})},63413:function(e,s,l){var a=l(85893),t=l(29e3);s.Z=()=>(0,a.jsx)(t.Z,{children:(0,a.jsx)("div",{className:"flex",children:(0,a.jsxs)("ul",{className:"list-none pb-2 pl-0 pt-2 font-Inter sm:columns-2",children:[(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/hvac-tips-and-tricks/",className:"font-600",children:"HVAC Tips & Tricks"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/indoor-air-quality/",className:"font-600",children:"Indoor Air Quality"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/about-trane/",className:"font-600",children:"About Trane"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/energy-savings/",className:"font-600",children:"Energy Savings"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/home-improvement/",className:"font-600",children:"Home Improvement"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/maintenance/",className:"font-600",children:"Maintenance"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/press-releases/",className:"font-600",children:"Press Releases"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/troubleshooting/",className:"font-600",children:"Troubleshooting"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/smart-home/",className:"font-600",children:"Smart Home"})}),(0,a.jsx)("li",{className:"m-0 pb-0 pl-0 pt-1 sm:w-48 sm:pt-2",children:(0,a.jsx)("a",{href:"/residential/en/resources/blog/category/videos/",className:"font-600",children:"Videos"})})]})})})},92094:function(e,s,l){l.d(s,{Z:function(){return i}});var a=l(85893);l(67294);var t=l(47013);function i(e){let s={containerClasses:"",imageClasses:"",textContClasses:"",titleClasses:"",descriptionClasses:"",buttonClasses:""};return s=(null==e?void 0:e.cardStyling)==="pdpAdvanced"?{containerClasses:"flex flex-col sm:flex-1 justify-center min-h-[325px] sm:min-h-[375px] w-full sm:min-w-[400px]",imageClasses:"rounded-3xl p-9 h-full bg-cover bg-black",textContClasses:"h-full flex flex-col justify-center text-white",titleClasses:"font-bold text-[20px] mb-0 text-center mt-0",descriptionClasses:"mb-0 text-base mt-2 text-center",buttonClasses:"w-fit transition duration-150 ease-in-out hover:scale-105 mt-4 text-center rounded-full px-5 py-2 text-14 min-w-fit"}:{containerClasses:"flex flex-col sm:flex-1 justify-center min-h-[325px] w-full lg:min-h-fit",imageClasses:"rounded-lg p-9 h-full bg-cover",textContClasses:"h-full flex flex-col justify-between text-white",titleClasses:"font-bold text-22 mb-0 mt-5",descriptionClasses:"mb-6 text-base mt-12",buttonClasses:"w-full lg:w-fit transition duration-150 ease-in-out hover:scale-105 mt-9"},(0,a.jsx)("div",{"data-testid":"CtaCard--container",className:s.containerClasses,children:(0,a.jsx)("div",{"data-testid":"CtaCard--image",className:s.imageClasses,style:{backgroundImage:"url(".concat(e.bgImg,")")},children:(0,a.jsxs)("div",{className:s.textContClasses,children:[(0,a.jsx)("div",{className:(null==e?void 0:e.cardStyling)?"":"h-1/6",children:(0,a.jsx)("p",{"data-testid":"CtaCard--title",className:s.titleClasses,children:e.title})}),(0,a.jsx)("div",{className:(null==e?void 0:e.cardStyling)?"":"h-3/6",children:(0,a.jsx)("p",{"data-testid":"CtaCard--description",className:s.descriptionClasses,children:e.desc})}),(0,a.jsx)("div",{className:(null==e?void 0:e.cardStyling)?"text-center":"h-2/6",children:(0,a.jsx)(t.Z,{href:e.url,primary:"secondary"!==e.buttonStyle,addClass:s.buttonClasses,dataTrackingProps:{position:"body",location:"card",action:"internal link",textGrouping:"cta",text:e.title,type:"button"},newTab:e.newTab,children:e.btnText})})]})})})}},55534:function(e,s,l){l.d(s,{Z:function(){return y}});var a=l(85893),t=l(67294),i=l(11163),r=l(29050),n=l(76085),c=l(30654),d=l(8841),o=l(16437),m=l(67482),x=(0,t.memo)(e=>{let{generalDisclaimer:s,noCanadaDisclaimerAbove:l,noCanadaDisclaimerBelow:i}=e,[r]=(0,o.Z)(),c=(0,t.useMemo)(()=>!(0,m.nO)(r),[r]);return(0,a.jsxs)("div",{"data-testid":"disclaimerRepeater",children:[l&&c&&(0,a.jsx)("div",{className:"container mx-auto p-4 text-sm",children:(0,a.jsx)(n.Z,{content:l})}),s&&(0,a.jsx)("div",{className:"container mx-auto p-4 text-sm",children:(0,a.jsx)(n.Z,{content:s})}),i&&c&&(0,a.jsx)("div",{className:"container mx-auto p-4 text-sm",children:(0,a.jsx)(n.Z,{content:i})})]})}),h=l(29e3),u=l(16835),p=l(47013),b=l(64971),f=(0,t.memo)(e=>{let{asPath:s,useBeLink:l,currentDateYear:t}=e;return(0,a.jsxs)("footer",{className:"visible hidden lg:block",children:[(0,a.jsx)(h.Z,{backgroundClass:"bg-gradient-to-b from-gray-900 to-gray-700 text-white py-8 lg:pb-4 text-sm px-0",children:(0,a.jsx)(u.Z,{useBeLink:l})}),(0,a.jsx)("div",{className:"bg-black",children:(0,a.jsxs)("div",{className:"container mx-auto flex w-full items-center justify-between px-10 py-6 text-xs text-white md:px-6 lg:px-8",children:[(0,a.jsxs)("div",{className:"flex grow items-center",children:[(0,a.jsxs)("div",{className:"block font-bold md:mr-0 lg:mr-6 xl:mr-12",children:["\xa9 ",t," Trane. All Rights Reserved."]}),(0,a.jsx)("div",{className:"grow items-center",children:(0,a.jsxs)("ul",{className:"mb-0 flex list-none flex-wrap items-center gap-[5%]",children:[(0,a.jsx)("li",{children:(0,a.jsx)("a",{className:"text-white",href:"https://www.tranetechnologies.com/en/index/privacy-policy.html",children:"Privacy Policy"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{className:"text-white",href:"https://www.tranetechnologies.com/en/index/terms-of-use.html",children:"Terms & Conditions"})}),(0,a.jsx)("li",{className:"pb-0",children:(0,a.jsx)("a",{className:"text-white",href:"/residential/en/accessibility/",children:"Accessibility"})}),(0,a.jsx)("li",{className:"pb-0",children:(0,a.jsx)("a",{className:"text-white",href:"/residential/gas-electric-packaged-unit-recall/",children:"Product Recall"})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{className:"text-white",href:"/residential/en/sitemap/",children:"Sitemap"})}),(0,a.jsx)("li",{children:(0,a.jsx)(p.Z,{disableBase:!0,href:"/residential/es/",children:(0,a.jsx)("span",{className:"block font-bold",children:"Espa\xf1ol"})})}),(0,a.jsx)("li",{children:(0,a.jsx)(p.Z,{disableBase:!0,href:"/residential/fr/",children:(0,a.jsx)("span",{className:"block font-bold",children:"Fran\xe7ais"})})})]})})]}),(0,a.jsx)("div",{className:"flex-0 w-[115px] md:ml-5 lg:ml-7 xl:ml-10",children:(0,a.jsx)(b.Z,{})})]})})]})}),j=l(89212),g=(0,t.memo)(e=>{let{asPath:s,currentDateYear:l,useBeLink:t}=e;return(0,a.jsxs)("footer",{className:"visible lg:hidden",children:[(0,a.jsx)(h.Z,{backgroundClass:"bg-gradient-to-b from-gray-900 to-gray-700 text-white py-8 text-sm",children:(0,a.jsx)(j.Z,{useBeLink:t})}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"w-full justify-around bg-black px-4 py-6 text-xs text-white",children:(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,a.jsx)("div",{children:(0,a.jsx)(b.Z,{})}),(0,a.jsxs)("div",{className:"display:block-inline font-bold",children:["\xa9 ",l," Trane. All Rights Reserved."]})]}),(0,a.jsx)("div",{className:"text-right",children:(0,a.jsxs)("ul",{className:"mb-0 list-none space-y-2",children:[(0,a.jsx)("li",{children:(0,a.jsx)("a",{className:"pt-9",href:"https://www.tranetechnologies.com/en/index/privacy-policy.html",children:"Privacy Policy"})}),(0,a.jsx)("li",{children:(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)("a",{className:"py-5",href:"https://www.tranetechnologies.com/en/index/terms-of-use.html",children:"Terms & Conditions"})})}),(0,a.jsx)("li",{className:"mt-5",children:(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)("a",{className:"py-5",href:"/residential/en/accessibility/",children:"Accessibility"})})}),(0,a.jsx)("li",{className:"mt-5",children:(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)("a",{className:"py-5",href:"/residential/gas-electric-packaged-unit-recall/",children:"Product Recall"})})}),(0,a.jsx)("li",{className:"mt-5",children:(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)(p.Z,{disableBase:!0,href:"/residential/es/",children:(0,a.jsx)("span",{className:"mb-2 block font-bold",children:"Espa\xf1ol"})})})}),(0,a.jsx)("li",{className:"pb-0",children:(0,a.jsx)("div",{className:"mt-5",children:(0,a.jsx)(p.Z,{disableBase:!0,href:"/residential/fr/",children:(0,a.jsx)("span",{className:"mb-2 block font-bold",children:"Fran\xe7ais"})})})})]})})]})})})]})});let v=(0,r.V)(),N=t.memo(e=>{var s,l;return e.disclaimer?(0,a.jsx)(a.Fragment,{children:e.disclaimer?(0,a.jsx)("div",{"data-testid":"disclaimer",className:"container mx-auto px-4 text-sm",children:(0,a.jsx)(n.Z,{content:null!==(l=null===(s=e.disclaimer)||void 0===s?void 0:s.disclaimer)&&void 0!==l?l:""})}):""}):null});N.displayName="DisclaimerBlock";var y=e=>{let{disclaimer:s,useBeLink:l=!1}=e,{zip:r,siteOptions:n}=(0,t.useContext)(c.z),{asPath:o}=(0,i.useRouter)(),[m,h]=(0,t.useState)(!1);return(0,a.jsxs)("div",{"data-testid":"footer",className:"relative print:hidden",children:[(0,a.jsx)(f,{useBeLink:l,currentDateYear:v,asPath:o}),(0,a.jsx)(g,{useBeLink:l,asPath:o,currentDateYear:v}),(null==s?void 0:s.conditionalDisclaimerRepeater)&&!!r&&(null==s?void 0:s.enableConditionalDisclaimer)&&(0,a.jsx)("div",{"data-testid":"conditionalDisclaimer",className:"container mx-auto px-4 pt-4 text-sm",children:null==s?void 0:s.conditionalDisclaimerRepeater.map((e,s)=>(0,a.jsx)("div",{children:(0,a.jsx)(d.Z,{handleConditionalDisclaimer:()=>{h(!0)},conditionalDisclaimer:e,siteOptions:n,zip:r})},s))}),(null==s?void 0:s.disclaimer)&&(0,a.jsx)(N,{disclaimer:s}),(null==s?void 0:s.canadaExclusionDisclaimerRepeater)&&(null==s?void 0:s.canadaExclusionDisclaimerRepeater.map((e,s)=>(0,a.jsx)(x,{generalDisclaimer:e.generaldisclaimer,noCanadaDisclaimerAbove:e.nocanadadisclaimerabove,noCanadaDisclaimerBelow:e.nocanadadisclaimerbelow},s)))]})}}}]);