PageSourceSearch

https://ritcheylogic.com/_next/static/chunks/pages/guides/[categorySlug]/[slug]-563f99c74a2dcb5a.js

js ritcheylogic.com collected 2026-10-02 08:42:58 UTC 10,973 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2385],{24898:function(e,t,n){"use strict";var l=n(14192),a=n(78642),i=n(6803),r=n.n(i),u=n(9008),o=n.n(u),s=n(67294),c=n(11163),d=n(80097),g=n(97410),p=n(11752),y=n.n(p),m=n(85893),h=y()().publicRuntimeConfig,f=function(e){var t=e.post,n=(0,c.useRouter)().asPath,i=(0,d.qt)(),u=i.siteSettings,p=i.hero,y=(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 i=t.thumbnail?r()(l.i3).image(t.thumbnail).auto("format").format("webp").fit("max").size(1200,630).url():void 0;i&&(e.image=i);var o=null!=u&&u.headerLogo?r()(l.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,m.jsx)(o(),{children:(0,m.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(y)}})})};t.Z=f},99651:function(e,t,n){"use strict";var l=n(33227),a=n(88361),i=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}},y=function(e){i(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 l=u(this).constructor;e=Reflect.construct(t,arguments,l)}else e=t.apply(this,arguments);return r(this,e)});function g(){return l(this,g),o.apply(this,arguments)}return a(g,[{key:"render",value:function(){var e=this.props,t=e.statusCode,n=e.withDarkMode,l=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(l):"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?l: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);y.displayName="ErrorPage",y.getInitialProps=g,y.origGetInitialProps=g,t.default=y},45338:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return A},default:function(){return Z}});var l,a=n(11163),i=n(71383),r=n(12870),u=n.n(r),o=n(44633),s=n(15316),c=n(3924),d=function(e){return u()(l||(l=(0,i.Z)(['\n  {\n    "siteSettings": ',',\n    "seo": *[_type == "guide" && slug.current == $slug][0].seo {\n      "title": ',',\n      "description": ',',\n      "keywords": ',',\n      "structuredData": structuredData\n    },\n    "page": *[_type == "guide" && slug.current == $slug][0] {\n      "slug": slug.current,\n      "title": ','\n    },\n    "guideCategory": *[_type == "guideCategory" && slug.current == $categorySlug][0] {\n      "key": _id,\n      "slug": slug.current,\n      "name": ','\n    },\n    "hero": *[_type == "guide" && slug.current == $slug][0].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    "guide": *[_type == "guide" && slug.current == $slug][0] {\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 == "guide" && slug.current == $slug][0].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 == "guide" && slug.current == $slug][0].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 == "guide" && slug.current == $slug][0].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,c.$)(e),(0,s.Z)("title",e),(0,s.Z)("description",e),(0,s.Z)("keywords",e),(0,s.Z)("title",e),(0,s.Z)("name",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)("heading",e),(0,o.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))},g=n(44282),p=n(78642),y=n(12918),m=n(24898),h=n(20109),f=n(2101),b=n(35696),v=n(70856),_=n(85893),A=!0,Z=function(e){e.locale;var t=e.params,n=(0,v.$G)().t,l=(0,a.useRouter)(),i=t||{},r=i.categorySlug,u=i.slug;return!l.isFallback&&(0,_.jsx)(g.T,{query:d,params:{slug:u,categorySlug:r},hideTitle:!0,canonical:function(){return"/guides/".concat(r,"/").concat(u)},breadcrumbMarkUp:function(e){var t=e.guideCategory,n=e.guide;return[{name:null==t?void 0:t.name,path:"/guides/".concat(r)},{name:null==n?void 0:n.title,path:"/guides/".concat(r,"/").concat(u)}]},og:function(e){var t=e.hero;return t?(0,p.PB)(t)?{image:null==t?void 0:t.media}:(0,p.Vx)(t)?{image:null==t?void 0:t.thumbnail}:null:null},children:function(e){var t=e.guide,l=e.relatedProducts,a=e.relatedPosts,i=e.relatedGuides;return null!=t&&t.slug?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(m.Z,{post:t}),(0,_.jsx)(h.uT,{blocks:t.body}),(null==l?void 0:l.length)&&(0,_.jsx)(f.oF,{hasBorder:!0,title:"Related products",items:l}),(null==a?void 0:a.length)&&(0,_.jsx)(b.oF,{title:n("Related articles"),posts:a}),(null==i?void 0:i.length)&&(0,_.jsx)(h.oF,{title:n("Related guides"),guides:i})]}):(0,_.jsx)(y.default,{statusCode:404})}})}},67116:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/guides/[categorySlug]/[slug]",function(){return n(45338)}])},12918:function(e,t,n){e.exports=n(99651)}},function(e){e.O(0,[1119,9774,2888,179],function(){return e(e.s=67116)}),_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.