(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,920291,472033,e=>{"use strict";var t,n=e.i(843476),r=e.i(271645),i=e.i(108868),a=e.i(951437),l=e.i(667865),s=e.i(146376),u=e.i(675606),o=e.i(606039),c=e.i(788015),d=e.i(552245),f=e.i(201675),h=e.i(743024),m=e.i(647554),p=e.i(53687),b=e.i(469690),g=e.i(381104),v=e.i(884708),x=e.i(247778),y=e.i(450001);function w(e,t){return e-t}function N(e,t,n,r,i,a){let l=(0,f.f)(e,n,r);if(!i)return l;let s=a.slice();return s[t]=(0,f.f)(l,a[t-1]??-1/0,a[t+1]??1/0),s.sort(w)}function k(e,t,n){if(!Array.isArray(e))return!0;let r=t*n;for(let t=0;t=r))return!1;return!0}var j=e.i(875812);let M=()=>null,I={activeThumbIndex:M,max:M,min:M,minStepsBetweenValues:M,step:M,values:M,...j.s};var S=e.i(733332);let C=r.createContext(void 0);function T(){let e=r.useContext(C);if(void 0===e)throw Error((0,S.f)(62));return e}var A=e.i(380025),R=e.i(216856),R=R,P=R;let E=r.forwardRef(function(e,t){let{"aria-labelledby":j,className:M,defaultValue:S,disabled:T=!1,id:E,format:F,largeStep:z=10,locale:B,render:L,max:$=100,min:V=0,minStepsBetweenValues:D=0,form:H,name:q,onValueChange:K,onValueCommitted:O,orientation:Y="horizontal",step:W=1,thumbCollisionBehavior:U="push",thumbAlignment:X="center",value:J,style:_,...Z}=e,G=(0,c.f)(E),Q=(0,y.u)(G),ee=(0,l.f)(K),et=(0,l.f)(O),{clearErrors:en}=(0,v.f)(),{state:er,disabled:ei,name:ea,setTouched:el,setDirty:es,validityData:eu,validation:eo}=(0,b.f)(),{labelId:ec}=(0,x.f)(),[ed,ef]=r.useState(),eh=j??(0,y.$)(ec,ed),em=ei||T,ep=ea??q,[eb,eg]=(0,a.f)({controlled:J,default:S??V,name:"Slider"}),ev=r.useRef(null),ex=r.useRef(null),ey=r.useRef([]),ew=r.useRef(null),eN=r.useRef(-1),ek=r.useRef(null),ej=r.useRef(A.f.none),[eM,eI]=r.useState(-1),[eS,eC]=r.useState(-1),[eT,eA]=r.useState(!1),[eR,eP]=r.useState(()=>new Map),[eE,eF]=r.useState([void 0,void 0]),ez=(0,l.f)(e=>{eI(e),-1!==e&&eC(e)}),eB=(0,l.f)(e=>{e&&(ex.current=e)}),eL=Array.isArray(eb),e$=r.useMemo(()=>eL?eb.map(e=>(0,f.f)(e,V,$)).sort(w):[(0,f.f)(eb,V,$)],[$,V,eL,eb]),eV=eL?e$:e$[0];(0,g.f)(eo.inputRef,G,eV,void 0,!em,q),(0,o.f)(eV,()=>{en(ep),eo.change(eV);let e=eu.initialValue;es(Array.isArray(eV)&&Array.isArray(e)?!(0,h.f)(eV,e):eV!==e)});let eD=(0,l.f)((e,t)=>{var n,r;if(Number.isNaN(e)||(n=e)===(r=eb)||Array.isArray(n)&&Array.isArray(r)&&(0,h.f)(n,r))return!1;let i=t.event,a=new i.constructor(i.type,i);return Object.defineProperty(a,"target",{writable:!0,value:{value:e,name:ep}}),t.event=a,ee(e,t),!t.isCanceled&&(ej.current=t.reason,eg(e),!0)}),eH=(0,l.f)((e,t,n)=>{let r=N(e,t,V,$,eL,e$);if(k(r,W,D)){let e="key"in n?P.keyboard:R.inputChange,i=eD(r,(0,u.j)(e,n.nativeEvent,void 0,{activeThumbIndex:t}));el(!0),i&&et(r,(0,u.U)(e,n.nativeEvent))}});(0,s.f)(()=>{if(!em)return;let e=(0,m.T)((0,i.f)(ev.current));(0,m.I)(ev.current,e)&&e.blur(),-1!==eM&&ez(-1)},[eM,em,ez]);let eq=r.useMemo(()=>({...er,activeThumbIndex:eM,disabled:em,dragging:eT,orientation:Y,max:$,min:V,minStepsBetweenValues:D,step:W,values:e$}),[er,eM,em,eT,$,V,D,Y,W,e$]),eK=r.useMemo(()=>({active:eM,controlRef:ex,disabled:em,dragging:eT,validation:eo,format:F,handleInputChange:eH,indicatorPosition:eE,inset:"center"!==X,labelId:eh,rootLabelId:Q,largeStep:z,lastUsedThumbIndex:eS,lastChangeReasonRef:ej,form:H,locale:B,max:$,min:V,minStepsBetweenValues:D,name:ep,onValueCommitted:et,orientation:Y,pressedThumbCenterOffsetRef:ew,pressedThumbIndexRef:eN,pressedValuesRef:ek,registerFieldControlRef:eB,renderBeforeHydration:"edge"===X,setActive:ez,setDragging:eA,setIndicatorPosition:eF,setLabelId:ef,setValue:eD,state:eq,step:W,thumbCollisionBehavior:U,thumbMap:eR,thumbRefs:ey,values:e$}),[eM,eh,Q,em,eT,eo,F,eH,eE,z,eS,H,B,$,V,D,ep,et,Y,eB,ez,eD,eq,W,U,X,eR,e$]),eO=(0,d.f)("div",e,{state:eq,ref:[t,ev],props:[{"aria-labelledby":eh,id:G,role:"group"},Z,e=>eo.getValidationProps(em,e)],stateAttributesMapping:I});return(0,n.jsx)(C.Provider,{value:eK,children:(0,n.jsx)(p.f,{elementsRef:ey,onMapChange:eP,children:eO})})});var F=e.i(229315),z=e.i(574735),B=e.i(333848),L=e.i(708445),$=e.i(446265),V=R,D=R,H=e.i(872855);function q(e,t){let n=e.getBoundingClientRect();return t?(n.top+n.bottom)/2:(n.left+n.right)/2}function K(e){if(0===e)return 0;if(1>Math.abs(e)){let t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}let t=e.toString().split(".")[1];return t?t.length:0}function O(e,t,n){return Number((Math.round((e-n)/t)*t+n).toFixed(Math.max(K(t),K(n))))}function Y(e,t,n,r,i,a,l,s){let u=e.slice(),o=a*l,c=u.length-1,d=s??e;u[t]=(0,f.f)(n,r+t*o,i-(c-t)*o);for(let e=t+1;e<=c;e+=1){let t=u[e-1]+o,n=i-(c-e)*o,r=d[e],a=Math.max(u[e],t);r=0;e-=1){let t=u[e+1]-o,n=r+e*o,i=d[e],a=Math.min(u[e],t);i>a&&(a=Math.min(i,t)),u[e]=(0,f.f)(a,n,t)}for(let e=0;e<=c;e+=1)u[e]=Number(u[e].toFixed(12));return u}let W=r.forwardRef(function(e,t){let{render:n,className:a,style:s,...o}=e,{disabled:c,dragging:h,inset:p,lastChangeReasonRef:b,max:g,min:v,minStepsBetweenValues:x,onValueCommitted:y,orientation:w,pressedThumbCenterOffsetRef:N,pressedThumbIndexRef:j,pressedValuesRef:M,registerFieldControlRef:S,renderBeforeHydration:C,setActive:A,setDragging:R,setValue:P,state:E,step:K,thumbCollisionBehavior:W,thumbRefs:U,values:X}=T(),J=(0,H.f)(),_=X.length>1,Z="vertical"===w,G=r.useRef(null),Q=r.useRef(null),ee=(0,l.f)(e=>{e&&null==Q.current&&(Q.current=(0,B.f)(e).getComputedStyle(e))}),et=r.useRef(null),en=r.useRef(0),er=r.useRef(0),ei=r.useRef(null),ea=(0,$.f)(X);function el(e){return e?.querySelector('input[type="range"]')}function es(e){j.current=e,U.current[e]||(N.current=null)}function eu(){j.current=-1,N.current=null}function eo(e){return!!(0,F.m)(e)&&U.current.some(t=>!!(0,F.m)(t)&&!!(0,m.I)(t,e)&&el(t)?.disabled===!0)}function ec(e){let t=G.current,n=j.current;if(!t||n<0||n>=X.length)return n>=X.length&&(ei.current=null),null;let{width:r,height:i,bottom:a,left:l,right:s}=t.getBoundingClientRect(),u=function(e,t){if(!e)return{start:0,end:0};function n(e){let t=null!=e?parseFloat(e):0;return Number.isNaN(t)?0:t}let r=t?"Top":"InlineStart",i=t?"Bottom":"InlineEnd";return{start:n(e[`border${r}Width`])+n(e[`padding${r}`]),end:n(e[`border${i}Width`])+n(e[`padding${i}`])}}(Q.current,Z),o=er.current,c=(Z?i:r)-u.start-u.end-2*o,d=N.current??0,h=e.x-d,m=e.y-d,p=Z?a-m-u.end:("rtl"===J?s-h:h-l)-u.start,b=(g-v)*(0,f.f)((p-o)/c,0,1)+v;return(b=O(b,K,v),b=(0,f.f)(b,v,g),_)?function(e,t,n,r,i,a,l,s,u,o){let c=n??t,d=r??t;if(!(c.length>1))return{value:a,thumbIndex:0,didSwap:!1};let h=u*o;if("push"===e)return{value:Y(c,i,a,l,s,u,o),thumbIndex:i,didSwap:!1};let m=c.slice(),p=m[i-1],b=m[i+1],g=null!=p?p+h:l,v=null!=b?b-h:s,x=Number((0,f.f)(a,g,v).toFixed(12));if(m[i]=x,"swap"!==e)return{value:m,thumbIndex:i,didSwap:!1};{let e=c[i],t=a>e,n=a=b-1e-7,g=n&&null!=p&&a<=p+1e-7;if(!r&&!g)return{value:m,thumbIndex:i,didSwap:!1};let v=r?i+1:i-1,y=m.map((e,t)=>{if(t===i)return x;let n=d[t];return null!=n?n:c[t]}),w=a;w=r?Math.max(a,m[v]):Math.min(a,m[v]);let N=Y(m,v,w,l,s,u,o,y),k=r?v-1:v+1,j=N[k-1],M=N[k+1],I=null!=j?j+h:l;I=Math.max(I,l+k*h);let S=null!=M?M-h:s;S=Math.min(S,s-(N.length-1-k)*h);let C=(0,f.f)(x,I,S);return N[k]=Number(C.toFixed(12)),{value:N,thumbIndex:v,didSwap:!0}}}(W,X,ea.current,M.current,n,b,v,g,K,x):{value:b,thumbIndex:n,didSwap:!1}}function ed(e){M.current=_?X.slice():null,ei.current=null,ea.current=X;let t=j.current,n=t;if(t>-1&&t0&&X[e-1]===g;)e-=1;n=e}}else{let t,r=Z?"y":"x";n=-1;for(let i=0;i-1&&n!==t&&es(n),p){let e=U.current[n];(0,F.m)(e)&&(er.current=e.getBoundingClientRect()[Z?"height":"width"]/2)}}function ef(e){let t=el(U.current?.[e]);t&&t.focus({preventScroll:!0,focusVisible:!1})}function eh(e,t,n){let r=P(e.value,(0,u.j)(t,n,void 0,{activeThumbIndex:e.thumbIndex}));return r&&(ei.current=e.value,ea.current=Array.isArray(e.value)?e.value:[e.value],e.didSwap&&(es(e.thumbIndex),ef(e.thumbIndex))),r}let em=(0,l.f)(e=>{let t=function(e,t){if(null!=t.current&&e.changedTouches){for(let n=0;n2&&R(!0),eh(n,V.drag,e))}),ep=(0,l.f)(e=>{A(-1),R(!1),N.current=null;let t=ei.current;if(Array.isArray(t)&&t.length!==X.length&&(ei.current=null),null!=ei.current){let t=b.current;y(ei.current,(0,u.U)(t,e))}"pointerType"in e&&G.current?.hasPointerCapture(e.pointerId)&&G.current?.releasePointerCapture(e.pointerId),j.current=-1,et.current=null,eg()}),eb=(0,l.f)(e=>{if(c)return;if(eo((0,m.Z)(e)))return void eu();let t=e.changedTouches[0];if(null==t)return;et.current=t.identifier;let n={x:t.clientX,y:t.clientY};ed(n);let r=ec(n);if(null==r)return;ef(r.thumbIndex),eh(r,D.trackPress,e),en.current=0;let a=(0,i.f)(G.current);a.addEventListener("touchmove",em,{passive:!0}),a.addEventListener("touchend",ep,{passive:!0})}),eg=(0,l.f)(()=>{let e=(0,i.f)(G.current);e.removeEventListener("pointermove",em),e.removeEventListener("pointerup",ep),e.removeEventListener("touchmove",em),e.removeEventListener("touchend",ep),M.current=null,ei.current=null}),ev=(0,L.z)();return r.useEffect(()=>{let e=G.current;if(!e)return()=>eg();let t=(0,z.f)(e,"touchstart",eb,{passive:!0});return()=>{t(),ev.cancel(),eg()}},[eg,eb,G,ev]),r.useEffect(()=>{c&&eg()},[c,eg]),(0,d.f)("div",e,{state:E,ref:[t,S,G,ee],props:[{"data-base-ui-slider-control":C?"":void 0,onPointerDown(e){let t=G.current,n=(0,m.Z)(e.nativeEvent);if(!t||c||e.defaultPrevented||!(0,F.m)(n)||0!==e.button)return;if(eo(n))return void eu();let r={x:e.clientX,y:e.clientY};ed(r);let a=ec(r);if(null==a)return;(0,m.I)(U.current[a.thumbIndex],(0,m.T)((0,i.f)(t)))?e.preventDefault():ev.request(()=>{ef(a.thumbIndex)}),R(!0),null==N.current&&eh(a,D.trackPress,e.nativeEvent),e.nativeEvent.pointerId&&t.setPointerCapture(e.nativeEvent.pointerId),en.current=0;let l=(0,i.f)(t);l.addEventListener("pointermove",em,{passive:!0}),l.addEventListener("pointerup",ep,{once:!0})}},o],stateAttributesMapping:I})}),U=r.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,{state:l}=T();return(0,d.f)("div",e,{state:l,ref:t,props:[{style:{position:"relative"}},a],stateAttributesMapping:I})});var X=e.i(828918),J=e.i(502077);let _=new Map;function Z(e,t,n){return null==e?"":(function(e,t){let n=JSON.stringify({locale:function e(t){return Array.isArray(t)?t.map(t=>e(t)).join(","):null==t?"":String(t)}(e),options:t}),r=_.get(n);if(r)return r;let i=new Intl.NumberFormat(e,t);return _.set(n,i),i})(t,n).format(e)}var G=e.i(176782),Q=e.i(802239),ee=e.i(956789);function et(){return ee.x}function en(){return!1}function er(){return!0}function ei(){return(0,Q.useSyncExternalStore)(et,en,er)}var ea=e.i(673327),el=e.i(673553),es=e.i(172410);function eu(e){let{script:t}=e,{nonce:r}=(0,es.f)();return ei()?(0,n.jsx)("script",{nonce:r,dangerouslySetInnerHTML:{__html:t},suppressHydrationWarning:!0}):null}var eo=e.i(596296),ec=e.i(538489);let ed=new Set([...ea.J,ea.v,ea.I]),ef=r.forwardRef(function(e,i){let a,u,o,{render:h,children:p,className:g,"aria-describedby":v,"aria-label":x,"aria-labelledby":y,"aria-valuetext":w,disabled:k=!1,getAriaLabel:j,getAriaValueText:M,id:S,index:C,inputRef:A,onBlur:R,onFocus:P,onKeyDown:E,tabIndex:F,style:z,...L}=e,$=(0,c.f)(S),{active:V,lastUsedThumbIndex:D,controlRef:Y,disabled:W,validation:U,format:_,handleInputChange:Q,inset:ee,labelId:et,largeStep:en,locale:er,max:es,min:ef,minStepsBetweenValues:eh,form:em,name:ep,orientation:eb,pressedThumbCenterOffsetRef:eg,pressedThumbIndexRef:ev,renderBeforeHydration:ex,setActive:ey,setIndicatorPosition:ew,state:eN,step:ek,thumbRefs:ej,values:eM}=T(),eI=(0,H.f)(),eS=k||W,eC=eM.length>1,eT="vertical"===eb,eA="rtl"===eI,{setTouched:eR,setFocused:eP,validationMode:eE}=(0,b.f)(),eF=r.useRef(null),ez=r.useRef(null),eB=r.useRef(!1),eL=(0,l.f)(e=>{eB.current||P?.(e)}),e$=(0,l.f)(e=>{eB.current||R?.(e)}),eV=(0,c.f)(),eD=(0,ec.f)(),eH=eC?eV:eD,eq=r.useMemo(()=>({inputId:eH}),[eH]),{ref:eK,index:eO}=(0,el.f)({metadata:eq}),eY=eC?C??eO:0,eW=eY===eM.length-1,eU=eM[eY],eX=(eU-ef)*100/(es-ef),[eJ,e_]=r.useState(),eZ=ei(),eG=D>=0&&D{let e=Y.current,t=eF.current;if(!e||!t)return;let n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),i=eT?"height":"width",a=r[i]-n[i],l=(n[i]/2+a*eX/100)/r[i]*100,s=Number.isFinite(l)?l:void 0;e_(s),0===eY?ew(e=>[s,e[1]]):eW&&ew(e=>[e[0],s])});(0,s.f)(()=>{ee&&queueMicrotask(eQ)},[eQ,ee]),(0,s.f)(()=>{ee&&eQ()},[eQ,ee,eX]),(0,s.f)(()=>{if(!ee)return;let e=Y.current,t=eF.current;if(!e||!t)return;let n=(0,B.f)(e).ResizeObserver;if("function"!=typeof n)return;let r=new n(eQ);return r.observe(e),r.observe(t),()=>{r.disconnect()}},[Y,eQ,ee]);let e0=eT?"bottom":"insetInlineStart",e1=eT?"left":"top";eC?V===eY?a=2:eG===eY&&(a=1):V===eY&&(a=1),u=ee||Number.isFinite(eX)?{position:"absolute",[e0]:ee?"var(--position)":`${eX}%`,[e1]:"50%",translate:`${(eT||!eA?-1:1)*50}% ${(eT?1:-1)*50}%`,zIndex:a,...ee&&{"--position":`${eJ??0}%`,visibility:ex&&eZ||void 0===eJ?"hidden":void 0}}:J.p,eT&&(o=eA?"vertical-rl":"vertical-lr");let e2="function"==typeof j?j(eY):x,e5=(0,G.w)({"aria-label":e2,"aria-labelledby":y??(null==e2?et:void 0),"aria-describedby":v,"aria-orientation":eb,"aria-valuenow":eU,"aria-valuetext":"function"==typeof M?M(Z(eU,er,_),eU,eY):w??function(e,t,n,r){if(!(t<0))return 2===e.length?`${Z(e[t],r,n)} ${0===t?"start":"end"} range`:n?Z(e[t],r,n):void 0}(eM,eY,_,er),disabled:eS,form:em,id:eH,max:es,min:ef,name:ep,onChange(e){Q(e.currentTarget.valueAsNumber,eY,e)},onFocus(e){let t=eB.current;eB.current=!1,ey(eY),eP(!0),t&&e.stopPropagation()},onBlur(e){eB.current?e.stopPropagation():(ey(-1),ej.current.some(t=>(0,m.I)(t,e.relatedTarget))||(eR(!0),eP(!1),"onBlur"===eE&&U.commit(N(eU,eY,ef,es,eC,eM))))},onKeyDown(e){var t;let n;if(e.defaultPrevented||!ed.has(e.key))return;ea.J.has(e.key)&&e.stopPropagation();let r=null,i=0,a=e.shiftKey?en:ek,l=O(eU,ek,ef);switch(e.key){case ea.V:i=1;break;case ea.q:i=eA?-1:1;break;case ea.e:i=-1;break;case ea.b:i=eA?1:-1;break;case ea.v:a=en,i=1;break;case ea.I:a=en,i=-1;break;case ea.C:r=eC&&Number.isFinite(eM[eY+1])?eM[eY+1]-ek*eh:es;break;case ea.Z:r=eC&&Number.isFinite(eM[eY-1])?eM[eY-1]+ek*eh:ef}if(0!==i&&(n=Number((l+(t=a)*i).toFixed(Math.max(K(l),K(t),K(ef)))),r=(0,f.f)(n,ef,es)),null!==r){let t=e.currentTarget;(0,eo.F)(t)||(eB.current=!0,t.blur(),t.focus({preventScroll:!0,focusVisible:!0})),Q(r,eY,e),e.preventDefault()}},step:ek,style:{...J.p,width:"100%",height:"100%",writingMode:o},tabIndex:F,type:"range",value:eU??""},e=>U.getValidationProps(eS,e),{onFocus:eL,onBlur:e$,onKeyDown:E}),e6=(0,X.A)(ez,U.inputRef,A);return(0,d.f)("div",e,{state:eN,ref:[i,eK,eF],props:[{"data-index":eY,children:(0,n.jsxs)(r.Fragment,{children:[p,(0,n.jsx)("input",{ref:e6,...e5,suppressHydrationWarning:!0}),ee&&eW&&ex&&(t||(t=(0,n.jsx)(eu,{script:""})))]}),id:$,onPointerDown(e){if(eS)return;ev.current=eY;let t=q(e.currentTarget,eT);eg.current=(eT?e.clientY:e.clientX)-t},style:u,suppressHydrationWarning:ex||void 0},L],stateAttributesMapping:I})}),eh=r.forwardRef(function(e,t){var n,r,i;let a,l,s,{render:u,className:o,style:c,...f}=e,{indicatorPosition:h,inset:m,max:p,min:b,orientation:g,renderBeforeHydration:v,state:x,values:y}=T(),w=ei(),N=y.length>1,k=(n="vertical"===g,r=m?h[0]:(y[0]-b)*100/(p-b),i=m?h[1]:(y[y.length-1]-b)*100/(p-b),a={visibility:m&&v&&w||m&&(void 0===r||N&&void 0===i)?"hidden":void 0,position:n?"absolute":"relative",[n?"width":"height"]:"inherit"},l=`${r??0}%`,s=`${(i??0)-(r??0)}%`,m&&(a["--start-position"]=l,l="var(--start-position)",N&&(a["--relative-size"]=s,s="var(--relative-size)")),a[n?"bottom":"insetInlineStart"]=N?l:0,a[n?"height":"width"]=N?s:l,a);return(0,d.f)("div",e,{state:x,ref:t,props:[{"data-base-ui-slider-indicator":v?"":void 0,style:k,suppressHydrationWarning:v||void 0},f],stateAttributesMapping:I})});e.s(["Control",0,W,"Indicator",0,eh,"Root",0,E,"Thumb",0,ef,"Track",0,U],691095);var em=e.i(691095),em=em,ep=em,eb=em,eg=em,ev=em,ex=e.i(975157);function ey({className:e,defaultValue:t,value:r,min:i=0,max:a=100,"aria-label":l,...s}){let u=Array.isArray(r)?r:Array.isArray(t)?t:[i,a];return(0,n.jsx)(em.Root,{className:(0,ex.f)("data-horizontal:w-full data-vertical:h-full",e),"data-slot":"slider",defaultValue:t,value:r,min:i,max:a,thumbAlignment:"edge",...s,children:(0,n.jsxs)(ep.Control,{className:"relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:min-h-40 data-vertical:w-auto data-vertical:flex-col",children:[(0,n.jsx)(eb.Track,{"data-slot":"slider-track",className:"relative grow overflow-hidden rounded-full bg-muted select-none data-horizontal:h-1 data-horizontal:w-full data-vertical:h-full data-vertical:w-1",children:(0,n.jsx)(eg.Indicator,{"data-slot":"slider-range",className:"bg-primary select-none data-horizontal:h-full data-vertical:w-full"})}),Array.from({length:u.length},(e,t)=>(0,n.jsx)(ev.Thumb,{"data-slot":"slider-thumb",getAriaLabel:l?e=>u.length>1?`${l} (${e+1})`:l:void 0,className:"relative block size-4 shrink-0 rounded-full border border-ring bg-white ring-ring/50 transition-[color,box-shadow] select-none after:absolute after:-inset-3 hover:ring-3 focus-visible:ring-3 focus-visible:outline-hidden active:ring-3 disabled:pointer-events-none disabled:opacity-50"},t))]})})}var ew=e.i(271567),eN=e.i(456420);let ek=(0,eN.f)("file-stack",[["path",{d:"M11 21a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1",key:"likhh7"}],["path",{d:"M16 16a1 1 0 0 1-1 1H9a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1",key:"17ky3x"}],["path",{d:"M21 6a2 2 0 0 0-.586-1.414l-2-2A2 2 0 0 0 17 2h-3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1z",key:"1hyeo0"}]]);var ej=e.i(689765),eM=e.i(823482);let eI=(0,eN.f)("chart-line",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]),eS=(0,eN.f)("list-checks",[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]),eC=(0,eN.f)("list-music",[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M11 19H3",key:"zflm78"}],["path",{d:"M21 16V5",key:"yxg4q8"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]),eT=(0,eN.f)("shield-user",[["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:"M6.376 18.91a6 6 0 0 1 11.249.003",key:"hnjrf2"}],["circle",{cx:"12",cy:"11",r:"4",key:"1gt34v"}]]);var eA=e.i(570590),eR=e.i(618566),eP=e.i(311063),eE=e.i(896507),eF=e.i(844097),ez=e.i(268863),eB=e.i(325164),eL=e.i(689664),e$=e.i(776639);function eV({open:e,onOpenChange:t,trigger:r,title:i,titleId:a,children:l}){return(0,n.jsxs)(e$.N,{open:e,onOpenChange:t,children:[(0,n.jsx)(e$.a,{render:e=>(0,n.jsx)("button",{type:"button",...e,"aria-label":r.ariaLabel,className:r.className,children:r.label})}),(0,n.jsx)(e$.d,{className:"w-[600px] max-w-[calc(100vw-2rem)] max-h-[calc(100dvh-2rem)] overflow-y-auto p-0",children:(0,n.jsxs)("div",{className:"flex flex-col gap-3 px-6 pt-5 pb-5",children:[(0,n.jsxs)("div",{className:"flex flex-col items-center text-center",children:[(0,n.jsx)(eB.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,n.jsx)("div",{"aria-hidden":!0,className:"my-3 h-px w-full max-w-[520px] bg-cbt-100"}),(0,n.jsx)(e$.F,{id:a,className:"font-display text-lg font-medium text-cbt-800",children:i})]}),l]})})]})}function eD({name:e,subtitle:t,price:r}){return(0,n.jsxs)("div",{className:"flex flex-wrap items-end justify-between gap-4 border-b border-cbt-100 pb-2",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"font-display text-2xl font-medium leading-none text-cbt-500",children:e}),(0,n.jsx)("p",{className:"mt-1 text-sm font-medium leading-tight text-muted-foreground",children:t})]}),(0,n.jsx)("div",{className:"text-right",children:r})]})}function eH({figure:e,unit:t,note:r}){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"font-display text-2xl font-medium leading-none text-cbt-800 whitespace-nowrap",children:e}),(0,n.jsx)("p",{className:"mt-0.5 text-sm uppercase tracking-wide text-muted-foreground whitespace-nowrap",children:t}),(0,n.jsx)("p",{className:"mt-0.5 text-sm text-muted-foreground whitespace-nowrap",children:r})]})}function eq({children:e}){return(0,n.jsx)(e$.C,{className:"min-h-[2lh] text-sm leading-snug text-muted-foreground",children:e})}function eK({features:e}){return(0,n.jsx)("ul",{className:"m-0 list-none p-0",children:e.map((e,t)=>(0,n.jsxs)("li",{className:(0,ex.f)("grid grid-cols-[1fr_auto] items-start gap-x-3 py-1.5",t>0&&"border-t border-cbt-100"),children:[(0,n.jsxs)("div",{className:"flex min-w-0 gap-2.5",children:[(0,n.jsx)(e.Icon,{className:"mt-0.5 size-5 shrink-0 text-cbt-500","aria-hidden":!0}),(0,n.jsxs)("div",{className:"min-w-0 flex-1 flex flex-col",children:[(0,n.jsx)("p",{className:"text-sm font-semibold leading-snug text-cbt-800",children:e.title}),(0,n.jsx)("p",{className:"text-sm leading-snug text-muted-foreground",children:e.desc})]})]}),(0,n.jsx)(eL.f,{className:"mt-0.5 size-5 shrink-0 text-success-600","aria-hidden":!0})]},e.id))})}function eO({children:e}){return(0,n.jsx)("div",{className:"flex flex-col gap-2.5 border-t border-cbt-100 pt-2.5",children:e})}let eY="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",eW="rounded-sm underline underline-offset-2 hover:text-cbt-700 focus-visible:outline-2 focus-visible:outline-cbt-500 focus-visible:outline-offset-2";e.s(["e",0,eY,"I",0,eW,"z",0,eV,"q",0,eK,"s",0,eq,"w",0,eD,"C",0,eH,"k",0,eO],472033);let eU={inputMin:eA.K,inputMax:250,sliderMin:eA.K,sliderMax:50,defaultSeats:7},eX="Team",eJ="get-started-dialog-title",e_=`Everything in ${eA.C.individual.web} for every seat, with IT Trainerbot, SSO/SAML, and internal training included from the first seat.`,eZ=[{id:"catalog",Icon:eM.f,title:"Full CBT Nuggets catalog",desc:"Certification prep and technical training for your IT team."},{id:"labs",Icon:ej.f,title:"Virtual Labs",desc:"Practice in real enterprise environments with hands-on labs."},{id:"practiceExams",Icon:eS,title:"Practice Exams",desc:"Full-length exam simulation with unlimited attempts."},{id:"trainerbot",Icon:ew.f,title:"IT Trainerbot for every seat",desc:"Unlimited answers backed by human IT experts, every one citing its source video. Saved conversations, memories, Deep Think, and file upload for every seat, with team usage reporting."},{id:"reporting",Icon:eI,title:"Team management and reporting",desc:"Track progress, spot gaps, and support team-wide training accountability."},{id:"playlists",Icon:eC,title:"Team playlists",desc:"Assign curated learning paths to people or groups and track completion."},{id:"sso",Icon:eT,title:"SSO / SAML",desc:"Make access and admin setup easier to manage across the team."},{id:"internalTraining",Icon:ek,title:"Internal training",desc:"Create courses from your own content for licensed users, alongside the CBT Nuggets catalog."}];e.s(["GetStartedDialog",0,function({triggerLabel:e,triggerAriaLabel:t,triggerClassName:i}){let[a,l]=r.useState(!1),[s,u]=r.useState(eU.defaultSeats),[o,c]=r.useState(String(eU.defaultSeats)),d=(0,eR.usePathname)(),f=(0,eA.a)(eA.R),h=r.useCallback(t=>{l(t),t&&(u(eU.defaultSeats),c(String(eU.defaultSeats)),(0,eP.C)({ctaText:e,subscriptionName:eX,subscriptionPrice:eA.R,page:d,intent:"open_configurator",billingPeriod:"annual"}))},[d,e]),m=r.useCallback(e=>{let t=Math.min(eU.inputMax,Math.max(eU.inputMin,Math.floor(e)));u(t),c(String(t))},[]),p=r.useCallback(()=>{if(""===o)return void m(eU.inputMin);let e=Number(o);Number.isNaN(e)?c(String(s)):m(e)},[m,o,s]),b=f*s,g=eA.R*s,v=Math.min(s,eU.sliderMax),x=s>eA.V,y=x?(0,eE.n)(s,{tier:eE.I}):(0,eE.n)(s);return(0,n.jsxs)(eV,{open:a,onOpenChange:h,trigger:{label:e,ariaLabel:t,className:i},title:"Choose your team size",titleId:eJ,children:[(0,n.jsxs)("fieldset",{className:"flex items-center gap-6 border-0 p-0 m-0",children:[(0,n.jsx)("legend",{className:"sr-only",children:"Team size"}),(0,n.jsx)("input",{type:"number",inputMode:"numeric",value:o,onChange:e=>c(e.target.value),onBlur:p,onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),e.currentTarget.blur())},"aria-label":"Seat count",min:eU.inputMin,max:eU.inputMax,className:"h-12 w-[72px] rounded-md border border-cbt-200 bg-white px-3 text-center font-display text-2xl font-medium leading-none text-cbt-500 outline-none transition-[color,box-shadow,border-color] focus-visible:border-cbt-500 focus-visible:ring-2 focus-visible:ring-cbt-500/30 [appearance:textfield] [&::-webkit-inner-spin-button]:m-0 [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:m-0 [&::-webkit-outer-spin-button]:appearance-none"}),(0,n.jsx)(ey,{value:[v],onValueChange:e=>{let t=Array.isArray(e)?e[0]:e;"number"==typeof t&&m(t)},min:eU.sliderMin,max:eU.sliderMax,step:1,"aria-label":"Team size slider",className:"flex-1"})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,n.jsx)(eD,{name:eA.C.team.web,subtitle:`IT Trainerbot for every seat \xb7 from ${(0,eA.k)(eA.K)}`,price:(0,n.jsx)(eH,{figure:(0,eA.Y)(f),unit:"per seat / month",note:"Billed annually"})}),(0,n.jsx)(eq,{children:e_}),(0,n.jsx)(eK,{features:eZ})]}),(0,n.jsxs)(eO,{children:[(0,n.jsxs)("div",{className:"text-right",children:[(0,n.jsx)("p",{className:"font-display text-2xl font-medium leading-none text-cbt-800",children:(0,eA.Y)(b)}),(0,n.jsxs)("p",{className:"mt-0.5 text-sm uppercase tracking-wide text-muted-foreground",children:["per month for ",(0,eA.k)(s)]}),(0,n.jsxs)("p",{className:"mt-0.5 text-sm text-muted-foreground","data-testid":"get-started-annual-total",children:[(0,eA.Y)(g)," billed annually"]})]}),(0,n.jsx)(eF.StartCheckoutForm,{intent:{plan:"team",seats:s},subscriptionCta:{ctaText:"Continue to checkout",subscriptionName:eX,subscriptionPrice:eA.R},className:eY,ariaLabel:`Continue to checkout: ${eA.C.team.web}, ${(0,eA.k)(s)}, billed annually`,children:"Continue to checkout"}),(0,n.jsxs)("p",{className:"text-center text-sm text-muted-foreground","aria-live":"polite",children:[x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{"data-testid":"get-started-enterprise-line",children:eA.F})," "]}),"Secure checkout: create your team account and pay by credit card. Prefer PO or ACH invoicing?"," ",(0,n.jsx)(ez.TrackedLink,{href:y,location:"pricing-configurator:quote",details:{seats:String(s),tier:x?eE.I:"team"},ariaDescribedBy:eJ,dataTestId:"get-started-quote-link",className:"underline underline-offset-2 hover:text-cbt-700",children:"Get a quote"}),". Just need one seat?"," ",(0,n.jsx)("button",{type:"button",onClick:()=>l(!1),className:eW,children:"See Individual pricing"}),"."]})]})]})}],920291)}]);