(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1555,2410,6779,4597,5043],{56779:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return l}});var n=r(67294),o=n.createContext({});o.displayName="ServerContextContext",r(64687);var i=r(85893),c=r(87379),a=c.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=c.ZP.div.withConfig({displayName:"ErrorSvgContainer",componentId:"sc-1cyirqj-1"})(["margin:auto;margin:0;img{max-width:150px;}"]),u=c.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}),d={error404:{image:"/assetshttps://www.cbtnuggets.com/images/errors/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:"/assetshttps://www.cbtnuggets.com/images/errors/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.'}},f=function(e,t){return(0,i.jsxs)(n.Fragment,{children:[(0,i.jsx)(s,{children:(0,i.jsx)("img",{src:e.image,alt:""})}),(0,i.jsx)(u,{children:e.title}),(0,i.jsx)("p",{dangerouslySetInnerHTML:{__html:e.message}}),(0,i.jsx)("p",{children:(0,i.jsxs)("strong",{children:["Error Code: ",t]})})]})},l=function(e){var t=e.code,r=n.useContext(o);return t&&r&&r.response&&(r.response.statusCode=t),(0,i.jsx)(a,{children:t&&t>399&&t<500?f(d.error404,t):f(d.error500,t)})}},75043:function(e,t,r){"use strict";r.r(t),r.d(t,{SectionBasedPage:function(){return i}});var n=r(81612),o=r(85893),i=function(e){var t=e.entry.fields.sections;return(0,o.jsx)(o.Fragment,{children:(void 0===t?[]:t).map(function(e){return(0,o.jsx)(n.g,{entry:e},e.sys.id)})})};t.default=i},64597:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return i}}),r(67294);var n=r(87379).ZP.section.withConfig({displayName:"StyledPageLayout",componentId:"sc-nf0hrl-0"})(["max-width:",";margin:0 auto;padding:2rem 2.4rem 2rem 2.4rem;"],function(e){return e.theme.siteContentReducedWidth}),o=r(85893),i=function(e){var t=e.children;return(0,o.jsx)(n,{children:t})}},41481:function(e,t,r){"use strict";r.d(t,{s:function(){return d}});var n=r(72198),o=r(32393),i=r(23221),c=r(77243),a=r(63144),s=r.n(a),u=r(33811);function d(){var e=new n.u({uri:"https://api.cbtnuggets.com/catalog/v1/graphql",credentials:"same-origin",fetch:s()}),t=new o.h;if((0,u.Nq)()){var r=[e];return new i.f({link:(0,c.D)(r),cache:t,ssrMode:!0})}return new i.f({link:e,cache:t,ssrMode:!0})}},26480:function(e,t,r){"use strict";r.d(t,{A_:function(){return i},uF:function(){return o}});var n=r(33811),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e&&(0,n.Nq)()){var r=document.body.getBoundingClientRect().top,o=e.getBoundingClientRect().top;window.scrollTo({top:o-r-t,behavior:"smooth"})}},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"contact-form";e&&o(document.getElementById(e),50)};t.ZP=function(e){e&&e.scrollIntoView({behavior:"smooth",block:"center"})}},88395:function(e,t,r){"use strict";r.d(t,{C:function(){return s}});var n=r(59499);r(67294);var o=r(53768),i=r(41481),c=r(85893);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var s=function(e){return function(t){return(0,c.jsx)(o.e,{client:(0,i.s)(),children:(0,c.jsx)(e,function(e){for(var t=1;t