(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,558300,e=>{"use strict";var t=e.i(271645),r=e.i(951437),n=e.i(146376),i=e.i(108868),a=e.i(667865),l=e.i(469690),o=e.i(381104),s=e.i(884708),u=e.i(247778),d=e.i(538489),c=e.i(875812),f=e.i(552245),m=e.i(675606),p=e.i(380025),h=e.i(647554);let b=t.forwardRef(function(e,b){let{render:v,className:g,id:y,name:x,value:k,disabled:w=!1,onValueChange:C,defaultValue:T,autoFocus:M=!1,style:I,...S}=e,{state:R,name:P,disabled:E,setTouched:N,setDirty:A,validityData:j,setFocused:$,setFilled:V,validationMode:B,validation:L}=(0,l.f)(),{clearErrors:O}=(0,s.f)(),z=E||w,D=P??x,H={...R,disabled:z},{labelId:F}=(0,u.f)(),U=(0,d.f)({id:y});(0,n.f)(()=>{let e=null!=k;L.inputRef.current?.value||e&&""!==k?V(!0):e&&""===k&&V(!1)},[L.inputRef,V,k]);let q=t.useRef(null);(0,n.f)(()=>{M&&q.current===(0,h.T)((0,i.f)(q.current))&&$(!0)},[M,$]);let[K]=(0,r.f)({controlled:k,default:T,name:"FieldControl",state:"value"}),W=void 0!==k,G=W?K:void 0,X=(0,a.f)(()=>L.inputRef.current?.value);return(0,o.f)(L.inputRef,U,G,X,!z,x),(0,f.f)("input",e,{ref:[b,q],state:H,props:[{id:U,disabled:z,name:D,ref:L.inputRef,"aria-labelledby":F,autoFocus:M,...W?{value:G}:{defaultValue:T},onChange(e){let t=e.currentTarget.value;C?.(t,(0,m.j)(p.f.none,e.nativeEvent)),A(t!==(j.initialValue??"")),V(""!==t),e.nativeEvent.defaultPrevented||(O(D),L.change(t))},onFocus(){$(!0)},onBlur(e){N(!0),$(!1),"onBlur"===B&&L.commit(e.currentTarget.value)},onKeyDown(e){"INPUT"===e.currentTarget.tagName&&"Enter"===e.key&&(N(!0),L.commit(e.currentTarget.value))}},S,e=>L.getValidationProps(z,e)],stateAttributesMapping:c.s})});e.s(["Control",0,b],305359);var v=e.i(305359),v=v,g=e.i(843476);let y=t.forwardRef(function(e,t){return(0,g.jsx)(v.Control,{ref:t,...e})});e.s(["Input",0,y],558300)},469690,875812,381104,e=>{"use strict";var t=e.i(733332),r=e.i(271645),n=e.i(956789);let i={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},a={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1};e.s(["q",0,a,"t",0,i,"s",0,{valid:e=>null===e?null:e?{"data-valid":""}:{"data-invalid":""}}],875812);let l={invalid:void 0,name:void 0,validityData:{state:i,errors:[],error:"",value:"",initialValue:null},setValidityData:n.x,disabled:void 0,setTouched:n.x,setDirty:n.x,setFilled:n.x,setFocused:n.x,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:a,registerFieldControl:n.x,validation:{getValidationProps:(e,t=n.w)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:n.x,getInputControl:()=>null,commit:async()=>{},change:n.x}},o=r.createContext(l);function s(e=!0){let i=r.useContext(o);if(i.setValidityData===n.x&&!e)throw Error((0,t.f)(28));return i}e.s(["f",0,s],469690);var u=e.i(146376),d=e.i(388940);e.s(["f",0,function(e,t,r,n,i=!0,a){let{registerFieldControl:l}=s(),o=(0,d.useRefWithInit)(()=>Symbol());(0,u.f)(()=>{let s=o.current;i?l(s,{controlRef:e,getValue:n,id:t,name:a,value:r}):l(s,void 0)},[e,i,n,t,a,l,o,r]),(0,u.f)(()=>{let e=o.current;return()=>{l(e,void 0)}},[l,o])}],381104)},884708,e=>{"use strict";e.i(247167);var t=e.i(271645),r=e.i(956789);let n=t.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:r.x,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});e.s(["f",0,function(){return t.useContext(n)}])},538489,247778,e=>{"use strict";var t=e.i(271645),r=e.i(146376),n=e.i(667865),i=e.i(388940),a=e.i(229315),l=e.i(956789),o=e.i(788015);let s=t.createContext({controlId:void 0,registerControlId:l.x,labelId:void 0,setLabelId:l.x,messageIds:[],setMessageIds:l.x,getDescriptionProps:e=>e});function u(){return t.useContext(s)}e.s(["f",0,u],247778),e.s(["f",0,function(e={}){let{id:s,implicit:d=!1,controlRef:c}=e,{controlId:f,registerControlId:m}=u(),p=(0,o.f)(s),h=d?f:void 0,b=(0,i.useRefWithInit)(()=>Symbol()),v=t.useRef(!1),g=t.useRef(null!=s),y=(0,n.f)(()=>{v.current&&m!==l.x&&(v.current=!1,m(b.current,void 0))});return(0,r.f)(()=>{let e;if(m!==l.x){if(d){let t=c?.current;e=(0,a.m)(t)&&null!=t.closest("label")?s??null:h??p}else if(null!=s)g.current=!0,e=s;else{if(!g.current)return void y();e=p}if(void 0===e)return void y();v.current=!0,m(b.current,e)}},[s,c,h,m,d,p,b,y]),t.useEffect(()=>y,[y]),f??p}],538489)},951437,e=>{"use strict";e.i(247167);var t=e.i(271645);e.s(["f",0,function({controlled:e,default:r,name:n,state:i="value"}){let{current:a}=t.useRef(void 0!==e),[l,o]=t.useState(r),s=t.useCallback(e=>{a||o(e)},[]);return[a?e:l,s]}])},271567,e=>{"use strict";let t=(0,e.i(456420).f)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);e.s(["f",0,t],271567)},749803,e=>{"use strict";let t=(0,e.i(456420).f)("chart-column",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);e.s(["f",0,t],749803)},551757,616933,e=>{"use strict";let t=(0,e.i(456420).f)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["f",0,t],616933),e.s(["f",0,t],551757)},474544,e=>{"use strict";let t=(0,e.i(456420).f)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["f",0,t],474544)},226091,e=>{"use strict";let t=(0,e.i(456420).f)("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["f",0,t],226091)},77071,e=>{"use strict";let t=(0,e.i(456420).f)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["f",0,t],77071)},584026,e=>{"use strict";let t=(0,e.i(456420).f)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["f",0,t],584026)},882303,e=>{"use strict";let t=(0,e.i(456420).f)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["f",0,t],882303)},311901,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["f",0,function({children:e,className:n,delay:i=0,direction:a="up",skip:l=!1}){if(l)return(0,t.jsx)(t.Fragment,{children:e});let o={up:"translateY(1.5rem)",left:"translateX(1.5rem)",right:"translateX(-1.5rem)",none:void 0}[a];return(0,t.jsx)("div",{className:(0,r.f)("reveal-item",n),style:{"--reveal-delay":`${i}ms`,...o?{transform:o}:null},children:e})}])},245035,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n="cf-turnstile-script",i=null;e.s(["f",0,function({siteKey:e,action:a,onReady:l}){let o=(0,r.useRef)(null),s=(0,r.useRef)(null),u=(0,r.useRef)(null),d=(0,r.useRef)([]),[c,f]=(0,r.useState)(!1),m=(0,r.useId)(),p=(0,r.useCallback)(e=>{if(u.current=e,e){let t=d.current;for(let r of(d.current=[],t))r(e)}},[]);return(0,r.useEffect)(()=>{let t=!1;return(window.turnstile?Promise.resolve():i||(i=new Promise((e,t)=>{let r=document.getElementById(n);if(r){r.addEventListener("load",()=>e(),{once:!0}),r.addEventListener("error",()=>t(Error("turnstile script failed")),{once:!0});return}let i=document.createElement("script");i.id=n,i.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",i.async=!0,i.defer=!0,i.addEventListener("load",()=>e(),{once:!0}),i.addEventListener("error",()=>t(Error("turnstile script failed")),{once:!0}),document.head.appendChild(i)}))).then(()=>{!t&&o.current&&window.turnstile&&(s.current=window.turnstile.render(o.current,{sitekey:e,action:a,appearance:"interaction-only",theme:"light",callback:e=>p(e),"expired-callback":()=>p(null),"error-callback":()=>{p(null),f(!0)}}),l({waitForToken:()=>u.current?Promise.resolve(u.current):new Promise(e=>{d.current.push(e),window.setTimeout(()=>{d.current=d.current.filter(t=>t!==e),e(u.current)},5e3)}),reset:()=>{p(null),s.current&&window.turnstile&&window.turnstile.reset(s.current)}}))}).catch(()=>{t||f(!0)}),()=>{if(t=!0,s.current&&window.turnstile)try{window.turnstile.remove(s.current)}catch{}}},[e,a,l,p]),(0,t.jsxs)("div",{className:"mt-4",children:[(0,t.jsx)("div",{ref:o,id:`${m}-turnstile`,"data-testid":`turnstile-${a}`}),c&&(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:"Our bot check could not load. You can still submit; if that fails, refresh the page or call us."})]})}])},206917,e=>{"use strict";var t=e.i(843476),r=e.i(768877),n=e.i(268863),i=e.i(975157);let a="/trainerbot",l=/IT[ \u00A0]Trainerbot(?:[ \u00A0]Plus)?/g;function o(e){return l.lastIndex=0,l.test(e)}let s={light:"font-medium text-cbt-700 underline decoration-cbt-700/40 underline-offset-4 transition-colors hover:text-cbt-900 hover:decoration-cbt-900",dark:"focus-on-dark font-medium text-white underline decoration-white/50 underline-offset-4 transition-colors hover:decoration-white"};function u({surface:e,tone:r="light",className:l,children:o}){return(0,t.jsx)(n.TrackedLink,{href:a,location:`trainerbot-term:${e}`,className:(0,i.f)(s[r],l),children:o})}let d={light:"text-cbt-700 hover:text-cbt-900 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-cbt-700",dark:"focus-on-dark text-cbt-200 hover:text-white"};e.s(["y",0,function({surface:e,tone:l="light",className:o}){return(0,t.jsxs)(n.TrackedLink,{href:a,location:`trainerbot-term:${e}`,className:(0,i.f)("inline-flex items-center gap-1 whitespace-nowrap rounded-sm align-middle font-sans text-sm font-semibold tracking-normal underline-offset-4 hover:underline",d[l],o),children:["Learn more"," ",(0,t.jsx)("span",{className:"sr-only",children:"about IT Trainerbot"}),(0,t.jsx)(r.f,{className:"size-3.5","aria-hidden":"true"})]})},"h",0,u,"w",0,o,"l",0,function(e,r){if(!o(e))return e;let n=[],i=0;for(let a of(l.lastIndex=0,e.matchAll(l))){let l=a.index;l>i&&n.push(e.slice(i,l)),n.push((0,t.jsx)(u,{...r,children:a[0]},`${l}-${a[0]}`)),i=l+a[0].length}return i{"use strict";var t=e.i(843476),r=e.i(558300),n=e.i(225913),i=e.i(975157);let a=(0,n.f)("w-full min-w-0 rounded-lg border border-input bg-background transition-colors outline-none file:inline-flex file:border-0 file:bg-transparent file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",{variants:{size:{default:"h-8 px-2.5 py-1 text-base file:inline-flex file:h-6 file:text-sm md:text-sm",lg:"h-11 px-3 py-2 text-base file:h-8 file:text-base md:text-base"}},defaultVariants:{size:"default"}});e.s(["f",0,function({className:e,type:n,size:l,...o}){return(0,t.jsx)(r.Input,{type:n,"data-slot":"input",className:(0,i.f)(a({size:l}),e),...o})}])},290684,e=>{"use strict";var t=e.i(570590),r=e.i(338315);let n="Unlimited answers are subject to fair use.",i={aside:" — in the platform or on mobile — ",tail:" — in the platform or on mobile",inPlatformOrMobile:"in the platform or on mobile",inPlatformAndMobile:"in the platform and on mobile",onMobileAndIn:"on mobile and in"},a=[[i.aside," "],[i.tail,""],[i.inPlatformOrMobile,"in the platform"],[i.inPlatformAndMobile,"in the platform"],[i.onMobileAndIn,"in"]],l=[{id:"trainerbot",name:t.C.trainerbot.web,appName:t.C.trainerbot.app??t.C.trainerbot.web,tagline:"Instant IT answers you can trust.",pricing:{kind:"free"},perSeat:!1,features:["Unlimited IT answers based on the CBT Nuggets catalog of content","Every answer cites its source video","Answers backed by human IT experts"],excluded:["Saved conversations and memories","Deep Think and image or file upload","Videos, virtual labs, and practice exams"],footnote:n},{id:"trainerbot-plus",name:t.C["trainerbot-plus"].web,appName:t.C["trainerbot-plus"].app??t.C["trainerbot-plus"].web,tagline:"The full IT Trainerbot experience.",pricing:{kind:"monthly-or-annual",monthlyPrice:t.z,annualPrice:t.g},perSeat:!1,everythingIn:t.C.trainerbot.web,features:["Saved conversations","Memories","Deep Think","Image and file upload"],excluded:["Videos, virtual labs, and practice exams"]},{id:"individual",name:t.C.individual.web,appName:t.C.individual.app??t.C.individual.web,tagline:"The full CBT Nuggets catalog for one learner.",pricing:{kind:"annual",annualPrice:t.f},perSeat:!1,everythingIn:t.C["trainerbot-plus"].web,features:["Every CBT Nuggets course","Every virtual lab","Every practice exam","One learner"]},{id:"team",name:t.C.team.web,appName:t.C.team.app??t.C.team.web,tagline:"The ultimate IT team training.",pricing:{kind:"annual",annualPrice:t.R},perSeat:!0,everythingIn:"Individual, for every seat",features:["Team management and reporting","Team playlists","SSO / SAML","Internal training: create courses from your own content"],highlighted:!0}];e.s(["x",0,n,"n",0,i,"v",0,l,"B",0,function(e){let t=l.find(t=>t.id===e);if(!t)throw Error(`Unknown IT Trainerbot tier: ${e}`);return t},"q",0,function(e){let t=(0,r.b)(e),n=(0,r.H)(e),i=t.length>0,a=n.length>0?`, with ${(0,r.e)(n)} coming soon`:"",l=i?`on the CBT Nuggets platform and in ${(0,r.e)(t)}${a}`:`on the CBT Nuggets platform${a}`,o=i?`now on ${(0,r.R)(t)}${a}`:n.length>0?`coming soon to ${(0,r.R)(n)}`:"";return{onPlatform:l,onPlatformSentence:`O${l.slice(1)}`,inPlatformApps:i?`in the CBT Nuggets platform and in ${(0,r.e)(t)}${a}`:`in the CBT Nuggets platform${a}`,nowOn:o,nowOnSentence:o?o.charAt(0).toUpperCase()+o.slice(1):"",onPlatformShort:i?"on the platform and on mobile":"on the platform",inPlatform:i?"in the platform and on mobile":"in the platform",onPlatformOrMobile:i?"on the CBT Nuggets platform or on mobile":"on the CBT Nuggets platform",inPlatformOrMobile:i?"in the CBT Nuggets platform or on mobile":"in the CBT Nuggets platform",operatingSystem:["Web",...t.map(e=>r.f[e])].join(", ")}},"I",0,function(e,t){if((0,r.b)(t).length>0)return e;let n=e;for(let[e,t]of a)n=n.split(e).join(t);return n}])},338315,e=>{"use strict";let t=["ios","android"],r={ios:"iOS",android:"Android"};function n(e){return 0===e.length?"":1===e.length?`the ${r[e[0]]} app`:`the ${e.map(e=>r[e]).join(" and ")} apps`}e.s(["f",0,r,"$",0,{ios:"App Store",android:"Google Play"},"e",0,n,"w",0,function(e){let t=n(e);return t?t.charAt(0).toUpperCase()+t.slice(1):t},"I",0,function(e){return e.length>1?"are":"is"},"H",0,function(e){return t.filter(t=>"coming-soon"===e[t])},"b",0,function(e){return t.filter(t=>"live"===e[t])},"R",0,function(e){return e.map(e=>r[e]).join(" and ")},"V",0,function(e){return t.filter(t=>"hidden"!==e[t])}])},445105,e=>{"use strict";e.s(["f",0,function(e,t){if(!e)return;let r=()=>{let r=e.querySelector('input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"], [role="combobox"][aria-invalid="true"], [role="group"][aria-invalid="true"] input, [aria-invalid="true"]')??(t?e.querySelector(t):null);r&&(function(e){let t=e.closest("details");for(;t;)t.open||(t.open=!0),t=t.parentElement?.closest("details")??null}(r),r.focus({preventScroll:!0}),r.scrollIntoView({block:"center",behavior:"smooth"}))};"function"==typeof requestAnimationFrame?requestAnimationFrame(r):r()}])},46353,e=>{"use strict";var t=e.i(271645),r=e.i(618566),n=e.i(311063);e.s(["f",0,function(e){let i=(0,r.usePathname)(),a=(0,t.useRef)(!1),l=(0,t.useRef)(null),o=(0,t.useCallback)(t=>{if(a.current)return;let r=t.target;if(!(r instanceof HTMLInputElement||r instanceof HTMLSelectElement||r instanceof HTMLTextAreaElement)||"hidden"===r.type||-1===r.tabIndex)return;a.current=!0;let l=r.name||r.id||(r.getAttribute("aria-label")??"field");(0,n.H)(e,l,i)},[e,i]),s=(0,t.useCallback)(()=>{(0,n.L)(e,i)},[e,i]);return{onFormFocusCapture:o,trackSubmitSuccess:s,markSubmitStarted:(0,t.useCallback)(()=>{l.current=Date.now()},[]),trackDuplicateSubmitAttempt:(0,t.useCallback)(()=>{let t=l.current;(0,n.G)(e,i,null===t?0:Date.now()-t)},[e,i])}}])}]);