1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2788,4075,5239,4810,6885,8776,9589,3366,8684,5433,5226,2469,1335,817,4561,3617,3960,5118,2143,8419,71,1136,523,9793,7450,578,6064],{75293:function(e,t,l){Promise.resolve().then(l.bind(l,45461)),Promise.resolve().then(l.bind(l,13664)),Promise.resolve().then(l.t.bind(l,9125,23)),Promise.resolve().then(l.t.bind(l,28517,23)),Promise.resolve().then(l.bind(l,1429)),Promise.resolve().then(l.bind(l,61470)),Promise.resolve().then(l.bind(l,76888)),Promise.resolve().then(l.bind(l,28529)),Promise.resolve().then(l.bind(l,24561)),Promise.resolve().then(l.bind(l,46106)),Promise.resolve().then(l.bind(l,23532)),Promise.resolve().then(l.bind(l,10173)),Promise.resolve().then(l.bind(l,69589)),Promise.resolve().then(l.bind(l,53846)),Promise.resolve().then(l.bind(l,50523)),Promise.resolve().then(l.bind(l,41444)),Promise.resolve().then(l.bind(l,31438)),Promise.resolve().then(l.bind(l,20578)),Promise.resolve().then(l.bind(l,56064)),Promise.resolve().then(l.bind(l,83617)),Promise.resolve().then(l.bind(l,63960)),Promise.resolve().then(l.bind(l,59872)),Promise.resolve().then(l.bind(l,97141)),Promise.resolve().then(l.bind(l,9472)),Promise.resolve().then(l.bind(l,13366)),Promise.resolve().then(l.bind(l,5882)),Promise.resolve().then(l.bind(l,40187)),Promise.resolve().then(l.bind(l,75239)),Promise.resolve().then(l.bind(l,89934)),Promise.resolve().then(l.bind(l,54810)),Promise.resolve().then(l.bind(l,98776)),Promise.resolve().then(l.bind(l,6885)),Promise.resolve().then(l.bind(l,13896)),Promise.resolve().then(l.bind(l,68684)),Promise.resolve().then(l.bind(l,58708)),Promise.resolve().then(l.bind(l,12143)),Promise.resolve().then(l.bind(l,10666)),Promise.resolve().then(l.bind(l,71)),Promise.resolve().then(l.bind(l,2036)),Promise.resolve().then(l.bind(l,11136)),Promise.resolve().then(l.bind(l,415)),Promise.resolve().then(l.bind(l,5239)),Promise.resolve().then(l.bind(l,24075)),Promise.resolve().then(l.bind(l,77173)),Promise.resolve().then(l.bind(l,95226)),Promise.resolve().then(l.bind(l,66425)),Promise.resolve().then(l.bind(l,4010)),Promise.resolve().then(l.bind(l,54451)),Promise.resolve().then(l.bind(l,91335)),Promise.resolve().then(l.bind(l,52469)),Promise.resolve().then(l.bind(l,68322)),Promise.resolve().then(l.bind(l,15433)),Promise.resolve().then(l.bind(l,42602)),Promise.resolve().then(l.bind(l,30817)),Promise.resolve().then(l.bind(l,98419)),Promise.resolve().then(l.bind(l,78283)),Promise.resolve().then(l.bind(l,13833)),Promise.resolve().then(l.bind(l,29242)),Promise.resolve().then(l.bind(l,72431)),Promise.resolve().then(l.bind(l,39368)),Promise.resolve().then(l.bind(l,23486)),Promise.resolve().then(l.bind(l,77351)),Promise.resolve().then(l.bind(l,27788)),Promise.resolve().then(l.bind(l,40291)),Promise.resolve().then(l.bind(l,70924)),Promise.resolve().then(l.bind(l,37697)),Promise.resolve().then(l.bind(l,77311)),Promise.resolve().then(l.bind(l,80788)),Promise.resolve().then(l.bind(l,44170)),Promise.resolve().then(l.bind(l,35591)),Promise.resolve().then(l.bind(l,96837)),Promise.resolve().then(l.bind(l,56693)),Promise.resolve().then(l.bind(l,8246)),Promise.resolve().then(l.bind(l,45542)),Promise.resolve().then(l.bind(l,45003)),Promise.resolve().then(l.bind(l,3674)),Promise.resolve().then(l.bind(l,89721)),Promise.resolve().then(l.bind(l,12801)),Promise.resolve().then(l.bind(l,9342)),Promise.resolve().then(l.bind(l,19889)),Promise.resolve().then(l.bind(l,10774)),Promise.resolve().then(l.bind(l,30394)),Promise.resolve().then(l.bind(l,94025)),Promise.resolve().then(l.bind(l,86615)),Promise.resolve().then(l.bind(l,97605)),Promise.resolve().then(l.bind(l,28922)),Promise.resolve().then(l.bind(l,31822)),Promise.resolve().then(l.bind(l,94920)),Promise.resolve().then(l.bind(l,33247)),Promise.resolve().then(l.bind(l,61130)),Promise.resolve().then(l.bind(l,32134)),Promise.resolve().then(l.bind(l,82198)),Promise.resolve().then(l.bind(l,94467)),Promise.resolve().then(l.bind(l,61785)),Promise.resolve().then(l.bind(l,33987)),Promise.resolve().then(l.bind(l,92582)),Promise.resolve().then(l.bind(l,94485)),Promise.resolve().then(l.bind(l,12054)),Promise.resolve().then(l.bind(l,13615)),Promise.resolve().then(l.bind(l,84205)),Promise.resolve().then(l.bind(l,51635)),Promise.resolve().then(l.bind(l,64733)),Promise.resolve().then(l.bind(l,72847)),Promise.resolve().then(l.bind(l,37540)),Promise.resolve().then(l.bind(l,7272))},28529:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(15725),n=l(25923),i=l(73479),s=l(70783),o=l(29198),d=l(85985),c=l(1707),m=l(58542),x=l(94382);t.default=({blok:e})=>
1{let[t,l]=(0,s.useState)(),u=(0,c.C1)(),p=(0,d.K)(),h=(0,x.Y)(),f=(0,m.kK)();(0,s.useEffect)(()=>{e?.appCard?.[0]?.title&&l(e?.appCard?.[0]?.title)},[e?.appCard]);let b=(0,s.useMemo)(()=>{let l=e?.appCard?.find(e=>e.title===t)?.image?.[0];return l?.image?.filename?{src:l.image.filename,alt:""}:null},[e?.appCard,t]),g=e?.title,v=e?.description,j=e=>{t!==e&&l(t=>t===e?null:e)};return u?(0,r.jsx)("div",{className:p?"px-4 py-6 md:py-8 l:px-20":"relative pb-20 pt-[80px] md:px-[48px]",id:"get-beacon-app",...(0,a.LF)(e),children:(0,r.jsx)("section",{className:p?"mx-auto flex w-full max-w-[1760px] flex-col":"mx-auto l:max-w-[1400px]",children:(0,r.jsxs)("div",{className:"w-full rounded-lg border border-neutral-200 bg-neutral-50 px-12 py-12",children:[(0,r.jsxs)("div",{className:"mx-auto flex flex-row gap-8",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("h1",{className:"text-[48px] font-bold leading-[60px] text-neutral-900",children:g}),(0,r.jsx)("p",{className:"mt-3 text-[18px] font-semibold leading-6 text-neutral-700",children:v})]}),!p&&(0,r.jsx)("div",{className:"flex items-end justify-end gap-4",children:e?.images?.map((e,t)=>{let l=e?.target||"_blank";return r.jsx(i.default,{href:e?.url,passHref:!0,target:l,rel:"_blank"===l?"noopener noreferrer":void 0,"aria-label":e?.alt,id:e?.label,onClick:()=>f({section:"app",element:"app_badge",label:e?.label||e?.alt,destinationUrl:e?.url,position:t,isExternal:"_blank"===l}),children:r.jsx(n.default,{src:h(e?.logo?.filename),alt:"",width:164,height:54,unoptimized:!0})},e._uid??t)})})]}),(0,r.jsx)("div",{className:"my-8 h-px w-full bg-neutral-300"}),(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-8 l:grid-cols-[420px_1fr]",children:[(0,r.jsx)("div",{className:"mx-0",children:(0,r.jsx)("div",{className:"w-full max-w-[422px] space-y-3",children:e?.appCard?.map(e=>r.jsxs("div",{className:"cursor-pointer rounded border border-neutral-300 bg-white pt-8",onClick:()=>j(e.title),...a.LF(e),children:[r.jsxs("div",{className:`flex items-center justify-between px-8 ${t===e.title?"":"pb-6"}`,children:[r.jsx("div",{children:r.jsx("h3",{className:"text-[20px] font-bold leading-7 text-neutral-900",children:e.title})}),r.jsx("div",{className:"flex items-center text-neutral-900","aria-label":t===e.title?"Hide Details":"Show Details",children:r.jsx(o.Z,{className:`transition-transform ${t===e.title?"rotate-180":""}`,"aria-hidden":"true"})})]}),t===e.title&&r.jsx("div",{className:"mt-8 max-w-[488px] overflow-hidden transition-all duration-200 ease-in-out",children:r.jsx("p",{className:"mr-8 px-8 pb-12 text-[16px] text-neutral-700",children:e.description})})]},e.title))})}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-evenly gap-8",children:[b&&(0,r.jsxs)("div",{className:"relative flex w-[200px] flex-shrink-0 justify-center rounded-[40px] border-t border-neutral-300 bg-white",children:[(0,r.jsx)("img",{src:h(b.src),alt:b.alt,className:"max-h-[450px] w-auto rounded-[20px]"}),(0,r.jsx)("div",{className:"absolute bottom-[-5px] h-[0.532px] w-[97.66px] flex-shrink-0 rounded-[1.064px]",style:{background:"linear-gradient(270deg, rgba(68, 68, 68, 0.10) 0%, #444 9.92%, #444 90.03%, rgba(68, 68, 68, 0.10) 100%)",filter:"blur(0.13305184245109558px)"}}),(0,r.jsx)("div",{className:"absolute bottom-[-10px] h-[17px] w-full flex-shrink-0 rounded-[354px]",style:{background:"linear-gradient(90deg, rgba(0, 0, 0, 0.50) 0%, rgba(102, 102, 102, 0.50) 100%)",filter:"blur(10.078255653381348px)"}})]}),p&&(0,r.jsx)("div",{className:"flex flex-col items-center gap-4 xl:[display:contents]",children:e?.QRCodes?.map((e,t)=>{let l=e?.Badge?.[0],s=l?.target||"_blank";return r.jsxs("div",{className:"flex flex-col items-center gap-2 rounded border border-neutral-200 p-2",...a.LF(e),children:[l&&r.jsx(i.default,{href:l?.url,passHref:!0,target:s,rel:"_blank"===s?"noopener noreferrer":void 0,"aria-label":l?.alt,id:l?.label,onClick:()=>f({section:"app",element:"qr_badge",label:l?.label||l?.alt,destinationUrl:l?.url,position:t,isExternal:"_blank"===s}),children:r.jsx(n.default,{src:h(l?.logo?.filename),alt:"",width:164,height:54,unoptimized:!0})}),e?.QR?.filename&&r.jsx(n.default,{src:h(e.QR.filename),alt:`QR code for ${l?.alt||"the app"}`,width:164,height:164,unoptimized:!0})]},e._uid??t)})})]})]})]})})}):(0,r.jsxs)("div",{className:"mt-3 bg-neutral-50 px-6 py-12",...(0,a.LF)(e),id:"get-beacon-app",children:[(0,r.jsx)("h1",{className:"font-TitleBold text-[34px] font-bold leading-10 text-neutral-900 md:text-[48px]",children:g}),(0,r.jsx)("p",{className:"mt-4 text-[18px] font-semibold leading-6 text-neutral-700 md:text-[20px]",children:v}),(0,r.jsx)("div",{className:"mt-6 flex justify-center gap-4",children:e?.images?.map((e,t)=>{let l=e?.target||"_blank";return r.jsx(i.default,{href:e?.url,passHref:!0,target:l,rel:"_blank"===l?"noopener noreferrer":void 0,"aria-label":e?.alt,id:e?.label,onClick:()=>f({section:"app",element:"app_badge",label:e?.label||e?.alt,destinationUrl:e?.url,position:t,isExternal:"_blank"===l}),children:r.jsx(n.default,{src:h(e?.logo?.filename),alt:"",width:156,height:52,unoptimized:!0})},e._uid??t)})}),(0,r.jsx)("div",{className:"mt-12 space-y-3",children:e?.appCard?.map(e=>r.jsxs("div",{className:"cursor-pointer rounded border border-neutral-300 bg-white pt-8",onClick:()=>j(e.title),...a.LF(e),children:[r.jsxs("div",{className:`flex items-center justify-between px-6 ${t===e.title?"":"pb-8"}`,children:[r.jsx("div",{children:r.jsx("h3",{className:"text-[20px] font-bold leading-6 text-neutral-900",children:e.title})}),r.jsx("div",{className:"flex items-center text-neutral-900","aria-label":t===e.title?"Hide Details":"Show Details",children:r.jsx(o.Z,{className:`transition-transform ${t===e.title?"rotate-180":""}`,"aria-hidden":"true"})})]}),t===e.title&&r.jsxs("div",{className:"mt-4 overflow-hidden transition-all duration-200 ease-in-out",children:[r.jsx("p",{className:"px-6 text-[16px] text-neutral-700",children:e.description}),b&&r.jsxs("div",{className:"relative mt-4 flex justify-center rounded border-t border-neutral-300 bg-white px-6 py-11",children:[r.jsx("img",{src:h(b.src),alt:b.alt,className:"h-full w-full rounded-[20px] object-cover"}),r.jsx("div",{className:"absolute bottom-11 h-[0.532px] w-[97.66px] flex-shrink-0 rounded-[1.064px]",style:{background:"linear-gradient(270deg, rgba(68, 68, 68, 0.10) 0%, #444 9.92%, #444 90.03%, rgba(68, 68, 68, 0.10) 100%)",filter:"blur(0.13305184245109558px)"}})]})]})]},e.title))})]})}},24561:function(e,t,l){"use strict";l.r(t),l.d(t,{BasicHero:function(){return s}});var r=l(17223),a=l(15725);l(70783);var n=l(6065),i=l(94382);let s=({blok:e})=>{let t=(0,i.Y)(),l=Array.isArray(e)?e:[e];return(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)("div",{className:"grid-container relative my-0 !p-0",children:(0,r.jsx)("div",{className:"br-container-box !pb-10",children:l.map((e,i)=>(0,r.jsxs)("section",{...(0,a.LF)(e),className:`brand-banner-block border-[6px] border-primary-500 bg-neutral-800 md:relative ${i!==l.length-1?"mb
1-8 md:mb-20":""} md:flex md:min-h-[25.5rem] md:overflow-hidden md:bg-transparent`,children:[(0,r.jsxs)("div",{className:"brand-banner-block__wrapper relative p-[1.125rem_1.25rem_1.25rem] text-neutral-50 md:absolute md:top-0 md:z-10 md:w-2/5 md:min-w-[29rem] md:px-[2.5rem] md:pb-[1.25rem] md:pt-[1.9375rem] md:after:absolute md:after:bottom-[-1px] md:after:left-[-30%] md:after:right-0 md:after:top-[-1px] md:after:z-[-1] md:after:block md:after:h-full md:after:w-[120%] md:after:origin-[0_100%] md:after:skew-x-[-20deg] md:after:bg-neutral-700 md:after:content-['']",children:[(0,r.jsx)("h2",{className:"!mb-[0.4375rem] !text-[1.75rem]/[2rem] !font-bold !text-neutral-50 md:!mb-[0.6875rem] md:!text-[2.375rem]/[2.5625rem]",children:e?.title}),(0,r.jsx)("p",{className:"!mb-[0.3125rem] !mt-0 !text-[1rem]/[1.3125rem] !text-neutral-50 md:!mt-0 md:!text-[1.1275rem]/[1.5624rem]",children:e?.content}),e?.btnUrl&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("a",{href:e?.btnUrl,target:e?.isExternal?"_blank":void 0,rel:e?.isExternal?"noopener noreferrer":void 0,className:"button primary block md:absolute md:bottom-[0] md:left-[2.5rem] md:z-20 md:mt-0 md:hidden md:translate-y-1/2 md:p-[1rem_1.25rem_0.875rem] md:text-[1rem]/[1.1875rem]",children:e?.btnText})})]}),e?.backgroundImage?.filename&&(0,r.jsx)("div",{className:"relative h-[138.5px] w-full md:absolute md:right-0 md:top-0 md:h-full md:w-full",children:(0,r.jsx)(n.default,{src:t(e.backgroundImage.filename),alt:e.title||"Hero background",className:"h-auto w-full object-cover object-center",fill:!0,sizes:"100vw",priority:!0})})]},e._uid))})})})}},23532:function(e,t,l){"use strict";l.r(t),l.d(t,{BeaconExplorePro:function(){return c}});var r=l(17223),a=l(15725),n=l(73479),i=l(8744),s=l(1707),o=l(58542),d=l(81853);let c=({blok:e})=>{let t=(0,s.p0)(),l=(0,s.C1)(),c=(0,o.kK)();return e?(0,r.jsx)("div",{id:"go-pro-plus",className:"w-full bg-black backdrop-blur-[5px]",style:{background:t||l?"black":""},...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"mx-auto l:px-12",children:(0,r.jsx)("div",{className:(0,d.cn)("relative bottom-0 mx-auto flex h-[288px] w-full flex-col md:h-[152px] md:flex-row md:items-center l:max-w-[1400px]","z-40"),children:(0,r.jsxs)("div",{className:"flex w-full flex-col px-6 py-10 md:flex-row md:items-center l:px-0",children:[(0,r.jsx)("h2",{className:"basis-2/12 pb-4 font-TitleBold text-[32px] font-bold leading-8 text-white md:pb-0",children:e?.title}),(0,r.jsx)("p",{className:"mt-0 basis-5/12 pb-10 text-[18px] leading-6 text-white md:-mr-8 md:pb-0",children:e?.description}),(0,r.jsx)("p",{className:"mt-0 basis-3/12"}),(0,r.jsx)(n.default,{href:e.link[0]?.url,onClick:()=>c({section:"explore_pro",element:"explore_pro_cta",label:e?.link[0]?.displayText,destinationUrl:e?.link[0]?.url}),children:(0,r.jsx)(i.z,{id:"explore-pro-plus",className:"mt-0 w-full flex-none md:w-auto md:pr-6",variant:"primary",size:"lg",children:e?.link[0]?.displayText})})]})})})}):null}},10173:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(15725),n=l(73479),i=l(70783),s=l(61130),o=l(64733),d=l(30995),c=l(85985),m=l(70026),x=l(1707),u=l(58542),p=l(94382),h=l(81853),f=l(44901),b=l.n(f);t.default=({blok:e})=>{let t=(0,p.Y)(),l=(0,c.K)(),f=(0,x.p0)(),g=(0,u.kK)(),v=e?.industryCard??[],j=v[0]?.id??"",[w,N]=(0,i.useState)(j),y=w&&v.some(e=>e.id===w)?w:j,k=(e,t,l)=>{g({section:"industry_experts",element:"industry_card_button",label:e.title||e.link?.[0]?.text,destinationUrl:l,position:t,ctaId:e.id})};return l?(0,r.jsx)("section",{id:"the-beacon-way","data-testid":"beacon-way-v2",className:"bg-neutral-50 px-4 py-6 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"mx-auto flex max-w-[1760px] flex-col gap-6 l:flex-row l:gap-6",children:v.map((e,l)=>{let s=t(e.backgroundImage?.[0]?.image?.filename),o=e.link?.[0]?.link?.url,c=e.link?.[0]?.text;return(0,r.jsx)(i.Fragment,{children:(0,r.jsxs)("div",{...(0,a.LF)(e),className:"relative flex h-[480px] min-h-[480px] w-full flex-1 flex-col justify-between overflow-hidden rounded-[4px] bg-primary-500 bg-cover bg-center px-8 py-12 l:h-[480px] l:min-h-[480px] l:p-12",style:s?{backgroundImage:`url(${s})`}:void 0,children:[(0,r.jsx)("div",{"aria-hidden":!0,"data-testid":"beacon-way-card-overlay",className:"pointer-events-none absolute inset-x-0 bottom-0 h-[377px] bg-gradient-to-t from-black to-transparent"}),e.subHead?(0,r.jsx)("p",{"data-testid":"beacon-way-v2-subhead",className:(0,h.cn)("relative z-10 w-full min-w-0 shrink-0 text-start font-TitleBold text-xs font-black uppercase leading-4 tracking-[0.08em]",l===v.length-1?"text-neutral-700":"text-[#FAFAFA]"),children:e.subHead}):null,(0,r.jsx)("div",{className:"relative z-10 flex min-h-0 w-full flex-1 flex-col justify-end","data-testid":"beacon-way-v2-body",children:(0,r.jsxs)("div",{className:"flex w-full flex-col gap-8",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[e.title&&(0,r.jsx)("h2",{className:"max-w-[250px] font-TitleBold text-[28px] font-bold uppercase leading-8 text-[#FAFAFA] l:max-w-none l:text-[32px] l:leading-10",children:e.title}),e.description&&(0,r.jsx)("p",{className:"text-base font-semibold leading-6 text-[#FAFAFA]",children:e.description})]}),o&&c&&(0,r.jsx)("div",{children:(0,r.jsx)(d.z,{asChild:!0,variant:"primary",className:"h-10 rounded-[4px] px-4 py-2.5",id:e.id,children:(0,r.jsx)(n.default,{prefetch:!1,href:o,...(0,m.P5)(e.link[0].link),onClick:()=>k(e,l,o),children:c})})})]})})]})},e.id)})})}):f?(0,r.jsx)("div",{id:"the-beacon-way",className:"relative","data-testid":"beacon-way-v1-toggle",...(0,a.LF)(e),children:(0,r.jsx)(o.ToggleGroup,{onValueChange:e=>{N(e||j)},type:"single",value:y,className:"flex w-full gap-0",children:v.map((e,l)=>{let s=t(e.backgroundImage?.[0]?.image?.filename),c=e.link?.[0]?.link?.url,x=e.link?.[0]?.text,u=y===e.id;return(0,r.jsx)(i.Fragment,{children:(0,r.jsxs)(o.ToggleGroupItem,{...(0,a.LF)(e),value:e.id,className:(0,h.cn)(b()["toggle-item"],u?b()["toggle-item-active"]:b()["toggle-item-inactive"],"relative bg-cover bg-center text-white transition-all duration-300 ease-in-out"),style:{backgroundImage:s?`url
1(${s})`:void 0},children:[!u&&(0,r.jsx)("div",{className:"absolute inset-0 bg-[#D3D3D3] opacity-60 brightness-150"}),u&&(0,r.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-[388px]",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%)"}}),(0,r.jsxs)("div",{className:"absolute inset-0 z-10 flex flex-col justify-between p-12",children:[(0,r.jsx)("div",{className:(0,h.cn)("lg:max-xl:pb-[300px] pb-[360px] text-start text-[14px] font-bold leading-4",u?"text-neutral-50":"text-neutral-700"),children:e.subHead}),(0,r.jsxs)("div",{className:(0,h.cn)("mt-auto",!u&&"flex h-full flex-col justify-end"),children:[(0,r.jsx)("h2",{className:(0,h.cn)("max-w-[354px] text-start font-TitleBold text-[32px] font-bold leading-10",u?"pb-3 text-neutral-50":"text-primary-500"),children:e.title}),u&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"lg:max-xl:line-clamp-3 max-w-[430px] pb-8 text-start text-base font-semibold text-neutral-50",children:e.description}),c&&x?(0,r.jsx)("div",{className:"text-start",children:(0,r.jsx)(d.z,{asChild:!0,variant:"primary",className:"rounded",id:e.id,children:(0,r.jsx)(n.default,{prefetch:!1,href:c,...(0,m.P5)(e.link?.[0]?.link||{}),onClick:()=>k(e,l,c),children:x})})}):null]})]})]})]})},e.id)})})}):(0,r.jsx)("div",{id:"the-beacon-way","data-testid":"beacon-way-v1-accordion",...(0,a.LF)(e),children:(0,r.jsx)(s.Accordion,{className:"w-full l:hidden",collapsible:!0,type:"single",defaultValue:j,children:v.map((e,l)=>{let a=t(e.backgroundImage?.[0]?.image?.filename),i=e.link?.[0]?.link?.url,o=e.link?.[0]?.text;return(0,r.jsxs)(s.AccordionItem,{value:e.id,className:"pt-12",children:[(0,r.jsx)(s.AccordionTrigger,{className:(0,h.cn)(b().beaconway,"px-6 py-0 text-primary"),children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"pb-3 text-start text-xs font-bold",children:e.subHead}),(0,r.jsx)("h2",{className:"mb-0 w-[253px] pb-6 text-start font-TitleBold text-primary-500",children:e.title})]})}),(0,r.jsxs)(s.AccordionContent,{children:[(0,r.jsx)("p",{className:"px-6 pb-12 text-start text-base text-neutral-700",children:e.description}),i&&o?(0,r.jsx)("div",{className:"px-6 pb-12",children:(0,r.jsx)(d.z,{asChild:!0,variant:"secondary",className:"w-full border-[1px] border-neutral-500 bg-white capitalize text-neutral-900",id:e.id,children:(0,r.jsx)(n.default,{prefetch:!1,href:i,...(0,m.P5)(e.link?.[0]?.link||{}),onClick:()=>k(e,l,i),children:o})})}):null,a?(0,r.jsx)("img",{src:a,alt:e.subHead?`${e.subHead} background`:"",width:1200,height:675,loading:"lazy",decoding:"async",className:"mt-16 h-auto w-full scale-150 transform transition-transform ease-in-out"}):null]})]},e.id)})})})}},69589:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(15725);l(70783);var n=l(85985);t.default=({blok:e})=>(0,n.K)()?(0,r.jsx)("section",{className:"relative bg-white px-4 py-0 l:px-20",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:[(0,r.jsx)("h2",{className:"my-0 pb-3 text-start align-middle font-TitleBold text-[36px] font-bold leading-[44px] tracking-[-0.02em] text-neutral-900",children:e?.title}),(0,r.jsx)("p",{className:"font-HarmoniaSansPro max-w-[1016px] text-start text-[20px] font-normal leading-[28px] tracking-normal text-neutral-700",children:e?.description})]})}):(0,r.jsx)("div",{className:"relative border-b",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"mx-6 my-10 py-2 md:mx-auto md:mt-20 md:max-w-[1496px] md:py-0",children:[(0,r.jsx)("h1",{className:"my-0 pb-4 text-start font-TitleBold text-[34px] font-bold leading-[40px] text-neutral-900 md:pb-3 md:pl-[48px] md:text-[48px] md:leading-[60px]",children:e?.title}),(0,r.jsx)("p",{className:"max-w-[588px] text-start text-[18px] font-normal leading-6 text-neutral-700 md:pl-[46px] md:text-xl",children:e?.description})]})})},53846:function(e,t,l){"use strict";l.r(t),l.d(t,{BrandCategoriesSection:function(){return m}});var r=l(17223),a=l(15725),n=l(25923),i=l(73479),s=l(70783),o=l(39527),d=l(1707);let c=({blok:e})=>{let{title:t,image:l,link:s}=e;return(0,r.jsxs)(i.default,{href:s?.url||"#",className:"group inline-flex w-56 flex-col items-center justify-start gap-4 roun
1ded-tl-3xl rounded-tr-3xl bg-white p-2",...(0,a.LF)(e),children:[(0,r.jsx)("div",{className:"relative h-48 w-full overflow-hidden rounded-3xl",children:(0,r.jsx)(n.default,{src:l?.filename,alt:t||"Category",fill:!0,className:"object-cover"})}),(0,r.jsx)("div",{className:"self-stretch text-center font-['Harmonia_Sans_Pro'] text-xl font-semibold leading-7 text-gray-900",children:t})]})};function m({blok:e}){let t=(0,d.ac)("only screen and (min-width : 520px)"),l=(0,d.ac)("only screen and (min-width : 830px)"),n=(0,d.ac)("only screen and (min-width : 1060px)"),i=(0,s.useMemo)(()=>n?4:l?3:t?2:1,[t,l,n]),m=(0,s.useMemo)(()=>({className:"mx-auto my-4",style:{width:"100%"},galleryCardClassName:"px-0 pr-6 !opacity-100",pageSize:i}),[i]);if(!e||!e.categories?.length)return null;let x=e.categories,u=x.map((e,t)=>(0,r.jsx)(c,{blok:e},e._uid||t));return(0,r.jsx)("div",{id:"gaf-categories",className:"relative flex w-full bg-white",...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"flex w-full flex-col",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1200px] flex-col items-start justify-center gap-6 self-stretch px-6 py-6 md:px-12 xl:px-0",children:[(0,r.jsx)("div",{className:"w-full xl:hidden",children:(0,r.jsx)(o.h,{items:u,...m})}),(0,r.jsx)("div",{className:"hidden w-full xl:flex xl:flex-row xl:items-stretch xl:justify-between xl:gap-6",children:x.map((e,t)=>(0,r.jsx)("div",{className:"flex-1 xl:-mt-20 xl:max-w-[220px]",children:(0,r.jsx)(c,{blok:e})},e._uid||t))})]})})})}},50523:function(e,t,l){"use strict";l.r(t),l.d(t,{BrandLandingAboutLogoText:function(){return d}});var r=l(17223),a=l(15725),n=l(25923),i=l(73479);let s="font-['Harmonia_Sans_Pro'] inline-flex items-center justify-center rounded border-2 border-primary p-[10px] font-semibold leading-4 text-primary cursor-pointer transition-colors hover:bg-neutral-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:bg-neutral-200",o="mb-2 font-['Harmonia_Sans_Pro'] text-xl text-[#242424] [&_p]:text-xl [&_p]:text-[#242424] [&_p]:leading-7 [&_p]:mb-2 [&_a]:text-primary [&_a]:underline [&_strong]:font-semibold",d=({blok:e})=>{let t=e?.Description?(0,a.Zm)(e.Description):null,l=(e,t)=>{if(t.startsWith("#")){e.preventDefault();let l=t.substring(1),r=document.getElementById(l);r&&r.scrollIntoView({behavior:"smooth",block:"start"})}};return(0,r.jsxs)("div",{...(0,a.LF)(e),className:"bg-white",children:[(0,r.jsxs)("div",{className:"px-6 pb-12 pt-6 md:hidden",children:[e?.Title&&(0,r.jsx)("h2",{className:"mb-4 font-['Harmonia_Sans_Pro'] text-[32px] font-bold leading-10",children:e.Title}),e?.Logo?.filename&&(0,r.jsx)("div",{className:"float-left mr-4",children:(0,r.jsx)(n.default,{src:e.Logo.filename,alt:e.Logo.alt||e.Title||"Brand logo",width:107,height:107,className:"h-[107px] w-[107px]"})}),t&&(0,r.jsx)("div",{className:o,dangerouslySetInnerHTML:{__html:t}}),e?.CTA?.[0]?.url&&(0,r.jsx)(i.default,{href:e.CTA[0].url,className:s,tabIndex:0,"aria-label":e.CTA[0].text||"Learn more",onClick:t=>l(t,e.CTA[0].url),children:e.CTA[0].text}),(0,r.jsx)("div",{className:"clear-both"})]}),(0,r.jsx)("div",{className:"hidden md:block",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1200px] flex-col items-start justify-center gap-6 self-stretch px-6 py-12 md:px-12 xl:px-0",children:[e?.Title&&(0,r.jsx)("h2",{className:"mb-4 font-['Harmonia_Sans_Pro'] text-[32px] font-bold leading-10",children:e.Title}),(0,r.jsxs)("div",{className:"flex w-full flex-col items-start justify-start gap-6 self-stretch l:flex-row l:items-stretch",children:[e?.Logo?.filename&&(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)(n.default,{src:e.Logo.filename,alt:e.Logo.alt||e.Title||"Brand logo",width:160,height:160,className:"h-[160px] w-[160px]"})}),(0,r.jsxs)("div",{className:"flex-1",children:[t&&(0,r.jsx)("div",{className:o,dangerouslySetInnerHTML:{__html:t}}),e?.CTA?.[0]?.url&&(0,r.jsx)(i.default,{href:e.CTA[0].url,className:s,tabIndex:0,"aria-label":e.CTA[0].text||"Learn more",onClick:t=>l(t,e.CTA[0].url),children:e.CTA[0].text})]})]})]})})]})}},41444:function(e,t,l){"use strict";l.r(t),l.d(t,{Breadcrumb:function(){return v}});var r=l(17223),a=l(73479),n=l(8995),i=l(70783),s=l(77729),o=l(74041),d=l(85985),c=l(16975),m=l(86776),x=l(1707);let u=e=>e.replace(/qxo/gi,"QXO"),p=e=>u(e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")),h=e=>{let t=e.replace(/-/g," ");return u(t.charAt(0).toUpperCase()+t.slice(1).toLowerCase())},f=(e,t)=>{let l=c.k1.includes(e[0])?1:0,r=t===e.length-1;return t===l&&!r&&"products"===e[t]},b=(e,t=!1)=>
1{let l=e.split("/").filter(Boolean),r=t?h:p,a=[{name:"Home",href:"/"}],n="";return l.forEach((e,t)=>{n+=`/${e}`,f(l,t)||a.push({name:r(e),href:n})}),a},g=({items:e,siteColor:t})=>(0,r.jsx)("nav",{"aria-label":"Breadcrumb",children:(0,r.jsx)("ol",{className:"flex items-center gap-1 px-0.5",children:e.map(({name:l,href:n},i)=>i===e.length-1?(0,r.jsx)("li",{title:l,className:"font-HarmoniaSansPro shrink-0 whitespace-nowrap text-xs font-normal leading-[18px] text-neutral-900",children:l},`${l}-${n}`):(0,r.jsxs)("li",{className:"flex shrink-0 items-center gap-1",children:[(0,r.jsx)(a.default,{href:n,title:l,className:"font-HarmoniaSansPro whitespace-nowrap pt-0.5 text-xs font-normal leading-[18px] text-primary-600 hover:text-primary-700",children:l}),(0,r.jsx)(o.Z,{"aria-hidden":!0,className:"size-3 shrink-0",color:t||"var(--colors-primary)"})]},`${l}-${n}`))})}),v=({excludes:e=[]})=>{let t=(0,x.ZL)(),l=(0,d.K)(),a=(0,n.usePathname)(),o=(0,m.q)(),c=(0,i.useMemo)(()=>b(a,l),[a,l]),u=c?.filter(t=>!e.includes(t.name));return t?null:l?(0,r.jsx)(g,{items:u,siteColor:o}):(0,r.jsx)(s.a,{items:u,siteColor:o})}},56064:function(e,t,l){"use strict";l.r(t),l.d(t,{ContactUsFormConfig:function(){return L}});var r=l(17223),a=l(13798),n=l(15725),i=l(31725),s=l(8995),o=l(70783),d=l(87412),c=l(94310),m=l(33987),x=l(47494),u=l(8744),p=l(19832),h=l(69160),f=l(89326),b=l(94025),g=l(97882),v=l(81853);let j=({name:e,...t})=>{let l=(0,d.Gc)(),{label:a,className:n,required:i}=t;return(0,r.jsx)(m.FormField,{control:l.control,name:e,render:({field:e,fieldState:t})=>{let l=t.error,s=(0,g.F)(l?.message);return(0,r.jsxs)("div",{className:(0,v.cn)("mb-8 w-full",n),children:[(0,r.jsxs)("div",{className:"text-[1rem]/[1.6875rem] font-bold text-neutral-800",children:[a,(0,r.jsx)("span",{className:"ml-1",children:i?"*":""})]}),(0,r.jsx)(m.FormItem,{children:(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(b.Input,{error:s,...e,className:"w-full bg-white"})})})]})}})};var w=l(66938);let N=({name:e="phone",...t})=>{let l=(0,d.Gc)(),{label:a,className:n,required:i}=t;return(0,r.jsx)(m.FormField,{control:l?.control,name:e,render:({field:t,formState:l})=>{let s=l.errors[e],o=(0,g.F)(s?.message),d=(0,w.nw)(t.value);return(0,r.jsxs)("div",{className:(0,v.cn)("mb-8 w-full",n),children:[(0,r.jsxs)("div",{className:"text-[1rem]/[1.6875rem] font-bold text-neutral-800",children:[a,(0,r.jsx)("span",{className:"ml-1",children:i?"*":""})]}),(0,r.jsx)(m.FormItem,{children:(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(b.Input,{error:o,...t,className:"w-full bg-white",value:d,onChange:e=>{let l=e.target.value;/^[\d-]*$/.test(l)&&(l.length>12||t.onChange(l.replaceAll("-","")))}})})})]})}})};var y=l(5756);let k=({name:e,...t})=>{let l=(0,d.Gc)(),{label:a,className:n,required:i,options:s,orientation:o}=t;return(0,r.jsx)(m.FormField,{control:l?.control,name:e,render:({field:e})=>(0,r.jsxs)("div",{className:(0,v.cn)("mb-8 w-full",n),children:[(0,r.jsxs)("div",{className:"text-[1rem]/[1.6875rem] font-bold text-neutral-800",children:[a,(0,r.jsx)("span",{className:"ml-1",children:i?"*":""})]}),(0,r.jsx)(m.FormItem,{children:(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(y.E,{...e,options:s,orientation:o,onChange:l=>{e.onChange(l),t.onChange?.(l)},className:"gap-y-2",radioGroupItemClassName:"!border-2 w-5 h-5 border-solid border-neutral-500 hover:cursor-pointer aria-checked:border-primary-500",circleClassName:"w-3 h-3"})})})]})})};var _=l(31822);let P=({name:e,...t})=>{let l=(0,d.Gc)(),{label:a,className:n,required:i,options:s}=t;return(0,r.jsx)(m.FormField,{control:l?.control,name:e,render:({field:l,formState:o})=>{let d=o.errors[e],c=(0,g.F)(d?.message);return(0,r.jsxs)("div",{className:(0,v.cn)("mb-8 w-full",n),children:[(0,r.jsxs)("div",{className:"text-[1rem]/[1.6875rem] font-bold text-neutral-800",children:[a,(0,r.jsx)("span",{className:"ml-1",children:i?"*":""})]}),(0,r.jsx)(m.FormItem,{children:(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(_.Select,{error:c,triggerClassName:"h-10",...l,options:s,onChange:e=>{l.onChange(e),t.onChange?.(e)},className:"rounded border-2 border-neutral-500 bg-white",ariaLabel:"Select subject"})})})]})}})};
1var C=l(5356);let F=({name:e,...t})=>{let l=(0,d.Gc)(),{label:a,className:n,required:i}=t;return(0,r.jsx)(m.FormField,{control:l?.control,name:e,render:({field:e})=>(0,r.jsxs)("div",{className:(0,v.cn)("mb-8 w-full",n),children:[(0,r.jsxs)("div",{className:"text-[1rem]/[1.6875rem] font-bold text-neutral-800",children:[a,(0,r.jsx)("span",{className:"ml-1",children:i?"*":""})]}),(0,r.jsx)(m.FormItem,{children:(0,r.jsx)(m.FormControl,{children:(0,r.jsx)(C.g,{...e,className:"!rounded !border-2 !border-neutral-500 !bg-white !shadow-none"})})})]})})},T=e=>{let t=e?(0,n.Zm)(e):void 0,l=t?i.default.sanitize(t,{USE_PROFILES:{html:!0}}):null;return l?l.replace(/<[^>]*>/g,"").replace(/ /gi," ").trim().length>0?{html:l,droppedAuthoredContent:!1}:{html:null,droppedAuthoredContent:l.replace(/<\/?(p|br)[^>]*>/gi,"").replace(/ |\s/gi,"").trim().length>0}:{html:null,droppedAuthoredContent:!1}},L=({blok:e})=>{let t=(0,f.W4)(),l=(0,f.kF)(),[i,b]=(0,o.useState)(!1),{html:g,droppedAuthoredContent:v}=(0,o.useMemo)(()=>T(e?.confirmationCheckbox),[e?.confirmationCheckbox]),w=!!g;(0,o.useEffect)(()=>{v&&console.warn("[ContactUsFormConfig] confirmationCheckbox was authored but produced no renderable text. The consent checkbox will NOT be shown and no consent value will be submitted.")},[v]);let y=(t,l)=>e&&e[t]?e[t]:l,_=(t,l,r)=>e&&e[t]&&e[t][l]?e[t][l]:r,C={requiredText:y("requiredText","Fields marked with asterisk (*) are required."),firstName:{label:_("firstName","label","First Name"),requiredErrorMessage:_("firstName","requiredError","First name is required")},lastName:{label:_("lastName","label","Last Name"),requiredErrorMessage:_("lastName","requiredError","Last name is required")},company:{label:_("company","label","Company"),requiredErrorMessage:_("company","requiredError","Company is required")},role:{label:_("role","label","Role"),requiredErrorMessage:_("role","requiredError","Role is required")},zipCode:{label:_("zipCode","label","Zip Code"),requiredErrorMessage:_("zipCode","requiredError","Zip code is required")},phone:{label:_("phone","label","Phone"),requiredErrorMessage:_("phone","requiredError","A phone number is required")},email:{label:_("email","label","Email"),requiredErrorMessage:_("email","requiredError","An email address is required"),invalidErrorMessage:_("email","invalidError","Email invalid")},preferredContactMethod:{label:_("preferredContactMethod","label","Preferred Method of Contact"),phoneMethodText:y("phoneText","Phone"),emailMethodText:y("emailText","Email")},subject:{label:_("subject","label","Subject"),options:e?.subjectOptions||[]},questions:{label:_("questions","label","Questions / Comments")},submit:y("submitText","Submit"),clearForm:y("clearFormText","Clear Form"),successRedirect:y("successRedirect","/contact-us/thank-you")},L=[{name:C.preferredContactMethod.phoneMethodText,value:C.preferredContactMethod.phoneMethodText.toLocaleLowerCase()},{name:C.preferredContactMethod.emailMethodText,value:C.preferredContactMethod.emailMethodText.toLocaleLowerCase()}],S=(()=>{let e=C.subject.options.map(e=>({label:e?.key||"",value:e?.value||""}));return 0===e.length?[{label:"Careers",value:"[email protected], [email protected],"},{label:`${"DC"===t?"PRO+":"QXO"} Technical Support`,value:"[email protected]"},{label:"Human Resources (Direct to HR)",value:"[email protected]"},{label:"Contractor Sales Inquiry",value:"[email protected]"},{label:"Homeowner Inquiry",value:"[email protected]"},{label:"Integrations",value:"[email protected]"}]:e})(),A=c.ZP.object({firstName:c.ZP.string().min(1,{message:C.firstName.requiredErrorMessage}),lastName:c.ZP.string().min(1,{message:C.lastName.requiredErrorMessage}),company:c.ZP.string().min(1,{message:C.company.requiredErrorMessage}),role:c.ZP.string().min(1,{message:C.role.requiredErrorMessage}),zipCode:c.ZP.string().min(1,{message:C.zipCode.requiredErrorMessage}),phone:c.ZP.string().min(1,{message:C.phone.requiredErrorMessage}),emailAddress:c.ZP.string().min(1,{message:C.email.requiredErrorMessage}).email({message:C.email.invalidErrorMessage}),preferredContactMethod:c.ZP.string(),subject:c.ZP.string().min(1,{message:"A subject is required"}),questions:c.ZP.string().optional()}),I=(0,d.cI)({mode:"onBlur",resolver:(0,a.F)(A),defaultValues:{firstName:"",lastName:"",company:"",role:"",zipCode:"",phone:"",emailAddress:"",preferredContactMethod:"phone",subject:"",questions:""}}),B=(0,o.useRef)(null),E=(0,s.useRouter)(),[z,M]=(0,o.useState)(!1),H=e?.document?.[0]?.copy,U=e?.document?.[0]?.pardotUrl;return(0,r.jsxs)("div",{...(0,n.LF)(e),children:[(0,r.jsxs)("div",{className:"contact-us-form relative",children:[H&&(0,r.jsx)("div",{className:"[&_a]:text-red-500",dangerouslySetInnerHTML:{__html:H}}),(0,r.jsx)("div",{className:"px-[10px] md:max-w-[562px]",children:(0,r.jsx)(m.Form,{...I,children:(0,r.jsxs)("form",{onSubmit:I.handleSubmit(e=>{M(!0);let t=e.subject,l=S.find(e=>e.value===t);if(!l){p.A.error("Subject is null",{duration:2e3});return}let r=l.label,a={firstName:e.firstName,lastName:e.lastName,company:e.company,role:e.role,zip:e.zipCode,phone:e.phone,emailAddress:e.emailAddress,preferredContactMethod:e.preferredContactMethod,subject:r,questions:e.questions??""};w&&(a.smsConsent=i?"Yes":"No");let n=B.current;if(n){let e=[];
1if(Object.entries(a).map(t=>{let l=n.elements.namedItem(t[0]);l instanceof HTMLInputElement?l.value=t[1]:e.push(t[0])}),e.length>0){console.error(`[ContactUsFormConfig] no hidden input for: ${e.join(", ")}. Submission aborted to avoid sending partial data.`),p.A.error("Something went wrong submitting the form. Please try again.",{duration:2e3}),M(!1);return}let t=n.elements.namedItem("questions");t instanceof HTMLInputElement&&""===t.value&&(t.value="no questions"),(0,h.w_)(r),n.submit(),M(!1),E.push(C.successRedirect)}}),id:"contactUsForm",className:"flex flex-col",children:[(0,r.jsx)("span",{className:"mb-6",children:C.requiredText}),(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsxs)("div",{className:"flex flex-wrap justify-between md:flex-nowrap",children:[(0,r.jsx)(j,{name:"firstName",label:C.firstName.label,required:!0,className:"md:w-[49%]"}),(0,r.jsx)(j,{name:"lastName",label:C.lastName.label,required:!0,className:"md:w-[49%]"})]}),(0,r.jsx)(j,{label:C.company.label,name:"company",required:!0}),(0,r.jsx)(j,{label:C.role.label,name:"role",required:!0}),(0,r.jsx)(j,{label:C.zipCode.label,name:"zipCode",required:!0}),(0,r.jsx)(N,{label:C.phone.label,name:"phone",required:!0}),(0,r.jsx)(j,{label:C.email.label,name:"emailAddress",required:!0}),(0,r.jsx)(k,{label:C.preferredContactMethod.label,name:"preferredContactMethod",options:L,orientation:"vertical"}),(0,r.jsx)(P,{label:C.subject.label,name:"subject",required:!0,options:S}),(0,r.jsx)(F,{label:C.questions.label,name:"questions"})]}),w?(0,r.jsx)("div",{className:"mb-8",children:(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[(0,r.jsx)(x.X,{id:"smsConsent",checked:i,onCheckedChange:b,className:"mt-0.5 shrink-0 items-start [&_button[data-state=checked]]:!border-primary-500 [&_button[data-state=checked]]:!bg-primary-500 [&_button]:!h-5 [&_button]:!min-h-[1.25rem] [&_button]:!w-5 [&_button]:!min-w-[1.25rem] [&_button]:!rounded [&_button]:!border-2 [&_button]:!border-solid [&_button]:!border-neutral-900 [&_button]:!bg-white [&_button]:!p-0"}),(0,r.jsx)("label",{htmlFor:"smsConsent",className:"cursor-pointer text-neutral-800 [&_a]:text-primary-500 [&_a]:underline [&_p]:!my-0 [&_p]:!inline [&_p]:!text-base [&_p]:!leading-6",children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:g}})})]})}):null,(0,r.jsxs)("div",{className:"mb-10 flex gap-x-4",children:[(0,r.jsx)(u.z,{type:"submit",loading:z,className:"cursor-pointer bg-secondary-500 font-bold text-white hover:bg-secondary-500",children:C.submit}),(0,r.jsx)(u.z,{className:"cursor-pointer bg-primary-500 font-bold text-white underline hover:bg-primary-500",onClick:()=>{I.reset(),b(!1)},children:C.clearForm})]})]})})})]}),(0,r.jsxs)("form",{id:"#hiddenContactUsForm",ref:B,action:U??l.NEXT_PUBLIC_CONTACT_US_FROM_ACTION,method:"post",children:[(0,r.jsx)("input",{type:"hidden",name:"firstName",value:""}),(0,r.jsx)("input",{type:"hidden",name:"lastName",value:""}),(0,r.jsx)("input",{type:"hidden",name:"company",value:""}),(0,r.jsx)("input",{type:"hidden",name:"role",value:""}),(0,r.jsx)("input",{type:"hidden",name:"zip",value:""}),(0,r.jsx)("input",{type:"hidden",name:"phone",value:""}),(0,r.jsx)("input",{type:"hidden",name:"emailAddress",value:""}),(0,r.jsx)("input",{type:"hidden",name:"preferredContactMethod",value:""}),(0,r.jsx)("input",{type:"hidden",name:"questions",value:""}),(0,r.jsx)("input",{type:"hidden",name:"subject",value:""}),w&&(0,r.jsx)("input",{type:"hidden",name:"smsConsent",value:""})]})]})}},83617:function(e,t,l){"use strict";l.r(t),l.d(t,{ContentCard:function(){return i}});var r=l(17223),a=l(25923),n=l(94382);let i=({card:e})=>{let t=(0,n.Y)();return(0,r.jsxs)("a",{href:e.link,target:e.isExternal?"_blank":"_self",rel:e.isExternal?"noopener noreferrer":"",className:"group flex flex-col overflow-hidden rounded-lg bg-white shadow-md transition-transform hover:scale-105","aria-label":`View ${e.title}`,children:[(0,r.jsx)("div",{className:"relative h-48 w-full overflow-hidden",children:(0,r.jsx)(a.default,{src:t(e.image.filename),alt:e.title,fill:!0,unoptimized:!0,className:"object-cover transition-transform group-hover:scale-110",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"})}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col p-4",children:[(0,r.jsx)("span",{className:"mb-2 text-sm font-medium text-blue-600",children:e.category}),(0,r.jsx)("h3",{className:"text-lg font-semibold text-gray-900",children:e.title}),e.description&&(0,r.jsx)("p",{className:"mt-2 text-sm text-gray-600",children:e.description})]})]})};t.default=i},63960:function(e,t,l){"use strict";l.r(t),l.d(t,{ContentCardSection:function(){return m}});var r=l(17223),a=l(15725),n=l(77058),i=l(25923),s=l(70783),o=l(94382),d=l(81853),c=l(91335);let m=({sections:e})=>
1{let t=(0,o.Y)(),[l,m]=(0,s.useState)({}),{width:x}=(0,n.iP)();if(!e)return null;let u=Array.isArray(e)?e:[e],p=e=>{x&&!(x>=640)&&m(t=>({...t,[e]:!t[e]}))},h=e=>(0,r.jsx)(c.ProductBrowseCardSectionGroup,{blok:e}),f=e=>(0,r.jsx)("div",{className:"rich-text",dangerouslySetInnerHTML:{__html:e?.content}}),b=e=>e?.contentCards?e.contentCards.map(e=>(0,r.jsx)("div",{className:"cell medium-6 large-4 mb-[1.25rem]",children:(0,r.jsx)("section",{className:"cell small-12 medium-4 large-4 content-card-section__card h-full border-4 border-neutral-200 bg-white p-[0.625rem] text-neutral-900 hover:shadow-[1px_1px_5px_0] hover:shadow-neutral-200",children:(0,r.jsxs)("a",{href:`${e?.link}`,children:[(0,r.jsx)(i.default,{src:t(e?.image?.filename),alt:e?.title||"",width:400,height:300,unoptimized:!0,className:"w-full border-[1px] border-neutral-200"}),(0,r.jsx)("p",{className:"content-card-section__card-category relative left-[10px] top-[-13px] !m-[0_1.25rem_0_0] inline-block bg-neutral-800 !p-[0.3125rem_0.3125rem_0.125rem] text-[0.90625rem]/[1rem] font-bold uppercase !text-white",children:e?.category}),(0,r.jsx)("h3",{className:"mb-2 text-[1.125rem]/[1.375rem]",children:e?.title}),e?.description&&(0,r.jsx)("p",{className:"text-[0.875rem]/[1.25rem]",children:e?.description})]})})},e?._uid)):null,g=e=>{switch(e?.items?.[0]?.component){case"ContentCardSection":return b(e.items[0]);case"RichText":return f(e.items[0]);case"ImageCardSection":return h(e);default:return null}};return(0,r.jsx)("div",{className:"content-section relative border-t-0 bg-white md:bg-neutral-100 md:py-5",children:u.map(e=>(0,r.jsx)("div",{...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"grid-container md:py-5",children:(0,r.jsx)("section",{className:"content-section__description grid-x grid-margin-x inactive border-t border-neutral-300 md:border-0",id:`content_section_${e?.title}`,children:(0,r.jsxs)("div",{className:"cell",children:[(0,r.jsxs)("div",{className:"content-section__section-toggle m-[0_-8px] flex cursor-pointer flex-nowrap items-center justify-between bg-neutral-100 p-[10px_8px] md:m-0 md:cursor-default md:bg-transparent md:p-0",onClick:()=>p(e._uid),children:[(0,r.jsx)("h2",{style:{fontSize:"1.125rem"},className:"m-0 inline-block text-primary-500 md:mb-[1rem] md:block md:!text-[2.25rem]/[2.5rem] md:text-neutral-900",children:e?.title}),(0,r.jsx)("span",{className:(0,d.cn)("content-section__toggle-icon mr-[0.625rem] rotate-[90deg] text-2xl font-bold text-primary-500 transition-transform duration-300 ease-in md:hidden",{"rotate-[270deg]":l[e._uid]}),children:">"})]}),(0,r.jsx)("div",{className:(0,d.cn)("grid-container content-section__wrapper h-0 overflow-hidden",{"h-full overflow-visible":l[e._uid]||x&&x>=640}),children:(0,r.jsx)("div",{className:"content-card-section relative mt-[0.625rem]",children:(0,r.jsx)("div",{className:"grid-x grid-margin-x",children:g(e)})})})]})})})},e._uid))})}},59872:function(e,t,l){"use strict";l.r(t),l.d(t,{CustomMarketingCarousel:function(){return u}});var r=l(17223),a=l(15725),n=l(73479),i=l(37697),s=l(4423),o=l(70026),d=l(58542),c=l(81853),m=l(7842),x=l.n(m);function u({blok:e}){let t=(0,d.kK)();if(!e)return;let l=e.heroSlides;return(0,r.jsx)("div",{className:"relative my-6 xs:mx-2 md:mx-auto md:max-w-[1200px]",...(0,a.LF)(e),children:(0,r.jsx)(i.Carousel,{hideDots:!0,hideArrow:!0,loop:!1,autoPlay:!0,opts:{loop:!1,watchDrag:!1,skipSnaps:!0},delay:5e3,id:"cms-top-banner",children:l?.map((e,l)=>r.jsx(s.d$,{children:r.jsx("div",{className:"cms-top-banner flex h-auto w-full flex-col items-center justify-center rounded border border-neutral-300 p-2","data-listing-position":l+1,"data-label":e.title?.replace(/^_/,""),"data-action":"click",children:r.jsx(n.default,{className:"z-30 h-auto cursor-pointer hover:bg-transparent hover:no-underline hover:opacity-100 xs:min-h-[54px] xs:w-full md:min-h-[143px] l:max-w-[1200px] l:bg-inherit l:p-0",style:{backgroundImage:`url(${e.backgroundImage?.filename})`,backgroundRepeat:"round"},prefetch:!1,href:e.link?.[0].link?.url||"#",...o.P5(e.link?.[0]?.link||{}),onClick:()=>t({section:"marketing_carousel",element:"carousel_slide",label:e.title?.replace(/^_/,"")||e.link?.[0]?.text,destinationUrl:e.link?.[0]?.link?.url||"#",position:l}),children:e.title&&!/^_/.test(e.title)&&r.jsxs("div",{className:c.cn("relative p-2 py-2 xs:w-full l:w-[fit-content] l:max-w-[40%]",x().leftBlock),children:[r.jsx("div",{className:"font-TitleBold font-bold uppercase text-white xs:text-[2rem] xs:leading-[2.25rem] l:text-[32px]",children:e.title}),e.description&&r.jsx("div",{className:"mt-[5px] line-clamp-2 font-normal text-white xs:mb-[1.2rem] xs:text-[1.125rem] xs:leading-[1.44rem] l:mb-[22px] l:text-base",children:e.description}),e.link?.[0].text&&e.link?.[0].link?.url&&r.jsx("div",{className:"inline-flex h-10 w-[fit-content] cursor-pointer items-center justify-center gap-x-1 truncate whitespace-nowrap rounded bg-primary px-3 py-[10px] text-sm font-bold text-white transition-colors hover:bg-primary-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",children:e.link?.[0].text})]})})})},e?._uid))})})}},97141:function(e,t,l){"use strict";l.r(t),l.d(t,{CustomCard:function(){return d}});var r=l(17223),a=l(15725),n=l(73479);l(70783);var i=l(8744),s=l(62715),o=l(89326);function d({blok:e}){let t=(0,s.Gs)(e),l=(0,o.W4)();return(0,r.jsx)("div",{className:"relative mb-10 flex w-full flex-col gap-5 px-4 l:mx-auto l:w-[1200px] l:flex-row",...(0,a.LF)({blok:e}),children:t[0]?.card?.map(e=>r.jsxs("div",{className:"flex w-full flex-col items-center bg-primary p-8 text-white",...a.LF({blok:e}),children:[r.jsxs("div",{className:"flex-1",children:[r.jsx("h3",{className:"mb-4 text-center font-TitleBold text-[24px] font-bold uppercase leading-normal l:text-[32px]",children:e?.heading}),r.jsx("p",{className:"mb-5 text-center text-[16px] leading-[24px] l:text-[18px]",children:e?.cardContent})]}),r.jsx(n.default,{href:e?.cta?.[0]?.url,children:r.jsx(i.z,{variant:"tertiary",className:"h-[60px] uppercase text-white",size:"lg",site:l,children:e?.cta?.[0]?.displayText})})]},e.heading))})}},9472:function(e,t,l){"use strict";l.r(t),l.d(t,{DCHeroBanner:function(){return g}});var r=l(17223),a=l(15725),n=l(77058),i=l(8995);l(70783);var s=l(37697),o=l(4423),d=l(8744),c=l(6065),m=l(62715),x=l(1707),u=l(89326),p=l(94382),h=l(81853),f=l(81677),b=l.n(f);function g({blok:e}){let t=(0,p.Y)(),{width:l}=(0,n.iP)(),f=(0,i.usePathname)(),g=(0,x.p0)(),v=(0,u.W4)(),j=(0,m.Gs)(e),w=e=>()=>{e&&window.open(e)},N=!!(l&&l<1024)||j.length<=1,y="/"===f;return(0,r.jsx)("div",{...(0,a.LF)({blok:e}),className:(0,h.cn)(b().banner,"relative my-10 bg-slate-100",y?"w-full":"w-screen"),style:{left:y?0:g?"calc((1205px - 100v
1w) / 2)":"-16px"},children:(0,r.jsx)(s.Carousel,{autoPlay:!0,delay:5e3,hideDots:N,className:"xs:h-[492px] l:h-[482px]",id:"cms-top-banner",children:j?.map((e,l)=>{let n=e||{};return r.jsx(o.d$,{...a.LF({blok:n}),children:r.jsxs("div",{className:"cms-top-banner w-full items-center xs:flex xs:h-[492px] xs:flex-col l:relative l:h-[482px] l:justify-center","data-listing-position":l+1,"data-label":n.headline?.replace(/^_/,""),"data-action":"click",children:[r.jsxs("div",{className:"w-full xs:h-[200px] l:absolute l:h-[482px]",children:[r.jsx(c.default,{src:t(n?.backgroundImage?.[0]?.image?.filename),alt:"",width:1440,height:482,className:"absolute object-cover object-[50%_20%] xs:h-[200px] l:h-full l:w-full"}),r.jsx("div",{className:"w-full l:absolute l:h-[482px]",style:{background:"linear-gradient(116.01deg,hsla(0,0%,5%,.64),hsla(0,0%,5%,0))"}})]}),r.jsxs("div",{className:"xs:h-[292px] xs:w-full xs:bg-pewter xs:px-4 xs:py-4 l:absolute l:h-auto l:max-w-[1200px] l:bg-inherit l:p-0",children:[r.jsxs("div",{className:"xs:w-full l:w-[70%]",children:[r.jsx("div",{className:"font-TitleBold uppercase text-white xs:text-[2rem] xs:leading-[2.25rem] l:text-[4.75rem] l:leading-[5rem]",children:n.headline}),r.jsx("div",{className:"mt-[5px] text-white xs:mb-[1.2rem] xs:text-[1.125rem] xs:leading-[1.44rem] l:mb-[2.2rem] l:text-[1.56rem] l:leading-[1.875rem]",dangerouslySetInnerHTML:{__html:n.content}})]}),n.primaryButton?.[0]?.displayText&&r.jsx(d.z,{className:"w-[fit-content] text-base font-bold text-white",variant:"tertiary",site:v,onClick:w(n.primaryButton?.[0].url),children:n.primaryButton?.[0].displayText})]})]})},n?._uid)})})})}},13366:function(e,t,l){"use strict";l.r(t),l.d(t,{DCItemGridComponent:function(){return d}});var r=l(17223),a=l(15725),n=l(8744),i=l(6065),s=l(96404),o=l(94382);let d=({blok:e})=>{let t=(0,o.Y)(),l=(0,s.Ty)(),d=e=>{e&&l.push(e)},c=e.document[0];return(0,r.jsxs)("div",{className:"relative xs:mx-2 xs:mb-16 md:mx-auto md:mb-36 md:max-w-[1200px]",...(0,a.LF)(e),children:[(0,r.jsx)("h2",{className:"font-TitleBold text-primary xs:my-4 xs:text-[32px] l:my-8",children:c?.headline}),(0,r.jsx)("div",{className:"grid xs:grid-cols-2 xs:gap-2 md:grid-cols-4 md:gap-5 ",children:c?.brandLogo?.map(e=>r.jsxs("div",{...a.LF(e),onClick:()=>d(e.url),className:"flex flex-col justify-between rounded border border-neutral-300 bg-neutral-100 xs:p-2 md:w-[288px] md:p-4",children:[r.jsx(i.default,{src:t(e.logo?.filename),alt:"",width:500,height:500,unoptimized:!0,className:"w-full cursor-pointer rounded-3xl xs:mb-2 xs:max-h-[135px] md:mb-4 md:max-h-[200px]"}),r.jsx("div",{className:"flex w-full justify-center",children:r.jsx(n.z,{className:"w-full text-wrap font-semibold leading-4 text-neutral-50 first-letter:text-[16px] l:w-auto",children:`${e.label}`})})]},e.label))})]})}},5882:function(e,t,l){"use strict";l.r(t),l.d(t,{DCSimpleContent:function(){return d}});var r=l(17223),a=l(12791);l(70783);var n=l(8744),i=l(89326),s=l(81677),o=l.n(s);let d=({blok:e})=>{let t=(0,i.W4)(),l=e?.document?.[0]??e,s=l?.content,d=l?.link?.[0];return l?(0,r.jsx)("div",{className:"grid-container",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"br-container-box relative",children:[(0,r.jsx)("div",{className:o()["rich-text-wrapper"],dangerouslySetInnerHTML:{__html:s??""}}),d?.url&&(0,r.jsx)("a",{target:"_blank",href:d.url,children:(0,r.jsx)(n.z,{className:"mb-8 cursor-pointer",size:"lg",variant:"tertiary",site:t,children:d.displayText})})]})}):null}},40187:function(e,t,l){"use strict";l.r(t),l.d(t,{FeaturePromo:function(){return u}});var r=l(17223),a=l(73479),n=l(70783),i=l(8744),s=l(6065),o=l(62715),d=l(89326),c=l(94382),m=l(71313),x=l.n(m);function u({blok:e}){let t=(0,c.Y)(),l=(0,o.Gs)(e),m=(0,d.W4)();(0,n.useEffect)(()=>{let e=document.querySelectorAll(".feature-promo")?.[1];e&&e.classList.remove("l:flex-row-reverse")},[]);let u=l?.[0]||{};return(0,r.jsxs)("div",{className:"feature-promo relative mb-3 bg-neutral-50 p-8 l:mx-auto l:flex l:w-[1200px] l:flex-row-reverse l:gap-x-8 l:pb-0",children:[(0,r.jsx)("div",{className:"mb-8 h-auto w-full",children:(0,r.jsx)(s.default,{alt:u?.image?.[0]?.alt,src:t(u?.image?.[0]?.image?.filename),width:1920,height:1280})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"mb-3 font-TitleBold text-[24px] leading-normal l:text-[32px]",children:u?.title}),(0,r.jsx)("div",{className:x().block,dangerouslySetInnerHTML:{__html:u?.body}}),u?.button?.[0]?.url&&(0,r.jsx)(a.default,{href:u?.button?.[0]?.url,children:(0,r.jsx)(i.z,{variant:"tertiary",size:"lg",className:"mt-4 h-[60px] uppercase text-white",site:m,children:u?.button?.[0]?.displayText})})]})]})}},75239:function(e,t,l){"use strict";l.r(t),l.d(t,{FAQSection:function(){return s}});var r=l(17223),a=l(15725),n=l(61130);let i=({question:e,answer:t,value:l})=>(0,r.jsxs)(n.AccordionItem,{value:l,className:"border-0",children:[(0,r.jsxs)(n.AccordionTrigger,{hasIcon:!1,className:"h-12 w-full justify-between rounded p-2 data-[state=closed]:bg-[#F2F2F2] data-[state=open]:bg-primary-50 [&[data-state=closed]_.icon-m
1inus]:hidden [&[data-state=closed]_.icon-plus]:block [&[data-state=open]_.icon-minus]:block [&[data-state=open]_.icon-plus]:hidden",children:[(0,r.jsx)("span",{className:"font-['Harmonia_Sans_Pro'] text-2xl font-bold leading-7",children:e}),(0,r.jsxs)("span",{className:"flex h-6 w-6 items-center justify-center text-2xl font-bold","aria-hidden":"true",children:[(0,r.jsx)("span",{className:"icon-minus hidden",children:"â"}),(0,r.jsx)("span",{className:"icon-plus",children:"+"})]})]}),(0,r.jsx)(n.AccordionContent,{className:"w-full px-2 pt-4",children:(0,r.jsx)("p",{className:"font-['Harmonia_Sans_Pro'] text-xl font-normal leading-7",children:t})})]}),s=({blok:e})=>e?.faqItems?.length?(0,r.jsx)("div",{className:"w-full bg-white",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"mx-auto mb-12 flex w-full max-w-[1200px] flex-col gap-6 px-6 md:px-12 xl:px-0",children:[e.title&&(0,r.jsx)("h2",{className:"font-['Harmonia_Sans_Pro'] text-2xl font-bold leading-7",children:e.title}),(0,r.jsx)(n.Accordion,{type:"single",collapsible:!0,className:"flex w-full flex-col gap-6",children:e.faqItems.map(e=>(0,r.jsx)(i,{value:e._uid,question:e.question,answer:e.answer},e._uid))})]})}):null},89934:function(e,t,l){"use strict";l.r(t),l.d(t,{FindAStoreNext:function(){return g}});var r=l(17223),a=l(25923),n=l(10774),i=l(85985),s=l(81023),o=l(89222),d=l(16453),c=l(79991),m=l(44343),x=l(96633),u=l(1707),p=l(15541),h=l(81853),f=l(14445);let b=({storeItems:e,selectedStore:t,onClickItem:l})=>{let i=(0,u.p0)(),s=(0,u.C1)(),{siblings:h}=(0,f.W)(),b=(0,p.g)()?h:[],g=[...e.map(e=>({kind:"store",key:(0,m.YO)(e.storeLocation),item:e})),...b.map((e,t)=>({kind:"sibling",key:(0,x.r0)(e.branch),item:e,siblingIndex:t}))].reduce((e,t,l)=>{let r=Math.floor(l/3);return e[r]||(e[r]=[]),e[r].push(t),e},[]),v=g.map((e,n)=>(0,r.jsx)("div",{className:"flex w-[calc(100vw-1rem)] flex-col gap-4",children:e.map((e,i)=>{let s=3*n+i;if("sibling"===e.kind)return(0,r.jsx)("ul",{className:"overflow-y-auto overflow-x-visible px-2 py-3",children:(0,r.jsxs)("li",{"data-sibling-index":e.siblingIndex,className:"flex w-full rounded bg-neutral-50 px-2 py-4 shadow-sm",children:[(0,r.jsxs)("div",{className:"relative mr-2 w-6 shrink-0",children:[(0,r.jsx)(a.default,{src:"/images/find-a-store-shape.png",alt:"",width:22,height:28}),(0,r.jsx)("span",{className:"absolute left-1/2 top-[6px] z-10 translate-x-[-60%] text-[11px] font-medium leading-[11px] text-primary-500",children:(0,m.b0)(s)})]}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("div",{className:"mb-1 text-[12px] leading-[16px] text-neutral-600",children:c.Pc}),(0,r.jsx)(o.W,{item:e.item,surface:"homepage"})]})]})},e.key);let x=(0,m.YO)(t?.storeLocation)===e.key;return(0,r.jsx)("ul",{className:"overflow-y-auto overflow-x-visible px-2 py-3",children:(0,r.jsx)(d.d,{item:e.item,index:s,isSelected:x,isCheckout:!1,onClickItem:l,surface:"homepage"})},e.key)})},`page-${n}`));return!(g.length>0)||s&&i?null:(0,r.jsx)(n.default,{items:v,showNavigation:!0,offset:0,className:"z-10 mb-10"})},g=()=>{let e=(0,i.K)();return(0,r.jsx)("div",{id:"find-store",className:(0,h.cn)(e&&"px-4 py-6 md:py-8 l:px-20"),children:(0,r.jsx)("section",{className:(0,h.cn)("flex w-full flex-col",e&&"mx-auto max-w-[1760px]"),children:(0,r.jsx)(s.FindAStore,{variant:"homepage",showNetworkFilters:!0,googleMapClass:"l:h-[811px] overflow-hidden rounded l:mt-0",className:"relative w-full",findAStoreMobileDrawerRender:e=>(0,r.jsx)(b,{...e})})})})}},54810:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(15725),n=l(61130),i=l(89326),s=l(81853),o=l(84181);t.default=({items:e})=>{let t=(0,i.W4)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"hidden flex-1 flex-grow justify-between l:flex",children:e?.map(e=>{let{name:l,items:n}=e;return r.jsxs("div",{className:"min-w-0 flex-1",...a.LF(e),children:[r.jsx("div",{className:s.cn("mb-4 pr-2.5 text-xl font-normal leading-7 text-black l:font-semibold",{"text-zinc-100":"DC"===t}),children:l}),r.jsx("div",{className:"flex flex-col gap-3 py-[2.5px] pr-3",children:n?.map(e=>r.jsx(o.Uk,{blok:e,section:"Footer",linkClassName:"DC"===t?"text-base font-normal hover:underline text-zinc-100":"text-base font-normal text-black hover:underline"},e._uid))})]},e._uid)})}),(0,r.jsx)(n.Accordion,{type:"multiple",className:"mb-6 w-full l:hidden",children:e?.map(({name:e,items:l,_uid:a},i)=>(l.length,r.jsxs(n.AccordionItem,{value:a,className:s.cn("border-b-[0.5px] border-black",{"text-zinc-100":"DC"===t}),children:[r.jsx(n.AccordionTrigger,{className:s.cn("justify-between gap-x-[10px] font-['Proxima_Nova'] text-xl font-semibold leading-7 text-black",{"text-zinc-100":"DC"===t}),children:e}),r.jsx(n.AccordionContent,{className:"flex flex-col gap-y-[10px]",children:l.map(e=>r.jsx(o.Uk,{blok:e,section:"Footer",linkClassName:s.cn("text-base font-normal text-black hover:underline",{"text-zinc-100":"DC"===t})},e._uid))})]},a)))})]})}},98776:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(70783),n=l(15725),i=l(73479),s=l(69350),o=l(81213),d=l(70026),c=l(16975),m=l(86776),x=l(89326),u=l(81853);t.default=({list:e})=>{let t=(0,x.W4)(),l=(0,x.kF)(),[p,h]=(0,a.useState)(!1),f=(0,m.q)();return(0,a.useEffect)(()=>{h(!0)},[]),(0,r.jsxs)("div",{className:(0,u.cn)("flex flex-col gap-y-4 py-0 l:mb-3 l:flex-row l:items-center"),children:[(0,r.jsxs)(i.default,{href:"/","aria-label":"Home",children:["DC"===t&&(0,r.jsx)(s.Z,{"data-testid":"dc-logo",width:126,height:42,fill:f,className:"mr-8","aria-hidden":"true"}),"DC"!==t&&(0,r.jsx)(o.Z,{"data-testid":"non-dc-logo",width:82,height:31.25,fill:f,className:"h-[38px] w-[100px] l:mb-0 l:mr-[23px] l:h-[31.25px] l:w-[82px]","aria-hidden":"true"})]}),e?.map(e=>{let{name:r,link:s}=e;if(s?.url)return a.createElement(i.default,{...n.LF(e),prefetch:!1,key:r,href:c.rf(s?.url,l.lang),style:{fontFamily:"'Proxima Nova', Arial, sans-serif"},className:u.cn("text-base font-semibold leading-[19px] text-black underline l:mr-[16px]",{"text-white":"DC"===t}),"data-action":"click","data-label":p?r:"","data-section":"Footer",...d.P5(s||{})},r)})]})}},6885:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(70783),n=l(15725),i=l(73479),s=l(30394),o=l(70026),d=l(16975),c=l(89326),m=l(81853);t.default=({className:e,items:t})=>{let l=(0,c.kF)(),x="DC"===(0,c.W4)();return(0,r.jsx)("section",{className:(0,m.cn)("relative mb-6",e),children:(0,r.jsx)("div",{className:"flex gap-x-2",children:t?.map(e=>{let{name:t,url:c}=e;if(c?.url)return a.createElement(i.default,{...n.LF(e),key:t,"data-testid":t,href:d.rf(c?.url,l.lang),className:"transition-all hover:scale-90",prefetch:!1,"data-action":"click","data-label":t,"data-section":"Footer",...o.P5(c||{})},r.jsx(s.Icon,{name:t,color:x?"colorWhite":"colorBlack",className:"w-8 l:w-auto"}))})})})}},13896:function(e,t,l){"use strict";l.r(t),l.d(t,{GAFPopularProducts:function(){return N}});var r=l(17223),a=l(15725),n=l(73479),i=l(70783),s=l(39527),o=l(45818),d=l(1707),c=l(44890),m=l(36746),x=l(23438),u=l.n(x);l(8995),l(74336),l(8792),l(81853);var p=l(36774);l(46883);var h=l(88088);l(84937);var f=l(20447),b=l(89326);let g=(e,t)=>{let l=(0,b.kF)(),r=(0,i.useRef)(),{regionId:a}=(0,f.h)(),n=async()=>{let r=await (0,p.Au)(l.NEXT_PUBLIC_CNSTRC_KEY,l.NEXT_PUBLIC_SITE_ID_KEY,l.NEXT_PUBLIC_SITE_ID_VALUE,e,a,t);return(0,h.Np)(r,l.NEXT_PUBLIC_CNSTRC_ROOT_GROUP)},s=(0,m.a)({queryKey:[...(0,h.d_)(a),e],queryFn:()=>n()});(0,i.useEffect)(()=>{s.data&&(r.current=s.data)},[s.data]);let o=s.data,d=u()(o)?r.current:o;return{...s,data:d}},v="flex min-h-[374px] w-[220px] max-w-[220px] flex-col rounded-tl-md rounded-tr-md xs:p-0 md:mb-0 md:flex md:min-
1h-[374px] md:w-[220px] md:max-w-[220px] md:flex-col md:rounded-tl-md md:rounded-tr-md",j=({title:e,buttonText:t,buttonLink:l})=>(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("h3",{className:"font-['Harmonia_Sans_Pro'] text-2xl font-bold leading-7",children:e}),l&&t?(0,r.jsx)(n.default,{href:l,className:"font-['Proxima Nova'] inline-flex items-center justify-center rounded border-2 border-primary p-[10px] font-semibold leading-4 text-primary transition-colors hover:bg-neutral-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:bg-neutral-200 xs:hidden xs:grow md:hidden md:grow l:block l:grow-0",children:t}):null]}),w=({titleWithButton:e,items:t,galleryPcProps:l,showTopMargin:a=!1})=>{let i=(0,r.jsxs)(r.Fragment,{children:[e?(0,r.jsx)(j,{title:e.title,buttonText:e.buttonText,buttonLink:e.buttonLink?.url}):null,(0,r.jsx)(s.h,{items:t??[],...l}),e?.buttonLink?.url&&e?.buttonText?(0,r.jsx)(n.default,{href:e.buttonLink.url,className:"font-['Proxima Nova'] inline-flex items-center justify-center rounded border-2 border-primary p-[10px] font-semibold leading-4 text-primary transition-colors hover:bg-neutral-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:bg-neutral-200 md:grow l:hidden l:grow-0",children:e.buttonText}):null]});return a?(0,r.jsx)("div",{className:"mt-12 flex flex-col",children:i}):(0,r.jsx)(r.Fragment,{children:i})};function N({blok:e}){let{isLogin:t}=(0,c.f0)(),l=(0,d.ac)("only screen and (max-width : 425px)"),n=(0,d.ac)("only screen and (max-width : 768px)"),s=g("gaf-popular-products-resi-acc",0),m=g("gaf-popular-products-comm-acc",0),x=g("gaf-popular-products-comm",0),u=g("gaf-popular-products-cem-coat",0),p=g("gaf-popular-products",0),h=(0,i.useMemo)(()=>l?1:n?2:4,[l,n]),f=(0,i.useMemo)(()=>({className:"mx-auto my-4",style:{width:"100%"},galleryCardClassName:"px-0 pr-6",pageSize:h}),[h]);if(s.isError||m.isError||x.isError||u.isError||p.isError,!s.data?.results?.length&&!m.data?.results?.length&&!x.data?.results?.length&&!u.data?.results?.length&&!p.data?.results?.length)return null;let b=s.data?.results?.map((e,l)=>r.jsx(o.I,{isGAF:!0,className:v,product:e,isLogin:t,index:l},e?.data?.id)),j=m.data?.results?.map((e,l)=>r.jsx(o.I,{isGAF:!0,className:v,product:e,isLogin:t,index:l},e?.data?.id)),N=x.data?.results?.map((e,l)=>r.jsx(o.I,{isGAF:!0,className:v,product:e,isLogin:t,index:l},e?.data?.id)),y=u.data?.results?.map((e,l)=>r.jsx(o.I,{isGAF:!0,className:v,product:e,isLogin:t,index:l},e?.data?.id)),k=p.data?.results?.map((e,l)=>r.jsx(o.I,{isGAF:!0,className:v,product:e,isLogin:t,index:l},e?.data?.id));return(0,r.jsx)("div",{className:"relative flex w-full",id:"popular-products",...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"mx-auto w-full max-w-[1200px] px-6 pb-12 md:px-12 xl:px-0",children:(0,r.jsxs)("div",{className:"flex w-full flex-col",children:[k?.length>0&&(0,r.jsx)(w,{titleWithButton:e?.titlesWithButtons?.[0],items:k??[],galleryPcProps:f}),b?.length>0&&(0,r.jsx)(w,{titleWithButton:e?.titlesWithButtons?.[1],items:b??[],galleryPcProps:f,showTopMargin:!0}),N?.length>0&&(0,r.jsx)(w,{titleWithButton:e?.titlesWithButtons?.[2],items:N??[],galleryPcProps:f,showTopMargin:!0}),j?.length>0&&(0,r.jsx)(w,{titleWithButton:e?.titlesWithButtons?.[3],items:j??[],galleryPcProps:f,showTopMargin:!0}),y?.length>0&&(0,r.jsx)(w,{titleWithButton:e?.titlesWithButtons?.[4],items:y??[],galleryPcProps:f,showTopMargin:!0})]})})})}},68684:function(e,t,l){"use strict";l.r(t),l.d(t,{GAFPromotions:function(){return o}});var r=l(17223),a=l(15725),n=l(25923),i=l(74350);let s=e=>{let{label:t,dateRange:l,description:s,detailLink:o,dataId:d}=e;return(0,r.jsxs)("div",{...(0,a.LF)(e),className:"relative flex flex-col items-start justify-start gap-6 self-stretch overflow-hidden rounded outline outline-1 outline-offset-[-0.50px] outline-[#bfc3c7] l:w-[calc(50%-12px)]",children:[(0,r.jsx)(n.default,{src:e?.mobile_image?.filename,alt:"Promotion",fill:!0,style:{objectFit:"cover"},className:"block md:hidden"}),(0,r.jsx)(n.default,{src:e?.desktop_image?.filename,alt:"Promotion",fill:!0,style:{objectFit:"cover"},className:"hidden md:block"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-[rgba(0,75,234,0.8)]"}),(0,r.jsxs)("div",{className:"relative z-10 flex flex-col items-start justify-start gap-8 self-stretch bg-center bg-no-repeat px-6 pb-12 pt-8 [background-size:auto_330px] l:[background-size:auto_236px]",children:[(0,r.jsxs)("div",{className:"inline-flex items-center justify-between self-stretch",children:[(0,r.jsx)(i.C,{status:"warning",className:"rounded-3xl bg-amber-100 text-center text-sm text-amber-600",children:t}),(0,r.jsxs)("div",{className:"justify-end text-right font-['Arial'] text-[14px] font-bold leading-4 tracking-normal text-white l:w-48 l:text-sm",children:[(0,r.jsx)("span",{className:"l:hidden",children:l}),(0,r.jsx)("span",{className:"hidden l:inline",children:l})]})]}),(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-6 self-stretch l:flex-row l:items-end l:ju
1stify-between",children:[(0,r.jsx)("div",{className:"justify-start self-stretch font-['Arial'] text-[24px] font-bold leading-7 tracking-normal text-white l:w-80 l:font-semibold",children:s}),(0,r.jsx)("a",{href:o[0]?.url,title:o[0]?.text,"data-id":d,className:"inline-flex h-10 w-fit items-center justify-center whitespace-nowrap rounded bg-white px-2.5 py-2.5 font-semibold text-primary-500 hover:bg-neutral-200 l:w-auto l:flex-shrink-0 l:self-end",children:o[0]?.text})]})]})]})};function o({blok:e}){return e?(0,r.jsx)("div",{id:"gaf-promotions",className:"relative flex w-full bg-[#F1F1F1]",...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"flex w-full flex-col",children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1200px] flex-col items-start justify-center gap-6 self-stretch px-6 py-12 md:px-12 xl:px-0",children:[(0,r.jsx)("h2",{className:"mb-0 text-[2rem] font-bold leading-10",children:e?.title}),(0,r.jsx)("div",{className:"flex w-full flex-col items-start justify-center gap-6 self-stretch l:flex-row l:items-stretch",children:e?.promotions?.map((e,t)=>r.jsx(s,{...e},t))})]})})}):null}},15118:function(e,t,l){"use strict";l.r(t),l.d(t,{InPageNavigation:function(){return i}});var r=l(17223),a=l(15725),n=l(12143);let i=({blok:e})=>{if(!e?.["content-sections"]?.length)return;let t=e?.["in-page-nav-container"]?.filename,l=e?.["content-sections"]?.map(e=>({id:e._uid,title:e.title||""})).sort();return(0,r.jsx)("div",{...(0,a.LF)(e),children:(0,r.jsx)(n.InPageNavigationBar,{hrefs:l,imgUrl:t})})}},12143:function(e,t,l){"use strict";l.r(t),l.d(t,{InPageNavigationBar:function(){return s}});var r=l(17223),a=l(70783),n=l(94382),i=l(81853);let s=e=>{let{hrefs:t,imgUrl:l}=e,s=(0,a.useRef)(null),[o,d]=(0,a.useState)(!1),c=(0,n.Y)(),m=()=>s.current?d(s.current.getBoundingClientRect().top<0):d(!1);(0,a.useEffect)(()=>(m(),window.addEventListener("scroll",m),window.addEventListener("resize",m),()=>{window.removeEventListener("scroll",m),window.removeEventListener("resize",m)}),[]);let x=e=>{let t=document.getElementById(e);t?.scrollIntoView({behavior:"smooth"})},u=e=>{let{id:t,title:l}=e;return(0,r.jsx)("li",{className:"!mr-[6.25rem] inline-block py-[0.75rem] md:inline-block md:p-[0.75rem_0]",children:(0,r.jsx)("div",{role:"presentation",className:"cursor-pointer text-[1.25rem]/[1.4375rem] font-bold text-primary-500 hover:underline",onClick:()=>x(`content_section_${l}`),children:l})},t)},p=()=>{if(l)return(0,r.jsx)("img",{className:(0,i.cn)("max-h-full",{hidden:!o}),src:c(l),alt:""})};return(0,r.jsxs)("div",{ref:s,className:"z-[1000]",children:[(0,r.jsx)("div",{className:"z-[1000] hidden border-y border-neutral-300 bg-white md:block",children:(0,r.jsx)("div",{className:"grid-container",children:(0,r.jsx)("div",{className:"grid-x grid-margin-x",children:(0,r.jsxs)("div",{className:"flex h-[60px] !items-center !justify-between",children:[(0,r.jsx)("div",{className:"cell mb-0 ml-0 mt-0 !w-auto",children:(0,r.jsx)("ul",{className:"flex list-none p-0 pl-[1.125rem]",children:t?.map(e=>u(e))})}),p()]})})})}),(0,r.jsx)("div",{className:(0,i.cn)("fixed top-0 z-[1000] hidden w-full border-y border-neutral-300 bg-white",{"md:block":o}),children:(0,r.jsx)("div",{className:"grid-container",children:(0,r.jsx)("div",{className:"grid-x grid-margin-x",children:(0,r.jsxs)("div",{className:"flex h-[60px] w-full !flex-nowrap !items-center !justify-between",children:[(0,r.jsx)("div",{className:"cell mb-0 ml-0 mt-0 !w-auto",children:(0,r.jsx)("ul",{className:"flex list-none p-0 pl-[1.125rem]",children:t?.map(e=>u(e))})}),p()]})})})})]})}},10666:function(e,t,l){"use strict";l.r(t),l.d(t,{IntegrationCard:function(){return x},IntegrationsNext:function(){return u}});var r=l(17223),a=l(12791),n=l(73479);l(70783);var i=l(37697),s=l(4423),o=l(6065),d=l(70026),c=l(58542),m=l(94382);function x({name:e,image:t,link:l,position:a}){let i=(0,m.Y)(),s=(0,c.kK)();return(0,r.jsx)("div",{className:"relative flex h-72 w-72 flex-col items-center justify-center overflow-hidden border border-neutral-300 bg-white",children:(0,r.jsx)(n.default,{prefetch:!1,href:l?.link?.url??"#",className:"block h-36 w-36",...(0,d.P5)(l?.link||{}),onClick:()=>s({section:"integrations",element:"integration_card",label:e,destinationUrl:l?.link?.url??"#",position:a}),children:t&&(0,r.jsx)(o.default,{width:100,height:32,src:i(t),alt:e,className:"h-36 w-36 object-contain transition-transform duration-200"})})})}function u({blok:e}){if(!e)return null;let t=[...e.images||[],...e.images||[]];return(0,r.jsx)("div",{className:"relative mt-8 flex w-full",id:"integrations",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"flex w-full flex-col md:px-[48px]",children:[(0,r.jsx)("div",{className:"mx-auto my-4 flex w-full flex-col justify-start px-6 md:mb-3 md:mt-4 md:px-0 l:mb-3 l:mt-4 l:max-w-[1400px] l:flex-row min-[1240px]:px-0",children:(0,r.jsx)("span",{className:"text-[34px] font-bold text-neutral-900 l:text-[48px]",children:e?.title})}),(0,r.jsx)("div",{className:"mx-auto my-4 flex w-full flex-col justify-start px-6 md:mb-8 md:mt-0 md:px-0 l:mb-8 l:mt-0 l:max-w-[1400px] l:flex-row min-[1240px]:px-0",children:(0,r.jsx)("p",{className:"w-full justify-start font-['Arial'] text-xl font-normal leading-7 text-neutral-900 md:w-[588px] l:w-[588px]",children:e?.description})}),(0,r.jsx)("div",{className:"mx-auto flex w-full flex-col justify-start px-0 md:px-0 l:max-w-[1400px] l:flex-row l:px-6 min-[1240px]:px-0",children:(0,r.jsx)(i.Carousel,{contentClassNames:"flex",autoPlay:!1,autoScroll:!0,speed:1,playOnInit:!0,hideDots:!0,hideArrow:!0,loop:!0,opts:{loop:!0},children:t.map((e,t)=>(0,r.jsx)(s.d$,{className:"basis-auto pl-0",children:(0,r.jsx)(x,{name:e?.name,image:e?.image?.filename,link:e?.link[0],position:t})},`${e._uid}-${t}`))})})]})})}},5239:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(24075);t.default=({items:e,linkClassName:t,site:l})=>(0,r.jsx)("div",{className:"items-center md:flex md:flex-1",children:e?.map(e=>r.jsx(a.default,{blok:e,linkClassName:t,site:l,section:"Main Nav"},e._uid))})},24075:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(15725),n=l(73479),i=l(70026),s=l(44890),o=l(81853);let d={"/products/residential-roofing":"/home-residential","/products/siding":"/home-siding","/products/commercial-roofing":"/home-commercial","/products/waterproofing":"/home-waterproofing"};t.default=({blok:e,linkClassName:t,site:l,section:c="Main Nav"})=>{let{isLogin:m}=(0,s.f0)(),x=e?.link?.url||"";return"US"===l&&(x=d[x]||x),(0,r.jsx)(n.default,{...(0,a.LF)(e),prefetch:!1,href:e?.anonymousLink?m?e?.link?.url:e?.anonymousLink?.url||e?.anonymousLink?.cached_url||e?.link?.url:x,className:(0,o.cn)("font-HarmoniaSansPro mr-6 text-base font-semibold text-primary",t),...(0,i.P5)(e?.link||{}),"data-action":"click","data-label":e?.name,"data-section":c,children:e?.name})}},77173:function(e,t,l){"use strict";l.r(t),l.d(t,{MiniFindAStore:function(){return c}});var r=l(17223),a=l(12791),n=l(8995),i=l(70783),s=l(8744),o=l(69945),d=l(58542);let c=({blok:e})=>{let[t,l]=(0,i.useState)(""),c=(0,n.useRouter)(),m=(0,d.kK)();return e?(0,r.jsx)("div",{className:"relative w-full bg-black p-6 md:px-12 l:px-12 l:py-0",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"mx-auto flex h-[338px] flex-col items-start justify-start md:flex-row md:items-center l:max-w-[1400px]",children:[(0,r.jsxs)("div",{className:"md:w-1/2",children:[(0,r.jsx)("h1",{className:"mb-4 mt-16 font-TitleBold text-[34px] leading-10 text-white md:mt-0 md:text-[48px] md:leading-[60px]",children:e?.title}),(0,r.jsx)("p",{className:"mb-8 text-[14px] leading-[16.8px] text-white md:mb-0 md:max-w-[486px] md:text-[18px] md:leading-[23.40px]",children:e?.description})]}),(0,r.jsxs)("div",{className:"flex w-full max-w-md justify-start md:ml-6 md:w-1/2",children:[(0,r.jsx)("input",{type:"text",className:"h-[48px] flex-grow rounded-[4px] border bg-black p-2 text-[14px] font-normal leading-[16.80px] text-white outline-none placeholder:bg-black placeholder:font-normal placeholder:text-white focus:outline-none focus:ring-0",placeholder:e?.searchInput[0]?.displayText,value:t,onChange:e=>l(e.target.value)}),(0,r.jsx)(s.z,{className:"mb-1 ml-[-87px] mt-1 px-5 text-[14px] font-normal",variant:"primary",onClick:()=>{let l=`/find-a-store?address=${encodeURIComponent(t)}`;(0,o.N3)({interaction:o.ym.SEARCH_SUBMITTED,surface:"homepage",metadata:{component:"mini_branch_finder",search_method:"button"}}),m({section:"find_a_store",element:"find_a_store_search",label:e?.title??"Find a Store",destinationUrl:l}),c.push(l)},children:"Search"})]})]})}):null}},95226:function(e,t,l){"use strict";l.r(t),l.d(t,{PopularBrands:function(){return o}});var r=l(17223),a=l(15725),n=l(8995);l(70783);var i=l(8744),s=l(94382);function o({blok:e}){let t=(0,s.Y)(),l=(0,n.useRouter)(),o=e=>{e&&l.push(e)};return(0,r.jsxs)("div",{className:"relative md:mx-auto md:max-w-[1200px]",...(0,a.LF)(e),children:[(0,r.jsx)("h3",{className:"mb-6 xs:mx-2 l:mx-0",children:e.title}),(0,r.jsx)("div",{className:"xs:grid xs:grid-cols-2 xs:gap-2 xs:px-2 l:flex l:gap-6 l:overflow-x-auto l:px-0",children:e.productBrandLinks?.map((e,l)=>r.jsxs("div",{...a.LF(e),onClick:()=>o(e.pageLink),className:"flex flex-col items-center justify-between gap-4 roun
1ded border border-neutral-300 bg-neutral-100 p-4 l:max-w-[200px]",children:[r.jsx("img",{alt:"",src:t(e.brandImage?.filename),className:"max-h-[50px] max-w-[168px] cursor-pointer"}),r.jsxs(i.z,{className:"block max-w-[160px] truncate",title:`${e.brandName} products`,children:[e.brandName," products"]})]},l))})]})}},66425:function(e,t,l){"use strict";l.r(t),l.d(t,{PopularBrandsNext:function(){return x}});var r=l(17223),a=l(12791),n=l(73479);l(70783);var i=l(10774),s=l(74041),o=l(6065),d=l(58542),c=l(94382);let m=({item:e,img:t,link:l,url:i,target:m,position:x})=>{let u=(0,c.Y)(),p=(0,d.kK)();return(0,r.jsxs)("div",{...(0,a.LF)(e),className:"flex h-[220px] flex-col justify-around rounded border border-neutral-300 bg-neutral-50 p-4 max-[1240px]:w-[200px] min-[1240px]:w-[285px]",children:[(0,r.jsx)("div",{className:"flex w-full items-center justify-center",children:(0,r.jsx)(o.default,{width:285,height:220,src:u(t),alt:l,className:"h-20 w-full object-contain"})}),(0,r.jsx)("div",{className:"mt-2 flex w-full items-center justify-center",children:(0,r.jsxs)(n.default,{prefetch:!1,href:i,className:"hover:text-primary/80 flex items-center text-sm text-primary underline",target:m,onClick:()=>p({section:"popular_brands",element:"brand_card",label:l,destinationUrl:i,position:x,isExternal:"_blank"===m}),children:[l,(0,r.jsx)(s.Z,{className:"h-4 w-4",color:"var(--colors-primary)","aria-hidden":"true"})," "]})})]})};function x({blok:e}){let t=(0,c.Y)(),l=(0,d.kK)();if(!e||!Array.isArray(e.brandCard))return null;let s=e?.brandCard?.map((e,l)=>r.jsx(m,{item:e,link:e?.link[0]?.displayText,img:t(e?.brandImage[0]?.image.filename),url:e?.link[0]?.url,target:e?.link[0]?.target,position:l},l));return(0,r.jsx)("div",{className:"relative mt-8 flex w-full",id:"popular-brands",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"flex w-full flex-col md:px-[48px]",children:[(0,r.jsxs)("div",{className:"mx-auto my-4 flex w-full flex-col justify-between px-6 md:px-0 l:max-w-[1400px] l:flex-row min-[1240px]:px-0",children:[(0,r.jsx)("span",{className:"font-TitleBold text-[34px] font-bold l:text-[48px]",children:e?.title}),e?.viewAll[0]?.url&&e?.viewAll[0]?.displayText&&(0,r.jsx)(n.default,{href:e.viewAll[0].url,className:"hover:text-primary/80 mt-4 flex items-end text-sm text-primary underline l:mt-0",onClick:()=>l({section:"popular_brands",element:"view_all",label:e.viewAll[0].displayText,destinationUrl:e.viewAll[0].url}),children:e.viewAll[0].displayText})]}),(0,r.jsx)(i.default,{items:s,className:"mx-auto my-4"})]})})}},4010:function(e,t,l){"use strict";l.r(t),l.d(t,{PopularCategoriesNext:function(){return x}});var r=l(17223),a=l(15725),n=l(73479);l(70783);var i=l(10774),s=l(6065),o=l(1707),d=l(58542),c=l(94382);let m=({img:e,label:t,url:l,target:a,position:n})=>{let i=(0,c.Y)(),m=(0,o.Kq)(),x=(0,d.kK)(),u=t.length>10&&!t.includes(" "),p=t;return!m&&u&&(p=(0,r.jsxs)(r.Fragment,{children:[t.slice(0,10),"-",(0,r.jsx)("br",{}),t.slice(10)]})),(0,r.jsxs)("div",{id:t,className:"inline-flex h-36 w-72 flex-row items-center justify-center overflow-hidden rounded border border-neutral-300 bg-neutral-50 p-4 max-[1240px]:w-[200px] min-[1240px]:w-[285px]",children:[(0,r.jsx)("span",{className:"flex items-center justify-center overflow-hidden",children:e&&(0,r.jsx)(s.default,{width:32,height:32,src:i(e),alt:t,className:"object-contain pr-2"})}),(0,r.jsx)("span",{className:"flex w-40 items-center justify-center self-stretch overflow-hidden text-2xl leading-7 text-[#16191C]",children:(0,r.jsx)("a",{href:l,target:a,className:"text-center hover:underline",style:{textDecorationThickness:1.5},onClick:()=>x({section:"shop_by_category",element:"category_card",label:t,destinationUrl:l,position:n,isExternal:"_blank"===a}),children:p})})]})};function x({blok:e}){let t=(0,c.Y)(),l=(0,d.kK)();if(!e)return null;let s=e?.categoryCard?.map((e,l)=>r.jsx(m,{label:e?.categoryName,img:t(e?.image[0]?.image),url:e?.link[0]?.url,target:e?.link[0]?.target,position:l},l));return(0,r.jsx)("div",{className:"relative mt-8 flex w-full",id:"shop-by-category",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"flex w-full flex-col md:px-[48px]",children:[(0,r.jsxs)("div",{className:"mx-auto my-4 flex w-full flex-col justify-between px-6 md:px-0 l:max-w-[1400px] l:flex-row min-[1240px]:px-0",children:[(0,r.jsx)("h1",{className:"text-[34px] font-bold text-black l:text-[48px]",children:"Shop by Category"}),e?.viewAll?.url&&e?.viewAll?.displayText&&(0,r.jsx)(n.default,{href:e.viewAll.url,className:"hover:text-primary/80 mt-4 flex items-end text-sm text-primary underline l:mt-0",onClick:()=>l({section:"shop_by_category",element:"view_all",label:e.viewAll.displayText,destinationUrl:e.viewAll.url}),children:e.viewAll.displayText})]}),(0,r.jsx)(i.default,{items:s,className:"mx-auto my-4"})]})})}},54451:function(e,t,l){"use strict";l.r(t),l.d(t,{PopularProductsNext:function(){return u}});var r=l(17223),a=l(15725),n=l(73479);l(70783);var i=l(10774),s=l(45818),o=l(1707),d=l(58542),c=l(44890),m=l(9531),x=l(81853);function u({blok:e}){let t=(0,o.p0)(),{isLogin:l}=(0,c.f0)(),u=(0,d.kK)(),{data:p,isError:h,error:f}=(0,m.pE)(e?.podId,e?.productNumber);if(!p?.results?.length)return null;let b=p?.results?.map((e,t)=>{let a=e?.data?.id??"",n=e?.data?.prdName??a,i=e?.variations?.[0],o=i?.data?.variation_id??"",d=a&&o?`/product/${x.LO(x.mn(i,e?.data?.brand,n))}/${a}/${o}`:"";return r.jsx(s.I,{className:"max-[1240px]:w-[200px] l:h-[600px] min-[1240px]:w-[285px]",product:e,isLogin:l,onGotoProductDetail:()=>u({section:"popular_products",element:"product_card",label:n,destinationUrl:d,position:t,ctaId:a}),index:t},a)});return(0,r.jsx)("div",{className:"relative mt-8 flex w-full",id:"popular-products",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"flex w-full flex-col md:px-[48px]",children:[(0,r.jsxs)("div",{className:"mx-auto my-4 flex w-full flex-col justify-between px-6 md:px-0 l:max-w-[1400px] l:flex-row min-[1240px]:px-0",children:[(0,r.jsx)("span",{className:"font-TitleBold text-[34px] font-bold l:text-[48px]",children:e?.title}),e?.viewAll[0]?.url&&e?.viewAll[0]?.displayText&&(0,r.jsx)(n.default,{prefetch:!1,href:e.viewAll[0].url,className:"hover:text-primary/80 mt-4 flex items-end text-sm text-primary underline l:mt-0",title:e.viewAll[0].displayText,onClick:()=>u({section:"popular_products",element:"view_all",label:e.viewAll[0].displayText,destinationUrl:e.viewAll[0].url}),children:e.viewAll[0].displayText})]}),t?(0,r.jsx)(i.default,{items:b??[],className:"mx-auto my-4"}):(0,r.jsx)("div",{className:"px-4",children:b?.slice(0,4)})]})})}},91335:function(e,t,l){"use strict";l.r(t),l.d(t,{ProductBrowseCardSectionGroup:function(){return s}});var r=l(17223),a=l(15725),n=l(1707),i=l(94382);function s({blok:e}){let t=(0,i.Y)(),l=(0,n.ZL)();if(!e)return;let s=e.items.sort((e,t)=>
1t?.order-e?.order),o=e=>{if(e?.imageCards)return e?.imageCards?.map(e=>{let a;return r.jsx("div",{className:"cell mb-[1.5625rem] bg-white",children:r.jsx("div",{className:"image-card h-full w-full",children:r.jsx("a",{className:"image-card__link flex h-full w-full",href:(a="",e?.cateFilter&&(a=`?cateFilter=${e?.cateFilter}${l?"&isMobileApp=true":""}`),`${e?.pageLink}${a||(l?"?isMobileApp=true":"")}`),children:r.jsxs("div",{className:"image-card__content-container border-4 border-neutral-200 p-[0.5rem] pb-0 hover:shadow-[1px_1px_5px_0] hover:shadow-neutral-200",children:[r.jsx("div",{className:"image-card__image-wrap border-[1px] border-neutral-300",children:r.jsx("img",{src:t(e.displayImage?.filename),alt:e.title})}),r.jsx("div",{className:"image-card__text-wrap mx-[0.375rem] mb-[0.625rem] mt-[0.75rem]",children:r.jsx("span",{className:"image-card__text text-[1.1875rem]/[1.375rem] font-semibold",children:e.title})})]})})})},e.title)})};return(0,r.jsx)("div",{className:"image-card-section-group grid-x grid-margin-x relative w-full",...(0,a.LF)(e),children:s.map(e=>(0,r.jsxs)("section",{className:"image-card-section grid-container !m-[initial] w-full",children:[(0,r.jsx)("h3",{className:"image-card-section__title mt-4 pb-4",children:e.sectionTitle}),(0,r.jsx)("div",{className:"grid-x grid-margin-x small-up-2 medium-up-3 large-up-5 image-card-section__card-grid no-title",children:o(e)})]},e?._uid))})}},52469:function(e,t,l){"use strict";l.r(t),l.d(t,{ProductBrowseList:function(){return p}});var r=l(17223),a=l(15725),n=l(8744),i=l(6065),s=l(96404),o=l(94382),d=l(8995);l(70783);var c=l(81853),m=l(43604),x=l.n(m);function u({blok:e}){let t=(0,d.useRouter)();if(!e)return;let l=e.items[0].name,s=e.items[0].imageCards,o=(e,l,r)=>{e&&t.push(`${e}?cateFilter=${l??""}&${r?.join("&")??""}`)};return(0,r.jsxs)("div",{className:"mb-24 rounded border border-neutral-300 bg-neutral-50 p-4 shadow-lg xs:hidden md:mx-auto md:block md:max-w-[1200px]",...(0,a.LF)(e),children:[(0,r.jsx)("h3",{className:"mb-4",children:l}),(0,r.jsx)("div",{className:"flex w-full gap-4",children:s.map(e=>(0,r.jsxs)("div",{className:"w-full rounded border border-neutral-300 bg-neutral-50 p-2 shadow-lg",children:[(0,r.jsx)("div",{className:"absolute z-30",children:(0,r.jsx)(i.default,{src:e.displayImage.filename,alt:"",width:560,height:170,className:"h-[170px] w-[560px]"})}),(0,r.jsx)("div",{className:(0,c.cn)("relative z-30 h-[168px] max-w-[214px] p-2 py-2",x().leftBlock),children:(0,r.jsx)("div",{className:"flex h-full flex-col justify-end",children:(0,r.jsxs)(n.z,{className:"line-clamp-2 whitespace-normal py-[5px]",onClick:()=>o(e.pageLink,e.cateFilter,e.filters),children:["Explore ",e.title]})})})]},e._uid))})]})}let p=({blok:e})=>{let t=e?.name==="By Application Card Section",l=(0,o.Y)(),d=(0,s.Ty)(),c=e.items.length>1,m=(e,t,l)=>{if(e){if("string"==typeof l){if(l.startsWith("[")&&l.endsWith("]"))try{l=JSON.parse(l)}catch(e){l=[l]}else l=[l]}Array.isArray(l)&&(l=l.map(e=>"object"==typeof e?e.value:e));let r=l?.filter(e=>e)?.join("&")??"",a=r?`cateFilter=${t??""}&${r}`:`cateFilter=${t??""}`;d.push(`${e}?${a}`)}};return t?(0,r.jsx)(u,{blok:e}):(0,r.jsx)("div",{className:"relative xs:mx-2 xs:mb-16 md:mx-auto md:mb-36 md:max-w-[1200px]",...(0,a.LF)(e),children:e.items?.map(e=>r.jsxs("div",{...a.LF(e),children:[r.jsx("h2",{className:"font-TitleBold xs:my-4 xs:text-[32px] l:my-8",children:c&&(e.displayName||e.name)}),r.jsx("div",{className:"grid xs:grid-cols-2 xs:gap-2 md:grid-cols-4 md:gap-5 ",children:e.imageCards?.map(e=>r.jsxs("div",{onClick:()=>m(e.pageLink,e.cateFilter,e.filters),className:"flex flex-col justify-between rounded border border-neutral-300 bg-neutral-100 xs:p-2 md:w-[288px] md:p-4",children:[r.jsx(i.default,{src:l(e.displayImage?.filename),alt:"",width:500,height:500,unoptimized:!0,className:"w-full cursor-pointer rounded-3xl xs:mb-2 xs:max-h-[135px] md:mb-4 md:max-h-[200px]"}),r.jsx("div",{className:"flex w-full justify-center",children:r.jsx(n.z,{className:"w-full text-wrap font-semibold leading-4 text-neutral-50 first-letter:text-[16px] l:w-auto",children:`${e.t
1itle}`})})]},e.title))})]},e._id))})}},15433:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(15725),n=l(42555),i=l(70783),s=l(16653),o=l(8744),d=l(19832);let c=s.Z_().email();t.default=({blok:e})=>{let[t,l]=(0,i.useState)(""),[s,m]=(0,i.useState)(""),[x,u]=(0,i.useState)(!1);(0,i.useEffect)(()=>{let e=c.safeParse(t);s&&e.success&&m("")},[t,s]);let p=()=>!!c.safeParse(t).success||(m("Please enter a valid email address."),!1),h=async e=>{e.preventDefault();try{if(!p())return;u(!0),await n.Z.post(`/api/newsletter?email=${encodeURIComponent(t)}`),d.A.success("Youâve been signed up!"),l("")}catch(e){d.A.error("Something went wrong. Please try again."),m("There was a problem with the submission."),console.error("sign up error",e)}finally{u(!1)}};return(0,r.jsx)("div",{className:"w-full bg-primary-500",id:"qxo-updates",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1200px] flex-col items-start justify-center gap-6 self-stretch px-6 py-12 md:px-12 l:flex-row l:items-center l:justify-between l:gap-10 xl:px-0",children:[(0,r.jsx)("div",{className:"text-[32px] font-bold leading-10 tracking-normal text-neutral-50 l:w-[217px]",children:e?.title}),(0,r.jsx)("div",{className:"text-xl font-normal tracking-normal text-neutral-50 l:w-[566px]",children:e?.description}),(0,r.jsx)("form",{onSubmit:h,className:"w-full l:w-auto",children:(0,r.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,r.jsx)("div",{className:"inline-flex h-14 w-full max-w-[360px] items-center rounded border border-[#84888C] bg-white py-1 pl-5 pr-1 l:w-[316px]",children:(0,r.jsxs)("div",{className:"flex h-10 w-full min-w-0 max-w-[360px] items-center gap-3",children:[(0,r.jsx)("input",{type:"email",value:t,onChange:e=>{l(e.target.value)},placeholder:e?.placeholder,className:"min-w-0 flex-1 bg-white text-base font-normal text-neutral-900 placeholder-neutral-900 outline-none",disabled:x,required:!0}),(0,r.jsx)(o.z,{type:"submit",disabled:x,className:"flex h-12 min-w-[80px] max-w-[120px] items-center justify-center rounded bg-primary-500 px-5",children:(0,r.jsx)("span",{className:"whitespace-nowrap text-sm font-normal leading-[16.80px] text-neutral-50",children:e?.buttonText})})]})}),s&&(0,r.jsx)("div",{className:"w-full text-left text-sm text-red-400",children:s})]})})]})})}},42602:function(e,t,l){"use strict";l.r(t),l.d(t,{Section:function(){return n}});var r=l(17223),a=l(12791);l(70783),l(3280);let n=({blok:e})=>{if(!e)return null;let t=e?.htmlContent||"";return(0,r.jsx)("div",{className:"relative",...(0,a.LF)(e),children:(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})})}},30817:function(e,t,l){"use strict";l.r(t),l.d(t,{StaticPageBrandType:function(){return m}});var r=l(17223),a=l(15725),n=l(77729),i=l(86776),s=l(24561),o=l(63960),d=l(15118);let c=(e,t)=>{let l="/brand-landing",r=e.replace(l,"").slice(1).split("/"),a=[{name:"Home",href:"/"}];return r.forEach((e,n)=>{let i={name:e.replaceAll("-"," "),href:`${l}/${e}`.replaceAll("//","/")};n===r.length-1&&(i.name=t),n!==r.length-1&&(i.name=i.name.toLowerCase()),a.push(i)}),a},m=({blok:e})=>{let t=(0,i.q)(),l=c(e?.path||"",e?.name||"");if(e)return(0,r.jsxs)("div",{className:"shift7-page mt-2 w-screen max-w-[100%] md:mx-auto",...(0,a.LF)(e),children:[(0,r.jsxs)("div",{className:"grid-container generic-content-page",children:[(0,r.jsx)(n.a,{items:l,siteColor:t,className:"capitalize md:mb-[0.9375rem]"}),(0,r.jsx)(s.BasicHero,{blok:e?.hero})]}),(0,r.jsx)(d.InPageNavigation,{blok:e}),(0,r.jsx)("div",{className:"generic-content-page bg-white md:bg-neutral-100",children:(0,r.jsx)(o.ContentCardSection,{sections:e?.["content-sections"]})})]})}},98419:function(e,t,l){"use strict";l.r(t),l.d(t,{StaticPageCardType:function(){return i}});var r=l(17223),a=l(63960),n=l(91335);let i=({blok:e})=>{if(!e)return;let t="Product Browse Card Section Group Component"===e.name?"":"md:bg-neutral-100";return(0,r.jsx)("div",{className:"shift7-page w-screen max-w-[100%] last-of-type:mb-6 md:mx-auto",children:(0,r.jsx)("div",{className:`${t} generic-content-page bg-white`,children:"Product Browse Card Section Group Component"===e.name?(0,r.jsx)(n.ProductBrowseCardSectionGroup,{blok:e}):(0,r.jsx)(a.ContentCardSection,{sections:e})})})}},46106:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(12791),n=l(20312),i=l(73479);l(70783);var s=l(10774),o=l(85985),d=l(6065),c=l(2968),m=l(70026),x=l(58542),u=l(94382),p=l(81853);let h=({position:e,...t})=>{let l=(0,o.K)(),s=(0,u.Y)(),h=(0,x.kK)(),{image:f,category:b,date:g,title:v,description:j,link:w}=t,N=w?.[0]?.link?.url||"#",y=t=>()=>h({section:"blog",element:t,label:v,destinationUrl:N,position:e});return(0,r.jsxs)("div",{...(0,a.LF)(t),className:"inline-flex w-[303px] flex-1 flex-col items-start justify-start gap-6 overflow-hidden rounded-lg border border-neutral-300 bg-white pb-6 l:w-[336px] l:self-stretch",children:[(0,r.jsx)(i.default,{prefetch:!1,href:N,...(0,m.P5)(w[0]?.link||{}),onClick:y("blog_card_image"),children:f&&(0,r.jsx)(d.default,{width:303,height:170,src:s(f),alt:v,className:"relative h-[170px] w-[303px] rounded-t l:h-[190px] l:w-[336px]"})}),(b||g||v||j)&&(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-6 self-stretch px-6",children:[(0,r.jsxs)("div",{className:(0,p.cn)("inline-flex items-center justify-between self-stretch",l&&"gap-3"),children:[(0,r.jsx)("div",{className:(0,p.cn)("flex items-center justify-start gap-2.5 rounded-3xl px-3.5 py-1.5","Learning"===b?"bg-success-400":"bg-primary"),children:(0,r.jsx)("div",{className:(0,p.cn)("font-ProximaNova text-sm font-semibold leading-none","Learning"===b?"text-success-700":"text-white"),children:b})}),g&&(0,r.jsx)("div",{className:(0,p.cn)("font-ProximaNova justify-start text-xs font-semibold tracking-[0.16em] text-neutral-500",l&&"shrink-0 whitespace-nowrap"),children:(0,n.p6)(g,l?"MMM d, yyyy":c.SH.Mdy)})]}),(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-3 self-stretch",children:[(0,r.jsx)("div",{className:"font-ProximaNova line-clamp-2 justify-start self-stretch text-lg font-semibold leading-normal text-neutral-700 l:h-[56px] l:w-[288px] l:text-2xl l:font-semibold l:leading-7",children:(0,r.jsx)(i.default,{prefetch:!1,href:N,...(0,m.P5)(w[0]?.link||{}),onClick:y("blog_card_title"),className:"hover:underline",children:v})}),(0,r.jsx)("div",{className:"font-ProximaNova line-clamp-3 h-[72px] justify-start self-stretch text-base font-normal leading-normal text-neutral-900",children:j})]})]})]})};t.default=({blok:e})=>{let t=(0,u.Y)(),l=(0,x.kK)();if(!e)return null;let n=e?.blogCard?.map((e,l)=>r.jsx(h,{position:l,...e,image:t(e?.image[0]?.image.filename)},l));return(0,r.jsx)("div",{className:"relative mt-8 flex w-full px-4 py-6 md:py-8 l:px-20",id:"beacon-news",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:[(0,r.jsxs)("div",{className:"my-4 flex w-full flex-col justify-between l:flex-row",children:[(0,r.jsx)("span",{className:"font-TitleBold text-2xl font-bold tracking-[-0.02em] text-neutral-900 l:text-[36px] l:leading-[44px]",children:e?.title}),e.link[0].link?.url&&e.link[0].text&&(0,r.jsx)(i.default,{prefetch:!1,href:e.link[0].link?.url||"#",...(0,m.P5)(e.link[0].link||{}),onClick:()=>l({section:"blog",element:"view_all",label:e.link[0].text,destinationUrl:e.link[0].link.url}),className:"hover:text-primary/80 mt-4 flex items-end text-sm text-primary underline l:mt-0",children:e.link[0].text})]}),(0,r.jsx)(s.default,{items:n??[],className:"my-4",pageSize:4})]})})}},31438:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(12791);l(70783);var n=l(8744),i=l(50999),s=l(62477),o=l(87220),d=l(58542),c=l(81853);let m="inline-flex w-full flex-col items-start justify-center self-stretch overflow-hidden border-t border-neutral-100 bg-primary-500 backdrop-blur-[20px] l:border-l l:border-t-0",x=({icon:e,value:t,label:l,isV2:a})=>(0,r.jsx)("div",{className:a?`${m} sm:px-8 sm:py-12 px-6 py-10 l:px-8 l:py-14 xl:px-10`:`${m} p-8`,children:(0,r.jsxs)("div",{className:"sm:gap-8 flex w-full flex-row items-center justify-start gap-6 l:flex-col l:items-start l:gap-0",children:[(0,r.jsx)("div",{"data-svg-wrapper":!0,className:"content-center l:pb-4 l:pr-0",children:e}),(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start self-stretch l:items-start l:gap-3 l:pl-0",children:[(0,r.jsx)("div",{className:"self-stretch font-TitleBold text-6xl font-bold leading-[1.2] text-neutral-50 l:text-6xl l:leading-[60px]",children:t}),(0,r.jsx)("div",{className:"font-ProximaNova self-stretch text-xs font-semibold tracking-widest text-[#d9d9d9]",children:l})]})]})}),u="https://jobs.becn.com/careers-home";t.default=({blok:e})=>{let t=e?.isV2===!0,l=(0,d.kK)(),m=t?"flex w-full flex-col items-start justify-start gap-8 overflow-hidden bg-primary-500 px-6 py-10 backdrop-blur-[20px] sm:px-8 sm:py-12 md:gap-10 md:py-14 l:w-[45%] l:border-t-0 l:border-neutral-100 l:px-10 l:py-16 xl:px-12 xl:pr-10":"flex w-full flex-col items-start justify-start gap-10 overflow-hidden bg-primary-500 px-6 py-12 backdrop-blur-[20px] l:w-[45%] l:border-t-0 l:border-neutral-100 l:px-0 l:py-12",p=t?"flex w-full flex-col items-start justify-center gap-6 md:gap-8 l:gap-6":"flex w-full flex-col items-start justify-center gap-10 l:gap-4",h=t?"w-full text-base font-normal leading-relaxed text-neutral-50":"w-full text-base font-normal leading-normal text-neutral-50",f
1=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:m,children:[(0,r.jsxs)("div",{className:p,children:[(0,r.jsx)("h2",{className:"w-full font-TitleBold text-4xl font-bold leading-[1.2] text-neutral-50 l:max-w-[50%] l:text-5xl l:leading-[60px]",children:e?.title}),(0,r.jsx)("p",{className:h,children:e?.description})]}),(0,r.jsx)("div",{className:"flex w-full items-start justify-start",children:(0,r.jsx)(n.z,{variant:"secondary",className:"w-full items-center justify-center md:inline-flex md:w-auto",onClick:()=>{l({section:"careers",element:"careers_cta",label:e?.cta?.[0]?.displayText??"Careers",destinationUrl:u,isExternal:!0}),window.open(u,"_blank","noopener,noreferrer")},children:e?.cta?.[0]?.displayText})})]}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col l:flex-row",children:[(0,r.jsx)(x,{isV2:t,icon:(0,r.jsx)(o.Z,{color:"white",fill:"none",width:"48",height:"48",viewBox:"0 0 48 48","aria-hidden":"true"}),value:(0,c.pw)(e?.fleet,"+"),label:"Fleet size"}),(0,r.jsx)(x,{isV2:t,icon:(0,r.jsx)(i.Z,{color:"white",fill:"none",width:"48",height:"48",viewBox:"0 0 48 48","aria-hidden":"true"}),value:(0,c.pw)(e?.locations,"+"),label:"Locations"}),(0,r.jsx)(x,{isV2:t,icon:(0,r.jsx)(s.Z,{color:"white",fill:"none",width:"48",height:"49",viewBox:"0 0 48 49","aria-hidden":"true"}),value:(0,c.pw)(e?.members,"+"),label:"Team members"})]})]}),b=t?"relative mx-auto flex w-full max-w-[1760px] flex-col items-stretch justify-start overflow-hidden rounded-[4px] bg-primary-500 l:flex-row l:border-r l:border-neutral-100":"relative mx-auto flex w-full flex-col items-stretch justify-start overflow-hidden bg-white l:flex-row l:border-r l:border-neutral-100 l:max-w-[1400px]";return(0,r.jsx)("div",{className:t?"px-4 py-8 md:py-10 l:px-20":"w-full bg-primary-500",id:"beacon-career",...(0,a.LF)(e),children:t?(0,r.jsx)("section",{className:b,children:f}):(0,r.jsx)("div",{className:"mx-auto l:px-12",children:(0,r.jsx)("div",{className:b,children:f})})})}},20578:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(70783),n=l(95289),i=l(35132),s=l(9586),o=l(69160),d=l(89326),c=l(96404),m=l(81853),x=l(34037);t.default=()=>{let e=(0,c.LI)({isFetchLocation:!0}),[t,l]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,f]=(0,a.useState)(!1),b=(0,d.kF)(),g=(0,d.W4)(),v="CA"===g||"US"===g?"25":"150",[j,w]=(0,a.useState)([]);return(0,a.useEffect)(()=>{let{latitude:t,longitude:r}=e;if(!e.loading){if(e.error)return l("Please allow location access to get your nearest branch.");null!=t&&null!=r&&(async()=>{f(!0);let e=(0,x.r)(b.NEXT_PUBLIC_STORE_LOCATOR_NEW_API,v,{lat:t,lng:r}),a=(0,x.k)({latlng:`${t},${r}`,shortAddress:!0}),[n,i]=await Promise.all([e,a]),s="ok"===n.status?n.items:[],d="ok"===i.status?i.formatted_address:"";s.length>0&&((0,o.dd)({event:"find_a_store",filters:[{radius:`${v} miles`}],address:d,number_of_results:s.length,store_locations:s.map((e,t)=>({name:e.storeLocation.name,distance:String(e.distance),listing_position:String(++t)}))}),w(s)),0===s.length&&l("No information is available about this location."),p(d),f(!1)})()}},[e.loading]),(0,r.jsxs)(r.Fragment,{children:[h&&(0,r.jsx)("p",{children:"Finding your nearest branch"}),(0,r.jsxs)(n.$,{spinning:h,children:[t?(0,r.jsx)("span",{className:(0,m.cn)("!-mt-1 !mb-4 block text-lg leading-7",e.error?"text-danger-500":""),children:t}):u&&(0,r.jsxs)("span",{className:"!-mt-1 !mb-4 block text-lg leading-7",children:["It looks like you're in ",u,". We've selected the nearest branch based on that location:"]}),j.length>0&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("li",{className:"flex w-[392px] rounded border border-neutral-300 bg-neutral-100 p-4",children:[(0,r.jsxs)("div",{className:"relative mr-2 w-6 shrink-0",children:[(0,r.jsx)(s.j,{className:"absolute top-0 z-0"}),(0,r.jsx)("span",{className:"absolute left-1/2 top-[7px] z-10 translate-x-[-50%] text-[11px] font-medium leading-[11px] text-white",children:"A"})]}),(0,r.jsx)(i.fo,{storeItem:j[0],variant:"default"})]})})]})]})}},58708:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(15725),n=l(46727),i=l(73479),s=l(70783),o=l(1027),d=l(1707),c=l(89326),m=l(58542),x=l(81853),u=l(73671),p=l.n(u);t.default=({blok:e})=>{let t=(0,d.p0)(),l=(0,d.C1)(),u=(0,c.YS)().isUS,h=(0,m.kK)(),f=e?.backgroundColor??"linear-gradient(180deg, rgba(12, 29, 54, 0.80) 25%, rgba(12, 29, 54, 0.00) 100%)",b=t||l?e?.largeDeviceMediaId:e?.smallDeviceMediaId,g=e?.backgroundImage?.[0]?.image,v=(0,s.useMemo)(()=>{let r={backgroundImage:`url(${g})`,backgroundSize:"cover",backgroundPosition:"center"};return t||l?e?.largeDeviceMediaId?{}:r:e?.smallDeviceMediaId?{}:r},[t,l]),j=e=>(0,r.jsxs)("svg",{width:22,height:28,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_304_47435)",children:(0,r.jsx)("path",{d:"M6.66656 4L5.72656 4.94L8.7799 8L5.72656 11.06L6.66656 12L10.6666 8L6.66656 4Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_304_47435",children:(0,r.jsx)("rect",{width:22,height:28,fill:"currentColor"})})})]});return(0,r.jsx)("div",{className:"flex flex-col bg-[#0C1D36]",id:"hero-navigation",style:v,...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:(0,x.cn)("relative h-[580px] w-full overflow-hidden md:mt-[-0.25rem] md:h-[811px] l:mt-[-1.5rem]",{"md:h-[1000px]":e?.searchPlaceHolder}),children:[(0,r.jsxs)("div",{className:"absolute inset-0",children:[b&&(0,r.jsx)("div",{className:p().heroVideo,children:(0,r.jsx)(n.O,{mediaId:b,onPlay:function(){},fitStrategy:"cover"})}),(0,r.jsx)("div",{className:"absolute inset-0 z-10",style:{background:f}})]}),(0,r.jsxs)("div",{className:"absolute inset-0 z-40 mx-auto flex h-full max-w-[1496px] flex-col items-start justify-center px-6 py-12 text-left text-white md:scroll-pb-40 md:px-[48px] md:py-0 md:pt-[72px]",children:[e?.richTitle&&(0,r.jsx)("h1",{className:"rich-text text-left font-TitleBold text-5xl font-bold tracking-[1px] text-white md:text-6xl l:text-[120px] l:leading-[120px]",dangerouslySetInnerHTML:{__html:e?.richTitle}}),!e?.richTitle&&(0,r.jsx)("h1",{className:"rich-text text-left font-TitleBold text-5xl font-bold tracking-[1px] text-white md:text-6xl l:mb-0 l:text-[120px] l:leading-[120px]",children:e?.title}),(0,r.jsx)("p",{className:"mb-16 mt-4 text-xl font-bold leading-6 l:mt-2 l:max-w-[35%] l:text-2xl l:font-medium l:leading-7",children:e?.
1subTitle}),e?.searchPlaceHolder&&(0,r.jsx)(o.w,{className:p().searchbox+" mb-16 l:mb-[200px]",placeholderText:e?.searchPlaceHolder,categoryId:e?.searchCategoryId,id:"hero-search"}),(0,r.jsx)("p",{className:"text-left text-lg font-semibold leading-6 md:text-xl",children:e?.description}),(0,r.jsx)("div",{className:`sm:grid-cols-2 mt-4 grid w-full max-w-[1304px] grid-cols-1 text-base font-medium text-neutral-50 md:w-auto ${u?"md:grid-cols-4":"md:grid-cols-3"} gap-0 md:pr-12 l:text-2xl l:leading-7`,children:e?.links?.map((t,l)=>{if(t.url&&(u||!t.url.includes("home-siding")))return r.jsx("div",{className:"justify-between",children:r.jsx(i.default,{href:t.url,id:t.url.includes("home-siding")?"siding-landing":void 0,onClick:()=>h({section:"hero_categories",element:"category_card",label:t.displayText,destinationUrl:t.url,position:l,ctaId:t.url.includes("home-siding")?"siding-landing":void 0}),children:r.jsxs("div",{className:`group relative flex w-full items-center justify-between overflow-hidden text-nowrap border-[0.5px] border-neutral-50 py-[22px] pl-[104px] pr-[72px] md:w-[352px] md:flex-1 md:px-8 md:py-7 2 ${0===l?"md:rounded-l-[4px]":""} 3 ${l===e.links.length-1?"md:rounded-r-[4px]":""}`,style:{background:"rgba(182, 182, 182, 0.20)",backdropFilter:"blur(20px)"},children:[r.jsx("div",{className:"pointer-events-none absolute left-0 top-0 z-0 h-full w-0 bg-white transition-all duration-300 ease-in-out group-hover:w-full",style:{transitionProperty:"width"}}),r.jsx("span",{className:"relative z-10 transition-colors duration-300 ease-in-out group-hover:text-primary-500",children:t.displayText}),r.jsx(j,{className:"relative z-10 text-[#DFE2E5] transition-colors duration-300 ease-in-out group-hover:text-primary-500 md:mr-12"})]})},t.displayText)},t.displayText)})})]})]})})}},71:function(e,t,l){"use strict";l.r(t),l.d(t,{BulletedList:function(){return d}});var r=l(17223),a=l(15725),n=l(73479),i=l(70026),s=l(44890),o=l(81853);let d=({blok:e})=>{let{isLogin:t}=(0,s.f0)(),l=JSON.parse(e?.listArray),d=!!(Array.isArray(e?.link)?e.link[0]?.link?.url&&e.link[0]?.text||e.link[1]?.link?.url&&e.link[1]?.text:e?.link?.link?.url&&e?.link?.text);return(0,r.jsxs)("div",{className:"single-row-bulleted-list relative my-[50px]",...(0,a.LF)(e),children:[e?.heading?(0,r.jsx)("h2",{className:"mb-[15px] !text-[1.25rem]/[1.5rem]",children:e.heading}):null,(0,r.jsxs)("div",{className:"single-row-bulleted-list__wrapper border-y border-neutral-300 py-5 l:flex",children:[(0,r.jsx)("ul",{className:(0,o.cn)("full-width !mt-0 l:!m-0",{"l:w-2/3":d}),children:l.map((e,t)=>(0,r.jsx)("li",{className:(0,o.cn)("mb-[10px] list-disc text-[0.5rem] marker:!text-[8px] l:float-left l:w-1/3",{"l:w-1/2":d}),children:(0,r.jsx)("span",{className:"top-[3px] text-[1rem]/[1.25rem] l:text-[1.0625rem]/[1.3125rem]",children:e})},e??t))}),(e=>{if(!e||!d)return null;if(Array.isArray(e)){let l=t?e[1]?.link?.url:e[0]?.link?.url||"",a=t?e[1]?.text:e[0]?.text;return l&&a?(0,r.jsx)("div",{className:"l:flex l:w-1/3 l:items-center l:justify-center",children:(0,r.jsx)(n.default,{prefetch:!1,href:l||"#",className:"button primary l:my-0",...(0,i.P5)(e[0]?.link||{}),children:a})}):null}return e?.link?.url&&e?.text?(0,r.jsx)("div",{className:"l:flex l:w-1/3 l:items-center l:justify-center",children:(0,r.jsx)(n.default,{prefetch:!1,href:e.link?.url||"#",className:"button primary l:my-0",...(0,i.P5)(e.link||{}),children:e.text})}):null})(e?.link)]})]})}},2036:function(e,t,l){"use strict";l.r(t),l.d(t,{SidebarImageList:function(){return m}});var r=l(17223),a=l(12791),n=l(73479);l(70783);var i=l(6065),s=l(70026),o=l(94382);let d=e=>e?.link?.url||"#",c=e=>e?.filename||"";function m({blok:e}){let t=(0,o.Y)(),{heading:l,imageListArray:m,image:x,link:u}=e||{},p=Array.isArray(m)&&m.length>0,h=!!x?.filename;return p||h||l?(0,r.jsxs)("aside",{...(0,a.LF)(e),className:"image-list generic-rail-component relative","aria-label":l||"",children:[l?(0,r.jsx)("h3",{className:"mb-3 text-lg font-semibold leading-tight",children:l}):null,p&&(0,r.jsx)("ul",{className:"mb-4 space-y-3",children:m.map(e=>{let l=e._uid||`${e?.image?.filename}-${e?.link?.link?.url}`,a=c(e.image),o=e.link?.[0];return a?(0,r.jsx)("li",{className:"list-none",children:(0,r.jsx)(n.default,{prefetch:!1,href:d(o),className:"group inline-block",rel:"noopener noreferrer",...(0,s.P5)(o?.link||{}),children:(0,r.jsx)(i.default,{src:t(a),alt:e.name||"",className:"max-w-full rounded-md transition-transform duration-300 group-hover:scale-[1.01]",width:212,height:135})})},l):null})}),h&&(0,r.jsx)("ul",{children:(0,r.jsx)("li",{className:"list-none",children:(0,r.jsx)(n.default,{prefetch:!1,href:d(u),className:"inline-block",rel:"noopener noreferrer",...(0,s.P5)(u?.link||{}),children:(0,r.jsx)(i.default,{src:t(c(x)),alt:"",className:"max-w-full rounded-md",width:212,height:135})})})})]}):null}},11136:function(e,t,l){"use strict";l.r(t),l.d(t,{ThreeColumnBulletedList:function(){return s}});var r=l(17223),a=l(15725),n=l(81853);let i=({title:e,listArray:t,index:l})=>(0,r.jsxs)("div",{className:(0,n.cn)("border-b border-neutral-300 pb-[15px] pt-[25px] l:w-1/3 l:flex-shrink-0 l:flex-grow-0 l:basis-auto l:border-0 l:border-r l:pb-6 l:pl-0 l:pt-0",{"l:pr-6":0===l,"l:px-6":1===l,"border-b-0 l:border-r-0 l:pl-6":2===l}),children:[e?(0,r.jsx)("h3",{children:e}):null,(0,r.jsx)("ul",{className:"mt-0 pl-[15px]",children:(t??[]).map((e,t)=>(0,r.jsx)("li",{className:"font-[0.5rem]/[1.3125rem] mb-[10px] list-disc marker:!text-[8px]",children:(0,r.jsx)("span",{children:e})},e??t))})]}),s=({blok:e})=>
3{if(!e)return null;let t=[{title:e.listHeading1,list:JSON.parse(e?.listArray1)},{title:e.listHeading2,list:JSON.parse(e?.listArray2)},{title:e.listHeading3,list:JSON.parse(e?.listArray3)}];return(0,r.jsxs)("div",{className:"three-column-bulleted-list relative",...(0,a.LF)(e),children:[e.heading?(0,r.jsx)("h2",{children:e.heading}):null,(0,r.jsx)("div",{className:"three-column-bulleted-list__wrapper l:flex",children:t.map((e,t)=>(0,r.jsx)(i,{title:e.title,listArray:e.list,index:t},(e.title??"")+t))})]})}},415:function(e,t,l){"use strict";l.r(t),l.d(t,{WistiaVideoBlock:function(){return s}});var r=l(17223),a=l(12791),n=l(70783),i=l(62220);let s=({blok:e})=>{let t=(0,n.useMemo)(()=>e?.videos?.filter(e=>!!e?.videoId)??[],[e?.videos]);return t.length?(0,r.jsx)("section",{...(0,a.LF)(e),className:"relative","aria-label":"Wistia video block",children:(0,r.jsx)(i.g7,{videos:t})}):null};t.default=s},68322:function(e,t,l){"use strict";l.r(t);var r=l(17223),a=l(12791),n=l(64395),i=l(50784),s=l(20312),o=l(73479);l(70783);var d=l(74350),c=l(85985),m=l(70026),x=l(58542);let u=e=>{if(!e)return"";let t=e.trim(),l=t.split("/")[2]?.length,r=(0,n.Qc)(t,4===l?"M/d/yyyy":"M/d/yy",new Date);return(0,i.J)(r)?(0,s.WU)(r,"MMM d, yyyy"):t},p=({position:e,...t})=>{let l=(0,c.K)(),n=(0,x.kK)(),{label:i,dateRange:s,description:p,detailLink:h,dataId:f}=t,[b,g]=(s??"").split(" - "),v=h?.[0]?.link?.url||"#",j=()=>n({section:"promotions",element:"promotion_card",label:i,destinationUrl:v,position:e,ctaId:f});return l?(0,r.jsx)("div",{...(0,a.LF)(t),className:"flex flex-col items-start justify-start gap-6 self-stretch overflow-hidden rounded bg-gradient-to-r from-[#476ED1] to-[#16296E] px-6 pb-16 pt-8 l:w-[calc(50%-12px)]",children:(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-8 self-stretch",children:[(0,r.jsxs)("div",{className:"inline-flex items-center justify-between gap-3 self-stretch",children:[(0,r.jsx)(d.C,{className:"rounded-3xl bg-[#D9E4FF] px-3 py-1 text-center text-sm font-semibold leading-4 text-[#1F4199]",children:i}),(0,r.jsxs)("div",{className:"justify-start text-right font-Regular text-xs font-semibold leading-none text-[#F2F2F2] l:text-sm l:leading-4",children:[(0,r.jsx)("span",{className:"whitespace-nowrap",children:u(b)})," ",(0,r.jsxs)("span",{className:"whitespace-nowrap",children:["â ",u(g)]})]})]}),(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-8 self-stretch l:flex-row l:items-end l:justify-between",children:[(0,r.jsx)("div",{className:"justify-start self-stretch font-Regular text-2xl font-bold leading-7 text-[#F2F2F2] l:w-[336px]",children:p}),(0,r.jsx)(o.default,{prefetch:!1,href:v,...(0,m.P5)(h[0]?.link||{}),title:h[0]?.text,"data-id":f,onClick:j,className:"inline-flex h-10 w-full items-center justify-center whitespace-nowrap rounded bg-white px-2 py-2.5 text-base font-semibold text-[#155EEF] hover:bg-neutral-50 l:w-[142px] l:flex-shrink-0 l:self-end",children:h[0]?.text})]})]})}):(0,r.jsx)("div",{...(0,a.LF)(t),className:"flex flex-col items-start justify-start gap-6 self-stretch overflow-hidden rounded bg-black px-6 py-8 outline outline-1 outline-offset-[-0.50px] outline-[#bfc3c7] l:w-[calc(50%-12px)] l:px-6 l:pb-12 l:pt-8",children:(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-8 self-stretch",children:[(0,r.jsxs)("div",{className:"inline-flex items-center justify-between self-stretch",children:[(0,r.jsx)(d.C,{status:"warning",className:"rounded-3xl bg-white text-center text-sm text-primary",children:i}),(0,r.jsxs)("div",{className:"font-ProximaNova justify-start text-right text-xs font-medium leading-none text-white l:text-sm",children:[(0,r.jsxs)("span",{className:"l:hidden",children:[b," -",(0,r.jsx)("br",{}),g]}),(0,r.jsx)("span",{className:"hidden l:inline",children:s})]})]}),(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start gap-8 self-stretch l:flex-row l:items-end l:justify-between",children:[(0,r.jsx)("div",{className:"font-ProximaNova justify-start self-stretch text-2xl font-medium leading-7 text-white l:w-80 l:font-semibold",children:p}),(0,r.jsx)(o.default,{prefetch:!1,href:v,...(0,m.P5)(h[0]?.link||{}),title:h[0]?.text,"data-id":f,onClick:j,className:"inline-flex h-10 w-full items-center justify-center whitespace-nowrap rounded bg-primary px-2.5 py-2.5 font-normal text-white hover:bg-primary-600 l:w-auto l:flex-shrink-0 l:self-end",children:h[0]?.text})]})]})})};t.default=({blok:e})=>{let t=(0,c.K)(),l=(0,x.kK)();if(!e)return null;let n=e?.viewAllLink?.[0],i=n?.link?.url&&n?.text,s=()=>l({section:"promotions",element:"view_all",label:n?.text,destinationUrl:n?.link?.url,isExternal:!0});return t?(0,r.jsx)("div",{id:"beacon-promotions",className:"relative flex w-full px-4 py-6 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsxs)("section",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col justify-between l:flex-row l:items-end",children:[(0,r.jsx)("span",{className:"font-TitleBold text-[34px] font-bold l:max-w-[850px] l:text-[36px] l:leading-[44px] l:tracking-[-0.02em] l:text-[#16191C]",children:e?.title}),i&&(0,r.jsx)(o.default,{prefetch:!1,id:"view-all-promotions-v2",href:n.link.url,...(0,m.P5)(n.link),onClick:s,className:"mt-4 flex items-end text-base font-semibold capitalize text-[#476ED1] hover:text-[#476ED1]/80 l:mt-0",children:n.text})]}),(0,r.jsx)("div",{className:"mt-4 flex w-full flex-col items-start justify-center gap-3 l:mt-6 l:flex-row l:items-stretch l:gap-6",children:e?.promotions?.map((e,t)=>r.jsx(p,{position:t,...e},t))})]})}):(0,r.jsx)("div",{id:"beacon-promotions",className:"relative mt-8 flex w-full",...(0,a.LF)(e),children:(0,r.jsxs)("div",{className:"flex w-full flex-col",children:[(0,r.jsxs)("div",{className:"mx-auto my-4 flex w-full flex-col justify-between px-6 l:max-w-[1400px] l:flex-row min-[1240px]:px-0",children:[(0,r.jsx)("span",{className:"font-TitleBold text-[34px] font-bold l:max-w-[850px] l:text-[48px]",children:e?.title}),i&&(0,r.jsx)(o.default,{prefetch:!1,id:"view-all-promotions-v1",href:n.link.url,...(0,m.P5)(n.link),onClick:s,className:"hover:text-primary/80 mt-4 flex items-end text-sm text-primary underline l:mt-0",children:n.text})]}),(0,r.jsx)("div",{className:"mx-auto my-4 flex w-full flex-col items-start justify-center gap-3 self-stretch px-6 l:max-w-[1400px] l:flex-row l:items-stretch l:gap-6 min-[1240px]:px-0",children:e?.promotions?.map((e,t)=>r.jsx(p,{position:t,...e},t))})]})})}},78283:function(e,t,l){"use strict";l.r(t),l.d(t,{Advertising:function(){return g}});var r=l(17223),a=l(15725),n=l(25923),i=l(73479),s=l(8995),o=l(8744),d=l(70026),c=l(62715),m=l(58542),x=l(94382),u=l(81853);let p=e=>"string"==typeof e?e.trim():"",h=(e,t)=>{let l=[];for(let r=0;r<e.length;r+=t)l.push(e.slice(r,r+t));return l},f=e=>{let t=e?.buttonWithLink?.[0],l=p(t?.text),r=(0,c.hY)(t),a=!!p(e?.title),n=!!p(e?.image?.filename);return a||n||!!(l&&r)},b=({advert:e,multipleInRow:t})=>{let l=(0,s.usePathname)(),h=(0,x.Y)(),f=(0,m.kK)(),b=e?.buttonWithLink?.[0],g=p(b?.text),v=(0,c.hY)(b),j=!!b?.
3isExternal||b?.link?.target==="_blank",w=b?.link??{},N=h(e?.image?.filename),y=p(e?.image?.alt)||p(e?.image?.name)||p(e?.title)||"Advertisement image",k=!!N,_=(0,m.gj)({group:"advertising",label:g,destinationUrl:v,sourcePath:l}),P=(0,r.jsxs)("div",{className:(0,u.cn)("flex h-full flex-col items-start gap-8 bg-[#E3E8EF] px-6 pb-16 pt-8",k?"order-2 l:order-1 l:rounded-l-[4px]":"w-full rounded-[4px]"),children:[p(e?.title)?(0,r.jsx)("h3",{className:"font-TitleBold text-2xl font-bold leading-7 text-neutral-900",children:e.title}):null,g&&v?(0,r.jsx)(i.default,{prefetch:!1,href:v,className:"block w-full cursor-pointer l:w-auto",tabIndex:0,"aria-label":g,...(0,d.P5)(w),target:j?"_blank":void 0,rel:j?"noopener noreferrer":void 0,onClick:()=>f({section:"advertising",element:"advertising_cta",label:g,destinationUrl:v,ctaId:_,isExternal:j}),children:(0,r.jsx)(o.z,{className:"w-full !cursor-pointer px-[18px] py-3 text-base font-semibold leading-6 l:w-auto",type:"button",variant:"primary",children:g})}):null]});return k?(0,r.jsxs)("div",{className:(0,u.cn)("grid min-h-0 flex-1 self-stretch overflow-hidden rounded-[4px] l:min-h-[196px] l:grid-cols-2",t&&"grid-cols-1"),...(0,a.LF)(e),children:[P,(0,r.jsx)("div",{className:"relative order-1 min-h-[150px] overflow-hidden l:order-2 l:h-full l:min-h-[196px]",children:(0,r.jsx)(n.default,{src:N,alt:y,fill:!0,className:"object-cover object-center",sizes:"(max-width: 1279px) 100vw, 50vw"})})]}):(0,r.jsx)("div",{className:"flex min-h-0 flex-1 flex-col self-stretch",...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"h-full l:min-h-[196px]",children:P})})},g=({blok:e})=>{let t=(e?.adverts??[]).filter(f);if(0===t.length)return null;let l=h(t,2);return(0,r.jsx)("div",{className:"px-4 py-6 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsx)("section",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:(0,r.jsx)("div",{className:"flex w-full flex-col gap-6",children:l.map((e,t)=>{let l=e.length>1;return(0,r.jsx)("div",{className:(0,u.cn)("grid w-full grid-cols-1 gap-6",l&&"l:grid-cols-2 l:items-stretch"),children:e.map(e=>(0,r.jsx)(b,{advert:e,multipleInRow:l},e._uid??p(e.title)))},e.map(e=>e._uid??p(e.title)).join("-")||t)})})})})}},74543:function(e,t,l){"use strict";l.d(t,{r:function(){return m}});var r=l(17223),a=l(25923),n=l(73479),i=l(8995),s=l(70026),o=l(62715),d=l(58542),c=l(94382);let m=({items:e,children:t,trackingGroup:l="categories",trackingSection:m="shop_by_category"})=>{let x=(0,i.usePathname)(),u=(0,c.Y)(),p=(0,d.kK)();return(0,r.jsxs)("div",{className:"grid w-full grid-cols-2 gap-4 md:grid-cols-3 l:grid-cols-4 xl:auto-cols-fr xl:grid-flow-col xl:grid-cols-none xl:grid-rows-1",children:[e.map((e,t)=>{let i=(0,o.hY)(e),c=u(e?.primaryDocument?.filename),h=e?.text?.trim()??"",f=e?.primaryDocument?.alt||e?.primaryDocument?.name||h||"Category",b=!!e?.isExternal,g=(0,d.gj)({group:l,label:h,destinationUrl:i,sourcePath:x}),v=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"relative aspect-[16/9] min-h-0 w-full overflow-hidden rounded-md border border-neutral-300 bg-neutral-100",children:c?(0,r.jsx)(a.default,{src:c,alt:f,fill:!0,className:"object-cover object-center",sizes:"(max-width: 1023px) 50vw, (max-width: 1439px) 25vw, 15vw"}):(0,r.jsx)("div",{className:"absolute inset-0 bg-neutral-100","aria-hidden":!0})}),h?(0,r.jsx)("p",{className:"font-HarmoniaSansPro mt-3 text-center text-lg font-semibold leading-7 text-neutral-900",children:h}):null]});return i?(0,r.jsx)(n.default,{href:i,prefetch:!1,className:"flex min-w-0 flex-col items-stretch no-underline outline-none hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2","aria-label":h||"Shop by category",...(0,s.P5)(e.link??{}),target:b?"_blank":void 0,rel:b?"noopener noreferrer":void 0,onClick:()=>p({section:m,element:"category_card",label:h,destinationUrl:i,position:t,ctaId:g,isExternal:b}),children:v},e._uid??i+h):(0,r.jsx)("div",{className:"min-w-0",children:v},e._uid??h)}),t]})}},13833:function(e,t,l){"use strict";l.r(t),l.d(t,{HeroBanner:function(){return N}});var r=l(17223),a=l(46299),n=l(15725),i=l(31725),s=l(25923),o=l(73479),d=l(8995),c=l(8744),m=l(97885),x=l(2968),u=l(70026);let p=e=>!!e&&"/create-account"===e.split(/[?#]/)[0].trim().toLowerCase().replace(/\/+$/,"");var h=l(62715),f=l(58542),b=l(99273),g=l(94382),v=l(81853),j=l(5202),w=l(72431);let N=({blok:e})=>{let t=(0,d.usePathname)(),{value:l}=(0,a.useFeatureGate)(x.DH.ONBOARDING_WEB),{isLoading:N}=(0,a.useStatsigClient)(),y=j.V.use.lastSettled(),k=(0,m.k)(),_=(0,g.Y)(),P=(0,f.kK)(),{signUpPending:C,requestSignUp:F}=(0,b.v)();if((N?y??l:l)&&!k)return(0,r.jsx)(w.OnboardingHeroBanner,{});let T=e?.buttonWithLink?.[0],L=e?.cta_link,S=T?.text?.trim()||e?.cta?.trim(),A=(0,h.hY)(T)||(0,h.hY)(L?{link:L}:void 0),I=T?.isExternal||T?.link?.target==="_blank"||L?.target==="_blank",B=T?.link??L??{},E=_(e?.image?.filename),z=e?.image?.alt||e?.image?.name||e?.title||"Hero banner image",M=e?.description_ric
3h_text?(0,n.Zm)(e.description_rich_text):void 0,H=M?i.default.sanitize(M,{USE_PROFILES:{html:!0}}):null,U=H&&H.replace(/<[^>]*>/g,"").trim().length>0?H:null,q=!!e?.overlay_text,$=!!e?.dark_text,D=!!e?.stretch_image,G=$?"text-neutral-900":"text-white",R=(0,f.gj)({group:"hero",label:S,destinationUrl:A,sourcePath:t}),Y=!k&&p(A),W=e=>P({section:"hero",element:"hero_cta",label:S,destinationUrl:A,ctaId:R,isExternal:I,...e}),O="mt-6 w-full !cursor-pointer text-xl font-semibold leading-7 md:mt-8 md:h-14 md:px-6 md:py-4 md:text-2xl md:leading-6 l:w-auto";return(0,r.jsx)("div",{className:"px-4 py-6 md:py-8 l:px-20",...(0,n.LF)(e),children:(0,r.jsxs)("section",{className:(0,v.cn)("mx-auto grid w-full max-w-[1760px] overflow-hidden rounded-[4px]",$?"bg-[#E3E8EF]":"bg-[#181D27]",q?"l:min-h-[320px]":"l:grid-cols-[1fr_1fr]"),children:[(0,r.jsx)("div",{className:(0,v.cn)("order-2 flex flex-col justify-center px-4 py-6 md:px-8 md:py-8 l:order-1 l:px-10 l:py-9 xl:min-h-[320px] xl:px-12 xl:py-9",q&&"l:z-10 l:col-start-1 l:row-start-1 l:max-w-[55%]"),children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(e?.title||U||e?.description)&&(0,r.jsxs)("div",{className:"flex flex-col gap-1.5 md:gap-2",children:[e?.title?(0,r.jsx)("h2",{className:(0,v.cn)("mb-0 font-TitleBold text-2xl font-bold leading-8 tracking-normal md:text-3xl md:leading-10 l:text-4xl l:leading-[48px] xl:text-5xl xl:leading-[60px]",G),children:e.title}):null,U?(0,r.jsx)("div",{className:(0,v.cn)("font-HarmoniaSansPro [&_p]:font-HarmoniaSansPro text-base leading-6 tracking-normal md:text-lg md:leading-7 l:text-xl l:leading-[26px] xl:text-2xl xl:leading-[28px] [&_p]:mb-0 [&_p]:text-base [&_p]:leading-6 md:[&_p]:text-lg md:[&_p]:leading-7 l:[&_p]:text-xl l:[&_p]:leading-[26px] xl:[&_p]:text-2xl xl:[&_p]:leading-[28px] [&_strong]:font-bold",$?"text-neutral-900 [&_p]:text-neutral-900":"text-white [&_p]:text-white"),dangerouslySetInnerHTML:{__html:U}}):e?.description?(0,r.jsx)("p",{className:(0,v.cn)("font-HarmoniaSansPro text-base font-semibold leading-6 tracking-normal md:text-lg md:leading-7 l:text-xl l:leading-[26px] xl:text-2xl xl:leading-[28px]",G),children:e.description}):null]}),S&&A?Y?(0,r.jsx)(c.z,{className:(0,v.cn)(O,"l:self-start"),type:"button",variant:"primary","aria-label":S,loading:C,"aria-busy":C,...(0,u.P5)(B),onClick:()=>{C||(W({isExternal:!1}),F())},children:S}):(0,r.jsx)(o.default,{prefetch:!1,href:A,className:"block w-full cursor-pointer l:w-auto",tabIndex:0,"aria-label":S,...(0,u.P5)(B),target:I?"_blank":void 0,rel:I?"noopener noreferrer":void 0,onClick:()=>W(),children:(0,r.jsx)(c.z,{className:O,type:"button",variant:"primary",children:S})}):null]})}),(0,r.jsx)("div",{className:(0,v.cn)("relative order-1 min-h-[150px] overflow-hidden l:order-2 l:aspect-auto l:min-h-0",q&&"l:col-start-1 l:row-start-1"),children:E?(0,r.jsx)(s.default,{src:E,alt:z,fill:!0,className:(0,v.cn)("object-center",D?"object-fill":"object-cover")}):null})]})})}},29242:function(e,t,l){"use strict";l.r(t),l.d(t,{IntegrationPartners:function(){return g}});var r=l(17223),a=l(15725),n=l(73479),i=l(74041),s=l(70026),o=l(62715),d=l(94382);let c=e=>"string"==typeof e?e.trim():"",m=e=>!!e&&(!!e.isExternal||e.link?.target==="_blank"),x=e=>e?(0,o.hY)(e):"",u=e=>e&&(c(e.text)||c(e.displayText)||c(e.text))||"",p=e=>!!e&&("isExternal"in e&&!!e.isExternal||"target"in e&&"_blank"===e.target),h=e=>e&&e.link?e.link??{}:{},f=e=>{let t=e.match(/\/(\d+)x(\d+)\//);if(!t)return null;let l=Number.parseInt(t[1],10),r=Number.parseInt(t[2],10);return!Number.isFinite(l)||!Number.isFinite(r)||l<=0||r<=0?null:{width:l,height:r}};function b({src:e,alt:t,urlDimensions:l}){return(0,r.jsx)("img",{src:e,alt:t,...l?{width:l.width,height:l.height}:{},loading:"lazy",decoding:"async",className:"block max-h-full max-w-full shrink-0 object-contain object-center mix-blend-darken"})}let g=({blok:e})=>{let t=(0,d.Y)(),l=e?.partners??[],g=e?.viewAll?.[0],v=x(g),j=u(g),w=p(g),N=!!(e?.title||v&&j);return(0,r.jsx)("div",{className:"px-4 py-6 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsxs)("section",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:[N?(0,r.jsxs)("div",{className:"mb-6 flex flex-col gap-4 md:mb-8 md:flex-row md:items-center md:justify-between",children:[e?.title?(0,r.jsx)("h2",{className:"font-TitleBold text-2xl font-bold leading-8 tracking-normal text-neutral-900 md:text-3xl md:leading-10",children:e.title}):null,v&&j?(0,r.jsx)(n.default,{href:v,prefetch:!1,className:"font-HarmoniaSansPro hidden shrink-0 text-base font-semibold leading-4 text-primary no-underline hover:no-underline l:inline-flex",...(0,s.P5)(h(g)),target:w?"_blank":void 0,rel:w?"noopener noreferrer":void 0,children:j}):null]}):null,(0,r.jsxs)("div",{className:"grid w-full grid-cols-2 gap-4 md:grid-cols-3 l:grid-cols-4 xl:grid-cols-5",children:[l.map(e=>{let l=e?.link?.[0],d=(0,o.hY)(l),x=c(l?.text)||c(l?.name??void 0)||"",u=e?.image,p=t(u?.filename),h=c(u?.alt)||c(u?.name)||x||"Integration partner",g=p?f(p):null,v=m(l),j=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"box-border flex min-h-0 w-full flex-1 items-center justify-center overflow-hidden px-3 pt-2",children:p?(0,r.jsx)(b,{src:p,alt:h,urlDimensions:g}):(0,r.jsx)("div",{className:"h-16 w-16 shrink-0 rounded-[4px] bg-neutral-100","aria-hidden":!0})}),x?(0,r.jsx)("div",{className:"flex h-10 w-full shrink-0 items-center justify-center px-3",children:(0,r.jsxs)("span",{className:"font-HarmoniaSansPro inline-flex items-center gap-1 text-center text-base font-semibold leading-5 text-primary",children:[x,(0,r.jsx)(i.Z,{color:"var(--primary500)","aria-hidden":!0,
3className:"shrink-0"})]})}):null]}),w="flex h-[160px] min-h-[160px] w-full min-w-0 flex-col overflow-hidden rounded-[4px] border border-neutral-600 bg-white pb-1 l:pb-3 no-underline outline-none transition-[transform,box-shadow] hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2";return d?(0,r.jsx)(n.default,{href:d,prefetch:!1,className:w,"aria-label":x||h,...(0,s.P5)(l?.link??{}),target:v?"_blank":void 0,rel:v?"noopener noreferrer":void 0,...(0,a.LF)(e),children:j},e._uid??d+x):(0,r.jsx)("div",{className:w,...(0,a.LF)(e),children:j},e._uid??x)}),v&&j?(0,r.jsxs)(n.default,{href:v,prefetch:!1,className:"box-border flex h-[160px] min-h-[160px] w-full min-w-0 flex-row items-center justify-center gap-2 rounded-[2px] border border-primary bg-white px-4 py-3 no-underline outline-none hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 l:hidden",...(0,s.P5)(h(g)),target:w?"_blank":void 0,rel:w?"noopener noreferrer":void 0,"aria-label":j,children:[(0,r.jsx)("span",{className:"font-HarmoniaSansPro min-w-0 flex-1 text-center text-base font-semibold leading-snug text-primary",children:j}),(0,r.jsx)(i.Z,{color:"var(--primary500)","aria-hidden":!0,className:"shrink-0 self-center"})]}):null]})]})})}},72431:function(e,t,l){"use strict";l.r(t),l.d(t,{OnboardingHeroBanner:function(){return x}});var r=l(17223),a=l(15725),n=l(25923),i=l(8995),s=l(8744),o=l(58542),d=l(99273),c=l(94382);let m={title:"Construction materials for professionals",description:"Create an account to easily track orders and manage projects online",signUpCtaLabel:"Sign up",image:"/images/HeroBannerProfessionals.jpg",imageAlt:"QXO driver and delivery truck at a residential job site"},x=({blok:e})=>{let t=(0,i.usePathname)(),l=(0,c.Y)(),x=(0,o.kK)(),{signUpPending:u,requestSignUp:p}=(0,d.v)(),h=e?.title?.trim()||m.title,f=e?.description?.trim()||m.description,b=e?.signUpCtaLabel?.trim()||m.signUpCtaLabel,g=l(e?.image?.filename),v=g||m.image,j=g?e?.image?.alt||e?.image?.name||"Hero banner image":m.imageAlt;return(0,r.jsx)("div",{className:"px-4 py-6 md:py-8 l:px-20",...e?(0,a.LF)(e):{},children:(0,r.jsxs)("section",{className:"mx-auto grid w-full max-w-[1760px] overflow-hidden rounded-[4px] bg-[#181D27] l:grid-cols-[1fr_1fr]",children:[(0,r.jsx)("div",{className:"order-2 flex flex-col justify-center px-4 py-6 md:px-8 md:py-8 l:order-1 l:px-10 l:py-9 xl:min-h-[320px] xl:px-12 xl:py-9",children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1.5 md:gap-2",children:[(0,r.jsx)("h2",{className:"mb-0 font-TitleBold text-2xl font-bold leading-8 tracking-normal text-white md:text-3xl md:leading-10 l:text-4xl l:leading-[48px] xl:text-5xl xl:leading-[60px]",children:h}),(0,r.jsx)("p",{className:"font-HarmoniaSansPro text-base font-semibold leading-6 tracking-normal text-white md:text-lg md:leading-7 l:text-xl l:leading-[26px] xl:text-2xl xl:leading-[28px]",children:f})]}),(0,r.jsx)(s.z,{type:"button",variant:"primary",onClick:()=>{u||(x({section:"hero",element:"hero_cta",label:b,destinationUrl:"",ctaId:(0,o.gj)({group:"hero",label:b,destinationUrl:"",sourcePath:t})}),p())},loading:u,"aria-busy":u,"aria-label":b,className:"mt-6 w-full !cursor-pointer text-xl font-semibold leading-7 md:mt-8 md:h-14 md:px-6 md:py-4 md:text-2xl md:leading-6 l:w-auto l:self-start","data-action":"click","data-label":"sign-up","data-section":"Homepage Hero (unauthenticated)",children:b})]})}),(0,r.jsx)("div",{className:"relative order-1 min-h-[150px] overflow-hidden l:order-2 l:aspect-auto l:min-h-0",children:(0,r.jsx)(n.default,{src:v,alt:j,fill:!0,sizes:"(min-width: 1024px) 50vw, 100vw",className:"object-cover object-center"})})]})})};t.default=x},39368:function(e,t,l){"use strict";l.r(t),l.d(t,{ShopByBrand:function(){return w}});var r=l(17223),a=l(15725),n=l(73479),i=l(8995),s=l(74041),o=l(70026),d=l(62715),c=l(58542),m=l(94382);let x=e=>"string"==typeof e?e.trim():"",u=e=>{let t=x(e);return t?/^https?:\/\//i.test(t)?t:t.startsWith("/")?t:`/${t}`:""},p=e=>e?u(e.url??""):"",h=e=>e?(0,d.hY)(e):"",f=e=>e&&(x(e.text)||x(e.displayText)||x(e.text))||"",b=e=>!!e&&("isExternal"in e&&!!e.isExternal||"target"in e&&"_blank"===e.target),g=e=>e&&e.link?e.link??{}:{},v=e=>{let t=e.match(/\/(\d+)x(\d+)\//);if(!t)return null;let l=Number.parseInt(t[1],10),r=Number.parseInt(t[2],10);return!Number.isFinite(l)||!Number.isFinite(r)||l<=0||r<=0?null:{width:l,height:r}};function j({src:e,alt:t,urlDimensions:l}){return(0,r.jsx)("img",{src:e,alt:t,...l?{width:l.width,height:l.height}:{},loading:"lazy",decoding:"async",className:"block max-h-full max-w-full shrink-0 object-contain object-center mix-blend-darken"})}let w=({blok:e})=>{let t=(0,i.usePathname)(),l=(0,m.Y)(),d=(0,c.kK)(),u=e?.brands??[],w=e?.viewAll?.[0],N=h(w),y=f(w),k=b(w),_=(0,c.gj)({group:"brands",label:y||"view-all",destinationUrl:N,sourcePath:t}),P=!!(e?.title||N&&y);return(0,r.jsx)("div",{className:"px-4 py-6 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsxs)("section",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:[P?(0,r.jsxs)("div",{className:"mb-6 flex flex-col gap-4 md:mb-8 md:flex-row md:items-center md:justify-between",children:[e?.title?(0,r.jsx)("h2",{className:"font-TitleBold text-2xl font-bold leading-8 tracking-normal text-neutral-900 md:text-3xl md:leading-10",children:e.title}):null,N&&y?(0,r.jsx)(n.default,{href:N,prefetch:!1,className:"font-HarmoniaSansPro hidden shrink-0 text-base font-semibold leading-4 text-primary no-underline hover:no-underline l:inline-flex",...(0,o.P5)(g(w)),target:k?"_blank":void 0,rel:k?"noopener noreferrer":void 0,onClick:()=>d({section:"popular_brands",element:"view_all",label:y,destinationUrl:N,ctaId:_,isExternal:k}),children:y}):null]}):null,(0,r.jsxs)("div",{className:"grid w-full grid-cols-2 gap-4 md:grid-cols-3 l:grid-cols-4 xl:grid-cols-5",children:[u.map((e,i)=>{let m=e?.link?.[0],u=p(m),h=x(m?.displayText)||x(m?.text)||"",f=e?.brandImage?.[0],b=l(f?.image?.filename),g=x(f?.alt)||x(f?.image?.name)||h||"Brand",w=b?v(b):null,N=(0,c.gj)({group:"brands",label:g||h,destinationUrl:u,sourcePath:t}),y=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"box-border flex min-h-0 w-full flex-1 items-center justify-center overflow-hidden px-3 pt-2",children:b?(0,r.jsx)(j,{src:b,alt:g,urlDimensions:w}):(0,r.jsx)("div",{className:"h-16 w-16 shrink-0 rounded-[4px] bg-neutral-100","aria-hidden":!0})}),(0,r.jsx)("div",{className:"flex h-10 w-full shrink-0 items-center justify-center px-3 max-[387px]:px-2",children:h?(0,r.jsxs)("span",{className:"font-HarmoniaSansPro inline-flex items-center gap-1 text-center text-base font-semibold leading-5 text-primary",children:[h,(0,r.jsx)(s.Z,{color:"var(--primary500)","aria-hidden":!0,
3className:"shrink-0"})]}):null})]}),k="flex h-[160px] min-h-[160px] w-full min-w-0 flex-col overflow-hidden rounded-[4px] border border-neutral-600 bg-white pb-1 l:pb-3 no-underline outline-none transition-[transform,box-shadow] hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2";return u?(0,r.jsx)(n.default,{href:u,prefetch:!1,className:k,"aria-label":h||"Shop by brand",...(0,o.P5)(m??{}),target:m?.target==="_blank"?"_blank":void 0,rel:m?.target==="_blank"?"noopener noreferrer":void 0,onClick:()=>d({section:"popular_brands",element:"brand_card",label:g||h,destinationUrl:u,position:i,ctaId:N,isExternal:m?.target==="_blank"}),...(0,a.LF)(e),children:y},e._uid??u+h):(0,r.jsx)("div",{className:k,...(0,a.LF)(e),children:y},e._uid??h)}),N&&y?(0,r.jsxs)(n.default,{href:N,prefetch:!1,className:"box-border flex h-[160px] min-h-[160px] w-full min-w-0 flex-row items-center justify-center gap-2 rounded-[2px] border border-primary bg-white px-4 py-3 no-underline outline-none hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 l:hidden",...(0,o.P5)(g(w)),target:k?"_blank":void 0,rel:k?"noopener noreferrer":void 0,"aria-label":y,onClick:()=>d({section:"popular_brands",element:"view_all",label:y,destinationUrl:N,ctaId:_,isExternal:k}),children:[(0,r.jsx)("span",{className:"font-HarmoniaSansPro min-w-0 flex-1 text-center text-base font-semibold leading-snug text-primary",children:y}),(0,r.jsx)(s.Z,{color:"var(--primary500)","aria-hidden":!0,className:"shrink-0 self-center"})]}):null]})]})})}},23486:function(e,t,l){"use strict";l.r(t),l.d(t,{ShopByCategory:function(){return u}});var r=l(17223),a=l(15725),n=l(73479),i=l(8995),s=l(74041),o=l(70026),d=l(62715),c=l(58542),m=l(74543);let x="hidden md:flex m-0 items-center font-HarmoniaSansPro text-[36px] font-bold leading-[44px] tracking-[-0.02em] text-[#16191C]",u=({blok:e,embedded:t})=>{let l=(0,i.usePathname)(),u=e?.links??[],p=(0,c.kK)(),h=e?.viewAll?.[0],f=(0,d.hY)(h),b=h?.text?.trim()??"",g=!!h?.isExternal,v=(0,c.gj)({group:"categories",label:b||"view-all",destinationUrl:f||(0,d.hY)(u[0]),sourcePath:l}),j=e?.heading?.trim()??"",w=e?.title?.trim()??"",N=!!j,y=!!(w||f&&b),k=N||y,_=t?{}:(0,a.LF)(e),P=f&&b?(0,r.jsx)(n.default,{href:f,prefetch:!1,className:"font-HarmoniaSansPro hidden shrink-0 text-base font-semibold leading-4 text-primary no-underline hover:no-underline l:inline-flex",...(0,o.P5)(h?.link??{}),target:g?"_blank":void 0,rel:g?"noopener noreferrer":void 0,onClick:()=>p({section:"shop_by_category",element:"view_all",label:b,destinationUrl:f,ctaId:v,isExternal:g}),children:b}):null;return(0,r.jsx)("div",{className:t?"":"px-4 py-6 md:py-8 l:px-20",..._,children:(0,r.jsxs)("section",{className:t?"flex w-full flex-col":"mx-auto flex w-full max-w-[1760px] flex-col",children:[k&&(0,r.jsxs)("div",{className:"mb-6 flex flex-col md:mb-8",children:[N&&(w?(0,r.jsx)("p",{className:x,children:j}):(0,r.jsx)("h2",{className:x,children:j})),y&&(0,r.jsxs)("div",{className:`flex flex-col gap-4 md:flex-row md:items-center ${N?"md:mt-8":""} ${w?"md:justify-between":"md:justify-end"}`,children:[w?(0,r.jsx)("h2",{className:"font-TitleBold text-2xl font-bold leading-8 tracking-normal text-neutral-900 md:text-3xl md:leading-10",children:w}):null,P]})]}),(0,r.jsx)(m.r,{items:u,children:f&&b?(0,r.jsxs)(n.default,{href:f,prefetch:!1,className:"box-border flex aspect-[16/9] w-full min-w-0 flex-row items-center justify-center gap-2 rounded-[2px] border border-primary bg-white px-4 py-3 text-center no-underline outline-none hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 l:hidden",...(0,o.P5)(h?.link??{}),target:g?"_blank":void 0,rel:g?"noopener noreferrer":void 0,"aria-label":b,onClick:()=>p({section:"shop_by_category",element:"view_all",label:b,destinationUrl:f,ctaId:v,isExternal:g}),children:[(0,r.jsx)("span",{className:"font-HarmoniaSansPro min-w-0 text-base font-semibold leading-6 text-primary",children:b}),(0,r.jsx)(s.Z,{color:"var(--primary500)","aria-hidden":!0,className:"shrink-0 self-center"})]}):null})]})})}},77351:function(e,t,l){"use strict";l.r(t),l.d(t,{ShopByIndustry:function(){return u}});var r=l(17223),a=l(15725),n=l(25923),i=l(73479),s=l(8995),o=l(70026),d=l(58542),c=l(94382);let m=e=>{let t=e?.url||e?.link?.url||e?.link?.cached_url||"";return t?/^https?:\/\//i.test(t)?t:t.startsWith("/")?t:`/${t}`:""},x=e=>
3(e?.split("/").filter(Boolean)[0]??"").includes("homepage-v2"),u=({blok:e})=>{let t=(0,s.usePathname)(),l=x(t),u=(0,c.Y)(),p=(0,d.kK)(),h=e?.links??[],f=4===h.length;return(0,r.jsx)("div",{className:"px-4 py-6 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsxs)("section",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:[e?.title?(0,r.jsx)("h2",{className:"mb-6 font-TitleBold text-2xl font-bold leading-8 tracking-normal text-neutral-900 md:mb-8 md:text-3xl md:leading-10",children:e.title}):null,(0,r.jsx)("div",{className:`grid w-full grid-cols-1 gap-4 md:grid-cols-2 md:gap-6 ${f?"l:grid-cols-4":"l:grid-cols-3"}`,children:h.map((e,a)=>{let s=m(e),c=u(e?.primaryDocument?.filename),x=e?.text??"",h=e?.primaryDocument?.alt||e?.primaryDocument?.name||x||"Industry category",b=!!e?.isExternal,g=(0,d.gj)({label:x,destinationUrl:s,sourcePath:t}),v=(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"relative h-[102px] min-h-0 w-full overflow-hidden rounded md:h-48",children:[c?(0,r.jsx)(n.default,{src:c,alt:h,fill:!0,className:"object-cover object-center",sizes:`(max-width: 639px) 100vw, (max-width: 1023px) 50vw, ${f?"25vw":"33vw"}`}):(0,r.jsx)("div",{className:"absolute inset-0 bg-neutral-200","aria-hidden":!0}),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(180deg,rgba(13,18,28,0.16)_0%,rgba(13,18,28,0.8)_80.29%,rgba(13,18,28,0.8)_100%)]","aria-hidden":!0}),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-70",style:{background:"radial-gradient(ellipse 130% 85% at 50% 50%, rgba(13,18,28,0) 45%, rgba(13,18,28,0.25) 72%, rgba(13,18,28,1) 100%)"},"aria-hidden":!0}),(0,r.jsx)("div",{className:"absolute bottom-4 left-4 z-10 flex min-w-0 max-w-[calc(100%-2rem)] flex-col items-start justify-end text-left text-white",children:(0,r.jsx)("p",{className:"m-0 min-w-0 max-w-full break-words font-TitleBold text-2xl font-bold leading-8 tracking-normal !text-white l:text-[22px] l:leading-[1.3] l:tracking-[-0.44px] xl:text-[32px] xl:leading-[1.25] xl:tracking-[-0.64px]",children:x})})]})});if(s){let t={className:"block min-w-0 !text-white no-underline outline-none transition-[transform,box-shadow] hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2","aria-label":x||"Shop by industry category",...(0,o.P5)(e.link??{}),target:b?"_blank":void 0,rel:b?"noopener noreferrer":void 0,onClick:()=>p({section:"hero_categories",element:"category_card",label:x,destinationUrl:s,position:a,ctaId:g,isExternal:b})};return l?(0,r.jsx)("a",{href:s,...t,children:v},e._uid??s+x):(0,r.jsx)(i.default,{href:s,prefetch:!1,...t,children:v},e._uid??s+x)}return(0,r.jsx)("div",{className:"min-w-0",children:v},e._uid??x)})})]})})}},40291:function(e,t,l){"use strict";l.r(t),l.d(t,{ShopSiding:function(){return _}});var r=l(17223),a=l(15725),n=l(25923),i=l(73479),s=l(8995),o=l(70783),d=l(8744),c=l(39527),m=l(74041),x=l(45818),u=l(70026),p=l(1707),h=l(23980),f=l(58542),b=l(44890),g=l(9531),v=l(94382),j=l(81853),w=l(86932),N=l(74543),y=l(97667);let k=({blok:e})=>{let t=(0,s.usePathname)(),l=(0,v.Y)(),k=(0,p.C1)(),_=(0,f.kK)(),{isLogin:P}=(0,b.f0)(),C=(0,w.Rs)(),{isEnabled:F}=(0,w.rw)(),T=!1===P&&F&&!!C,L=e?.AllProducts?.[0],S=L?.podId?.trim()??"",A=L?.productNumber?.trim(),I=A?Number(A):void 0,B=void 0===I||Number.isNaN(I)?void 0:I,{data:E,isFetching:z}=(0,g.pE)(S||void 0,B),M=(0,o.useMemo)(()=>Array.from(new Set((E?.results??[]).flatMap(e=>{let t=(e?.variations??[]).map(e=>e?.data?.variation_id).filter(e=>!!e);if(0===t.length){let t=e?.data?.variation_id;return t?[t]:[]}return t}))),[E?.results]),{data:H}=(0,p.PM)(M),{data:U}=(0,p.U9)(M,void 0),{data:q}=(0,h.fX)(void 0,T),$=(0,o.useMemo)(()=>H?.data?.priceInfo??{},[U?.data,T,H?.data?.priceInfo,!1]),D=!0===P,G=e?.AllProducts?.[0]?.viewAll?.[0],R=G?.url?.trim()??"",Y=G?.displayText?.trim()??"",W=G?.target==="_blank",O=[e?.AllProductsTitle,L?.name,Y].find(e=>"string"==typeof e&&!!e.trim())??"",Z=(0,f.gj)({group:"products",label:O,destinationUrl:R,sourcePath:t}),K=(0,o.useMemo)(()=>E?.results?.map((e,t)=>{let l=$[e?.variations?.[0]?.data?.variation_id??e?.data?.variation_id??""]??{},[a,n]=Object.entries(l)?.[0]??[],i=String(e?.data?.prdName??e?.data?.id??"");return r.jsx(x.I,{showPrice:D,guestBranchNum:C,guestCartData:q,className:j.cn("flex flex-col xs:p-0 md:mb-0 md:w-[256px] md:max-w-[256px] md:flex-col",k?"w-[256px] max-w-[256px]":"h-auto w-full min-w-0 max-w-none"),product:e,isLogin:P,onGotoProductDetail:(e,l,r)=>_({section:"popular_products",element:"product_card",label:i,destinationUrl:r??"",position:t,ctaId:Z}),index:t,uom:a,price:"number"==typeof n?n:void 0,priceInfoMap:$},e?.data?.id)})??[],[q,P,k,_,$,Z,E?.results,D,C]),V=(0,o.useMemo)(()=>K.slice(0,4),[K]),X=!!S&&(E?.results?.length??0)>0,Q=!!S&&!!E&&!z&&!X,J=e?.Brand??[],ee=e?.Categories??[];return(0,r.jsx)("div",{className:"px-4 py-6 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsxs)("section",{className:"mx-auto flex w-full max-w-[1760px] flex-col",children:[e?.Title?(0,r.jsx)("h2",{className:"mb-8 font-TitleBold text-2xl font-bold leading-8 tracking-normal text-neutral-900 md:mb-10 md:text-3xl md:leading-10",children:e.Title}):null,J.length>0&&(0,r.jsxs)("div",{className:"mb-8 flex flex-col md:mb-10",children:[e?.BrandsTitle?(0,r.jsx)("h3",{className:"mb-6 font-TitleBold text-xl font-bold leading-7 tracking-normal text-neutral-900 md:mb-8 md:text-2xl md:leading-8",children:e.BrandsTitle}):null,(0,r.jsx)("div",{className:"grid grid-cols-2 gap-5 l:grid-cols-4",children:J.map((e,s)=>{let o=e?.link?.url||e?.link?.cached_url||"",d=l(e?.image?.filename),c=e?.title?.trim()??"",x=e?.image?.alt||e?.image?.name||c||"Brand logo",p=e?.name?.trim()||(c?`Shop ${c}`:""),h=(0,f.gj)({group:"brands",label:c||p,destinationUrl:o,sourcePath:t}),b=(0,r.jsxs)("div",{className:"flex aspect-[5/2] flex-col items-center justify-center gap-3 rounded-lg border border-[#535862] bg-white p-3 l:gap-1 l:p-2 xl:gap-3 xl:p-4",...(0,a.LF)(e),children:[(0,r.jsx)("div",{className:"relative mx-auto h-14 w-[55%
3] xl:h-16",children:d?(0,r.jsx)(n.default,{src:d,alt:x,fill:!0,className:"object-contain",sizes:"(max-width: 1023px) 50vw, 25vw"}):null}),p?(0,r.jsxs)("span",{className:"font-HarmoniaSansPro inline-flex items-center justify-center gap-1 text-base font-semibold leading-6 text-primary",children:[p,(0,r.jsx)(m.Z,{color:"var(--primary500)","aria-hidden":!0})]}):null]});return o?(0,r.jsx)(i.default,{href:o,prefetch:!1,className:"flex min-w-0 flex-col no-underline outline-none hover:no-underline focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2","aria-label":p||"Shop by brand",...(0,u.P5)(e.link??{}),onClick:()=>_({section:"popular_brands",element:"brand_card",label:c||p,destinationUrl:o,position:s,ctaId:h}),children:b},e._uid??o+c):(0,r.jsx)("div",{className:"min-w-0",children:b},e._uid??c)})})]}),ee.length>0&&(0,r.jsxs)("div",{className:"mb-8 flex flex-col md:mb-10",children:[e?.CategoriesTitle?(0,r.jsx)("h3",{className:"mb-6 font-TitleBold text-xl font-bold leading-7 tracking-normal text-neutral-900 md:mb-8 md:text-2xl md:leading-8",children:e.CategoriesTitle}):null,(0,r.jsx)(N.r,{items:ee})]}),(0,r.jsxs)("div",{className:"flex flex-col",children:[e?.AllProductsTitle||k&&R&&Y?(0,r.jsxs)("div",{className:"mb-6 flex flex-row items-center justify-between md:mb-8",children:[e?.AllProductsTitle?(0,r.jsx)("h3",{className:"font-TitleBold text-xl font-bold leading-7 tracking-normal text-neutral-900 md:text-2xl md:leading-8",children:e.AllProductsTitle}):null,k&&R&&Y?(0,r.jsx)(i.default,{href:R,prefetch:!1,className:"font-HarmoniaSansPro shrink-0 text-base font-semibold leading-4 text-primary no-underline hover:no-underline",target:W?"_blank":void 0,rel:W?"noopener noreferrer":void 0,onClick:()=>_({section:"popular_products",element:"view_all",label:Y,destinationUrl:R,ctaId:Z,isExternal:W}),children:Y}):null]}):null,S&&z&&!E?.results?.length?(0,r.jsx)("div",{className:"min-h-[200px] w-full","aria-busy":"true","aria-label":"Loading products"}):null,X&&k?(0,r.jsx)(c.h,{items:K,className:"mx-auto my-4",style:{width:"100%"},galleryCardClassName:"px-0 pr-6 !opacity-100",pageSize:4},S):null,X&&!k?(0,r.jsx)("div",{className:"mt-4 grid w-full grid-cols-2 gap-4",children:V}):null,Q?(0,r.jsx)(y.Q,{categoryName:e?.AllProductsTitle}):null,X&&!k&&R?(0,r.jsx)(i.default,{href:R,prefetch:!1,className:"mt-6 w-full md:hidden",target:W?"_blank":void 0,rel:W?"noopener noreferrer":void 0,onClick:()=>_({section:"popular_products",element:"view_all",label:Y,destinationUrl:R,ctaId:Z,isExternal:W}),children:(0,r.jsx)(d.z,{variant:"secondary",className:"w-full border-solid text-base",children:Y})}):null]})]})})},_=({blok:e})=>(0,r.jsx)(k,{blok:e})},70924:function(e,t,l){"use strict";l.r(t),l.d(t,{TriBuiltModule:function(){return c}});var r=l(17223),a=l(15725),n=l(25923),i=l(70783),s=l(94382),o=l(23486),d=l(27788);let c=({blok:e})=>{let t=(0,s.Y)(),l=e?.tribuiltCategories?.[0],c=e?.tribuiltProducts?.[0],m=(0,i.useMemo)(()=>(c?.categories??[]).filter(e=>!!e.name?.trim()||!!e.icon?.filename).length,[c?.categories]),x=(0,i.useMemo)(()=>({_uid:`${e._uid??"tri-built"}-products`,component:"shop-products-v2",title:c?.title,viewAll:c?.viewAll,categories:c?.categories}),[e._uid,c?.title,c?.viewAll,c?.categories]),u=t(e?.logo?.filename),p=e?.logo?.alt||e?.logo?.name||"Brand logo",h=t(e?.heroImage?.filename),f=e?.heroImage?.alt||e?.heroImage?.name||e?.title||"Hero image",b=!!(l?.heading?.trim()||l?.title||(l?.links?.length??0)>0||(l?.viewAll?.length??0)>0);return(0,r.jsx)("div",{className:"py-6 md:px-4 md:py-8 l:px-20",...(0,a.LF)(e),children:(0,r.jsx)("div",{className:"mx-auto flex w-full max-w-[1760px] flex-col gap-4",children:(0,r.jsxs)("div",{className:"rounded-none border border-solid border-[#00295C] bg-[#00295C] p-4 md:rounded",children:[e?.title||e?.description||u||h?(0,r.jsxs)("section",{className:"grid w-full overflow-hidden rounded-none bg-white md:rounded l:min-h-64 l:grid-cols-2",children:[(0,r.jsxs)("div",{className:"order-2 flex flex-col justify-center gap-4 px-4 py-6 md:px-8 l:order-1 l:gap-4 l:px-8 l:py-8",children:[u?(0,r.jsx)("div",{className:"relative mx-auto h-[97px] w-[150px] shrink-0 l:mx-0",children:(0,r.jsx)(n.default,{src:u,alt:p,fill:!0,className:"object-contain object-center l:object-left"})}):null,e?.title?(0,r.jsx)("h2",{className:"font-TitleBold text-2xl font-bold leading-8 text-neutral-900 md:text-3xl md:leading-10",children:e.title}):null,e?.description?(0,r.jsx)("p",{className:"font-HarmoniaSansPro text-base font-semibold leading-6 text-neutral-900 md:text-lg md:leading-7",children:e.description}):null]}),(0,r.jsx)("div",{className:"relative order-1 min-h-40 w-full l:order-2 l:min-h-64",children:h?(0,r.jsx)(n.default,{src:h,alt:f,fill:!0,className:"object-cover object-center"}):null})]}):null,b?(0,r.jsx)("section",{className:"rounded-none bg-white px-4 pb-12 pt-12 md:rounded md:px-8 l:mt-4",children:l?(0,r.jsx)(o.ShopByCategory,{blok:l,embedded:!0}):null}):null,c&&(c.title||c.categories&&c.categories.length>0)?(0,r.jsx)("section",{className:"rounded-none bg-white px-4 pb-8 pt-3 md:rounded md:px-8 l:mt-4",children:(0,r.jsx)("div",{className:"l:mt-7",children:(0,r.jsx)(d.ShopProducts,{blok:x,embedded:!0,hideCategoryChips:m<=1})})}):null]})})})}},19517:function(e,t,l){"use strict";l.d(t,{Wi:function(){return d}});var r=l(42555);let a=new Map,n=new Map,i=new Map,s=new Map,o=["x-timestamp","x-request-id","date","cache-control","if-none-match","if-modified-since","user-agent","accept-encoding","connection","host"],d=async e=>r.Z.request(e)},99273:function(e,t,l){"use strict";l.d(t,{v:function(){return n}});var r=l(70783),a=l(44890);let n=()=>{let{startOnboardingSignUp:e,isKcInit:t}=(0,a.f0)(),[l,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{l&&t&&(n(!1),e())},[l,t]),{signUpPending:l,requestSignUp:()=>
3{if(t){e();return}n(!0)}}}},74350:function(e,t,l){"use strict";l.d(t,{C:function(){return c}});var r=l(17223);l(70783);var a=l(81853);let n=(0,l(87809).j)("inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function i({className:e,variant:t,...l}){return(0,r.jsx)("div",{className:(0,a.cn)(n({variant:t}),e),...l})}let s={error:"text-danger-700 bg-danger-200",success:"text-success-700 bg-success-200",warning:"text-warning-700 bg-warning-200",default:"text-neutral-600 bg-neutral-200",primary:"text-primary-600 bg-primary-100"},o={sm:"",md:"text-sm px-3 py-1"},d={default:"",pill:"rounded-full py-1"},c=({children:e,status:t="default",size:l="sm",shape:n="default",className:c,...m})=>(0,r.jsx)(i,{className:(0,a.cn)(s[t],o[l],d[n],c),...m,children:e})},77729:function(e,t,l){"use strict";l.d(t,{a:function(){return d}});var r=l(17223),a=l(30070),n=l(73479),i=l(70783),s=l(81853),o=l(74041);let d=({items:e,className:t,siteColor:l})=>{let d=(0,i.useMemo)(()=>e.map(e=>({...e,itemClass:"Home"===e.name?"min-w-[100px]":""})),[e]);return(0,r.jsx)("nav",{"aria-label":"Breadcrumb",className:t,children:(0,r.jsx)("ol",{className:"flex",children:d.map(({name:t,href:i,itemClass:d},c)=>{let m=c===e.length-1,x="text-[14px] truncate leading-[16px] font-bold flex items-center tracking-[1.12px]";return m?(0,r.jsx)("li",{title:t,className:(0,s.cn)(`${x} block min-w-[300px] flex-1 truncate whitespace-nowrap`,d),children:t},t):(0,r.jsxs)("li",{className:(0,a.Z)(x,"max-w-[400px]",d),title:t,children:[(0,r.jsx)(n.default,{href:i,className:(0,a.Z)("max-w-[400px] truncate whitespace-nowrap text-primary",{"xs:text-neutral-900":m}),children:t}),!m&&(0,r.jsx)(o.Z,{className:"mx-4",color:l||"var(--colors-primary)"})]},t)})})})}},37540:function(e,t,l){"use strict";l.d(t,{default:function(){return b}});var r=l(17223),a=l(12516),n=l(70783),i=l(77729),s=l(7450),o=l(47470),d=l(19517),c=l(86776),m=l(1707);function x({template:e}){switch(e){case"two-col-left-menu":return(0,r.jsxs)("div",{className:"w-full l:flex l:shrink-0 l:gap-x-12",children:[(0,r.jsxs)("div",{className:"l:w-[300px]",children:[(0,r.jsx)(a.ar,{path:"drop-zone-3"}),(0,r.jsx)(a.ar,{path:"drop-zone-4"})]}),(0,r.jsxs)("div",{className:"l:grow",children:[(0,r.jsx)(a.ar,{path:"drop-zone-1"}),(0,r.jsx)(a.ar,{path:"drop-zone-2"})]})]});case"two-col-right-menu":return(0,r.jsxs)("div",{className:"l:flex l:gap-x-12",children:[(0,r.jsxs)("div",{className:"l:grow",children:[(0,r.jsx)(a.ar,{path:"drop-zone-1"}),(0,r.jsx)(a.ar,{path:"drop-zone-2"})]}),(0,r.jsxs)("div",{className:"l:w-[300px] l:shrink-0",children:[(0,r.jsx)(a.ar,{path:"drop-zone-3"}),(0,r.jsx)(a.ar,{path:"drop-zone-4"})]})]});default:return(0,r.jsxs)("main",{children:[(0,r.jsx)(a.ar,{path:"drop-zone-1"}),(0,r.jsx)(a.ar,{path:"drop-zone-2"}),(0,r.jsx)(a.ar,{path:"drop-zone-3"})]})}}var u=l(45185);let p=["Market Updates"],h=n.memo(({page:e,configuration:t,template:l})=>(0,r.jsx)(a.xU,{configuration:{...t,httpClient:d.Wi},page:e,mapping:{productListing:()=>null,HeaderMenu:()=>null,"Simple Content":u.YE,SideNavigationComponent:u.eE,FormComponent:u.Tl,BannerComponent:u.Dq,PageMetadata:s.HomeSeo,ItemGridComponent:u.l0,"Redesign Popular Brands Component":u.Od,"Redesign Popular Products Component":u.ml,"Redesign Promotions Component":u.zc},children:(0,r.jsx)(x,{template:l})}));function f({page:e,configuration:t,title:l,template:a,showTitle:n=!0}){let s=(0,m.ZL)(),d=(0,c.q)(),x=l?.replace(/-/g," "),u=p.includes(x),f=(0,o.Ut)(t?.path||"",x);if(e)return(0,r.jsx)("div",{className:"shift7-page mt-2 w-screen max-w-[100%] px-4 md:mx-auto l:w-[1220px] l:px-0",children:(0,r.jsxs)("div",{className:"grid-container generic-content-page",children:[!s&&(0,r.jsx)("div",{className:"mx-auto l:w-[1220px]",children:(0,r.jsx)(i.a,{items:f,siteColor:d,className:"capitalize"})}),n&&!u&&(0,r.jsx)("div",{className:"cell large-12 mx-auto my-10 l:w-[1220px]",children:(0,r.jsx)("h1",{id:"dc-static-page-heading",className:"content-title font-TitleBold leading-[60px!important] text-primary",children:x})}),(0,r.jsx)(h,{page:e,configuration:t,template:a})]})})}function b({page:e,configuration:t,title:l,template:a,normalStaticPageContent:n,showTitle:i,site:s}){return"DC"===s?(0,r.jsx)(f,{page:e,configuration:t,title:l,template:a,showTitle:i}):n}h.displayName="BrPageMemo"},45185:function(e,t,l){"use strict";l.d(t,{Dq:function(){return n},Od:function(){return d},Tl:function(){return a},YE:function(){return o},eE:function(){return s},l0:function(){return i},ml:function(){return c},zc:function(){return m}});var r=l(39044);let a=(0,r.default)(()=>Promise.all([l.e(4346),l.e(1916)]).then(l.bind(l,11916)).then(({DCFormComponent:e})=>e),{loadableGenerated:{webpack:()=>[11916]}}),n=(0,r.default)(()=>Promise.all([l.e(4346),l.e(1657),l.e(2325)]).then(l.bind(l,42325)).then(({DCHeroBanner:e})=>e),{loadableGenerated:{webpack:()=>[42325]}}),i=(0,r.default)(()=>l.e(2148).then(l.bind(l,32148)).then(({DCItemGridComponent:e})=>e),{loadableGenerated:{webpack:()=>[32148]}}),s=(0,r.default)(()=>l.e(4601).then(l.bind(l,14601)).then(({SideNavigationComponent:e})=>e),{loadableGenerated:{webpack:()=>[14601]}}),o=(0,r.default)(()=>Promise.all([l.e(4346),l.e(3796)]).then(l.bind(l,83796)).then(({SimpleContent:e})=>e),{loadableGenerated:{webpack:()=>[83796]}}),d=(0,r.default)(()=>l.e(5273).then(l.bind(l,35273)).then(({PopularBrandsNext:e})=>e),{loadableGenerated:{webpack:()=>[35273]}}),c=(0,r.default)(()=>Promise.all([l.e(2801),l.e(3542)]).then(l.bind(l,73542)).then(({PopularProductsNext:e})=>e),{loadableGenerated:{webpack:()=>[73542]}}),m=(0,r.default)(()=>l.e(3829).then(l.bind(l,83829)).then(e=>e),{loadableGenerated:{webpack:()=>[83829]}})},7450:function(e,t,l){"use strict";l.r(t),l.d(t,{HomeSeo:function(){return a}});var r=l(17223);let a=({component:e,page:t})=>{if(!e||!t)return;let l=t.isPreview(),a=e?.model?.meta?.paramsInfo||{};return l?(0,r.jsx)("div",{className:"relative rounded border border-neutral-300 bg-neutral-50 p-2 shadow-lg xs:mx-2 md:mx-auto md:max-w-[1200px]",children:(0,r.jsxs)("div",{className:"w-full",children:[(0,r.jsxs)("h4",{children:["Title: ",a?.metaTitle]}),(0,r.jsxs)("h4",{children:["Description: ",a?.metaDescription]}),(0,r.jsxs)("h4",{children:["Keywords: ",a?.metaKeywords]})]})}):null}},49710:function(e,t,l){"use strict";l.d(t,{$0:function(){return o},$S:function(){return w},AU:function(){return _},CX:function(){return k},Hf:function(){return i},Jc:function(){return u},Mf:function(){return p},Od:function(){return m},Q1:function(){return N},RP:function(){return j},UY:function(){return g},_t:function(){return d},e7:function(){return s},er:function(){return P},gV:function(){return y},gc:function(){return v},iR:function(){return n},jL:function(){return a},lB:function(){return c},ml:function(){return x},nC:function(){return b},rd:function(){return h},xJ:function(){return C},zc:function(){return f}});var r=l(39044);let a=(0,r.default)(()=>Promise.all([l.e(1657),l.e(1016)]).then(l.bind(l,91016)).then(({Banner:e})=>e),{loadableGenerated:{webpack:()=>[91016]}}),n=(0,r.default)(()=>l.e(7450).then(l.bind(l,7450)).then(({HomeSeo:e})=>e),{loadableGenerated:{webpack:()=>[7450]}}),i=(0,r.default)(()=>l.e(7744).then(l.bind(l,87744)).then(({HomeStatistics:e})=>e),{loadableGenerated:{webpack:()=>[87744]}
3}),s=(0,r.default)(()=>Promise.all([l.e(356),l.e(867)]).then(l.bind(l,90867)).then(({PopularBrands:e})=>e),{loadableGenerated:{webpack:()=>[90867]}}),o=(0,r.default)(()=>Promise.all([l.e(1602),l.e(2982)]).then(l.bind(l,22982)).then(({Section:e})=>e),{loadableGenerated:{webpack:()=>[22982]}}),d=(0,r.default)(()=>l.e(5861).then(l.bind(l,35861)).then(({CustomCard:e})=>e),{loadableGenerated:{webpack:()=>[35861]}}),c=(0,r.default)(()=>Promise.all([l.e(7382),l.e(3142)]).then(l.bind(l,83142)).then(({FeaturePromo:e})=>e),{loadableGenerated:{webpack:()=>[83142]}}),m=(0,r.default)(()=>l.e(5273).then(l.bind(l,35273)).then(({PopularBrandsNext:e})=>e),{loadableGenerated:{webpack:()=>[35273]}}),x=(0,r.default)(()=>Promise.all([l.e(2801),l.e(3542)]).then(l.bind(l,73542)).then(({PopularProductsNext:e})=>e),{loadableGenerated:{webpack:()=>[73542]}}),u=(0,r.default)(()=>Promise.all([l.e(3631),l.e(1778)]).then(l.bind(l,71778)).then(e=>e),{loadableGenerated:{webpack:()=>[71778]}}),p=(0,r.default)(()=>l.e(9984).then(l.bind(l,99984)).then(e=>e),{loadableGenerated:{webpack:()=>[99984]}}),h=(0,r.default)(()=>l.e(6627).then(l.bind(l,86627)).then(({FindAStoreNext:e})=>e),{loadableGenerated:{webpack:()=>[86627]}}),f=(0,r.default)(()=>l.e(3829).then(l.bind(l,83829)).then(e=>e),{loadableGenerated:{webpack:()=>[83829]}}),b=(0,r.default)(()=>l.e(7462).then(l.bind(l,37462)).then(e=>e),{loadableGenerated:{webpack:()=>[37462]}}),g=(0,r.default)(()=>Promise.all([l.e(4421),l.e(608)]).then(l.bind(l,608)).then(e=>e),{loadableGenerated:{webpack:()=>[608]}}),v=(0,r.default)(()=>l.e(7071).then(l.bind(l,7071)).then(e=>e),{loadableGenerated:{webpack:()=>[7071]}}),j=(0,r.default)(()=>l.e(507).then(l.bind(l,20507)).then(e=>e),{loadableGenerated:{webpack:()=>[20507]}}),w=(0,r.default)(()=>l.e(5236).then(l.bind(l,65236)).then(e=>e),{loadableGenerated:{webpack:()=>[65236]}}),N=(0,r.default)(()=>l.e(3803).then(l.bind(l,73803)).then(e=>e),{loadableGenerated:{webpack:()=>[73803]}}),y=(0,r.default)(()=>l.e(2225).then(l.bind(l,42225)).then(e=>e),{loadableGenerated:{webpack:()=>[42225]}}),k=(0,r.default)(()=>l.e(185).then(l.bind(l,185)).then(({BeaconExplorePro:e})=>e),{loadableGenerated:{webpack:()=>[185]}}),_=(0,r.default)(()=>l.e(3037).then(l.bind(l,3037)).then(({MiniFindAStore:e})=>e),{loadableGenerated:{webpack:()=>[3037]}}),P=(0,r.default)(()=>l.e(4945).then(l.bind(l,94945)).then(({PopularCategoriesNext:e})=>e),{loadableGenerated:{webpack:()=>[94945]}}),C=(0,r.default)(()=>Promise.all([l.e(1657),l.e(2715)]).then(l.bind(l,92715)).then(({IntegrationsNext:e})=>e),{loadableGenerated:{webpack:()=>[92715]}})},7272:function(e,t,l){"use strict";l.d(t,{default:function(){return h}});var r=l(17223),a=l(12516),n=l(38696),i=l.n(n),s=l(8995),o=l(70783),d=l(77729),c=l(49710),m=l(19517),x=l(86776),u=l(65581);let p=o.memo(({page:e,configuration:t})=>(0,r.jsx)(a.xU,{configuration:{...t,httpClient:m.Wi},page:e,mapping:{"Marketing Carousel Component":u.gv,"Popular Brands Component":u.e7,"Product Browse Card Section Group Component":u.DB,"By Application Card Section":u.Xz,"Redesign Popular Brands Component":u.Od,"Redesign Popular Products Component":u.ml,"Redesign Promotions Component":u.zc,"Rich Text Component":()=>(0,r.jsx)(r.Fragment,{}),"Marketing Block":()=>(0,r.jsx)(r.Fragment,{}),"SEO Component":c.iR}}));function h({page:e,configuration:t,title:l}){let a=(0,x.q)(),{category:n}=(0,s.useParams)(),o=[{name:"Home",href:"/"},{name:i()(n),href:""}];if(e)return(0,r.jsxs)("div",{className:"mt-2 w-screen max-w-[100%] md:mx-auto",children:[(0,r.jsx)(d.a,{items:o,siteColor:a,className:"hidden xs:mt-6 md:mx-auto md:block md:max-w-[1200px] l:mt-0"}),(0,r.jsx)("h1",{className:"mt-[25px] px-2 font-TitleBold text-[40px] font-semibold uppercase md:mx-auto md:max-w-[1200px] l:px-0",children:l||n}),(0,r.jsx)(p,{page:e,configuration:t})]})}p.displayName="BrPageMemo"},65581:function(e,t,l){"use strict";l.d(t,{DB:function(){return s},Od:function(){return o},Xz:function(){return a},e7:function(){return i},gv:function(){return n},ml:function(){return d},zc:function(){return c}});var r=l(39044);let a=(0,r.default)(()=>Promise.all([l.e(3236),l.e(2407)]).then(l.bind(l,2407)).then(({ByApplication:e})=>e),{loadableGenerated:{webpack:()=>[2407]}}),n=(0,r.default)(()=>Promise.all([l.e(9331),l.e(1657),l.e(2067)]).then(l.bind(l,82067)).then(({MarketingCarousel:e})=>e),{loadableGenerated:{webpack:()=>[82067]}}),i=(0,r.default)(()=>l.e(3740).then(l.bind(l,3740)).then(({PopularBrands:e})=>e),{loadableGenerated:{webpack:()=>[3740]}}),s=(0,r.default)(()=>l.e(1812).then(l.bind(l,91812)).then(({ProductBrowseList:e})=>e),{loadableGenerated:{webpack:()=>[91812]}}),o=(0,r.default)(()=>l.e(5273).then(l.bind(l,35273)).then(({PopularBrandsNext:e})=>e),{loadableGenerated:{webpack:()=>[35273]}}),d=(0,r.default)(()=>Promise.all([l.e(2801),l.e(3542)]).then(l.bind(l,73542)).then(({PopularProductsNext:e})=>e),{loadableGenerated:{webpack:()=>[73542]}}),c=(0,r.default)(()=>l.e(3829).then(l.bind(l,83829)).then(e=>e),{loadableGenerated:{webpack:()=>[83829]}})},47470:function(e,t,l){"use strict";l.d(t,{Ut:function(){return r}});let r=(e,t)=>{let l="/brand-landing",r=e.includes(l),a=e.replace(l,"").slice(1).split("/"),n=[{name:"Home",href:"/"}];return a.map((e,i)=>{let s=a.slice(0,i),o={name:e.replaceAll("-"," "),href:`${r?l:`/${s.join("/")}`}/${e}`.replaceAll("//","/")};i===a.length-1&&(o.name=t),n.push(o)}),n}},3280:function(){},44901:function(e){e.exports={beaconway:"BeaconWay_beaconway__REx82","toggle-item":"BeaconWay_toggle-item__ptq9y","toggle-item-inactive":"BeaconWay_toggle-item-inactive__abkRX","toggle-item-active":"BeaconWay_toggle-item-active__g4tYh"}},7842:function(e){e.exports={leftBlock:"CustomMarketingCarousel_leftBlock__Al3BJ"}},71313:function(e){e.exports={block:"FeaturePromo_block__IFzHb"}},73671:function(e){e.exports={searchbox:"HomePageResidential_searchbox__SBqVM",heroVideo:"HomePageResidential_heroVideo__s2bXg"}},43604:function(e){e.exports={leftBlock:"byApplication_leftBlock__UVODT"}},81677:function(e){e.exports={"rich-text-wrapper":"DCStaticPage_rich-text-wrapper__tlfNl",banner:"DCStaticPage_banner__R_XN3"}}},function(e){e.O(0,[2194,9961,4692,6e3,5814,6299,3932,9663,2002,8405,1657,312,1645,9511,1725,3090,3552,5600,6238,2801,706,5818,7788,2220,1142,7564,1744],function(){return e(e.s=75293)}),_N_E=e.O()}]);
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.