(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3179],{26654:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var i=n(67294),r=n(5152),o=n.n(r),a=n(32767),c=n(9008),s=n.n(c),l=n(85893),u=function(e){var t,n,r,o,a,c=e.entry,u=e.injectKlaviyoScript,d=e.noIndex,p=c.fields,g=p.canonicalUrl,m=p.openGraphTitle,f=p.openGraphImage,w=p.openGraphDescription,y=p.twitterTitle,h=p.twitterDescription,b=p.twitterImage,j=p.path,x=p.slug,v=p.title,C=p.pageDescription,P=p.pageTitle,T=p.noIndex,k=p.ogImageLocation,I=(0,i.useCallback)(function(){return f||k?f?"https:".concat(f.fields.file.url,"?fm=jpg&w=1024"):"https://www.cbtnuggets.com".concat(k):"http://www.canuseducation.com/?cert=assetshttps://www.cbtnuggets.com/images/OG_default.png"},[k,f]),O=(0,i.useCallback)(function(){var e;return g&&(null==g?void 0:g.trim())!==""?g:(null==c||null===(e=c.sys)||void 0===e||null===(e=e.contentType)||void 0===e||null===(e=e.sys)||void 0===e?void 0:e.id)==="topic"?"http://www.canuseducation.com/?cert=it-training/".concat(x):"".concat(null!=x?x:j)},[g,c,j,x]),_={slug:null!=x?x:j,ogImage:I(),pageUrl:O(),title:null!==(t=null!==(n=null!=m?m:P)&&void 0!==n?n:v)&&void 0!==t?t:"CBT Nuggets",description:null!=w?w:C,twitterTitle:null!==(r=null!==(o=null!=y?y:m)&&void 0!==o?o:P)&&void 0!==r?r:v,twitterImage:b?"https:".concat(b.fields.file.url,"?fm=jpg&w=1024"):I(),twitterDescription:null!==(a=null!=h?h:w)&&void 0!==a?a:C},D=(0,i.useMemo)(function(){return["how-long-to-study","cert-guides","resource","configuration-guides","cert-class","events"].some(function(e){return _.slug.split("/").includes(e)})},[_.slug]);return(0,l.jsxs)(s(),{children:[(0,l.jsx)("title",{children:_.title},"title"),(0,l.jsx)("meta",{name:"description",content:_.description},"description"),(0,l.jsx)("link",{rel:"canonical",href:_.pageUrl},"canonical"),(0,l.jsx)("meta",{property:"og:title",content:_.title},"ogTitle"),(0,l.jsx)("meta",{property:"og:url",content:_.pageUrl},"ogUrl"),(0,l.jsx)("meta",{property:"og:image",content:_.ogImage},"ogImage"),(0,l.jsx)("meta",{property:"og:description",content:_.description},"ogDescription"),(0,l.jsx)("meta",{property:"og:type",content:"website"},"ogType"),(0,l.jsx)("meta",{name:"twitter:site",content:"@CBTNuggets"},"twitterSite"),(0,l.jsx)("meta",{name:"twitter:title",content:_.twitterTitle},"twitterTitle"),(0,l.jsx)("meta",{name:"twitter:description",content:_.twitterDescription},"twitterDescription"),(0,l.jsx)("meta",{name:"twitter:creator",content:"@CBTNuggets"},"twitterCreator"),(0,l.jsx)("meta",{name:"twitter:image",content:_.twitterImage},"twitterImage"),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitterCard"),(void 0!==d&&d||void 0!==T&&T)&&(0,l.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"),(D||void 0!==u&&u)&&(0,l.jsx)("script",{defer:!0,src:"https://static.klaviyo.com/onsitehttps://www.cbtnuggets.com/js/klaviyo.js?company_id=UzuaHr"})]})},d=o()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(1664),n.e(6018),n.e(9894),n.e(5675),n.e(8764),n.e(8967),n.e(1345),n.e(2679),n.e(557),n.e(5680),n.e(1953),n.e(2357),n.e(3418),n.e(3594),n.e(2746)]).then(n.bind(n,62746))},{loadableGenerated:{webpack:function(){return[62746]}}}),p=o()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(1664),n.e(6018),n.e(9894),n.e(5675),n.e(8764),n.e(1345),n.e(2679),n.e(557),n.e(5680),n.e(3418),n.e(3594),n.e(5043)]).then(n.bind(n,75043))},{loadableGenerated:{webpack:function(){return[75043]}}}),g=o()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(1664),n.e(6018),n.e(9894),n.e(5675),n.e(8764),n.e(1345),n.e(2679),n.e(557),n.e(5680),n.e(3418),n.e(3594),n.e(4859)]).then(n.bind(n,84859))},{loadableGenerated:{webpack:function(){return[84859]}}}),m=o()(function(){return Promise.all([n.e(3148),n.e(9471),n.e(1664),n.e(6018),n.e(9894),n.e(5675),n.e(8764),n.e(1345),n.e(2679),n.e(557),n.e(5680),n.e(3418),n.e(3594),n.e(8292)]).then(n.bind(n,78292))},{loadableGenerated:{webpack:function(){return[78292]}}}),f=function(e){var t=e.entry,n=e.injectKlaviyoScript,r=e.noIndex,o=t.sys.contentType.sys.id,c=(0,i.useMemo)(function(){switch(o){case a.L.DirectoryPage:return(0,l.jsx)(d,{entry:t});case a.L.TopicPage:return(0,l.jsx)(g,{entry:t});case a.L.CourseCategoryPage:return(0,l.jsx)(m,{entry:t});case a.L.SectionBasedPage:default:return(0,l.jsx)(p,{entry:t})}},[o,t]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u,{entry:t,injectKlaviyoScript:void 0!==n&&n,noIndex:void 0!==r&&r}),c]})}},32767:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});var i,r=((i={}).DirectoryPage="directoryPage",i.SectionBasedPage="sectionBasedPage",i.CourseCategoryPage="courseCategoryPage",i.TopicPage="topic",i)},52857:function(e,t,n){"use strict";n.d(t,{Pk:function(){return o},ck:function(){return r}});var i=n(87379),r=i.ZP.section.withConfig({displayName:"CourseContainer",componentId:"sc-f0ygok-0"})(["display:flex;justify-content:space-between;margin:5.7rem auto;max-width:132rem;padding:0 1.6rem;@media (max-width:960px){flex-wrap:wrap;margin:0;padding:5.6rem 2.4rem;}"]);i.ZP.div.withConfig({displayName:"LoadingWrapper",componentId:"sc-f0ygok-1"})(["align-items:center;display:flex;justify-content:center;min-height:20rem;padding:2rem;"]);var o=i.ZP.div.withConfig({displayName:"BreadCrumbsContainer",componentId:"sc-f0ygok-2"})(["margin-bottom:20px;display:block;padding-left:2.5rem;@media (min-width:1400px){width:1400px;margin:0px auto 20px auto;}"])},41481:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var i=n(72198),r=n(32393),o=n(23221),a=n(77243),c=n(63144),s=n.n(c),l=n(33811);function u(){var e=new i.u({uri:"https://api.cbtnuggets.com/catalog/v1/graphql",credentials:"same-origin",fetch:s()}),t=new r.h;if((0,l.Nq)()){var n=[e];return new o.f({link:(0,a.D)(n),cache:t,ssrMode:!0})}return new o.f({link:e,cache:t,ssrMode:!0})}},88395:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var i=n(59499);n(67294);var r=n(53768),o=n(41481),a=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var s=function(e){return function(t){return(0,a.jsx)(r.e,{client:(0,o.s)(),children:(0,a.jsx)(e,function(e){for(var t=1;t