"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77324,94317,98464],{16698:(e,t,l)=>{l.r(t),l.d(t,{default:()=>i});var a=l(29747),r=l(735),n=l.n(r);let i=(0,l(14232).memo)(function(e){let{id:t,jsonLD:l}=e;return(0,a.Y)("script",{type:"application/ld+json",id:t,dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org",...l})},"data-component":"DataStructure"},t)},(e,t)=>n()(e,t))},21098:(e,t,l)=>{l.d(t,{A:()=>i});var a,r=l(14232);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t{l.r(t),l.d(t,{default:()=>v});var a=l(29747),r=l(735),n=l.n(r),i=l(14232),c=l(2236),u=l(19009),o=l(63276),s=l(44364),d=l(63381),m=l(36384);let b={breadcrumbsContainer:{"> li":{"> span":{alignItems:"center",display:"flex",whiteSpace:"nowrap",width:"auto"},alignItems:"center",display:"flex",width:"auto"},alignItems:"center",display:"flex"},breadcrumbsItemContainer:{alignItems:"center",display:"flex",whiteSpace:"nowrap",width:"auto"},link:[m.Il.smallCopyTight,{[o.MQ.XL]:m.Il.smallCopyTight}],nextItemIcon:{alignItems:"center",display:"flex",height:5,marginLeft:d.E.SIZE_05,marginRight:d.E.SIZE_05,width:3}},p={[u.C.LIGHT]:{color:s.l.LIGHT.GRAY_70},[u.C.ORANGE]:{color:s.l.ORANGE.SHADE_85},[u.C.DARK]:{color:s.l.DARK.GRAY_40}};var h=l(16698),E=l(84859);let w=(0,i.memo)(function(e){let{navigationItems:t}=e,l=(0,E._)(e=>e.hostUrl),r=l?{"@type":"BreadcrumbList",itemListElement:t.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@id":"".concat(l).concat(e.url),name:e.label}}))}:null;return r?(0,a.Y)(h.default,{id:"breadcrumb",jsonLD:r}):null},(e,t)=>n()(e,t));var I=l(30908),g=l(71566);let f=(0,i.memo)(function(e){let{item:t,theme:l}=e;return(0,a.Y)(I.A,{href:t.customAction?"":t.url,css:[g.s6,p[l],b.link],theme:l===u.C.DARK?u.C.DARK:u.C.LIGHT,"aria-current":t.currentPath?"page":void 0,onClick:t.customAction,"data-element":"Link","data-component":"BreadcrumbsItem",children:t.label})},(e,t)=>n()(e,t));var C=l(21098);let _=(0,i.memo)(function(e){let{theme:t}=e;return(0,a.Y)("span",{"aria-hidden":!0,"data-component":"BreadcrumbsItemIcon",children:(0,a.Y)("span",{css:[b.nextItemIcon,p[t]],children:(0,a.Y)(C.A,{"data-element":"ChevronRightIcon"})})})}),v=(0,i.memo)(function(e){let{disableJsonLD:t=!1,navigationItems:l,theme:r=u.C.LIGHT}=e;return(0,a.FD)("nav",{"aria-label":"Breadcrumbs",css:b.root,"data-component":"Breadcrumbs",children:[!t&&(0,a.Y)(w,{navigationItems:l}),(0,a.Y)(c.A,{customContainerStyles:b.breadcrumbsContainer,as:"ol","data-element":"HorizontalScrollable",children:l.map((e,t,l)=>(0,a.Y)("li",{children:(0,a.FD)("span",{children:[(0,a.Y)(f,{item:e,theme:r}),t===l.length-1?null:(0,a.Y)(_,{theme:r},"icon_".concat(t))]})},"".concat(e.label,"_").concat(t)))})]})},(e,t)=>n()(e,t))},56599:(e,t,l)=>{l.d(t,{j:()=>s,_:()=>o});var a=l(79478),r=l(57532);let n={[a.ph[a.bw.HOME]]:(0,r.ui)("breadcrumbs.home"),[a.ph[a.bw.BRAND_LANDING]]:(0,r.ui)("breadcrumbs.brands"),[a.ph[a.bw.BRAND_DETAIL]]:null,[a.ph[a.bw.BRAND_REVIEWS]]:(0,r.ui)("breadcrumbs.reviews"),[a.ph[a.bw.CATEGORY_LANDING]]:(0,r.ui)("breadcrumbs.categories"),[a.ph[a.bw.CATEGORY_DETAIL]]:null,[a.ph[a.bw.CATEGORY_REVIEWS]]:(0,r.ui)("breadcrumbs.reviews"),[a.ph[a.bw.PRODUCT_DETAIL]]:null,[a.ph[a.bw.PRODUCT_DETAIL_PLA]]:null,[a.ph[a.bw.PRODUCT_REVIEWS]]:(0,r.ui)("breadcrumbs.reviews"),[a.ph[a.bw.BRAND_CATEGORY]]:null,[a.ph[a.bw.TIRE_SIZE_CATALOG_OR_CATEGORY]]:null,[a.ph[a.bw.TIRE_REVIEWS]]:(0,r.ui)("breadcrumbs.tireReviews"),[a.ph[a.bw.TIRE_REVIEWS_TEMP]]:null,[a.ph[a.bw.TYPE_LANDING]]:(0,r.ui)("breadcrumbs.types"),[a.ph[a.bw.TYPE_DETAIL]]:null,[a.ph[a.bw.TYPE_REVIEWS]]:(0,r.ui)("breadcrumbs.reviews"),[a.ph[a.bw.SITEMAP]]:(0,r.ui)("breadcrumbs.sitemap"),[a.ph[a.bw.VEHICLE_CATALOG]]:(0,r.ui)("breadcrumbs.vehicleCatalog"),[a.ph[a.bw.WRITE_REVIEW]]:(0,r.ui)("breadcrumbs.writeReview"),[a.ph[a.bw.VEHICLES]]:(0,r.ui)("breadcrumbs.vehicles"),[a.ph[a.bw.TIRE_SIZES_LANDING]]:(0,r.ui)("breadcrumbs.tireSizes"),[a.ph[a.bw.TIRE_SALES]]:(0,r.ui)("breadcrumbs.tireSales"),[a.ph[a.bw.SIMPLE_SNAP_TIRE_SIZES]]:(0,r.ui)("links.simpleSnap"),[a.ph[a.bw.TIRE_SHOPS]]:(0,r.ui)("breadcrumbs.tireShops"),[a.ph[a.bw.TIRE_SHOPS_URBAN]]:null,[a.ph[a.bw.SHOP_LANDING]]:null,[a.ph[a.bw.SIMPLECREW]]:(0,r.ui)("breadcrumbs.simpleCrew")};var i=l(84473),c=l(99371),u=l(91066);function o(e){let{asPath:t,labels:l,routeName:o,params:s,querystringNodeLabel:d}=e,m=o.match(RegExp(c.Pf,"g")),[b]=t.match(/[^(#?)]*$/g)||[],p=null==m?void 0:m.reduce((e,t)=>{var r;let i=t.includes("[")&&t.replace(/\W/g,"")||null,c="".concat((null===(r=e.slice().pop())||void 0===r?void 0:r.path)||"").concat(t);if(!Object.values(a.ph).includes(c))return e;let o=n[c];return[...e,{label:!o&&i&&l[i]?l[i].replace(/-/g," "):o||"",url:s?(0,u.CC)(c,s):c,path:c}]},[]),h=[{label:(0,r.ui)("breadcrumbs.home"),url:a.ph[a.bw.HOME]}];if(p&&(h=[...h,...p.filter(e=>""!==e.label&&!e.path.includes("/p/")).map(e=>({label:e.label,url:e.url}))]),b&&d)h=[...h,{currentPath:!0,label:d,url:t}];else{let e=h[h.length-1];e.currentPath=!0,e.url=(0,i.g1)(t)}return h}function s(e,t){return e.map((e,l,r)=>{let i=l===r.length-1;if(e.type){let l=a.ph[e.type];return{label:e.label||n[l],url:t?(0,u.CC)(l,t):l,currentPath:i}}return e.label&&e.url?{label:e.label,url:e.url,currentPath:i}:null}).filter(Boolean)}},98464:(e,t,l)=>{l.r(t),l.d(t,{default:()=>b});var a=l(29747),r=l(14232),n=l(54943),i=l(16698),c=l(41938),u=l(92864),o=l(84859),s=l(26322),d=l(56599),m=l(57532);let b=function(){var e;let t=(0,o._)(e=>e.hostUrl),{size:l,siteCatalogBreadcrumbs:b,siteCatalogSummaryTopPicksList:p}=(0,u.Nw)(e=>({size:e.size,siteCatalogBreadcrumbs:e.siteCatalogSummary.siteCatalogBreadcrumbs,siteCatalogSummaryTopPicksList:e.siteCatalogSummary.siteCatalogSummaryTopPicksList})),{isAdvancedView:h,siteCatalogProductsResultList:E}=(0,c.l)(e=>{var t;return{isAdvancedView:e.isAdvancedView,siteCatalogProductsResultList:null===(t=e.siteCatalogProducts)||void 0===t?void 0:t.siteCatalogProductsResultList}}),w=!h&&(null==E?void 0:null===(e=E[0])||void 0===e?void 0:e.type)===s.B.SiteCatalogProductGroupItem,I=(0,r.useMemo)(()=>t&&l&&w&&(null==b?void 0:b.length)===3?function(e,t,l){let a,r=t.match(/r(\d{2})/);(null==r?void 0:r[1])&&(a=r[1]);let n=t.match(/(\d+)(?!.*\d)/);(null==n?void 0:n[0])&&(a=n[0]);let i=Number(a);if(!i)return null;let c=[{label:l[0].label,url:"".concat(e).concat(l[0].link.href)},{label:l[1].label.replace("S","s"),url:"".concat(e).concat(l[1].link.href)}];return i<=22&&i>=14&&c.push({label:(0,m.ui)("links.".concat(i,"InchTires")),url:"".concat(e,"/tire-sizes/diameter/").concat(i,"-inch-tires")}),c.push({label:"".concat(l[2].label," ").concat((0,m.ui)("catalog.header.tires")),url:"".concat(e).concat(l[2].link.href)}),c}(t,l,b):null,[t,l,w,b]),g=(0,r.useMemo)(()=>I?(0,d.j)(I):null,[I]),f=(0,r.useMemo)(()=>{if(!t||!p||!E)return[];let e=[];return p.forEach(l=>{l.product&&e.push("".concat(t).concat(l.product.link.href).replace(/#.*$/,""))}),E.forEach(l=>{l.type===s.B.SiteCatalogProductGroupItem&&l.productList.forEach(l=>{e.push("".concat(t).concat(l.link.href).replace(/#.*$/,""))})}),e},[t,p,E]),C=(0,r.useMemo)(()=>{if(!l||!t||!I)return null;let e={"@context":"https://schema.org","@id":"".concat(t,"/tire-sizes/").concat(l,"#webpage"),"@type":"CollectionPage",breadcrumb:{"@type":"BreadcrumbList",itemListElement:I.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@id":e.url,name:e.label}}))},inLanguage:"en-US",isPartOf:{"@id":"".concat(t,"/#website"),"@type":"WebSite",about:{"@type":"Thing",name:"SimpleTire","@id":"https://www.wikidata.org/wiki/Q118142384"},name:"SimpleTire",publisher:{"@id":"".concat(t,"/#organization")}},name:I[I.length-1].label,significantLink:f,url:"".concat(t,"/tire-sizes/").concat(l)};return 4==I.length&&(e.relatedLink=I[2].url),e},[t,I,l,f]);return(0,a.FD)("div",{"data-component":"CatalogBreadcrumbs",children:[!!g&&(0,a.Y)(n.default,{navigationItems:g,disableJsonLD:!0}),C&&(0,a.Y)(i.default,{id:"tire-size",jsonLD:C})]})}}}]);