1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,755146,826146,449583,e=>{"use strict";var t=e.i(706496),n=e.i(94513),r=e.i(291967),o=e.i(144977),a=e.i(156207),s=e.i(534643),i=e.i(556872),d=e.i(357784),u=e.i(770460),l=e.i(60212),c=e.i(371353),p=e.i(89535),f=e.i(461194),m=e.i(301345),v=e.i(614952),g=e.i(653747),h=e.i(252960),w="rovingFocusGroup.onEntryFocus",x={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[y,C,R]=(0,d.createCollection)(b),[j,M]=(0,a.createContextScope)(b,[R]),[D,E]=j(b),_=n.forwardRef((e,n)=>(0,t.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(I,{...e,ref:n})})}));_.displayName=b;var I=n.forwardRef((e,a)=>{let{__scopeRovingFocusGroup:d,orientation:l,loop:c=!1,dir:p,currentTabStopId:f,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:v,onEntryFocus:g,preventScrollOnEntryFocus:y=!1,...R}=e,j=n.useRef(null),M=(0,o.useComposedRefs)(a,j),E=(0,u.useDirection)(p),[_,I]=(0,s.useControllableState)({prop:f,defaultProp:m??null,onChange:v,caller:b}),[k,P]=n.useState(!1),S=(0,h.useCallbackRef)(g),N=C(d),F=n.useRef(!1),[A,O]=n.useState(0);return n.useEffect(()=>{let e=j.current;if(e)return e.addEventListener(w,S),()=>e.removeEventListener(w,S)},[S]),(0,t.jsx)(D,{scope:d,orientation:l,dir:E,loop:c,currentTabStopId:_,onItemFocus:n.useCallback(e=>I(e),[I]),onItemShiftTab:n.useCallback(()=>P(!0),[]),onFocusableItemAdd:n.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>O(e=>e-1),[]),children:(0,t.jsx)(i.Primitive.div,{tabIndex:k||0===A?-1:0,"data-orientation":l,...R,ref:M,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{F.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(w,x);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=N().filter(e=>e.focusable);T([e.find(e=>e.active),e.find(e=>e.id===_),...e].filter(Boolean).map(e=>e.ref.current),y)}}F.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>P(!1))})})}),k="RovingFocusGroupItem",P=n.forwardRef((e,o)=>{let{__scopeRovingFocusGroup:a,focusable:s=!0,active:d=!1,tabStopId:u,children:l,...c}=e,p=(0,f.useId)(),m=u||p,v=E(k,a),g=v.currentTabStopId===m,h=C(a),{onFocusableItemAdd:w,onFocusableItemRemove:x,currentTabStopId:b}=v;return n.useEffect(()=>{if(s)return w(),()=>x()},[s,w,x]),(0,t.jsx)(y.ItemSlot,{scope:a,id:m,focusable:s,active:d,children:(0,t.jsx)(i.Primitive.span,{tabIndex:g?0:-1,"data-orientation":v.orientation,...c,ref:o,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{s?v.onItemFocus(m):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>v.onItemFocus(m)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return S[o]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let a=o.indexOf(e.currentTarget);o=v.loop?(n=o,r=a+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(a+1)}setTimeout(()=>T(o))}}),children:"function"==typeof l?l({isCurrentTabStop:g,hasTabStop:null!=b}):l})})});P.displayName=k;var S={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function T(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}var N=e.i(93074),F=e.i(73772),A=e.i(621790),O=["Enter"," "],H=["ArrowUp","PageDown","End"],L=["ArrowDown","PageUp","Home",...H],K={ltr:[...O,"ArrowRight"],rtl:[...O,"ArrowLeft"]},z={ltr:["ArrowLeft"],rtl:["ArrowRight"]},G="Menu",[U,B,V]=(0,d.createCollection)(G),[X,Y]=(0,a.createContextScope)(G,[V,m.createPopperScope,M]),W=(0,m.createPopperScope)(),Z=M(),[q,J]=X(G),[Q,$]=X(G),ee=e=>{let{__scopeMenu:r,open:o=!1,children:a,dir:s,onOpenChange:i,modal:d=!0}=e,l=W(r),[c,p]=n.useState(null),f=n.useRef(!1),v=(0,h.useCallbackRef)(i),g=(0,u.useDirection)(s);return n.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,t.jsx)(m.Root,{...l,children:(0,t.jsx)(q,{scope:r,open:o,onOpenChange:v,content:c,onContentChange:p,children:(0,t.jsx)(Q,{scope:r,onClose:n.useCallback(()=>v(!1),[v]),isUsingKeyboardRef:f,dir:g,modal:d,children:a})})})};ee.displayName=G;
1var et=n.forwardRef((e,n)=>{let{__scopeMenu:r,...o}=e,a=W(r);return(0,t.jsx)(m.Anchor,{...a,...o,ref:n})});et.displayName="MenuAnchor";var en="MenuPortal",[er,eo]=X(en,{forceMount:void 0}),ea=e=>{let{__scopeMenu:n,forceMount:r,children:o,container:a}=e,s=J(en,n);return(0,t.jsx)(er,{scope:n,forceMount:r,children:(0,t.jsx)(g.Presence,{present:r||s.open,children:(0,t.jsx)(v.Portal,{asChild:!0,container:a,children:o})})})};ea.displayName=en;var es="MenuContent",[ei,ed]=X(es),eu=n.forwardRef((e,n)=>{let r=eo(es,e.__scopeMenu),{forceMount:o=r.forceMount,...a}=e,s=J(es,e.__scopeMenu),i=$(es,e.__scopeMenu);return(0,t.jsx)(U.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(g.Presence,{present:o||s.open,children:(0,t.jsx)(U.Slot,{scope:e.__scopeMenu,children:i.modal?(0,t.jsx)(el,{...a,ref:n}):(0,t.jsx)(ec,{...a,ref:n})})})})}),el=n.forwardRef((e,a)=>{let s=J(es,e.__scopeMenu),i=n.useRef(null),d=(0,o.useComposedRefs)(a,i);return n.useEffect(()=>{let e=i.current;if(e)return(0,F.hideOthers)(e)},[]),(0,t.jsx)(ef,{...e,ref:d,trapFocus:s.open,disableOutsidePointerEvents:s.open,disableOutsideScroll:!0,onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>s.onOpenChange(!1)})}),ec=n.forwardRef((e,n)=>{let r=J(es,e.__scopeMenu);return(0,t.jsx)(ef,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),ep=(0,N.createSlot)("MenuContent.ScrollLock"),ef=n.forwardRef((e,a)=>{let{__scopeMenu:s,loop:i=!1,trapFocus:d,onOpenAutoFocus:u,onCloseAutoFocus:f,disableOutsidePointerEvents:v,onEntryFocus:g,onEscapeKeyDown:h,onPointerDownOutside:w,onFocusOutside:x,onInteractOutside:b,onDismiss:y,disableOutsideScroll:C,...R}=e,j=J(es,s),M=$(es,s),D=W(s),E=Z(s),I=B(s),[k,P]=n.useState(null),S=n.useRef(null),T=(0,o.useComposedRefs)(a,S,j.onContentChange),N=n.useRef(0),F=n.useRef(""),O=n.useRef(0),K=n.useRef(null),z=n.useRef("right"),G=n.useRef(0),U=C?A.RemoveScroll:n.Fragment;n.useEffect(()=>()=>window.clearTimeout(N.current),[]),(0,c.useFocusGuards)();let V=n.useCallback(e=>{var t,n;return z.current===K.current?.side&&(t=e,!!(n=K.current?.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let s=t[e],i=t[a],d=s.x,u=s.y,l=i.x,c=i.y;u>r!=c>r&&n<(l-d)*(r-u)/(c-u)+d&&(o=!o)}return o}({x:t.clientX,y:t.clientY},n))},[]);return(0,t.jsx)(ei,{scope:s,searchRef:F,onItemEnter:n.useCallback(e=>{V(e)&&e.preventDefault()},[V]),onItemLeave:n.useCallback(e=>{V(e)||(S.current?.focus(),P(null))},[V]),onTriggerLeave:n.useCallback(e=>{V(e)&&e.preventDefault()},[V]),pointerGraceTimerRef:O,onPointerGraceIntentChange:n.useCallback(e=>{K.current=e},[]),children:(0,t.jsx)(U,{...C?{as:ep,allowPinchZoom:!0}:void 0,children:(0,t.jsx)(p.FocusScope,{asChild:!0,trapped:d,onMountAutoFocus:(0,r.composeEventHandlers)(u,e=>{e.preventDefault(),S.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:f,children:(0,t.jsx)(l.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:v,onEscapeKeyDown:h,onPointerDownOutside:w,onFocusOutside:x,onInteractOutside:b,onDismiss:y,children:(0,t.jsx)(_,{asChild:!0,...E,dir:M.dir,orientation:"vertical",loop:i,currentTabStopId:k,onCurrentTabStopIdChange:P,onEntryFocus:(0,r.composeEventHandlers)(g,e=>{M.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,t.jsx)(m.Content,{role:"menu","aria-orientation":"vertical","data-state":ez(j.open),"data-radix-menu-content":"",dir:M.dir,...D,...R,ref:T,style:{outline:"none",...R.style},onKeyDown:(0,r.composeEventHandlers)(R.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;if(t){var o;let t,a,s,i,d,u;"Tab"===e.key&&e.preventDefault(),!n&&r&&(o=e.key,t=F.current+o,a=I().filter(e=>!e.disabled),s=document.activeElement,i=a.find(e=>e.ref.current===s)?.textValue,d=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,a=n?e.indexOf(n):-1,s=(r=Math.max(a,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(s=s.filter(e=>e!==n));let i=s.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==n?i:void 0}(a.map(e=>e.textValue),t,i),u=a.find(e=>e.textValue===d)?.ref.current,function e(t){F.current=t,window.clearTimeout(N.current),""!==t&&(N.current=window.setTimeout(()=>e(""),1e3))}(t),u&&setTimeout(()=>
1u.focus()))}let a=S.current;if(e.target!==a||!L.includes(e.key))return;e.preventDefault();let s=I().filter(e=>!e.disabled).map(e=>e.ref.current);H.includes(e.key)&&s.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(s)}),onBlur:(0,r.composeEventHandlers)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(N.current),F.current="")}),onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,eB(e=>{let t=e.target,n=G.current!==e.clientX;e.currentTarget.contains(t)&&n&&(z.current=e.clientX>G.current?"right":"left",G.current=e.clientX)}))})})})})})})});eu.displayName=es;var em=n.forwardRef((e,n)=>{let{__scopeMenu:r,...o}=e;return(0,t.jsx)(i.Primitive.div,{role:"group",...o,ref:n})});em.displayName="MenuGroup";var ev=n.forwardRef((e,n)=>{let{__scopeMenu:r,...o}=e;return(0,t.jsx)(i.Primitive.div,{...o,ref:n})});ev.displayName="MenuLabel";var eg="MenuItem",eh="menu.itemSelect",ew=n.forwardRef((e,a)=>{let{disabled:s=!1,onSelect:d,...u}=e,l=n.useRef(null),c=$(eg,e.__scopeMenu),p=ed(eg,e.__scopeMenu),f=(0,o.useComposedRefs)(a,l),m=n.useRef(!1);return(0,t.jsx)(ex,{...u,ref:f,disabled:s,onClick:(0,r.composeEventHandlers)(e.onClick,()=>{let e=l.current;if(!s&&e){let t=new CustomEvent(eh,{bubbles:!0,cancelable:!0});e.addEventListener(eh,e=>d?.(e),{once:!0}),(0,i.dispatchDiscreteCustomEvent)(e,t),t.defaultPrevented?m.current=!1:c.onClose()}}),onPointerDown:t=>{e.onPointerDown?.(t),m.current=!0},onPointerUp:(0,r.composeEventHandlers)(e.onPointerUp,e=>{m.current||e.currentTarget?.click()}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{let t=""!==p.searchRef.current;s||t&&" "===e.key||O.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ew.displayName=eg;var ex=n.forwardRef((e,a)=>{let{__scopeMenu:s,disabled:d=!1,textValue:u,...l}=e,c=ed(eg,s),p=Z(s),f=n.useRef(null),m=(0,o.useComposedRefs)(a,f),[v,g]=n.useState(!1),[h,w]=n.useState("");return n.useEffect(()=>{let e=f.current;e&&w((e.textContent??"").trim())},[l.children]),(0,t.jsx)(U.ItemSlot,{scope:s,disabled:d,textValue:u??h,children:(0,t.jsx)(P,{asChild:!0,...p,focusable:!d,children:(0,t.jsx)(i.Primitive.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":d||void 0,"data-disabled":d?"":void 0,...l,ref:m,onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,eB(e=>{d?c.onItemLeave(e):(c.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,r.composeEventHandlers)(e.onPointerLeave,eB(e=>c.onItemLeave(e))),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>g(!0)),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>g(!1))})})})}),eb=n.forwardRef((e,n)=>{let{checked:o=!1,onCheckedChange:a,...s}=e;return(0,t.jsx)(e_,{scope:e.__scopeMenu,checked:o,children:(0,t.jsx)(ew,{role:"menuitemcheckbox","aria-checked":eG(o)?"mixed":o,...s,ref:n,"data-state":eU(o),onSelect:(0,r.composeEventHandlers)(s.onSelect,()=>a?.(!!eG(o)||!o),{checkForDefaultPrevented:!1})})})});eb.displayName="MenuCheckboxItem";var ey="MenuRadioGroup",[eC,eR]=X(ey,{value:void 0,onValueChange:()=>{}}),ej=n.forwardRef((e,n)=>{let{value:r,onValueChange:o,...a}=e,s=(0,h.useCallbackRef)(o);return(0,t.jsx)(eC,{scope:e.__scopeMenu,value:r,onValueChange:s,children:(0,t.jsx)(em,{...a,ref:n})})});ej.displayName=ey;var eM="MenuRadioItem",eD=n.forwardRef((e,n)=>{let{value:o,...a}=e,s=eR(eM,e.__scopeMenu),i=o===s.value;return(0,t.jsx)(e_,{scope:e.__scopeMenu,checked:i,children:(0,t.jsx)(ew,{role:"menuitemradio","aria-checked":i,...a,ref:n,"data-state":eU(i),onSelect:(0,r.composeEventHandlers)(a.onSelect,()=>s.onValueChange?.(o),{checkForDefaultPrevented:!1})})})});eD.displayName=eM;var eE="MenuItemIndicator",[e_,eI]=X(eE,{checked:!1}),ek=n.forwardRef((e,n)=>{let{__scopeMenu:r,forceMount:o,...a}=e,s=eI(eE,r);return(0,t.jsx)(g.Presence,{present:o||eG(s.checked)||!0===s.checked,children:(0,t.jsx)(i.Primitive.span,{...a,ref:n,"data-state":eU(s.checked)})})});ek.displayName=eE;var eP=n.forwardRef((e,n)=>{let{__scopeMenu:r,...o}=e;return(0,t.jsx)(i.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});eP.displayName="MenuSeparator";
1var eS=n.forwardRef((e,n)=>{let{__scopeMenu:r,...o}=e,a=W(r);return(0,t.jsx)(m.Arrow,{...a,...o,ref:n})});eS.displayName="MenuArrow";var eT="MenuSub",[eN,eF]=X(eT),eA=e=>{let{__scopeMenu:r,children:o,open:a=!1,onOpenChange:s}=e,i=J(eT,r),d=W(r),[u,l]=n.useState(null),[c,p]=n.useState(null),v=(0,h.useCallbackRef)(s);return n.useEffect(()=>(!1===i.open&&v(!1),()=>v(!1)),[i.open,v]),(0,t.jsx)(m.Root,{...d,children:(0,t.jsx)(q,{scope:r,open:a,onOpenChange:v,content:c,onContentChange:p,children:(0,t.jsx)(eN,{scope:r,contentId:(0,f.useId)(),triggerId:(0,f.useId)(),trigger:u,onTriggerChange:l,children:o})})})};eA.displayName=eT;var eO="MenuSubTrigger",eH=n.forwardRef((e,a)=>{let s=J(eO,e.__scopeMenu),i=$(eO,e.__scopeMenu),d=eF(eO,e.__scopeMenu),u=ed(eO,e.__scopeMenu),l=n.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:p}=u,f={__scopeMenu:e.__scopeMenu},m=n.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return n.useEffect(()=>m,[m]),n.useEffect(()=>{let e=c.current;return()=>{window.clearTimeout(e),p(null)}},[c,p]),(0,t.jsx)(et,{asChild:!0,...f,children:(0,t.jsx)(ex,{id:d.triggerId,"aria-haspopup":"menu","aria-expanded":s.open,"aria-controls":d.contentId,"data-state":ez(s.open),...e,ref:(0,o.composeRefs)(a,d.onTriggerChange),onClick:t=>{e.onClick?.(t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),s.open||s.onOpenChange(!0))},onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,eB(t=>{u.onItemEnter(t),!t.defaultPrevented&&(e.disabled||s.open||l.current||(u.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{s.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,r.composeEventHandlers)(e.onPointerLeave,eB(e=>{m();let t=s.content?.getBoundingClientRect();if(t){let n=s.content?.dataset.side,r="right"===n,o=t[r?"left":"right"],a=t[r?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(r?-5:5),y:e.clientY},{x:o,y:t.top},{x:a,y:t.top},{x:a,y:t.bottom},{x:o,y:t.bottom}],side:n}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,t=>{let n=""!==u.searchRef.current;e.disabled||n&&" "===t.key||K[i.dir].includes(t.key)&&(s.onOpenChange(!0),s.content?.focus(),t.preventDefault())})})})});eH.displayName=eO;var eL="MenuSubContent",eK=n.forwardRef((e,a)=>{let s=eo(es,e.__scopeMenu),{forceMount:i=s.forceMount,...d}=e,u=J(es,e.__scopeMenu),l=$(es,e.__scopeMenu),c=eF(eL,e.__scopeMenu),p=n.useRef(null),f=(0,o.useComposedRefs)(a,p);return(0,t.jsx)(U.Provider,{scope:e.__scopeMenu,children:(0,t.jsx)(g.Presence,{present:i||u.open,children:(0,t.jsx)(U.Slot,{scope:e.__scopeMenu,children:(0,t.jsx)(ef,{id:c.contentId,"aria-labelledby":c.triggerId,...d,ref:f,align:"start",side:"rtl"===l.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{l.isUsingKeyboardRef.current&&p.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>{e.target!==c.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,r.composeEventHandlers)(e.onEscapeKeyDown,e=>{l.onClose(),e.preventDefault()}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=z[l.dir].includes(e.key);t&&n&&(u.onOpenChange(!1),c.trigger?.focus(),e.preventDefault())})})})})})});function ez(e){return e?"open":"closed"}function eG(e){return"indeterminate"===e}function eU(e){return eG(e)?"indeterminate":e?"checked":"unchecked"}function eB(e){return t=>"mouse"===t.pointerType?e(t):void 0}eK.displayName=eL,e.s(["Anchor",0,et,"Arrow",0,eS,"CheckboxItem",0,eb,"Content",0,eu,"Group",0,em,"Item",0,ew,"ItemIndicator",0,ek,"Label",0,ev,"Portal",0,ea,"RadioGroup",0,ej,"RadioItem",0,eD,"Root",0,ee,"Separator",0,eP,"Sub",0,eA,"SubContent",0,eK,"SubTrigger",0,eH,"createMenuScope",0,Y],826146);var eV="DropdownMenu",[eX,eY]=(0,a.createContextScope)(eV,[Y]),eW=Y(),[eZ,eq]=eX(eV),eJ=e=>{let{__scopeDropdownMenu:r,children:o,dir:a,open:i,defaultOpen:d,onOpenChange:u,modal:l=!0}=e,c=eW(r),p=n.useRef(null),[m,v]=(0,s.useControllableState)({prop:i,defaultProp:d??!1,onChange:u,caller:eV});return(0,t.jsx)(eZ,{scope:r,triggerId:(0,f.useId)(),triggerRef:p,contentId:(0,f.useId)(),open:m,onOpenChange:v,onOpenToggle:n.useCallback(()=>v(e=>!e),[v]),modal:l,children:(0,t.jsx)(ee,{...c,open:m,onOpenChange:v,dir:a,modal:l,children:o})})};eJ.displayName=eV;
1var eQ="DropdownMenuTrigger",e$=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:a,disabled:s=!1,...d}=e,u=eq(eQ,a),l=eW(a);return(0,t.jsx)(et,{asChild:!0,...l,children:(0,t.jsx)(i.Primitive.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":s?"":void 0,disabled:s,...d,ref:(0,o.composeRefs)(n,u.triggerRef),onPointerDown:(0,r.composeEventHandlers)(e.onPointerDown,e=>{!s&&0===e.button&&!1===e.ctrlKey&&(u.onOpenToggle(),u.open||e.preventDefault())}),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{!s&&(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});e$.displayName=eQ;var e0=e=>{let{__scopeDropdownMenu:n,...r}=e,o=eW(n);return(0,t.jsx)(ea,{...o,...r})};e0.displayName="DropdownMenuPortal";var e1="DropdownMenuContent",e5=n.forwardRef((e,o)=>{let{__scopeDropdownMenu:a,...s}=e,i=eq(e1,a),d=eW(a),u=n.useRef(!1);return(0,t.jsx)(eu,{id:i.contentId,"aria-labelledby":i.triggerId,...d,...s,ref:o,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{u.current||i.triggerRef.current?.focus(),u.current=!1,e.preventDefault()}),onInteractOutside:(0,r.composeEventHandlers)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!i.modal||r)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});e5.displayName=e1,n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(em,{...a,...o,ref:n})}).displayName="DropdownMenuGroup";var e2=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(ev,{...a,...o,ref:n})});e2.displayName="DropdownMenuLabel";var e4=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(ew,{...a,...o,ref:n})});e4.displayName="DropdownMenuItem";var e3=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(eb,{...a,...o,ref:n})});e3.displayName="DropdownMenuCheckboxItem";var e6=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(ej,{...a,...o,ref:n})});e6.displayName="DropdownMenuRadioGroup";var e7=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(eD,{...a,...o,ref:n})});e7.displayName="DropdownMenuRadioItem";var e9=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(ek,{...a,...o,ref:n})});e9.displayName="DropdownMenuItemIndicator";var e8=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(eP,{...a,...o,ref:n})});e8.displayName="DropdownMenuSeparator",n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(eS,{...a,...o,ref:n})}).displayName="DropdownMenuArrow";var te=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(eH,{...a,...o,ref:n})});te.displayName="DropdownMenuSubTrigger";var tt=n.forwardRef((e,n)=>{let{__scopeDropdownMenu:r,...o}=e,a=eW(r);return(0,t.jsx)(eK,{...a,...o,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});tt.displayName="DropdownMenuSubContent";var tn=e=>{let{__scopeDropdownMenu:n,children:r,open:o,onOpenChange:a,defaultOpen:i}=e,d=eW(n),[u,l]=(0,s.useControllableState)({prop:o,defaultProp:i??!1,onChange:a,caller:"DropdownMenuSub"});return(0,t.jsx)(eA,{...d,open:u,onOpenChange:l,children:r})},tr=e.i(558592),to=e.i(510786);let ta=(0,e.i(198631).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["CircleIcon",0,ta],449583);var ts=e.i(604829);e.s(["DropdownMenu",0,function({...e}){return(0,t.jsx)(eJ,{"data-slot":"dropdown-menu",...e})},"DropdownMenuCheckboxItem",0,function({className:e,children:n,checked:r,...o}
1){return(0,t.jsxs)(e3,{"data-slot":"dropdown-menu-checkbox-item",className:(0,ts.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:r,...o,children:[(0,t.jsx)("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:(0,t.jsx)(e9,{children:(0,t.jsx)(tr.CheckIcon,{className:"size-4"})})}),n]})},"DropdownMenuContent",0,function({className:e,sideOffset:n=4,...r}){return(0,t.jsx)(e0,{children:(0,t.jsx)(e5,{"data-slot":"dropdown-menu-content",sideOffset:n,className:(0,ts.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",e),...r})})},"DropdownMenuItem",0,function({className:e,inset:n,variant:r="default",...o}){return(0,t.jsx)(e4,{"data-slot":"dropdown-menu-item","data-inset":n,"data-variant":r,className:(0,ts.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive! [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})},"DropdownMenuLabel",0,function({className:e,inset:n,...r}){return(0,t.jsx)(e2,{"data-slot":"dropdown-menu-label","data-inset":n,className:(0,ts.cn)("px-2 py-1.5 text-sm font-medium data-inset:pl-8",e),...r})},"DropdownMenuRadioGroup",0,function({...e}){return(0,t.jsx)(e6,{"data-slot":"dropdown-menu-radio-group",...e})},"DropdownMenuRadioItem",0,function({className:e,children:n,...r}){return(0,t.jsxs)(e7,{"data-slot":"dropdown-menu-radio-item",className:(0,ts.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...r,children:[(0,t.jsx)("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:(0,t.jsx)(e9,{children:(0,t.jsx)(ta,{className:"size-2 fill-current"})})}),n]})},"DropdownMenuSeparator",0,function({className:e,...n}){return(0,t.jsx)(e8,{"data-slot":"dropdown-menu-separator",className:(0,ts.cn)("bg-border -mx-1 my-1 h-px",e),...n})},"DropdownMenuSub",0,function({...e}){return(0,t.jsx)(tn,{"data-slot":"dropdown-menu-sub",...e})},"DropdownMenuSubContent",0,function({className:e,...n}){return(0,t.jsx)(tt,{"data-slot":"dropdown-menu-sub-content",className:(0,ts.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",e),...n})},"DropdownMenuSubTrigger",0,function({className:e,inset:n,children:r,...o}
1){return(0,t.jsxs)(te,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:(0,ts.cn)("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-inset:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o,children:[r,(0,t.jsx)(to.ChevronRightIcon,{className:"ml-auto size-4"})]})},"DropdownMenuTrigger",0,function({...e}){return(0,t.jsx)(e$,{"data-slot":"dropdown-menu-trigger",...e})}],755146)}]);
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.