1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7090],{24898:function(e,t,n){"use strict";var i=n(14192),a=n(78642),l=n(6803),r=n.n(l),u=n(9008),o=n.n(u),s=n(67294),c=n(11163),d=n(80097),g=n(97410),p=n(11752),m=n.n(p),y=n(85893),h=m()().publicRuntimeConfig,f=function(e){var t=e.post,n=(0,c.useRouter)().asPath,l=(0,d.qt)(),u=l.siteSettings,p=l.hero,m=(0,s.useMemo)(function(){var e={"@context":"https://schema.org","@type":"BlogPosting",mainEntityOfPage:{"@type":"WebPage","@id":"".concat(h.website).concat(n)},headline:t.title,author:{"@type":"Organization",name:"Ritchey Logic",url:"https://ritcheylogic.com/"},publisher:{"@type":"Organization",name:"Ritchey Logic"}};(0,a.PB)(p)&&null!=p&&p.subtitle&&(e.description=p.subtitle);var l=t.thumbnail?r()(i.i3).image(t.thumbnail).auto("format").format("webp").fit("max").size(1200,630).url():void 0;l&&(e.image=l);var o=null!=u&&u.headerLogo?r()(i.i3).image(u.headerLogo).auto("format").format("webp").width(3840).quality(75).url():void 0;if(o&&(e.publisher.logo={"@type":"ImageObject",url:o}),t.postedAt||t.createdAt){var s=(0,g.W)(t.postedAt||t.createdAt),c=(0,g.W)(t.postedAt||t.createdAt||t.updatedAt);e.datePublished=s,e.dateModified=c}return e},[t,n,p,u]);return(0,y.jsx)(o(),{children:(0,y.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(m)}})})};t.Z=f},72451:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var i=n(78642),a=function(e){var t=void 0;if(e){if((0,i.PB)(e))t=e.media;else if((0,i.Nb)(e)){var n,a=null===(n=e.items)||void 0===n?void 0:n[0];a&&((0,i.PB)(a)?t=a.media:(0,i.Vx)(a)&&(t=a.thumbnail))}else(0,i.Vx)(e)&&(t=e.thumbnail)}return{image:t}}},99651:function(e,t,n){"use strict";var i=n(33227),a=n(88361),l=n(85971),r=n(52715),u=n(91193);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(92648).Z,s=o(n(67294)),c=o(n(72717)),d={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function g(e){var t=e.res,n=e.err;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}var p={error:{fontFamily:'-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left",lineHeight:"49px",height:"49px",verticalAlign:"middle"},h1:{display:"inline-block",margin:0,marginRight:"20px",padding:"0 23px 0 0",fontSize:"24px",fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:"14px",fontWeight:"normal",lineHeight:"49px",margin:0,padding:0}},m=function(e){l(g,e);var t,n,o=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=u(g);if(n){var i=u(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return r(this,e)});function g(){return i(this,g),o.apply(this,arguments)}return a(g,[{key:"render",value:function(){var e=this.props,t=e.statusCode,n=e.withDarkMode,i=this.props.title||d[t]||"An unexpected error has occurred";return s.default.createElement("div",{style:p.error},s.default.createElement(c.default,null,s.default.createElement("title",null,t?"".concat(t,": ").concat(i):"Application error: a client-side exception has occurred")),s.default.createElement("div",null,s.default.createElement("style",{dangerouslySetInnerHTML:{__html:"\n body { margin: 0; color: #000; background: #fff; }\n .next-error-h1 {\n border-right: 1px solid rgba(0, 0, 0, .3);\n }\n\n ".concat(void 0===n||n?"@media (prefers-color-scheme: dark) {\n body { color: #fff; background: #000; }\n .next-error-h1 {\n border-right: 1px solid rgba(255, 255, 255, .3);\n }\n }":"")}}),t?s.default.createElement("h1",{className:"next-error-h1",style:p.h1},t):null,s.default.createElement("div",{style:p.desc},s.default.createElement("h2",{style:p.h2},this.props.title||t?i:s.default.createElement(s.default.Fragment,null,"Application error: a client-side exception has occurred (see the browser console for more information)"),"."))))}}]),g}(s.default.Component);m.displayName="ErrorPage",m.getInitialProps=g,m.origGetInitialProps=g,t.default=m},54023:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return A},default:function(){return Z}});var i,a=n(11163),l=n(44282),r=n(71383),u=n(12870),o=n.n(u),s=n(15316),c=n(44633),d=n(3924),g=function(e){return o()(i||(i=(0,r.Z)(['\n {\n "siteSettings": ',',\n "seo": *[_type == "guideCategory" && slug.current == $slug][0].seo {\n "title": ',',\n "description": ',',\n "keywords": ','\n },\n "hero": *[_type == "guideCategory" && slug.current == $slug][0].mainGuide->.heroHeader {\n "type": type,\n type == "image" => {\n "media": image.asset,\n "alt": ',',\n "heading": ',',\n "title": ',',\n "subtitle": ',',\n "callToAction": ',',\n "callToActionTarget": callToActionTarget {\n "type": @->_type,\n "slug": @->slug.current,\n @->_type == "product" => {\n "family": @->family->slug.current\n }\n }\n },\n type == "video" => {\n "url": videoUrl,\n "thumbnail": videoThumbnail.asset,\n "alt": ',',\n "heading": ',',\n "title": ',',\n "subtitle": ',',\n "callToAction": ',',\n "callToActionTarget": callToActionTarget {\n "type": @->_type,\n "slug": @->slug.current,\n @->_type == "product" => {\n "family": @->family->slug.current\n }\n }\n },\n type == "gallery" => {\n autoplay,\n autoplayTimeout,\n "items": gallery[] {\n "key": _key,\n _type == "heroImage" => {\n "type": "image",\n "media": image.asset,\n "alt": ',',\n "heading": ',',\n "title": ',',\n "subtitle": ',',\n "callToAction": ',',\n "callToActionTarget": callToActionTarget {\n "type": @->_type,\n "slug": @->slug.current,\n @->_type == "product" => {\n "family": @->family->slug.current\n }\n }\n },\n _type == "heroVideo" => {\n "type": "video",\n "url": url,\n "thumbnail": thumbnail.asset,\n "alt": ',',\n "heading": ',',\n "title": ',',\n "subtitle": ',',\n "callToAction": ',',\n "callToActionTarget": callToActionTarget {\n "type": @->_type,\n "slug": @->slug.current,\n @->_type == "product" => {\n "family": @->family->slug.current\n }\n }\n }\n }\n }\n },\n "page": *[_id == "guide"][0] {\n "title": ',',\n },\n "guideCategory": *[_type == "guideCategory" && slug.current == $slug][0] {\n "key": _id,\n "slug": slug.current,\n "name": ','\n },\n "guide": *[_type == "guideCategory" && slug.current == $slug][0].mainGuide-> {\n "slug": slug.current,\n "title": ',',\n "heading": ',',\n "body": ',',\n postedAt,\n "thumbnail": media.thumbnail,\n "createdAt": _createdAt,\n "updatedAt": _updatedAt,\n },\n "relatedProducts": *[_type == "guideCategory" && slug.current == $slug][0].mainGuide->.related.products[@->status == "Active"] {\n "key": _key,\n "family": @->family->slug.current,\n "slug": @->slug.current,\n "name": ',',\n "unavailableAlertEU": ',',\n "unavailableAlertUS": ',',\n "isNew": @->isNew,\n "thumbnail": @->media.thumbnail.asset->,\n "skus": @->stockItems[].sku,\n "exclusionRules": @->exclusionRules,\n },\n "relatedPosts": *[_type == "guideCategory" && slug.current == $slug][0].mainGuide->.related.posts[] {\n "key": _key,\n "slug": @->slug.current,\n "title": ',',\n "heading": ',',\n "thumbnail": @->media.thumbnail.asset->,\n "tags": @->tags[] {\n "key": _key,\n "slug": @->slug.current,\n "name": ','\n }\n },\n "relatedGuides": *[_type == "guideCategory" && slug.current == $slug][0].mainGuide->.related.guides[] {\n "key": _key,\n "slug": @->slug.current,\n "title": ',',\n "heading": ',',\n "thumbnail": @->media.thumbnail.asset->
1,\n "category": {\n "key": @->category->_id,\n "slug": @->category->slug.current,\n "name": ',"\n }\n }\n }"])),(0,d.$)(e),(0,s.Z)("title",e),(0,s.Z)("description",e),(0,s.Z)("keywords",e),(0,s.Z)("image.alt",e),(0,s.Z)("heading",e),(0,s.Z)("title",e),(0,s.Z)("subtitle",e),(0,s.Z)("callToAction",e),(0,s.Z)("videoThumbnail.alt",e),(0,s.Z)("heading",e),(0,s.Z)("title",e),(0,s.Z)("subtitle",e),(0,s.Z)("callToAction",e),(0,s.Z)("image.alt",e),(0,s.Z)("heading",e),(0,s.Z)("title",e),(0,s.Z)("subtitle",e),(0,s.Z)("callToAction",e),(0,s.Z)("thumbnail.alt",e),(0,s.Z)("heading",e),(0,s.Z)("title",e),(0,s.Z)("subtitle",e),(0,s.Z)("callToAction",e),(0,s.Z)("title",e),(0,s.Z)("name",e),(0,s.Z)("title",e),(0,s.Z)("heading",e),(0,c.Z)("body",e),(0,s.Z)("@->name",e),(0,s.Z)("@->unavailableAlert.card",e),(0,s.Z)("@->unavailableAlertUS.card",e),(0,s.Z)("@->title",e),(0,s.Z)("@->heading",e),(0,s.Z)("@->name",e),(0,s.Z)("@->title",e),(0,s.Z)("@->heading",e),(0,s.Z)("@->category->name",e))},p=n(72451),m=n(12918),y=n(70856),h=n(24898),f=n(20109),b=n(2101),v=n(35696),_=n(85893),A=!0,Z=function(e){e.locale;var t=e.params,n=(0,y.$G)().t,i=(0,a.useRouter)(),r=(t||{}).categorySlug;return!i.isFallback&&(0,_.jsx)(l.T,{query:g,params:t,hideTitle:!0,canonical:function(){return"/guides/".concat(r)},breadcrumbMarkUp:function(e){var t=e.guideCategory;return[{name:null==t?void 0:t.name,path:"/guides/".concat(r)}]},og:function(e){var t=e.hero;return(0,p.p)(t)},children:function(e){var t=e.guide,i=e.relatedProducts,a=e.relatedPosts,l=e.relatedGuides;return null!=t&&t.slug?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(h.Z,{post:t}),(0,_.jsx)(f.uT,{blocks:t.body}),(null==i?void 0:i.length)&&(0,_.jsx)(b.oF,{hasBorder:!0,title:"Related products",items:i}),(null==a?void 0:a.length)&&(0,_.jsx)(v.oF,{title:n("Related articles"),posts:a}),(null==l?void 0:l.length)&&(0,_.jsx)(f.oF,{title:n("Related guides"),guides:l})]}):(0,_.jsx)(m.default,{statusCode:404})}})}},58521:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guides/[categorySlug]",function(){return n(54023)}])},12918:function(e,t,n){e.exports=n(99651)}},function(e){e.O(0,[1119,9774,2888,179],function(){return e(e.s=58521)}),_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.