1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5958],{15958:(e,n,t)=>{t.d(n,{UC:()=>eK,ZL:()=>ek,bL:()=>ej,l9:()=>eI});var r=t(73285),o=t(10024),u=t(37514),a=t(72010),i=t(26290),l=t(35702),c=t(24498),s=t(5775),d=t(68355),f=t(82431),p=t(1155),v=t(2514),g=t(19198),m=t(18618),h=t(61593),w=t(4814),b=t(40249),x=t(94416),y=t(96256),C=t(24289),M=Object.defineProperty,R=(e,n)=>M(e,"name",{value:n,configurable:!0}),D=["Enter"," "],E=["ArrowUp","PageDown","End"],j=["ArrowDown","PageUp","Home",...E];[...D],[...D];var I="Menu",[k,K,F]=(0,c.N)(I),[A,P]=(0,a.A)(I,[F,v.Bk,h.RG]),T=(0,v.Bk)(),S=(0,h.RG)(),[O,L]=A(I),[_,G]=A(I),B=R(e=>{let{__scopeMenu:n,open:t=!1,children:o,dir:u,onOpenChange:a,modal:i=!0}=e,l=T(n),[c,d]=r.useState(null),f=r.useRef(!1),p=(0,b.c)(a),g=(0,s.jH)(u);return r.useEffect(()=>{let e=R(()=>{f.current=!0,document.addEventListener("pointerdown",n,{capture:!0,once:!0}),document.addEventListener("pointermove",n,{capture:!0,once:!0})},"handleKeyDown"),n=R(()=>f.current=!1,"handlePointer");return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",n,{capture:!0}),document.removeEventListener("pointermove",n,{capture:!0})}},[]),r.useEffect(()=>{if(!t)return;let e=R(()=>p(!1),"handleBlur");return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[t,p]),(0,C.jsx)(v.bL,{...l,children:(0,C.jsx)(O,{scope:n,open:t,onOpenChange:p,content:c,onContentChange:d,children:(0,C.jsx)(_,{scope:n,onClose:r.useCallback(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:g,modal:i,children:o})})})},"Menu"),U=r.forwardRef(R(function(e,n){let{__scopeMenu:t,...r}=e,o=T(t);return(0,C.jsx)(v.Mz,{...o,...r,ref:n})},"MenuAnchor")),N="MenuPortal",[H,V]=A(N,{forceMount:void 0}),X=R(e=>{let{__scopeMenu:n,forceMount:t,children:r,container:o}=e,u=L(N,n);return(0,C.jsx)(H,{scope:n,forceMount:t,children:(0,C.jsx)(m.C,{present:t||u.open,children:(0,C.jsx)(g.Z,{asChild:!0,container:o,children:r})})})},"MenuPortal"),q="MenuContent",[Z,z]=A(q),W=r.forwardRef(R(function(e,n){let t=V(q,e.__scopeMenu),{forceMount:r=t.forceMount,...o}=e,u=L(q,e.__scopeMenu),a=G(q,e.__scopeMenu);return(0,C.jsx)(k.Provider,{scope:e.__scopeMenu,children:(0,C.jsx)(m.C,{present:r||u.open,children:(0,C.jsx)(k.Slot,{scope:e.__scopeMenu,children:a.modal?(0,C.jsx)(Y,{...o,ref:n}):(0,C.jsx)(J,{...o,ref:n})})})})},"MenuContent")),Y=r.forwardRef(R(function(e,n){let t=L(q,e.__scopeMenu),a=r.useRef(null),i=(0,u.s)(n,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,x.Eq)(e)},[]),(0,C.jsx)($,{...e,ref:i,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})},"MenuRootContentModal")),J=r.forwardRef(R(function(e,n){let t=L(q,e.__scopeMenu);return(0,C.jsx)($,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})},"MenuRootContentNonModal")),Q=(0,w.TL)("MenuContent.ScrollLock"),$=r.forwardRef(R(function(e,n){let{__scopeMenu:t,loop:a=!1,trapFocus:i,onOpenAutoFocus:l,onCloseAutoFocus:c,disableOutsidePointerEvents:s,onEntryFocus:g,onEscapeKeyDown:m,onPointerDownOutside:w,onFocusOutside:b,onInteractOutside:x,onDismiss:M,disableOutsideScroll:D,...I}=e,k=L(q,t),F=G(q,t),A=T(t),P=S(t),O=K(t),[_,B]=r.useState(null),U=r.useRef(null),N=(0,u.s)(n,U,k.onContentChange),H=r.useRef(0),V=r.useRef(""),X=r.useRef(0),z=r.useRef(null),W=r.useRef("right"),Y=r.useRef(0),J=D?y.A:r.Fragment,$=R(e=>{var n,t;let r=V.current+e,o=O().filter(e=>!e.disabled),u=document.activeElement,a=null==(n=o.find(e=>e.ref.current===u))?void 0:n.textValue,i=es(o.map(e=>e.textValue),r,a),l=null==(t=o.find(e=>e.textValue===i))?void 0:t.ref.current;l&&setTimeout(()=>l.focus())},"handleTypeaheadSearch");r.useEffect(()=>()=>window.clearTimeout(H.current),[]),(0,f.Oh)();let ee=r.useCallback(e=>{var n,t;return W.current===(null==(n=z.current)?void 0:n.side)&&ef(e,null==(t=z.current)?void 0:t.area)},[]);return(0,C.jsx)(Z,{scope:t,searchRef:V,onItemEnter:r.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),onItemLeave:r.useCallback(e=>{var n;ee(e)||(null==(n=U.current)||n.focus(),B(null))},[ee]),onTriggerLeave:r.useCallback(e=>{ee(e)&&e.preventDefault()},[ee]),pointerGraceTimerRef:X,onPointerGraceIntentChange:r.useCallback(e=>{z.current=e},[]),children:(0,C.jsx)(J,{...D?{as:Q,allowPinchZoom:!0}:void 0,children:(0,C.jsx)(p.n,{asChild:!0,trapped:i,onMountAutoFocus:(0,o.mK)(l,e=>{var n;e.preventDefault(),null==(n=U.current)||n.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,C.jsx)(d.qW,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:m,onPointerDownOutside:w,onFocusOutside:b,onInteractOutside:x,onDismiss:M,children:(0,C.jsx)(h.bL,{asChild:!0,...P,dir:F.dir,orientation:"vertical",loop:a,currentTabStopId:_,onCurrentTabStopIdChange:B,onEntryFocus:(0,o.mK)(g,e=>{F.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,C.jsx)(v.UC,{role:"menu","aria-orientation":"vertical","data-state":ea(k.open
1),"data-radix-menu-content":"",dir:F.dir,...A,...I,ref:N,style:{outline:"none",...I.style},onKeyDown:(0,o.mK)(I.onKeyDown,e=>{let n=e.target.closest("[data-radix-menu-content]")===e.currentTarget,t=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;n&&("Tab"===e.key&&e.preventDefault(),!t&&r&&$(e.key));let o=U.current;if(e.target!==o||!j.includes(e.key))return;e.preventDefault();let u=O().filter(e=>!e.disabled).map(e=>e.ref.current);E.includes(e.key)&&u.reverse(),el(u)}),onBlur:(0,o.mK)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(H.current),V.current="")}),onPointerMove:(0,o.mK)(e.onPointerMove,ep(e=>{let n=e.target,t=Y.current!==e.clientX;e.currentTarget.contains(n)&&t&&(W.current=e.clientX>Y.current?"right":"left",Y.current=e.clientX)}))})})})})})})},"MenuContentImpl")),[ee,en]=A("MenuRadioGroup",{value:void 0,onValueChange:R(()=>{},"onValueChange")}),[et,er]=A("MenuItemIndicator",{checked:!1}),[eo,eu]=A("MenuSub");function ea(e){return e?"open":"closed"}function ei(e){return"indeterminate"===e}function el(e){let n=document.activeElement;for(let t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function ec(e,n){return e.map((t,r)=>e[(n+r)%e.length])}function es(e,n,t){let r=n.length>1&&Array.from(n).every(e=>e===n[0])?n[0]:n,o=t?e.indexOf(t):-1,u=ec(e,Math.max(o,0));1===r.length&&(u=u.filter(e=>e!==t));let a=u.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return a!==t?a:void 0}function ed(e,n){let{x:t,y:r}=e,o=!1;for(let e=0,u=n.length-1;e<n.length;u=e++){let a=n[e],i=n[u],l=a.x,c=a.y,s=i.x,d=i.y;c>r!=d>r&&t<(s-l)*(r-c)/(d-c)+l&&(o=!o)}return o}function ef(e,n){return!!n&&ed({x:e.clientX,y:e.clientY},n)}function ep(e){return n=>"mouse"===n.pointerType?e(n):void 0}R(ea,"getOpenState"),R(ei,"isIndeterminate"),R(function(e){return ei(e)?"indeterminate":e?"checked":"unchecked"},"getCheckedState"),R(el,"focusFirst"),R(ec,"wrapArray"),R(es,"getNextMatch"),R(ed,"isPointInPolygon"),R(ef,"isPointerInGraceArea"),R(ep,"whenMouse");var ev=t(71457),eg=Object.defineProperty,em=(e,n)=>eg(e,"name",{value:n,configurable:!0}),eh="DropdownMenu",[ew,eb]=(0,a.A)(eh,[P]),ex=P(),[ey,eC]=ew(eh),eM=em(e=>{let{__scopeDropdownMenu:n,children:t,dir:o,open:u,defaultOpen:a,onOpenChange:l,modal:c=!0}=e,s=ex(n),d=r.useRef(null),[f,p]=(0,i.i)({prop:u,defaultProp:null!=a&&a,onChange:l,caller:eh});return(0,C.jsx)(ey,{scope:n,triggerId:(0,ev.B)(),triggerRef:d,contentId:(0,ev.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:c,children:(0,C.jsx)(B,{...s,open:f,onOpenChange:p,dir:o,modal:c,children:t})})},"DropdownMenu"),eR=r.forwardRef(em(function(e,n){let{__scopeDropdownMenu:t,disabled:r=!1,...a}=e,i=eC("DropdownMenuTrigger",t),c=ex(t),s=(0,u.s)(n,i.triggerRef);return(0,C.jsx)(U,{asChild:!0,...c,children:(0,C.jsx)(l.sG.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":r?"":void 0,disabled:r,...a,ref:s,onPointerDown:(0,o.mK)(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:(0,o.mK)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})},"DropdownMenuTrigger")),eD=em(e=>{let{__scopeDropdownMenu:n,...t}=e,r=ex(n);return(0,C.jsx)(X,{...r,...t})},"DropdownMenuPortal"),eE=r.forwardRef(em(function(e,n){let{__scopeDropdownMenu:t,...u}=e,a=eC("DropdownMenuContent",t),i=ex(t),l=r.useRef(!1);return(0,C.jsx)(W,{id:a.contentId,"aria-labelledby":a.triggerId,...i,...u,ref:n,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var n;l.current||null==(n=a.triggerRef.current)||n.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,o.mK)(e.onInteractOutside,e=>{let n=e.detail.originalEvent,t=0===n.button&&!0===n.ctrlKey,r=2===n.button||t;(!a.modal||r)&&(l.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)"}})},"DropdownMenuContent")),ej=eM,eI=eR,ek=eD,eK=eE},61593:(e,n,t)=>{t.d(n,{q7:()=>X,bL:()=>V,RG:()=>P});var r=t(73285),o=t.t(r,2),u=t(10024),a=t(24498),i=t(37514),l=t(72010),c=t(71457),s=t(35702),d=t(40249),f=t(26290),p=t(5775),v=t(23549),g=Object.defineProperty,m=(e,n
1)=>g(e,"name",{value:n,configurable:!0}),h=!1;function w(){let[e,n]=r.useState(h);return r.useEffect(()=>{h||(h=!0,n(!0))},[]),e}m(w,"useIsHydrated");var b=o[" useSyncExternalStore ".trim().toString()];function x(){return()=>{}}function y(){return b(x,()=>!0,()=>!1)}m(x,"subscribe"),m(y,"useIsHydratedModern");var C="function"==typeof b?y:w,M=t(24289),R=Object.defineProperty,D=(e,n)=>R(e,"name",{value:n,configurable:!0}),E="rovingFocusGroup.onEntryFocus",j={bubbles:!1,cancelable:!0},I="RovingFocusGroup",[k,K,F]=(0,a.N)(I),[A,P]=(0,l.A)(I,[F]),[T,S]=A(I),O=r.forwardRef(D(function(e,n){return(0,M.jsx)(k.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,M.jsx)(k.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,M.jsx)(L,{...e,ref:n})})})},"RovingFocusGroup")),L=r.forwardRef(D(function(e,n){let{__scopeRovingFocusGroup:t,orientation:o,loop:a=!1,dir:l,currentTabStopId:c,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:g,onEntryFocus:m,preventScrollOnEntryFocus:h=!1,...w}=e,b=r.useRef(null),x=(0,i.s)(n,b),y=(0,p.jH)(l),[C,R]=(0,f.i)({prop:c,defaultProp:null!=v?v:null,onChange:g,caller:I}),[D,k]=r.useState(!1),F=(0,d.c)(m),A=K(t),P=r.useRef(!1),[S,O]=r.useState(0);return r.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(E,F),()=>e.removeEventListener(E,F)},[F]),(0,M.jsx)(T,{scope:t,orientation:o,dir:y,loop:a,currentTabStopId:C,onItemFocus:r.useCallback(e=>R(e),[R]),onItemShiftTab:r.useCallback(()=>k(!0),[]),onFocusableItemAdd:r.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:r.useCallback(()=>O(e=>e-1),[]),children:(0,M.jsx)(s.sG.div,{tabIndex:D||0===S?-1:0,"data-orientation":o,...w,ref:x,style:{outline:"none",...e.style},onMouseDown:(0,u.mK)(e.onMouseDown,()=>{P.current=!0}),onFocus:(0,u.mK)(e.onFocus,e=>{let n=!P.current;if(e.target===e.currentTarget&&n&&!D){let n=new CustomEvent(E,j);if(e.currentTarget.dispatchEvent(n),!n.defaultPrevented){let e=A().filter(e=>e.focusable);N([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),h)}}P.current=!1}),onBlur:(0,u.mK)(e.onBlur,()=>k(!1))})})},"RovingFocusGroupImpl")),_=r.forwardRef(D(function(e,n){let{__scopeRovingFocusGroup:t,focusable:o=!0,active:a=!1,tabStopId:i,children:l,...d}=e,f=(0,c.B)(),p=i||f,g=S("RovingFocusGroupItem",t),m=g.currentTabStopId===p,h=K(t),{onFocusableItemAdd:w,onFocusableItemRemove:b,currentTabStopId:x}=g,y=C();return(0,v.N)(()=>{if(y&&o)return w(),()=>b()},[y,o,w,b]),r.useEffect(()=>{if(!y&&o)return w(),()=>b()},[y,o,w,b]),(0,M.jsx)(k.ItemSlot,{scope:t,id:p,focusable:o,active:a,children:(0,M.jsx)(s.sG.span,{tabIndex:m?0:-1,"data-orientation":g.orientation,...d,ref:n,onMouseDown:(0,u.mK)(e.onMouseDown,e=>{o?g.onItemFocus(p):e.preventDefault()}),onFocus:(0,u.mK)(e.onFocus,()=>g.onItemFocus(p)),onKeyDown:(0,u.mK)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void g.onItemShiftTab();if(e.target!==e.currentTarget)return;let n=U(e,g.orientation,g.dir);if(void 0!==n){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let t=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===n)t.reverse();else if("prev"===n||"next"===n){"prev"===n&&t.reverse();let r=t.indexOf(e.currentTarget);t=g.loop?H(t,r+1):t.slice(r+1)}setTimeout(()=>N(t))}}),children:"function"==typeof l?l({isCurrentTabStop:m,hasTabStop:null!=x}):l})})},"RovingFocusGroupItem")),G={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function B(e,n){return"rtl"!==n?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function U(e,n,t){let r=B(e.key,t);if(!("vertical"===n&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===n&&["ArrowUp","ArrowDown"].includes(r)))return G[r]}function N(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=document.activeElement;for(let r of e)if(r===t||(r.focus({preventScroll:n}),document.activeElement!==t))return}function H(e,n){return e.map((t,r)=>e[(n+r)%e.length])}D(B,"getDirectionAwareKey"),D(U,"getFocusIntent"),D(N,"focusFirst"),D(H,"wrapArray");var V=O,X=_}}]);
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.