(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9916,6779],{56779:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r=n(67294),i=r.createContext({});i.displayName="ServerContextContext",n(64687);var o=n(85893),a=n(87379),c=a.ZP.section.withConfig({displayName:"ErrorMain",componentId:"sc-1cyirqj-0"})(["display:flex;flex-direction:column;justify-content:center;background-color:white;max-width:50rem;margin:0 auto;padding:1rem;padding-top:8rem;text-align:center;height:50vh;min-height:50rem;p{text-align:center;font-size:",";font-weight:400;color:",";&.error-code{margin-top:30px;}}a{text-decoration:none;padding-bottom:1px;color:",";&:hover{text-decoration:underline;}}"],function(e){return e.theme.standardFont},function(e){return e.theme.secondary},function(e){return e.theme.blue}),s=a.ZP.div.withConfig({displayName:"ErrorSvgContainer",componentId:"sc-1cyirqj-1"})(["margin:auto;margin:0;"]),l=a.ZP.h1.withConfig({displayName:"Title",componentId:"sc-1cyirqj-2"})(["color:#000;text-align:center;font-family:",";font-size:4.8rem;margin:1rem 0 2rem;line-height:5rem;"],function(e){return e.theme.fontFamilyCursive}),u={error404:{image:"/assets/client/404-error.svg",title:"Oh, dang it!",message:'That page was moved or doesn\'t exist anymore. Head to our homepage or chat with Learner Support for help.'},error500:{image:"/assets/client/500-error.svg",title:"Well, that's not good",message:'Something went wrong with one of our servers. Try reloading the page or come back again later. If you need help right away, contact Learner Support.'}},d=function(e,t){return(0,o.jsxs)(r.Fragment,{children:[(0,o.jsx)(s,{children:(0,o.jsx)("img",{src:e.image,alt:""})}),(0,o.jsx)(l,{children:e.title}),(0,o.jsx)("p",{dangerouslySetInnerHTML:{__html:e.message}}),(0,o.jsx)("p",{children:(0,o.jsxs)("strong",{children:["Error Code: ",t]})})]})},m=function(e){var t=e.code,n=r.useContext(i);return t&&n&&n.response&&(n.response.statusCode=t),(0,o.jsx)(c,{children:t&&t>399&&t<500?d(u.error404,t):d(u.error500,t)})}},52857:function(e,t,n){"use strict";n.d(t,{Pk:function(){return o},ck:function(){return i}});var r=n(87379),i=r.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;}"]);r.ZP.div.withConfig({displayName:"LoadingWrapper",componentId:"sc-f0ygok-1"})(["align-items:center;display:flex;justify-content:center;min-height:20rem;padding:2rem;"]);var o=r.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 g}});var r=n(72198),i=n(32393),o=n(23221),a=n(77243),c=n(11752),s=n.n(c),l=n(63144),u=n.n(l),d=n(33811),m=n(67686),p=function(){var e=s()().publicRuntimeConfig.accountAlias!==m.N.LX_PROD?"qanuggets":"cbtnuggets";return"https://api.".concat(e,".com/catalog/v1/graphql")};function g(){var e=new r.u({uri:p(),credentials:"same-origin",fetch:u()}),t=new i.h;if((0,d.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})}},56273:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return g}});var r=n(67294),i=n(5152),o=n.n(i),a=n(53768),c=n(52857),s=n(41481),l=n(53418),u=n(56779),d=n(85893),m=o()(function(){return Promise.all([n.e(5675),n.e(2679),n.e(5174),n.e(7042),n.e(8870),n.e(7170),n.e(1161),n.e(5168),n.e(9453)]).then(n.bind(n,87629))},{loadableGenerated:{webpack:function(){return[87629]}}}),p=o()(function(){return Promise.all([n.e(2679),n.e(8870),n.e(5735)]).then(n.bind(n,65735))},{loadableGenerated:{webpack:function(){return[65735]}}}),g=!0;t.default=function(e){var t,n,i,o,g,f,h=e.course,v=void 0===h?"":h,y=e.category,x=void 0===y?"":y,w=e.courseData;return((0,r.useEffect)(function(){var e,t,n,r,i,o={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:""},{"@type":"ListItem",position:2,name:(null==w||null===(e=w.course)||void 0===e||null===(e=e.primaryCourseCategory)||void 0===e?void 0:e.name)||(null==w||null===(t=w.certification)||void 0===t||null===(t=t.primaryCategory)||void 0===t?void 0:t.name)||x,item:"http://www.canuseducation.com/?cert=it-training/".concat((null==w||null===(n=w.course)||void 0===n||null===(n=n.primaryCourseCategory)||void 0===n?void 0:n.slug)||x)},{"@type":"ListItem",position:3,name:(null==w||null===(r=w.course)||void 0===r?void 0:r.name)||(null==w||null===(i=w.certification)||void 0===i?void 0:i.name)||v}]};if("undefined"!=typeof document){var a=document.querySelector("main");if(a){var c=a.querySelector('script[type="application/ld+json"]'),s=document.createElement("script");s.setAttribute("type","application/ld+json"),s.textContent=JSON.stringify(o),c?a.replaceChild(s,c):a.appendChild(s)}}},[]),w)?(0,d.jsxs)(a.e,{client:(0,s.s)(),children:[(null==w||null===(t=w.course)||void 0===t?void 0:t.courseStatus)==="Retired"?(0,d.jsx)(p,{courseSlug:v,categorySlug:x,data:w}):(0,d.jsx)(m,{courseSlug:v,categorySlug:x,data:w}),(0,d.jsx)(l.I8,{marginBottom:"7rem",title:"Train free for a week.",buttonText:"Get started",talkToSales:!0,showDescription:!1,children:(0,d.jsxs)(l.mr,{children:[(0,d.jsx)("strong",{children:"Not sure where to start?"}),(0,d.jsx)("br",{}),"Call 541-284-5522 or try our ",(0,d.jsx)(l.mn,{fontSize:"2.4rem"}),"."]})}),(0,d.jsx)(c.Pk,{children:(0,d.jsx)("div",{children:(0,d.jsx)(l.bu,{tree:[{path:"/",title:"Home"},{path:"/it-training",title:"IT Training"},{path:"/it-training/".concat((null==w||null===(n=w.course)||void 0===n||null===(n=n.primaryCourseCategory)||void 0===n?void 0:n.slug)||x),title:(null==w||null===(i=w.course)||void 0===i||null===(i=i.primaryCourseCategory)||void 0===i?void 0:i.name)||(null==w||null===(o=w.certification)||void 0===o||null===(o=o.primaryCategory)||void 0===o?void 0:o.name)||x},{title:(null==w||null===(g=w.course)||void 0===g?void 0:g.name)||(null==w||null===(f=w.certification)||void 0===f?void 0:f.name)||v}]})})})]}):(0,d.jsx)(u.default,{code:404})}},63144:function(e){"use strict";let t=self.fetch.bind(self);e.exports=t,e.exports.default=e.exports},42256:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/it-training/[category]/[course]",function(){return n(56273)}])}},function(e){e.O(0,[3792,4967,3418,2888,9774,179],function(){return e(e.s=42256)}),_N_E=e.O()}]);