1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,803408,e=>{"use strict";let t=(0,e.i(475254).default)("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]);e.s(["default",()=>t])},111369,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(30030),o=e.i(369340),i=e.i(934620),a=e.i(820783),l=e.i(248425),s=e.i(296626),d=e.i(610772),u=e.i(843476),c="Collapsible",[f,p]=(0,n.createContextScope)(c),[m,v]=f(c),g=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:i,defaultOpen:a,disabled:s,onOpenChange:f,...p}=e,[v,g]=(0,o.useControllableState)({prop:i,defaultProp:a??!1,onChange:f,caller:c});return(0,u.jsx)(m,{scope:n,disabled:s,contentId:(0,d.useId)(),open:v,onOpenToggle:t.useCallback(()=>g(e=>!e),[g]),children:(0,u.jsx)(l.Primitive.div,{"data-state":R(v),"data-disabled":s?"":void 0,...p,ref:r})})});g.displayName=c;var h="CollapsibleTrigger",y=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...o}=e,i=v(h,n);return(0,u.jsx)(l.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":R(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...o,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,i.onOpenToggle)})});y.displayName=h;var b="CollapsibleContent",w=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=v(b,e.__scopeCollapsible);return(0,u.jsx)(s.Presence,{present:r||o.open,children:({present:e})=>(0,u.jsx)(x,{...n,ref:t,present:e})})});w.displayName=b;var x=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,present:o,children:s,...d}=e,c=v(b,n),[f,p]=t.useState(o),m=t.useRef(null),g=(0,a.useComposedRefs)(r,m),h=t.useRef(0),y=h.current,w=t.useRef(0),x=w.current,C=c.open||f,D=t.useRef(C),S=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>D.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=m.current;if(e){S.current=S.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,w.current=t.width,D.current||(e.style.transitionDuration=S.current.transitionDuration,e.style.animationName=S.current.animationName),p(o)}},[c.open,o]),(0,u.jsx)(l.Primitive.div,{"data-state":R(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!C,...d,ref:g,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:C&&s})});function R(e){return e?"open":"closed"}e.s(["Collapsible",()=>g,"CollapsibleContent",()=>w,"CollapsibleTrigger",()=>y],111369)},90382,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(470152),o=e.i(981140),i=e.i(820783),a=e.i(30030),l=e.i(369340),s=e.i(586318),d=e.i(999682),u=e.i(635804),c=e.i(248425),f=e.i(75830),p=["PageUp","PageDown"],m=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],v={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},g="Slider",[h,y,b]=(0,f.createCollection)(g),[w,x]=(0,a.createContextScope)(g,[b]),[R,C]=w(g),D=r.forwardRef((e,i)=>{let{name:a,min:s=0,max:d=100,step:u=1,orientation:c="horizontal",disabled:f=!1,minStepsBetweenThumbs:v=0,defaultValue:g=[s],value:y,onValueChange:b=()=>{},onValueCommit:w=()=>{},inverted:x=!1,form:C,...D}=e,S=r.useRef(new Set),N=r.useRef(0),E="horizontal"===c,[I=[],O]=(0,l.useControllableState)({prop:y,defaultProp:g,onChange:e=>{let t=[...S.current];t[N.current]?.focus(),b(e)}}),M=r.useRef(I);function k(e,t,{commit:r}={commit:!1}){let o,i=(String(u).split(".")[1]||"").length,a=Math.round((Math.round((e-s)/u)*u+s)*(o=Math.pow(10,i)))/o,l=(0,n.clamp)(a,[s,d]);O((e=[])=>{let n=function(e=[],t,r){let n=[...e];return n[r]=t,n.sort((e,t)=>e-t)}(e,l,t);if(!function(e,t){if(t>0)return Math.min(...e.slice(0,-1).map((t,r)=>e[r+1]-t))>=t;return!0}(n,v*u))return e;{N.current=n.indexOf(l);let t=String(n)!==String(e);return t&&r&&w(n),t?n:e}})}return(0,t.jsx)(R,{scope:e.__scopeSlider,name:a,disabled:f,min:s,max:d,valueIndexToChangeRef:N,thumbs:S.current,values:I,orientation:c,form:C,children:(0,t.jsx)(h.Provider,{scope:e.__scopeSlider,children:(0,t.jsx)(h.Slot,{scope:e.__scopeSlider,children:(0,t.jsx)(E?P:j,{"aria-disabled":f,"data-disabled":f?"":void 0,...D,ref:i,onPointerDown:(0,o.composeEventHandlers)(D.onPointerDown,()=>{f||(M.current=I)}),min:s,max:d,inverted:x,onSlideStart:f?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let r=e.map(e=>Math.abs(e-t)),n=Math.min(...r);return r.indexOf(n)}(I,e);k(e,t)},onSlideMove:f?void 0:function(e){k(e,N.current)},onSlideEnd:f?void 0:function(){let e=M.current[N.current];I[N.current]!==e&&w(I)},onHomeKeyDown:()=>!f&&k(s,0,{commit:!0}),onEndKeyDown:()=>!f&&k(d,I.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>
1{if(!f){let r=p.includes(e.key)||e.shiftKey&&m.includes(e.key),n=N.current;k(I[n]+u*(r?10:1)*t,n,{commit:!0})}}})})})})});D.displayName=g;var[S,N]=w(g,{startEdge:"left",endEdge:"right",size:"width",direction:1}),P=r.forwardRef((e,n)=>{let{min:o,max:a,dir:l,inverted:d,onSlideStart:u,onSlideMove:c,onSlideEnd:f,onStepKeyDown:p,...m}=e,[g,h]=r.useState(null),y=(0,i.useComposedRefs)(n,e=>h(e)),b=r.useRef(void 0),w=(0,s.useDirection)(l),x="ltr"===w,R=x&&!d||!x&&d;function C(e){let t=b.current||g.getBoundingClientRect(),r=U([0,t.width],R?[o,a]:[a,o]);return b.current=t,r(e-t.left)}return(0,t.jsx)(S,{scope:e.__scopeSlider,startEdge:R?"left":"right",endEdge:R?"right":"left",direction:R?1:-1,size:"width",children:(0,t.jsx)(E,{dir:w,"data-orientation":"horizontal",...m,ref:y,style:{...m.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=C(e.clientX);u?.(t)},onSlideMove:e=>{let t=C(e.clientX);c?.(t)},onSlideEnd:()=>{b.current=void 0,f?.()},onStepKeyDown:e=>{let t=v[R?"from-left":"from-right"].includes(e.key);p?.({event:e,direction:t?-1:1})}})})}),j=r.forwardRef((e,n)=>{let{min:o,max:a,inverted:l,onSlideStart:s,onSlideMove:d,onSlideEnd:u,onStepKeyDown:c,...f}=e,p=r.useRef(null),m=(0,i.useComposedRefs)(n,p),g=r.useRef(void 0),h=!l;function y(e){let t=g.current||p.current.getBoundingClientRect(),r=U([0,t.height],h?[a,o]:[o,a]);return g.current=t,r(e-t.top)}return(0,t.jsx)(S,{scope:e.__scopeSlider,startEdge:h?"bottom":"top",endEdge:h?"top":"bottom",size:"height",direction:h?1:-1,children:(0,t.jsx)(E,{"data-orientation":"vertical",...f,ref:m,style:{...f.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=y(e.clientY);s?.(t)},onSlideMove:e=>{let t=y(e.clientY);d?.(t)},onSlideEnd:()=>{g.current=void 0,u?.()},onStepKeyDown:e=>{let t=v[h?"from-bottom":"from-top"].includes(e.key);c?.({event:e,direction:t?-1:1})}})})}),E=r.forwardRef((e,r)=>{let{__scopeSlider:n,onSlideStart:i,onSlideMove:a,onSlideEnd:l,onHomeKeyDown:s,onEndKeyDown:d,onStepKeyDown:u,...f}=e,v=C(g,n);return(0,t.jsx)(c.Primitive.span,{...f,ref:r,onKeyDown:(0,o.composeEventHandlers)(e.onKeyDown,e=>{"Home"===e.key?(s(e),e.preventDefault()):"End"===e.key?(d(e),e.preventDefault()):p.concat(m).includes(e.key)&&(u(e),e.preventDefault())}),onPointerDown:(0,o.composeEventHandlers)(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),v.thumbs.has(t)?t.focus():i(e)}),onPointerMove:(0,o.composeEventHandlers)(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&a(e)}),onPointerUp:(0,o.composeEventHandlers)(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),l(e))})})}),I="SliderTrack",O=r.forwardRef((e,r)=>{let{__scopeSlider:n,...o}=e,i=C(I,n);return(0,t.jsx)(c.Primitive.span,{"data-disabled":i.disabled?"":void 0,"data-orientation":i.orientation,...o,ref:r})});O.displayName=I;var M="SliderRange",k=r.forwardRef((e,n)=>{let{__scopeSlider:o,...a}=e,l=C(M,o),s=N(M,o),d=r.useRef(null),u=(0,i.useComposedRefs)(n,d),f=l.values.length,p=l.values.map(e=>H(e,l.min,l.max)),m=f>1?Math.min(...p):0,v=100-Math.max(...p);return(0,t.jsx)(c.Primitive.span,{"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0,...a,ref:u,style:{...e.style,[s.startEdge]:m+"%",[s.endEdge]:v+"%"}})});k.displayName=M;var A="SliderThumb",_=r.forwardRef((e,n)=>{let o=y(e.__scopeSlider),[a,l]=r.useState(null),s=(0,i.useComposedRefs)(n,e=>l(e)),d=r.useMemo(()=>a?o().findIndex(e=>e.ref.current===a):-1,[o,a]);return(0,t.jsx)(T,{...e,ref:s,index:d})}),T=r.forwardRef((e,n)=>{var a,l,s,d,f;let p,m,{__scopeSlider:v,index:g,name:y,...b}=e,w=C(A,v),x=N(A,v),[R,D]=r.useState(null),S=(0,i.useComposedRefs)(n,e=>D(e)),P=!R||w.form||!!R.closest("form"),j=(0,u.useSize)(R),E=w.values[g],I=void 0===E?0:H(E,w.min,w.max),O=(a=g,(l=w.values.length)>2?`Value ${a+1} of ${l}`:2===l?["Minimum","Maximum"][a]:void 0),M=j?.[x.size],k=M?(s=M,d=I,f=x.direction,m=U([0,50],[0,p=s/2]),(p-m(d)*f)*f):0;return r.useEffect(()=>{if(R)return w.thumbs.add(R),()=>{w.thumbs.delete(R)}},[R,w.thumbs]),(0,t.jsxs)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[x.startEdge]:`calc(${I}% + ${k}
1px)`},children:[(0,t.jsx)(h.ItemSlot,{scope:e.__scopeSlider,children:(0,t.jsx)(c.Primitive.span,{role:"slider","aria-label":e["aria-label"]||O,"aria-valuemin":w.min,"aria-valuenow":E,"aria-valuemax":w.max,"aria-orientation":w.orientation,"data-orientation":w.orientation,"data-disabled":w.disabled?"":void 0,tabIndex:w.disabled?void 0:0,...b,ref:S,style:void 0===E?{display:"none"}:e.style,onFocus:(0,o.composeEventHandlers)(e.onFocus,()=>{w.valueIndexToChangeRef.current=g})})}),P&&(0,t.jsx)(F,{name:y??(w.name?w.name+(w.values.length>1?"[]":""):void 0),form:w.form,value:E},g)]})});_.displayName=A;var F=r.forwardRef(({__scopeSlider:e,value:n,...o},a)=>{let l=r.useRef(null),s=(0,i.useComposedRefs)(l,a),u=(0,d.usePrevious)(n);return r.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(u!==n&&t){let r=new Event("input",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[u,n]),(0,t.jsx)(c.Primitive.input,{style:{display:"none"},...o,ref:s,defaultValue:n})});function H(e,t,r){return(0,n.clamp)(100/(r-t)*(e-t),[0,100])}function U(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}F.displayName="RadioBubbleInput";var L=e.i(647163);let z=r.forwardRef(({className:e,...r},n)=>(0,t.jsxs)(D,{ref:n,className:(0,L.cn)("relative flex w-full touch-none select-none items-center",e),...r,children:[(0,t.jsx)(O,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-primary/20",children:(0,t.jsx)(k,{className:"absolute h-full bg-brand"})}),(0,t.jsx)(_,{className:"block h-4 w-4 rounded-full border border-primary/50 bg-background shadow transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"})]}));z.displayName=D.displayName,e.s(["Slider",()=>z],90382)},473708,e=>{"use strict";var t=e.i(803408);e.s(["Image",()=>t.default])},283086,e=>{"use strict";let t=(0,e.i(475254).default)("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"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>t],283086)},37727,e=>{"use strict";var t=e.i(841947);e.s(["X",()=>t.default])},841947,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t])},296626,e=>{"use strict";var t=e.i(271645),r=e.i(820783),n=e.i(934620),o=e=>{var o;let a,l,{present:s,children:d}=e,u=function(e){var r,o;let[a,l]=t.useState(),s=t.useRef(null),d=t.useRef(e),u=t.useRef("none"),[c,f]=(r=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,r));return t.useEffect(()=>{let e=i(s.current);u.current="mounted"===c?e:"none"},[c]),(0,n.useLayoutEffect)(()=>{let t=s.current,r=d.current;if(r!==e){let n=u.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),d.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=i(s.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(f("ANIMATION_END"),!d.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(u.current=i(s.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(s),c="function"==typeof d?d({present:u.isPresent}):t.Children.only(d),f=(0,r.useComposedRefs)(u.ref,(o=c,(l=(a=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.ref:(l=(a=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof d||u.isPresent?t.cloneElement(c,{ref:f}):null};function i(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",()=>o])},23750,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(647163);let o=r.forwardRef(({className:e,type:r,...o},i)=>(0,t.jsx)("input",{type:r,className:(0,n.cn)("flex h-12 w-full rounded-lg border border-input bg-background px-4 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:i,...o}));o.displayName="Input",e.s(["Input",()=>o])},326999,e=>{"use strict";let t,r,n;var o=e.i(271645),i=e.i(981140),a=e.i(820783),l=e.i(30030),s=e.i(610772),d=e.i(369340),u=e.i(726330),c=e.i(765491),f=e.i(774606),p=e.i(296626),m=e.i(248425),v=e.i(303536),g=e.i(985369),h=e.i(186312),y=e.i(843476),b=Symbol("radix.slottable");function w(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===b}var x="Dialog",[R,C]=(0,l.createContextScope)(x),[D,S]=R(x),N=e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:i,onOpenChange:a,modal:l=!0}=e,u=o.useRef(null),c=o.useRef(null),[f,p]=(0,d.useControllableState)({prop:n,defaultProp:i??!1,onChange:a,caller:x});return(0,y.jsx)(D,{scope:t,triggerRef:u,contentRef:c,contentId:(0,s.useId)(),titleId:(0,s.useId)(),descriptionId:(0,s.useId)(),open:f,onOpenChange:p,onOpenToggle:o.useCallback(()=>p(e=>!e),[p]),modal:l,children:r})};N.displayName=x;var P="DialogTrigger",j=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=S(P,r),l=(0,a.useComposedRefs)(t,o.triggerRef);return(0,y.jsx)(m.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":X(o.open),...n,ref:l,onClick:(0,i.composeEventHandlers)(e.onClick,o.onOpenToggle)})});j.displayName=P;var E="DialogPortal",[I,O]=R(E,{forceMount:void 0}),M=e=>{let{__scopeDialog:t,forceMount:r,children:n,container:i}=e,a=S(E,t);return(0,y.jsx)(I,{scope:t,forceMount:r,children:o.Children.map(n,e=>(0,y.jsx)(p.Presence,{present:r||a.open,children:(0,y.jsx)(f.Portal,{asChild:!0,container:i,children:e})}))})};M.displayName=E;var k="DialogOverlay",A=o.forwardRef((e,t)=>
1{let r=O(k,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=S(k,e.__scopeDialog);return i.modal?(0,y.jsx)(p.Presence,{present:n||i.open,children:(0,y.jsx)(T,{...o,ref:t})}):null});A.displayName=k;var _=((n=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){var i;let e,l,s=(i=r,(l=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(l=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),d=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(d.ref=t?(0,a.composeRefs)(t,s):s),o.cloneElement(r,d)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName="DialogOverlay.RemoveScroll.SlotClone",t=n,(r=o.forwardRef((e,r)=>{let{children:n,...i}=e,a=o.Children.toArray(n),l=a.find(w);if(l){let e=l.props.children,n=a.map(t=>t!==l?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,y.jsx)(t,{...i,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,y.jsx)(t,{...i,ref:r,children:n})})).displayName="DialogOverlay.RemoveScroll.Slot",r),T=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=S(k,r);return(0,y.jsx)(g.RemoveScroll,{as:_,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(m.Primitive.div,{"data-state":X(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),F="DialogContent",H=o.forwardRef((e,t)=>{let r=O(F,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=S(F,e.__scopeDialog);return(0,y.jsx)(p.Presence,{present:n||i.open,children:i.modal?(0,y.jsx)(U,{...o,ref:t}):(0,y.jsx)(L,{...o,ref:t})})});H.displayName=F;var U=o.forwardRef((e,t)=>{let r=S(F,e.__scopeDialog),n=o.useRef(null),l=(0,a.useComposedRefs)(t,r.contentRef,n);return o.useEffect(()=>{let e=n.current;if(e)return(0,h.hideOthers)(e)},[]),(0,y.jsx)(z,{...e,ref:l,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,i.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,i.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),L=o.forwardRef((e,t)=>{let r=S(F,e.__scopeDialog),n=o.useRef(!1),i=o.useRef(!1);return(0,y.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let o=t.target;r.triggerRef.current?.contains(o)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),z=o.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:l,...s}=e,d=S(F,r),f=o.useRef(null),p=(0,a.useComposedRefs)(t,f);return(0,v.useFocusGuards)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,y.jsx)(u.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":X(d.open),...s,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(J,{titleId:d.titleId}),(0,y.jsx)(Q,{contentRef:f,descriptionId:d.descriptionId})]})]})}),W="DialogTitle",B=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=S(W,r);return(0,y.jsx)(m.Primitive.h2,{id:o.titleId,...n,ref:t})});B.displayName=W;var K="DialogDescription",$=o.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=S(K,r);return(0,y.jsx)(m.Primitive.p,{id:o.descriptionId,...n,ref:t})});$.displayName=K;var V="DialogClose",q=o.forwardRef((e,t)=>
1{let{__scopeDialog:r,...n}=e,o=S(V,r);return(0,y.jsx)(m.Primitive.button,{type:"button",...n,ref:t,onClick:(0,i.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})});function X(e){return e?"open":"closed"}q.displayName=V;var Y="DialogTitleWarning",[Z,G]=(0,l.createContext)(Y,{contentName:F,titleName:W,docsSlug:"dialog"}),J=({titleId:e})=>{let t=G(Y),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 2 3If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 4 5For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return o.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},Q=({contentRef:e,descriptionId:t})=>{let r=G("DialogDescriptionWarning"),n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${r.contentName}}.`;return o.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};e.s(["Close",()=>q,"Content",()=>H,"Description",()=>$,"Overlay",()=>A,"Portal",()=>M,"Root",()=>N,"Title",()=>B,"Trigger",()=>j,"WarningProvider",()=>Z,"createDialogScope",()=>C],326999)},107233,e=>{"use strict";let t=(0,e.i(475254).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",()=>t],107233)},635804,e=>{"use strict";var t=e.i(271645),r=e.i(934620);function n(e){let[n,o]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){o({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,n;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,n=t.blockSize}else r=e.offsetWidth,n=e.offsetHeight;o({width:r,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}o(void 0)},[e]),n}e.s(["useSize",()=>n])},999682,e=>{"use strict";var t=e.i(271645);function r(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}e.s(["usePrevious",()=>r])},643531,e=>{"use strict";let t=(0,e.i(475254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",()=>t],643531)},10708,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(647163);let o=r.forwardRef(({className:e,...r},o)=>(0,t.jsx)("label",{ref:o,className:(0,n.cn)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...r}));o.displayName="Label",e.s(["Label",()=>o])},664659,655900,e=>{"use strict";var t=e.i(475254);let r=(0,t.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",()=>r],664659);let n=(0,t.default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["ChevronUp",()=>n],655900)},569074,e=>{"use strict";let t=(0,e.i(475254).default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);e.s(["Upload",()=>t],569074)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.