"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3286],{45273:function(e,n,t){t.d(n,{l:function(){return w}});var r=t(16835),i=t(67294),o=t(23473),a=t(22181),l=t(87379),c=l.ZP.ul.withConfig({displayName:"Dots",componentId:"sc-1c9hrm3-0"})(["list-style-type:none;display:flex;padding:0;pointer-events:auto;justify-content:center;margin:2rem auto;li:first-of-type{margin-left:0;}li:last-of-type{margin-right:0;}@media screen and (max-width:","){display:none;}"],function(e){return e.theme.phone590}),s=l.ZP.li.withConfig({displayName:"Dot",componentId:"sc-1c9hrm3-1"})(["margin:0 0.5rem;div{background-color:",";border-radius:50%;border-color:transparent;height:0.8rem;width:0.8rem;&:hover{cursor:pointer;}&.active{background-color:",";}}"],function(e){return e.theme.greyBorder},function(e){return e.theme.blue}),u=t(85893),d=function(e){var n=e.currentSlide,t=e.numberOfSlides,r=e.setCurrentSlide,i=[];if(t>1){for(var o=function(e){i.push((0,u.jsx)(s,{onClick:function(){return r(e)},children:(0,u.jsx)("div",{className:n===e?"active":""})},"dot-".concat(e)))},a=0;aO&&b&&b.scrollPrev();var I=function e(n){b&&(0===b.slidesInView().length&&C<=3?(P(C+1),b.reInit(),e(n)):n())},N=function(e,n){switch(e.key){case o.Z.TAB:case o.Z.ENTER:case o.Z.RETURN:I(function(){return n()});break;default:return}},Z=0===j,z=j===L.length-1;return(0,u.jsxs)(h,{children:[(0,u.jsxs)(f,{children:[(0,u.jsx)(v,{hide:Z,onClick:function(){return I(function(){return null==b?void 0:b.scrollPrev()})},"aria-label":"Previous carousel group",disabled:Z,positionStatic:c,children:(0,u.jsx)(m.i,{role:"presentation","aria-hidden":"true"})}),(0,u.jsx)(x,{className:"embla__viewport ".concat(t),children:(0,u.jsx)(p,{onKeyDown:function(e){return N(e,function(){})},children:L})}),(0,u.jsx)(v,{hide:z,onClick:function(){return I(function(){return null==b?void 0:b.scrollNext()})},"aria-label":"Next carousel group",disabled:z,positionStatic:c,children:(0,u.jsx)(m.i,{role:"presentation","aria-hidden":"true"})})]}),(0,u.jsx)(d,{numberOfSlides:O,currentSlide:j,setCurrentSlide:function(e){return b&&b.scrollTo(e)}})]})}},34754:function(e,n,t){t.d(n,{P:function(){return S}});var r,i=t(16835);t(67294);var o=t(17811),a=t(23513),l=t(56779),c=t(33533),s=t(87379),u=s.ZP.article.withConfig({displayName:"FeaturedSkillSection",componentId:"sc-1i3qjuk-0"})(["padding:0;background-color:",";"],function(e){return e.theme.colors.primaryLight}),d=s.ZP.header.withConfig({displayName:"FeaturedSkillHeader",componentId:"sc-1i3qjuk-1"})(["text-align:center;padding-top:2rem;h2{margin-bottom:1.8rem;margin-top:0;}p{margin:0;margin-bottom:2.8rem;}"]),m=s.ZP.div.withConfig({displayName:"FeaturedSkillContainer",componentId:"sc-1i3qjuk-2"})(["margin:0 2rem;padding-bottom:6.4rem;"]),h=s.ZP.div.withConfig({displayName:"FeaturedSkillCardStyle",componentId:"sc-1i3qjuk-3"})(["margin:2rem 0.8rem;padding:2rem;min-width:24.8rem;background-color:",";"],function(e){return e.theme.colors.white}),f=s.ZP.div.withConfig({displayName:"FeaturedCardBlock",componentId:"sc-1i3qjuk-4"})(["display:grid;grid-template-columns:repeat(",",1fr);height:100%;"],function(e){return e.elementCount}),p=s.ZP.ul.withConfig({displayName:"FeaturedSkillList",componentId:"sc-1i3qjuk-5"})(["margin:0;padding:0;list-style:none;li{line-height:1.8rem;margin:2rem 0;}"]),g=s.ZP.div.withConfig({displayName:"FeaturedCourseTitle",componentId:"sc-1i3qjuk-6"})(["font-weight:600;font-size:1.8rem;line-height:2.2rem;margin-bottom:1.6rem;"]),v=t(71217),w=t(45273),x=t(53418),b=t(85893),y=function(e){var n=e.course,t=e.isLoggedIn;return(0,b.jsxs)(h,{children:[(0,b.jsx)(g,{children:n.name}),(0,b.jsx)(p,{children:n.skills.map(function(e){return(0,b.jsx)("li",{children:t?(0,b.jsx)(x.l7,{href:e.learnLink,children:e.name}):(0,b.jsx)(x.l7,{ssrLink:!0,renderAs:"/free-it-training/".concat(e.slug),href:"/free-it-training/[skill]",children:e.name})},e.id)})})]})},j=function(e){var n=e.courses,t=e.cardsPerSlide,r=void 0===t?5:t,i=e.isLoggedIn,o=(0,v.Z)(void 0===n?[]:n,r);return(0,b.jsx)(m,{children:(0,b.jsx)(w.l,{children:o.map(function(e,n){return(0,b.jsx)(f,{elementCount:r,children:e.map(function(e){return(0,b.jsx)(y,{course:e,isLoggedIn:i},e.id)})},"cardblock-".concat(n))})})})},k=((r=k||{})[r.ONE=590]="ONE",r[r.TWO=875]="TWO",r[r.THREE=1086]="THREE",r[r.FOUR=1400]="FOUR",r),S=function(e){var n=e.isLoggedIn,t=e.coursesWithSkillData,r=e.headerText,s=e.headerDesc,m=(0,a.i)(),h=(0,i.Z)(m,1)[0],f=t.loading,p=t.error,g=t.data;if(f)return(0,b.jsx)(o.Z,{});if(p)return(0,b.jsx)(l.default,{code:500});var v=h