1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,628876,e=>{"use strict";var n=e.i(667420),r=e.i(851729),o=e.i(164309),t=e.i(784544),a=e.i(766417),u=e.i(770218),i=e.i(746361),c=e.i(177619),s=e.i(185440),d=e.i(291967),l=e.i(165743),p=e.i(300355),f=e.i(985846),v=e.i(528666),_=e.i(648486),m=e.i(892913),w=e.i(671975),h=e.i(876607),g=e.i(872566),x=e.i(899275),b=e.i(579172),y=e.i(792830),M=e.i(318351),D=e.i(673741),C=e.i(826730),R="rovingFocusGroup.onEntryFocus",E={bubbles:!1,cancelable:!0},j="RovingFocusGroup",I=(0,c._)((0,m.createCollection)(j),3),P=I[0],S=I[1],k=I[2],F=(0,c._)((0,p.createContextScope)(j,[k]),2),O=F[0],T=F[1],N=(0,c._)(O(j),2),A=N[0],H=N[1],K=s.forwardRef(function(e,n){return(0,u.jsx)(P.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(P.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,u.jsx)(L,(0,t._)((0,o._)({},e),{ref:n}))})})});K.displayName=j;var L=s.forwardRef(function(e,n){var r=e.__scopeRovingFocusGroup,i=e.orientation,p=e.loop,m=e.dir,h=e.currentTabStopId,g=e.defaultCurrentTabStopId,x=e.onCurrentTabStopIdChange,b=e.onEntryFocus,y=e.preventScrollOnEntryFocus,M=void 0!==y&&y,D=(0,a._)(e,["__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopId","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus"]),I=s.useRef(null),P=(0,l.useComposedRefs)(n,I),k=(0,w.useDirection)(m),F=(0,c._)((0,f.useControllableState)({prop:h,defaultProp:null!=g?g:null,onChange:x,caller:j}),2),O=F[0],T=F[1],N=(0,c._)(s.useState(!1),2),H=N[0],K=N[1],L=(0,C.useCallbackRef)(b),G=S(r),U=s.useRef(!1),z=(0,c._)(s.useState(0),2),B=z[0],X=z[1];return s.useEffect(function(){var e=I.current;if(e)return e.addEventListener(R,L),function(){return e.removeEventListener(R,L)}},[L]),(0,u.jsx)(A,{scope:r,orientation:i,dir:k,loop:void 0!==p&&p,currentTabStopId:O,onItemFocus:s.useCallback(function(e){return T(e)},[T]),onItemShiftTab:s.useCallback(function(){return K(!0)},[]),onFocusableItemAdd:s.useCallback(function(){return X(function(e){return e+1})},[]),onFocusableItemRemove:s.useCallback(function(){return X(function(e){return e-1})},[]),children:(0,u.jsx)(v.Primitive.div,(0,t._)((0,o._)({tabIndex:H||0===B?-1:0,"data-orientation":i},D),{ref:P,style:(0,o._)({outline:"none"},e.style),onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,function(){U.current=!0}),onFocus:(0,d.composeEventHandlers)(e.onFocus,function(e){var n=!U.current;if(e.target===e.currentTarget&&n&&!H){var r=new CustomEvent(R,E);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){var o=G().filter(function(e){return e.focusable});V([o.find(function(e){return e.active}),o.find(function(e){return e.id===O})].concat((0,_._)(o)).filter(Boolean).map(function(e){return e.ref.current}),M)}}U.current=!1}),onBlur:(0,d.composeEventHandlers)(e.onBlur,function(){return K(!1)})}))})}),G="RovingFocusGroupItem",U=s.forwardRef(function(e,n){var r=e.__scopeRovingFocusGroup,i=e.focusable,c=void 0===i||i,l=e.active,p=e.tabStopId,f=e.children,_=(0,a._)(e,["__scopeRovingFocusGroup","focusable","active","tabStopId","children"]),m=(0,b.useId)(),w=p||m,h=H(G,r),g=h.currentTabStopId===w,x=S(r),y=h.onFocusableItemAdd,M=h.onFocusableItemRemove,D=h.currentTabStopId;return s.useEffect(function(){if(c)return y(),function(){return M()}},[c,y,M]),(0,u.jsx)(P.ItemSlot,{scope:r,id:w,focusable:c,active:void 0!==l&&l,children:(0,u.jsx)(v.Primitive.span,(0,t._)((0,o._)({tabIndex:g?0:-1,"data-orientation":h.orientation},_),{ref:n,onMouseDown:(0,d.composeEventHandlers)(e.onMouseDown,function(e){c?h.onItemFocus(w):e.preventDefault()}),onFocus:(0,d.composeEventHandlers)(e.onFocus,function(){return h.onItemFocus(w)}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,function(e){if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target===e.currentTarget){var n=function(e,n,r){var o,t=(o=e.key,"rtl"!==r?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===n&&["ArrowLeft","ArrowRight"].includes(t))&&!("horizontal"===n&&["ArrowUp","ArrowDown"].includes(t)))return z[t]}(e,h.orientation,h.dir);
1if(void 0!==n){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();var r=x().filter(function(e){return e.focusable}).map(function(e){return e.ref.current});if("last"===n)r.reverse();else if("prev"===n||"next"===n){"prev"===n&&r.reverse();var o,t,a=r.indexOf(e.currentTarget);r=h.loop?(o=r,t=a+1,o.map(function(e,n){return o[(t+n)%o.length]})):r.slice(a+1)}setTimeout(function(){return V(r)})}}}),children:"function"==typeof f?f({isCurrentTabStop:g,hasTabStop:null!=D}):f}))})});U.displayName=G;var z={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function V(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement,o=!0,t=!1,a=void 0;try{for(var u,i=e[Symbol.iterator]();!(o=(u=i.next()).done);o=!0){var c=u.value;if(c===r||(c.focus({preventScroll:n}),document.activeElement!==r))return}}catch(e){t=!0,a=e}finally{try{o||null==i.return||i.return()}finally{if(t)throw a}}}var B=e.i(628406),X=e.i(73772),Y=e.i(270080),W=["Enter"," "],Z=["ArrowUp","PageDown","End"],q=(0,_._)(["ArrowDown","PageUp","Home"]).concat((0,_._)(Z)),J={ltr:(0,_._)(W).concat(["ArrowRight"]),rtl:(0,_._)(W).concat(["ArrowLeft"])},Q={ltr:["ArrowLeft"],rtl:["ArrowRight"]},$="Menu",ee=(0,c._)((0,m.createCollection)($),3),en=ee[0],er=ee[1],eo=ee[2],et=(0,c._)((0,p.createContextScope)($,[eo,y.createPopperScope,T]),2),ea=et[0],eu=et[1],ei=(0,y.createPopperScope)(),ec=T(),es=(0,c._)(ea($),2),ed=es[0],el=es[1],ep=(0,c._)(ea($),2),ef=ep[0],ev=ep[1],e_=function(e){var n=e.__scopeMenu,r=e.open,a=e.children,i=e.dir,d=e.onOpenChange,l=e.modal,p=ei(n),f=(0,c._)(s.useState(null),2),v=f[0],_=f[1],m=s.useRef(!1),h=(0,C.useCallbackRef)(d),g=(0,w.useDirection)(i);return s.useEffect(function(){var e=function(){m.current=!0,document.addEventListener("pointerdown",n,{capture:!0,once:!0}),document.addEventListener("pointermove",n,{capture:!0,once:!0})},n=function(){return m.current=!1};return document.addEventListener("keydown",e,{capture:!0}),function(){document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",n,{capture:!0}),document.removeEventListener("pointermove",n,{capture:!0})}},[]),(0,u.jsx)(y.Root,(0,t._)((0,o._)({},p),{children:(0,u.jsx)(ed,{scope:n,open:void 0!==r&&r,onOpenChange:h,content:v,onContentChange:_,children:(0,u.jsx)(ef,{scope:n,onClose:s.useCallback(function(){return h(!1)},[h]),isUsingKeyboardRef:m,dir:g,modal:void 0===l||l,children:a})})}))};e_.displayName=$;var em=s.forwardRef(function(e,n){var r=e.__scopeMenu,i=(0,a._)(e,["__scopeMenu"]),c=ei(r);return(0,u.jsx)(y.Anchor,(0,t._)((0,o._)({},c,i),{ref:n}))});em.displayName="MenuAnchor";var ew="MenuPortal",eh=(0,c._)(ea(ew,{forceMount:void 0}),2),eg=eh[0],ex=eh[1],eb=function(e){var n=e.__scopeMenu,r=e.forceMount,o=e.children,t=e.container,a=el(ew,n);return(0,u.jsx)(eg,{scope:n,forceMount:r,children:(0,u.jsx)(D.Presence,{present:r||a.open,children:(0,u.jsx)(M.Portal,{asChild:!0,container:t,children:o})})})};eb.displayName=ew;var ey="MenuContent",eM=(0,c._)(ea(ey),2),eD=eM[0],eC=eM[1],eR=s.forwardRef(function(e,n){var r=ex(ey,e.__scopeMenu),i=e.forceMount,c=void 0===i?r.forceMount:i,s=(0,a._)(e,["forceMount"]),d=el(ey,e.__scopeMenu),l=ev(ey,e.__scopeMenu);return(0,u.jsx)(en.Provider,{scope:e.__scopeMenu,children:(0,u.jsx)(D.Presence,{present:c||d.open,children:(0,u.jsx)(en.Slot,{scope:e.__scopeMenu,children:l.modal?(0,u.jsx)(eE,(0,t._)((0,o._)({},s),{ref:n})):(0,u.jsx)(ej,(0,t._)((0,o._)({},s),{ref:n}))})})})}),eE=s.forwardRef(function(e,n){var r=el(ey,e.__scopeMenu),a=s.useRef(null),i=(0,l.useComposedRefs)(n,a);return s.useEffect(function(){var e=a.current;if(e)return(0,X.hideOthers)(e)},[]),(0,u.jsx)(eP,(0,t._)((0,o._)({},e),{ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:(0,d.composeEventHandlers)(e.onFocusOutside,function(e){return e.preventDefault()},{checkForDefaultPrevented:!1}),onDismiss:function(){return r.onOpenChange(!1)}}))}),ej=s.forwardRef(function(e,n){var r=el(ey,e.__scopeMenu);return(0,u.jsx)(eP,(0,t._)((0,o._)({},e),{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:function(){return r.onOpenChange(!1)}}))}),eI=(0,B.createSlot)("MenuContent.ScrollLock"),eP=s.forwardRef(function(e,n){var r=e.__scopeMenu,i=e.loop,p=e.trapFocus,f=e.onOpenAutoFocus,v=e.onCloseAutoFocus,_=e.disableOutsidePointerEvents,m=e.onEntryFocus,w=e.onEscapeKeyDown,b=e.onPointerDownOutside,M=e.onFocusOutside,D=e.onInteractOutside,C=e.onDismiss,R=e.disableOutsideScroll,E=(0,a._)(e,["__scopeMenu","loop","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEntryFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","disableOutsideScroll"]),j=el(ey,r),I=ev(ey,r),P=ei(r),S=ec(r),k=er(r),F=(0,c._)(s.useState(null),2),O=F[0],T=F[1],N=s.useRef(null),A=(0,l.useComposedRefs)(n,N,j.onContentChange),H=s.useRef(0),L=s.useRef(""),G=s.useRef(0),U=s.useRef(null),z=s.useRef("right"),V=s.useRef(0),B=R?Y.RemoveScroll:s.Fragment,X=function(e){var n,r,o=L.current+e,t=k().filter(function(e){return!e.disabled}),a=document.activeElement,u=null==(n=t.find(function(e){return e.ref.current===a}))?void 0:n.textValue,i=function(e,n,r){var o,t=n.length>1&&Array.from(n).every(function(e){return e===n[0]}
1)?n[0]:n,a=r?e.indexOf(r):-1,u=(o=Math.max(a,0),e.map(function(n,r){return e[(o+r)%e.length]}));1===t.length&&(u=u.filter(function(e){return e!==r}));var i=u.find(function(e){return e.toLowerCase().startsWith(t.toLowerCase())});return i!==r?i:void 0}(t.map(function(e){return e.textValue}),o,u),c=null==(r=t.find(function(e){return e.textValue===i}))?void 0:r.ref.current;!function e(n){L.current=n,window.clearTimeout(H.current),""!==n&&(H.current=window.setTimeout(function(){return e("")},1e3))}(o),c&&setTimeout(function(){return c.focus()})};s.useEffect(function(){return function(){return window.clearTimeout(H.current)}},[]),(0,g.useFocusGuards)();var W=s.useCallback(function(e){var n,r,o,t;return z.current===(null==(n=U.current)?void 0:n.side)&&(o=e,!!(t=null==(r=U.current)?void 0:r.area)&&function(e,n){for(var r=e.x,o=e.y,t=!1,a=0,u=n.length-1;a<n.length;u=a++){var i=n[a],c=n[u],s=i.x,d=i.y,l=c.x,p=c.y;d>o!=p>o&&r<(l-s)*(o-d)/(p-d)+s&&(t=!t)}return t}({x:o.clientX,y:o.clientY},t))},[]);return(0,u.jsx)(eD,{scope:r,searchRef:L,onItemEnter:s.useCallback(function(e){W(e)&&e.preventDefault()},[W]),onItemLeave:s.useCallback(function(e){var n;W(e)||(null==(n=N.current)||n.focus(),T(null))},[W]),onTriggerLeave:s.useCallback(function(e){W(e)&&e.preventDefault()},[W]),pointerGraceTimerRef:G,onPointerGraceIntentChange:s.useCallback(function(e){U.current=e},[]),children:(0,u.jsx)(B,(0,t._)((0,o._)({},R?{as:eI,allowPinchZoom:!0}:void 0),{children:(0,u.jsx)(x.FocusScope,{asChild:!0,trapped:p,onMountAutoFocus:(0,d.composeEventHandlers)(f,function(e){var n;e.preventDefault(),null==(n=N.current)||n.focus({preventScroll:!0})}),onUnmountAutoFocus:v,children:(0,u.jsx)(h.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:_,onEscapeKeyDown:w,onPointerDownOutside:b,onFocusOutside:M,onInteractOutside:D,onDismiss:C,children:(0,u.jsx)(K,(0,t._)((0,o._)({asChild:!0},S),{dir:I.dir,orientation:"vertical",loop:void 0!==i&&i,currentTabStopId:O,onCurrentTabStopIdChange:T,onEntryFocus:(0,d.composeEventHandlers)(m,function(e){I.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,u.jsx)(y.Content,(0,t._)((0,o._)({role:"menu","aria-orientation":"vertical","data-state":e7(j.open),"data-radix-menu-content":"",dir:I.dir},P,E),{ref:A,style:(0,o._)({outline:"none"},E.style),onKeyDown:(0,d.composeEventHandlers)(E.onKeyDown,function(e){var n=e.target.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,o=1===e.key.length;n&&("Tab"===e.key&&e.preventDefault(),!r&&o&&X(e.key));var t=N.current;if(e.target===t&&q.includes(e.key)){e.preventDefault();var a=k().filter(function(e){return!e.disabled}).map(function(e){return e.ref.current});Z.includes(e.key)&&a.reverse(),function(e){var n=document.activeElement,r=!0,o=!1,t=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done);r=!0){var i=a.value;if(i===n||(i.focus(),document.activeElement!==n))return}}catch(e){o=!0,t=e}finally{try{r||null==u.return||u.return()}finally{if(o)throw t}}}(a)}}),onBlur:(0,d.composeEventHandlers)(e.onBlur,function(e){e.currentTarget.contains(e.target)||(window.clearTimeout(H.current),L.current="")}),onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,e4(function(e){var n=e.target,r=V.current!==e.clientX;e.currentTarget.contains(n)&&r&&(z.current=e.clientX>V.current?"right":"left",V.current=e.clientX)}))}))}))})})}))})});eR.displayName=ey;var eS=s.forwardRef(function(e,n){e.__scopeMenu;var r=(0,a._)(e,["__scopeMenu"]);return(0,u.jsx)(v.Primitive.div,(0,t._)((0,o._)({role:"group"},r),{ref:n}))});eS.displayName="MenuGroup";var ek=s.forwardRef(function(e,n){e.__scopeMenu;var r=(0,a._)(e,["__scopeMenu"]);return(0,u.jsx)(v.Primitive.div,(0,t._)((0,o._)({},r),{ref:n}))});ek.displayName="MenuLabel";var eF="MenuItem",eO="menu.itemSelect",eT=s.forwardRef(function(e,n){var r=e.disabled,i=void 0!==r&&r,c=e.onSelect,p=(0,a._)(e,["disabled","onSelect"]),f=s.useRef(null),_=ev(eF,e.__scopeMenu),m=eC(eF,e.__scopeMenu),w=(0,l.useComposedRefs)(n,f),h=s.useRef(!1);return(0,u.jsx)(eN,(0,t._)((0,o._)({},p),{ref:w,disabled:i,onClick:(0,d.composeEventHandlers)(e.onClick,function(){var e=f.current;if(!i&&e){var n=new CustomEvent(eO,{bubbles:!0,cancelable:!0});e.addEventListener(eO,function(e){return null==c?void 0:c(e)},{once:!0}),(0,v.dispatchDiscreteCustomEvent)(e,n),n.defaultPrevented?h.current=!1:_.onClose()}}),onPointerDown:function(n){var r;null==(r=e.onPointerDown)||r.call(e,n),h.current=!0},onPointerUp:(0,d.composeEventHandlers)(e.onPointerUp,function(e){var n;h.current||null==(n=e.currentTarget)||n.click()}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,function(e){var n=""!==m.searchRef.current;
1i||n&&" "===e.key||W.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))});eT.displayName=eF;var eN=s.forwardRef(function(e,n){var r=e.__scopeMenu,i=e.disabled,p=void 0!==i&&i,f=e.textValue,_=(0,a._)(e,["__scopeMenu","disabled","textValue"]),m=eC(eF,r),w=ec(r),h=s.useRef(null),g=(0,l.useComposedRefs)(n,h),x=(0,c._)(s.useState(!1),2),b=x[0],y=x[1],M=(0,c._)(s.useState(""),2),D=M[0],C=M[1];return s.useEffect(function(){var e,n=h.current;n&&C((null!=(e=n.textContent)?e:"").trim())},[_.children]),(0,u.jsx)(en.ItemSlot,{scope:r,disabled:p,textValue:null!=f?f:D,children:(0,u.jsx)(U,(0,t._)((0,o._)({asChild:!0},w),{focusable:!p,children:(0,u.jsx)(v.Primitive.div,(0,t._)((0,o._)({role:"menuitem","data-highlighted":b?"":void 0,"aria-disabled":p||void 0,"data-disabled":p?"":void 0},_),{ref:g,onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,e4(function(e){p?m.onItemLeave(e):(m.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,e4(function(e){return m.onItemLeave(e)})),onFocus:(0,d.composeEventHandlers)(e.onFocus,function(){return y(!0)}),onBlur:(0,d.composeEventHandlers)(e.onBlur,function(){return y(!1)})}))}))})}),eA=s.forwardRef(function(e,n){var r=e.checked,i=void 0!==r&&r,c=e.onCheckedChange,s=(0,a._)(e,["checked","onCheckedChange"]);return(0,u.jsx)(eY,{scope:e.__scopeMenu,checked:i,children:(0,u.jsx)(eT,(0,t._)((0,o._)({role:"menuitemcheckbox","aria-checked":e8(i)?"mixed":i},s),{ref:n,"data-state":e3(i),onSelect:(0,d.composeEventHandlers)(s.onSelect,function(){return null==c?void 0:c(!!e8(i)||!i)},{checkForDefaultPrevented:!1})}))})});eA.displayName="MenuCheckboxItem";var eH="MenuRadioGroup",eK=(0,c._)(ea(eH,{value:void 0,onValueChange:function(){}}),2),eL=eK[0],eG=eK[1],eU=s.forwardRef(function(e,n){var r=e.value,i=e.onValueChange,c=(0,a._)(e,["value","onValueChange"]),s=(0,C.useCallbackRef)(i);return(0,u.jsx)(eL,{scope:e.__scopeMenu,value:r,onValueChange:s,children:(0,u.jsx)(eS,(0,t._)((0,o._)({},c),{ref:n}))})});eU.displayName=eH;var ez="MenuRadioItem",eV=s.forwardRef(function(e,n){var r=e.value,i=(0,a._)(e,["value"]),c=eG(ez,e.__scopeMenu),s=r===c.value;return(0,u.jsx)(eY,{scope:e.__scopeMenu,checked:s,children:(0,u.jsx)(eT,(0,t._)((0,o._)({role:"menuitemradio","aria-checked":s},i),{ref:n,"data-state":e3(s),onSelect:(0,d.composeEventHandlers)(i.onSelect,function(){var e;return null==(e=c.onValueChange)?void 0:e.call(c,r)},{checkForDefaultPrevented:!1})}))})});eV.displayName=ez;var eB="MenuItemIndicator",eX=(0,c._)(ea(eB,{checked:!1}),2),eY=eX[0],eW=eX[1],eZ=s.forwardRef(function(e,n){var r=e.__scopeMenu,i=e.forceMount,c=(0,a._)(e,["__scopeMenu","forceMount"]),s=eW(eB,r);return(0,u.jsx)(D.Presence,{present:i||e8(s.checked)||!0===s.checked,children:(0,u.jsx)(v.Primitive.span,(0,t._)((0,o._)({},c),{ref:n,"data-state":e3(s.checked)}))})});eZ.displayName=eB;var eq=s.forwardRef(function(e,n){e.__scopeMenu;var r=(0,a._)(e,["__scopeMenu"]);return(0,u.jsx)(v.Primitive.div,(0,t._)((0,o._)({role:"separator","aria-orientation":"horizontal"},r),{ref:n}))});eq.displayName="MenuSeparator";var eJ=s.forwardRef(function(e,n){var r=e.__scopeMenu,i=(0,a._)(e,["__scopeMenu"]),c=ei(r);return(0,u.jsx)(y.Arrow,(0,t._)((0,o._)({},c,i),{ref:n}))});eJ.displayName="MenuArrow";var eQ=(0,c._)(ea("MenuSub"),2),e$=(eQ[0],eQ[1]),e0="MenuSubTrigger",e1=s.forwardRef(function(e,n){var r=el(e0,e.__scopeMenu),a=ev(e0,e.__scopeMenu),i=e$(e0,e.__scopeMenu),c=eC(e0,e.__scopeMenu),p=s.useRef(null),f=c.pointerGraceTimerRef,v=c.onPointerGraceIntentChange,_={__scopeMenu:e.__scopeMenu},m=s.useCallback(function(){p.current&&window.clearTimeout(p.current),p.current=null},[]);return s.useEffect(function(){return m},[m]),s.useEffect(function(){var e=f.current;return function(){window.clearTimeout(e),v(null)}},[f,v]),(0,u.jsx)(em,(0,t._)((0,o._)({asChild:!0},_),{children:(0,u.jsx)(eN,(0,t._)((0,o._)({id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":e7(r.open)},e),{ref:(0,l.composeRefs)(n,i.onTriggerChange),onClick:function(n){var o;null==(o=e.onClick)||o.call(e,n),e.disabled||n.defaultPrevented||(n.currentTarget.focu
1s(),r.open||r.onOpenChange(!0))},onPointerMove:(0,d.composeEventHandlers)(e.onPointerMove,e4(function(n){c.onItemEnter(n),!n.defaultPrevented&&(e.disabled||r.open||p.current||(c.onPointerGraceIntentChange(null),p.current=window.setTimeout(function(){r.onOpenChange(!0),m()},100)))})),onPointerLeave:(0,d.composeEventHandlers)(e.onPointerLeave,e4(function(e){m();var n=null==(o=r.content)?void 0:o.getBoundingClientRect();if(n){var o,t,a=null==(t=r.content)?void 0:t.dataset.side,u="right"===a,i=n[u?"left":"right"],s=n[u?"right":"left"];c.onPointerGraceIntentChange({area:[{x:e.clientX+(u?-5:5),y:e.clientY},{x:i,y:n.top},{x:s,y:n.top},{x:s,y:n.bottom},{x:i,y:n.bottom}],side:a}),window.clearTimeout(f.current),f.current=window.setTimeout(function(){return c.onPointerGraceIntentChange(null)},300)}else{if(c.onTriggerLeave(e),e.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,function(n){var o,t=""!==c.searchRef.current;e.disabled||t&&" "===n.key||J[a.dir].includes(n.key)&&(r.onOpenChange(!0),null==(o=r.content)||o.focus(),n.preventDefault())})}))}))});e1.displayName=e0;var e2="MenuSubContent",e6=s.forwardRef(function(e,n){var r=ex(ey,e.__scopeMenu),i=e.forceMount,c=void 0===i?r.forceMount:i,p=(0,a._)(e,["forceMount"]),f=el(ey,e.__scopeMenu),v=ev(ey,e.__scopeMenu),_=e$(e2,e.__scopeMenu),m=s.useRef(null),w=(0,l.useComposedRefs)(n,m);return(0,u.jsx)(en.Provider,{scope:e.__scopeMenu,children:(0,u.jsx)(D.Presence,{present:c||f.open,children:(0,u.jsx)(en.Slot,{scope:e.__scopeMenu,children:(0,u.jsx)(eP,(0,t._)((0,o._)({id:_.contentId,"aria-labelledby":_.triggerId},p),{ref:w,align:"start",side:"rtl"===v.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:function(e){var n;v.isUsingKeyboardRef.current&&(null==(n=m.current)||n.focus()),e.preventDefault()},onCloseAutoFocus:function(e){return e.preventDefault()},onFocusOutside:(0,d.composeEventHandlers)(e.onFocusOutside,function(e){e.target!==_.trigger&&f.onOpenChange(!1)}),onEscapeKeyDown:(0,d.composeEventHandlers)(e.onEscapeKeyDown,function(e){v.onClose(),e.preventDefault()}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,function(e){var n,r=e.currentTarget.contains(e.target),o=Q[v.dir].includes(e.key);r&&o&&(f.onOpenChange(!1),null==(n=_.trigger)||n.focus(),e.preventDefault())})}))})})})});function e7(e){return e?"open":"closed"}function e8(e){return"indeterminate"===e}function e3(e){return e8(e)?"indeterminate":e?"checked":"unchecked"}function e4(e){return function(n){return"mouse"===n.pointerType?e(n):void 0}}e6.displayName=e2;var e5="DropdownMenu",e9=(0,c._)((0,p.createContextScope)(e5,[eu]),2),ne=e9[0];e9[1];var nn=eu(),nr=(0,c._)(ne(e5),2),no=nr[0],nt=nr[1],na=function(e){var n=e.__scopeDropdownMenu,r=e.children,a=e.dir,i=e.open,d=e.defaultOpen,l=e.onOpenChange,p=e.modal,v=void 0===p||p,_=nn(n),m=s.useRef(null),w=(0,c._)((0,f.useControllableState)({prop:i,defaultProp:null!=d&&d,onChange:l,caller:e5}),2),h=w[0],g=w[1];return(0,u.jsx)(no,{scope:n,triggerId:(0,b.useId)(),triggerRef:m,contentId:(0,b.useId)(),open:h,onOpenChange:g,onOpenToggle:s.useCallback(function(){return g(function(e){return!e})},[g]),modal:v,children:(0,u.jsx)(e_,(0,t._)((0,o._)({},_),{open:h,onOpenChange:g,dir:a,modal:v,children:r}))})};na.displayName=e5;var nu="DropdownMenuTrigger",ni=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=e.disabled,c=void 0!==i&&i,s=(0,a._)(e,["__scopeDropdownMenu","disabled"]),p=nt(nu,r),f=nn(r);return(0,u.jsx)(em,(0,t._)((0,o._)({asChild:!0},f),{children:(0,u.jsx)(v.Primitive.button,(0,t._)((0,o._)({type:"button",id:p.triggerId,"aria-haspopup":"menu","aria-expanded":p.open,"aria-controls":p.open?p.contentId:void 0,"data-state":p.open?"open":"closed","data-disabled":c?"":void 0,disabled:c},s),{ref:(0,l.composeRefs)(n,p.triggerRef),onPointerDown:(0,d.composeEventHandlers)(e.onPointerDown,function(e){!c&&0===e.button&&!1===e.ctrlKey&&(p.onOpenToggle(),p.open||e.preventDefault())}),onKeyDown:(0,d.composeEventHandlers)(e.onKeyDown,function(e){!c&&(["Enter"," "].includes(e.ke
1y)&&p.onOpenToggle(),"ArrowDown"===e.key&&p.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})}))}))});ni.displayName=nu;var nc=function(e){var n=e.__scopeDropdownMenu,r=(0,a._)(e,["__scopeDropdownMenu"]),t=nn(n);return(0,u.jsx)(eb,(0,o._)({},t,r))};nc.displayName="DropdownMenuPortal";var ns="DropdownMenuContent",nd=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nt(ns,r),l=nn(r),p=s.useRef(!1);return(0,u.jsx)(eR,(0,t._)((0,o._)({id:c.contentId,"aria-labelledby":c.triggerId},l,i),{ref:n,onCloseAutoFocus:(0,d.composeEventHandlers)(e.onCloseAutoFocus,function(e){var n;p.current||null==(n=c.triggerRef.current)||n.focus(),p.current=!1,e.preventDefault()}),onInteractOutside:(0,d.composeEventHandlers)(e.onInteractOutside,function(e){var n=e.detail.originalEvent,r=0===n.button&&!0===n.ctrlKey,o=2===n.button||r;(!c.modal||o)&&(p.current=!0)}),style:(0,o._)({},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)"})}))});nd.displayName=ns,s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eS,(0,t._)((0,o._)({},c,i),{ref:n}))}).displayName="DropdownMenuGroup",s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(ek,(0,t._)((0,o._)({},c,i),{ref:n}))}).displayName="DropdownMenuLabel";var nl=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eT,(0,t._)((0,o._)({},c,i),{ref:n}))});nl.displayName="DropdownMenuItem",s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eA,(0,t._)((0,o._)({},c,i),{ref:n}))}).displayName="DropdownMenuCheckboxItem";var np=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eU,(0,t._)((0,o._)({},c,i),{ref:n}))});np.displayName="DropdownMenuRadioGroup";var nf=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eV,(0,t._)((0,o._)({},c,i),{ref:n}))});nf.displayName="DropdownMenuRadioItem";var nv=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eZ,(0,t._)((0,o._)({},c,i),{ref:n}))});nv.displayName="DropdownMenuItemIndicator";var n_=s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eq,(0,t._)((0,o._)({},c,i),{ref:n}))});n_.displayName="DropdownMenuSeparator",s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(eJ,(0,t._)((0,o._)({},c,i),{ref:n}))}).displayName="DropdownMenuArrow",s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(e1,(0,t._)((0,o._)({},c,i),{ref:n}))}).displayName="DropdownMenuSubTrigger",s.forwardRef(function(e,n){var r=e.__scopeDropdownMenu,i=(0,a._)(e,["__scopeDropdownMenu"]),c=nn(r);return(0,u.jsx)(e6,(0,t._)((0,o._)({},c,i),{ref:n,style:(0,o._)({},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)"})}))}).displayName="DropdownMenuSubContent",e.i(481392),e.i(918487);var nm=(0,e.i(334465).default)("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]),nw=e.i(152088);e.s(["DropdownMenu",0,function(e){var t,a,c=(0,i.c)(4);return c[0]!==e?((0,r._)(e),t=(0,n._)({},e),c[0]=e,c[1]=t):t=c[1],c[2]!==t?(a=(0,u.jsx)(na,(0,o._)({"data-slot":"dropdown-menu"},t)),c[2]=t,c[3]=a):a=c[3],a},"DropdownMenuContent",0,function(e){var n,r,t,c,s,d=(0,i.c)(10);d[0]!==e?(n=e.className,t=e.sideOffset,r=(0,a._)(e,["className","sideOffset"]),d[0]=e,d[1]=n,d[2]=r,d[3]=t):(n=d[1],r=d[2],t=d[3]);var l=void 0===t?4:t;return d[4]!==n?(c=(0,nw.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]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",n),d[4]=n,d[5]=c):c=d[5],d[6]!==r||d[7]!==l||d[8]!==c?(s=(0,u.jsx)(nc,{children:(0,u.jsx)(nd,(0,o._)({"data-slot":"dropdown-menu-content",sideOffset:l,className:c},r))}),d[6]=r,d[7]=l,d[8]=c,d[9]=s):s=d[9],s},"DropdownMenuItem",0,function(e){var n,r,t,c,s,d,l=(0,i.c)(12);l[0]!==e?(n=e.className,r=e.inset,c=e.variant,t=(0,a._)(e,["className","inset","variant"]),l[0]=e,l[1]=n,l[2]=r,l[3]=t,l[4]=c):(n=l[1],r=l[2],t=l[3],c=l[4]);var p=void 0===c?"default":c;return l[5]!==n?(s=(0,nw.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]:ps-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),l[5]=n,l[6]=s):s=l[6],l[7]!==r||l[8]!==t||l[9]!==s||l[10]!==p?(d=(0,u.jsx)(nl,(0,o._)({"data-slot":"dropdown-menu-item","data-inset":r,"data-variant":p,className:s},t)),l[7]=r,l[8]=t,l[9]=s,l[10]=p,l[11]=d):d=l[11],d},"DropdownMenuRadioGroup",0,function(e){var t,a,c=(0,i.c)(4);return c[0]!==e?((0,r._)(e),t=(0,n._)({},e),c[0]=e,c[1]=t):t=c[1],c[2]!==t?(a=(0,u.jsx)(np,(0,o._)({"data-slot":"dropdown-menu-radio-group"},t)),c[2]=t,c[3]=a):a=c[3],a},"DropdownMenuRadioItem",0,function(e){var n,r,c,s,d,l,p=(0,i.c)(11);return p[0]!==e?(r=e.className,n=e.children,c=(0,a._)(e,["className","children"]),p[0]=e,p[1]=n,p[2]=r,p[3]=c):(n=p[1],r=p[2],c=p[3]),p[4]!==r?(s=(0,nw.cn)("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pe-2 ps-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",r),p[4]=r,p[5]=s):s=p[5],p[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,u.jsx)("span",{className:"pointer-events-none absolute start-2 flex size-3.5 items-center justify-center",children:(0,u.jsx)(nv,{children:(0,u.jsx)(nm,{className:"size-2 fill-current"})})}),p[6]=d):d=p[6],p[7]!==n||p[8]!==c||p[9]!==s?(l=(0,u.jsxs)(nf,(0,t._)((0,o._)({"data-slot":"dropdown-menu-radio-item",className:s},c),{children:[d,n]})),p[7]=n,p[8]=c,p[9]=s,p[10]=l):l=p[10],l},"DropdownMenuSeparator",0,function(e){var n,r,t,c,s=(0,i.c)(8);return s[0]!==e?(n=e.className,r=(0,a._)(e,["className"]),s[0]=e,s[1]=n,s[2]=r):(n=s[1],r=s[2]),s[3]!==n?(t=(0,nw.cn)("bg-border -mx-1 my-1 h-px",n),s[3]=n,s[4]=t):t=s[4],s[5]!==r||s[6]!==t?(c=(0,u.jsx)(n_,(0,o._)({"data-slot":"dropdown-menu-separator",className:t},r)),s[5]=r,s[6]=t,s[7]=c):c=s[7],c},"DropdownMenuTrigger",0,function(e){var t,a,c=(0,i.c)(4);return c[0]!==e?((0,r._)(e),t=(0,n._)({},e),c[0]=e,c[1]=t):t=c[1],c[2]!==t?(a=(0,u.jsx)(ni,(0,o._)({"data-slot":"dropdown-menu-trigger"},t)),c[2]=t,c[3]=a):a=c[3],a}],628876)}]);
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.