(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,431157,e=>{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),l=e.i(439957),s=e.i(229315),u=e.i(675606),c=e.i(422428),f=e.i(46420),d=e.i(647554),p=e.i(958408),m=e.i(673752),h=e.i(596296),g=e.i(944681),v=e.i(994814);e.s(["f",0,function(e,b={}){let{enabled:x=!0,closeDelay:y=0,nodeId:E}=b,w="rootStore"in e?e.rootStore:e,k=w.useState("open"),C=w.useState("floatingElement"),T=w.useState("domReferenceElement"),{dataRef:S}=w.context,M=(0,f.$)(),I=(0,f.G)(),R=(0,m.s)(w),O=(0,l.e)(),j=(0,a.f)(()=>(0,g.a)(S.current.openEvent?.type,R.interactedInside)),P=(0,a.f)(()=>(0,g.j)(S.current.openEvent?.type)),N=(0,a.f)(()=>{(0,m.O)(R)});(0,i.f)(()=>{k||(R.pointerType=void 0,R.restTimeoutPending=!1,R.interactedInside=!1,N())},[k,R,N]),t.useEffect(()=>N,[N]),(0,i.f)(()=>{if(x&&k&&R.handleCloseOptions?.blockPointerEvents&&P()&&(0,s.m)(T)&&C){let e=(0,o.f)(C),t=M?.nodesRef.current.find(e=>e.id===I)?.context?.elements.floating;t&&(t.style.pointerEvents="");let n=R.pointerEventsScopeElement!==C?R.pointerEventsScopeElement:null,r=t!==C?t:null,i=R.handleCloseOptions?.getScope?.()??n??r??T.closest("[data-rootownerid]")??e.body;return(0,m.p)(R,{scopeElement:i,referenceElement:T,floatingElement:C}),()=>{N()}}},[x,k,T,C,R,P,M,I,N]),t.useEffect(()=>{if(x)return(0,r.f)(C&&(0,n.f)(C,"mouseenter",function(){R.openChangeTimeout.clear(),O.clear(),M?.events.off("floating.closed",t),N()}),C&&(0,n.f)(C,"mouseleave",function(n){if(e()&&M)return void M.events.on("floating.closed",t);if((0,v.f)(n.relatedTarget,w.context.triggerElements))return;let r=S.current.floatingContext?.nodeId??E,i=n.relatedTarget;if(!(M&&r&&(0,s.m)(i)&&(0,p.Q)(M.nodesRef.current,r,!1).some(e=>(0,d.I)(e.context?.elements.floating,i)))){let e,t;if(R.handler)return void R.handler(n);N(),P()&&!j()&&(e=(0,g.c)(y,"close",R.pointerType),t=()=>{w.setOpen(!1,(0,u.j)(c.f.triggerHover,n)),M?.events.emit("floating.closed",n)},e?R.openChangeTimeout.start(e,t):(R.openChangeTimeout.clear(),t()))}}),C&&(0,n.f)(C,"pointerdown",function(e){let t=(0,d.Z)(e);if(!(0,h.W)(t)){R.interactedInside=!1;return}R.interactedInside=t?.closest("[aria-haspopup]")!=null},!0),()=>{M?.events.off("floating.closed",t)});function e(){return!!(M&&I&&(0,p.Q)(M.nodesRef.current,I).length>0)}function t(n){!M||!I||e()||O.start(0,()=>{M.events.off("floating.closed",t),w.setOpen(!1,(0,u.j)(c.f.triggerHover,n)),M.events.emit("floating.closed",n)})}},[x,C,w,S,y,E,P,j,N,R,M,I,O])}])},673752,e=>{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,l=o.get(n);l&&l!==e&&a(l),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=>{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),l=e.i(446265),s=e.i(229315),u=e.i(675606),c=e.i(422428),f=e.i(46420),d=e.i(647554),p=e.i(157940),m=e.i(673752),h=e.i(944681),g=e.i(994814);let v={current:null};e.s(["f",0,function(e,b={}){let{enabled:x=!0,delay:y=0,handleClose:E=null,mouseOnly:w=!1,restMs:k=0,move:C=!0,triggerElementRef:T=v,externalTree:S,isActiveTrigger:M=!0,getHandleCloseContext:I,isClosing:R,shouldOpen:O,guardStaleOpen:j=!1}=b,P="rootStore"in e?e.rootStore:e,{dataRef:N,events:A}=P.context,$=(0,f.$)(S),_=(0,m.s)(P),B=t.useRef(!1),F=(0,l.f)(E),L=(0,l.f)(y),z=(0,l.f)(k),D=(0,l.f)(x),H=(0,l.f)(O),W=(0,l.f)(R),q=(0,a.f)(()=>(0,h.a)(N.current.openEvent?.type,_.interactedInside)),U=(0,a.f)(()=>H.current?.()!==!1),V=(0,a.f)((e,t,n)=>{let r=P.context.triggerElements;return r.hasElement(t)?!e||!(0,d.I)(e,t):!!(0,s.m)(n)&&r.hasMatchingElement(e=>(0,d.I)(e,n))&&(!e||!(0,d.I)(e,n))}),G=(0,a.f)(()=>{_.handler&&((0,o.f)(P.select("domReferenceElement")).removeEventListener("mousemove",_.handler),_.handler=void 0)}),Z=(0,a.f)(()=>{(0,m.O)(_)});return M&&(_.handleCloseOptions=F.current?.__options),t.useEffect(()=>G,[G]),t.useEffect(()=>{if(x)return A.on("openchange",e),()=>{A.off("openchange",e)};function e(e){e.open?B.current=!1:(B.current=e.reason===c.f.triggerHover,G(),_.openChangeTimeout.clear(),_.restTimeout.clear(),_.blockMouseMove=!0,_.restTimeoutPending=!1)}},[x,A,_,G]),t.useEffect(()=>{if(!x)return;function e(t,n=!0){let r=(0,h.c)(L.current,"close",_.pointerType);r?_.openChangeTimeout.start(r,()=>{P.setOpen(!1,(0,u.j)(c.f.triggerHover,t)),$?.events.emit("floating.closed",t)}):n&&(_.openChangeTimeout.clear(),P.setOpen(!1,(0,u.j)(c.f.triggerHover,t)),$?.events.emit("floating.closed",t))}let t=T.current??(M?P.select("domReferenceElement"):null);if(!(0,s.m)(t))return;function n(e){if(_.openChangeTimeout.clear(),_.blockMouseMove=!1,w&&!(0,p.J)(_.pointerType))return;let t=(0,h.Z)(z.current),n=(0,h.c)(L.current,"open",_.pointerType),r=(0,d.Z)(e),i=e.currentTarget??null,o=P.select("domReferenceElement"),a=i;if((0,s.m)(r)&&!P.context.triggerElements.hasElement(r)){for(let e of P.context.triggerElements.elements())if((0,d.I)(e,r)){a=e;break}}(0,s.m)(i)&&(0,s.m)(o)&&!P.context.triggerElements.hasElement(i)&&(0,d.I)(i,o)&&(a=o);let l=null!=a&&V(o,a,r),f=P.select("open"),m=W.current?.()??"ending"===P.select("transitionStatus"),g=!f&&m&&B.current,v=!l&&(0,s.m)(a)&&(0,s.m)(o)&&(0,d.I)(o,a)&&g,b=t>0&&!n,x=!f||l;if(l&&(f||g)||v){U()&&P.setOpen(!0,(0,u.j)(c.f.triggerHover,e,a));return}!b&&(n?_.openChangeTimeout.start(n,()=>{x&&U()&&P.setOpen(!0,(0,u.j)(c.f.triggerHover,e,a))}):x&&U()&&P.setOpen(!0,(0,u.j)(c.f.triggerHover,e,a)))}function a(t){if(q())return void Z();G();let n=P.select("domReferenceElement"),r=(0,o.f)(n);_.restTimeout.clear(),_.restTimeoutPending=!1;let i=N.current.floatingContext??I?.();if(!(0,g.f)(t.relatedTarget,P.context.triggerElements)){if(F.current&&i){P.select("open")||_.openChangeTimeout.clear();let n=T.current;_.handler=F.current({...i,tree:$,x:t.clientX,y:t.clientY,onClose(){Z(),G(),D.current&&!q()&&n===P.select("domReferenceElement")&&e(t,!0)}}),r.addEventListener("mousemove",_.handler),_.handler(t);return}"touch"===_.pointerType&&(0,d.I)(P.select("floatingElement"),t.relatedTarget)||e(t)}}let l=j?(0,r.f)(t,"mouseout",function(e){(0,d.I)(t,e.relatedTarget)||(_.openChangeTimeout.clear(),_.restTimeout.clear(),_.restTimeoutPending=!1)}):void 0;return C?(0,i.f)((0,r.f)(t,"mousemove",n,{once:!0}),(0,r.f)(t,"mouseenter",n),(0,r.f)(t,"mouseleave",a),l):(0,i.f)((0,r.f)(t,"mouseenter",n),(0,r.f)(t,"mouseleave",a),l)},[G,Z,N,L,P,x,F,_,M,V,q,w,C,z,T,$,D,I,W,U,j]),t.useMemo(()=>{if(x)return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e,r=e.currentTarget,i=P.select("domReferenceElement"),o=P.select("open"),a=V(i,r,e.target);if(w&&!(0,p.J)(_.pointerType))return;if(o&&a&&_.handleCloseOptions?.blockPointerEvents){let e=P.select("floatingElement");if(e){let t=_.handleCloseOptions?.getScope?.()??r.ownerDocument.body;(0,m.p)(_,{scopeElement:t,referenceElement:r,floatingElement:e})}}let l=(0,h.Z)(z.current);function s(){if(_.restTimeoutPending=!1,q())return;let e=P.select("open");!_.blockMouseMove&&(!e||a)&&U()&&P.setOpen(!0,(0,u.j)(c.f.triggerHover,t,r))}(!o||a)&&0!==l&&(!a&&_.restTimeoutPending&&e.movementX**2+e.movementY**2<2||(_.restTimeout.clear(),"touch"===_.pointerType?n.flushSync(()=>{s()}):a&&o?s():(_.restTimeoutPending=!0,_.restTimeout.start(l,s))))}};function e(e){_.pointerType=e.pointerType}},[x,_,q,V,w,P,z,U])}])},944681,e=>{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=>{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 l(e,t,n,r,i,o,l,s,u,c){let f=!1;return a(e,t,n,r,i,o)&&(f=!f),a(e,t,i,o,l,s)&&(f=!f),a(e,t,l,s,u,c)&&(f=!f),a(e,t,u,c,n,r)&&(f=!f),f}function s(e,t,n,r,i,o){let a=Math.min(n,i),l=Math.max(n,i),s=Math.min(r,o),u=Math.max(r,o);return e>=a&&e<=l&&t>=s&&t<=u}e.s(["f",0,function(e={}){let{blockPointerEvents:a=!1}=e,u=new n.U,c=({x:e,y:n,placement:a,elements:c,onClose:f,nodeId:d,tree:p})=>{let m=a?.split("-")[0],h=!1,g=null,v=null,b="u">typeof performance?performance.now():0;return function(a){u.clear();let x=c.domReference,y=c.floating;if(!x||!y||null==m||null==e||null==n)return;let{clientX:E,clientY:w}=a,k=(0,r.Z)(a),C="mouseleave"===a.type,T=(0,r.I)(y,k),S=(0,r.I)(x,k);if(T&&(h=!0,!C))return;if(S&&(h=!1,!C)){h=!0;return}if(C&&(0,t.m)(a.relatedTarget)&&(0,r.I)(y,a.relatedTarget))return;function M(){return!!(p&&(0,i.Q)(p.nodesRef.current,d).length>0)}function I(){M()||(u.clear(),f())}if(M())return;let R=x.getBoundingClientRect(),O=y.getBoundingClientRect(),j=e>O.right-O.width/2,P=n>O.bottom-O.height/2,N=O.width>R.width,A=O.height>R.height,$=(N?R:O).left,_=(N?R:O).right,B=(A?R:O).top,F=(A?R:O).bottom;if("top"===m&&n>=R.bottom-1||"bottom"===m&&n<=R.top+1||"left"===m&&e>=R.right-1||"right"===m&&e<=R.left+1)return void I();let L=!1;switch(m){case"top":L=s(E,w,$,R.top+1,_,O.bottom-1);break;case"bottom":L=s(E,w,$,O.top+1,_,R.bottom-1);break;case"left":L=s(E,w,O.right-1,F,R.left+1,B);break;case"right":L=s(E,w,R.right-1,F,O.left+1,B)}if(L)return;if(h&&(!(E>=R.x)||!(E<=R.x+R.width)||!(w>=R.y)||!(w<=R.y+R.height))||!C&&function(e,t){let n=performance.now(),r=n-b;if(null===g||null===v||0===r)return g=e,v=t,b=n,!1;let i=e-g,a=t-v;return g=e,v=t,b=n,i*i+a*a{var t=e.i(596296);e.s(["f",()=>t.x])},743024,e=>{e.s(["f",0,function(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}])},201675,e=>{e.s(["f",0,function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}])},53687,e=>{var t=e.i(271645),n=e.i(388940),r=e.i(667865),i=e.i(146376),o=e.i(545356),a=e.i(843476);function l(){return new Map}function s(){return new Set}function u(e,t){return e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}e.s(["f",0,function(e){let{children:c,elementsRef:f,labelsRef:d,onMapChange:p}=e,m=(0,r.f)(p),[,h]=t.useState(!1),g=(0,n.useRefWithInit)(s).current,v=(0,n.useRefWithInit)(l).current,b=t.useRef(0),x=t.useRef(!0),y=t.useRef([]),E=t.useRef(null),w=(0,r.f)(()=>{x.current||(x.current=!0,h(e=>!e))}),k=(0,r.f)((e,t)=>{v.set(e,t),w()}),C=(0,r.f)(e=>{v.delete(e),w()}),T=(0,r.f)(e=>{let t=new Map;return f.current.length=0,d&&(d.current.length=0),e.forEach(e=>{t.set(e.element,{...e.registration.metadata??{},index:e.index}),f.current[e.index]=e.element,d&&(d.current[e.index]=void 0!==e.registration.label?e.registration.label:e.registration.textRef?.current?.textContent??e.element.textContent)}),b.current=f.current.length,t}),S=(0,r.f)(()=>{var e;let t,n,r,i,[o,a]=(e=v,t=new Set,n=[],r=[],e.forEach((e,i)=>{if(!i.isConnected)return;let o=e.index,a={index:o??-1,element:i,registration:e};null===o?r.push(a):o>=0&&(t.add(o),n.push(a))}),i=0,r.sort((e,t)=>u(e.element,t.element)),r.forEach(e=>{for(;t.has(i);)i+=1;e.index=i,n.push(e),i+=1}),t.size>0&&n.sort((e,t)=>e.index-t.index),[n,r.map(e=>e.element)]),l=T(o);!function(e){if(E.current?.disconnect(),E.current=null,"function"!=typeof MutationObserver||e.length<2)return;let t=new MutationObserver(n=>{if(!function(e){for(let t of e)for(let e=0;e0){t.disconnect(),w();return}r=n}});E.current=t;let n=new Set;for(let t=1;tt.observe(e,{childList:!0}))}(a),y.current=o,x.current=!1,g.forEach(e=>e(l)),m(l)});(0,i.f)(()=>(x.current||T(y.current),()=>{f.current=[],d&&(d.current=[])}),[f,d,T]),(0,i.f)(()=>{x.current&&S()}),(0,i.f)(()=>()=>{E.current?.disconnect(),x.current=!0},[]);let M=(0,r.f)(e=>(g.add(e),()=>{g.delete(e)})),I=t.useMemo(()=>({register:k,unregister:C,subscribeMapChange:M,nextIndexRef:b}),[k,C,M,b]);return(0,a.jsx)(o.i.Provider,{value:I,children:c})}])},545356,e=>{e.i(247167);var t=e.i(271645);let n=t.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},nextIndexRef:{current:0}});e.s(["i",0,n,"Q",0,function(){return t.useContext(n)}])},673553,e=>{var t=e.i(271645),n=e.i(146376),r=e.i(545356);e.s(["f",0,function(e={}){let{guess:i,label:o,metadata:a,textRef:l,index:s}=e,{register:u,unregister:c,subscribeMapChange:f,nextIndexRef:d}=(0,r.Q)(),p=t.useRef(-1),[m,h]=t.useState(null==s&&i?()=>{if(-1===p.current){let e=d.current;d.current+=1,p.current=e}return p.current}:-1),g=s??m,v=t.useRef(null),b=t.useCallback(e=>{let t=v.current;t&&c(t),v.current=e,e&&u(e,{metadata:a??null,index:s??null,label:o,textRef:l})},[s,u,c,a,o,l]);return(0,n.f)(()=>{if(null==s)return f(e=>{let t=v.current?e.get(v.current)?.index:null;null!=t&&h(t)})},[s,f]),{ref:b,index:g}}])},872855,e=>{e.i(247167);var t=e.i(271645);let n=t.createContext(void 0);e.s(["f",0,function(){let e=t.useContext(n);return e?.direction??"ltr"}])},469690,875812,381104,e=>{var t=e.i(733332),n=e.i(271645),r=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},o={disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1};e.s(["q",0,o,"t",0,i,"s",0,{valid:e=>null===e?null:e?{"data-valid":""}:{"data-invalid":""}}],875812);let a={invalid:void 0,name:void 0,validityData:{state:i,errors:[],error:"",value:"",initialValue:null},setValidityData:r.x,disabled:void 0,setTouched:r.x,setDirty:r.x,setFilled:r.x,setFocused:r.x,validationMode:"onSubmit",shouldValidateOnChange:()=>!1,state:o,registerFieldControl:r.x,validation:{getValidationProps:(e,t=r.w)=>t,inputRef:{current:null},registeredInputs:new Map,registerInput:r.x,getInputControl:()=>null,commit:async()=>{},change:r.x}},l=n.createContext(a);function s(e=!0){let i=n.useContext(l);if(i.setValidityData===r.x&&!e)throw Error((0,t.f)(28));return i}e.s(["f",0,s],469690);var u=e.i(146376),c=e.i(388940);e.s(["f",0,function(e,t,n,r,i=!0,o){let{registerFieldControl:a}=s(),l=(0,c.useRefWithInit)(()=>Symbol());(0,u.f)(()=>{let s=l.current;i?a(s,{controlRef:e,getValue:r,id:t,name:o,value:n}):a(s,void 0)},[e,i,r,t,o,a,l,n]),(0,u.f)(()=>{let e=l.current;return()=>{a(e,void 0)}},[a,l])}],381104)},884708,e=>{e.i(247167);var t=e.i(271645),n=e.i(956789);let r=t.createContext({elementRef:{current:null},formRef:{current:{fields:new Map}},errors:{},clearErrors:n.x,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});e.s(["f",0,function(){return t.useContext(r)}])},253984,e=>{var t=e.i(956789),n=e.i(638396);e.s(["f",0,function(e){return"starting"===e?n.e:t.w}])},538489,247778,e=>{var t=e.i(271645),n=e.i(146376),r=e.i(667865),i=e.i(388940),o=e.i(229315),a=e.i(956789),l=e.i(788015);let s=t.createContext({controlId:void 0,registerControlId:a.x,labelId:void 0,setLabelId:a.x,messageIds:[],setMessageIds:a.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:c=!1,controlRef:f}=e,{controlId:d,registerControlId:p}=u(),m=(0,l.f)(s),h=c?d:void 0,g=(0,i.useRefWithInit)(()=>Symbol()),v=t.useRef(!1),b=t.useRef(null!=s),x=(0,r.f)(()=>{v.current&&p!==a.x&&(v.current=!1,p(g.current,void 0))});return(0,n.f)(()=>{let e;if(p!==a.x){if(c){let t=f?.current;e=(0,o.m)(t)&&null!=t.closest("label")?s??null:h??m}else if(null!=s)b.current=!0,e=s;else{if(!b.current)return void x();e=m}if(void 0===e)return void x();v.current=!0,p(g.current,e)}},[s,f,h,p,c,m,g,x]),t.useEffect(()=>x,[x]),d??m}],538489)},923706,e=>{var t=e.i(271645),n=e.i(343084),r=e.i(108868),i=e.i(333848),o=e.i(146376),a=e.i(446265),l=e.i(667865),s=e.i(953760),u=e.i(258950),c=e.i(229315),f=e.i(46420);function d(e){return function(e,n){let{nodeId:r,externalTree:i}=e,a=n.useState("referenceElement"),l=n.useState("floatingElement"),s=n.useState("domReferenceElement"),d=n.useState("open"),p=n.useState("floatingId"),[m,h]=t.useState(null),[g,v]=t.useState(void 0),[b,x]=t.useState(void 0),y=t.useRef(null),E=(0,f.$)(i),w=t.useMemo(()=>({reference:a,floating:l,domReference:s}),[a,l,s]),k=(0,u.E)({...e,elements:{...w,...m&&{reference:m}}}),C=(0,c.m)(g)?g:null,T=void 0===b?n.state.floatingElement:b;n.useSyncedValue("referenceElement",g??null),n.useSyncedValue("domReferenceElement",void 0===g?s:C),n.useSyncedValue("floatingElement",T);let S=t.useCallback(e=>{let t=(0,c.m)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;h(t),k.refs.setReference(t)},[k.refs]),M=t.useCallback(e=>{((0,c.m)(e)||null===e)&&(y.current=e,v(e)),((0,c.m)(k.refs.reference.current)||null===k.refs.reference.current||null!==e&&!(0,c.m)(e))&&k.refs.setReference(e)},[k.refs,v]),I=t.useCallback(e=>{x(e),k.refs.setFloating(e)},[k.refs]),R=t.useMemo(()=>({...k.refs,setReference:M,setFloating:I,setPositionReference:S,domReference:y}),[k.refs,M,I,S]),O=t.useMemo(()=>({...k.elements,domReference:s}),[k.elements,s]),j=t.useMemo(()=>({...k,dataRef:n.context.dataRef,open:d,onOpenChange:n.setOpen,events:n.context.events,floatingId:p,refs:R,elements:O,nodeId:r,rootStore:n}),[k,R,O,r,n,d,p]);return(0,o.f)(()=>{s&&(y.current=s)},[s]),(0,o.f)(()=>{n.context.dataRef.current.floatingContext=j;let e=E?.nodesRef.current.find(e=>e.id===r);e&&(e.context=j)}),t.useMemo(()=>({...k,context:j,refs:R,elements:O,rootStore:n}),[k,R,O,j,n])}(e,e.rootContext)}var p=e.i(872855);let m={name:"hide",async fn(e){let{width:t,height:n,x:r,y:i}=e.rects.reference,o=await e.platform.detectOverflow(e,{elementContext:"reference"});return{data:{referenceHidden:o.top-n>=0||o.right-t>=0||o.bottom-n>=0||o.left-t>=0||0===t&&0===n&&0===r&&0===i}}}},h={sideX:"left",sideY:"top"},g="--available-width",v="--available-height";function b(e,t,n){let r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?n?"inline-start":"inline-end":"right",bottom:"bottom",left:r?n?"inline-end":"inline-start":"left"})[t]}function x(e,t,r){let{rects:i,placement:o}=e;return{side:b(t,(0,n.m)(o),r),align:(0,n.R)(o)||"center",anchor:{width:i.reference.width,height:i.reference.height},positioner:{width:i.floating.width,height:i.floating.height}}}function y(e){return null!=e&&"current"in e}e.s(["f",0,function(e){return function(e,c){var f,d;let{anchor:E,positionMethod:w="absolute",side:k="bottom",sideOffset:C=0,align:T="center",alignOffset:S=0,collisionBoundary:M,collisionPadding:I=5,sticky:R=!1,arrowPadding:O=5,disableAnchorTracking:j=!1,inline:P,keepMounted:N=!1,floatingRootContext:A,mounted:$,collisionAvoidance:_,shift:B,nodeId:F,adaptiveOrigin:L,lazyFlip:z=!1,externalTree:D}=e,[H,W]=t.useState(null);$||null===H||W(null);let q=_.side||"flip",U=_.align||"flip",V=_.fallbackAxisSide||"end",G=B?.crossAxis??!1,Z=B?.rootBoundary,Q="function"==typeof E?E:void 0,X=(0,l.f)(Q),Y=Q?X:E,J=(0,a.f)(E),K=(0,a.f)($),ee="rtl"===(0,p.f)(),et=H||({top:"top",right:"right",bottom:"bottom",left:"left","inline-end":ee?"left":"right","inline-start":ee?"right":"left"})[k],en="center"===T?et:`${et}-${T}`,er=I;"number"==typeof er?er={top:er,right:er,bottom:er,left:er}:er&&(er={top:er.top||0,right:er.right||0,bottom:er.bottom||0,left:er.left||0});let ei=+("bottom"===k),eo=+("top"===k),ea=+("right"===k),el=+("left"===k),es={boundary:"clipping-ancestors"===M?"clippingAncestors":M,padding:er},eu=t.useRef(null),ec=(0,a.f)(C),ef=(0,a.f)(S),ed="function"!=typeof C?C:0,ep="function"!=typeof S?S:0,em=[];P&&em.push(P),em.push((0,u.T)(e=>{let t=x(e,k,ee),n="function"==typeof ec.current?ec.current(t):ec.current,r="function"==typeof ef.current?ef.current(t):ef.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},[ed,ep,ee,k]));let eh="none"===U&&"shift"!==q,eg=!eh&&(R||G||"shift"===q),ev="none"===q?null:(0,u.x)({...es,padding:{top:er.top+1+ei,right:er.right+1+el,bottom:er.bottom+1+eo,left:er.left+1+ea},mainAxis:!G&&"flip"===q,crossAxis:"flip"===U&&"alignment",fallbackAxisSideDirection:V}),eb=eh?null:(0,u.e)({...es,rootBoundary:Z,mainAxis:"none"!==U,crossAxis:eg,limiter:R||G?void 0:(0,u.n)(e=>{if(!eu.current)return{};let{width:t,height:r}=eu.current.getBoundingClientRect(),i=(0,n.$)((0,n.m)(e.placement)),o="y"===i?er.left+er.right:er.top+er.bottom;return{offset:("y"===i?t:r)/2+o/2}})},[es,R,G,Z,er,U]);"shift"===q||"shift"===U||"center"===T?em.push(eb,ev):em.push(ev,eb),em.push((0,u.o)({...es,apply({elements:{floating:e},availableWidth:t,availableHeight:n,rects:r}){if(!K.current)return;let o=e.style;o.setProperty(g,`${t}px`),o.setProperty(v,`${n}px`);let a=(0,i.f)(e).devicePixelRatio||1,{x:l,y:s,width:u,height:c}=r.reference,f=(Math.round((l+u)*a)-Math.round(l*a))/a,d=(Math.round((s+c)*a)-Math.round(s*a))/a;o.setProperty("--anchor-width",`${f}px`),o.setProperty("--anchor-height",`${d}px`)}}),(f=e=>({element:eu.current||(0,r.f)(e.elements.floating).createElement("div"),padding:O,offsetParent:"floating"}),d=[O],{...{name:"arrow",options:f,async fn(e){let{x:t,y:r,placement:i,rects:o,platform:a,elements:l,middlewareData:s}=e,{element:u,padding:c=0,offsetParent:d="real"}=(0,n.h)(f,e)||{};if(null==u)return{};let p=(0,n.j)(c),m={x:t,y:r},h=(0,n.i)(i),g=(0,n.T)(h),v=await a.getDimensions(u),b="y"===h,x=b?"clientHeight":"clientWidth",y=o.reference[g]+o.reference[h]-m[h]-o.floating[g],E=m[h]-o.reference[h],w="real"===d?await a.getOffsetParent?.(u):l.floating,k=l.floating[x]||o.floating[g];k&&await a.isElement?.(w)||(k=l.floating[x]||o.floating[g]);let C=k/2-v[g]/2-1,T=Math.min(p[b?"top":"left"],C),S=Math.min(p[b?"bottom":"right"],C),M=k-v[g]-S,I=k/2-v[g]/2+(y/2-E/2),R=(0,n.O)(T,I,M),O=!s.arrow&&null!=(0,n.R)(i)&&I!==R&&o.reference[g]/2-(Ib,E={top:`${m}px calc(100% + ${b}px)`,bottom:`${m}px ${-b}px`,left:`calc(100% + ${b}px) ${h}px`,right:`${-b}px ${h}px`}[l],w=`${m}px ${o.reference.y+v-a}px`;return t.floating.style.setProperty("--transform-origin",eg&&"y"===s&&y?w:E),{}}},m,L),(0,o.f)(()=>{!$&&A&&A.update({referenceElement:null,floatingElement:null,domReferenceElement:null,positionReference:null})},[$,A]);let ex=t.useMemo(()=>({elementResize:!j&&"u">typeof ResizeObserver,layoutShift:!j&&"u">typeof IntersectionObserver}),[j]),{refs:ey,elements:eE,x:ew,y:ek,middlewareData:eC,update:eT,placement:eS,context:eM,isPositioned:eI,floatingStyles:eR}=c({rootContext:A,open:N?$:void 0,placement:en,middleware:em,strategy:w,whileElementsMounted:N?void 0:(...e)=>(0,s.n)(...e,ex),nodeId:F,externalTree:D}),{sideX:eO,sideY:ej}=eC.adaptiveOrigin||h,eP=eI?w:"fixed",eN=t.useMemo(()=>{let e;return(e=eI?L?{position:eP,[eO]:ew,[ej]:ek}:{...eR,position:eP}:{position:eP,top:0,left:0})[g]="100vw",e[v]="100vh",eI||(e.opacity=0),e},[L,eP,eO,ew,ej,ek,eR,eI]),eA=t.useRef(null);(0,o.f)(()=>{if(!$)return;let e=J.current,t="function"==typeof e?e():e,n=(y(t)?t.current:t)||null;n!==eA.current&&(ey.setPositionReference(n),eA.current=n)},[$,ey,Y,J]),t.useEffect(()=>{if(!$)return;let e=J.current;"function"!=typeof e&&y(e)&&e.current!==eA.current&&(ey.setPositionReference(e.current),eA.current=e.current)},[$,ey,Y,J]),t.useEffect(()=>{if(N&&$&&eE.reference&&eE.floating)return(0,s.n)(eE.reference,eE.floating,eT,ex)},[N,$,eE,eT,ex]);let e$=(0,n.m)(eS),e_=b(k,e$,ee),eB=(0,n.R)(eS)||"center",eF=!!eC.hide?.referenceHidden;(0,o.f)(()=>{z&&$&&eI&&e$!==et&&W(e$)},[z,$,eI,e$,et]);let eL=t.useMemo(()=>({position:"absolute",top:eC.arrow?.y,left:eC.arrow?.x}),[eC.arrow]),ez=eC.arrow?.centerOffset!==0;return t.useMemo(()=>({positionerStyles:eN,arrowStyles:eL,arrowRef:eu,arrowUncentered:ez,side:e_,align:eB,physicalSide:e$,anchorHidden:eF,refs:ey,context:eM,isPositioned:eI,update:eT}),[eN,eL,eu,ez,e_,eB,e$,eF,ey,eM,eI,eT])}(e,d)}],923706)},96533,e=>{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=>{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,l){let s=t.useRef(null);return{preFocusGuardRef:s,handlePreFocusGuardFocus:function(t){n.flushSync(()=>{e.setOpen(!1,(0,o.j)(a.f.focusOut,t.nativeEvent,t.currentTarget))});let r=(0,i.E)(s.current);r?.focus()},handleFocusTargetFocus:function(t){let s=e.select("positionerElement");if(s&&(0,i.A)(t,s))e.context.beforeContentFocusGuardRef.current?.focus();else{n.flushSync(()=>{e.setOpen(!1,(0,o.j)(a.f.focusOut,t.nativeEvent,t.currentTarget))});let u=(0,i.W)(e.context.triggerFocusTargetRef.current||l.current);for(;null!==u&&(0,r.I)(s,u);){let e=u;if((u=(0,i.O)(u))===e)break}u?.focus()}}}}])},450001,172410,e=>{e.s(["u",0,function(e){return null==e?void 0:`${e}-label`},"$",0,function(e,t){return e??t}],450001);var t=e.i(271645);let n=t.createContext(void 0),r={disableStyleElements:!1};e.s(["f",0,function(){return t.useContext(n)??r}],172410)},33383,e=>{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,l){let[s,u]=t.useState(!1);(0,i.f)(()=>{if(!e||!o||null==a)return void u(!1);let t=(0,n.f)(a).documentElement.clientWidth,r=a.offsetWidth;u(t>0&&r>0&&r>=t-20)},[e,o,a]),(0,r.f)(e&&(!o||s),l)}])},789579,e=>{var t=e.i(405005),n=e.i(552245),r=e.i(253984);e.s(["f",0,function(e,i,{styles:o,transitionStatus:a,props:l,refs:s,hidden:u,inert:c=!1}){let f={...o};return c&&(f.pointerEvents="none"),(0,n.f)("div",e,{state:i,ref:s,props:[{role:"presentation",hidden:u,style:f},(0,r.f)(a),l],stateAttributesMapping:t.E})}])},951437,e=>{e.i(247167);var t=e.i(271645);e.s(["f",0,function({controlled:e,default:n,name:r,state:i="value"}){let{current:o}=t.useRef(void 0!==e),[a,l]=t.useState(n),s=t.useCallback(e=>{o||l(e)},[]);return[o?e:a,s]}])},271567,e=>{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)},643957,e=>{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=>{var t=e.i(643957);e.s(["f",()=>t.f])},689765,e=>{let t=(0,e.i(456420).f)("flask-conical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);e.s(["f",0,t],689765)},91511,e=>{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)},779266,e=>{let t=(0,e.i(456420).f)("rotate-ccw-clock",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]]);e.s(["f",0,t],779266)},584026,e=>{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)},328623,e=>{let t=(0,e.i(456420).f)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["f",0,t],328623)},892870,e=>{let t=(0,e.i(456420).f)("user-check",[["path",{d:"m16 11 2 2 4-4",key:"9rsbq5"}],["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);e.s(["f",0,t],892870)},844097,410532,e=>{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),l=e.i(405240),s=e.i(311063),u=e.i(541872);let c="https://billing.api.adept.at/checkout/session",f={individual:"120",team:"100","trainerbot-plus":{annual:"210",monthly:"215"},"single-course":"110"},d={individual:["annual"],team:["annual"],"trainerbot-plus":["monthly","annual"]};function p(e){return d[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=g(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 h(e){return"individual"===e.plan||"team"===e.plan?p(e.plan):"trainerbot-plus"===e.plan?e.billing??p("trainerbot-plus"):void 0}function g(e){return"trainerbot-plus"===e.plan?f["trainerbot-plus"][e.billing??p("trainerbot-plus")]:f[e.plan]}function v(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:g(e),owner_hint_type:"team"===e.plan?"ORG":"USER",quantity:"team"===e.plan?Math.max(1,Math.floor(e.seats)):1,page:t},i=h(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,c,"P",0,h,"Q",0,m,"f",0,v,"B",0,p],410532),e.s(["StartCheckoutForm",0,function({intent:e,courseSlug:f,className:d,ariaLabel:p,formClassName:g,subscriptionCta:b,ctaLocation:x,testId:y,onStart:E,children:w}){let k=(0,r.usePathname)(),C=n.useRef(null),T=n.useRef(null),[S,M]=n.useState(!1),[I,R]=n.useState(null),O=m(e);n.useEffect(()=>{if(!S)return;let e=e=>{e.persisted&&M(!1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[S]);let j=n.useCallback(t=>{if(S)return void t.preventDefault();R(T.current?.textContent?.trim()||null),M(!0);let n=C.current;n&&function(e){for(let t of Array.from(e.querySelectorAll("input[data-checkout-tracking]")))t.remove();let t=(0,u.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]]){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),E?.(),(0,l.f)("checkout_start",{properties:{...v(e,k,f),...x?{cta_location:x}:{}}}),b&&(0,s.C)({ctaText:b.ctaText,subscriptionName:b.subscriptionName,subscriptionPrice:b.subscriptionPrice,page:k,billingPeriod:h(e)})},[S,e,k,f,b,x,E]);return(0,t.jsxs)("form",{ref:C,method:"POST",action:c,onSubmit:j,className:g,children:[O.map(e=>(0,t.jsx)("input",{type:"hidden",name:e.name,value:e.value},e.name)),(0,t.jsxs)("button",{ref:T,type:"submit","aria-label":S?p??I??void 0:p,"aria-busy":S||void 0,"aria-disabled":S||void 0,"data-pending":S||void 0,className:(0,a.f)(d,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=>{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 l={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`,...l?{transform:l}:null},children:e})}])},206299,e=>{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=>{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),l=e.i(311063),s=e.i(975157);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 c="inline-flex shrink-0 items-center justify-center rounded-full transition-colors",f={default:"size-12",compact:"size-11"},d={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"},p={dark:"text-cbt-100",light:"text-cbt-800"},m={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 g="Start asking for free";e.s(["StartAskingChoices",0,function({mobileApp:e,className:v,placement:b="hero",tone:x="dark",size:y="default",align:E="center",webClassName:w}){let k=(0,n.usePathname)(),C=(0,o.r)(),T=C?.status==="authenticated",S=`${b}-start-asking-label`,M=m[y],I=e=>(0,l.p)(`${b}-start-asking:${e}`,k),R="compact"===y;if(R&&!w)throw Error("StartAskingChoices: the compact (pricing card) form needs `webClassName` — the card grid's own button class");let O=R?"Get Started":"On the web",j=R?"Get Started: IT Trainerbot free; requires an Adept account":"On the web: start asking IT Trainerbot free; requires an Adept account",P=`${b}-start-asking-web`,N=R?(0,s.f)(c,"h-11 flex-1",w):(0,s.f)(c,"btn-gradient h-12 gap-2 px-5 text-base font-semibold text-white sm:px-6");return(0,t.jsxs)("div",{className:(0,s.f)("flex flex-col items-center","center-lg-start"===E&&"lg:items-start","start"===E&&"items-start",v),children:[!R&&(0,t.jsx)("p",{id:S,className:(0,s.f)("text-sm font-semibold tracking-wide uppercase",p[x]),children:g}),(0,t.jsxs)("div",{role:R&&!e?void 0:"group","aria-labelledby":R?void 0:S,"aria-label":R&&e?g:void 0,"data-surfaces":e?"web,ios,android":"web",className:(0,s.f)("flex flex-nowrap items-center justify-center",R?"w-full gap-1.5":"mt-3 gap-2 sm:gap-3","center-lg-start"===E&&"lg:justify-start","start"===E&&"justify-start"),children:[T?(0,t.jsxs)("a",{href:i.b,"aria-label":j,"data-testid":P,className:N,onClick:()=>I("web"),children:[!R&&(0,t.jsx)(r.f,{className:M.globe,"aria-hidden":"true"}),O]}):(0,t.jsxs)(a.StartCheckoutForm,{intent:{plan:"account-only"},ctaLocation:`${b}-start-asking:web`,onStart:()=>I("web"),ariaLabel:j,testId:P,formClassName:(0,s.f)("flex shrink-0",R&&"flex-1"),className:(0,s.f)(N,R&&"w-full"),children:[!R&&(0,t.jsx)(r.f,{className:M.globe,"aria-hidden":"true"}),O]}),e&&(0,t.jsxs)(t.Fragment,{children:[(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":`${b}-start-asking-ios`,className:(0,s.f)(c,f[y],d[x]),onClick:()=>I("ios"),children:(0,t.jsx)(h,{className:M.brand})}),(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":`${b}-start-asking-android`,className:(0,s.f)(c,f[y],d[x]),onClick:()=>I("android"),children:(0,t.jsx)(u,{className:M.brand})})]})]})]})}],951793)},206917,e=>{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 l(e){return a.lastIndex=0,a.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:n="light",className:a,children:l}){return(0,t.jsx)(r.TrackedLink,{href:o,location:`trainerbot-term:${e}`,className:(0,i.f)(s[n],a),children:l})}let c={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:l}){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",c[a],l),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,u,"w",0,l,"l",0,function(e,n){if(!l(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)(u,{...n,children:o[0]},`${a}-${o[0]}`)),i=a+o[0].length}return i{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 l=(0,r.useRef)(null);return(0,i.f)(l,e),(0,t.jsx)(n.default,{ref:l,"aria-describedby":e,...a,children:o})}])},776639,e=>{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),l=e.i(593480),s=e.i(309169),u=e.i(152744),c=e.i(975157),f=e.i(519455),d=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,c.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)(l.f.Popup,{"data-slot":"dialog-content",className:(0,c.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)(f.K,{variant:"ghost",className:"absolute top-3 right-3",size:"icon-sm"}),children:[(0,t.jsx)(d.f,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"C",0,function({className:e,...n}){return(0,t.jsx)(u.f.Description,{"data-slot":"dialog-description",className:(0,c.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,c.f)("flex flex-col gap-1 pr-8",e),...n})},"F",0,function({className:e,...n}){return(0,t.jsx)(s.f.Title,{"data-slot":"dialog-title",className:(0,c.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=>{var t=e.i(570590);let n="Unlimited answers are subject to fair use.",r={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"},i=[[r.aside," "],[r.tail,""],[r.inPlatformOrMobile,"in the platform"],[r.inPlatformAndMobile,"in the platform"],[r.onMobileAndIn,"in"]],o=[{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,r,"v",0,o,"B",0,function(e){let t=o.find(t=>t.id===e);if(!t)throw Error(`Unknown IT Trainerbot tier: ${e}`);return t},"q",0,function(e){return e?{onPlatform:"on the CBT Nuggets platform and in the iOS and Android apps",onPlatformSentence:"On the CBT Nuggets platform and in the iOS and Android apps",onPlatformShort:"on the platform and on mobile",inPlatform:"in the platform and on mobile",onPlatformOrMobile:"on the CBT Nuggets platform or on mobile",inPlatformOrMobile:"in the CBT Nuggets platform or on mobile",operatingSystem:"Web, iOS, Android"}:{onPlatform:"on the CBT Nuggets platform",onPlatformSentence:"On the CBT Nuggets platform",onPlatformShort:"on the platform",inPlatform:"in the platform",onPlatformOrMobile:"on the CBT Nuggets platform",inPlatformOrMobile:"in the CBT Nuggets platform",operatingSystem:"Web"}},"I",0,function(e,t){if(t)return e;let n=e;for(let[e,t]of i)n=n.split(e).join(t);return n}])}])})();