1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,438762,e=>{"use strict";var t=e.i(307786),n=e.i(14956);let i=n.createContext(void 0),o=n.createContext(void 0);e.s(["NavigationMenuRootContext",0,i,"NavigationMenuTreeContext",0,o,"useNavigationMenuRootContext",0,function(e){let o=n.useContext(i);if(void 0===o&&!e)throw Error((0,t.default)(41));return o},"useNavigationMenuTreeContext",0,function(){return n.useContext(o)}])},687190,504883,e=>{"use strict";var t,n;let i=((t={}).popupWidth="--popup-width",t.popupHeight="--popup-height",t);e.s(["NavigationMenuPopupCssVars",0,i],687190);let o=((n={}).availableWidth="--available-width",n.availableHeight="--available-height",n.anchorWidth="--anchor-width",n.anchorHeight="--anchor-height",n.transformOrigin="--transform-origin",n.positionerWidth="--positioner-width",n.positionerHeight="--positioner-height",n);e.s(["NavigationMenuPositionerCssVars",0,o],504883)},227519,e=>{"use strict";var t=e.i(14956),n=e.i(92615),i=e.i(653068),o=e.i(860782),r=e.i(141424),s=e.i(406850),a=e.i(191146),u=e.i(334360),l=e.i(438762),c=e.i(351390),p=e.i(69729),d=e.i(875432),g=e.i(83733),f=e.i(687190),v=e.i(504883),h=e.i(634699);let C=new Set([g.REASONS.triggerHover,g.REASONS.outsidePress,g.REASONS.focusOut]),N=t.forwardRef(function(e,u){let{defaultValue:N=null,value:M,onValueChange:x,actionsRef:b,delay:P=50,closeDelay:y=50,orientation:R="horizontal",onOpenChangeComplete:E}=e,w=null!=(0,s.useFloatingParentNodeId)(),S=(0,l.useNavigationMenuRootContext)(!0),[T,I]=(0,i.useControlled)({controlled:M,default:N,name:"NavigationMenu",state:"value"}),O=null!=T,A=t.useRef(void 0),V=t.useRef(null),[j,D]=t.useState(null),[k,F]=t.useState(null),[H,L]=t.useState(null),[W,$]=t.useState(null),[B,_]=t.useState(null),[z,G]=t.useState(void 0),[U,q]=t.useState(!1),K=t.useRef(null),Y=t.useRef(null),J=t.useRef(null),Q=t.useRef(null),X=t.useRef(null),Z=t.useRef(null),ee=t.useRef({abortController:null,owner:null}),{mounted:et,setMounted:en,transitionStatus:ei}=(0,p.useTransitionStatus)(O);t.useEffect(()=>{q(!1)},[T]);let eo=(0,o.useStableCallback)((e,t)=>{!e&&(A.current=t.reason,_(null),G(void 0),j&&k&&function(e,t){let{width:n,height:i}=(0,d.getCssDimensions)(e);0!==n&&0!==i&&(e.style.setProperty(f.NavigationMenuPopupCssVars.popupWidth,`${n}px`),e.style.setProperty(f.NavigationMenuPopupCssVars.popupHeight,`${i}px`),t.style.setProperty(v.NavigationMenuPositionerCssVars.positionerWidth,`${n}px`),t.style.setProperty(v.NavigationMenuPositionerCssVars.positionerHeight,`${i}px`))}(k,j)),e!==T&&x?.(e,t),!t.isCanceled&&(I(e),w&&!e&&t.reason===g.REASONS.linkPress&&S&&S.setValue(null,t))}),er=(0,o.useStableCallback)(()=>{let e=(0,r.ownerDocument)(V.current),t=(0,a.activeElement)(e);!(A.current&&C.has(A.current))&&(0,n.isHTMLElement)(K.current)&&(t===(0,r.ownerDocument)(k).body||(0,a.contains)(k,t))&&k&&(K.current.focus({preventScroll:!0}),K.current=void 0),en(!1),E?.(!1),_(null),G(void 0),Y.current=null,A.current=void 0});(0,c.useOpenChangeComplete)({enabled:!b,open:O,ref:{current:k},onComplete(){O||er()}}),(0,c.useOpenChangeComplete)({enabled:!b,open:O,ref:{current:W},onComplete(){O||er()}});let es=t.useMemo(()=>({open:O,value:T,setValue:eo,mounted:et,transitionStatus:ei,positionerElement:j,setPositionerElement:D,popupElement:k,setPopupElement:F,viewportElement:H,setViewportElement:L,viewportTargetElement:W,setViewportTargetElement:$,activationDirection:B,setA
1ctivationDirection:_,floatingRootContext:z,setFloatingRootContext:G,currentContentRef:Y,nested:w,rootRef:V,beforeInsideRef:J,afterInsideRef:Q,beforeOutsideRef:X,afterOutsideRef:Z,prevTriggerElementRef:K,popupAutoSizeResetRef:ee,delay:P,closeDelay:y,orientation:R,viewportInert:U,setViewportInert:q}),[O,T,eo,et,ei,j,k,H,W,B,z,w,P,y,R,U]),ea=(0,h.jsx)(l.NavigationMenuRootContext.Provider,{value:es,children:(0,h.jsx)(m,{componentProps:e,forwardedRef:u,children:e.children})});return w?ea:(0,h.jsx)(s.FloatingTree,{children:ea})});function m(e){let{className:t,render:n,defaultValue:i,value:o,onValueChange:r,actionsRef:a,delay:c,closeDelay:p,orientation:d,onOpenChangeComplete:g,style:f,...v}=e.componentProps,C=(0,s.useFloatingNodeId)(),{rootRef:N,nested:m,open:M}=(0,l.useNavigationMenuRootContext)(),x=(0,u.useRenderElement)(m?"div":"nav",e.componentProps,{state:{open:M,nested:m},ref:[e.forwardedRef,N],props:v});return(0,h.jsx)(l.NavigationMenuTreeContext.Provider,{value:C,children:(0,h.jsx)(s.FloatingNode,{id:C,children:x})})}e.s(["NavigationMenuRoot",0,N])},32854,747057,e=>{"use strict";e.s(["NAVIGATION_MENU_TRIGGER_IDENTIFIER",0,"data-base-ui-navigation-menu-trigger"],32854),e.i(177311);var t=e.i(14956);let n=t.createContext(void 0);e.s(["NavigationMenuDismissContext",0,n,"useNavigationMenuDismissContext",0,function(){return t.useContext(n)}],747057)},180330,e=>{"use strict";var t=e.i(14956),n=e.i(713297),i=e.i(140551),o=e.i(277814),r=e.i(191146),s=e.i(68438),a=e.i(438762),u=e.i(32854),l=e.i(747057),c=e.i(115249),p=e.i(334360),d=e.i(634699);let g=t.forwardRef(function(e,g){let{render:f,className:v,style:h,...C}=e,N=(0,a.useNavigationMenuTreeContext)(),{orientation:m,open:M,floatingRootContext:x,positionerElement:b,value:P,closeDelay:y,viewportElement:R,nested:E}=(0,a.useNavigationMenuRootContext)(),w=t.useMemo(()=>(0,c.getEmptyRootContext)(),[]),S=x||w;(0,o.useHoverFloatingInteraction)(S,{enabled:!!x&&(!!b||!!R||!P),closeDelay:y,nodeId:N});let T=(0,i.useDismiss)(S,{enabled:!!b||!P,outsidePressEvent:"intentional",outsidePress(e){let t=(0,r.getTarget)(e);return null===t?.closest(`[${u.NAVIGATION_MENU_TRIGGER_IDENTIFIER}]`)}}),I=x?T:void 0,O={open:M},A=E?n.EMPTY_OBJECT:{onKeyDown(e){("horizontal"===m&&("ArrowLeft"===e.key||"ArrowRight"===e.key)||"vertical"===m&&("ArrowUp"===e.key||"ArrowDown"===e.key))&&e.stopPropagation()}},V=[I?.floating||n.EMPTY_OBJECT,A,{"aria-orientation":void 0},C],j=(0,p.useRenderElement)("ul",e,{state:O,ref:g,props:V,enabled:E});return E?(0,d.jsx)(l.NavigationMenuDismissContext.Provider,{value:I,children:j}):(0,d.jsx)(l.NavigationMenuDismissContext.Provider,{value:I,children:(0,d.jsx)(s.CompositeRoot,{render:f,className:v,style:h,state:O,refs:[g],props:V,loopFocus:!1,orientation:m,tag:"ul"})})});e.s(["NavigationMenuList",0,g])},174140,e=>{"use strict";var t=e.i(307786),n=e.i(14956);let i=n.createContext(void 0);e.s(["NavigationMenuItemContext",0,i,"useNavigationMenuItemContext",0,function(){let e=n.useContext(i);if(!e)throw Error((0,t.default)(39));return e}])},895424,e=>{"use strict";var t=e.i(14956),n=e.i(334360),i=e.i(174140),o=e.i(204323),r=e.i(634699);let s=t.forwardRef(function(e,s){let{render:a,className:u,style:l,value:c,...p}=e,d=(0,o.useBaseUiId)(),g=c??d,f=(0,n.useRenderElement)("li",e,{ref:s,props:p}),v=t.useMemo(()=>({value:g}),[g]);return(0,r.jsx)(i.NavigationMenuItemContext.Provider,{value:v,children:f})});e.s(["NavigationMenuItem",0,s])},831490,e=>{"use strict";var t=e.i(14956),n=e.i(629108),i=e.i(443001),o=e.i(860782),r=e.i(588199),s=e.i(713297),a=e.i(406850),u=e.i(191146),l=e.i(438762),c=e.i(174140),p=e.i(69729),d=e.i(351390),g=e.i(790154),f=e.i(68438),v=e.i(541784),h=e.i(634699);let C={...v.popupStateMapping,...g.transitionStatusMapping,activationDirection:e=>e?{"data-activation-direction":e}:null},N=t.forwardRef(function(e,g){let{render:v,className:N,style:m,keepMounted:M=!1,...x}=e,{mounted:b,viewportElement:P,value:y,activationDirection:R,currentContentRef:E,viewportTargetElement:w}=(0,l.useNavigationMenuRootContext)(),{value:S}=(0,c.useNavigationMenuItemContext)(),T=(0,l.useNavigationMenuTreeContext)(),I=b&&y===S,O=t.useRef(null),[A,V]=t.useState(!1),[j,D]=t.useState(!1),{mounted:k,setMounted:F,transitionStatus:H}=(0,p.useTransitionStatus)(I);k&&!b&&F(!1),(0,d.useOpenChangeComplete)({ref:O,open:I,onComplete(){I||F(!1)}}),(0,i.useIsoLayoutEffect)(()=>{I&&O.current&&(E.current=O.current)},[I,E]);let L={open:I,transitionStatus:H,activationDirection:R},W=(0,o.useStableCallback)(e=>{e&&I&&(E.current=e)}),$={onFocus(e){let t=(0,u.getTarget)(e.nativeEvent);t?.hasAttribute("data-base-ui-focus-guard")||D(!0)},onBlur(e){(0,u.contains)(e.currentTarget,e.relatedTarget)||D(!1)}},B=!I&&k?{style:{position:"absolute",top:0,left:0},inert:(0,r.inertValue)(!j),...$}:$,_=w||P,z=M&&!k,G=M&&!_&&!A;return(M&&_&&!A&&V(!0),G)?(0,h.jsx)(f.CompositeRoot,{render:v,className:N,style:m,state:L,refs:[g],props:[B,{hidden:!0},x],stateAttributesMapping:C}):_&&(k||M)?n.createPortal((0,h.jsx)(a.FloatingNode,{id:T,children:(0,h.jsx)(f.CompositeRoot,{render:v,className:N,style:m,state:L,refs:[g,O,W],props:[B,z?{hidden:!0}:s.EMPTY_OBJECT,x],stateAttributesMapping:C})}),_):null});e.s(["NavigationMenuContent",0,N])},161405,e=>{"use strict";var t=e.i(191146),n=e.i(911238);
1e.s(["isOutsideMenuEvent",0,function({currentTarget:e,relatedTarget:i},o){let{popupElement:r,rootRef:s,tree:a,nodeId:u}=o,l=a?(0,n.getNodeChildren)(a.nodesRef.current,u).some(e=>(0,t.contains)(e.context?.elements.floating,i)):[];return r?!(0,t.contains)(r,e)&&!(0,t.contains)(r,i)&&!(0,t.contains)(s.current,i)&&!l&&!((0,t.contains)(r,i)&&i?.hasAttribute("data-base-ui-focus-guard")):!(0,t.contains)(s.current,i)&&!l}])},465313,e=>{"use strict";var t=e.i(14956),n=e.i(629108),i=e.i(92615),o=e.i(263783),r=e.i(443001),s=e.i(285182),a=e.i(860782),u=e.i(463682),l=e.i(166582),c=e.i(118678),p=e.i(713297),d=e.i(994967),g=e.i(727265),f=e.i(324910),v=e.i(406850),h=e.i(701699),C=e.i(16762),N=e.i(191146),m=e.i(581637),M=e.i(40356),x=e.i(174140),b=e.i(438762),P=e.i(864853),y=e.i(83733),R=e.i(273307),E=e.i(24875),w=e.i(541784),S=e.i(790154),T=e.i(161405),I=e.i(726068),O=e.i(792903),A=e.i(909521),V=e.i(875432),j=e.i(32854),D=e.i(747057),k=e.i(687190),F=e.i(504883),H=e.i(953015),L=e.i(701996),W=e.i(634699);let $={width:0,height:0},B=t.forwardRef(function(e,B){let{render:_,className:z,style:G,nativeButton:U=!0,disabled:q,...K}=e,{value:Y,setValue:J,mounted:Q,open:X,positionerElement:Z,setActivationDirection:ee,setFloatingRootContext:et,popupElement:en,viewportElement:ei,transitionStatus:eo,rootRef:er,beforeOutsideRef:es,afterOutsideRef:ea,afterInsideRef:eu,beforeInsideRef:el,prevTriggerElementRef:ec,popupAutoSizeResetRef:ep,currentContentRef:ed,delay:eg,closeDelay:ef,orientation:ev,setViewportInert:eh,nested:eC}=(0,b.useNavigationMenuRootContext)(),{value:eN}=(0,x.useNavigationMenuItemContext)(),em=(0,b.useNavigationMenuTreeContext)(),eM=(0,v.useFloatingTree)(),ex=(0,D.useNavigationMenuDismissContext)(),eb=(0,L.useDirection)(),eP=(0,u.useTimeout)(),ey=(0,l.useAnimationFrame)(),eR=(0,l.useAnimationFrame)(),eE=(0,l.useAnimationFrame)(),ew=(0,l.useAnimationFrame)(),[eS,eT]=t.useState(null),[eI,eO]=t.useState(!0),[eA,eV]=t.useState(""),ej=t.useRef(null),eD=t.useRef(!1),ek=t.useRef($),eF=t.useRef(!1),eH=X&&Y===eN,eL=(0,c.useValueAsRef)(eH),eW=!!Z||!Y,e$=Z||ei,eB=!!e$||!Y,e_=(0,A.useAnimationsFinished)(en,!1,!1),ez=t.useCallback(e=>{ej.current=e,eT(e)},[]),eG=(0,a.useStableCallback)((e=!1)=>{(e||ep.current.owner===eN)&&(ep.current.abortController?.abort(),ep.current.abortController=null,ep.current.owner=null)});function eU(){en&&(en.style.setProperty(k.NavigationMenuPopupCssVars.popupWidth,"auto"),en.style.setProperty(k.NavigationMenuPopupCssVars.popupHeight,"auto"))}function eq(){en&&Z&&(en.style.removeProperty(k.NavigationMenuPopupCssVars.popupWidth),en.style.removeProperty(k.NavigationMenuPopupCssVars.popupHeight),Z.style.removeProperty(F.NavigationMenuPositionerCssVars.positionerWidth),Z.style.removeProperty(F.NavigationMenuPositionerCssVars.positionerHeight))}function eK(e,t){en&&Z&&(en.style.setProperty(k.NavigationMenuPopupCssVars.popupWidth,`${e}px`),en.style.setProperty(k.NavigationMenuPopupCssVars.popupHeight,`${t}px`),Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerWidth,`${e}px`),Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerHeight,`${t}px`))}function eY(){eG(!0);let e=new AbortController;ep.current.abortController=e,ep.current.owner=eN,e_(()=>{ep.current.abortController===e&&ep.current.owner===eN&&(ep.current.abortController=null,ep.current.owner=null,eU())},e.signal)}(0,r.useIsoLayoutEffect)(()=>{eH||(eR.cancel(),ew.cancel(),eG())},[eH,eR,ew,eG]);let eJ=(0,a.useStableCallback)((e,t,n={})=>{if(!en||!Z)return;eG(!0);let{syncPositioner:i=!1}=n;eq();let{width:o,height:r}=(0,V.getCssDimensions)(en),s=o||ek.current.width,a=r||ek.current.height;(0===t||0===e)&&(e=s,t=a),en.style.setProperty(k.NavigationMenuPopupCssVars.popupWidth,`${e}px`),en.style.setProperty(k.NavigationMenuPopupCssVars.popupHeight,`${t}px`),Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerWidth,`${i?e:s}px`),Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerHeight,`${i?t:a}px`),ew.request(()=>{eL.current&&(en.style.setProperty(k.NavigationMenuPopupCssVars.popupWidth,`${s}px`),en.style.setProperty(k.NavigationMenuPopupCssVars.popupHeight,`${a}px`),i&&(Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerWidth,`${s}px`),Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerHeight,`${a}px`)),eY())})}),eQ=(0,a.useStableCallback)((e,t)=>{en&&Z&&(ew.cancel(),eR.cancel(),eG(!0),0!==e&&0!==t&&(eK(e,t),eR.request(()=>{eR.request(()=>
1{eq();let{width:n,height:i}=(0,V.getCssDimensions)(en),o=n||e||ek.current.width,r=i||t||ek.current.height;eK(e,t),ew.request(()=>{eL.current&&(eK(o,r),eY())})})})))}),eX=(0,a.useStableCallback)(()=>{if(!en||!Z)return;ew.cancel(),eG(!0),eq();let{width:e,height:t}=(0,V.getCssDimensions)(en);0!==e&&0!==t&&(ek.current={width:e,height:t},eU(),Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerWidth,`${e}px`),Z.style.setProperty(F.NavigationMenuPositionerCssVars.positionerHeight,`${t}px`))}),eZ=(0,a.useStableCallback)(()=>{if(!en)return{size:ek.current,syncPositioner:!1};let e=en.style.getPropertyValue(k.NavigationMenuPopupCssVars.popupWidth),t=en.style.getPropertyValue(k.NavigationMenuPopupCssVars.popupHeight);return""===e||"auto"===e||""===t||"auto"===t?{size:ek.current,syncPositioner:!1}:{size:{width:en.offsetWidth||ek.current.width,height:en.offsetHeight||ek.current.height},syncPositioner:!0}});t.useEffect(()=>{X||(eP.clear(),eR.cancel(),eE.cancel(),ew.cancel(),eG(!0),eF.current=!1,eV(""))},[eP,X,eR,eE,ew,eG]),t.useEffect(()=>{Q||(ek.current=$)},[Q]),t.useEffect(()=>{if(!en||"function"!=typeof ResizeObserver)return;let e=new ResizeObserver(()=>{ek.current={width:en.offsetWidth,height:en.offsetHeight}});return e.observe(en),()=>{e.disconnect()}},[en]),t.useEffect(()=>{if(!X||!eH||!en||!Z)return;let e=(0,s.ownerWindow)(Z),t=(0,o.addEventListener)(e,"resize",function(){eE.cancel(),eE.request(eX)});return()=>{eE.cancel(),t()}},[X,eH,en,Z,eE,eX]),t.useEffect(()=>{let e=ed.current;if(!e||!en||!eH||"function"!=typeof MutationObserver)return;let t=new MutationObserver(()=>{if("starting"===eo||en.hasAttribute(S.TransitionStatusDataAttributes.startingStyle))return void eX();let{size:e,syncPositioner:t}=eZ();t?eQ(e.width,e.height):eJ(e.width,e.height)});return t.observe(e,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["hidden"]}),()=>{t.disconnect()}},[ed,en,eH,eo,eZ,eQ,eJ,eX]),t.useEffect(()=>(eH&&X&&en&&eD.current&&(eD.current=!1,ey.request(()=>{es.current?.focus()})),()=>{ey.cancel()}),[es,ey,eH,X,en]),(0,r.useIsoLayoutEffect)(()=>{if(eL.current&&X&&en){let e=ed.current?.querySelector("[data-nested]")!=null;if("starting"===eo&&e)return ew.request(eX),()=>{ew.cancel()};if(eF.current){eF.current=!1;return}let{width:t,height:n}=(0,V.getCssDimensions)(en);eJ(t,n)}},[ed,eJ,eL,X,en,ew,eX,eo]);let e0=(0,f.useFloatingRootContext)({open:X,onOpenChange:function(e,t){let i=t.reason===y.REASONS.triggerHover;function o(){i&&(eO(!0),eP.clear(),eP.start(R.PATIENT_CLICK_THRESHOLD,()=>{eO(!1)})),e?J(eN,t):(J(null,t),eV(""))}eW&&("touch"!==eA||!i)&&(e||Y===eN)&&(i?n.flushSync(o):o())},elements:{reference:eS,floating:e$}}),e1=(0,C.useHoverInteractionSharedState)(e0),e4="touch"!==eA;t.useEffect(()=>{X||(e0.context.dataRef.current.openEvent=void 0,e1.pointerType=void 0,e1.interactedInside=!1,e1.restTimeoutPending=!1,e1.openChangeTimeout.clear(),e1.restTimeout.clear(),(0,C.clearSafePolygonPointerEventsMutation)(e1))},[e0,e1,X]);let e6=(0,a.useStableCallback)(()=>eC&&!Z&&ej.current&&e$?function(e,t,n){let i,o,r,s,a,u,l,c;return{placement:(i=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=i.left+i.width/2,s=i.top+i.height/2,a=o.left+o.width/2,u=o.top+o.height/2,Math.abs(l=a-r)>=Math.abs(c=u-s)?l>=0?"right":"left":c>=0?"bottom":"top"),elements:{domReference:e,floating:t},nodeId:n}}(ej.current,e$,em):null);function e3(){return eC&&Z?null:ej.current?.closest("ul")??null}let e8=(0,h.useHoverReferenceInteraction)(e0,{enabled:eB,move:!1,handleClose:(0,d.safePolygon)({blockPointerEvents:e4,getScope:e3}),restMs:Q&&Z?0:eg,delay:{close:ef},triggerElementRef:ej,getHandleCloseContext:e6}),e7=t.useMemo(()=>e8?{reference:e8}:void 0,[e8]),e5=(0,g.useClick)(e0,{enabled:eW,stickIfOpen:eI,toggle:eH}),e9=t.useMemo(()=>(0,H.mergeProps)(e5.reference,e7?.reference),[e5.reference,e7]);function e2(e){n.flushSync(()=>{let t=(0,i.isHTMLElement)(e.currentTarget)?e.currentTarget:null,n=ec.current?.getBoundingClientRect();if(Q&&n&&eS){let e=eS.getBoundingClientRect(),t=e.left>n.left,i=e.top>n.top;"horizontal"===ev&&e.left!==n.left?ee(t?"right":"left"):"vertical"===ev&&e.top!==n.top&&ee(i?"down":"up")}if("click"!==e.type&&null!=Y&&(e0.context.dataRef.current.openEvent=void 0),("touch"!==eA||"click"===e.type)&&(null!=Y&&J(eN,(0,P.createChangeEventDetails)("mouseenter"
1===e.type?y.REASONS.triggerHover:y.REASONS.triggerPress,e.nativeEvent)),"mouseenter"===e.type&&e4&&(!eC||!Z)&&e$&&t)){let e=()=>{let e=e3()??t.ownerDocument.body;(0,C.applySafePolygonPointerEventsMutation)(e1,{scopeElement:e,referenceElement:t,floatingElement:e$})};null!=Y&&Y!==eN?queueMicrotask(e):e()}})}(0,r.useIsoLayoutEffect)(()=>{eH&&(et(e0),ec.current=eS)},[eH,e0,et,ec,eS]);let te=(0,a.useStableCallback)(e=>{if(!en||!Z)return void e2(e);let{width:t,height:n}=(0,V.getCssDimensions)(en),i=null!=Y&&Y!==eN&&("click"===e.type||"touch"!==eA);e2(e),i&&(eF.current=!0),eJ(t,n)});function tt(e){eV(e.pointerType)}let tn={tabIndex:0,onMouseEnter:te,onClick:te,onPointerEnter:tt,onPointerDown:function(e){tt(e),(0,C.clearSafePolygonPointerEventsMutation)(e1)},"aria-expanded":eH,"aria-controls":eH?en?.id:void 0,[j.NAVIGATION_MENU_TRIGGER_IDENTIFIER]:"",onFocus(){eH&&eh(!1)},onMouseMove(){eD.current=!1},onKeyDown(e){if(eD.current=!0,eC)return;let t="horizontal"===ev&&"ArrowDown"===e.key,n="vertical"===ev&&e.key===("rtl"===eb?"ArrowLeft":"ArrowRight");(t||n)&&(J(eN,(0,P.createChangeEventDetails)(y.REASONS.listNavigation,e.nativeEvent)),te(e),(0,M.stopEvent)(e))},onBlur(e){Z&&en&&(0,T.isOutsideMenuEvent)({currentTarget:e.currentTarget,relatedTarget:e.relatedTarget},{popupElement:en,rootRef:er,tree:eM,nodeId:em})&&J(null,(0,P.createChangeEventDetails)(y.REASONS.focusOut,e.nativeEvent))}},{getButtonProps:ti,buttonRef:to}=(0,O.useButton)({disabled:q,focusableWhenDisabled:!0,native:U});return(0,W.jsxs)(t.Fragment,{children:[(0,W.jsx)(I.CompositeItem,{tag:"button",render:_,className:z,style:G,state:{open:eH},stateAttributesMapping:w.pressableTriggerOpenStateMapping,refs:[B,ez,to],props:[e9,ex?.reference||p.EMPTY_ARRAY,tn,K,ti]}),eH&&(0,W.jsxs)(t.Fragment,{children:[(0,W.jsx)(E.FocusGuard,{ref:es,onFocus:e=>{if(e$&&(0,m.isOutsideEvent)(e,e$))el.current?.focus();else{let e=(0,m.getPreviousTabbable)(eS);e?.focus()}}}),(0,W.jsx)("span",{"aria-owns":ei?.id,style:R.ownerVisuallyHidden}),(0,W.jsx)(E.FocusGuard,{ref:ea,onFocus:e=>{if(e$&&(0,m.isOutsideEvent)(e,e$)){n.flushSync(()=>{eh(!1)});let e=eu.current||eS;e?.focus()}else{let t=(0,m.getNextTabbable)(eS);eC&&!Z&&e$&&t&&(0,N.contains)(e$,t)&&(t=(0,m.getTabbableAfterElement)(eu.current)),t?.focus(),eC&&!Z||(0,N.contains)(er.current,t)||J(null,(0,P.createChangeEventDetails)(y.REASONS.focusOut,e.nativeEvent))}}})]})]})});e.s(["NavigationMenuTrigger",0,B])},148582,e=>{"use strict";var t=e.i(307786),n=e.i(14956);let i=n.createContext(void 0);e.s(["NavigationMenuPortalContext",0,i,"useNavigationMenuPortalContext",0,function(){let e=n.useContext(i);if(void 0===e)throw Error((0,t.default)(40));return e}])},716713,e=>{"use strict";var t=e.i(14956),n=e.i(436135),i=e.i(438762),o=e.i(148582),r=e.i(634699);let s=t.forwardRef(function(e,t){let{keepMounted:s=!1,...a}=e,{mounted:u}=(0,i.useNavigationMenuRootContext)();return u||s?(0,r.jsx)(o.NavigationMenuPortalContext.Provider,{value:s,children:(0,r.jsx)(n.FloatingPortal,{ref:t,...a})}):null});e.s(["NavigationMenuPortal",0,s])},615752,e=>{"use strict";var t=e.i(307786),n=e.i(14956);let i=n.createContext(void 0);e.s(["NavigationMenuPositionerContext",0,i,"useNavigationMenuPositionerContext",0,function(e=!1){let o=n.useContext(i);if(!o&&!e)throw Error((0,t.default)(42));return o}])},336678,e=>{"use strict";var t=e.i(14956),n=e.i(629108),i=e.i(263783),o=e.i(992249),r=e.i(285182),s=e.i(463682),a=e.i(581637),u=e.i(115249),l=e.i(438762),c=e.i(148582),p=e.i(239807),d=e.i(615752),g=e.i(273307),f=e.i(403812),v=e.i(436747),h=e.i(634699);let C=(0,u.getEmptyRootContext)(),N=t.forwardRef(function(e,u){let{open:N,mounted:m,positionerElement:M,setPositionerElement:x,floatingRootContext:b,nested:P,transitionStatus:y}=(0,l.useNavigationMenuRootContext)(),{className:R,render:E,anchor:w,positionMethod:S="absolute",side:T="bottom",align:I="center",sideOffset:O=0,alignOffset:A=0,collisionBoundary:V="clipping-ancestors",collisionPadding:j=5,collisionAvoidance:D=P?g.POPUP_COLLISION_AVOIDANCE:g.DROPDOWN_COLLISION_AVOIDANCE,arrowPadding:k=5,sticky:F=!1,disableAnchorTracking:H=!1,style:L,...W}=e,$=(0,c.useNavigationMenuPortalContext)(),B=(0,l.useNavigationMenuTreeContext)(),_=(0,s.useTimeout)(),[z,G]=t.useState(!1),U=t.useRef(null),q=t.useRef(null);t.useEffect(()=>{if(M)return(0,o.mergeCleanups)((0,i.addEventListener)(M,"focusin",e,!0),(0,i.addEventListener)(M,"focusout",e,!0));function e(e){M&&(0,a.isOutsideEvent)(e)&&("focusin"===e.type?a.enableFocusInside:a.disableFocusInside)(M)}},[M]);let K=(b||C).useState("domReferenceElement"),Y=(0,p.useAnchorPositioning)({anchor:w??K??q,positionMethod:S,mounted:m,side:T,sideOffset:O,align:I,alignOffset:A,arrowPadding:k,collisionBoundary:V,collisionPadding:j,sticky:F,disableAnchorTracking:H,
1keepMounted:$,floatingRootContext:b,collisionAvoidance:D,nodeId:B,adaptiveOrigin:f.adaptiveOrigin}),J={open:N,side:Y.side,align:Y.align,anchorHidden:Y.anchorHidden,instant:z};t.useEffect(()=>{if(!N)return;let e=(0,r.ownerWindow)(M);return(0,i.addEventListener)(e,"resize",function(){n.flushSync(()=>{G(!0)}),_.start(100,()=>{G(!1)})})},[N,_,M]);let Q=(0,v.usePositioner)(e,J,{styles:Y.positionerStyles,transitionStatus:y,props:W,refs:[u,x,U],hidden:!m,inert:!N});return(0,h.jsx)(d.NavigationMenuPositionerContext.Provider,{value:Y,children:Q})});e.s(["NavigationMenuPositioner",0,N])},764994,e=>{"use strict";var t=e.i(14956),n=e.i(443001),i=e.i(463289),o=e.i(588199),r=e.i(334360),s=e.i(438762),a=e.i(24875),u=e.i(581637),l=e.i(191146),c=e.i(115249),p=e.i(615752),d=e.i(634699);let g=(0,c.getEmptyRootContext)();function f({children:e}){let{beforeInsideRef:n,beforeOutsideRef:i,afterInsideRef:o,afterOutsideRef:r,positionerElement:l,viewportElement:c,floatingRootContext:g}=(0,s.useNavigationMenuRootContext)(),v=!!(0,p.useNavigationMenuPositionerContext)(!0),h=l||c;return g||v?(0,d.jsxs)(t.Fragment,{children:[(0,d.jsx)(a.FocusGuard,{ref:n,onFocus:e=>{h&&(0,u.isOutsideEvent)(e,h)?(0,u.getNextTabbable)(h)?.focus():i.current?.focus()}}),e,(0,d.jsx)(a.FocusGuard,{ref:o,onFocus:e=>{h&&(0,u.isOutsideEvent)(e,h)?(0,u.getPreviousTabbable)(h)?.focus():r.current?.focus()}})]}):e}let v=t.forwardRef(function(e,t){let{render:a,className:u,style:c,children:v,id:h,...C}=e,N=(0,i.useId)(h),{setViewportElement:m,setViewportTargetElement:M,floatingRootContext:x,prevTriggerElementRef:b,viewportInert:P,setViewportInert:y}=(0,s.useNavigationMenuRootContext)(),R=!!(0,p.useNavigationMenuPositionerContext)(!0),E=(x||g).useState("domReferenceElement");(0,n.useIsoLayoutEffect)(()=>{E&&(b.current=E)},[E,b]);let w=(0,r.useRenderElement)("div",e,{ref:[t,m],props:[{id:N,onBlur(e){let t=e.relatedTarget,n=e.currentTarget;t&&!(0,l.contains)(n,t)&&t!==E&&y(!0)},...!R&&P&&{inert:(0,o.inertValue)(!0)},children:R?v:(0,d.jsx)(f,{children:(0,d.jsx)("div",{ref:M,children:v})})},C]});return R?(0,d.jsx)(f,{children:w}):w});e.s(["NavigationMenuViewport",0,v])},699486,e=>{"use strict";var t=e.i(14956),n=e.i(334360),i=e.i(438762),o=e.i(790154);let r={...e.i(541784).popupStateMapping,...o.transitionStatusMapping},s=t.forwardRef(function(e,t){let{render:o,className:s,style:a,...u}=e,{open:l,mounted:c,transitionStatus:p}=(0,i.useNavigationMenuRootContext)();return(0,n.useRenderElement)("div",e,{state:{open:l,transitionStatus:p},ref:t,props:[{role:"presentation",hidden:!c,style:{userSelect:"none",WebkitUserSelect:"none"}},u],stateAttributesMapping:r})});e.s(["NavigationMenuBackdrop",0,s])},901742,e=>{"use strict";var t=e.i(14956),n=e.i(334360),i=e.i(438762),o=e.i(790154),r=e.i(204323),s=e.i(615752),a=e.i(701996);let u={...e.i(541784).popupStateMapping,...o.transitionStatusMapping},l=t.forwardRef(function(e,t){let{render:o,className:l,style:c,id:p,...d}=e,{open:g,transitionStatus:f,setPopupElement:v}=(0,i.useNavigationMenuRootContext)(),h=(0,s.useNavigationMenuPositionerContext)(),C=(0,a.useDirection)(),N=(0,r.useBaseUiId)(p),m={open:g,transitionStatus:f,side:h.side,align:h.align,anchorHidden:h.anchorHidden},M="top"===h.side,x="left"===h.side;return"rtl"===C?(M=M||"inline-end"===h.side,x=x||"inline-end"===h.side):(M=M||"inline-start"===h.side,x=x||"inline-start"===h.side),(0,n.useRenderElement)("nav",e,{state:m,ref:[t,v],props:[{id:N,tabIndex:-1,style:M?{position:"absolute",["top"===h.side?"bottom":"top"]:"0",[x?"right":"left"]:"0"}:{}},d],stateAttributesMapping:u})});e.s(["NavigationMenuPopup",0,l])},250463,e=>{"use strict";var t=e.i(14956),n=e.i(615752),i=e.i(438762),o=e.i(541784),r=e.i(334360);let s=t.forwardRef(function(e,t){let{render:s,className:a,style:u,...l}=e,{open:c}=(0,i.useNavigationMenuRootContext)(),{arrowRef:p,side:d,align:g,arrowUncentered:f,arrowStyles:v}=(0,n.useNavigationMenuPositionerContext)();return(0,r.useRenderElement)("div",e,{state:{open:c,side:d,align:g,uncentered:f},ref:[t,p],props:[{style:v,"aria-hidden":!0},l],stateAttributesMapping:o.popupStateMapping})});e.s(["NavigationMenuArrow",0,s])},278027,e=>{"use strict";var t=e.i(14956),n=e.i(406850),i=e.i(438762),o=e.i(161405),r=e.i(726068),s=e.i(864853),a=e.i(83733),u=e.i(634699);let l=t.forwardRef(function(e,t){let{className:l,render:c,active:p=!1,closeOnClick:d=!1,style:g,...f}=e,{setValue:v,popupElement:h,positionerElement:C,rootRef:N}=(0,i.useNavigationMenuRootContext)(),m=(0,i.useNavigationMenuTreeContext)(),M=(0,n.useFloatingTree)();return(0,u.jsx)(r.CompositeItem,{tag:"a",render:c,className:l,style:g,state:{active:p},refs:[t],props:[{"aria-current":p?"page":void 0,tabIndex:void 0,onClick(e){d&&v(null,(0,s.createChangeEventDetails)(a.REASONS.linkPress,e.nativeEvent))},onBlur(e){C&&h&&(0,o.isOutsideMenuEvent)({currentTarget:e.currentTarget,relatedTarget:e.relatedTarget},{popupElement:h,rootRef:N,tree:M,nodeId:m})&&v(null,(0,s.createChangeEventDetails)(a.REASONS.focusOut,e.nativeEvent))}},f]})});e.s(["NavigationMenuLink",0,l])},803561,e=>{"use strict";var t=e.i(14956),n=e.i(334360),i=e.i(438762),o=e.i(541784),r=e.i(174140);let s=t.forwardRef(function(e,t){let{render:s,className:a,style:u,...l}=e,{value:c}=(0,r.useNavigationMenuItemContext)(),{open:p,value:d}=(0,i.useNavigationMenuRootContext)();return(0,n.useRenderElement)("span",e,{state:{open:p&&d===c}
1,ref:t,props:[{"aria-hidden":!0,children:"â¼"},l],stateAttributesMapping:o.triggerOpenStateMapping})});e.s(["NavigationMenuIcon",0,s])},154983,e=>{"use strict";let t=(0,e.i(419412).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,t],154983)},270834,e=>{"use strict";var t=e.i(634699);e.s([],208805),e.i(208805);var n=e.i(227519),i=e.i(180330),o=e.i(895424),r=e.i(831490),s=e.i(465313),a=e.i(716713),u=e.i(336678),l=e.i(764994),c=e.i(699486),p=e.i(901742),d=e.i(250463),g=e.i(278027),f=e.i(803561);e.s(["Arrow",()=>d.NavigationMenuArrow,"Backdrop",()=>c.NavigationMenuBackdrop,"Content",()=>r.NavigationMenuContent,"Icon",()=>f.NavigationMenuIcon,"Item",()=>o.NavigationMenuItem,"Link",()=>g.NavigationMenuLink,"List",()=>i.NavigationMenuList,"Popup",()=>p.NavigationMenuPopup,"Portal",()=>a.NavigationMenuPortal,"Positioner",()=>u.NavigationMenuPositioner,"Root",()=>n.NavigationMenuRoot,"Trigger",()=>s.NavigationMenuTrigger,"Viewport",()=>l.NavigationMenuViewport],868024);var v=e.i(868024),v=v,h=e.i(294237);e.i(516078);var C=e.i(541048);function N({className:e,side:n="bottom",sideOffset:i=8,align:o="start",alignOffset:r=0,...s}){return(0,t.jsx)(v.Portal,{children:(0,t.jsx)(v.Positioner,{side:n,sideOffset:i,align:o,alignOffset:r,className:(0,C.cn)("isolate z-50 h-(--positioner-height) w-(--positioner-width) max-w-(--available-width) transition-[top,left,right,bottom] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] data-instant:transition-none data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0",e),...s,children:(0,t.jsx)(v.Popup,{className:"data-[ending-style]:easing-[ease] xs:w-(--popup-width) bg-popover text-popover-foreground ring-foreground/10 relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-lg shadow ring-1 transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0",children:(0,t.jsx)(v.Viewport,{className:"relative size-full overflow-hidden"})})})})}(0,h.cva)("group/navigation-menu-trigger hover:bg-muted focus:bg-muted focus-visible:ring-ring/50 data-popup-open:bg-muted/50 data-popup-open:hover:bg-muted data-open:bg-muted/50 data-open:hover:bg-muted data-open:focus:bg-muted inline-flex h-9 w-max items-center justify-center rounded-lg px-2.5 py-1.5 text-sm font-medium transition-all outline-none focus-visible:ring-3 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50"),e.s(["NavigationMenu",0,function({align:e="start",className:n,children:i,...o}){return(0,t.jsxs)(v.Root,{"data-slot":"navigation-menu",className:(0,C.cn)("group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",n),...o,children:[i,(0,t.jsx)(N,{align:e})]})},"NavigationMenuItem",0,function({className:e,...n}){return(0,t.jsx)(v.Item,{"data-slot":"navigation-menu-item",className:(0,C.cn)("relative",e),...n})},"NavigationMenuList",0,function({className:e,...n}){return(0,t.jsx)(v.List,{"data-slot":"navigation-menu-list",className:(0,C.cn)("group flex flex-1 list-none items-center justify-center gap-0",e),...n})}],270834)},475246,e=>{"use strict";function t(e,t){let[o="/"]=e.split("?"),r=o.length>1&&o.endsWith("/")?o.slice(0,-1):o||"/";if(!t?.locale&&!t?.locales?.length)return r||"/";let s=t?.locale??n(r,t?.locales);return s&&i(r,s)?function(e,t){if(!i(e,t))return e||"/";let n=e.slice(t.length+1);return n?n.startsWith("/")?n:`/${n}`:"/"}(r,s):r||"/"}function n(e,t){if(!t?.length)return;let[n]=e.split("/").filter(Boolean);if(n)return t.find(e=>e.toLowerCase()===n.toLowerCase())}function i(e,t){return e===`/${t}`||e.startsWith(`/${t}/`)}e.s(["isRouteActive",0,function(e,i,o,r){let s=r?.locale??n(i,r?.locales),a=t(e,{...r,locale:s}),u=t(i,{...r,locale:s});return a===u||(o?new RegExp(o).test(u):"/"!==a&&(u.startsWith(a+"/")||u===a))}])}]);
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.