"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2400],{94258:function(n,t,e){e(67294);var i=e(74129),r=e(17037),o=e(47578),a=e(86974),l=e(85893);t.Z=function(n){var t=n.message,e=n.contentBackgroundColor,c=n.isDarkBackground,u=n.ctaContainer,d=void 0===u?[]:u,s=n.layoutStyle,m=n.ctaImage,g=n.noVerticalPadding,p=n.optionSplitSections;return(0,l.jsxs)(a.$l,{layoutStyle:s,isDarkBackground:c,noVerticalPadding:g,optionSplitSections:p,contentBackgroundColor:e,children:[(0,i.h)(t,o.dN),(0,l.jsx)(a.Z_,{children:d&&(null==d?void 0:d.map(function(n,t){if(!n)return null;var e=n.fields.buttonText||"cta-button-".concat(t);return(0,l.jsx)(r.default,{fields:n.fields,isDarkBackground:c,contentTypeId:"ctaButton"},e)}))}),m&&(0,l.jsx)(a.ZA,{src:m,alt:"",role:"presentation"})]})}},32400:function(n,t,e){e.r(t),e.d(t,{LanderFeature:function(){return m},default:function(){return g}}),e(67294);var i=e(74999),r=e(86974),o=e(94258),a=e(74129),l=e(47578),c=e(85893),u=function(n){var t=n.extraContent,e=n.changeStyling;return(0,c.jsx)(r.tL,{changeStyling:e,children:(0,a.h)(void 0===t?null:t,l.dN)})},d=e(12549),s=function(n){var t=n.extraContentImages,e=void 0===t?[]:t,i=n.staticImages,o=void 0===i?[]:i,a=n.alt;return o.length?(0,c.jsx)(r.mo,{imageCount:o.length,children:null==o?void 0:o.map(function(n,t){return(0,c.jsx)(d.Z,{src:"/assetshttps://www.cbtnuggets.com/images/contentful/".concat(n),alt:"CBT Nuggets Trainer Profiles Collage",role:"presentation"},"feature-image-".concat(t))})}):(0,c.jsx)(r.mo,{imageCount:e.length,children:e&&(null==e?void 0:e.map(function(n,t){var e,i=null==n||null===(e=n.fields)||void 0===e||null===(e=e.file)||void 0===e?void 0:e.url;return(0,c.jsx)(d.Z,{src:i,alt:a||"",role:"presentation"},"feature-image-".concat(t))}))})},m=function(n){var t,e,a,l,d=n.entry,m="trainer-quotes"===d.fields.slug,g=d.fields,p=g.message,h=g.optionFlipContent,f=g.featureBackgroundColor,x=g.contentBackgroundColor,y=g.extraContentBackgroundColor,v=g.extraContent,C=g.optionShowExtraAtMobile,k=g.optionNoVerticalPadding,w=void 0!==k&&k,b=g.optionSplitSections,S=g.extraContentBackgroundImage,I=g.ctaContainer,B=g.extraContentImages,P=g.layoutStyle,z=void 0===P?"1:1":P,j=g.optionFlipContentMobile,Z=g.ctaContainerImage,N=g.staticImages,T=g.staticBackgroundImage,M=(0,i.PP)(f),A=(0,i.PP)(x),D=(0,i.PP)(y),F=(0,i.Bt)(x),E=(0,i.Bt)(y),V=null!==(t=null==S||null===(e=S.fields)||void 0===e||null===(e=e.file)||void 0===e?void 0:e.url)&&void 0!==t?t:"",_=null!==(a=null==Z||null===(l=Z.fields)||void 0===l||null===(l=l.file)||void 0===l?void 0:l.url)&&void 0!==a?a:"",O=!!v||!!B,$=""!==V&&!O,L=!$,W=b||void 0===b;return(0,c.jsx)(r.T$,{containerBackgroundColor:M,children:(0,c.jsxs)(r.CM,{reverseContentMobile:j,reverseContent:h,hasExtraContent:O||$,children:[(0,c.jsx)(o.Z,{message:p,ctaContainer:void 0===I?[]:I,contentBackgroundColor:A,isDarkBackground:F,layoutStyle:z,ctaImage:_,noVerticalPadding:w,optionSplitSections:W}),(O||$)&&(0,c.jsxs)(r.kT,{showAtMobile:C,backgroundImage:T?"/assetshttps://www.cbtnuggets.com/images/contentful/".concat(T):V,extraContentBackgroundColor:D,isDarkBackground:E,layoutStyle:z,fullWidth:L,backgroundImageOnly:$,noVerticalPadding:w,optionSplitSections:W,children:[v&&(0,c.jsx)(u,{changeStyling:m,extraContent:v}),B&&(0,c.jsx)(s,{staticImages:N,extraContentImages:B,alt:"33 Million YouTube views 2.6 million hours of training watched"})]})]})})},g=m},86974:function(n,t,e){e.d(t,{$l:function(){return a},CM:function(){return o},T$:function(){return r},ZA:function(){return c},Z_:function(){return l},kT:function(){return s},mo:function(){return u},tL:function(){return d}});var i=e(87379),r=i.ZP.article.withConfig({displayName:"FeatureContainer",componentId:"sc-zzr6vr-0"})(["padding:2.1rem;margin:0;background-color:",";@media only screen and (max-width:","){padding:2rem;}"],function(n){var t;return null!==(t=n.containerBackgroundColor)&&void 0!==t?t:"transparent"},function(n){return n.theme.breakpoints.phone}),o=i.ZP.div.withConfig({displayName:"FeatureContent",componentId:"sc-zzr6vr-1"})(["padding:0;margin:0 auto;display:",";max-width:120rem;width:100%;flex-direction:",";border-radius:0.8rem;overflow:hidden;@media only screen and (max-width:800px){flex-direction:",";}"],function(n){return n.hasExtraContent?"flex":"block"},function(n){return n.reverseContent?"row-reverse":"row"},function(n){return n.reverseContentMobile?"column-reverse":"column"}),a=i.ZP.div.withConfig({displayName:"CallToActionContent",componentId:"sc-zzr6vr-2"})(["padding:48px 56px 48px 40px;flex:0 ",";background-color:",";color:",";border-radius:",";margin:",";p,h1,h2,h3,h4,ul,li{white-space:pre-wrap;color:",";}h1,h2,h3,h4{margin-top:0;}h1{font-size:3.8rem;line-height:5rem;margin-bottom:1.4rem;}& > img{position:relative !important;width:auto !important;height:auto !important;}@media only screen and (max-width:800px){margin:0;margin-bottom:7px;padding:",";h1{font-size:3rem;line-height:inherit;}}@media only screen and (max-width:","){ul{text-align:initial;}padding:48px 24px;}"],function(n){return"1:2"===n.layoutStyle?"35%":"50%"},function(n){var t;return null!==(t=n.contentBackgroundColor)&&void 0!==t?t:"transparent"},function(n){return n.isDarkBackground?n.theme.colors.white:n.theme.colors.primary},function(n){return n.optionSplitSections?"10px":"10px 0 0 10px"},function(n){return n.optionSplitSections?"7px":"7px 0"},function(n){return n.isDarkBackground?n.theme.colors.white:n.theme.colors.primary},function(n){return n.noVerticalPadding?"0 4.8rem":"4.8rem"},function(n){return n.theme.breakpoints.phone}),l=i.ZP.div.withConfig({displayName:"CallToActionButtonContainer",componentId:"sc-zzr6vr-3"})(["display:flex;flex-wrap:wrap;align-items:center;margin-top:2.4rem;button,a{margin-right:2.4rem;margin-bottom:2.4rem;}@media only screen and (max-width:","){button,a{margin-right:0;}}"],function(n){return n.theme.breakpoints.phone560}),c=i.ZP.img.withConfig({displayName:"CallToActionImage",componentId:"sc-zzr6vr-4"})(["max-width:30rem;width:100%;border-radius:0.8rem;margin-top:4.8rem;@media only screen and (max-width:800px){display:none;}"]),u=i.ZP.ul.withConfig({displayName:"ImageContainer",componentId:"sc-zzr6vr-5"})(["list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));grid-gap:2rem;justify-content:space-evenly;align-items:center;justify-items:center;img{width:100%;max-width:calc(390px / ",");border-radius:0.8rem;position:relative !important;}"],function(n){var t;return null!==(t=n.imageCount)&&void 0!==t?t:1}),d=i.ZP.div.withConfig({displayName:"RichContentContainer",componentId:"sc-zzr6vr-6"})(["margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));grid-gap:",";min-height:90px;display:flex;align-items:start;justify-items:center;flex-direction:column;text-align:start;p{position:relative;margin:3px 0 0 0;}@media only screen and (max-width:800px){align-items:center;text-align:center;p{position:relative;margin:0;}}@media only screen and (min-width:801px){ul{text-align:center;}ul{margin-top:60px;margin-left:160px;}}"],function(n){return n.changeStyling?"0rem":"2rem"}),s=i.ZP.div.withConfig({displayName:"ExtraContent",componentId:"sc-zzr6vr-7"})(["padding:2.1rem;margin:",";flex:0 ",";background-color:",";background-image:url(",");border-radius:",";background-size:cover;background-position:center;background-repeat:no-repeat;color:",";p,h1,h2,h3,h4,ul,li{color:",";}p:empty{display:none;}article{padding:0;font-family:",";table{font-family:",";}table thead tr th{color:",";}table tbody tr td{text-align:left;&.course-title{text-align:left;}&.course-level{text-align:left;}&.course-videos{text-align:center;}&.course-exams{text-align:center;}&.course-labs{text-align:center;}&.course-skills{text-align:center;}}}@media only screen and (max-width:520px){display:",";min-height:",";margin:0 auto;flex:1 100%;width:100%;padding:",";}@media only screen and (min-width:520px) and (max-width:800px){display:",";min-height:",";margin:0 auto;flex:1 100%;width:100%;padding:",";}@media only screen and (min-width:800px) and (max-width:1000px){background-size:cover;}@media only screen and (min-width:1001px){min-height:",";}@media only screen and (max-width:","){padding:2rem;}"],function(n){return n.optionSplitSections?"7px":"7px 0"},function(n){return"1:2"===n.layoutStyle?"65%":"50%"},function(n){var t;return null!==(t=n.extraContentBackgroundColor)&&void 0!==t?t:"transparent"},function(n){return n.backgroundImage},function(n){return n.optionSplitSections?"10px":"0 10px 10px 0"},function(n){return n.isDarkBackground?n.theme.colors.white:n.theme.colors.primary},function(n){return n.isDarkBackground?n.theme.colors.white:n.theme.colors.primary},function(n){return n.theme.fontFamily},function(n){return n.theme.fontFamily},function(n){return n.theme.colors.tertiary},function(n){return n.showAtMobile?"initial":"none"},function(n){return n.backgroundImageOnly?"40rem":"auto"},function(n){return n.fullWidth?0:"4.8rem"},function(n){return n.showAtMobile?"initial":"none"},function(n){return n.backgroundImageOnly?"65rem":"auto"},function(n){return n.fullWidth?0:"4.8rem"},function(n){return n.backgroundImageOnly?"350px":"auto"},function(n){return n.theme.breakpoints.smphone})}}]);