"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5483],{66359:function(e,n,t){t.d(n,{x:function(){return h}}),t(67294);var i=t(87379),o=t(88611),r=(0,i.iv)(["&:hover{h1,p{color:",";text-decoration:underline;}}"],function(e){return e.theme.blue}),a=i.ZP.div.withConfig({displayName:"CategoryCourseHeaderContainer",componentId:"sc-1hfn84u-0"})(["",";padding:1.6rem 0;"],function(e){return e.hoverEffect?r:null}),l="2.6rem",s=i.ZP.div.withConfig({displayName:"HeaderPlaceholder",componentId:"sc-1hfn84u-1"})(["height:",";width:40rem;max-width:60vw;",";margin-bottom:2rem;"],l,o.f),c=i.ZP.h2.withConfig({displayName:"Header",componentId:"sc-1hfn84u-2"})(["display:block;font-size:",";font-weight:600;margin:0;"],l),d="1.8rem",u=i.ZP.div.withConfig({displayName:"SubHeaderPlaceholder",componentId:"sc-1hfn84u-3"})(["height:",";width:25rem;max-width:50vw;",";"],d,o.f),g=i.ZP.h3.withConfig({displayName:"SubHeader",componentId:"sc-1hfn84u-4"})(["display:block;font-weight:600;margin:0;font-size:",";"],d),m=t(85893),h=function(e){var n=e.header,t=e.subHeader,i=e.hoverEffect;return e.loading?(0,m.jsxs)(a,{children:[(0,m.jsx)(s,{}),(0,m.jsx)(u,{})]}):(0,m.jsxs)(a,{hoverEffect:i,children:[(0,m.jsx)(c,{children:n}),t&&(0,m.jsx)(g,{children:t})]})}},85483:function(e,n,t){t.r(n),t.d(n,{CategoryView:function(){return ed},default:function(){return eu}});var i=t(67294),o=t(9008),r=t.n(o),a=t(79720),l=t(56779),s=t(62083),c=function(e){if(!e||0===e.length)return e;var n=e.slice(0);return n.sort(function(e,n){return null!=e&&e.sortOrder&&null!=n&&n.sortOrder?e.sortOrder-n.sortOrder:0}),n},d=t(13437),u=t(66359),g=t(68804),m=t(58870),h=t(71022),f=t(87379),p=f.ZP.div.withConfig({displayName:"StyledCopy",componentId:"sc-17mr9d9-0"})(["padding-bottom:3rem;h1,h2,h3,h4,h5{font-size:",";font-weight:bold;margin-top:0;}h2{margin-top:1.3rem;}p{font-size:",";margin-top:0;}"],function(e){return e.theme.standardFont},function(e){return e.theme.standardFont}),x=t(85893),v=function(e){var n=e.copy,t=(0,m.Vd)(n||""),i=t.slice(0,2),o=t.slice(2,t.length);return t.length>2?(0,x.jsx)(p,{children:(0,x.jsx)(h.g,{initialContent:i,expandedContent:o})}):(0,x.jsx)(p,{children:t})},y=t(40157),C=t(1989),j=t(17099),w=(0,f.iv)(["color:",";font-size:",";padding-left:2.5rem;background-image:url(",");background-repeat:no-repeat;background-position:left center;"],function(e){return e.theme.colors.green},function(e){return e.theme.fonts.textStandard},function(e){return e.isCourse?"/assets/_next/static/88621a9d9cb50226c20b359b39da648e.svg":"/assets/_next/static/748d81838b2ce6513158d81030b6f0a5.svg"}),b=f.ZP.div.withConfig({displayName:"BlockFreeContentLabel",componentId:"sc-agh31u-0"})(["",";margin:1rem 0;"],w),S=f.ZP.span.withConfig({displayName:"InlineFreeContentLabel",componentId:"sc-agh31u-1"})(["",";display:inline-block;"],w),k=function(e){var n=e.children,t=e.tags,o=e.renderInline,r=(0,i.useContext)(j.V).isLoggedIn,a=(0,i.useContext)(C.FF),l=a.userSubscription,s=a.loading,c=null==t?void 0:t.some(function(e){return"freecourse"===e.toLowerCase()}),d=!c&&(null==t?void 0:t.some(function(e){return"free"===e.toLowerCase()})),u=null!=n?n:c?"Free course":"Includes free skills";return r&&!s&&!l.streamingSubscriptionActive&&(c||d)?void 0===o||o?(0,x.jsx)(S,{isCourse:c,children:u}):(0,x.jsx)(b,{isCourse:c,children:u}):null},I=t(60185),T=t(15103),P=t(24859),L=t(54031),N=function(e){var n=e.courses,t=e.categorySlug,o=(0,i.useContext)(j.V),r=o.isLoggedIn,a=o.userId,l=(0,i.useState)(!1),s=l[0],c=l[1],d=(0,i.useState)(!1),u=d[0],g=d[1],m=(0,i.useState)(null),h=m[0],f=m[1],p=(0,L.V)({isLoggedIn:r,userId:a}),v=p.data,C=p.loading,w=p.refetch,b=(null==v?void 0:v.bookshelfItems)||[];return n&&0!==n.length?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(T.cQ,{children:n.map(function(e){var n,i=(null==e?void 0:e.studioId)||"";if(e&&e.id)return(0,x.jsxs)(T.D7,{children:[(0,x.jsx)(P.R,{loadingBookmarkedCourses:C,bookmarkedCourses:b,tooltipPlacement:"left",courseName:null!==(n=e.name)&&void 0!==n?n:"",isLoggedIn:r,contentNrn:i,userId:a,setShowRemoveModal:c,removeBookshelf:h===i&&u,setRemoveBookshelf:g,setSelectedCourse:f,refetchBookshelf:w}),(0,x.jsxs)("div",{children:[(0,x.jsxs)(T.Vl,{children:[(0,x.jsx)(T.hx,{ssrLink:!0,renderAs:"/it-training/".concat(t,"/").concat(e.slug),href:"/it-training/[category]/[course]",children:e.name}),(0,x.jsx)(T.g,{isNew:(0,I.ZU)(e.releaseDate)}),(0,x.jsx)(k,{tags:e.tags,renderInline:!0})]}),(0,x.jsx)(y.pU,{courseType:e.courseType,totals:e.totals})]})]},e.id)})}),(0,x.jsx)(P.m,{visible:s,onCancel:function(){return c(!1)},onConfirm:function(){g(!0),c(!1)},title:"Remove bookmark",width:"60rem",message:"Do you want to remove this course from bookmarked courses?",confirmText:"Remove bookmark"})]}):null},Z=t(22651),D=function(e){var n=e.categoryTitle,t=e.courses,i=e.categorySlug,o=e.components,r=e.copy,a=e.loading,l={heading:"".concat(n," Skill Courses"),subHeading:"Job-focused training"},s=(0,x.jsx)(u.x,{header:l.heading,subHeader:l.subHeading,hoverEffect:!0,loading:a});return!1!==a||t&&0!==t.length?a?(0,x.jsx)(T.pf,{children:(0,x.jsx)(d.y,{header:s,loadingPlaceholder:a})}):(0,x.jsx)(T.pf,{children:(0,x.jsxs)(d.y,{header:s,dataAt:"SKILL-".concat((0,Z.G)(n)),ariaToggleInfo:"Toggle details of ".concat(l.subHeading," for ").concat(n),children:[(0,x.jsx)(v,{copy:r}),(0,x.jsx)(N,{categorySlug:i,courses:c(t)}),(0,x.jsx)(g.Z,{blogArticles:null==o?void 0:o.blogArticles,ariaSectionTitle:"".concat(n," ").concat(l.subHeading)})]})}):null},A=t(74991),F=f.ZP.article.withConfig({displayName:"CertificationLevelContainer",componentId:"sc-1dh1fnf-0"})(["margin:2rem 0;padding:2rem;background-color:",";display:flex;align-items:center;@media (max-width:","){flex-direction:column;}"],function(e){return e.theme.greyLight},function(e){return e.theme.desktop990}),H=f.ZP.h3.withConfig({displayName:"CertificationLevelName",componentId:"sc-1dh1fnf-1"})(["font-size:1.8rem;margin:0.9rem 0;"]),V=f.ZP.li.withConfig({displayName:"CertificationTotals",componentId:"sc-1dh1fnf-2"})(["display:flex;margin-bottom:1rem;span{margin-right:1rem;}@media (max-width:","){flex-direction:column;}"],function(e){return e.theme.phone590}),B=f.ZP.ul.withConfig({displayName:"CertificationDetails",componentId:"sc-1dh1fnf-3"})(["margin:0;padding:0;padding-top:0.5rem;list-style:none;display:flex;flex-direction:column;li{margin-right:1rem;}"]),z=f.ZP.div.withConfig({displayName:"CertificationLinksContainer",componentId:"sc-1dh1fnf-4"})(["display:flex;flex-direction:column;flex:1 0 60%;padding-left:2rem;@media (max-width:","){padding:0;width:100%;}"],function(e){return e.theme.desktop990}),E=f.ZP.div.withConfig({displayName:"CertificationCourseContainer",componentId:"sc-1dh1fnf-5"})(["display:flex;align-items:flex-start;margin-top:2rem;border-top:1px solid ",";padding-top:2rem;"],function(e){return e.theme.greyBorder}),M=f.ZP.div.withConfig({displayName:"CertificationBookshelfOptions",componentId:"sc-1dh1fnf-6"})(["flex:0 auto;margin-right:1rem;line-height:0;@media (max-width:","){display:none;}"],function(e){return e.theme.desktop990}),O=t(15584),R=t(17412),_=function(e){var n=e.certInfo,t=n.name,i=n.publicViewLink,o=n.trainers,r=n.totals;return(0,x.jsxs)(E,{children:[(0,x.jsx)(M,{children:(0,x.jsx)(R.ee,{})}),(0,x.jsxs)("div",{children:[(0,x.jsx)(T.hx,{ssrLink:!0,renderAs:i,href:"/it-training/[category]/[course]",children:"rec7iiaVO9BFlD61h"===n.id?"CompTIA Network+ - N10-008 - CompTIA Certification Training":t}),(0,x.jsxs)(B,{children:[(0,x.jsxs)(V,{children:[(0,x.jsxs)("span",{children:[r&&r.videos," videos"]}),(0,x.jsx)("span",{children:r&&(0,O.CY)(r.videoSeconds)}),r&&r.virtualLabs>0?(0,x.jsx)("span",{children:"".concat(r.virtualLabs," Virtual Labs")}):null]}),(0,x.jsxs)("li",{children:["Trainers:"," ",o.map(function(e){return e.name}).join(", ")]})]})]})]})},J=function(e){var n=e.certInfo,t=e.categorySlug,i=n.name,o=n.slug,r=n.trainers,a=n.totals;return(0,x.jsxs)(E,{children:[(0,x.jsx)(M,{children:(0,x.jsx)(R.ee,{})}),(0,x.jsxs)("div",{children:[(0,x.jsx)(T.hx,{ssrLink:!0,renderAs:"/it-training/".concat(t,"/").concat(o),href:"/it-training/[category]/[slug]",children:i}),(0,x.jsxs)(B,{children:[(0,x.jsxs)(V,{children:[(0,x.jsxs)("span",{children:[a&&a.videos," videos"]}),(0,x.jsx)("span",{children:a&&(0,O.CY)(a.videoSeconds)}),(0,x.jsxs)("span",{children:[a&&a.virtualLabs," Virtual Labs"]})]}),(0,x.jsxs)("li",{children:["Trainers:"," ",r.map(function(e){return e.name}).join(", ")]})]})]})]})},U=function(e){var n=e.certLevelDetails,t=e.categorySlug,i=n.name,o=n.description,r=n.recommendedExperience,a=n.certifications,l=n.courses;return(0,x.jsxs)(F,{children:[(0,x.jsxs)("div",{children:[(0,x.jsx)(H,{children:i}),(0,x.jsx)("p",{children:o}),(0,x.jsxs)("p",{children:["Recommended Experience: ",r]})]}),(0,x.jsxs)(z,{children:[a.map(function(e){return(0,x.jsx)(J,{certInfo:e,categorySlug:t},e.id)}),l.map(function(e){return(0,x.jsx)(_,{certInfo:e},e.id)})]})]})},Y=function(e){var n=e.data,t=e.categorySlug,i={certificationSummary:null==n?void 0:n.certificationSummary,certificationSubHeader:null==n?void 0:n.certificationSubHeader,certificationSubContent:null==n?void 0:n.certificationSubContent,certificationLevels:null==n?void 0:n.certificationLevels};return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{dangerouslySetInnerHTML:i.certificationSummary&&{__html:i.certificationSummary.html}}),(0,x.jsx)(T.tm,{children:i.certificationSubHeader}),i.certificationSubContent&&(i.certificationSubContent.html.length<=400?(0,m.Vd)(i.certificationSubContent.html):(0,x.jsx)(h.g,{initialContent:(0,m.Vd)((0,A.Z)(i.certificationSubContent.html,{length:400,separator:/,?\.* +/})),expandedContent:(0,m.Vd)(i.certificationSubContent.html),hideInitialContent:!0,ariaToggleInfo:"Read more certification information"})),i.certificationLevels.map(function(e,n){return(0,x.jsx)(U,{certLevelDetails:e,categorySlug:t},"cert-level-".concat(n))})]})},G=function(e){var n=e.categoryTitle,t=e.certdata,i=e.loading,o=e.components,r=e.categorySlug,a={heading:"Certifications",subHeading:"Certification-focused training"},l=(0,x.jsx)(u.x,{header:a.heading,subHeader:a.subHeading,hoverEffect:!0,loading:i});return!1!==i||t&&0!==t.certificationLevels.length?i?(0,x.jsx)(T.pf,{children:(0,x.jsx)(d.y,{header:l,loadingPlaceholder:i})}):(0,x.jsx)(T.pf,{children:(0,x.jsxs)(d.y,{header:l,dataAt:"CERTIFICATION-".concat((0,Z.G)(n)),ariaToggleInfo:"Toggle details of ".concat(a.subHeading," for ").concat(n),children:[(0,x.jsx)(Y,{categorySlug:r,data:t}),(0,x.jsx)(g.Z,{blogArticles:null==o?void 0:o.blogArticles,ariaSectionTitle:"".concat(n," Certification-focused training")})]})}):null},K=function(e){var n,t,i,o,r,a,l,s,d,u,g=e.data,m=e.categorySlug,h=e.loading,f=e.showExpanders,p={certificationSummary:null==g||null===(n=g.courseCategory)||void 0===n?void 0:n.certificationSummary,certificationSubHeader:null==g||null===(t=g.courseCategory)||void 0===t?void 0:t.certificationSubHeader,certificationSubContent:null==g||null===(i=g.courseCategory)||void 0===i?void 0:i.certificationSubContent,certificationLevels:null==g||null===(o=g.courseCategory)||void 0===o?void 0:o.certificationLevels};return(0,x.jsxs)(x.Fragment,{children:[f.showCert&&(0,x.jsx)(G,{categoryTitle:null==g||null===(r=g.courseCategory)||void 0===r?void 0:r.name,categorySlug:m,certdata:p,components:null==g||null===(a=g.courseCategory)||void 0===a?void 0:a.certificationComponents,loading:h}),f.showCourse&&(0,x.jsx)(D,{categoryTitle:null==g||null===(l=g.courseCategory)||void 0===l?void 0:l.name,categorySlug:m,courses:c(null==g||null===(s=g.courseCategory)||void 0===s?void 0:s.skillCourses),components:null==g||null===(d=g.courseCategory)||void 0===d?void 0:d.skillComponents,copy:null==g||null===(u=g.courseCategory)||void 0===u?void 0:u.h3Copy,loading:h})]})},W=function(e){var n,t,i,o,r,a,l,s=e.data,d=e.categorySlug,m=e.showExpanders;return(0,x.jsxs)(x.Fragment,{children:[m.showCert&&(0,x.jsxs)(T.pf,{children:[(0,x.jsx)(u.x,{header:"".concat(null==s||null===(n=s.courseCategory)||void 0===n?void 0:n.name," Certification Courses"),subHeader:"Certification-focused training"}),(0,x.jsx)(Y,{categorySlug:d,data:null==s?void 0:s.courseCategory}),(0,x.jsx)(g.Z,{blogArticles:null==s||null===(t=s.courseCategory)||void 0===t||null===(t=t.certificationComponents)||void 0===t?void 0:t.blogArticles,ariaSectionTitle:"".concat(null==s||null===(i=s.courseCategory)||void 0===i?void 0:i.name," Certification-focused training")})]}),m.showCourse&&(0,x.jsxs)(T.pf,{children:[(0,x.jsx)(u.x,{header:"".concat(null==s||null===(o=s.courseCategory)||void 0===o?void 0:o.name," Skill Courses"),subHeader:"Job-focused training"}),(0,x.jsx)(v,{copy:null==s||null===(r=s.courseCategory)||void 0===r?void 0:r.h3Copy}),(0,x.jsx)(N,{categorySlug:d,courses:c(null==s||null===(a=s.courseCategory)||void 0===a?void 0:a.skillCourses)}),(0,x.jsx)(g.Z,{blogArticles:null==s||null===(l=s.courseCategory)||void 0===l||null===(l=l.skillComponents)||void 0===l?void 0:l.blogArticles})]})]})},Q=t(47954),$=t(20690),q=t(19265),X=f.ZP.article.withConfig({displayName:"StyledCategoryInfoContainer",componentId:"sc-1uoy3bp-0"})(["margin-top:0rem;padding:5rem 0;display:flex;justify-content:center;"]),ee=f.ZP.section.withConfig({displayName:"StyledCategoryInfo",componentId:"sc-1uoy3bp-1"})(["width:100%;max-width:",";display:flex;flex-direction:column;h3{margin:0 0 1rem 0;}@media only screen and (min-width:","){flex-direction:row;justify-content:space-between;}"],function(e){return e.theme.desktop1200},function(e){return e.theme.tablet}),en=f.ZP.div.withConfig({displayName:"StyledCategoryInfoContent",componentId:"sc-1uoy3bp-2"})(["flex-grow:2;h2{font-size:3.2rem;margin:0 0 2rem 0;}@media only screen and (min-width:","){margin-top:0;justify-content:flex-start;}"],function(e){return e.theme.tablet});f.ZP.aside.withConfig({displayName:"StyledJoinCommunityCTA",componentId:"sc-1uoy3bp-3"})(["flex-grow:1;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:2rem auto 0 auto;max-width:25rem;p{margin-top:0;font-weight:600;font-size:",";text-align:center;}@media (min-width:","){margin-top:0;justify-content:flex-start;}"],function(e){return e.theme.largeFont},function(e){return e.theme.tablet});var et=f.ZP.div.withConfig({displayName:"StyledShowMore",componentId:"sc-1uoy3bp-4"})(["padding-top:1rem;"]),ei=function(e){var n=e.name,t=e.h1Copy,i=e.totals,o=e.loading;return o?(0,x.jsx)(X,{loadingPlaceholder:!0,children:(0,x.jsx)(ee,{children:(0,x.jsxs)(en,{children:[(0,x.jsx)(q.O,{width:20,height:2.6,marginBottom:1.2}),(0,x.jsx)(q.P5,{rows:7,fontSize:1.2})]})})}):(0,x.jsx)(X,{children:(0,x.jsx)(ee,{children:(0,x.jsxs)(en,{children:[(0,x.jsx)("h2",{className:"underline",children:n}),(0,x.jsx)($.C,{totals:i,loading:o}),t?t.length<=400?(0,x.jsx)(et,{children:(0,m.Vd)(t)}):(0,x.jsx)(et,{children:(0,x.jsx)(h.g,{initialContent:(0,m.Vd)((0,A.Z)(t,{length:400,separator:/,?\.* +/})),expandedContent:(0,m.Vd)(t),hideInitialContent:!0,ariaToggleInfo:"Read more vendor information"})}):""]})})})},eo=t(52857),er=t(53418),ea=t(16065),el=t(2644),es=function(e){return null==e?void 0:e.map(function(e){return(0,el.Z)(e)})},ec=function(e){var n=e.loading,t=e.skillCourses,i=e.certificationLevels;return n?{showCert:!0,showCourse:!0}:{showCert:i&&(null==i?void 0:i.length)>0,showCourse:t&&(null==t?void 0:t.length)>0}},ed=function(e){var n,t,o,d,u,g,m,h,f,p,v,y,w,b,S,k,I,P,L,N,Z,D,A,F,H,V=e.data,B=e.categorySlug,z=(0,i.useContext)(j.V).isLoggedIn,E=(0,i.useContext)(C.FF),M=E.loading,O=E.refetch;(0,i.useEffect)(function(){z&&!M&&O()},[z]);var R=ec({loading:!1,skillCourses:null==V||null===(n=V.courseCategory)||void 0===n?void 0:n.skillCourses,certificationLevels:null==V||null===(t=V.courseCategory)||void 0===t?void 0:t.certificationLevels}),_=R.showCert&&R.showCourse;return(0,a.isNull)(null==V?void 0:V.courseCategory)?(0,x.jsx)(l.default,{code:404}):(0,x.jsxs)(T.uC,{children:[(0,x.jsxs)("div",{children:[(0,x.jsxs)(r(),{children:[(0,x.jsx)("title",{children:"".concat(null!==(o=null==V||null===(d=V.courseCategory)||void 0===d?void 0:d.pageTitle)&&void 0!==o?o:(null==V||null===(u=V.courseCategory)||void 0===u?void 0:u.name)+" Training"," | CBT Nuggets")},"title"),(0,x.jsx)("meta",{name:"description",content:null!=V&&null!==(g=V.courseCategory)&&void 0!==g&&g.pageTitleMetaData?null==V||null===(m=V.courseCategory)||void 0===m?void 0:m.pageTitleMetaData:""},"description"),(0,x.jsx)("meta",{name:"twitter:title",content:"".concat(null==V||null===(h=V.courseCategory)||void 0===h?void 0:h.pageTitle)||""},"twitterTitle"),(0,x.jsx)("meta",{name:"twitter:description",content:null!=V&&null!==(f=V.courseCategory)&&void 0!==f&&f.pageTitleMetaData?null==V||null===(p=V.courseCategory)||void 0===p?void 0:p.pageTitleMetaData:""},"twitterDescription"),(0,x.jsx)("meta",{name:"og:title",content:"".concat(null==V||null===(v=V.courseCategory)||void 0===v?void 0:v.pageTitle)||""},"ogTitle"),(0,x.jsx)("meta",{name:"og:description",content:null!=V&&null!==(y=V.courseCategory)&&void 0!==y&&y.pageTitleMetaData?null==V||null===(w=V.courseCategory)||void 0===w?void 0:w.pageTitleMetaData:""},"ogDescription")]}),(0,x.jsx)(T.OP,{children:(0,x.jsx)(s.Ac,{categoryName:null==V||null===(b=V.courseCategory)||void 0===b?void 0:b.name,logoPath:null==V||null===(S=V.courseCategory)||void 0===S?void 0:S.categoryLogoUrl,imagePath:null==V||null===(k=V.courseCategory)||void 0===k?void 0:k.categoryPhotoUrl,h1Title:null==V||null===(I=V.courseCategory)||void 0===I?void 0:I.h1Title,loading:!1,pageName:null==V||null===(P=V.courseCategory)||void 0===P?void 0:P.name})}),(0,x.jsxs)(T.$U,{children:[(0,x.jsx)(ei,{name:null==V||null===(L=V.courseCategory)||void 0===L?void 0:L.name,h1Copy:null==V||null===(N=V.courseCategory)||void 0===N?void 0:N.h1Copy,totals:null==V||null===(Z=V.courseCategory)||void 0===Z?void 0:Z.totals,loading:!1}),_?(0,x.jsx)(K,{data:V,loading:!1,categorySlug:B,showExpanders:R}):(0,x.jsx)(W,{data:V,loading:!1,categorySlug:B,showExpanders:R})]}),(0,x.jsx)(ea.Z,{schemaData:es(c(null==V||null===(D=V.courseCategory)||void 0===D?void 0:D.skillCourses))}),(0,x.jsx)(ea.Z,{schemaData:es(c(null==V||null===(A=V.courseCategory)||void 0===A?void 0:A.certificationCourses))}),z?null:(0,x.jsx)(Q.Z,{urlPath:(null==V||null===(F=V.courseCategory)||void 0===F?void 0:F.urlPath)||"/it-training",slug:B,loading:!1,isViewSalesInfo:!0})]}),(0,x.jsx)(eo.Pk,{children:(0,x.jsx)("div",{children:(0,x.jsx)(er.bu,{tree:[{path:"http://www.skru.ac.th/intro/?train=it-training",title:"IT Training"},{title:(null==V||null===(H=V.courseCategory)||void 0===H?void 0:H.name)||""}]})})})]})},eu=ed},47954:function(e,n,t){t.d(n,{Z:function(){return f}}),t(67294);var i=t(429),o=t(53418),r=t(10637),a=t(87379),l=a.ZP.section.withConfig({displayName:"StyledSection",componentId:"sc-9s0rj1-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding:4rem 2rem;text-align:center;h2{padding:0;margin:0;margin-bottom:2.6rem;}a{margin-bottom:2.6rem;font-size:1.8rem;&:last-child{margin-bottom:0;}}"]),s=a.ZP.div.withConfig({displayName:"CustomArrow",componentId:"sc-9s0rj1-1"})(["&:after{background:url(",");background-size:auto;content:'';margin-left:0.3rem;display:inline-block;position:relative;height:120px;width:35px;top:1rem;background-position-x:-2175px;background-position-y:0px;background-size:cover;margin-bottom:-95px;}"],function(e){return e.imgSrc}),c=a.ZP.div.withConfig({displayName:"StyledButtonsContainer",componentId:"sc-9s0rj1-2"})(["margin-bottom:2.6rem;a{height:5.3rem;padding:0;&:first-child{min-width:16rem;}@media only screen and (max-width:","){&:first-child{min-width:15rem;width:100%;}min-width:15rem;width:100%;}}@media only screen and (max-width:500px){display:flex;flex-direction:column;align-items:center;}"],function(e){return e.theme.breakpoints.xsphone}),d=(0,a.ZP)(i.Z.ButtonLink.SecondaryLarge).withConfig({displayName:"StyledTalkToSalesButton",componentId:"sc-9s0rj1-3"})(["margin-left:1.5rem;min-width:19.8rem;padding:0;@media only screen and (max-width:500px){margin-left:0;&&&{margin-top:1.5rem;}}"]),u=function(e){var n=e.urlPath,t=e.slug;if(!n)return"/signup";var i=n;return t&&(i+="/".concat(t)),"/signup?r=".concat(i)},g=t(19265),m=t(6270),h=t(85893),f=function(e){var n=e.urlPath,t=e.slug,a=e.loading,f=e.isViewSalesInfo,p=u({urlPath:n,slug:t}),x="/business";return a?(0,h.jsxs)(l,{children:[(0,h.jsx)(g.P5,{maxWidth:40,fontSize:3.2}),(0,h.jsx)(g.dK,{width:12,height:4.6,marginBottom:2.8}),f&&(0,h.jsx)(g.dK,{width:12,height:4.6,marginBottom:2.8}),(0,h.jsx)(g.P5,{maxWidth:30,fontSize:1.8})]}):(0,h.jsxs)(l,{children:[(0,h.jsx)("h2",{children:"Train free for a week."}),f?(0,h.jsxs)(c,{children:[(0,h.jsx)(i.Z.ButtonLink.PrimaryLarge,{style:{marginBottom:0},href:p,children:"Get started"}),(0,h.jsx)(d,{href:"/contact-sales",children:"Talk to sales"})]}):(0,h.jsx)(i.Z.ButtonLink.Primary,{href:p,children:"Get started"}),f&&(0,h.jsxs)(o.mr,{children:[(0,h.jsx)("strong",{children:"Not sure where to start?"}),(0,h.jsx)("br",{}),"Call 541-284-5522 or try our ",(0,h.jsx)(o.mn,{fontSize:"2.4rem"}),"."]}),(0,h.jsx)(s,{imgSrc:m.uF,children:(0,h.jsx)(r.l,{ssrLink:!0,renderAs:x,href:x,generateAnchor:!1,children:"Explore options for IT teams"})})]})}},60185:function(e,n,t){t.d(n,{FF:function(){return l},Pb:function(){return s},ZU:function(){return c},_y:function(){return a}});var i=["January","February","March","April","May","June","July","August","September","October","November","December"],o=function(e){var n="string"==typeof e?parseInt(e):e,t="string"==typeof e?e:e.toString();return n<10?"0".concat(t):t},r=function(e){var n=new Date(e);return n.setMinutes(n.getMinutes()-n.getTimezoneOffset()),n};function a(e){if(!e)return"";var n=new Date(e),t=n.getDate(),i=n.getMonth()+1,r=n.getFullYear();return"".concat(o(i),"/").concat(o(t),"/").concat(r)}function l(e){if(!e)return"";var n=new Date(e),t=n.getDate(),r=n.getMonth(),a=n.getFullYear();return"".concat(i[r]," ").concat(o(t),", ").concat(a)}function s(e){if(!e)return"";var n=new Date(e),t=n.getMonth(),o=n.getFullYear();return"".concat(i[t]," ").concat(o)}function c(e){return 90>function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return(r(n).getTime()-r(e).getTime())/864e5}(new Date(e))}}}]);