"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[58212,86070],{35831:(e,t,a)=>{a.r(t),a.d(t,{default:()=>A});var n=a(29747),i=a(18847),o=a.n(i),l=a(14e3),r=a(49541),c=a(90774),d=a(14579),s=a(51263),p=a(2236),E=a(30735),g=a(30908),m=a(47792),h=a(62122),u=a(32586),S=a(19009),I=a(57532),L=a(18079),_=a(63276),f=a(44364),M=a(63381),x=a(36384);let Z={assetsCarouselContainer:{"> span":{borderLeft:"2px solid rgba(24, 24, 24, 0.13)",borderRight:"2px solid rgba(24, 24, 24, 0.13)",borderTop:"2px solid rgba(24, 24, 24, 0.13)",borderTopLeftRadius:M.E.SIZE_10,borderTopRightRadius:M.E.SIZE_10,display:"flex",flex:"0 0 180px",justifyContent:"center",marginRight:M.E.SIZE_20,position:"relative"},marginTop:M.E.SIZE_20},curation:{".assets-carousel-container":{".swiper-wrapper":{display:"flex",marginBottom:M.E.SIZE_20,marginTop:M.E.SIZE_20,".assets-carousel-item":{display:"flex",justifyContent:"center",marginRight:M.E.SIZE_20,position:"relative",width:180}}},".skeleton-carousel-container":{".skeleton-carousel-item":{height:180,marginRight:M.E.SIZE_20,width:180}},backgroundColor:f.l.GLOBAL.WHITE,padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_15,"px"),[_.MQ.M]:{padding:"".concat(M.E.SIZE_40,"px ").concat(M.E.SIZE_35,"px")},[_.MQ.L]:{padding:"".concat(M.E.SIZE_60,"px")},[_.MQ.XL]:{marginLeft:M.E.SIZE_100}},customContainerStyles:{".filters-carousel":{".swiper-wrapper":{display:"flex",".dropdown-button":{":first-of-type":{marginLeft:M.E.SIZE_10,[_.MQ.M]:{marginLeft:M.E.SIZE_30},[_.MQ.L]:{marginLeft:0},[_.MQ.XL]:{marginLeft:M.E.SIZE_170}},":last-of-type":{marginRight:M.E.SIZE_10,[_.MQ.M]:{marginRight:M.E.SIZE_30},[_.MQ.L]:{marginRight:M.E.SIZE_50}},marginRight:M.E.SIZE_05,transitionProperty:"transform",width:"auto"}}},margin:"0 ".concat(-M.E.SIZE_10,"px"),[_.MQ.M]:{margin:"0 ".concat(-M.E.SIZE_30,"px")},[_.MQ.L]:{margin:"0 ".concat(-M.E.SIZE_100,"px")}},filterButton:{pointerEvents:"auto",whiteSpace:"nowrap"},filtersWrapper:{".filters-carousel":{marginLeft:"0",marginRight:"0",".swiper-wrapper":{marginLeft:"0",".dropdown-button":{":first-of-type":{marginLeft:"".concat(M.E.SIZE_20,"px"),[_.MQ.M]:{marginLeft:"".concat(M.E.SIZE_40,"px")},[_.MQ.L]:{marginLeft:"".concat(M.E.SIZE_60,"px")}},":last-of-type":{marginRight:"".concat(M.E.SIZE_20,"px"),[_.MQ.M]:{marginRight:"".concat(M.E.SIZE_40,"px")},[_.MQ.L]:{marginRight:"".concat(M.E.SIZE_50,"px")}},marginRight:"".concat(M.E.SIZE_10,"px")}}},padding:"".concat(M.E.SIZE_20,"px 0 ").concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_15,"px"),[_.MQ.M]:{padding:"".concat(M.E.SIZE_40,"px 0 ").concat(M.E.SIZE_30,"px ").concat(M.E.SIZE_35,"px")},[_.MQ.L]:{padding:"".concat(M.E.SIZE_50,"px 0 ").concat(M.E.SIZE_30,"px ").concat(M.E.SIZE_60,"px")}},header:{backgroundColor:f.l.LIGHT.OFF_WHITE,padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_15,"px"),[_.MQ.M]:{display:"flex",justifyContent:"space-between",padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_40,"px ").concat(M.E.SIZE_20,"px")},[_.MQ.L]:{padding:"".concat(M.E.SIZE_40,"px ").concat(M.E.SIZE_60,"px ").concat(M.E.SIZE_20,"px")},[_.MQ.XL]:{padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_170,"px")}},headerChild:{width:"100%"},headerInstaller:{padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_15,"px"),[_.MQ.M]:{padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_40,"px 0")},[_.MQ.L]:{padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_60,"px ").concat(M.E.SIZE_20,"px")},[_.MQ.XL]:{padding:"".concat(M.E.SIZE_20,"px ").concat(M.E.SIZE_170,"px")}},ourPicksWrapper:{marginTop:M.E.SIZE_40},root:{overflow:"hidden",width:"100%"},skeletonCarouselContainer:{"> div":{borderTopLeftRadius:0,borderTopRightRadius:0,flex:"0 0 180px",height:180,marginRight:M.E.SIZE_20}},subFilter:[x.Il.bodyCopyTight,{"& > span":{"&:last-child":{marginRight:0},display:"inline-block",marginRight:M.E.SIZE_15,paddingBottom:M.E.SIZE_20,[_.MQ.M]:{marginRight:M.E.SIZE_20},[_.MQ.L]:{marginRight:M.E.SIZE_60}},span:{"& > a":[x.Il.labelCopyTight,{display:"inline-block","&:hover span":{color:f.l.GLOBAL.BLACK}}],"&.active":{borderBottom:L.s.SOLID_BLACK_3PX},"&.active a span":[x.Il.labelHeadline,{color:f.l.GLOBAL.BLACK}],color:f.l.LIGHT.GRAY_70}}],subFilterWrapper:{display:"flex",overflow:"auto",whiteSpace:"nowrap"},wrapper:{borderBottom:L.s.SOLID_GRAY_20_1PX,display:"flex",div:{flexShrink:0},overflow:"auto",padding:"0 ".concat(M.E.SIZE_20,"px"),[_.MQ.M]:{padding:"0 ".concat(M.E.SIZE_40,"px")},[_.MQ.L]:{margin:"0 ".concat(M.E.SIZE_110,"px"),padding:0}}},C=o()(()=>a.e(32386).then(a.bind(a,32386)),{loadableGenerated:{webpack:()=>[32386]}});function y(e){var t;let{hideOurPicks:a=!0}=e,i=(null!==(t=(0,l.usePathname)())&&void 0!==t?t:"").includes("/vehicles"),o=[(0,I.ui)("catalog.header.tireType"),(0,I.ui)("catalog.header.brand"),(0,I.ui)("catalog.header.price"),(0,I.ui)("catalog.header.load"),(0,I.ui)("catalog.header.speedRating"),(0,I.ui)("catalog.header.warranty"),(0,I.ui)("catalog.header.more")];return(0,n.FD)("div",{css:Z.root,"data-component":"CatalogLoading",children:[(0,n.Y)("div",{css:Z.header,children:(0,n.Y)("div",{css:Z.headerChild,children:(0,n.Y)(d.default,{"data-element":"Grid",children:(0,n.Y)(s.default,{gridColumnS:"1/13",gridColumnM:"1/13",gridColumnL:"2/14",gridColumnXL:"1/15","data-element":"GridItem",children:(0,n.Y)(m.A,{width:"100%",height:"100px",radius:u.Z.RADIUS_8,theme:S.x.OFF_WHITE,"data-element":"Skeleton"})})})})}),(0,n.Y)(d.default,{"data-element":"Grid",children:(0,n.Y)(s.default,{gridColumnS:"1/13",gridColumnM:"1/13",gridColumnL:"2/14",gridColumnXL:"1/15","data-element":"GridItem",children:(0,n.Y)("div",{css:Z.headerInstaller,children:(0,n.Y)(m.A,{width:"100%",height:"24px",radius:u.Z.RADIUS_8,"data-element":"Skeleton"})})})}),(0,n.Y)(d.default,{"data-element":"Grid",children:(0,n.FD)(s.default,{gridColumnS:"1/13",gridColumnM:"1/13",gridColumnL:"2/14",gridColumnXL:"2/15","data-element":"GridItem",children:[(0,n.Y)("div",{css:Z.filtersWrapper,children:(0,n.Y)(c.A,{activeFilter:null,customContainerStyles:Z.customContainerStyles,"data-element":"FiltersCarousel",children:o.map((e,t)=>(0,n.Y)(r.A,{theme:S.x.LIGHT_GREY,label:e,isActive:!1,isDisabled:!1,isDropdownOpen:!1,dataForClickHandler:"",handleClick:()=>{},css:Z.filterButton},t))})}),(0,n.Y)("div",{css:Z.wrapper,children:(0,n.Y)("div",{css:Z.subFilterWrapper,children:(0,n.FD)("div",{css:Z.subFilter,children:[(0,n.Y)("span",{children:(0,n.Y)(g.A,{"data-element":"Link",children:(0,I.ui)("catalog.filters.allTires")})}),!a&&(0,n.Y)("span",{className:i?"active":"",children:(0,n.Y)(g.A,{children:(0,I.ui)("catalog.filters.ourPicks")})}),(0,n.Y)("span",{children:(0,n.Y)(g.A,{"data-element":"Link",children:(0,I.ui)("catalog.filters.recommended")})}),(0,n.Y)("span",{children:(0,n.Y)(g.A,{"data-element":"Link",children:(0,I.ui)("catalog.filters.lowToHigh")})}),(0,n.Y)("span",{children:(0,n.Y)(g.A,{"data-element":"Link",children:(0,I.ui)("catalog.filters.HighToLow")})})]})})})]})}),i?!a&&(0,n.Y)("div",{css:Z.ourPicksWrapper,children:(0,n.Y)(C,{})}):(0,n.FD)("div",{css:Z.curation,children:[(0,n.Y)(m.A,{width:"60%",height:"40px"}),(0,n.Y)(m.A,{width:"50%",height:"26px"}),(0,n.Y)(p.A,{customContainerStyles:Z.assetsCarouselContainer,children:[,,,,,].fill(0).map((e,t)=>(0,n.Y)("span",{css:Z.asset,children:(0,n.Y)(E.default,{altText:"tire",src:"https://images.simpletire.com/image/upload/v1612896361/steer/common/tire-skeleton.png",widths:[115],height:"160",width:"115"})},t))}),(0,n.Y)(p.A,{customContainerStyles:Z.skeletonCarouselContainer,children:[,,,,,].fill(0).map((e,t)=>(0,n.Y)(m.A,{width:"180px",height:"180px",radius:u.Z.RADIUS_10},t))})]})]})}y.displayName="CatalogLoading";let A=(0,h.A)(y)},36201:(e,t,a)=>{a.d(t,{Ay:()=>I,CR:()=>u});var n=a(63276),i=a(44364),o=a(84265),l=a(22840),r=a(9526),c=a(32586),d=a(63381),s=a(46605),p=a(64398),E=a(24202),g=a(96861),m=a(20380);let h={default:{animation:"".concat(E.Xn," ").concat(s.E.MS350,"ms ease-in")},open:{animation:"".concat(E.qG," ").concat(s.E.MS350,"ms ").concat(o.U.CUBIC_EASE_IN)}},u={S:{default:{animation:"".concat(E.rf," ").concat(s.E.MS350,"ms ease-in")},open:{animation:"".concat(E.tE," ").concat(s.E.MS350,"ms ease-in")}},M:h,L:h,XL:h},S={S:d.E.SIZE_20,M:d.E.SIZE_40,L:d.E.SIZE_60},I={[r.wD.DARK]:{background:i.l.GLOBAL.BLACK,color:i.l.DARK.GRAY_40},[r.wD.LIGHT]:{background:i.l.GLOBAL.WHITE,color:i.l.GLOBAL.BLACK},[r.wD.ORANGE]:{background:i.l.GLOBAL.ORANGE,color:i.l.GLOBAL.WHITE},[r.f6.FADE]:h,actions:{display:"flex",justifyContent:"space-between",margin:"0 ".concat(-d.E.SIZE_10,"px"),zIndex:p.M.MODAL},close:{color:i.l.LIGHT.GRAY_70,position:"absolute",top:d.E.SIZE_20+4,zIndex:p.M.MODAL,[n.MQ.S]:{right:d.E.SIZE_15},[n.MQ.M]:{right:d.E.SIZE_35,top:34}},content:{position:"relative",[n.MQ.S]:{padding:"".concat(d.E.SIZE_30,"px ").concat(S.S,"px ").concat(d.E.SIZE_60,"px ")},[n.MQ.M]:{padding:"".concat(d.E.SIZE_30,"px ").concat(S.M,"px ").concat(d.E.SIZE_40,"px ")}},root:[g.TH,{background:i.l.GLOBAL.WHITE,color:i.l.GLOBAL.BLACK,overflowY:"auto",[n.MQ.S]:{borderRadius:"".concat(c.Z.RADIUS_15," ").concat(c.Z.RADIUS_15," 0 0"),bottom:0,maxHeight:"100%",position:"absolute",width:"100%"},[n.MQ.M]:{borderRadius:c.Z.RADIUS_15,margin:"auto",maxHeight:"calc(100vh - ".concat(l.SS.M,"px)"),maxWidth:m.l4,minWidth:400,position:"relative",top:"50%",transform:"translateY(-50%)"},[n.MQ.L]:{borderRadius:c.Z.RADIUS_15,margin:"auto",maxHeight:"calc(100vh - ".concat(l.SS.M,"px)"),maxWidth:m.l4,minWidth:400,position:"relative",top:"50%",transform:"translateY(-50%)"}}]}},80814:(e,t,a)=>{a.d(t,{A:()=>d});var n=a(29747),i=a(24964),o=a(19009),l=a(55005),r=a(45882),c=a(8595);let d=function(e){let{useBaseLink:t=!0,useButton:a=!1,phone:d,displayValue:s,customPhoneNumberStyles:p}=e,E=async()=>{(0,l.uj)(r.B.PHONE_NUMBER_CLICKED,{link_url:"tel:".concat(d),link_text:d}),window.location.href="tel:".concat(d)},g=t?c.default:"a";return a?(0,n.Y)(i.A,{as:"a",onClick:E,theme:o.C.ORANGE,css:p,children:s}):(0,n.Y)(g,{onClick:E,href:"tel:".concat(d),css:p,children:s})}},86070:(e,t,a)=>{a.d(t,{GM:()=>et,Ay:()=>ei});var n=a(29747),i=a(99951),o=a(14232),l=a(1656),r=a(24964),c=a(44032),d=a(14579),s=a(51263),p=a(8595),E=a(15517),g=a(88554),m=a(538),h=a.n(m),u=a(61430),S=a(44364),I=a(9526),L=a(46605),_=a(64398),f=a(26921),M=a(36201);(0,f.H)();let x=function(e){let{children:t,contentLabel:a,customContentStyles:i,id:o,isOpen:l,theme:r=I.wD.ORANGE}=e,{bk:c}=(0,u.A)();return(0,n.Y)(h(),{contentLabel:a,isOpen:l,closeTimeoutMS:L.E.MS350,shouldCloseOnOverlayClick:!1,shouldCloseOnEsc:!1,style:{overlay:{backgroundColor:S.l.LIGHT.GRAY_70,opacity:+!!l,transition:"opacity ".concat(L.E.MS350,"ms ease-in-out ").concat(L.E.MS100,"ms"),zIndex:_.M.MODAL}},css:[M.Ay.root,M.Ay[r],M.CR[c].default,l&&M.CR[c].open],"data-element":"ReactModal","data-component":"SizeConfirmModal",children:(0,n.Y)("div",{css:[M.Ay.content,i],id:o,children:t})})};var Z=a(80814),C=a(72219),y=a(8441),A=a(23204),b=a(92864),R=a(71548),T=a(46476),w=a(88772),Y=a(62122),v=a(31369),B=a(40994),k=a(21901),O=a(19009),Q=a(82562),G=a(91066),D=a(57532),H=a(35831),N=a(9906),W=a(86618),F=a(67697),U=a(63276),X=a(22840),z=a(63381),K=a(96861),P=a(17262),q=a(36384);let j={availableSizes:[q.Il.tertiaryHeadline,{marginTop:z.E.SIZE_40,marginBottom:z.E.SIZE_20}],border:{borderRadius:z.E.SIZE_02,width:z.E.SIZE_02,background:S.l.ORANGE.SHADE_15},brandImage:{width:200,img:{height:10,float:"right",width:"auto",[U.MQ.M]:{height:14}}},car:{marginBottom:"".concat(z.E.SIZE_20,"px"),".SVGInline-svg":{"[class$=body-car]":{"*":{stroke:S.l.GLOBAL.WHITE}},"[class$=back-wheel], [class$=front-wheel]":{"*":{stroke:S.l.GLOBAL.WHITE,fill:S.l.GLOBAL.WHITE}}}},container:{backgroundColor:S.l.GLOBAL.ORANGE,color:S.l.GLOBAL.WHITE,padding:"".concat(z.E.SIZE_20,"px 0"),[U.MQ.M]:{padding:"".concat(z.E.SIZE_40,"px 0")}},containerAlignLeft:{alignItems:"flex-start",textAlign:"left"},containerInner:{alignItems:"flex-end",display:"flex",flexDirection:"column",textAlign:"right"},dataMomentBody:[q.Il.bodyCopy,{marginBottom:z.E.SIZE_10,[U.MQ.M]:{width:"calc(75% - ".concat(X.DM.M/4,"px)")},[U.MQ.L]:{width:"calc(66.66% - ".concat(X.DM.L/3,"px)")}}],dataMomentCopy:[q.Il.smallCopyTight,{color:S.l.ORANGE.SHADE_85,marginBottom:z.E.SIZE_30,marginLeft:"auto",textAlign:"right",[U.MQ.M]:{width:"calc(75% - ".concat(X.DM.M/4,"px)")},[U.MQ.L]:{width:"calc(66.66% - ".concat(X.DM.L/3,"px)")}}],dataMomentCtaWrapper:{"> *:not(:first-of-type)":{marginLeft:z.E.SIZE_10,display:"flex",padding:z.E.SIZE_10},a:{width:"fit-content",marginLeft:z.E.SIZE_20,padding:"15px 20px"},"a:not(:first-of-type)":{"@media(max-width: 382px)":{marginTop:z.E.SIZE_10}},alignItems:"center",display:"flex",flexDirection:"row"},dataMomentHeading:{marginBottom:z.E.SIZE_10,[U.MQ.M]:{marginBottom:z.E.SIZE_10}},dataMomentHelp:[K.Yv,q.Il.smallCopyTight,P.y.light,{marginTop:z.E.SIZE_40}],dataMomentTopPicksCtaWrapper:{"> *":{marginTop:z.E.SIZE_10},"> *:not(:first-of-type)":{marginLeft:z.E.SIZE_10},a:{width:"fit-content"},alignItems:"flex-end",display:"flex",flexDirection:"column",flexWrap:"wrap",justifyContent:"flex-end",[U.MQ.M]:{flexDirection:"row"}},heading:[q.gI.primaryHeadline.base,{marginBottom:z.E.SIZE_10,[U.MQ.M]:{marginBottom:z.E.SIZE_30}}],list:{"> li":{":not(:last-child)":{marginBottom:z.E.SIZE_15,[U.MQ.M]:{marginBottom:z.E.SIZE_20}},alignItems:"flex-end",display:"flex",flexDirection:"column"},listStyle:"none",margin:0,padding:0},noResultsHeading:{marginBottom:z.E.SIZE_40,[U.MQ.M]:{marginBottom:z.E.SIZE_60}},noResultsLink:[K.Yv,P.y.darkHighlighted,P.y.borderless],noResultsLinkWrapper:{"&:not(:last-child)":{marginBottom:z.E.SIZE_10},[U.MQ.XL]:{"&:not(:last-child)":{marginBottom:z.E.SIZE_05}}},noResultsSection:{"> dd":[q.Il.secondaryHeadline,{marginBottom:z.E.SIZE_40,[U.MQ.M]:q.gI.primaryHeadline.M,[U.MQ.XL]:q.gI.primaryHeadline.XL}],"> dt":[q.Il.eyebrow,{color:S.l.GLOBAL.BLACK,marginBottom:z.E.SIZE_10,[U.MQ.M]:{marginBottom:z.E.SIZE_15}}]},pills:{display:"flex",flexWrap:"wrap","> a:nth-of-type(n+3)":{marginTop:z.E.SIZE_10}},tireSizeText:[q.Il.secondaryHeadline,{[U.MQ.S]:{width:"25px"},[U.MQ.M]:{width:"30px"},[U.MQ.L]:{width:"35px"},marginLeft:z.E.SIZE_15}]};var J=a(34887),V=a(63963),$=a(84265);let ee=(0,J.A)("div",{target:"e1lnq1fy0"})(function(e){let{stage:t,transitionStatus:a,isLanding:n}=e,i={backgroundColor:S.l.GLOBAL.WHITE,color:S.l.GLOBAL.BLACK,minHeight:F.Gq[t].CONTENT_MIN_HEIGHT.S,[U.MQ.M]:{minHeight:F.Gq[t].CONTENT_MIN_HEIGHT.M},[U.MQ.L]:{minHeight:F.Gq[t].CONTENT_MIN_HEIGHT.L}};switch(t){case F.an.BUILD_IN:return[i,{paddingTop:n?0:V.MJ.S,[U.MQ.M]:{paddingTop:n?0:V.MJ.M},[U.MQ.L]:{paddingTop:n?0:V.MJ.L+30},[U.MQ.XL]:{paddingTop:n?0:V.MJ.XL+30}}];case F.an.LOADING:case F.an.DATA_MOMENT:case F.an.RESULTS:return[i,{backgroundColor:"transparent",paddingTop:n?0:V.MJ.S}];case F.an.NO_RESULTS:return[i,{"> *":{opacity:0,transition:"opacity ".concat(F.sZ.CONTENT_IN_OUT,"ms ").concat($.U.CUBIC_EASE_IN_OUT)}},"entering"===a&&{"> *":{transition:"none"}},"entered"===a&&{"> *":{opacity:1}}];default:return{}}});function et(e){var t;let{setStage:a,showLoadingInterstitial:l,siteCatalogSummaryMeta:d,siteCatalogSummaryPrompt:s,openStaticModal:p,isComingFromConfirmFit:m,updateParamsForConfirmFit:h}=e,{message:u}=(0,i.u)(),S=(0,v.A)(),L=(0,A.Z)(e=>e.toggleIsSearchOpen),_=(0,w.J)(e=>e.selectVehicle),[M,Z]=(0,o.useState)(!0),C=(0,o.useRef)(null);(0,o.useEffect)(()=>{l&&C&&C.current&&C.current.focus()},[C,l]);let y=s&&(null===(t=s.infoLink)||void 0===t?void 0:t.contentId),b=y&&(0,f.u)(y),R=s&&(0,W.pl)(s),T=()=>{Z(!M)},Y=(e,t)=>{let{oem:n}=t;Q.o.newCatalogSearchQuery.emit({comesFromSearch:!!n}),e&&_(e),a&&a(N.a.RESULTS),T()},H=(null==s?void 0:s.ctaList)&&s.ctaList.length>1;return s&&d&&(0,n.FD)(x,{id:y||"SizeConfirmModal",isOpen:M,contentLabel:"modal",theme:I.wD.ORANGE,children:[(0,n.Y)(c.A,{css:j.car,carId:d.vehicleType}),(0,n.Y)("div",{ref:C,tabIndex:-1,children:(0,n.Y)(g.A,{css:[j.heading,j.dataMomentHeading],components:E.pY,children:s.title})}),(0,n.Y)("div",{css:j.availableSizes,children:(0,n.Y)("h3",{children:(0,D.ui)("catalog.summary.availableSizes")})}),s.ctaList&&R&&Object.keys(R).map(e=>(0,n.FD)("div",{css:j.dataMomentCtaWrapper,"data-testid":"catalog-cta-list",children:[(0,n.FD)("div",{css:j.tireSizeText,children:[e,"”"]}),(0,n.FD)("div",{css:j.tireSizePillContainer,children:[(0,n.Y)("div",{css:j.border}),(0,n.Y)("div",{css:j.pills,children:R[e].map(e=>{var t;let{label:i,siteQueryParams:o,vehicleMetadata:l}=e,c=m?B.l.OUTLINED:H?u.buttonStyle:B.l.SOLID,d=i.replace(/\s+/g,"").toLowerCase(),s=(0,G.Kq)(S,o),p=null==o?void 0:null===(t=o.tireSize)||void 0===t?void 0:t.replace("-","/").toUpperCase();return m&&o?(0,n.Y)(r.A,{onClick:()=>{h(o),T()},style:B.l.OUTLINED,theme:O.C.ORANGE,children:p},d):o?(0,n.Y)(r.A,{as:k.r.A,href:s,onClick:()=>Y(l,o),style:c,theme:u.buttonTheme,children:p},d):(0,n.Y)(r.A,{onClick:()=>{T(),a&&a(N.a.RESULTS),window.scrollTo(0,0),L()},style:c,theme:u.buttonTheme,children:p},d)})})]})]},e)),s.infoLink&&b&&(0,n.Y)("button",{css:j.dataMomentHelp,onClick:function(){y&&p(y)},children:s.infoLink.label})]})}let ea={[N.a.LOADING]:H.default,[N.a.BUILD_IN]:H.default,[N.a.DATA_MOMENT]:et,[N.a.RESULTS]:H.default,[N.a.NO_RESULTS]:function(e){let{showLoadingInterstitial:t,siteCatalogSummaryPrompt:a}=e,{setSearchState:i,searchQuery:l}=(0,C.a)(e=>({setSearchState:e.setSearchState,searchQuery:e.searchQuery})),r=(0,A.Z)(e=>e.setIsSearchOpen),{customerServiceNumber:c,customerServiceEnabled:m}=(0,T.Z0)(e=>({customerServiceNumber:e.customerServiceNumber,customerServiceEnabled:e.customerServiceEnabled})),h=(0,o.useRef)(null);(0,o.useEffect)(()=>{t&&h&&h.current&&h.current.focus()},[h,t]);let u=[{labelId:"catalog.summary.noResultsVehicleLabel",searchCategory:y.BH.VEHICLE},{labelId:"catalog.summary.noResultsSizeLabel",searchCategory:y.BH.TIRE_SIZE},{labelId:"catalog.summary.noResultsBrandLabel",searchCategory:y.BH.BRAND}],S=e=>()=>{i(e),l({queryText:"",queryType:e}),r(!0)};return a&&(0,n.Y)(d.default,{css:j.container,children:(0,n.FD)(s.default,{css:[j.containerInner,j.containerAlignLeft],gridColumnM:"start/7",gridColumnL:"3/9",children:[(0,n.Y)("div",{ref:h,tabIndex:-1,children:(0,n.Y)(g.A,{css:[j.heading,j.noResultsHeading],components:E.pY,children:a.title})}),(0,n.FD)("dl",{css:j.noResultsSection,children:[m&&(0,n.Y)("dt",{children:(0,D.ui)("catalog.summary.noResultsContactLabel")}),m&&(0,n.FD)("dd",{children:[(0,D.ui)("catalog.summary.noResultsContactDesc"),(0,n.Y)(Z.A,{phone:c.value,displayValue:c.display,useBaseLink:!0}),(0,n.Y)(p.default,{href:"tel:".concat(c.value),css:j.noResultsLink,isExternal:!0,children:c.display})]}),(0,n.Y)("dt",{children:(0,D.ui)(m?"catalog.summary.noResultsNewSearchLabel":"catalog.summary.noResultsNewSearchLabelAlt")}),(0,n.Y)("dd",{children:(0,n.Y)("ul",{children:u.map(e=>(0,n.Y)("li",{css:j.noResultsLinkWrapper,children:(0,n.Y)("button",{type:"button",css:j.noResultsLink,onClick:S(e.searchCategory),children:(0,D.ui)(e.labelId)})},e.labelId))})})]})]})})}};function en(e){let{isLanding:t}=e,{contentStage:a,setStage:i,showLoadingInterstitial:r,siteCatalogSummary:c,stage:d}=(0,b.Nw)(e=>({contentStage:e.contentStage,setStage:e.setStage,showLoadingInterstitial:e.showLoadingInterstitial,siteCatalogSummary:e.siteCatalogSummary,stage:e.stage})),s=(0,o.useRef)(null),p=(0,R.$H)(e=>e.openStaticModal),E=ea[a];return(0,n.Y)(l.Ay,{appear:!0,in:d===a,timeout:F.cW[a],nodeRef:s,"data-element":"Transition","data-component":"CatalogMessage",children:e=>(0,n.Y)(ee,{showLoadingInterstitial:r,stage:a,transitionStatus:e,isLanding:t,ref:s,children:E&&(0,n.Y)(E,{...c,openStaticModal:p,setStage:i,showLoadingInterstitial:r,updateParamsForConfirmFit:()=>null},a)})})}en.displayName="CatalogMessage";let ei=(0,Y.A)(en)}}]);