(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,526323,828376,209977,141708,593480,309169,e=>{"use strict";var t=e.i(402820),n=e.i(156736),r=e.i(209793),i=e.i(784324),o=e.i(264951),a=e.i(366250),s=e.i(77173),l=e.i(733332),c=e.i(271645),u=e.i(108821),d=e.i(540886),f=e.i(552245),p=e.i(405005),m=e.i(638396),g=e.i(459636),h=e.i(264111),x=e.i(788015),b=e.i(385689),v=e.i(32199);let y=c.forwardRef(function(e,t){let{render:n,className:r,style:i,disabled:o=!1,nativeButton:a=!0,id:s,payload:y,handle:j,...w}=e,T=(0,u.x)(!0),k=(0,g.f)(j)??T;if(!k)throw Error((0,l.f)(79));let C=(0,x.f)(s),S=k.useState("floatingRootContext"),E=k.useState("isOpenedByTrigger",C),N=k.useState("triggerPopupId",C),I=c.useRef(null),{registerTrigger:P,isMountedByThisTrigger:R}=(0,h.F)(C,I,k,{payload:y}),{getButtonProps:O,buttonRef:M}=(0,d.f)({disabled:o,native:a}),A=(0,b.f)(S),F=(0,v.p)(()=>k.select("open"),e=>{k.set("openMethod",e)}),$=k.useState("triggerProps",R);return(0,f.f)("button",e,{state:{disabled:o,open:E},ref:[M,t,P,I],props:[A.reference,$,F,{[m.j]:"",id:C,"aria-haspopup":"dialog","aria-expanded":E,"aria-controls":N},w,O],stateAttributesMapping:p.J})});e.s(["Backdrop",()=>t.f,"Close",()=>n.f,"Description",()=>r.f,"Popup",()=>i.f,"Portal",()=>o.f,"Root",0,function(e){return(0,a.f)("dialog",e)},"Title",()=>s.f,"Trigger",0,y],828376);var j=e.i(828376);e.s(["f",0,j],526323),e.s(["f",0,j],209977),e.s(["f",0,j],141708),e.s(["f",0,j],593480),e.s(["f",0,j],309169)},998218,921637,152744,560964,e=>{"use strict";var t=e.i(828376);e.s(["f",0,t],998218),e.s(["f",0,t],921637),e.s(["f",0,t],152744);var n=e.i(814387);e.s(["f",()=>n.f],560964)},385689,e=>{"use strict";var t=e.i(271645),n=e.i(708445),r=e.i(439957),i=e.i(956789),o=e.i(647554),a=e.i(596296),s=e.i(157940),l=e.i(675606),c=e.i(641530);e.s(["f",0,function(e,u={}){let{enabled:d=!0,event:f="click",toggle:p=!0,ignoreMouse:m=!1,stickIfOpen:g=!0,touchOpenDelay:h=0,reason:x=c.f.triggerPress}=u,b="rootStore"in e?e.rootStore:e,v=b.context.dataRef,y=t.useRef(void 0),j=(0,n.z)(),w=(0,r.e)(),T=t.useMemo(()=>{function e(e,t,n,r){let i=(0,l.j)(x,t,n);e&&"touch"===r&&h>0?w.start(h,()=>{b.setOpen(!0,i)}):b.setOpen(e,i)}function t(e,t,n){let r=v.current.openEvent,i=b.select("domReferenceElement")!==t;return!!e&&!!i||!e||!p||!!r&&!!g&&!n(r.type)}return{onPointerDown(e){y.current=(0,s.J)(e.pointerType,!0)&&(0,s.$)(e.nativeEvent)?"virtual":e.pointerType},onMouseDown(n){let r=y.current,i=n.nativeEvent,l=b.select("open");if(0!==n.button||"click"===f||(0,s.J)(r,!0)&&m)return;let c=t(l,n.currentTarget,e=>"click"===e||"mousedown"===e),u=(0,o.Z)(i);if((0,a.Q)(u))return void e(c,i,u,r);let d=n.currentTarget;j.request(()=>{e(c,i,d,r)})},onClick(n){if("mousedown-only"===f)return;let r=y.current;if("mousedown"===f&&r){y.current=void 0;return}(0,s.J)(r,!0)&&m||e(t(b.select("open"),n.currentTarget,e=>"click"===e||"mousedown"===e||"keydown"===e||"keyup"===e),n.nativeEvent,n.currentTarget,r)},onKeyDown(){y.current=void 0}}},[v,f,m,x,b,g,p,j,w,h]);return t.useMemo(()=>d?{reference:T}:i.w,[d,T])}])},431157,e=>{"use strict";var t=e.i(271645),n=e.i(574735),r=e.i(365420),i=e.i(146376),o=e.i(108868),a=e.i(667865),s=e.i(439957),l=e.i(229315),c=e.i(675606),u=e.i(422428),d=e.i(46420),f=e.i(647554),p=e.i(958408),m=e.i(673752),g=e.i(596296),h=e.i(944681),x=e.i(994814);e.s(["f",0,function(e,b={}){let{enabled:v=!0,closeDelay:y=0,nodeId:j}=b,w="rootStore"in e?e.rootStore:e,T=w.useState("open"),k=w.useState("floatingElement"),C=w.useState("domReferenceElement"),{dataRef:S}=w.context,E=(0,d.$)(),N=(0,d.G)(),I=(0,m.s)(w),P=(0,s.e)(),R=(0,a.f)(()=>(0,h.a)(S.current.openEvent?.type,I.interactedInside)),O=(0,a.f)(()=>(0,h.j)(S.current.openEvent?.type)),M=(0,a.f)(()=>{(0,m.O)(I)});(0,i.f)(()=>{T||(I.pointerType=void 0,I.restTimeoutPending=!1,I.interactedInside=!1,M())},[T,I,M]),t.useEffect(()=>M,[M]),(0,i.f)(()=>{if(v&&T&&I.handleCloseOptions?.blockPointerEvents&&O()&&(0,l.m)(C)&&k){let e=(0,o.f)(k),t=E?.nodesRef.current.find(e=>e.id===N)?.context?.elements.floating;t&&(t.style.pointerEvents="");let n=I.pointerEventsScopeElement!==k?I.pointerEventsScopeElement:null,r=t!==k?t:null,i=I.handleCloseOptions?.getScope?.()??n??r??C.closest("[data-rootownerid]")??e.body;return(0,m.p)(I,{scopeElement:i,referenceElement:C,floatingElement:k}),()=>{M()}}},[v,T,C,k,I,O,E,N,M]),t.useEffect(()=>{if(v)return(0,r.f)(k&&(0,n.f)(k,"mouseenter",function(){I.openChangeTimeout.clear(),P.clear(),E?.events.off("floating.closed",t),M()}),k&&(0,n.f)(k,"mouseleave",function(n){if(e()&&E)return void E.events.on("floating.closed",t);if((0,x.f)(n.relatedTarget,w.context.triggerElements))return;let r=S.current.floatingContext?.nodeId??j,i=n.relatedTarget;if(!(E&&r&&(0,l.m)(i)&&(0,p.Q)(E.nodesRef.current,r,!1).some(e=>(0,f.I)(e.context?.elements.floating,i)))){let e,t;if(I.handler)return void I.handler(n);M(),O()&&!R()&&(e=(0,h.c)(y,"close",I.pointerType),t=()=>{w.setOpen(!1,(0,c.j)(u.f.triggerHover,n)),E?.events.emit("floating.closed",n)},e?I.openChangeTimeout.start(e,t):(I.openChangeTimeout.clear(),t()))}}),k&&(0,n.f)(k,"pointerdown",function(e){let t=(0,f.Z)(e);if(!(0,g.W)(t)){I.interactedInside=!1;return}I.interactedInside=t?.closest("[aria-haspopup]")!=null},!0),()=>{E?.events.off("floating.closed",t)});function e(){return!!(E&&N&&(0,p.Q)(E.nodesRef.current,N).length>0)}function t(n){!E||!N||e()||P.start(0,()=>{E.events.off("floating.closed",t),w.setOpen(!1,(0,c.j)(u.f.triggerHover,n)),E.events.emit("floating.closed",n)})}},[v,k,w,S,y,j,O,R,M,I,E,N,P])}])},673752,e=>{"use strict";var t=e.i(626300),n=e.i(388940),r=e.i(439957);e.i(596296);class i{constructor(){this.pointerType=void 0,this.interactedInside=!1,this.handler=void 0,this.blockMouseMove=!0,this.performedPointerEventsMutation=!1,this.pointerEventsScopeElement=null,this.pointerEventsReferenceElement=null,this.pointerEventsFloatingElement=null,this.restTimeoutPending=!1,this.openChangeTimeout=new r.U,this.restTimeout=new r.U,this.handleCloseOptions=void 0}static create(){return new i}dispose=()=>{this.openChangeTimeout.clear(),this.restTimeout.clear()};disposeEffect=()=>this.dispose}let o=new WeakMap;function a(e){if(!e.performedPointerEventsMutation)return;let t=e.pointerEventsScopeElement;t&&o.get(t)===e&&(e.pointerEventsScopeElement?.style.removeProperty("pointer-events"),e.pointerEventsReferenceElement?.style.removeProperty("pointer-events"),e.pointerEventsFloatingElement?.style.removeProperty("pointer-events"),o.delete(t)),e.performedPointerEventsMutation=!1,e.pointerEventsScopeElement=null,e.pointerEventsReferenceElement=null,e.pointerEventsFloatingElement=null}e.s(["p",0,function(e,t){let{scopeElement:n,referenceElement:r,floatingElement:i}=t,s=o.get(n);s&&s!==e&&a(s),a(e),e.performedPointerEventsMutation=!0,e.pointerEventsScopeElement=n,e.pointerEventsReferenceElement=r,e.pointerEventsFloatingElement=i,o.set(n,e),n.style.pointerEvents="none",r.style.pointerEvents="auto",i.style.pointerEvents="auto"},"O",0,a,"s",0,function(e){let r=e.context.dataRef.current,o=(0,n.useRefWithInit)(()=>r.hoverInteractionState??i.create()).current;return r.hoverInteractionState||(r.hoverInteractionState=o),(0,t.f)(r.hoverInteractionState.disposeEffect),r.hoverInteractionState}])},872135,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(574735),i=e.i(365420),o=e.i(108868),a=e.i(667865),s=e.i(446265),l=e.i(229315),c=e.i(675606),u=e.i(422428),d=e.i(46420),f=e.i(647554),p=e.i(157940),m=e.i(673752),g=e.i(944681),h=e.i(994814);let x={current:null};e.s(["f",0,function(e,b={}){let{enabled:v=!0,delay:y=0,handleClose:j=null,mouseOnly:w=!1,restMs:T=0,move:k=!0,triggerElementRef:C=x,externalTree:S,isActiveTrigger:E=!0,getHandleCloseContext:N,isClosing:I,shouldOpen:P,guardStaleOpen:R=!1}=b,O="rootStore"in e?e.rootStore:e,{dataRef:M,events:A}=O.context,F=(0,d.$)(S),$=(0,m.s)(O),B=t.useRef(!1),_=(0,s.f)(j),z=(0,s.f)(y),D=(0,s.f)(T),H=(0,s.f)(v),L=(0,s.f)(P),G=(0,s.f)(I),U=(0,a.f)(()=>(0,g.a)(M.current.openEvent?.type,$.interactedInside)),q=(0,a.f)(()=>L.current?.()!==!1),W=(0,a.f)((e,t,n)=>{let r=O.context.triggerElements;return r.hasElement(t)?!e||!(0,f.I)(e,t):!!(0,l.m)(n)&&r.hasMatchingElement(e=>(0,f.I)(e,n))&&(!e||!(0,f.I)(e,n))}),Z=(0,a.f)(()=>{$.handler&&((0,o.f)(O.select("domReferenceElement")).removeEventListener("mousemove",$.handler),$.handler=void 0)}),V=(0,a.f)(()=>{(0,m.O)($)});return E&&($.handleCloseOptions=_.current?.__options),t.useEffect(()=>Z,[Z]),t.useEffect(()=>{if(v)return A.on("openchange",e),()=>{A.off("openchange",e)};function e(e){e.open?B.current=!1:(B.current=e.reason===u.f.triggerHover,Z(),$.openChangeTimeout.clear(),$.restTimeout.clear(),$.blockMouseMove=!0,$.restTimeoutPending=!1)}},[v,A,$,Z]),t.useEffect(()=>{if(!v)return;function e(t,n=!0){let r=(0,g.c)(z.current,"close",$.pointerType);r?$.openChangeTimeout.start(r,()=>{O.setOpen(!1,(0,c.j)(u.f.triggerHover,t)),F?.events.emit("floating.closed",t)}):n&&($.openChangeTimeout.clear(),O.setOpen(!1,(0,c.j)(u.f.triggerHover,t)),F?.events.emit("floating.closed",t))}let t=C.current??(E?O.select("domReferenceElement"):null);if(!(0,l.m)(t))return;function n(e){if($.openChangeTimeout.clear(),$.blockMouseMove=!1,w&&!(0,p.J)($.pointerType))return;let t=(0,g.Z)(D.current),n=(0,g.c)(z.current,"open",$.pointerType),r=(0,f.Z)(e),i=e.currentTarget??null,o=O.select("domReferenceElement"),a=i;if((0,l.m)(r)&&!O.context.triggerElements.hasElement(r)){for(let e of O.context.triggerElements.elements())if((0,f.I)(e,r)){a=e;break}}(0,l.m)(i)&&(0,l.m)(o)&&!O.context.triggerElements.hasElement(i)&&(0,f.I)(i,o)&&(a=o);let s=null!=a&&W(o,a,r),d=O.select("open"),m=G.current?.()??"ending"===O.select("transitionStatus"),h=!d&&m&&B.current,x=!s&&(0,l.m)(a)&&(0,l.m)(o)&&(0,f.I)(o,a)&&h,b=t>0&&!n,v=!d||s;if(s&&(d||h)||x){q()&&O.setOpen(!0,(0,c.j)(u.f.triggerHover,e,a));return}!b&&(n?$.openChangeTimeout.start(n,()=>{v&&q()&&O.setOpen(!0,(0,c.j)(u.f.triggerHover,e,a))}):v&&q()&&O.setOpen(!0,(0,c.j)(u.f.triggerHover,e,a)))}function a(t){if(U())return void V();Z();let n=O.select("domReferenceElement"),r=(0,o.f)(n);$.restTimeout.clear(),$.restTimeoutPending=!1;let i=M.current.floatingContext??N?.();if(!(0,h.f)(t.relatedTarget,O.context.triggerElements)){if(_.current&&i){O.select("open")||$.openChangeTimeout.clear();let n=C.current;$.handler=_.current({...i,tree:F,x:t.clientX,y:t.clientY,onClose(){V(),Z(),H.current&&!U()&&n===O.select("domReferenceElement")&&e(t,!0)}}),r.addEventListener("mousemove",$.handler),$.handler(t);return}"touch"===$.pointerType&&(0,f.I)(O.select("floatingElement"),t.relatedTarget)||e(t)}}let s=R?(0,r.f)(t,"mouseout",function(e){(0,f.I)(t,e.relatedTarget)||($.openChangeTimeout.clear(),$.restTimeout.clear(),$.restTimeoutPending=!1)}):void 0;return k?(0,i.f)((0,r.f)(t,"mousemove",n,{once:!0}),(0,r.f)(t,"mouseenter",n),(0,r.f)(t,"mouseleave",a),s):(0,i.f)((0,r.f)(t,"mouseenter",n),(0,r.f)(t,"mouseleave",a),s)},[Z,V,M,z,O,v,_,$,E,W,U,w,k,D,C,F,H,N,G,q,R]),t.useMemo(()=>{if(v)return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,r=e.currentTarget,i=O.select("domReferenceElement"),o=O.select("open"),a=W(i,r,e.target);if(w&&!(0,p.J)($.pointerType))return;if(o&&a&&$.handleCloseOptions?.blockPointerEvents){let e=O.select("floatingElement");if(e){let t=$.handleCloseOptions?.getScope?.()??r.ownerDocument.body;(0,m.p)($,{scopeElement:t,referenceElement:r,floatingElement:e})}}let s=(0,g.Z)(D.current);function l(){if($.restTimeoutPending=!1,U())return;let e=O.select("open");!$.blockMouseMove&&(!e||a)&&q()&&O.setOpen(!0,(0,c.j)(u.f.triggerHover,t,r))}(!o||a)&&0!==s&&(!a&&$.restTimeoutPending&&e.movementX**2+e.movementY**2<2||($.restTimeout.clear(),"touch"===$.pointerType?n.flushSync(()=>{l()}):a&&o?l():($.restTimeoutPending=!0,$.restTimeout.start(s,l))))}};function e(e){$.pointerType=e.pointerType}},[v,$,U,W,w,O,D,q])}])},944681,e=>{"use strict";var t=e.i(157940);e.s(["c",0,function(e,n,r){let i=null==r||(0,t.J)(r)?"function"==typeof e?e():e:0;return"number"==typeof i?i:i?.[n]},"Z",0,function(e){return"function"==typeof e?e():e},"a",0,function(e,t){return t||"click"===e||"mousedown"===e},"j",0,function(e){return e?.includes("mouse")&&"mousedown"!==e}])},650316,e=>{"use strict";var t=e.i(229315),n=e.i(439957),r=e.i(647554),i=e.i(958408);let o=.1*.1;function a(e,t,n,r,i,o){return r>=t!=o>=t&&e<=(i-n)*(t-r)/(o-r)+n}function s(e,t,n,r,i,o,s,l,c,u){let d=!1;return a(e,t,n,r,i,o)&&(d=!d),a(e,t,i,o,s,l)&&(d=!d),a(e,t,s,l,c,u)&&(d=!d),a(e,t,c,u,n,r)&&(d=!d),d}function l(e,t,n,r,i,o){let a=Math.min(n,i),s=Math.max(n,i),l=Math.min(r,o),c=Math.max(r,o);return e>=a&&e<=s&&t>=l&&t<=c}e.s(["f",0,function(e={}){let{blockPointerEvents:a=!1}=e,c=new n.U,u=({x:e,y:n,placement:a,elements:u,onClose:d,nodeId:f,tree:p})=>{let m=a?.split("-")[0],g=!1,h=null,x=null,b="u">typeof performance?performance.now():0;return function(a){c.clear();let v=u.domReference,y=u.floating;if(!v||!y||null==m||null==e||null==n)return;let{clientX:j,clientY:w}=a,T=(0,r.Z)(a),k="mouseleave"===a.type,C=(0,r.I)(y,T),S=(0,r.I)(v,T);if(C&&(g=!0,!k))return;if(S&&(g=!1,!k)){g=!0;return}if(k&&(0,t.m)(a.relatedTarget)&&(0,r.I)(y,a.relatedTarget))return;function E(){return!!(p&&(0,i.Q)(p.nodesRef.current,f).length>0)}function N(){E()||(c.clear(),d())}if(E())return;let I=v.getBoundingClientRect(),P=y.getBoundingClientRect(),R=e>P.right-P.width/2,O=n>P.bottom-P.height/2,M=P.width>I.width,A=P.height>I.height,F=(M?I:P).left,$=(M?I:P).right,B=(A?I:P).top,_=(A?I:P).bottom;if("top"===m&&n>=I.bottom-1||"bottom"===m&&n<=I.top+1||"left"===m&&e>=I.right-1||"right"===m&&e<=I.left+1)return void N();let z=!1;switch(m){case"top":z=l(j,w,F,I.top+1,$,P.bottom-1);break;case"bottom":z=l(j,w,F,P.top+1,$,I.bottom-1);break;case"left":z=l(j,w,P.right-1,_,I.left+1,B);break;case"right":z=l(j,w,I.right-1,_,P.left+1,B)}if(z)return;if(g&&(!(j>=I.x)||!(j<=I.x+I.width)||!(w>=I.y)||!(w<=I.y+I.height))||!k&&function(e,t){let n=performance.now(),r=n-b;if(null===h||null===x||0===r)return h=e,x=t,b=n,!1;let i=e-h,a=t-x;return h=e,x=t,b=n,i*i+a*a{"use strict";var t=e.i(596296);e.s(["f",()=>t.x])},606039,e=>{"use strict";var t=e.i(271645),n=e.i(146376),r=e.i(667865);e.s(["f",0,function(e,i){let o=t.useRef(e),a=(0,r.f)(i);(0,n.f)(()=>{o.current!==e&&a(o.current),o.current=e},[e,a])}])},96533,e=>{"use strict";e.i(247167);var t=e.i(733332),n=e.i(271645);let r=n.createContext(void 0);e.s(["f",0,function(e){let i=n.useContext(r);if(void 0===i&&!e)throw Error((0,t.f)(69));return i}])},346570,e=>{"use strict";var t=e.i(271645),n=e.i(174080),r=e.i(647554),i=e.i(383976),o=e.i(675606),a=e.i(6304);e.s(["f",0,function(e,s){let l=t.useRef(null);return{preFocusGuardRef:l,handlePreFocusGuardFocus:function(t){n.flushSync(()=>{e.setOpen(!1,(0,o.j)(a.f.focusOut,t.nativeEvent,t.currentTarget))});let r=(0,i.E)(l.current);r?.focus()},handleFocusTargetFocus:function(t){let l=e.select("positionerElement");if(l&&(0,i.A)(t,l))e.context.beforeContentFocusGuardRef.current?.focus();else{n.flushSync(()=>{e.setOpen(!1,(0,o.j)(a.f.focusOut,t.nativeEvent,t.currentTarget))});let c=(0,i.W)(e.context.triggerFocusTargetRef.current||s.current);for(;null!==c&&(0,r.I)(l,c);){let e=c;if((c=(0,i.O)(c))===e)break}c?.focus()}}}}])},33383,e=>{"use strict";var t=e.i(271645),n=e.i(108868),r=e.i(145484),i=e.i(146376);e.s(["f",0,function(e,o,a,s){let[l,c]=t.useState(!1);(0,i.f)(()=>{if(!e||!o||null==a)return void c(!1);let t=(0,n.f)(a).documentElement.clientWidth,r=a.offsetWidth;c(t>0&&r>0&&r>=t-20)},[e,o,a]),(0,r.f)(e&&(!o||l),s)}])},32199,e=>{"use strict";var t=e.i(271645),n=e.i(667865),r=e.i(427803),i=e.i(522162),o=e.i(606039);function a(e,o){let a=(0,n.f)((t,n)=>{("function"==typeof e?e():e)||o(n||(i.f.os.ios?"touch":""))}),{onClick:s,onPointerDown:l}=(0,r.f)(a);return t.useMemo(()=>({onClick:s,onPointerDown:l}),[s,l])}e.s(["$",0,function(e){let[n,r]=t.useState(null),i=a(e,r);return(0,o.f)(e,t=>{t&&!e&&r(null)}),t.useMemo(()=>({openMethod:n,triggerProps:i}),[n,i])},"p",0,a])},427803,e=>{"use strict";var t=e.i(271645);e.s(["f",0,function(e){let n=t.useRef(""),r=t.useCallback(t=>{t.defaultPrevented||(n.current=t.pointerType,e(t,t.pointerType))},[e]);return{onClick:t.useCallback(t=>{0===t.detail?e(t,"keyboard"):("pointerType"in t?e(t,t.pointerType):e(t,n.current),n.current="")},[e]),onPointerDown:r}}])},643957,e=>{"use strict";let t=(0,e.i(456420).f)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["f",0,t])},689664,e=>{"use strict";var t=e.i(643957);e.s(["f",()=>t.f])},91511,e=>{"use strict";let t=(0,e.i(456420).f)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["f",0,t],91511)},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)},325164,e=>{"use strict";var t=e.i(605500);e.s(["default",()=>t.Image])},920291,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(618566),i=e.i(570590),o=e.i(311063),a=e.i(472033),s=e.i(998082),l=e.i(240139);let c=n.lazy(()=>e.A(127300).then(e=>({default:e.GetStartedDialogBody})));function u(){e.A(127300).catch(()=>void 0)}e.s(["GetStartedDialog",0,function({triggerLabel:e,triggerAriaLabel:d,triggerClassName:f}){let[p,m]=n.useState(0),g=(0,s.A)(),{open:h,bodyOpen:x,openMethod:b,onOpenChange:v,onReady:y}=g,j=n.useRef(null),w=(0,r.usePathname)(),T=n.useCallback(t=>{g.request(t)&&(m(e=>e+1),(0,o.C)({ctaText:e,subscriptionName:l.s,subscriptionPrice:i.R,page:w,intent:"open_configurator",billingPeriod:"annual"}))},[g,w,e]),{reset:k}=g,C=n.useCallback(()=>{k(),m(0)},[k]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.F,{ref:j,trigger:{label:e,ariaLabel:d,className:f},open:h,onOpen:T,onIntent:u}),p>0?(0,t.jsx)(s.T,{name:"teams-configurator",onError:C,children:(0,t.jsx)(c,{open:x,openMethod:b,onOpenChange:v,onReady:y,finalFocus:j},p)}):null]})}])},844097,410532,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(618566),i=e.i(632781),o=e.i(686525),a=e.i(975157),s=e.i(405240),l=e.i(311063),c=e.i(541872);let u="https://billing.api.adept.at/checkout/session",d={individual:"120",team:"100","trainerbot-plus":{annual:"210",monthly:"215"},"single-course":"110"},f={individual:["annual"],team:["annual"],"trainerbot-plus":["monthly","annual"]};function p(e){return f[e][0]}function m(e){if("account-only"===e.plan){let t=[{name:"ownerHint[type]",value:"USER"},{name:"ownerHint[status]",value:"NEW"}];return e.returnTo&&t.push({name:"returnTo",value:e.returnTo}),t}let t=h(e),n=[{name:"ownerHint[type]",value:"team"===e.plan?"ORG":"USER"},{name:"ownerHint[status]",value:"NEW"},{name:"items[0][productId]",value:t}];if("single-course"===e.plan){if(!e.courseId)throw Error("buildCheckoutFields: single-course checkout requires the Adept course UUID");n.push({name:"items[0][subProductId]",value:e.courseId})}let r="team"===e.plan?Math.max(1,Math.floor(e.seats)):1;return n.push({name:"items[0][quantity]",value:String(r)}),n}function g(e){return"individual"===e.plan||"team"===e.plan?p(e.plan):"trainerbot-plus"===e.plan?e.billing??p("trainerbot-plus"):void 0}function h(e){return"trainerbot-plus"===e.plan?d["trainerbot-plus"][e.billing??p("trainerbot-plus")]:d[e.plan]}function x(e,t,n){if("account-only"===e.plan){let r={plan:e.plan,owner_hint_type:"USER",quantity:0,page:t};return e.courseId&&(r.course_id=e.courseId),n&&(r.course_slug=n),r}let r={plan:e.plan,product_id:h(e),owner_hint_type:"team"===e.plan?"ORG":"USER",quantity:"team"===e.plan?Math.max(1,Math.floor(e.seats)):1,page:t},i=g(e);return i&&(r.billing_period=i),"single-course"===e.plan&&(r.course_id=e.courseId,n&&(r.course_slug=n)),r}e.s(["c",0,u,"P",0,g,"Q",0,m,"f",0,x,"B",0,p],410532),e.s(["StartCheckoutForm",0,function({intent:e,courseSlug:d,className:f,ariaLabel:p,formClassName:h,subscriptionCta:b,ctaLocation:v,testId:y,onStart:j,children:w}){let T=(0,r.usePathname)(),k=n.useRef(null),C=n.useRef(null),[S,E]=n.useState(!1),[N,I]=n.useState(null),P=m(e);n.useEffect(()=>{if(!S)return;let e=e=>{e.persisted&&E(!1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[S]);let R=n.useCallback(t=>{if(S)return void t.preventDefault();I(C.current?.textContent?.trim()||null),E(!0);let n=k.current;n&&function(e){for(let t of Array.from(e.querySelectorAll("input[data-checkout-tracking]")))t.remove();let t=(0,c.B)(),n=(0,o.M)(),{merged:r}=(0,o.y)();for(let[i,a]of[["tracking[anon_id]",t.analytics?n[o.I.ANON_ID]:void 0],["tracking[session_id]",n[o.I.SESSION_ID]],["tracking[gclid]",t.marketing?r.gclid:void 0],["tracking[msclkid]",t.marketing?r.msclkid:void 0],["tracking[wbraid]",t.marketing?r.wbraid:void 0],["tracking[gbraid]",t.marketing?r.gbraid:void 0],...function(e){let t=(0,c.T)();if(!t||!(0,c.K)(t))return[];let n=t.updatedAt;if("number"!=typeof n||!Number.isFinite(n))return[];let r=new Date(n);return Number.isNaN(r.getTime())?[]:[["tracking[consent_analytics]",String(!0===e.analytics)],["tracking[consent_marketing]",String(!0===e.marketing)],["tracking[consent_functional]",String(!0===e.functional)],["tracking[consent_timestamp]",r.toISOString()]]}(t)]){if(!a)continue;let t=document.createElement("input");t.type="hidden",t.name=i,t.value=a,t.dataset.checkoutTracking="true",e.appendChild(t)}}(n),j?.(),(0,s.f)("checkout_start",{properties:{...x(e,T,d),...v?{cta_location:v}:{}}}),b&&(0,l.C)({ctaText:b.ctaText,subscriptionName:b.subscriptionName,subscriptionPrice:b.subscriptionPrice,page:T,billingPeriod:g(e)})},[S,e,T,d,b,v,j]);return(0,t.jsxs)("form",{ref:k,method:"POST",action:u,onSubmit:R,className:h,children:[P.map(e=>(0,t.jsx)("input",{type:"hidden",name:e.name,value:e.value},e.name)),(0,t.jsxs)("button",{ref:C,type:"submit","aria-label":S?p??N??void 0:p,"aria-busy":S||void 0,"aria-disabled":S||void 0,"data-pending":S||void 0,className:(0,a.f)(f,S&&"relative cursor-progress"),"data-testid":y,children:[(0,t.jsx)("span",{className:(0,a.f)("contents",S&&"invisible"),children:w}),S&&(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(i.f,{className:"size-[1.25em] animate-spin"})})]}),(0,t.jsx)("span",{role:"status","aria-live":"polite",className:"sr-only",children:S?"Opening secure checkout":""})]})}],844097)},311901,e=>{"use strict";var t=e.i(843476),n=e.i(975157);e.s(["f",0,function({children:e,className:r,delay:i=0,direction:o="up",skip:a=!1}){if(a)return(0,t.jsx)(t.Fragment,{children:e});let s={up:"translateY(1.5rem)",left:"translateX(1.5rem)",right:"translateX(-1.5rem)",none:void 0}[o];return(0,t.jsx)("div",{className:(0,n.f)("reveal-item",r),style:{"--reveal-delay":`${i}ms`,...s?{transform:s}:null},children:e})}])},472033,240139,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(325164),i=e.i(689664),o=e.i(776639),a=e.i(975157),s=e.i(998082);e.s(["e",0,"inline-flex h-11 w-full items-center justify-center whitespace-nowrap rounded-md bg-cbt-500 px-4 text-sm font-medium text-white transition-colors hover:bg-cbt-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cbt-500/40 focus-visible:ring-offset-1","I",0,"rounded-sm underline underline-offset-2 hover:text-cbt-700 focus-visible:outline-2 focus-visible:outline-cbt-500 focus-visible:outline-offset-2","z",0,function({open:e,openMethod:i,onOpenChange:a,onReady:l,finalFocus:c,title:u,titleId:d,children:f}){let p=n.useRef(null);return(0,s.B)(l),(0,t.jsx)(o.N,{open:e,onOpenChange:a,children:(0,t.jsx)(o.d,{ref:p,initialFocus:"touch"===i?p:void 0,finalFocus:c,className:"w-[600px] max-w-[calc(100vw-2rem)] max-h-[calc(100dvh-2rem)] overflow-y-auto p-0",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3 px-6 pt-5 pb-5",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,t.jsx)(r.default,{src:"/assetshttps://www.cbtnuggets.com/images/svg/cbt-by-adept.svg",alt:"CBT Nuggets powered by Adept",width:240,height:48,className:"h-auto w-52"}),(0,t.jsx)("div",{"aria-hidden":!0,className:"my-3 h-px w-full max-w-[520px] bg-cbt-100"}),(0,t.jsx)(o.F,{id:d,className:"font-display text-lg font-medium text-cbt-800",children:u})]}),f]})})})},"q",0,function({features:e}){return(0,t.jsx)("ul",{className:"m-0 list-none p-0",children:e.map((e,n)=>(0,t.jsxs)("li",{className:(0,a.f)("grid grid-cols-[1fr_auto] items-start gap-x-3 py-1.5",n>0&&"border-t border-cbt-100"),children:[(0,t.jsxs)("div",{className:"flex min-w-0 gap-2.5",children:[(0,t.jsx)(e.Icon,{className:"mt-0.5 size-5 shrink-0 text-cbt-500","aria-hidden":!0}),(0,t.jsxs)("div",{className:"min-w-0 flex-1 flex flex-col",children:[(0,t.jsx)("p",{className:"text-sm font-semibold leading-snug text-cbt-800",children:e.title}),(0,t.jsx)("p",{className:"text-sm leading-snug text-muted-foreground",children:e.desc})]})]}),(0,t.jsx)(i.f,{className:"mt-0.5 size-5 shrink-0 text-success-600","aria-hidden":!0})]},e.id))})},"s",0,function({children:e}){return(0,t.jsx)(o.C,{className:"min-h-[2lh] text-sm leading-snug text-muted-foreground",children:e})},"w",0,function({name:e,subtitle:n,price:r}){return(0,t.jsxs)("div",{className:"flex flex-wrap items-end justify-between gap-4 border-b border-cbt-100 pb-2",children:[(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("p",{className:"font-display text-2xl font-medium leading-none text-cbt-500",children:e}),(0,t.jsx)("p",{className:"mt-1 text-sm font-medium leading-tight text-muted-foreground",children:n})]}),(0,t.jsx)("div",{className:"text-right",children:r})]})},"C",0,function({figure:e,unit:n,note:r}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"font-display text-2xl font-medium leading-none text-cbt-800 whitespace-nowrap",children:e}),(0,t.jsx)("p",{className:"mt-0.5 text-sm uppercase tracking-wide text-muted-foreground whitespace-nowrap",children:n}),(0,t.jsx)("p",{className:"mt-0.5 text-sm text-muted-foreground whitespace-nowrap",children:r})]})},"k",0,function({children:e}){return(0,t.jsx)("div",{className:"flex flex-col gap-2.5 border-t border-cbt-100 pt-2.5",children:e})},"F",0,function({trigger:e,open:n,onOpen:r,onIntent:i,ref:o}){return(0,t.jsx)("button",{ref:o,type:"button","aria-haspopup":"dialog","aria-expanded":n,"aria-label":e.ariaLabel,className:e.className,onClick:e=>r((0,s.X)(e)),onPointerEnter:i,onFocus:i,onTouchStart:i,children:e.label})}],472033),e.s(["s",0,"Team","M",0,"Trainerbot Plus"],240139)},206299,e=>{"use strict";var t=e.i(271645);e.s(["FaqDeepLinkOpener",0,function(){return(0,t.useEffect)(()=>{let e=()=>{let e,{hash:t}=window.location;if(!t.startsWith("#faq-"))return;try{e=decodeURIComponent(t.slice(1))}catch{return}let n=document.getElementById(e);n instanceof HTMLDetailsElement&&!n.open&&(n.open=!0,n.scrollIntoView())};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]),null}])},951793,e=>{"use strict";var t=e.i(843476),n=e.i(618566),r=e.i(91511),i=e.i(570590),o=e.i(540874),a=e.i(844097),s=e.i(311063),l=e.i(975157),c=e.i(338315);function u({className:e}){return(0,t.jsxs)("svg",{viewBox:"0 0 24 24",className:e,"aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 16a8 8 0 0 1 16 0Zm4.5-4.2a1.1 1.1 0 1 0 2.2 0 1.1 1.1 0 1 0-2.2 0Zm4.8 0a1.1 1.1 0 1 0 2.2 0 1.1 1.1 0 1 0-2.2 0Z"}),(0,t.jsx)("path",{d:"M7.6 9.4 5.8 6.4M16.4 9.4l1.8-3",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round"})]})}let d="inline-flex shrink-0 items-center justify-center rounded-full transition-colors",f={default:"size-12",compact:"size-11"},p={dark:"border border-white/30 bg-transparent text-white hover:bg-white/10",light:"border border-cbt-200 bg-transparent text-cbt-700 hover:border-cbt-500 hover:text-cbt-500"},m={dark:"text-cbt-100",light:"text-cbt-800"},g={default:{globe:"size-5",brand:"size-6"},compact:{globe:"size-4",brand:"size-5"}};function h({className:e}){return(0,t.jsxs)("svg",{viewBox:"6.5 7.5 24 24",className:e,"aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("path",{fill:"currentColor",d:"M24.76888,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914a10.962,10.962,0,0,0,1.51842-3.09251A4.78205,4.78205,0,0,1,24.76888,20.30068Z"}),(0,t.jsx)("path",{fill:"currentColor",d:"M22.03725,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.03725,12.21089Z"})]})}let x="Start asking for free";e.s(["StartAskingChoices",0,function({mobileApp:e,className:b,placement:v="hero",tone:y="dark",size:j="default",align:w="center",webClassName:T}){let k=(0,n.usePathname)(),C=(0,o.r)(),S=C?.status==="authenticated",E=`${v}-start-asking-label`,N=g[j],I=e=>"web"===e?(0,s.p)(`${v}-start-asking:${e}`,k):(0,s.p)(`${v}-start-asking:${e}`,k,{platform:e}),P="compact"===j;if(P&&!T)throw Error("StartAskingChoices: the compact (pricing card) form needs `webClassName` — the card grid's own button class");let R=P?"Get Started":"On the web",O=P?"Get Started: IT Trainerbot free; requires an Adept account":"On the web: start asking IT Trainerbot free; requires an Adept account",M=`${v}-start-asking-web`,A=P?(0,l.f)(d,"h-11 flex-1",T):(0,l.f)(d,"btn-gradient h-12 gap-2 px-5 text-base font-semibold text-white sm:px-6"),F=(0,c.b)(e),$=(0,c.H)(e),B=F.length>0;return(0,t.jsxs)("div",{className:(0,l.f)("flex flex-col items-center","center-lg-start"===w&&"lg:items-start","start"===w&&"items-start",b),children:[!P&&(0,t.jsx)("p",{id:E,className:(0,l.f)("text-sm font-semibold tracking-wide uppercase",m[y]),children:x}),(0,t.jsxs)("div",{role:P&&!B?void 0:"group","aria-labelledby":P?void 0:E,"aria-label":P&&B?x:void 0,"data-surfaces":["web",...F].join(","),"data-coming-soon":$.length>0?$.join(","):void 0,className:(0,l.f)("flex flex-nowrap items-center justify-center",P?"w-full gap-1.5":"mt-3 gap-2 sm:gap-3","center-lg-start"===w&&"lg:justify-start","start"===w&&"justify-start"),children:[S?(0,t.jsxs)("a",{href:i.b,"aria-label":O,"data-testid":M,className:A,onClick:()=>I("web"),children:[!P&&(0,t.jsx)(r.f,{className:N.globe,"aria-hidden":"true"}),R]}):(0,t.jsxs)(a.StartCheckoutForm,{intent:{plan:"account-only"},ctaLocation:`${v}-start-asking:web`,onStart:()=>I("web"),ariaLabel:O,testId:M,formClassName:(0,l.f)("flex shrink-0",P&&"flex-1"),className:(0,l.f)(A,P&&"w-full"),children:[!P&&(0,t.jsx)(r.f,{className:N.globe,"aria-hidden":"true"}),R]}),"live"===e.ios&&(0,t.jsx)("a",{href:i.O,target:"_blank",rel:"noopener noreferrer","aria-label":"On the iOS app: get IT Trainerbot free on the App Store",title:"On the iOS app","data-testid":`${v}-start-asking-ios`,className:(0,l.f)(d,f[j],p[y]),onClick:()=>I("ios"),children:(0,t.jsx)(h,{className:N.brand})}),"live"===e.android&&(0,t.jsx)("a",{href:i.A,target:"_blank",rel:"noopener noreferrer","aria-label":"On the Android app: get IT Trainerbot free on Google Play",title:"On the Android app","data-testid":`${v}-start-asking-android`,className:(0,l.f)(d,f[j],p[y]),onClick:()=>I("android"),children:(0,t.jsx)(u,{className:N.brand})})]}),!P&&$.length>0&&(0,t.jsxs)("p",{"data-testid":`${v}-start-asking-coming-soon`,className:(0,l.f)("mt-3 text-sm",m[y]),children:[(0,c.w)($)," ",(0,c.I)($)," coming soon."]})]})}],951793)},882677,e=>{"use strict";var t=e.i(843476),n=e.i(522016),r=e.i(768877),i=e.i(689664),o=e.i(975157),a=e.i(311901),s=e.i(844097),l=e.i(268863),c=e.i(570590);let u={lg:"text-[2.75rem]",md:"text-[2.25rem]",sm:"text-3xl"};function d({pricing:e,perSeat:n=!1,tone:r="light",size:i="md",freeDetail:a="Free with no purchase required",className:s}){let l="dark"===r,f=(0,o.f)("font-display leading-none tracking-tight",u[i],l?"text-white":"text-cbt-500"),p=(0,o.f)("whitespace-nowrap text-sm",l?"text-cbt-300":"text-muted-foreground"),m=(0,o.f)("mt-1.5 text-sm font-medium",l?"text-cbt-300":"text-cbt-700");if("free"===e.kind)return(0,t.jsxs)("div",{className:s,children:[(0,t.jsx)("div",{className:"flex items-baseline gap-1.5",children:(0,t.jsx)("span",{className:f,children:"$0"})}),(0,t.jsx)("p",{className:m,children:a})]});let g="monthly-or-annual"===e.kind?e.monthlyPrice:(0,c.a)(e.annualPrice);return(0,t.jsxs)("div",{className:s,children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:f,children:(0,c.Y)(g)}),(0,t.jsx)("span",{className:p,children:n?"per seat / mo":"per month"})]}),(0,t.jsx)("p",{className:m,children:"monthly-or-annual"===e.kind?"Billed monthly":"Billed annually"}),"monthly-or-annual"===e.kind&&(0,t.jsxs)("p",{className:(0,o.f)("mt-0.5 text-sm",l?"text-cbt-300":"text-muted-foreground"),children:["or ",(0,c.Y)(e.annualPrice)," billed annually"]})]})}var f=e.i(951793),p=e.i(290684),m=e.i(271645),g=e.i(17989),h=e.i(46420),x=e.i(733332);let b=m.createContext(void 0);function v(e){let t=m.useContext(b);if(void 0===t&&!e)throw Error((0,x.f)(47));return t}var y=e.i(174080),j=e.i(301252),w=e.i(439957),T=e.i(422428),k=e.i(641530),C=e.i(250446),S=e.i(957749),E=e.i(6304),N=e.i(264111),I=e.i(116786),P=e.i(990627),R=e.i(638396);let O={...I.j,disabled:e=>e.disabled,instantType:e=>e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,modal:e=>e.modal,focusManagerModal:e=>e.focusManagerModal,stickIfOpen:e=>e.stickIfOpen,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin};class M extends j.f{constructor(e,t,n){var r;let i=new P.f;super(function(e,t,n,r=!1){let i={...(0,I.i)(),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,stickIfOpen:!0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i.floatingRootContext=(0,I.c)(t,n,r),i}(e,i,t,n),(r=i,{popupRef:m.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:m.createRef(),beforeContentFocusGuardRef:m.createRef(),stickIfOpenTimeout:new w.U,triggerElements:r}),O)}setOpen=(e,t)=>{let n,r=t.reason===T.f.triggerHover,i=t.reason===k.f.triggerPress&&0===t.event.detail,o=!e&&(t.reason===C.f.escapeKey||null==t.reason),a=(0,N.x)(t),s=this.select("activeTriggerId");if(e||t.reason!==S.f.closePress||null!=t.trigger||null==s||(t.trigger=this.context.triggerElements.getById(s)??this.select("activeTriggerElement")??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let l=()=>{let n={open:e,openChangeReason:t.reason};(0,N.s)(n,e,t.trigger,a()),this.update(n)};r?(this.set("stickIfOpen",!0),this.context.stickIfOpenTimeout.start(R.K,()=>{this.set("stickIfOpen",!1)}),y.flushSync(l)):l(),i?n="click":o?n="dismiss":t.reason===E.f.focusOut&&(n="focus"),this.set("instantType",n)}}var A=e.i(675606),F=e.i(268765);function $({props:e}){var n;let r,{children:i,open:o,defaultOpen:a=!1,onOpenChange:s,onOpenChangeComplete:l,modal:c=!1,handle:u,triggerId:d,defaultTriggerId:f=null}=e,p=(n={modal:c,open:a,openProp:o,activeTriggerId:f,triggerIdProp:d},r=(0,N._)((e,t)=>new M(n,e,t)),m.useEffect(()=>r.context.stickIfOpenTimeout.disposeEffect(),[r]),r);p.useControlledProp("openProp",o),p.useControlledProp("triggerIdProp",d);let g=p.useState("open"),h=p.useState("mounted"),x=p.useState("payload");p.useContextCallback("onOpenChange",s),p.useContextCallback("onOpenChangeComplete",l),(0,N.e)(p,g),(0,N.z)(p);let{forceUnmount:v}=(0,N.L)(g,p,()=>{p.update({stickIfOpen:!0,openChangeReason:null})});p.useSyncedValues({modal:c}),m.useEffect(()=>{g||p.context.stickIfOpenTimeout.clear()},[p,g]),m.useImperativeHandle(e.actionsRef,()=>({unmount:v,close:()=>p.setOpen(!1,(0,A.j)(F.f.imperativeAction))}),[v,p]);let y=g||h;return(0,t.jsxs)(b.Provider,{value:p,children:[u&&(0,t.jsx)(N.d,{handle:u,store:p}),y&&(0,t.jsx)(B,{store:p,modal:c}),"function"==typeof i?i({payload:x}):i]})}function B({store:e,modal:t}){let n=e.useState("floatingRootContext"),r=(0,g.f)(n,{outsidePressEvent:{mouse:"trap-focus"===t?"sloppy":"intentional",touch:"sloppy"}}),i=r.reference,o=r.floating;return(0,N.y)(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:o}),null}var _=e.i(540886),z=e.i(405005),D=e.i(552245),H=e.i(650316),L=e.i(385689),G=e.i(872135),U=e.i(788015),q=e.i(152535),W=e.i(459636),Z=e.i(346570),V=e.i(32199);let J=m.forwardRef(function(e,n){let{render:r,className:i,style:o,disabled:a=!1,nativeButton:s=!0,handle:l,payload:c,openOnHover:u=!1,delay:d=300,closeDelay:f=0,id:p,...g}=e,h=v(!0),b=(0,W.f)(l)??h;if(!b)throw Error((0,x.f)(74));let y=(0,U.f)(p),j=b.useState("isTriggerActive",y),w=b.useState("floatingRootContext"),T=b.useState("isOpenedByTrigger",y),C=b.useState("triggerPopupId",y),S=m.useRef(null),{registerTrigger:E,isMountedByThisTrigger:I}=(0,N.F)(y,S,b,{payload:c,disabled:a,openOnHover:u,closeDelay:f}),P=b.useState("openChangeReason"),O=b.useState("stickIfOpen"),M=b.useState("openMethod"),A=b.useState("focusManagerModal"),F=(0,G.f)(w,{enabled:!a&&u&&("touch"!==M||P!==k.f.triggerPress),mouseOnly:!0,move:!1,handleClose:(0,H.f)(),restMs:d,delay:{close:f},triggerElementRef:S,isActiveTrigger:j,isClosing:()=>"ending"===b.select("transitionStatus")}),$=(0,L.f)(w,{stickIfOpen:O}),B=(0,V.p)(()=>b.select("open"),e=>{b.set("openMethod",e)}),J=b.useState("triggerProps",I),{getButtonProps:K,buttonRef:X}=(0,_.f)({disabled:a,native:s}),{preFocusGuardRef:Q,handlePreFocusGuardFocus:Y,handleFocusTargetFocus:ee}=(0,Z.f)(b,S),et=(0,D.f)("button",e,{state:{disabled:a,open:T},ref:[X,n,E,S],props:[$.reference,F,J,B,{[R.j]:"",id:y,"aria-haspopup":"dialog","aria-expanded":T,"aria-controls":C},g,K],stateAttributesMapping:{open:e=>e&&P===k.f.triggerPress?z.f.open(e):z.J.open(e)}}),en=(0,t.jsx)(m.Fragment,{children:et},y);return I&&!A?(0,t.jsxs)(m.Fragment,{children:[(0,t.jsx)(q.f,{ref:Q,onFocus:Y}),en,(0,t.jsx)(q.f,{ref:b.context.triggerFocusTargetRef,onFocus:ee})]}):en});var K=e.i(726674);let X=m.createContext(void 0),Q=m.forwardRef(function(e,n){let{keepMounted:r=!1,...i}=e;return v().useState("mounted")||r?(0,t.jsx)(X.Provider,{value:r,children:(0,t.jsx)(K.r,{ref:n,...i})}):null});var Y=e.i(144394),ee=e.i(146376);let et=m.createContext(void 0);function en(){let e=m.useContext(et);if(!e)throw Error((0,x.f)(46));return e}var er=e.i(923706),ei=e.i(426),eo=e.i(222640),ea=e.i(789579),es=e.i(33383);let el=m.forwardRef(function(e,n){let{render:r,className:i,style:o,anchor:a,positionMethod:s,side:l,align:c,sideOffset:u,alignOffset:d,collisionBoundary:f="clipping-ancestors",collisionPadding:p,arrowPadding:g,sticky:b,disableAnchorTracking:y=!1,collisionAvoidance:j=R.n,...w}=e,k=v(),C=function(){let e=m.useContext(X);if(void 0===e)throw Error((0,x.f)(45));return e}(),S=(0,h.T)(),E=k.useState("floatingRootContext"),N=k.useState("mounted"),I=k.useState("open"),P=k.useState("openChangeReason"),O=k.useState("activeTriggerElement"),M=k.useState("modal"),A=k.useState("openMethod"),F=k.useState("positionerElement"),$=k.useState("instantType"),B=k.useState("transitionStatus"),_=k.useState("adaptiveOrigin"),z=m.useRef(null),D=(0,eo.f)(F),H=(0,er.f)({anchor:a,floatingRootContext:E,positionMethod:s,mounted:N,side:l,sideOffset:u,align:c,alignOffset:d,arrowPadding:g,collisionBoundary:f,collisionPadding:p,sticky:b,disableAnchorTracking:y,keepMounted:C,nodeId:S,collisionAvoidance:j,adaptiveOrigin:_}),L=E.useState("domReferenceElement");(0,ee.f)(()=>{let e=z.current;if(L&&(z.current=L),e&&L&&L!==e){k.set("instantType",void 0);let e=new AbortController;return D(()=>{k.set("instantType","trigger-change")},e.signal),()=>{e.abort()}}},[L,D,k]);let G=!0===M&&P!==T.f.triggerHover;(0,es.f)(I&&G,"touch"===A,F,O);let U=k.useStateSetter("positionerElement"),q={open:I,side:H.side,align:H.align,anchorHidden:H.anchorHidden,instant:$},W=(0,ea.f)(e,q,{styles:H.positionerStyles,transitionStatus:B,props:w,refs:[n,U],hidden:!N,inert:!I});return(0,t.jsxs)(et.Provider,{value:H,children:[N&&G&&(0,t.jsx)(ei.f,{inert:(0,Y.f)(!I),cutout:O}),(0,t.jsx)(h.s,{id:S,children:W})]})});var ec=e.i(229315),eu=e.i(61487),ed=e.i(431157),ef=e.i(137584),ep=e.i(673327),em=e.i(96533),eg=e.i(253984),eh=e.i(667865);let ex=m.createContext(void 0),eb=m.forwardRef(function(e,n){let{render:r,className:i,style:o,initialFocus:a,finalFocus:s,...l}=e,c=v(),u=en(),d=null!=(0,em.f)(!0),{context:f,hasClosePart:p}=function(){let[e,t]=m.useState(0),n=(0,eh.f)(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:m.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}(),g=c.useState("open"),h=c.useState("openMethod"),x=c.useState("instantType"),b=c.useState("transitionStatus"),y=c.useState("popupProps"),j=c.useState("titleElementId"),w=c.useState("descriptionElementId"),k=c.useState("modal"),C=c.useState("mounted"),S=c.useState("openChangeReason"),E=c.useState("activeTriggerElement"),I=c.useState("floatingRootContext"),P=I.useState("floatingId"),R=c.useState("disabled"),O=c.useState("openOnHover"),M=c.useState("closeDelay");(0,ef.f)({open:g,ref:c.context.popupRef,onComplete(){g&&c.context.onOpenChangeComplete?.(!0)}}),(0,ed.f)(I,{enabled:O&&!R,closeDelay:M});let A=void 0===a?(0,N.H)(c.context.popupRef):a,F=!1!==k&&p;c.useSyncedValue("focusManagerModal",F);let $=c.useStateSetter("popupElement"),B={open:g,side:u.side,align:u.align,instant:x,transitionStatus:b},_=(0,D.f)("div",e,{state:B,ref:[n,c.context.popupRef,$],props:[y,{id:P,role:"dialog",...N.X,"aria-labelledby":j,"aria-describedby":w,onKeyDown(e){d&&ep.J.has(e.key)&&e.stopPropagation()}},(0,eg.f)(b),l],stateAttributesMapping:z.M});return(0,t.jsx)(eu.f,{context:I,openInteractionType:h,modal:F,disabled:!C||S===T.f.triggerHover,initialFocus:A,returnFocus:s,restoreFocus:"popup",previousFocusableElement:(0,ec.E)(E)?E:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,t.jsx)(ex.Provider,{value:f,children:_})})}),ev=m.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,a=v().useState("open"),{arrowRef:s,side:l,align:c,arrowUncentered:u,arrowStyles:d}=en();return(0,D.f)("div",e,{state:{open:a,side:l,align:c,uncentered:u},ref:[t,s],props:[{style:d,"aria-hidden":!0},o],stateAttributesMapping:z.E})}),ey=m.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,a=v(),s=(0,U.f)(o.id);return a.useSyncedValueWithCleanup("titleElementId",s),(0,D.f)("h2",e,{ref:t,props:[{id:s},o]})}),ej=m.forwardRef(function(e,t){let{render:n,className:r,style:i,...o}=e,a=v(),s=(0,U.f)(o.id);return a.useSyncedValueWithCleanup("descriptionElementId",s),(0,D.f)("p",e,{ref:t,props:[{id:s},o]})});e.s(["Arrow",0,ev,"Description",0,ej,"Popup",0,eb,"Portal",0,Q,"Positioner",0,el,"Root",0,function(e){return v(!0)?(0,t.jsx)($,{props:e}):(0,t.jsx)(h.V,{children:(0,t.jsx)($,{props:e})})},"Title",0,ey,"Trigger",0,J],466914);var ew=e.i(466914),ew=ew,eT=ew,ek=ew,eC=ew,eS=ew,eE=ew,eN=ew,eI=ew,eP=e.i(584026);function eR({tone:e="light",className:n,lead:r="Unlimited answers are subject to",trail:i="."}){return(0,t.jsxs)("span",{className:n,children:[r," ",(0,t.jsxs)(ew.Root,{children:[(0,t.jsx)(eT.Trigger,{className:(0,o.f)("inline-flex min-h-11 -my-3 items-center rounded-sm underline decoration-dotted underline-offset-2 transition-colors","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","dark"===e?"text-cbt-200 hover:text-white focus-visible:ring-cbt-300 focus-visible:ring-offset-(--surface-darker)":"text-cbt-700 hover:text-cbt-500 focus-visible:ring-cbt-500 focus-visible:ring-offset-white"),children:"fair use"}),(0,t.jsx)(ek.Portal,{children:(0,t.jsx)(eC.Positioner,{side:"top",sideOffset:8,className:"isolate z-50",children:(0,t.jsxs)(eS.Popup,{className:(0,o.f)("w-80 max-w-[calc(100vw-2rem)] rounded-xl border border-cbt-100 bg-white p-4 text-left text-sm text-cbt-800 shadow-xl","origin-(--transform-origin) transition duration-150 data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0"),children:[(0,t.jsxs)(eE.Title,{className:"flex items-center gap-2 font-display text-base font-semibold leading-tight text-cbt-800",children:[(0,t.jsx)(eP.f,{className:"size-4 shrink-0 text-cbt-500","aria-hidden":"true"}),"What “fair use” means"]}),(0,t.jsx)(eN.Description,{className:"mt-2 leading-relaxed text-muted-foreground",children:"Unlimited means unlimited for people. Fair-use limits exist to protect IT Trainerbot from bots, scripted scraping, and other malicious or automated use that would degrade answers for everyone. They are not a quota for engineers asking questions, and there is no published number because there is nothing for a person to run into."}),(0,t.jsx)(eI.Arrow,{className:"size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] border-r border-b border-cbt-100 bg-white data-[side=top]:-bottom-2.5"})]})})})]}),i]})}var eO=e.i(206917),eM=e.i(920291),eA=e.i(618566),eF=e.i(410532),e$=e.i(311063),eB=e.i(472033),e_=e.i(998082),ez=e.i(240139);let eD=m.lazy(()=>e.A(758117).then(e=>({default:e.TrainerbotPlusDialogBody})));function eH(){e.A(758117).catch(()=>void 0)}let eL=(0,eF.B)("trainerbot-plus");function eG({triggerLabel:e,triggerAriaLabel:n,triggerClassName:r}){let[i,o]=m.useState(0),a=(0,e_.A)(),{open:s,bodyOpen:l,openMethod:u,onOpenChange:d,onReady:f}=a,p=m.useRef(null),g=(0,eA.usePathname)(),h=m.useCallback(t=>{a.request(t)&&(o(e=>e+1),(0,e$.C)({ctaText:e,subscriptionName:ez.M,subscriptionPrice:c.z,page:g,intent:"open_configurator",billingPeriod:eL}))},[a,g,e]),{reset:x}=a,b=m.useCallback(()=>{x(),o(0)},[x]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eB.F,{ref:p,trigger:{label:e,ariaLabel:n,className:r},open:s,onOpen:h,onIntent:eH}),i>0?(0,t.jsx)(e_.T,{name:"trainerbot-plus-configurator",onError:b,children:(0,t.jsx)(eD,{open:l,openMethod:u,onOpenChange:d,onReady:f,finalFocus:p},i)}):null]})}var eU=e.i(896507);let eq="md:row-span-4 md:grid md:grid-rows-subgrid";function eW({label:e}){let o=c.j[e];return(0,t.jsxs)("li",{className:"flex items-start gap-2.5 text-sm text-cbt-800",children:[(0,t.jsx)(i.f,{className:"mt-0.5 size-4 shrink-0 text-success-600","aria-hidden":"true"}),o?(0,t.jsxs)(n.default,{href:o,className:"group/link inline-flex items-start gap-1 text-cbt-500 underline-offset-4 hover:underline",children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)(r.f,{className:"mt-1 size-3 shrink-0 opacity-60 transition-transform group-hover/link:translate-x-0.5","aria-hidden":"true"})]}):(0,t.jsx)("span",{children:e})]})}function eZ({tier:e,headingLevel:n,mobileApp:r}){let i=!!e.highlighted;return(0,t.jsxs)("div",{className:(0,o.f)("relative flex w-full flex-col overflow-hidden rounded-2xl border bg-white p-7 pt-10 shadow-sm",eq,i?"border-cbt-500/30 shadow-lg shadow-cbt-500/10":"border-cbt-100"),children:[i&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"absolute inset-x-0 top-0 h-1.5 bg-linear-to-r from-(--gradient-start) to-(--gradient-end)"}),(0,t.jsx)("span",{className:"absolute -top-px left-1/2 z-10 -translate-x-1/2 whitespace-nowrap rounded-b-lg btn-gradient px-4 py-1.5 text-sm font-semibold text-white shadow-sm",children:"Most Popular"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(n,{id:`tier-heading-${e.id}`,className:"font-display text-xl leading-tight",children:e.name}),(0,t.jsx)("p",{className:"mt-2 text-base leading-snug text-muted-foreground",children:(0,eO.l)(e.tagline,{surface:`tier-card:${e.id}`})})]}),(0,t.jsx)("div",{className:"mt-4",children:(0,t.jsx)(d,{pricing:e.pricing,perSeat:e.perSeat,size:"sm",freeDetail:"Free with an Adept account"})}),(0,t.jsxs)("div",{className:"mt-4 flex-1 border-t border-cbt-100 pt-4",children:[e.everythingIn&&(0,t.jsxs)("p",{className:"mb-2.5 text-base font-semibold text-cbt-800",children:["Everything in"," ",(0,eO.l)(e.everythingIn,{surface:`tier-card:${e.id}`}),", plus:"]}),(0,t.jsx)("ul",{className:"space-y-2.5",children:e.features.map(e=>(0,t.jsx)(eW,{label:e},e))}),e.footnote===p.x?(0,t.jsx)("p",{className:"mt-3 text-base leading-snug text-muted-foreground",children:(0,t.jsx)(eR,{})}):e.footnote&&(0,t.jsx)("p",{className:"mt-3 text-base leading-snug text-muted-foreground",children:e.footnote})]}),(0,t.jsx)(eJ,{tier:e,mobileApp:r})]})}let eV="inline-flex h-11 w-full items-center justify-center gap-1.5 rounded-full border border-cbt-200 text-sm font-semibold text-cbt-700 transition-colors hover:border-cbt-500 hover:text-cbt-500";function eJ({tier:e,mobileApp:n}){switch(e.id){case"trainerbot":return(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(f.StartAskingChoices,{mobileApp:n,placement:"pricing",tone:"light",size:"compact",webClassName:eV})});case"trainerbot-plus":return(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(eG,{triggerLabel:"Get Started",triggerAriaLabel:`Get Started: ${e.name}`,triggerClassName:(0,o.f)(eV,"cursor-pointer")})});case"individual":return(0,t.jsx)("div",{className:"mt-6 space-y-3",children:(0,t.jsx)(s.StartCheckoutForm,{intent:{plan:"individual"},subscriptionCta:{ctaText:"Get Started",subscriptionName:"Individual",subscriptionPrice:c.f},ctaLocation:"trainerbot-tier:individual",ariaLabel:"Get Started: CBT Nuggets Individual checkout",className:eV,children:"Get Started"})});case"team":return(0,t.jsxs)("div",{className:"mt-6 space-y-3",children:[(0,t.jsx)(eM.GetStartedDialog,{triggerLabel:"Get Started",triggerAriaLabel:`Get Started: ${e.name}`,triggerClassName:(0,o.f)("inline-flex h-11 w-full items-center justify-center gap-1.5 rounded-full text-sm font-semibold transition-all btn-gradient text-white","cursor-pointer")}),(0,t.jsx)(l.TrackedLink,{href:eU.h,location:"pricing-teams-card:quote",ariaDescribedBy:`tier-heading-${e.id}`,className:"block text-center text-sm font-medium text-cbt-500 underline underline-offset-4 hover:text-cbt-700",children:eU.f.quote})]})}}e.s(["TrainerbotTierCards",0,function({mobileApp:e,className:n,headingLevel:r="h2"}){return(0,t.jsx)("div",{className:n,children:(0,t.jsx)("div",{className:"grid items-stretch gap-x-6 gap-y-6 md:grid-cols-2 md:grid-rows-[auto_auto_1fr_auto] md:gap-y-0 xl:grid-cols-4",children:p.v.map((n,i)=>(0,t.jsx)(a.f,{delay:80*i,className:(0,o.f)("flex md:mb-6",eq),children:(0,t.jsx)(eZ,{tier:n,headingLevel:r,mobileApp:e})},n.id))})})}],882677)},206917,e=>{"use strict";var t=e.i(843476),n=e.i(768877),r=e.i(268863),i=e.i(975157);let o="/trainerbot",a=/IT[ \u00A0]Trainerbot(?:[ \u00A0]Plus)?/g;function s(e){return a.lastIndex=0,a.test(e)}let l={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 c({surface:e,tone:n="light",className:a,children:s}){return(0,t.jsx)(r.TrackedLink,{href:o,location:`trainerbot-term:${e}`,className:(0,i.f)(l[n],a),children:s})}let u={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:a="light",className:s}){return(0,t.jsxs)(r.TrackedLink,{href:o,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",u[a],s),children:["Learn more"," ",(0,t.jsx)("span",{className:"sr-only",children:"about IT Trainerbot"}),(0,t.jsx)(n.f,{className:"size-3.5","aria-hidden":"true"})]})},"h",0,c,"w",0,s,"l",0,function(e,n){if(!s(e))return e;let r=[],i=0;for(let o of(a.lastIndex=0,e.matchAll(a))){let a=o.index;a>i&&r.push(e.slice(i,a)),r.push((0,t.jsx)(c,{...n,children:o[0]},`${a}-${o[0]}`)),i=a+o[0].length}return i{"use strict";var t=e.i(843476),n=e.i(522016),r=e.i(271645),i=e.i(117213);e.s(["CtaLink",0,function({describedBy:e,children:o,...a}){let s=(0,r.useRef)(null);return(0,i.f)(s,e),(0,t.jsx)(n.default,{ref:s,"aria-describedby":e,...a,children:o})}])},776639,e=>{"use strict";var t=e.i(843476),n=e.i(526323),r=e.i(998218),i=e.i(921637),o=e.i(209977),a=e.i(141708),s=e.i(593480),l=e.i(309169),c=e.i(152744),u=e.i(975157),d=e.i(519455),f=e.i(560964);function p({...e}){return(0,t.jsx)(o.f.Portal,{"data-slot":"dialog-portal",...e})}function m({className:e,...n}){return(0,t.jsx)(a.f.Backdrop,{"data-slot":"dialog-overlay",className:(0,u.f)("fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",e),...n})}e.s(["N",0,function({...e}){return(0,t.jsx)(n.f.Root,{"data-slot":"dialog",...e})},"d",0,function({className:e,children:n,...r}){return(0,t.jsxs)(p,{children:[(0,t.jsx)(m,{}),(0,t.jsxs)(s.f.Popup,{"data-slot":"dialog-content",className:(0,u.f)("fixed top-1/2 left-1/2 z-50 -translate-x-1/2 -translate-y-1/2 rounded-lg border bg-popover p-6 text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:scale-95 data-ending-style:opacity-0 data-starting-style:scale-95 data-starting-style:opacity-0","w-[calc(100%-2rem)] max-w-2xl max-h-[85vh] overflow-y-auto",e),...r,children:[n,(0,t.jsxs)(i.f.Close,{"data-slot":"dialog-close",render:(0,t.jsx)(d.K,{variant:"ghost",className:"absolute top-3 right-3",size:"icon-sm"}),children:[(0,t.jsx)(f.f,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"C",0,function({className:e,...n}){return(0,t.jsx)(c.f.Description,{"data-slot":"dialog-description",className:(0,u.f)("text-sm text-muted-foreground",e),...n})},"s",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,u.f)("flex flex-col gap-1 pr-8",e),...n})},"F",0,function({className:e,...n}){return(0,t.jsx)(l.f.Title,{"data-slot":"dialog-title",className:(0,u.f)("font-heading text-base font-medium text-foreground",e),...n})},"a",0,function({...e}){return(0,t.jsx)(r.f.Trigger,{"data-slot":"dialog-trigger",...e})}])},290684,e=>{"use strict";var t=e.i(570590),n=e.i(338315);let r="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"},o=[[i.aside," "],[i.tail,""],[i.inPlatformOrMobile,"in the platform"],[i.inPlatformAndMobile,"in the platform"],[i.onMobileAndIn,"in"]],a=[{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:r},{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,r,"n",0,i,"v",0,a,"B",0,function(e){let t=a.find(t=>t.id===e);if(!t)throw Error(`Unknown IT Trainerbot tier: ${e}`);return t},"q",0,function(e){let t=(0,n.b)(e),r=(0,n.H)(e),i=t.length>0,o=r.length>0?`, with ${(0,n.e)(r)} coming soon`:"",a=i?`on the CBT Nuggets platform and in ${(0,n.e)(t)}${o}`:`on the CBT Nuggets platform${o}`,s=i?`now on ${(0,n.R)(t)}${o}`:r.length>0?`coming soon to ${(0,n.R)(r)}`:"";return{onPlatform:a,onPlatformSentence:`O${a.slice(1)}`,inPlatformApps:i?`in the CBT Nuggets platform and in ${(0,n.e)(t)}${o}`:`in the CBT Nuggets platform${o}`,nowOn:s,nowOnSentence:s?s.charAt(0).toUpperCase()+s.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=>n.f[e])].join(", ")}},"I",0,function(e,t){if((0,n.b)(t).length>0)return e;let r=e;for(let[e,t]of o)r=r.split(e).join(t);return r}])},338315,e=>{"use strict";let t=["ios","android"],n={ios:"iOS",android:"Android"};function r(e){return 0===e.length?"":1===e.length?`the ${n[e[0]]} app`:`the ${e.map(e=>n[e]).join(" and ")} apps`}e.s(["f",0,n,"$",0,{ios:"App Store",android:"Google Play"},"e",0,r,"w",0,function(e){let t=r(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=>n[e]).join(" and ")},"V",0,function(e){return t.filter(t=>"hidden"!==e[t])}])}]);