(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5445],{94184:function(e,t){var n;/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;tt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},d=function(e){var t=e.children,n=e.condensed,i=e.unStyled,a=u(e,["children","condensed","unStyled"]);return i?r.createElement("table",Object.assign({},a),t):r.createElement(o.Z,{condensed:n},r.createElement("table",Object.assign({},a),t))};d.TH=function(e){var t=e.id,n=e.sortable,o=e.sortDirection,u=e.onSortClick,d=e.centered,f=e.children,p=e.className,m=e["data-at"],v=e.sortContainerStyle,h=s(e,["id","sortable","sortDirection","onSortClick","centered","children","className","data-at","sortContainerStyle"]);return r.createElement("th",Object.assign({id:t,className:p,"data-at":m},h,{onClick:n&&u?function(){return u(t,"asc"===o?"desc":"asc")}:null}),r.createElement(l.Z,{sortable:n,isSorted:"asc"===o||"desc"===o,centered:d,className:p,style:v},function(){if(!n)return null;switch(o){case"asc":return r.createElement(i,{"data-at":"".concat(m,"-SortIconAsc")});case"desc":return r.createElement(a,{"data-at":"".concat(m,"-SortIconDesc")});default:return r.createElement(c,{"data-at":"".concat(m,"-SortIconNone")})}}(),f))};var f=d},81247:function(e,t,n){"use strict";var r=n(87379).ZP.div.withConfig({displayName:"StyledSortContainer",componentId:"sc-eidnzv-0"})(["font-weight:",";display:flex;justify-content:",";align-items:center;cursor:",";.sorting-icon{width:0.8rem;}"],function(e){return e.isSorted?"900":"normal"},function(e){return e.centered?"center":"flex-start"},function(e){return e.sortable?"pointer":"auto"});t.Z=r},6708:function(e,t,n){"use strict";var r=n(87379).ZP.div.withConfig({displayName:"StyledTable",componentId:"sc-19kqp5j-0"})(["overflow:auto;table,table.table-container{width:100%;font-size:62.5%;font-family:",";letter-spacing:",";color:",";border-collapse:collapse;border-spacing:0;thead{margin:0;padding:0;border:0;vertical-align:baseline;tr{border-top:0;vertical-align:middle;padding:8px;th{white-space:nowrap;font-size:",";font-weight:normal;text-transform:uppercase;padding:",";color:",";text-align:left;span{width:",";height:",";margin:",";}vertical-align:middle;}}}tr{border:0;border-bottom-color:#e9e9e9;border-bottom-width:1px;border-bottom-style:solid;}tr.toggle-row{td{border:0;padding:0;margin:0;}}td{font-size:",";padding:",";border-top:1px solid ",";}.center-text{text-align:center;}.header-text{text-align:left;}.header-text-right{text-align:right;}}"],function(e){return e.theme.fonts.fontFamily},function(e){return e.condensed?"normal":"0.03rem"},function(e){return e.theme.colors.primary},function(e){return e.condensed?e.theme.fonts.textSmall:e.theme.fonts.textStandard},function(e){return e.condensed?".8rem .6rem":"1.6rem .8rem"},function(e){return e.theme.colors.primary},function(e){return e.condensed?".8rem":"1rem"},function(e){return e.condensed?"1.2rem":"1.5rem"},function(e){return e.condensed?"-1px 2px -1px 0":"-2px 2px -2px 0"},function(e){return e.condensed?e.theme.fonts.textSmall:e.theme.fonts.textStandard},function(e){return e.condensed?"1.2rem .6rem":"1.6rem .8rem"},function(e){return e.theme.colors.greyBorder});t.Z=r},99210:function(e,t,n){"use strict";var r=n(92777),o=n(82262),i=n(10748),a=n(45959),c=n(63553),l=n(37247),s=n(59499),u=n(67294),d=n(94184),f=n.n(d);n(91284);var p=n(85893),m=function(e){var t=e.containerSize,n=e.bubbleSize;return(0,p.jsxs)("div",{className:"bubbles",style:{maxWidth:t},children:[(0,p.jsx)("span",{className:"bubble",style:{width:n,height:n}}),(0,p.jsx)("span",{className:"bubble",style:{width:n,height:n}}),(0,p.jsx)("span",{className:"bubble",style:{width:n,height:n}})]})},v=function(e){(0,a.Z)(d,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,l.Z)(d);if(t){var r=(0,l.Z)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,c.Z)(this,e)});function d(e){var t;return(0,r.Z)(this,d),t=n.call(this,e),(0,s.Z)((0,i.Z)(t),"animationListener",function(){t.props.loading||t.overlay.current.remove()}),t.overlay=u.createRef(),t.handleOverlayAnimation=t.animationListener.bind((0,i.Z)(t)),t}return(0,o.Z)(d,[{key:"componentDidMount",value:function(){window.addEventListener("transitionend",this.handleOverlayAnimation)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("transitionend",this.handleOverlayAnimation)}},{key:"renderBubblesOrContent",value:function(){var e=this.props,t=e.children,n=e.loading,r=e.bgColor,o=e.bubbleSize,i=e.containerSize;return t?(0,p.jsxs)("div",{className:"bubbles-wrapper",children:[!n&&t,(0,p.jsx)("div",{ref:this.overlay,className:f()("bubbles-overlay",{"fade-out":!n}),style:{backgroundColor:r||"transparent"},children:(0,p.jsx)(m,{bubbleSize:o,containerSize:i})})]}):(0,p.jsx)(m,{bubbleSize:o,containerSize:i})}},{key:"render",value:function(){return(0,p.jsx)("div",{className:"loading-bubbles",children:this.renderBubblesOrContent()})}}]),d}(u.Component);v.defaultProps={loading:!0,bgColor:"white",bubbleSize:13,containerSize:100},t.Z=v},13922:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r,o,i=n(95229),a=n(83454),c=a.env.CONTENTFUL_SPACE_ID||"aoyx73g9h2pg",l=null!==(r=null!==(o=a.env.CONTENTFUL_ENVIRONMENT)&&void 0!==o?o:"master")&&void 0!==r?r:"master",s={preview:{host:"preview.contentful.com",accessToken:a.env.CONTENTFUL_PREVIEW_ACCESS_TOKEN||"_m2Ya2h7qmrZiY2Ln9iSbLm4HQWEhAWg-tCRNc-wesg"},live:{host:"cdn.contentful.com",accessToken:a.env.CONTENTFUL_LIVE_ACCESS_TOKEN||"r38OWV8WrekczjzQP7Qje7KySFMW58C5sUCk455m7B0"}};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.preview,n=t?s.preview.accessToken:s.live.accessToken,r=t?s.preview.host:s.live.host;return(0,i.createClient)({space:c,environment:l,accessToken:n,host:r})}},7592:function(e,t,n){"use strict";n.d(t,{NI:function(){return p},tQ:function(){return d}});var r,o,i=n(50029),a=n(64687),c=n.n(a),l=n(67294),s=n(13922),u=n(4813),d=((r={}).VIRTUAL_LABS="3gH8agJdD5kV6EOpyaXsyd",r.PRACTICE_EXAMS="2LRGCGE4GiA77xekEYozHX",r),f=(o=(0,i.Z)(c().mark(function e(){var t,n,r,o,i=arguments;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]&&i[0],n=i.length>1?i[1]:void 0,r=(0,s.s)({preview:t}),e.prev=3,e.next=6,r.getEntries({content_type:"course","fields.adeptVisible":!0,"fields.features.sys.id":n,limit:1e3});case 6:return o=e.sent.items,e.abrupt("return",(0,u.F)(o));case 11:return e.prev=11,e.t0=e.catch(3),console.error("Error fetching courses with exams from Contentful:",e.t0),e.abrupt("return",[]);case 15:case"end":return e.stop()}},e,null,[[3,11]])})),function(){return o.apply(this,arguments)}),p=function(e){var t=e.preview,n=void 0!==t&&t,r=e.feature,o=(0,l.useState)(!0),a=o[0],s=o[1],u=(0,l.useState)([]),d=u[0],p=u[1];return(0,l.useEffect)(function(){var e;(e=(0,i.Z)(c().mark(function e(){return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s(!0),e.next=3,f(n,r);case 3:p(e.sent),s(!1);case 6:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)})()},[n,r]),{loading:a,courses:d}}},4813:function(e,t,n){"use strict";n.d(t,{F:function(){return f}});var r=n(59499),o=n(61585),i=n(22801),a=n(19978),c=n(52834),l=n(33770),s=n(38222),u=n(69070);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDepth,f=void 0===n?25:n,p={};return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if((0,o.Z)(["Entry","Asset"],null==t||null===(m=t.sys)||void 0===m?void 0:m.type)){var m,v,h,b,g,y,w,x,O,E,S=t.sys,j=S.id,N=S.createdAt,C=S.updatedAt,Z=S.type;if(p[j])return p[j];if(p[j]={},n>=f)return console.debug("Reached max transformation depth:",f),j;var k={id:j,createdAt:N,updatedAt:C};"Entry"===Z&&(k.contentType=null===(v=t.sys.contentType)||void 0===v||null===(v=v.sys)||void 0===v?void 0:v.id);var T=function(e){for(var t=1;t