1"use strict";(this.webpackChunklearning_people=this.webpackChunklearning_people||[]).push([[5323],{7153:(e,t,n)=>{n.d(t,{Z:()=>i});const i=(0,n(7416).iv)(["border:0 !important;clip:rect(1px,1px,1px,1px) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important;"])},9628:(e,t,n)=>{n.d(t,{Z:()=>s});var i=n(7294),a=n(7642),o=n(7153);const r={Container:n(7416).ZP.section.withConfig({displayName:"LiveRegionstyles__Container",componentId:"sc-1lm22x9-0"})(["",""],o.Z)},l=i.forwardRef(((e,t)=>{const n=(0,a.G)();return i.createElement(r.Container,{...e,ref:t,"aria-live":"polite","aria-atomic":"true"},n.activeIndex+1," of ",n.maxIndex+1)}));l.displayName="LiveRegion";const s=l},7040:(e,t,n)=>{n.r(t),n.d(t,{default:()=>N});var i=n(99),a=n(4914),o=n(8907),r=n(5375),l=n(7642),s=n(1773),p=n(9628),m=n(8779),c=n(3093),d=n(7294),u=n(7765),g=n(4555),h=n(6805),C=n(3121),y=n(8719),w=n(3870),x=n(9207),f=n(4649),b=n(7416);const v=(0,b.ZP)(f.Z).withConfig({displayName:"FeaturedCoursesstyles__Container",componentId:"sc-i1pp8w-0"})(["--bgColor:",";--fgColor:",";--itemGutter:24px;--visibleItems:1;color:var(--fgColor);margin-top:5rem;margin-bottom:5rem;overflow-x:hidden;@media ","{--visibleItems:2;}@media ","{--visibleItems:3;--itemGutter:40px;}"],u.Z.green.light,u.Z.black,(0,h.Dp)(h.AS.Tablet),(0,h.Dp)(h.AS.DesktopSmall)),Z=(0,b.ZP)(x.Z).withConfig({displayName:"FeaturedCoursesstyles__Track",componentId:"sc-i1pp8w-1"})(["margin-top:",";@media ","{margin-right:calc(var(--itemGutter) * -1);}"],(0,g.qx)(20,32),(0,h.Dp)(h.AS.DesktopSmall)),_=b.ZP.div.withConfig({displayName:"FeaturedCoursesstyles__TitleArea",componentId:"sc-i1pp8w-2"})(["display:flex;align-items:center;justify-content:space-between;@media ","{flex-direction:column;align-items:initial;justify-content:initial;","{display:none;}}"],(0,h.C4)(h.AS.DesktopSmall),y.A.Button),I=b.ZP.h2.withConfig({displayName:"FeaturedCoursesstyles__Title",componentId:"sc-i1pp8w-3"})(["",";margin-bottom:auto;"],C.h3),k=b.ZP.div.withConfig({displayName:"FeaturedCoursesstyles__Content",componentId:"sc-i1pp8w-4"})(["",";margin:20px 0 0;max-width:705px;@media ","{margin:0;}"],C.An,(0,h.Dp)(h.AS.DesktopSmall)),E=b.ZP.li.withConfig({displayName:"FeaturedCoursesstyles__Item",componentId:"sc-i1pp8w-5"})(["display:block;flex:0 0 calc(100% / var(--visibleItems));padding-right:var(--itemGutter);"]),P=b.ZP.div.withConfig({displayName:"FeaturedCoursesstyles__PaginationWrapper",componentId:"sc-i1pp8w-6"})(["margin:2rem 0 0;display:grid;grid-template-columns:repeat(12,1fr);gap:0.5rem;align-items:center;@media ","{display:none;}+ ","{margin-top:30px;@media ","{display:none;}}"],(0,h.Dp)(h.AS.DesktopSmall),y.A.Button,(0,h.Dp)(h.AS.DesktopSmall)),A=b.ZP.div.withConfig({displayName:"FeaturedCoursesstyles__Pagination",componentId:"sc-i1pp8w-7"})(["grid-column:span 9;@media ","{grid-column:3 / span 8;}"],(0,h.Dp)(h.AS.Tablet)),T=b.ZP.div.withConfig({displayName:"FeaturedCoursesstyles__TestButtonContainer",componentId:"sc-i1pp8w-8"})(["text-align:center;padding-bottom:12px;"]),S=(0,b.ZP)(w.Z).withConfig({displayName:"FeaturedCoursesstyles__StyledControls",componentId:"sc-i1pp8w-9"})(["grid-column:10 / span 3;justify-self:end;display:flex;gap:0.5rem;@media ","{grid-column:11 / span 2;}"],(0,h.Dp)(h.AS.Tablet)),D={Button:b.ZP.button.withConfig({displayName:"FeaturedCoursesstyles__Button",componentId:"sc-i1pp8w-10"})(["display:flex;align-items:center;justify-content:center;width:50px;height:50px;background-color:",";border:none;border-radius:5000000px;color:",";transition:background-color 0.3s;&:disabled{opacity:0.5;&:hover{background-color:",";opacity:0.5;}}&:hover{background-color:",";}svg{height:15px;}"],u.Z.black,u.Z.white,u.Z.black,u.Z.grey.grey40),Container:v,Content:k,Controls:S,Item:E,Pagination:A,PaginationWrapper:P,Title:I,TitleArea:_,Track:Z,TestButtonContainer:T},N=(0,a.T)((e=>{const t=()=>{var t;return e.cta?d.createElement(o.HY,{title:null!==(t=e.cta.text)&&void 0!==t?t:"View All Courses",styleType:"underline",href:e.cta.url,target:e.cta.target,branding:"green"}):null};return d.createElement(c.A,{transition:{duration:.45,ease:"easeOut"}},d.createElement(l.Z,{count:e.items.length},d.createElement(D.Container,{id:e.anchorId},d.createElement(D.TitleArea,null,e.title&&d.createElement(D.Title,null,e.title),e.content&&d.createElement(D.Content,{dangerouslySetInnerHTML:{__html:e.content}}),t()),d.createElement(p.Z,null),d.createElement(D.Track,{trackMutations:!0},e.items.map((e=>d.createElement(D.Item,{key:e.title},d.createElement(r.Z,{...e}))))),d.createElement(s.Z,null,(t=>d.createElement(D.PaginationWrapper,null,d.createElement(D.Pagination,null,d.createElement(m.Z,{ariaLabel:e.paginationAriaLabel,count:t.maxIndex+1,value:t.activeIndex,onChange:e=>t.goToIndex(e)})),d.createElement(D.Controls,{wrap:e.wrap,renderPrev:e=>d.createElement(D.Button,{"aria-label":"previous",...e},(0,i.w)(i.f.ChevronLeft)),renderNext:e=>d.createElement(D.Button,{"aria-label":"next",...e},(0,i.w)(i.f.ChevronRight))})))),t())))}
1))}}]); 2//# sourceMappingURL=FeaturedCourses-9028bbab9cb6f6944638.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.