PageSourceSearch

https://expertia.ai/_next/static/chunks/8470.3eb29244f0dc7df7.js

js expertia.ai collected 2026-09-24 10:19:33 UTC 22,017 bytes, 31 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8470],{91373:function(e,n,t){t.d(n,{Z:function(){return createLucideIcon}});var r=t(67294);/**
2 * @license lucide-react v0.414.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let toKebabCase=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),mergeClasses=(...e)=>e.filter((e,n,t)=>!!e&&t.indexOf(e)===n).join(" ");/**
7 * @license lucide-react v0.414.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12 * @license lucide-react v0.414.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let a=(0,r.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:t=2,absoluteStrokeWidth:a,className:c="",children:u,iconNode:l,...i},d)=>(0,r.createElement)("svg",{ref:d,...o,width:n,height:n,stroke:e,strokeWidth:a?24*Number(t)/Number(n):t,className:mergeClasses("lucide",c),...i},[...l.map(([e,n])=>(0,r.createElement)(e,n)),...Array.isArray(u)?u:[u]])),createLucideIcon=(e,n)=>{let t=(0,r.forwardRef)(({className:t,...o},c)=>(0,r.createElement)(a,{ref:c,iconNode:n,className:mergeClasses(`lucide-${toKebabCase(e)}`,t),...o}));return t.displayName=`${e}`,t}},8971:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(91373);/**
17 * @license lucide-react v0.414.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */let o=(0,r.Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},64998:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(91373);/**
22 * @license lucide-react v0.414.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */let o=(0,r.Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},50316:function(e,n,t){t.d(n,{Z:function(){return o}});var r=t(91373);/**
27 * @license lucide-react v0.414.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */let o=(0,r.Z)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},93133:function(e,n,t){t.d(n,{oC:function(){return eG},VY:function(){return eA},ZA:function(){return eV},ck:function(){return eU},wU:function(){return eN},__:function(){return eW},Uv:function(){return $d08ef79370b62062$export$602eac185826482c},Ee:function(){return eB},Rk:function(){return ez},fC:function(){return $d08ef79370b62062$export$be92b6f5f03c0fe9},Z0:function(){return eX},Tr:function(){return $d08ef79370b62062$export$d7a01e11500dfb6f},tu:function(){return ej},fF:function(){return eY},xz:function(){return eL}});var r=t(87462),o=t(67294),a=t(36206),c=t(28771),u=t(25360),l=t(77342),i=t(75320),d=t(65936),s=t(78990),f=t(46063),p=t(27552),m=t(95420),v=t(91276),h=t(46066),g=t(42651),w=t(29115),M=t(66681),_=t(88426),E=t(79698),C=t(23541),$=t(42026);let b=["Enter"," "],y=["ArrowUp","PageDown","End"],D=["ArrowDown","PageUp","Home",...y],k={ltr:[...b,"ArrowRight"],rtl:[...b,"ArrowLeft"]},R={ltr:["ArrowLeft"],rtl:["ArrowRight"]},x="Menu",[P,O,Z]=(0,d.B)(x),[I,T]=(0,u.b)(x,[Z,h.D7,M.Pc]),S=(0,h.D7)(),F=(0,M.Pc)(),[K,L]=I(x),[A,V]=I(x),W=(0,o.forwardRef)((e,n)=>{let{__scopeMenu:t,...a}=e,c=S(t);return(0,o.createElement)(h.ee,(0,r.Z)({},c,a,{ref:n}))}),U="MenuPortal",[G,B]=I(U,{forceMount:void 0}),z="MenuContent",[N,X]=I(z),Y=(0,o.forwardRef)((e,n)=>{let t=B(z,e.__scopeMenu),{forceMount:a=t.forceMount,...c}=e,u=L(z,e.__scopeMenu),l=V(z,e.__scopeMenu);return(0,o.createElement)(P.Provider,{scope:e.__scopeMenu},(0,o.createElement)(w.z,{present:a||u.open},(0,o.createElement)(P.Slot,{scope:e.__scopeMenu},l.modal?(0,o.createElement)(j,(0,r.Z)({},c,{ref:n})):(0,o.createElement)(q,(0,r.Z)({},c,{ref:n})))))}),j=(0,o.forwardRef)((e,n)=>{let t=L(z,e.__scopeMenu),u=(0,o.useRef)(null),l=(0,c.e)(n,u);return(0,o.useEffect)(()=>{let e=u.current;if(e)return(0,C.Ry)(e)},[]),(0,o.createElement)(H,(0,r.Z)({},e,{ref:l,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:(0,a.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)}))}),q=(0,o.forwardRef)((e,n)=>{let t=L(z,e.__scopeMenu);return(0,o.createElement)(H,(0,r.Z)({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)}))}),H=(0,o.forwardRef)((e,n)=>{let{__scopeMenu:t,loop:u=!1,trapFocus:l,onOpenAutoFocus:i,onCloseAutoFocus:d,disableOutsidePointerEvents:s,onEntryFocus:v,onEscapeKeyDown:g,onPointerDownOutside:w,onFocusOutside:E,onInteractOutside:C,onDismiss:b,disableOutsideScroll:k,...R}=e,x=L(z,t),P=V(z,t),Z=S(t),I=F(t),T=O(t),[K,A]=(0,o.useState)(null),W=(0,o.useRef)(null),U=(0,c.e)(n,W,x.onContentChange),G=(0,o.useRef)(0),B=(0,o.useRef)(""),X=(0,o.useRef)(0),Y=(0,o.useRef)(null),j=(0,o.useRef)("right"),q=(0,o.useRef)(0),H=k?$.Z:o.Fragment,J=k?{as:_.g7,allowPinchZoom:!0}:void 0,handleTypeaheadSearch=e=>{var n,t;let r=B.current+e,o=T().filter(e=>!e.disabled),a=document.activeElement,c=null===(n=o.find(e=>
31e.ref.current===a))||void 0===n?void 0:n.textValue,u=o.map(e=>e.textValue),l=function(e,n,t){var r;let o=n.length>1&&Array.from(n).every(e=>e===n[0]),a=o?n[0]:n,c=t?e.indexOf(t):-1,u=(r=Math.max(c,0),e.map((n,t)=>e[(r+t)%e.length])),l=1===a.length;l&&(u=u.filter(e=>e!==t));let i=u.find(e=>e.toLowerCase().startsWith(a.toLowerCase()));return i!==t?i:void 0}(u,r,c),i=null===(t=o.find(e=>e.textValue===l))||void 0===t?void 0:t.ref.current;!function updateSearch(e){B.current=e,window.clearTimeout(G.current),""!==e&&(G.current=window.setTimeout(()=>updateSearch(""),1e3))}(r),i&&setTimeout(()=>i.focus())};(0,o.useEffect)(()=>()=>window.clearTimeout(G.current),[]),(0,p.EW)();let Q=(0,o.useCallback)(e=>{var n,t;let r=j.current===(null===(n=Y.current)||void 0===n?void 0:n.side);return r&&function(e,n){if(!n)return!1;let t={x:e.clientX,y:e.clientY};return function(e,n){let{x:t,y:r}=e,o=!1;for(let e=0,a=n.length-1;e<n.length;a=e++){let c=n[e].x,u=n[e].y,l=n[a].x,i=n[a].y,d=u>r!=i>r&&t<(l-c)*(r-u)/(i-u)+c;d&&(o=!o)}return o}(t,n)}(e,null===(t=Y.current)||void 0===t?void 0:t.area)},[]);return(0,o.createElement)(N,{scope:t,searchRef:B,onItemEnter:(0,o.useCallback)(e=>{Q(e)&&e.preventDefault()},[Q]),onItemLeave:(0,o.useCallback)(e=>{var n;Q(e)||(null===(n=W.current)||void 0===n||n.focus(),A(null))},[Q]),onTriggerLeave:(0,o.useCallback)(e=>{Q(e)&&e.preventDefault()},[Q]),pointerGraceTimerRef:X,onPointerGraceIntentChange:(0,o.useCallback)(e=>{Y.current=e},[])},(0,o.createElement)(H,J,(0,o.createElement)(m.M,{asChild:!0,trapped:l,onMountAutoFocus:(0,a.M)(i,e=>{var n;e.preventDefault(),null===(n=W.current)||void 0===n||n.focus()}),onUnmountAutoFocus:d},(0,o.createElement)(f.XB,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:g,onPointerDownOutside:w,onFocusOutside:E,onInteractOutside:C,onDismiss:b},(0,o.createElement)(M.fC,(0,r.Z)({asChild:!0},I,{dir:P.dir,orientation:"vertical",loop:u,currentTabStopId:K,onCurrentTabStopIdChange:A,onEntryFocus:(0,a.M)(v,e=>{P.isUsingKeyboardRef.current||e.preventDefault()})}),(0,o.createElement)(h.VY,(0,r.Z)({role:"menu","aria-orientation":"vertical","data-state":$6cc32821e9371a1c$var$getOpenState(x.open),"data-radix-menu-content":"",dir:P.dir},Z,R,{ref:U,style:{outline:"none",...R.style},onKeyDown:(0,a.M)(R.onKeyDown,e=>{let n=e.target,t=n.closest("[data-radix-menu-content]")===e.currentTarget,r=e.ctrlKey||e.altKey||e.metaKey,o=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!r&&o&&handleTypeaheadSearch(e.key));let a=W.current;if(e.target!==a||!D.includes(e.key))return;e.preventDefault();let c=T().filter(e=>!e.disabled),u=c.map(e=>e.ref.current);y.includes(e.key)&&u.reverse(),function(e){let n=document.activeElement;for(let t of e)if(t===n||(t.focus(),document.activeElement!==n))return}(u)}),onBlur:(0,a.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(G.current),B.current="")}),onPointerMove:(0,a.M)(e.onPointerMove,$6cc32821e9371a1c$var$whenMouse(e=>{let n=e.target,t=q.current!==e.clientX;if(e.currentTarget.contains(n)&&t){let n=e.clientX>q.current?"right":"left";j.current=n,q.current=e.clientX}}))})))))))}),J=(0,o.forwardRef)((e,n)=>{let{__scopeMenu:t,...a}=e;return(0,o.createElement)(i.WV.div,(0,r.Z)({role:"group"},a,{ref:n}))}),Q=(0,o.forwardRef)((e,n)=>{let{__scopeMenu:t,...a}=e;return(0,o.createElement)(i.WV.div,(0,r.Z)({},a,{ref:n}))}),ee="MenuItem",en="menu.itemSelect",et=(0,o.forwardRef)((e,n)=>{let{disabled:t=!1,onSelect:u,...l}=e,d=(0,o.useRef)(null),s=V(ee,e.__scopeMenu),f=X(ee,e.__scopeMenu),p=(0,c.e)(n,d),m=(0,o.useRef)(!1);return(0,o.createElement)(er,(0,r.Z)({},l,{ref:p,disabled:t,onClick:(0,a.M)(e.onClick,()=>{let e=d.current;if(!t&&e){let n=new CustomEvent(en,{bubbles:!0,cancelable:!0});e.addEventListener(en,e=>null==u?void 0:u(e),{once:!0}),(0,i.jH)(e,n),n.defaultPrevented?m.current=!1:s.onClose()}}),onPointerDown:n=>{var t;null===(t=e.onPointerDown)||void 0===t||t.call(e,n),m.current=!0},onPointerUp:(0,a.M)(e.onPointerUp,e=>{var n;m.current||null===(n=e.currentTarget)||void 0===n||n.click()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let n=""!==f.searchRef.current;
31!t&&(!n||" "!==e.key)&&b.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),er=(0,o.forwardRef)((e,n)=>{let{__scopeMenu:t,disabled:u=!1,textValue:l,...d}=e,s=X(ee,t),f=F(t),p=(0,o.useRef)(null),m=(0,c.e)(n,p),[v,h]=(0,o.useState)(!1),[g,w]=(0,o.useState)("");return(0,o.useEffect)(()=>{let e=p.current;if(e){var n;w((null!==(n=e.textContent)&&void 0!==n?n:"").trim())}},[d.children]),(0,o.createElement)(P.ItemSlot,{scope:t,disabled:u,textValue:null!=l?l:g},(0,o.createElement)(M.ck,(0,r.Z)({asChild:!0},f,{focusable:!u}),(0,o.createElement)(i.WV.div,(0,r.Z)({role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":u||void 0,"data-disabled":u?"":void 0},d,{ref:m,onPointerMove:(0,a.M)(e.onPointerMove,$6cc32821e9371a1c$var$whenMouse(e=>{if(u)s.onItemLeave(e);else if(s.onItemEnter(e),!e.defaultPrevented){let n=e.currentTarget;n.focus()}})),onPointerLeave:(0,a.M)(e.onPointerLeave,$6cc32821e9371a1c$var$whenMouse(e=>s.onItemLeave(e))),onFocus:(0,a.M)(e.onFocus,()=>h(!0)),onBlur:(0,a.M)(e.onBlur,()=>h(!1))}))))}),eo=(0,o.forwardRef)((e,n)=>{let{checked:t=!1,onCheckedChange:c,...u}=e;return(0,o.createElement)(ed,{scope:e.__scopeMenu,checked:t},(0,o.createElement)(et,(0,r.Z)({role:"menuitemcheckbox","aria-checked":$6cc32821e9371a1c$var$isIndeterminate(t)?"mixed":t},u,{ref:n,"data-state":$6cc32821e9371a1c$var$getCheckedState(t),onSelect:(0,a.M)(u.onSelect,()=>null==c?void 0:c(!!$6cc32821e9371a1c$var$isIndeterminate(t)||!t),{checkForDefaultPrevented:!1})})))}),[ea,ec]=I("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),eu=(0,o.forwardRef)((e,n)=>{let{value:t,onValueChange:a,...c}=e,u=(0,E.W)(a);return(0,o.createElement)(ea,{scope:e.__scopeMenu,value:t,onValueChange:u},(0,o.createElement)(J,(0,r.Z)({},c,{ref:n})))}),el=(0,o.forwardRef)((e,n)=>{let{value:t,...c}=e,u=ec("MenuRadioItem",e.__scopeMenu),l=t===u.value;return(0,o.createElement)(ed,{scope:e.__scopeMenu,checked:l},(0,o.createElement)(et,(0,r.Z)({role:"menuitemradio","aria-checked":l},c,{ref:n,"data-state":$6cc32821e9371a1c$var$getCheckedState(l),onSelect:(0,a.M)(c.onSelect,()=>{var e;return null===(e=u.onValueChange)||void 0===e?void 0:e.call(u,t)},{checkForDefaultPrevented:!1})})))}),ei="MenuItemIndicator",[ed,es]=I(ei,{checked:!1}),ef=(0,o.forwardRef)((e,n)=>{let{__scopeMenu:t,forceMount:a,...c}=e,u=es(ei,t);return(0,o.createElement)(w.z,{present:a||$6cc32821e9371a1c$var$isIndeterminate(u.checked)||!0===u.checked},(0,o.createElement)(i.WV.span,(0,r.Z)({},c,{ref:n,"data-state":$6cc32821e9371a1c$var$getCheckedState(u.checked)})))}),ep=(0,o.forwardRef)((e,n)=>{let{__scopeMenu:t,...a}=e;return(0,o.createElement)(i.WV.div,(0,r.Z)({role:"separator","aria-orientation":"horizontal"},a,{ref:n}))}),em=((e,n)=>{let{__scopeMenu:t,...a}=e,c=S(t);return(0,o.createElement)(h.Eh,(0,r.Z)({},c,a,{ref:n}))},"MenuSub"),[ev,eh]=I(em),eg="MenuSubTrigger",ew=(0,o.forwardRef)((e,n)=>{let t=L(eg,e.__scopeMenu),u=V(eg,e.__scopeMenu),l=eh(eg,e.__scopeMenu),i=X(eg,e.__scopeMenu),d=(0,o.useRef)(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:f}=i,p={__scopeMenu:e.__scopeMenu},m=(0,o.useCallback)(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return(0,o.useEffect)(()=>m,[m]),(0,o.useEffect)(()=>{let e=s.current;return()=>{window.clearTimeout(e),f(null)}},[s,f]),(0,o.createElement)(W,(0,r.Z)({asChild:!0},p),(0,o.createElement)(er,(0,r.Z)({id:l.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":l.contentId,"data-state":$6cc32821e9371a1c$var$getOpenState(t.open)},e,{ref:(0,c.F)(n,l.onTriggerChange),onClick:n=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,n),e.disabled||n.defaultPrevented||(n.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:(0,a.M)(e.onPointerMove,$6cc32821e9371a1c$var$whenMouse(n=>{i.onItemEnter(n),n.defaultPrevented||e.disabled||t.open||d.current||(i.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{t.onOpenChange(!0),m()},100))})),onPointerLeave:(0,a.M)(e.onPointerLeave,$6cc32821e9371a1c$var$whenMouse(e=>{var n,r;m();let o=null===(n=t.content)||void 0===n?void 0:n.getBoundingClientRect();if(o){let n=null===(r=t.content)||void 0===r?void 0:r.dataset.side,a="right"===n,c=o[a?"left":"right"],u=o[a?"right":"left"];i.onPointerGraceIntentChange({area:[{x:e.clientX+(a?-5:5),y:e.clientY},{x:c,y:o.top},{x:u,y:o.top},{x:u,y:o.bottom},{x:c,y:o.bottom}],side:n}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>i.onPointerGraceIntentChange(null),300)}else{if(i.onTriggerLeave(e),e.defaultPrevented)return;i.onPointerGraceIntentChange(null)}})),onKeyDown:(0,a.M)(e.onKeyDown,n=>{let r=""!==i.searchRef.current;if(!e.disabled&&(!r||" "!==n.key)&&k[u.dir].includes(n.key)){var o;t.onOpenChange(!0),null===(o=t.content)||void 0===o||o.focus(),n.preventDefault()}})})))}),eM=(0,o.forwardRef)((e,n)=>{let t=B(z,e.__scopeMenu),{forceMount:u=t.forceMount,...l}=e,i=L(z,e.__scopeMenu),d=V(z,e.__scopeMenu),s=eh("MenuSubContent",e.__scopeMenu),f=(0,o.useRef)(null),p=(0,c.e)(n,f);return(0,o.createElement)(P.Provider,{scope:e.__scopeMenu},(0,o.createElement)(w.z,{present:u||i.open},(0,o.createElement)(P.Slot,{scope:e.__scopeMenu},(0,o.createElement)(H,(0,r.Z)({id:s.contentId,"aria-labelledby":s.triggerId},l,{ref:p,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var n;d.isUsingKeyboardRef.current&&(null===(n=f.current)||void 0===n||n.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,a.M)(e.onFocusOutside,e=>{e.target!==s.trigger&&i.onOpenChange(!1)}),onEscapeKeyDown:(0,a.M)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let n=e.currentTarget.contains(e.target),t=R[d.dir].includes(e.ke
31y);if(n&&t){var r;i.onOpenChange(!1),null===(r=s.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))});function $6cc32821e9371a1c$var$getOpenState(e){return e?"open":"closed"}function $6cc32821e9371a1c$var$isIndeterminate(e){return"indeterminate"===e}function $6cc32821e9371a1c$var$getCheckedState(e){return $6cc32821e9371a1c$var$isIndeterminate(e)?"indeterminate":e?"checked":"unchecked"}function $6cc32821e9371a1c$var$whenMouse(e){return n=>"mouse"===n.pointerType?e(n):void 0}let $6cc32821e9371a1c$export$be92b6f5f03c0fe9=e=>{let{__scopeMenu:n,open:t=!1,children:r,dir:a,onOpenChange:c,modal:u=!0}=e,l=S(n),[i,d]=(0,o.useState)(null),f=(0,o.useRef)(!1),p=(0,E.W)(c),m=(0,s.gm)(a);return(0,o.useEffect)(()=>{let handleKeyDown=()=>{f.current=!0,document.addEventListener("pointerdown",handlePointer,{capture:!0,once:!0}),document.addEventListener("pointermove",handlePointer,{capture:!0,once:!0})},handlePointer=()=>f.current=!1;return document.addEventListener("keydown",handleKeyDown,{capture:!0}),()=>{document.removeEventListener("keydown",handleKeyDown,{capture:!0}),document.removeEventListener("pointerdown",handlePointer,{capture:!0}),document.removeEventListener("pointermove",handlePointer,{capture:!0})}},[]),(0,o.createElement)(h.fC,l,(0,o.createElement)(K,{scope:n,open:t,onOpenChange:p,content:i,onContentChange:d},(0,o.createElement)(A,{scope:n,onClose:(0,o.useCallback)(()=>p(!1),[p]),isUsingKeyboardRef:f,dir:m,modal:u},r)))},$6cc32821e9371a1c$export$602eac185826482c=e=>{let{__scopeMenu:n,forceMount:t,children:r,container:a}=e,c=L(U,n);return(0,o.createElement)(G,{scope:n,forceMount:t},(0,o.createElement)(w.z,{present:t||c.open},(0,o.createElement)(g.h,{asChild:!0,container:a},r)))},$6cc32821e9371a1c$export$d7a01e11500dfb6f=e=>{let{__scopeMenu:n,children:t,open:r=!1,onOpenChange:a}=e,c=L(em,n),u=S(n),[l,i]=(0,o.useState)(null),[d,s]=(0,o.useState)(null),f=(0,E.W)(a);return(0,o.useEffect)(()=>(!1===c.open&&f(!1),()=>f(!1)),[c.open,f]),(0,o.createElement)(h.fC,u,(0,o.createElement)(K,{scope:n,open:r,onOpenChange:f,content:d,onContentChange:s},(0,o.createElement)(ev,{scope:n,contentId:(0,v.M)(),triggerId:(0,v.M)(),trigger:l,onTriggerChange:i},t)))},e_="DropdownMenu",[eE,eC]=(0,u.b)(e_,[T]),e$=T(),[eb,ey]=eE(e_),eD=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,disabled:u=!1,...l}=e,d=ey("DropdownMenuTrigger",t),s=e$(t);return(0,o.createElement)(W,(0,r.Z)({asChild:!0},s),(0,o.createElement)(i.WV.button,(0,r.Z)({type:"button",id:d.triggerId,"aria-haspopup":"menu","aria-expanded":d.open,"aria-controls":d.open?d.contentId:void 0,"data-state":d.open?"open":"closed","data-disabled":u?"":void 0,disabled:u},l,{ref:(0,c.F)(n,d.triggerRef),onPointerDown:(0,a.M)(e.onPointerDown,e=>{u||0!==e.button||!1!==e.ctrlKey||(d.onOpenToggle(),d.open||e.preventDefault())}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{!u&&(["Enter"," "].includes(e.key)&&d.onOpenToggle(),"ArrowDown"===e.key&&d.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),ek=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...c}=e,u=ey("DropdownMenuContent",t),l=e$(t),i=(0,o.useRef)(!1);return(0,o.createElement)(Y,(0,r.Z)({id:u.contentId,"aria-labelledby":u.triggerId},l,c,{ref:n,onCloseAutoFocus:(0,a.M)(e.onCloseAutoFocus,e=>{var n;i.current||null===(n=u.triggerRef.current)||void 0===n||n.focus(),i.current=!1,e.preventDefault()}),onInteractOutside:(0,a.M)(e.onInteractOutside,e=>{let n=e.detail.originalEvent,t=0===n.button&&!0===n.ctrlKey,r=2===n.button||t;(!u.modal||r)&&(i.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)"}}))}),eR=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(J,(0,r.Z)({},c,a,{ref:n}))}),ex=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(Q,(0,r.Z)({},c,a,{ref:n}))}),eP=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(et,(0,r.Z)({},c,a,{ref:n}))}),eO=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(eo,(0,r.Z)({},c,a,{ref:n}))}),eZ=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(eu,(0,r.Z)({},c,a,{ref:n}))}),eI=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(el,(0,r.Z)({},c,a,{ref:n}))}),eT=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(ef,(0,r.Z)({},c,a,{ref:n}))}),eS=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(ep,(0,r.Z)({},c,a,{ref:n}))}),eF=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(ew,(0,r.Z)({},c,a,{ref:n}))}),eK=(0,o.forwardRef)((e,n)=>{let{__scopeDropdownMenu:t,...a}=e,c=e$(t);return(0,o.createElement)(eM,(0,r.Z)({},c,a,{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)"}}))}),$d08ef79370b62062$export$be92b6f5f03c0fe9=e=>{let{__scopeDropdownMenu:n,children:t,dir:a,open:c,defaultOpen:u,onOpenChange:i,modal:d=!0}=e,s=e$(n),f=(0,o.useRef)(null),[p=!1,m]=(0,l.T)({prop:c,defaultProp:u,onChange:i});return(0,o.createElement)(eb,{scope:n,triggerId:(0,v.M)(),triggerRef:f,contentId:(0,v.M)(),open:p,onOpenChange:m,onOpenToggle:(0,o.useCallback)(()=>m(e=>!e),[m]),modal:d},(0,o.createElement)($6cc32821e9371a1c$export$be92b6f5f03c0fe9,(0,r.Z)({},s,{open:p,onOpenChange:m,dir:a,modal:d}),t))},eL=eD,$d08ef79370b62062$export$602eac185826482c=e=>{let{__scopeDropdownMenu:n,...t}=e,a=e$(n);return(0,o.createElement)($6cc32821e9371a1c$export$602eac185826482c,(0,r.Z)({},a,t))},eA=ek,eV=eR,eW=ex,eU=eP,eG=eO,eB=eZ,ez=eI,eN=eT,eX=eS,$d08ef79370b62062$export$d7a01e11500dfb6f=e=>{let{__scopeDropdownMenu:n,children:t,open:a,onOpenChange:c,defaultOpen:u}=e,i=e$(n),[d=!1,s]=(0,l.T)({prop:a,defaultProp:u,onChange:c});return(0,o.createElement)($6cc32821e9371a1c$export$d7a01e11500dfb6f,(0,r.Z)({},i,{open:d,onOpenChange:s}),t)},eY=eF,ej=eK}}]);

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.