(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9916,5043],{75043:function(e,t,n){"use strict";n.r(t),n.d(t,{SectionBasedPage:function(){return d}});var r=n(67294),i=n(9008),o=n.n(i),l=n(81612),a=n(88305),c=n(88801),s=n(85893),d=function(e){var t=e.entry,n=e.injectKlaviyoScript,i=e.noIndex,d=(0,a.u)(c.y).updateContentfulPageEntry,u=t.fields,p=u.pageTitle,m=void 0===p?"":p,f=u.pageDescription,g=void 0===f?"":f,h=u.slug,v=void 0===h?"":h,y=u.sections,b=u.openGraphImage,w=u.openGraphDescription,j=u.openGraphTitle,x=u.twitterTitle,O=u.twitterDescription,P=u.twitterImage,k=u.canonicalUrl,I=u.noIndex,S=u.ogImageLocation,C="".concat(v);k&&""!==k&&(C=k);var N=function(e){var t=e.openGraphImage,n=e.ogImageLocation;return t||n?t?"https:".concat(t.fields.file.url,"?fm=jpg&w=1024"):"https://www.cbtnuggets.com".concat(n):"http://www.canuseducation.com/?cert=assetshttps://www.cbtnuggets.com/images/OG_default.png"},Z=P?"https:".concat(P.fields.file.url,"?fm=jpg&w=1024"):"",D=["how-long-to-study","cert-guides","resource","configuration-guides","cert-class"],_=(0,r.useMemo)(function(){return D.some(function(e){return v.split("/").includes(e)})},[v]),T=""!==Z?Z:N({openGraphImage:b,ogImageLocation:S});return(0,r.useEffect)(function(){d("Section Based Page",t)},[t.sys.id]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o(),{children:[(0,s.jsx)("title",{children:m},"title"),(0,s.jsx)("meta",{name:"description",content:g},"description"),(0,s.jsx)("link",{rel:"canonical",href:C},"canonical"),(0,s.jsx)("meta",{property:"og:title",content:null!=j?j:m},"ogTitle"),(0,s.jsx)("meta",{property:"og:url",content:C},"ogUrl"),(0,s.jsx)("meta",{property:"og:image",content:N({openGraphImage:b,ogImageLocation:S})},"ogImage"),(0,s.jsx)("meta",{property:"og:description",content:null!=w?w:g},"ogDescription"),(0,s.jsx)("meta",{property:"og:type",content:"website"},"ogType"),(0,s.jsx)("meta",{name:"twitter:site",content:"@CBTNuggets"},"twitterSite"),(0,s.jsx)("meta",{name:"twitter:title",content:null!=x?x:m},"twitterTitle"),(0,s.jsx)("meta",{name:"twitter:description",content:null!=O?O:g},"twitterDescription"),(0,s.jsx)("meta",{name:"twitter:creator",content:"@CBTNuggets"},"twitterCreator"),(0,s.jsx)("meta",{name:"twitter:image",content:T},"twitterImage"),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitterCard"),(void 0!==i&&i||void 0!==I&&I)&&(0,s.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"),(_||void 0!==n&&n)&&(0,s.jsx)("script",{src:"https://static.klaviyo.com/onsitehttps://www.cbtnuggets.com/js/klaviyo.js?company_id=UzuaHr"})]}),(0,s.jsx)(s.Fragment,{children:(void 0===y?[]:y).map(function(e){return(0,s.jsx)(l.g,{entry:e},e.sys.id)})})]})};t.default=d},41481:function(e,t,n){"use strict";n.d(t,{s:function(){return d}});var r=n(72198),i=n(32393),o=n(23221),l=n(77243),a=n(63144),c=n.n(a),s=n(33811);function d(){var e=new r.u({uri:"https://api.cbtnuggets.com/catalog/v1/graphql",credentials:"same-origin",fetch:c()}),t=new i.h;if((0,s.Nq)()){var n=[e];return new o.f({link:(0,l.D)(n),cache:t,ssrMode:!0})}return new o.f({link:e,cache:t,ssrMode:!0})}},7564:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},y:function(){return i}});var r={year:"numeric",month:"long",day:"numeric"},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r;return new Date(e).toLocaleDateString(t,n)},o=function(e){return new Date(e)>new Date}},95365:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return tg},default:function(){return th}});var r=n(67294),i=n(9008),o=n.n(i),l=n(87379),a=n(5152),c=n.n(a),s=n(56779),d=n(31289),u=n(59499),p=n(61585),m=n(22801),f=n(19978),g=n(96505),h=n(33770),v=n(38222),y=n(69070);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDepth,r=void 0===n?25:n,i={};return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if((0,p.Z)(["Entry","Asset"],null==t||null===(o=t.sys)||void 0===o?void 0:o.type)){var o,l,a,c,s,d,w,j,x,O,P=t.sys,k=P.id,I=P.createdAt,S=P.updatedAt,C=P.type;if(i[k])return i[k];if(i[k]={},n>=r)return console.debug("Reached max transformation depth:",r),k;var N={id:k,createdAt:I,updatedAt:S};"Entry"===C&&(N.contentType=null===(l=t.sys.contentType)||void 0===l||null===(l=l.sys)||void 0===l?void 0:l.id);var Z=function(e){for(var t=1;t(function(a,b,c,d){window.fetch("https://www.g2.com/products/cbt-nuggets/rating_schema.json").then(e=>e.json()).then(f=>{c=a.createElement(b);c.type="application/ld+json";c.text=JSON.stringify(f);d=a.getElementsByTagName(b)[0];d.parentNode.insertBefore(c,d);});})(document,"script");\n '}})]})]}):(0,O.jsx)(Z.IS,{href:"/customer-reviews",children:"See training reviews"})})})]})},e7=n(41481),e8=n(53768),e9=n(81612),te=n(75043),tt=c()(function(){return Promise.all([n.e(7042),n.e(8870),n.e(6693),n.e(1161),n.e(5229),n.e(6883)]).then(n.bind(n,86883))},{loadableGenerated:{webpack:function(){return[86883]}}}),tn=l.ZP.div.withConfig({displayName:"PageContainer",componentId:"sc-xsa3mg-0"})(["overflow-x:clip;margin-bottom:42px;"]),tr=(0,l.iv)(["display:grid;grid-template-columns:2fr 1fr;max-width:140rem;@media (max-width:768px){grid-template-columns:1fr;grid-template-rows:auto;padding:0 3rem;}"]),ti=(0,l.iv)(["display:flex;flex-direction:column;max-width:1200px;"]),to=l.ZP.div.withConfig({displayName:"PageGrid",componentId:"sc-xsa3mg-1"})(["gap:0 3rem;padding:0 8rem;margin:0 auto;position:relative;",";> *{z-index:1;}"],function(e){return e.$retiredCourse?ti:tr}),tl=(0,l.iv)(["position:relative;&:before{content:'';position:absolute;inset:0 -100vw;background-color:",";z-index:-1;}"],function(e){return e.theme.greyLight}),ta=l.ZP.div.withConfig({displayName:"HeroCell",componentId:"sc-xsa3mg-2"})(["padding-bottom:4rem;",""],tl),tc=l.ZP.div.withConfig({displayName:"SubscriptionWidgetCell",componentId:"sc-xsa3mg-3"})(["padding-top:4rem;grid-column-start:2;grid-row-end:span 4;z-index:2;position:sticky;position:-webkit-sticky;align-self:start;top:3.5rem;@media (max-width:768px){padding-top:0;padding-bottom:4rem;grid-column-start:auto;grid-row-end:auto;","}"],tl),ts=l.ZP.div.withConfig({displayName:"ContentCell",componentId:"sc-xsa3mg-4"})([""]),td=l.ZP.div.withConfig({displayName:"SkillsLearnedContainer",componentId:"sc-xsa3mg-5"})([""," &:before{bottom:50%;}"],tl),tu=l.ZP.div.withConfig({displayName:"LearnerContainer",componentId:"sc-xsa3mg-6"})(["",""],tl),tp=l.ZP.nav.withConfig({displayName:"BreadCrumbWrapper",componentId:"sc-xsa3mg-7"})(["margin-bottom:2.5rem;li{font-size:14px;}"]),tm=function(e){var t;return null===(t=e.replaceAll("-"," "))||void 0===t||null===(t=t.split(" "))||void 0===t?void 0:t.map(function(e){var t;return(null==e||null===(t=e.charAt(0))||void 0===t?void 0:t.toLocaleUpperCase())+e.slice(1,null==e?void 0:e.length)}).join(" ")},tf=function(e){(0,r.useEffect)(function(){if(e){var t={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:""},{"@type":"ListItem",position:2,name:null==e?void 0:e.categorySlug,item:"http://www.canuseducation.com/?cert=it-training/".concat(null==e?void 0:e.categorySlug)},{"@type":"ListItem",position:3,name:null==e?void 0:e.slug}]};if("undefined"!=typeof document){var n=document.querySelector("main");if(n){var r=n.querySelector('script[type="application/ld+json"]'),i=document.createElement("script");i.setAttribute("type","application/ld+json"),i.textContent=JSON.stringify(t),r?n.replaceChild(i,r):n.appendChild(i)}}}},[e])},tg=!0,th=function(e){var t,n,r,i,l,a,c,u,p,m,f,g,h,v=e.pageTemplate,y=e.course,b=e.isCertificationCourse,j=e.isSectionBasedPageEntry,x=e.sectionBasedPageEntry;if(j)return x?(0,O.jsx)(e8.e,{client:(0,e7.s)(),children:(0,O.jsx)(te.SectionBasedPage,{entry:x})}):(0,O.jsx)(s.default,{code:404});var P=d.wW,k=(null===(t=y)||void 0===t?void 0:t.fields).sections;if(!y)return(0,O.jsx)(s.default,{code:404});if(b)return(0,O.jsx)(e8.e,{client:(0,e7.s)(),children:(0,O.jsx)(tt,{data:y,courseSlug:null===(n=y)||void 0===n||null===(n=n.certification)||void 0===n?void 0:n.slug,categorySlug:tm(null===(r=y)||void 0===r||null===(r=r.certification)||void 0===r||null===(r=r.primaryCategory)||void 0===r?void 0:r.slug)})});var I=null!==(i=y)&&void 0!==i&&null!==(i=i.metadata)&&void 0!==i&&null!==(i=i.tags)&&void 0!==i&&!!i.length&&!!(null===(l=y)||void 0===l||null===(l=l.metadata)||void 0===l||null===(l=l.tags)||void 0===l||null===(l=l.filter(function(e){var t;return(null==e||null===(t=e.sys)||void 0===t?void 0:t.id)==="retiredCourse"}))||void 0===l?void 0:l.length);v=w(v=P(v)),tf(y=w(y=P(y)));var S=y,N=S.pageTitle,D=S.pageDescription,_=S.pageImage,T=S.slug,E=S.categorySlug,L="http://www.canuseducation.com/?cert=it-training/".concat(E,"/").concat(T),B=null!=_&&_.url?null==_?void 0:_.url:"/assetshttps://www.cbtnuggets.com/images/og/courses/".concat(T,".png");return(0,O.jsxs)(O.Fragment,{children:[(0,O.jsxs)(o(),{children:[(0,O.jsx)("title",{children:"".concat(N||"Course"," | CBT Nuggets")},"title"),(0,O.jsx)("meta",{name:"description",content:D||"Course description"},"description"),(0,O.jsx)("link",{rel:"canonical",href:L},"canonical"),(0,O.jsx)("meta",{property:"og:title",content:N},"ogTitle"),(0,O.jsx)("meta",{property:"og:description",content:D||"Course description"},"ogDescription"),(0,O.jsx)("meta",{property:"og:url",content:L},"ogUrl"),(0,O.jsx)("meta",{property:"og:image",content:B},"ogImage"),(0,O.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"twitterCard"),(0,O.jsx)("meta",{name:"twitter:title",content:N},"twitterTitle"),(0,O.jsx)("meta",{name:"twitter:description",content:D||"Course description"},"twitterDescription"),(0,O.jsx)("meta",{name:"twitter:image",content:B},"twitterImage")]}),(0,O.jsxs)(tn,{children:[(0,O.jsxs)(to,{$retiredCourse:I,children:[(0,O.jsxs)(ta,{children:[(0,O.jsx)(tp,{children:(0,O.jsx)(Z.bu,{tree:[{path:"/",title:"Home"},{path:"/it-training",title:"IT Training"},{path:"/it-training/".concat(null===(a=y)||void 0===a?void 0:a.categorySlug),title:tm(null===(c=y)||void 0===c?void 0:c.categorySlug)},{title:null===(u=y)||void 0===u?void 0:u.shortTitle}]})}),(0,O.jsx)(ec,{retired:I,freeTrialLink:null===(p=v)||void 0===p||null===(p=p.contentData)||void 0===p?void 0:p.freeTrialLink,course:y})]}),I?null:(0,O.jsx)(tc,{children:(0,O.jsx)(e4,{course:y,subscriptionOptions:null===(m=v)||void 0===m||null===(m=m.contentData)||void 0===m?void 0:m.subscriptionOptions,icon:null===(f=v)||void 0===f||null===(f=f.contentData)||void 0===f?void 0:f.trainingReviewsIcon,stars:null===(g=v)||void 0===g||null===(g=g.contentData)||void 0===g?void 0:g.trainingReviewsStars,link:null===(h=v)||void 0===h||null===(h=h.contentData)||void 0===h?void 0:h.trainingReviewsLink})}),I?(0,O.jsx)(ts,{children:(0,O.jsx)(eH,{course:y})}):(0,O.jsxs)(ts,{children:[(0,O.jsx)(td,{children:(0,O.jsx)(eh,{course:y})}),(0,O.jsx)(ex,{course:y}),(0,O.jsx)(eC,{course:y}),(0,O.jsx)(tu,{children:(0,O.jsx)(C,{course:y})}),(0,O.jsx)(eT,{course:y}),(0,O.jsx)(eq,{course:y}),(0,O.jsx)(eH,{course:y})]})]}),null==k?void 0:k.map(function(e){return(0,O.jsx)(e9.g,{entry:e},e.sys.id)})]})]})}},42256:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/it-training/[category]/[course]",function(){return n(95365)}])}},function(e){e.O(0,[3792,3498,5675,2679,9789,5680,8197,4314,3418,7578,4321,2888,9774,179],function(){return e(e.s=42256)}),_N_E=e.O()}]);