1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0aebb-b587-7190-a650-d055a6a6fdaf")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1424],{9250:(e,r,n)=>{n.d(r,{Mz:()=>eT,i3:()=>eZ,H_:()=>eV,UC:()=>eA,YJ:()=>eF,q7:()=>eG,VF:()=>eW,JU:()=>eL,ZL:()=>eO,z6:()=>eB,hN:()=>eU,bL:()=>eN,wv:()=>e$,Pb:()=>ez,G5:()=>eH,ZP:()=>eq,UE:()=>O});var t=n(7620),o=n(37188),a=n(35752),l=n(33670),i=n(55556),u=n(22130),d=n(99359),s=n(89694),c=n(5590),p=n(30586),f=n(71453),m=n(69019),v=n(98386),w=n(97509),g=n(54568);function h(e){var r;let n,o=(r=e,(n=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){var a;let e,i,u=(a=n,(i=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(i=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),d=function(e,r){let n={...r};for(let t in r){let o=e[t],a=r[t];/^on[A-Z]/.test(t)?o&&a?n[t]=(...e)=>{let r=a(...e);return o(...e),r}:o&&(n[t]=o):"style"===t?n[t]={...o,...a}:"className"===t&&(n[t]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==t.Fragment&&(d.ref=r?(0,l.t)(r,u):u),t.cloneElement(n,d)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,n),a=t.forwardRef((e,r)=>{let{children:n,...a}=e,l=t.Children.toArray(n),i=l.find(x);if(i){let e=i.props.children,n=l.map(r=>r!==i?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,g.jsx)(o,{...a,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,g.jsx)(o,{...a,ref:r,children:n})});return a.displayName=`${e}.Slot`,a}var y=Symbol("radix.slottable");function x(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===y}var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=h(`Primitive.${r}`),o=t.forwardRef((e,t)=>{let{asChild:o,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,g.jsx)(o?n:r,{...a,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),C=n(48153),R=n(55222),M=n(54009),D=n(86803),j=["Enter"," "],_=["ArrowUp","PageDown","End"],E=["ArrowDown","PageUp","Home",..._],I={ltr:[...j,"ArrowRight"],rtl:[...j,"ArrowLeft"]},P={ltr:["ArrowLeft"],rtl:["ArrowRight"]},S="Menu",[k,K,N]=(0,a.N)(S),[T,O]=(0,i.A)(S,[N,f.Bk,C.RG]),A=(0,f.Bk)(),F=(0,C.RG)(),[L,G]=T(S),[V,B]=T(S),U=e=>{let{__scopeMenu:r,open:n=!1,children:o,dir:a,onOpenChange:l,modal:i=!0}=e,d=A(r),[s,c]=t.useState(null),p=t.useRef(!1),m=(0,R.c)(l),v=(0,u.jH)(a);return t.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",r,{capture:!0,once:!0}),document.addEventListener("pointermove",r,{capture:!0,once:!0})},r=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",r,{capture:!0}),document.removeEventListener("pointermove",r,{capture:!0})}},[]),(0,g.jsx)(f.bL,{...d,children:(0,g.jsx)(L,{scope:r,open:n,onOpenChange:m,content:s,onContentChange:c,children:(0,g.jsx)(V,{scope:r,onClose:t.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:p,dir:v,modal:i,children:o})})})};U.displayName=S;var W=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=A(n);return(0,g.jsx)(f.Mz,{...o,...t,ref:r})});W.displayName="MenuAnchor";var $="MenuPortal",[Z,z]=T($,{forceMount:void 0}),q=e=>{let{__scopeMenu:r,forceMount:n,children:t,container:o}=e,a=G($,r);return(0,g.jsx)(Z,{scope:r,forceMount:n,children:(0,g.jsx)(v.C,{present:n||a.open,children:(0,g.jsx)(m.Portal,{asChild:!0,container:o,children:t})})})};q.displayName=$;var H="MenuContent",[X,J]=T(H),Y=t.forwardRef((e,r)=>{let n=z(H,e.__scopeMenu),{forceMount:t=n.forceMount,...o}=e,a=G(H,e.__scopeMenu),l=B(H,e.__scopeMenu);return(0,g.jsx)(k.Provider,{scope:e.__scopeMenu,children:(0,g.jsx)(v.C,{present:t||a.open,children:(0,g.jsx)(k.Slot,{scope:e.__scopeMenu,children:l.modal?(0,g.jsx)(Q,{...o,ref:r}):(0,g.jsx)(ee,{...o,ref:r})})})})}),Q=t.forwardRef((e,r)=>{let n=G(H,e.__scopeMenu),a=t.useRef(null),i=(0,l.s)(r,a);return t.useEffect(()=>{let e=a.current;if(e)return(0,M.Eq)(e)},[]),(0,g.jsx)(en,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),ee=t.forwardRef((e,r)=>{let n=G(H,e.__scopeMenu);return(0,g.jsx)(en,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),er=h("MenuContent.ScrollLock"),en=t.forwardRef((e,r)=>{let{__scopeMenu:n,loop:a=!1,trapFocus:i,onOpenAutoFocus:u,onCloseAutoFocus:p,disableOutsidePointerEvents:m,onEntryFocus:v,onEscapeKeyDown:w,onPointerDownOutside:h,onFocusOutside:y,onInteractOutside:x,onDismiss:b,disableOutsideScroll:R,...M}
1=e,j=G(H,n),I=B(H,n),P=A(n),S=F(n),k=K(n),[N,T]=t.useState(null),O=t.useRef(null),L=(0,l.s)(r,O,j.onContentChange),V=t.useRef(0),U=t.useRef(""),W=t.useRef(0),$=t.useRef(null),Z=t.useRef("right"),z=t.useRef(0),q=R?D.A:t.Fragment;t.useEffect(()=>()=>window.clearTimeout(V.current),[]),(0,s.Oh)();let J=t.useCallback(e=>{var r,n;return Z.current===$.current?.side&&(r=e,!!(n=$.current?.area)&&function(e,r){let{x:n,y:t}=e,o=!1;for(let e=0,a=r.length-1;e<r.length;a=e++){let l=r[e],i=r[a],u=l.x,d=l.y,s=i.x,c=i.y;d>t!=c>t&&n<(s-u)*(t-d)/(c-d)+u&&(o=!o)}return o}({x:r.clientX,y:r.clientY},n))},[]);return(0,g.jsx)(X,{scope:n,searchRef:U,onItemEnter:t.useCallback(e=>{J(e)&&e.preventDefault()},[J]),onItemLeave:t.useCallback(e=>{J(e)||(O.current?.focus(),T(null))},[J]),onTriggerLeave:t.useCallback(e=>{J(e)&&e.preventDefault()},[J]),pointerGraceTimerRef:W,onPointerGraceIntentChange:t.useCallback(e=>{$.current=e},[]),children:(0,g.jsx)(q,{...R?{as:er,allowPinchZoom:!0}:void 0,children:(0,g.jsx)(c.n,{asChild:!0,trapped:i,onMountAutoFocus:(0,o.mK)(u,e=>{e.preventDefault(),O.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:p,children:(0,g.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:w,onPointerDownOutside:h,onFocusOutside:y,onInteractOutside:x,onDismiss:b,children:(0,g.jsx)(C.bL,{asChild:!0,...S,dir:I.dir,orientation:"vertical",loop:a,currentTabStopId:N,onCurrentTabStopIdChange:T,onEntryFocus:(0,o.mK)(v,e=>{I.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,g.jsx)(f.UC,{role:"menu","aria-orientation":"vertical","data-state":eP(j.open),"data-radix-menu-content":"",dir:I.dir,...P,...M,ref:L,style:{outline:"none",...M.style},onKeyDown:(0,o.mK)(M.onKeyDown,e=>{let r=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,t=1===e.key.length;if(r){var o;let r,a,l,i,u,d;"Tab"===e.key&&e.preventDefault(),!n&&t&&(o=e.key,r=U.current+o,a=k().filter(e=>!e.disabled),l=document.activeElement,i=a.find(e=>e.ref.current===l)?.textValue,u=function(e,r,n){var t;let o=r.length>1&&Array.from(r).every(e=>e===r[0])?r[0]:r,a=n?e.indexOf(n):-1,l=(t=Math.max(a,0),e.map((r,n)=>e[(t+n)%e.length]));1===o.length&&(l=l.filter(e=>e!==n));let i=l.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return i!==n?i:void 0}(a.map(e=>e.textValue),r,i),d=a.find(e=>e.textValue===u)?.ref.current,function e(r){U.current=r,window.clearTimeout(V.current),""!==r&&(V.current=window.setTimeout(()=>e(""),1e3))}(r),d&&setTimeout(()=>d.focus()))}let a=O.current;if(e.target!==a||!E.includes(e.key))return;e.preventDefault();let l=k().filter(e=>!e.disabled).map(e=>e.ref.current);_.includes(e.key)&&l.reverse(),function(e){let r=document.activeElement;for(let n of e)if(n===r||(n.focus(),document.activeElement!==r))return}(l)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(V.current),U.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,eK(e=>{let r=e.target,n=z.current!==e.clientX;e.currentTarget.contains(r)&&n&&(Z.current=e.clientX>z.current?"right":"left",z.current=e.clientX)}))})})})})})})});Y.displayName=H;var et=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,g.jsx)(b.div,{role:"group",...t,ref:r})});et.displayName="MenuGroup";var eo=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,g.jsx)(b.div,{...t,ref:r})});eo.displayName="MenuLabel";var ea="MenuItem",el="menu.itemSelect",ei=t.forwardRef((e,r)=>{let{disabled:n=!1,onSelect:a,...i}=e,u=t.useRef(null),d=B(ea,e.__scopeMenu),s=J(ea,e.__scopeMenu),c=(0,l.s)(r,u),p=t.useRef(!1);return(0,g.jsx)(eu,{...i,ref:c,disabled:n,onClick:(0,o.mK)(e.onClick,()=>{let e=u.current;if(!n&&e){let r=new CustomEvent(el,{bubbles:!0,cancelable:!0});e.addEventListener(el,e=>a?.(e),{once:!0}),e&&w.flushSync(()=>e.dispatchEvent(r)),r.defaultPrevented?p.current=!1:d.onClose()}}),onPointerDown:r=>{e.onPointerDown?.(r),p.current=!0},onPointerUp:(0,o.mK)(e.onPointerUp,e=>{p.current||e.currentTarget?.click()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let r=""!==s.searchRef.current;
1n||r&&" "===e.key||j.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});ei.displayName=ea;var eu=t.forwardRef((e,r)=>{let{__scopeMenu:n,disabled:a=!1,textValue:i,...u}=e,d=J(ea,n),s=F(n),c=t.useRef(null),p=(0,l.s)(r,c),[f,m]=t.useState(!1),[v,w]=t.useState("");return t.useEffect(()=>{let e=c.current;e&&w((e.textContent??"").trim())},[u.children]),(0,g.jsx)(k.ItemSlot,{scope:n,disabled:a,textValue:i??v,children:(0,g.jsx)(C.q7,{asChild:!0,...s,focusable:!a,children:(0,g.jsx)(b.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...u,ref:p,onPointerMove:(0,o.mK)(e.onPointerMove,eK(e=>{a?d.onItemLeave(e):(d.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eK(e=>d.onItemLeave(e))),onFocus:(0,o.mK)(e.onFocus,()=>m(!0)),onBlur:(0,o.mK)(e.onBlur,()=>m(!1))})})})}),ed=t.forwardRef((e,r)=>{let{checked:n=!1,onCheckedChange:t,...a}=e;return(0,g.jsx)(eg,{scope:e.__scopeMenu,checked:n,children:(0,g.jsx)(ei,{role:"menuitemcheckbox","aria-checked":eS(n)?"mixed":n,...a,ref:r,"data-state":ek(n),onSelect:(0,o.mK)(a.onSelect,()=>t?.(!!eS(n)||!n),{checkForDefaultPrevented:!1})})})});ed.displayName="MenuCheckboxItem";var es="MenuRadioGroup",[ec,ep]=T(es,{value:void 0,onValueChange:()=>{}}),ef=t.forwardRef((e,r)=>{let{value:n,onValueChange:t,...o}=e,a=(0,R.c)(t);return(0,g.jsx)(ec,{scope:e.__scopeMenu,value:n,onValueChange:a,children:(0,g.jsx)(et,{...o,ref:r})})});ef.displayName=es;var em="MenuRadioItem",ev=t.forwardRef((e,r)=>{let{value:n,...t}=e,a=ep(em,e.__scopeMenu),l=n===a.value;return(0,g.jsx)(eg,{scope:e.__scopeMenu,checked:l,children:(0,g.jsx)(ei,{role:"menuitemradio","aria-checked":l,...t,ref:r,"data-state":ek(l),onSelect:(0,o.mK)(t.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});ev.displayName=em;var ew="MenuItemIndicator",[eg,eh]=T(ew,{checked:!1}),ey=t.forwardRef((e,r)=>{let{__scopeMenu:n,forceMount:t,...o}=e,a=eh(ew,n);return(0,g.jsx)(v.C,{present:t||eS(a.checked)||!0===a.checked,children:(0,g.jsx)(b.span,{...o,ref:r,"data-state":ek(a.checked)})})});ey.displayName=ew;var ex=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e;return(0,g.jsx)(b.div,{role:"separator","aria-orientation":"horizontal",...t,ref:r})});ex.displayName="MenuSeparator";var eb=t.forwardRef((e,r)=>{let{__scopeMenu:n,...t}=e,o=A(n);return(0,g.jsx)(f.i3,{...o,...t,ref:r})});eb.displayName="MenuArrow";var eC="MenuSub",[eR,eM]=T(eC),eD=e=>{let{__scopeMenu:r,children:n,open:o=!1,onOpenChange:a}=e,l=G(eC,r),i=A(r),[u,d]=t.useState(null),[s,c]=t.useState(null),m=(0,R.c)(a);return t.useEffect(()=>(!1===l.open&&m(!1),()=>m(!1)),[l.open,m]),(0,g.jsx)(f.bL,{...i,children:(0,g.jsx)(L,{scope:r,open:o,onOpenChange:m,content:s,onContentChange:c,children:(0,g.jsx)(eR,{scope:r,contentId:(0,p.B)(),triggerId:(0,p.B)(),trigger:u,onTriggerChange:d,children:n})})})};eD.displayName=eC;var ej="MenuSubTrigger",e_=t.forwardRef((e,r)=>{let n=G(ej,e.__scopeMenu),a=B(ej,e.__scopeMenu),i=eM(ej,e.__scopeMenu),u=J(ej,e.__scopeMenu),d=t.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:c}=u,p={__scopeMenu:e.__scopeMenu},f=t.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return t.useEffect(()=>f,[f]),t.useEffect(()=>{let e=s.current;return()=>{window.clearTimeout(e),c(null)}},[s,c]),(0,g.jsx)(W,{asChild:!0,...p,children:(0,g.jsx)(eu,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":eP(n.open),...e,ref:(0,l.t)(r,i.onTriggerChange),onClick:r=>{e.onClick?.(r),e.disabled||r.defaultPrevented||(r.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,o.mK)(e.onPointerMove,eK(r=>{u.onItemEnter(r),!r.defaultPrevented&&(e.disabled||n.open||d.current||(u.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100)))})),onPointerLeave:(0,o.mK)(e.onPointerLeave,eK(e=>{f();let r=n.content?.getBoundingClientRect();if(r){let t=n.content?.dataset.side,o="right"===t,a=r[o?"left":"right"],l=r[o?"right":"left"];u.onPointerGraceIntentChange({area:[{x:e.clientX+(o?-5:5),y:e.clientY},{x:a,y:r.top},{x:l,y:r.top},{x:l,y:r.bottom},{x:a,y:r.bottom}],side:t}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>u.onPointerGraceIntentChange(null),300)}else{if(u.onTriggerLeave(e),e.defaultPrevented)return;u.onPointerGraceIntentChange(null)}})),onKeyDown:(0,o.mK)(e.onKeyDown,r=>{let t=""!==u.searchRef.current;e.disabled||t&&" "===r.key||I[a.dir].includes(r.key)&&(n.onOpenChange(!0),n.content?.focus(),r.preventDefault())})})})});e_.displayName=ej;var eE="MenuSubContent",eI=t.forwardRef((e,r)=>{let n=z(H,e.__scopeMenu),{forceMount:a=n.forceMount,...i}=e,u=G(H,e.__scopeMenu),d=B(H,e.__scopeMenu),s=eM(eE,e.__scopeMenu),c=t.useRef(null),p=(0,l.s)(r,c);return(0,g.jsx)(k.Provider,{scope:e.__scopeMenu,children:(0,g.jsx)(v.C,{present:a||u.open,children:(0,g.jsx)(k.Slot,{scope:e.__scopeMenu,children:(0,g.jsx)(en,{id:s.contentId,"aria-labelledby":s.triggerId,...i,ref:p,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{d.isUsingKeyboardRef.current&&c.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>{e.target!==s.trigger&&u.onOpenChange(!1)}),onEscapeKeyDown:(0,o.mK)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{let r=e.currentTarget.contains(e.target),n=P[d.dir].includes(e.ke
1y);r&&n&&(u.onOpenChange(!1),s.trigger?.focus(),e.preventDefault())})})})})})});function eP(e){return e?"open":"closed"}function eS(e){return"indeterminate"===e}function ek(e){return eS(e)?"indeterminate":e?"checked":"unchecked"}function eK(e){return r=>"mouse"===r.pointerType?e(r):void 0}eI.displayName=eE;var eN=U,eT=W,eO=q,eA=Y,eF=et,eL=eo,eG=ei,eV=ed,eB=ef,eU=ev,eW=ey,e$=ex,eZ=eb,ez=eD,eq=e_,eH=eI},41424:(e,r,n)=>{n.r(r),n.d(r,{Arrow:()=>X,CheckboxItem:()=>$,Content:()=>V,DropdownMenu:()=>x,DropdownMenuArrow:()=>N,DropdownMenuCheckboxItem:()=>I,DropdownMenuContent:()=>D,DropdownMenuGroup:()=>j,DropdownMenuItem:()=>E,DropdownMenuItemIndicator:()=>k,DropdownMenuLabel:()=>_,DropdownMenuPortal:()=>R,DropdownMenuRadioGroup:()=>P,DropdownMenuRadioItem:()=>S,DropdownMenuSeparator:()=>K,DropdownMenuSub:()=>T,DropdownMenuSubContent:()=>A,DropdownMenuSubTrigger:()=>O,DropdownMenuTrigger:()=>C,Group:()=>B,Item:()=>W,ItemIndicator:()=>q,Label:()=>U,Portal:()=>G,RadioGroup:()=>Z,RadioItem:()=>z,Root:()=>F,Separator:()=>H,Sub:()=>J,SubContent:()=>Q,SubTrigger:()=>Y,Trigger:()=>L,createDropdownMenuScope:()=>w});var t=n(7620),o=n(37188),a=n(33670),l=n(55556),i=n(3198);n(97509);var u=n(54568),d=Symbol("radix.slottable");function s(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var n,o;let l,i,d,c=(o=n=`Primitive.${r}`,(l=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){var l;let e,i,u=(l=n,(i=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(i=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),d=function(e,r){let n={...r};for(let t in r){let o=e[t],a=r[t];/^on[A-Z]/.test(t)?o&&a?n[t]=(...e)=>{let r=a(...e);return o(...e),r}:o&&(n[t]=o):"style"===t?n[t]={...o,...a}:"className"===t&&(n[t]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==t.Fragment&&(d.ref=r?(0,a.t)(r,u):u),t.cloneElement(n,d)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,i=l,(d=t.forwardRef((e,r)=>{let{children:n,...o}=e,a=t.Children.toArray(n),l=a.find(s);if(l){let e=l.props.children,n=a.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,u.jsx)(i,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,u.jsx)(i,{...o,ref:r,children:n})})).displayName=`${n}.Slot`,d),p=t.forwardRef((e,n)=>{let{asChild:t,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(t?c:r,{...o,ref:n})});return p.displayName=`Primitive.${r}`,{...e,[r]:p}},{}),p=n(9250),f=n(30586),m="DropdownMenu",[v,w]=(0,l.A)(m,[p.UE]),g=(0,p.UE)(),[h,y]=v(m),x=e=>{let{__scopeDropdownMenu:r,children:n,dir:o,open:a,defaultOpen:l,onOpenChange:d,modal:s=!0}=e,c=g(r),v=t.useRef(null),[w,y]=(0,i.i)({prop:a,defaultProp:l??!1,onChange:d,caller:m});return(0,u.jsx)(h,{scope:r,triggerId:(0,f.B)(),triggerRef:v,contentId:(0,f.B)(),open:w,onOpenChange:y,onOpenToggle:t.useCallback(()=>y(e=>!e),[y]),modal:s,children:(0,u.jsx)(p.bL,{...c,open:w,onOpenChange:y,dir:o,modal:s,children:n})})};x.displayName=m;var b="DropdownMenuTrigger",C=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,disabled:t=!1,...l}=e,i=y(b,n),d=g(n);return(0,u.jsx)(p.Mz,{asChild:!0,...d,children:(0,u.jsx)(c.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":t?"":void 0,disabled:t,...l,ref:(0,a.t)(r,i.triggerRef),onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!t&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!t&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});C.displayName=b;var R=e=>{let{__scopeDropdownMenu:r,...n}=e,t=g(r);return(0,u.jsx)(p.ZL,{...t,...n})};R.displayName="DropdownMenuPortal";var M="DropdownMenuContent",D=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...a}=e,l=y(M,n),i=g(n),d=t.useRef(!1);return(0,u.jsx)(p.UC,{id:l.contentId,"aria-labelledby":l.triggerId,...i,...a,ref:r,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{d.current||l.triggerRef.current?.focus(),d.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let r=e.detail.originalEvent,n=0===r.button&&!0===r.ctrlKey,t=2===r.button||n;(!l.modal||t)&&(d.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)"}})});D.displayName=M;var j=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.YJ,{...o,...t,ref:r})});j.displayName="DropdownMenuGroup";var _=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.JU,{...o,...t,ref:r})});_.displayName="DropdownMenuLabel";var E=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.q7,{...o,...t,ref:r})});E.displayName="DropdownMenuItem";var I=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.H_,{...o,...t,ref:r})});I.displayName="DropdownMenuCheckboxItem";var P=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.z6,{...o,...t,ref:r})});P.displayName="DropdownMenuRadioGroup";var S=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.hN,{...o,...t,ref:r})});S.displayName="DropdownMenuRadioItem";var k=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.VF,{...o,...t,ref:r})});k.displayName="DropdownMenuItemIndicator";var K=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.wv,{...o,...t,ref:r})});K.displayName="DropdownMenuSeparator";var N=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.i3,{...o,...t,ref:r})});N.displayName="DropdownMenuArrow";var T=e=>{let{__scopeDropdownMenu:r,children:n,open:t,onOpenChange:o,defaultOpen:a}=e,l=g(r),[d,s]=(0,i.i)({prop:t,defaultProp:a??!1,onChange:o,caller:"DropdownMenuSub"});return(0,u.jsx)(p.Pb,{...l,open:d,onOpenChange:s,children:n})},O=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.ZP,{...o,...t,ref:r})});O.displayName="DropdownMenuSubTrigger";var A=t.forwardRef((e,r)=>{let{__scopeDropdownMenu:n,...t}=e,o=g(n);return(0,u.jsx)(p.G5,{...o,...t,ref:r,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)"}})});A.displayName="DropdownMenuSubContent";var F=x,L=C,G=R,V=D,B=j,U=_,W=E,$=I,Z=P,z=S,q=k,H=K,X=N,J=T,Y=O,Q=A},48153:(e,r,n)=>{n.d(r,{q7:()=>K,bL:()=>k,RG:()=>R});var t=n(7620),o=n(37188),a=n(35752),l=n(33670),i=n(55556),u=n(30586);n(97509);var d=n(54568),s=Symbol("radix.slottable");function c(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}var p=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{var n,o;let a,i,u,s=(o=n=`Primitive.${r}`,(a=t.forwardRef((e,r)=>{let{children:n,...o}=e;if(t.isValidElement(n)){var a;let e,i,u=(a=n,(i=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?a.ref:(i=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),d=function(e,r){let n={...r};for(let t in r){let o=e[t],a=r[t];/^on[A-Z]/.test(t)?o&&a?n[t]=(...e)=>{let r=a(...e);return o(...e),r}:o&&(n[t]=o):"style"===t?n[t]={...o,...a}:"className"===t&&(n[t]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==t.Fragment&&(d.ref=r?(0,l.t)(r,u):u),t.cloneElement(n,d)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,i=a,(u=t.forwardRef((e,r)=>{let{children:n,...o}=e,a=t.Children.toArray(n),l=a.find(c);if(l){let e=l.props.children,n=a.map(r=>r!==l?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,d.jsx)(i,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,d.jsx)(i,{...o,ref:r,children:n})})).displayName=`${n}.Slot`,u),p=t.forwardRef((e,n)=>{let{asChild:t,...o}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,d.jsx)(t?s:r,{...o,ref:n})});return p.displayName=`Primitive.${r}`,{...e,[r]:p}},{}),f=n(55222),m=n(3198),v=n(22130),w="rovingFocusGroup.onEntryFocus",g={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[y,x,b]=(0,a.N)(h),[C,R]=(0,i.A)(h,[b]),[M,D]=C(h),j=t.forwardRef((e,r)=>(0,d.jsx)(y.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(y.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(_,{...e,ref:r})})}));j.displayName=h;var _=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:i=!1,dir:u,currentTabStopId:s,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:y,onEntryFocus:b,preventScrollOnEntryFocus:C=!1,...R}=e,D=t.useRef(null),j=(0,l.s)(r,D),_=(0,v.jH)(u),[E,I]=(0,m.i)({prop:s,defaultProp:c??null,onChange:y,caller:h}),[P,k]=t.useState(!1),K=(0,f.c)(b),N=x(n),T=t.useRef(!1),[O,A]=t.useState(0);return t.useEffect(()=>{let e=D.current;if(e)return e.addEventListener(w,K),()=>e.removeEventListener(w,K)},[K]),(0,d.jsx)(M,{scope:n,orientation:a,dir:_,loop:i,currentTabStopId:E,onItemFocus:t.useCallback(e=>I(e),[I]),onItemShiftTab:t.useCallback(()=>k(!0),[]),onFocusableItemAdd:t.useCallback(()=>A(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>A(e=>e-1),[]),children:(0,d.jsx)(p.div,{tabIndex:P||0===O?-1:0,"data-orientation":a,...R,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,o.mK)(e.onMouseDown,()=>{T.current=!0}),onFocus:(0,o.mK)(e.onFocus,e=>{let r=!T.current;if(e.target===e.currentTarget&&r&&!P){let r=new CustomEvent(w,g);if(e.currentTarget.dispatchEvent(r),!r.defaultPrevented){let e=N().filter(e=>e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),C)}}T.current=!1}),onBlur:(0,o.mK)(e.onBlur,()=>k(!1))})})}),E="RovingFocusGroupItem",I=t.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:l=!1,tabStopId:i,children:s,...c}=e,f=(0,u.B)(),m=i||f,v=D(E,n),w=v.currentTabStopId===m,g=x(n),{onFocusableItemAdd:h,onFocusableItemRemove:b,currentTabStopId:C}=v;return t.useEffect(()=>{if(a)return h(),()=>b()},[a,h,b]),(0,d.jsx)(y.ItemSlot,{scope:n,id:m,focusable:a,active:l,children:(0,d.jsx)(p.span,{tabIndex:w?0:-1,"data-orientation":v.orientation,...c,ref:r,onMouseDown:(0,o.mK)(e.onMouseDown,e=>{a?v.onItemFocus(m):e.preventDefault()}),onFocus:(0,o.mK)(e.onFocus,()=>v.onItemFocus(m)),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void v.onItemShiftTab();if(e.target!==e.currentTarget)return;let r=function(e,r,n){var t;let o=(t=e.key,"rtl"!==n?t:"ArrowLeft"===t?"ArrowRight":"ArrowRight"===t?"ArrowLeft":t);if(!("vertical"===r&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===r&&["ArrowUp","ArrowDown"].includes(o)))return P[o]}(e,v.orientation,v.dir);if(void 0!==r){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let o=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===r)o.reverse();else if("prev"===r||"next"===r){var n,t;"prev"===r&&o.reverse();let a=o.indexOf(e.currentTarget);o=v.loop?(n=o,t=a+1,n.map((e,r)=>n[(t+r)%n.length])):o.slice(a+1)}setTimeout(()=>S(o))}}),children:"function"==typeof s?s({isCurrentTabStop:w,hasTabStop:null!=C}):s})})});I.displayName=E;var P={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e,r=!1){let n=document.activeElement;for(let t of e)if(t===n||(t.focus({preventScroll:r}),document.activeElement!==n))return}var k=j,K=I}}]); 2//# chunkId=01a0aebb-b587-7190-a650-d055a6a6fdaf
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.