1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="087e8f2a-9bcf-43df-ac78-001925757f39",e._sentryDebugIdIdentifier="sentry-dbid-087e8f2a-9bcf-43df-ac78-001925757f39")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4577],{44492:(e,a,s)=>{"use strict";s.d(a,{j:()=>l});let t={"&":"&","<":"<",">":">"},n=e=>e&&e.blocks?"<li>\n".concat(l(e.blocks),"\n</li>"):"<li>".concat(e&&e.html||"","</li>"),r=e=>{if(!e||"string"!=typeof e.type)return"";switch(e.type){case"paragraph":return"<p>".concat(e.html||"","</p>");case"heading":return"<h".concat(e.level,">").concat(e.html||"","</h").concat(e.level,">");case"hr":return"<hr/>";case"quote":return"<blockquote>\n".concat(l(e.blocks),"\n</blockquote>");case"code":return"<pre><code".concat(e.lang?' class="language-'.concat(e.lang,'"'):"",">").concat(String(e.value||"").replace(/[&<>]/g,e=>t[e]),"</code></pre>");case"html":return e.html||"";case"list":{let a=e.ordered?"ol":"ul",s=null!=e.start?"<".concat(a,' start="').concat(e.start,'">'):"<".concat(a,">"),t=(e.items||[]).map(n).join("\n");return"".concat(s,"\n").concat(t,"\n</").concat(a,">")}default:return""}},l=e=>Array.isArray(e)?e.map(r).join("\n"):""},59261:(e,a,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/brands/[type]",function(){return s(71452)}])},71452:(e,a,s)=>{"use strict";s.r(a),s.d(a,{__N_SSP:()=>w,default:()=>_});var t=s(37876),n=s(14232),r=s(31753),l=s(48230),c=s.n(l),o=s(87407),i=s(77328),d=s.n(i),h=s(73660),u=s(64943),m=s(78018),p=s(89099),g=s(54248),b=s(37500),x=s(82851),j=s.n(x),f=s(88504),v=s(44492),y=s(77557);class N extends n.Component{alphabeticalGroup(e){let a=[];for(let s=0;s<e.length;s++)0===a.length||e[s].vendor.toLowerCase().charAt(0)!==e[s-1].vendor.toLowerCase().charAt(0)?a.push({letter:e[s].vendor.toLowerCase().charAt(0),brands:[e[s]]}):a[a.length-1].brands.push(e[s]);return a}getResultsAmount(e){let a=0;if(e)for(let s=0;s<e.length;s++)a+=e[s].brands.length;return a}render(){var e,a,s,n;let{t:r,router:l,brands:i,brandsContent:p}=this.props,x=this.alphabeticalGroup(i),y=l.query.type,N=this.context.getFeatureValue("structuredDataBreadcrumbList",!1),w=this.context.getFeatureValue("structuredDataImageMetaData",!1),_=this.context.getFeatureValue("structuredDataWebpage",!1),k=this.context.getFeatureValue("structuredDataWebsite",!1),A=this.context.getFeatureValue("structuredDataDefaultNodes",!1),C=this.context.getFeatureValue("canonicalLinkTags",!1),D=null;N&&(D=(0,g.Y7)(l,null,this.props.i18n.language));let E=null;k&&(E=(0,g._3)(this.props.i18n.language));let I=[];w&&x.forEach((e,a)=>{e.brands.forEach((e,s)=>{var t;if(!j().isEmpty(null==(t=e.image)?void 0:t.src)){let t={url:e.image.src,name:e.vendor,description:(0,b.jH)(r("brands.".concat(y,".imageAlt.brandLogo"),{ns:"brands-models-catalog"}),{$brand:e.vendor}),keywords:[e.vendor,r("brands.".concat(y,".imageKeywords.brand"),{ns:"brands-models-catalog"}),r("brands.".concat(y,".imageKeywords.product"),{ns:"brands-models-catalog"}),r("brands.".concat(y,".imageKeywords.automotive"),{ns:"brands-models-catalog"}),e.brandSlug],representativeOfPage:0===a&&0===s,primaryImageOfPage:0===a&&0===s},n=(0,g.Jj)(t,this.props.i18n.language);n&&I.push(n)}})});let P=(null==p||null==(a=p[y])||null==(e=a.seo)?void 0:e.title)||"",S=null;_&&(S=(0,g.SZ)(l,[D,...I].filter(Boolean),P));let T=(0,g.l)([S,E,D,...I].filter(Boolean),this.props.t,this.props.i18n.language,A);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(d(),{children:[(0,t.jsx)("title",{children:P}),(0,t.jsx)("meta",{name:"description",content:(null==p||null==(n=p[y])||null==(s=n.seo)?void 0:s.description)||""},"description"),(0,t.jsx)("meta",{property:"og:image",content:"".concat("https://pmctire.com","/images/seo/").concat(y,"-ogimage.webp")}),!j().isEmpty(T)&&(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(T)}}),C&&(0,t.jsx)("link",{rel:"canonical",href:(0,o.ts)("https://pmctire.com",l.asPath,l.locale)}),(0,t.jsx)("link",{rel:"alternate",hreflang:"en-CA",href:(0,o.xZ)("https://pmctire.com",l.asPath,l.locale,"en")}),(0,t.jsx)("link",{rel:"alternate",hreflang:"fr-CA",href:(0,o.xZ)("https://pmctire.com",l.asPath,l.locale,"fr")}),(0,t.jsx)("link",{rel:"alternate",hreflang:"x-default",href:(0,o.xZ)("https://pmctire.com",l.asPath,l.locale,"en")})]}),(0,t.jsx)("div",{className:"page page-brands-listing ".concat(y),children:(0,t.jsxs)("div",{className:"wrapper touch-sidebar",children:[(0,t.jsx)("div",{className:"breadcrumb"}),(0,t.jsxs)("div",{className:"title-banner search",children:[(0,t.jsxs)("div",{className:"left",children:[(0,t.jsxs)("div",{className:"icon-ctn",children:["tire"===y&&(0,h.J)("tire"),"wheel"===y&&(0,h.J)("wheel"),"accessory"===y&&(0,h.J)("handyman")]}),(0,t.jsxs)("div",{className:"title-ctn",children:[(0,t.jsx)("p",{className:"h1",children:r("brands.".concat(y,".title"),{ns:"brands-models-catalog"})}),(0,t.jsx)("p",{children:r("brands.".concat(y,".subtitle"),{ns:"brands-models-catalog"})})]})]}),(0,t.jsx)("div",{className:"right",children:(0,t.jsx)("div",{className:"search-ctn",children:(0,t.jsx)(u.A,{router:this.props.router,placeholder:r("brands.".concat(y,".search"),{ns:"brands-models-catalog"}),autofocus:!0})})})]}),(0,t.jsx)("div",{className:"grouped-listing neumorphism",children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"listing-header",children:[(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"title-ctn",children:(0,t.jsx)("h1",{className:"h6",children:r("brands.".concat(y,".allbrands"),{ns:"brands-models-catalog"})})}),(0,t.jsx)("div",{className:"options-ctn",children:(0,t.jsxs)("span",{className:"label",children:[this.getResultsAmount(x)," ",r("results",{ns:"brands-models-catalog"})]})})]}),(0,t.jsx)(f.A,{from:"brands",router:this.props.router})]}),x.length?(0,t.jsx)("ul",{className:"grouped-list",children:x.map((e,a)=>(0,t.jsxs)("li",{className:"group-item",children:[(0,t.jsxs)("div",{className:"group-title",children:[(0,t.jsx)("span",{className:"h2",children:e.letter.toUpperCase()}),(0,t.jsx)("div",{className:"line-separator"})]}),(0,t.jsx)("ul",{className:"brands-list",children:e.brands.map((e,a)=>{var s;return(0,t.jsx)("li",{className:"card shadow brand-item",children:(0,t.jsxs)(c(),{href:{pathname:"/brands/[type]/[vendor]",query:{type:y,vendor:e.brandSlug}},onClick:()=>{(0,m.PU)("brand_click-".concat(e.brandSlug))},className:"no-style",children:[!j().isEmpty(null==(s=e.image)?void 0:s.src)&&(0,t.jsx)("div",{className:"img-ctn neumorphism",children:(0,t.jsx)("div",{className:"image",style:{backgroundImage:"url(".concat(e.image.src,")")}})}),(0,t.jsx)("p",{className:"h5",children:e.vendor}),(0,t.jsx)("div",{className:"icon-ctn",children:(0,t.jsx)("span",{className:"material-icons-outlined",children:"arrow_forward"})})]})},a)})})]},a))}):(0,t.jsx)("p",{className:"no-result",children:this.props.t("brands.".concat(y,".noresults"),{ns:"brands-models-catalog"})})]})}),(null==p?void 0:p[y])&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"h3",children:p[y].descriptionTitle}),(0,t.jsx)("div",{className:"wysiwyg",dangerouslySetInnerHTML:{__html:(0,v.j)(p[y].description)}})]})]})})]})}}N.contextType=y.J;var w=!0;let _=(0,p.withRouter)((0,r.CI)(["common","key","brands-models-catalog"])(N))}},e=>{e.O(0,[4248,1328,636,6593,8792],()=>e(e.s=59261)),_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.