PageSourceSearch

https://elasticemail.com/_next/static/chunks/3807-460e28b750dd0ab9.js

js elasticemail.com collected 2026-09-24 08:46:51 UTC 75,694 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3807],{83666:function(e,t,n){n.d(t,{S:function(){return A}});var r=n(26645),o=n(51885),i=n(2265),a=n(36321),l=n(99933),[s,u]=(0,n(40280).k)({name:"ButtonGroupContext",strict:!1}),d=n(2646),c=n(97765),f=n(10252),v=n(63506),p=n(90372),m=n(88160),g=n(27246),h=n(46076);let b=!1,y=0;function E(){b=!0,setTimeout(()=>{b=!1},50)}function w(e){"touch"===e.pointerType&&E()}function T(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",w):document.addEventListener("touchend",E),y++,()=>{--y>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",w):document.removeEventListener("touchend",E))}}var x=n(2357),L=n(67198),N=n(50278),P=n(53458),k=n(9330),M=n(57437),C=()=>n.e(6796).then(n.bind(n,66796)).then(e=>e.default),F=e=>{let{ripples:t=[],motionProps:n,color:r="currentColor",style:o,onClear:i}=e;return(0,M.jsx)(M.Fragment,{children:t.map(e=>{let t=Math.min(Math.max(.01*e.size,.2),e.size>100?.75:.5);return(0,M.jsx)(N.X,{features:C,children:(0,M.jsx)(P.M,{mode:"popLayout",children:(0,M.jsx)(k.m.span,{animate:{transform:"scale(2)",opacity:0}
1,className:"nextui-ripple",exit:{opacity:0},initial:{transform:"scale(0)",opacity:.35},style:{position:"absolute",backgroundColor:r,borderRadius:"100%",transformOrigin:"center",pointerEvents:"none",overflow:"hidden",inset:0,zIndex:0,top:e.y,left:e.x,width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),...o},transition:{duration:t},onAnimationComplete:()=>{i(e.key)},...n})})},e.key)})})};F.displayName="NextUI.Ripple";var S=(0,n(72243).Gp)((e,t)=>{let{Component:n,domRef:r,children:o,styles:a,spinnerSize:s,spinner:y=(0,M.jsx)(L.c,{color:"current",size:s}),spinnerPlacement:E,startContent:w,endContent:N,isLoading:P,disableRipple:k,getButtonProps:C,getRippleProps:S,isIconOnly:R}=function(e){var t,n,r,o,a,s,y,E,w;let L=u(),N=(0,d.w)(),P=!!L,{ref:k,as:M,children:C,startContent:F,endContent:S,autoFocus:R,className:H,spinner:A,isLoading:j=!1,disableRipple:W=!1,fullWidth:I=null!=(t=null==L?void 0:L.fullWidth)&&t,radius:K=null==L?void 0:L.radius,size:D=null!=(n=null==L?void 0:L.size)?n:"md",color:O=null!=(r=null==L?void 0:L.color)?r:"default",variant:B=null!=(o=null==L?void 0:L.variant)?o:"solid",disableAnimation:z=null!=(s=null!=(a=null==L?void 0:L.disableAnimation)?a:null==N?void 0:N.disableAnimation)&&s,isDisabled:U=null!=(y=null==L?void 0:L.isDisabled)&&y,isIconOnly:G=null!=(E=null==L?void 0:L.isIconOnly)&&E,spinnerPlacement:V="start",onPress:_,onClick:q,...X}=e,J=M||"button",Z="string"==typeof J,Y=(0,m.gy)(k),Q=null!=(w=W||(null==N?void 0:N.disableRipple))?w:z,{isFocusVisible:$,isFocused:ee,focusProps:et}=(0,f.F)({autoFocus:R}),en=U||j,er=(0,i.useMemo)(()=>(0,h.L)({size:D,color:O,variant:B,radius:K,fullWidth:I,isDisabled:en,isInGroup:P,disableAnimation:z,isIconOnly:G,className:H}),[D,O,B,K,I,en,P,G,z,H]),{onPress:eo,onClear:ei,ripples:ea}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[t,n]=(0,i.useState)([]),r=(0,i.useCallback)(e=>{let t=e.target,r=Math.max(t.clientWidth,t.clientHeight);n(t=>[...t,{key:(0,x.QI)(t.length.toString()),size:r,x:e.x-r/2,y:e.y-r/2}])},[]);return{ripples:t,onClear:(0,i.useCallback)(e=>{n(t=>t.filter(t=>t.key!==e))},[]),onPress:r,...e}}(),el=(0,i.useCallback)(e=>{Q||en||z||!Y.current||eo(e)},[Q,en,z,Y,eo]),{buttonProps:es,isPressed:eu}=(0,l.j)({elementType:M,isDisabled:en,onPress:(0,v.t)(_,el),onClick:q,...X},Y),{isHovered:ed,hoverProps:ec}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[a,l]=(0,i.useState)(!1),s=(0,i.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,i.useEffect)(T,[]);let{hoverProps:u,triggerHoverEnd:d}=(0,i.useMemo)(()=>{let e=(e,r)=>{if(s.pointerType=r,o||"touch"===r||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let i=e.currentTarget;s.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),l(!0)},i=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let o=e.currentTarget;r&&r({type:"hoverend",target:o,pointerType:t}),n&&n(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{b&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(a.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||b||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:a,triggerHoverEnd:i}},[t,n,r,o,s]);return(0,i.useEffect)(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:a}}({isDisabled:en}),ef=(0,i.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-disabled":(0,c.PB)(en),"data-focus":(0,c.PB)(ee),"data-pressed":(0,c.PB)(eu),"data-focus-visible":(0,c.PB)($),"data-hover":(0,c.PB)(ed),"data-loading":(0,c.PB)(j),...(0,p.d)(es,et,ec,(0,g.z)(X,{enabled:Z}),(0,g.z)(e))}},[j,en,ee,eu,Z,$,ed,es,et,ec,X]),ev=e=>(0,i.isValidElement)(e)?(0,i.cloneElement)(e,{"aria-hidden":!0,focusable:!1,tabIndex:-1}):null,ep=ev(F);return{Component:J,children:C,domRef:Y,spinner:A,styles:er,startContent:ep,endContent:ev(S),isLoading:j,spinnerPlacement:V,spinnerSize:(0,i.useMemo)(()=>({sm:"sm",md:"sm",lg:"md"})[D],[D]),disableRipple:Q,getButtonProps:ef,getRippleProps:(0,i.useCallback)(()=>({ripples:ea,onClear:ei}),[ea,ei]),isIconOnly:G}}({...e,ref:t});return(0,M.jsxs)(n,{ref:r,className:a,...C(),children:[w,P&&"start"===E&&y,P&&R?null:o,P&&"end"===E&&y,N,!k&&(0,M.jsx)(F,{...S()})]})});S.displayName="NextUI.Button";var R=e=>{var t;let{triggerRef:n,getTriggerProps:r}=(0,o.l)(),{children:s,...u}=e,d=(0,i.useMemo)(()=>"string"==typeof s?(0,M.jsx)("p",{children:s}):i.Children.only(s),[s]),c=null!=(t=d.props.ref)?t:d.ref,{onPress:f,isDisabled:v,...m}=(0,i.useMemo)(()=>r((0,p.d)(u,d.props),c),[r,d.props,u,c]),[,g]=(0,a.N)(s,S),{buttonProps:h}=(0,l.j)({onPress:f,isDisabled:v},n),b=(0,i.useMemo)(()=>(null==g?void 0:g[0])!==void 0,[g]);return(0,i.cloneElement)(d,(0,p.d)(m,b?{onPress:f,isDisabled:v}:h))};R.displayName="NextUI.PopoverTrigger";var H=e=>{let{getMenuTriggerProps:t}=(0,r.t)(),{children:n,...o}=e;return(0,M.jsx)(R,{...t(o),children:n})};H.displayName="NextUI.DropdownTrigger";var A=H},91017:function(e,t,n){n.d(t,{F:function(){return k}});var r=n(26645),o=n(2646),i=n(28396),a=n(4192),l=n(56041),s=n(21770),u=(0,l.tv)({base:["w-full","p-1","min-w-[200px]"]});(0,l.tv)({slots:{base:["flex","group","gap-2","items-center","justify-between","relative","px-2","py-1.5","w-full","h-full","box-border","rounded-small","outline-none","cursor-pointer","tap-highlight-transparent","data-[pressed=true]:opacity-70",...s.Dh,"data-[focus-visible=true]:dark:ring-offset-background-content1"],wrapper:"w-full flex flex-col items-start justify-center",title:"flex-1 text-small font-normal truncate",description:["w-full","text-tiny","text-foreground-500","group-hover:text-current"],selectedIcon:["text-inherit","w-3","h-3","flex-shrink-0"],shortcut:["px-1","py-0.5","rounded","font-sans","text-foreground-500","text-tiny","border-small","border-default-300","group-hover:border-current"]},variants:{variant:{solid:{base:""},bordered:{base:"border-medium border-transparent bg-transparent"},light:{base:"bg-transparent"},faded:{base:"border-small border-transparent hover:border-default data-[hover=true]:bg-default-100"},flat:{base:""},shadow:{base:"data-[hover=true]:shadow-lg"}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},isDisabled:{true:{base:"opacity-disabled pointer-events-none"}},disableAnimation:{true:{},false:{}}},defaultVariants:{variant:"solid",color:"default"},compoundVariants:[{variant:"solid",color:"default",class:{base:"data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"solid",color:"primary",class:{base:"data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"solid",color:"secondary",class:{base:"data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"solid",color:"success",class:{base:"data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"solid",color:"warning",class:{base:"data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"solid",color:"danger",class:{base:"data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"shadow",color:"default",class:{base:"data-[hover=true]:shadow-default/50 data-[hover=true]:bg-default data-[hover=true]:text-default-foreground"}},{variant:"shadow",color:"primary",class:{base:"data-[hover=true]:shadow-primary/30 data-[hover=true]:bg-primary data-[hover=true]:text-primary-foreground"}},{variant:"shadow",color:"secondary",class:{base:"data-[hover=true]:shadow-secondary/30 data-[hover=true]:bg-secondary data-[hover=true]:text-secondary-foreground"}},{variant:"shadow",color:"success",class:{base:"data-[hover=true]:shadow-success/30 data-[hover=true]:bg-success data-[hover=true]:text-success-foreground"}},{variant:"shadow",color:"warning",class:{base:"data-[hover=true]:shadow-warning/30 data-[hover=true]:bg-warning data-[hover=true]:text-warning-foreground"}},{variant:"shadow",color:"danger",class:{base:"data-[hover=true]:shadow-danger/30 data-[hover=true]:bg-danger data-[hover=true]:text-danger-foreground"}},{variant:"bordered",color:"default",class:{base:"data-[hover=true]:border-default"}},{variant:"bordered",color:"primary",class:{base:"data-[hover=true]:border-primary data-[hover=true]:text-primary"}},{variant:"bordered",color:"secondary",class:{base:"data-[hover=true]:border-secondary data-[hover=true]:text-secondary"}},{variant:"bordered",color:"success",class:{base:"data-[hover=true]:border-success data-[hover=true]:text-success"}},{variant:"bordered",color:"warning",class:{base:"data-[hover=true]:border-warning data-[hover=true]:text-warning"}},{variant:"bordered",color:"danger",class:{base:"data-[hover=true]:border-danger data-[hover=true]:text-danger"}},{variant:"flat",color:"default",class:{base:"data-[hover=true]:bg-default/40 data-[hover=true]:text-default-foreground"}},{variant:"flat",color:"primary",class:{base:"data-[hover=true]:bg-primary/20 data-[hover=true]:text-primary"}},{variant:"flat",color:"secondary",class:{base:"data-[hover=true]:bg-secondary/20 data-[hover=true]:text-secondary"}},{variant:"flat",color:"success",class:{base:"data-[hover=true]:bg-success/20 data-[hover=true]:text-success "}},{variant:"flat",color:"warning",class:{base:"data-[hover=true]:bg-warning/20 data-[hover=true]:text-warning"}},{variant:"flat",color:"danger",class:{base:"data-[hover=true]:bg-danger/20 data-[hover=true]:text-danger"}},{variant:"faded",color:"default",class:{base:"data-[hover=true]:text-default-foreground"}},{variant:"faded",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"faded",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"faded",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"faded",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"faded",color:"danger",class:{base:"data-[hover=true]:text-danger"}},{variant:"light",color:"default",class:{base:"data-[hover=true]:text-default-500"}},{variant:"light",color:"primary",class:{base:"data-[hover=true]:text-primary"}},{variant:"light",color:"secondary",class:{base:"data-[hover=true]:text-secondary"}},{variant:"light",color:"success",class:{base:"data-[hover=true]:text-success"}},{variant:"light",color:"warning",class:{base:"data-[hover=true]:text-warning"}},{variant:"light",color:"danger",class:{base:"data-[hover=true]:text-danger"}}]}),(0,l.tv)({slots:{base:"relative mb-2",heading:"pl-1 text-tiny text-foreground-500",group:"data-[has-title=true]:pt-1",divider:"mt-2"}}),(0,l.tv)({base:"w-full flex flex-col gap-0.5 p-1"});var d=n(46763),c=n(20427),f=n(1514),v=n(2265);"undefined"!=typeof window&&window.document&&window.document.createElement;let p=new Map;var m=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}
1else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r};function g(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=m(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=p.get(e);if(n)return n.forEach(e=>e(t)),t;let r=p.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}var h=(e,t)=>{if(e){let n=Array.isArray(e.children)?e.children:[...(null==e?void 0:e.items)||[]];if(n&&n.length)return n.find(e=>{if(e&&e.key===t)return e})||{}}return null},b=(e,t,n)=>{let r=n||h(e,t);return r&&r.props&&"closeOnSelect"in r.props?r.props.closeOnSelect:null==e?void 0:e.closeOnSelect},y=n(51885),E=n(20974),w=n(72243),T=n(52698),x=n(53458),L=n(57437),N=(0,w.Gp)((e,t)=>{let{children:n,...r}=e,o=(0,E.S)({...r,ref:t}),[i,a]=v.Children.toArray(n),l=(0,L.jsx)(T.aV,{portalContainer:o.portalContainer,children:a});return(0,L.jsxs)(y.H,{value:o,children:[i,o.disableAnimation&&o.isOpen?l:(0,L.jsx)(x.M,{children:o.isOpen?l:null})]})});N.displayName="NextUI.Popover";var P=e=>{let{children:t,...n}=e,l=function(e){var t;let n=(0,o.w)(),{as:r,triggerRef:l,isOpen:s,defaultOpen:p,onOpenChange:m,isDisabled:h,type:y="menu",trigger:E="press",placement:w="bottom",closeOnSelect:T=!0,shouldBlockScroll:x=!0,classNames:L,disableAnimation:N=null!=(t=null==n?void 0:n.disableAnimation)&&t,onClose:P,className:k,...M}=e,C=(0,v.useRef)(null),F=l||C,S=(0,v.useRef)(null),R=(0,v.useRef)(null),H=(0,i.W)({trigger:E,isOpen:s,defaultOpen:p,onOpenChange:e=>{null==m||m(e),e||null==P||P()}}),{menuTriggerProps:A,menuProps:j}=(0,a.u)({type:y,trigger:E,isDisabled:h},H,F),W=(0,v.useMemo)(()=>u({className:k}),[k]),I=e=>{(void 0===e||e)&&T&&H.close()};return{Component:r||"div",menuRef:S,menuProps:j,classNames:W,closeOnSelect:T,onClose:H.close,autoFocus:H.focusStrategy||!0,disableAnimation:N,getPopoverProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=g(M,e);return{state:H,placement:w,ref:R,disableAnimation:N,shouldBlockScroll:x,scrollRef:S,triggerRef:F,...t,classNames:{...L,...e.classNames,content:(0,d.W)(W,null==L?void 0:L.content,e.className)},shouldCloseOnInteractOutside:(null==t?void 0:t.shouldCloseOnInteractOutside)?t.shouldCloseOnInteractOutside:e=>(0,f.J)(e,C,H)}},getMenuProps:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{ref:(0,c.l)(t,S),menuProps:j,closeOnSelect:T,...g(e,{onAction:(t,n)=>{I(b(e,t,n))},onClose:H.close})}},getMenuTriggerProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{onPress:t,onPressStart:n,...r}=A;return g(r,{isDisabled:h},e)}}}(n),[s,p]=v.Children.toArray(t);return(0,L.jsx)(r.K,{value:l,children:(0,L.jsxs)(N,{...l.getPopoverProps(),children:[s,p]})})};P.displayName="NextUI.Dropdown";var k=P},42830:function(e,t,n){n.d(t,{a:function(){return tN}});var r=n(26645),o=n(51885),i=n(2265),a=n(67490),l=n(1701),s=n(50278),u=n(9330),d=n(455),c=n(19532),f=n(57437),v=()=>n.e(6796).then(n.bind(n,66796)).then(e=>e.default),p=e=>{let{as:t,children:n,className:r,...p}=e,{Component:m,placement:g,backdrop:h,motionProps:b,disableAnimation:y,getPopoverProps:E,getDialogProps:w,getBackdropProps:T,getContentProps:x,isNonModal:L,onClose:N}=(0,o.l)(),P=(0,i.useRef)(null),{dialogProps:k,titleProps:M}=(0,c.R)({},P),C=w({ref:P,...k,...p}),F=(0,f.jsxs)(f.Fragment,{children:[!L&&(0,f.jsx)(a.U,{onDismiss:N}),(0,f.jsx)(t||m||"div",{...C,children:(0,f.jsx)("div",{...x({className:r}),children:"function"==typeof n?n(M):n})}),(0,f.jsx)(a.U,{onDismiss:N})]}),S=(0,i.useMemo)(()=>"transparent"===h?null:y?(0,f.jsx)("div",{...T()}):(0,f.jsx)(s.X,{features:v,children:(0,f.jsx)(u.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:l.y7.fade,...T()})}),[h,y,T]),R=g?(0,d.VS)("center"===g?"top":g):void 0,H=(0,f.jsx)(f.Fragment,{children:y?F:(0,f.jsx)(s.X,{features:v,children:(0,f.jsx)(u.m.div,{animate:"enter",exit:"exit",initial:"initial",style:R,variants:l.y7.scaleSpringOpacity,...b,children:F})})});return(0,f.jsxs)("div",{...E(),children:[S,H]})};p.displayName="NextUI.PopoverContent";let m=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},g=e=>e&&"window"in e&&e.window===e?e:m(e).defaultView||window,h=new Map,b=new Set;function y(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let r=h.get(n.target);if(r&&(r.delete(n.propertyName),0===r.size&&(n.target.removeEventListener("transitioncancel",t),h.delete(n.target)),0===h.size)){for(let e of b)e();b.clear()}};document.body.addEventListener("transitionrun",n=>{if(!e(n)||!n.target)return;let r=h.get(n.target);r||(r=new Set,h.set(n.target,r),n.target.addEventListener("transitioncancel",t,{once:!0})),r.add(n.propertyName)}),document.body.addEventListener("transitionend",t)}function E(e){if(function(){if(null==w){w=!1;try{document.createElement("div").focus({get preventScroll(){return w=!0,!0}})}catch{}}return w}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}"undefined"!=typeof document&&("loading"!==document.readyState?y():document.addEventListener("DOMContentLoaded",y));let w=null;var T=n(45246);let x="undefined"!=typeof document?i.useLayoutEffect:()=>{},L=i.createContext(null),N="react-aria-focus-scope-restore",P=null;function k(e){var t,n,r;let o,a,{children:l,contain:s,restoreFocus:u,autoFocus:d}=e,c=(0,i.useRef)(null),f=(0,i.useRef)(null),v=(0,i.useRef)([]),{parentNode:p}=(0,i.useContext)(L)||{},g=(0,i.useMemo)(()=>new U({scopeRef:v}),[v]);x(()=>{let e=p||G.root;if(G.getTreeNode(e.scopeRef)&&P&&!j(P,e.scopeRef)){let t=G.getTreeNode(P);t&&(e=t)}e.addChild(g),G.addNode(g)},[g,p]),x(()=>{let e=G.getTreeNode(v);e&&(e.contain=!!s)},[s]),x(()=>{var e;let t=null===(e=c.current)||void 0===e?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==f.current;)n.push(t),t.addEventListener(N,r),t=t.nextSibling;return v.current=n,()=>{for(let e of n)e.removeEventListener(N,r)}},[l]),x(()=>
1{if(n||r)return;let e=t.current,o=m(e?e[0]:void 0),i=e=>{let n=e.target;H(n,t.current)?P=t:A(n)||(P=null)};return o.addEventListener("focusin",i,!1),null==e||e.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",i,!1))}},[t=v,n=u,r=s]),o=(0,i.useRef)(void 0),a=(0,i.useRef)(void 0),x(()=>{let e=v.current;if(!s){a.current&&(cancelAnimationFrame(a.current),a.current=void 0);return}let t=m(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!R(v)||e.isComposing)return;let n=t.activeElement,r=v.current;if(!r||!H(n,r))return;let o=B(S(r),{tabbable:!0},r);if(!n)return;o.currentNode=n;let i=e.shiftKey?o.previousNode():o.nextNode();i||(o.currentNode=e.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),i&&W(i,!0)},r=e=>{(!P||j(P,v))&&H(e.target,v.current)?(P=v,o.current=e.target):R(v)&&!A(e.target,v)?o.current?o.current.focus():P&&P.current&&K(P.current):R(v)&&(o.current=e.target)},i=e=>{a.current&&cancelAnimationFrame(a.current),a.current=requestAnimationFrame(()=>{if(t.activeElement&&R(v)&&!A(t.activeElement,v)){if(P=v,t.body.contains(e.target)){var n;o.current=e.target,null===(n=o.current)||void 0===n||n.focus()}else P.current&&K(P.current)}})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",r,!1),null==e||e.forEach(e=>e.addEventListener("focusin",r,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",i,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",r,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",r,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",i,!1))}},[v,s]),x(()=>()=>{a.current&&cancelAnimationFrame(a.current)},[a]),function(e,t,n){let r=(0,i.useRef)("undefined"!=typeof document?m(e.current?e.current[0]:void 0).activeElement:null);x(()=>{let r=e.current,o=m(r?r[0]:void 0);if(!t||n)return;let i=()=>{(!P||j(P,e))&&H(o.activeElement,e.current)&&(P=e)};return o.addEventListener("focusin",i,!1),null==r||r.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{o.removeEventListener("focusin",i,!1),null==r||r.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,n]),x(()=>{let r=m(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!R(e)||t.isComposing)return;let n=r.activeElement;if(!A(n,e)||!D(e))return;let o=G.getTreeNode(e);if(!o)return;let i=o.nodeToRestore,a=B(r.body,{tabbable:!0});a.currentNode=n;let l=t.shiftKey?a.previousNode():a.nextNode();if(i&&r.body.contains(i)&&i!==r.body||(i=void 0,o.nodeToRestore=void 0),(!l||!A(l,e))&&i){a.currentNode=i;do l=t.shiftKey?a.previousNode():a.nextNode();while(A(l,e));(t.preventDefault(),t.stopPropagation(),l)?W(l,!0):A(i)?W(i,!0):n.blur()}};return n||r.addEventListener("keydown",o,!0),()=>{n||r.removeEventListener("keydown",o,!0)}},[e,t,n]),x(()=>{var n;let o=m(e.current?e.current[0]:void 0);if(!t)return;let i=G.getTreeNode(e);if(i)return i.nodeToRestore=null!==(n=r.current)&&void 0!==n?n:void 0,()=>{let n=G.getTreeNode(e);if(!n)return;let r=n.nodeToRestore;if(t&&r&&(o.activeElement&&A(o.activeElement,e)||o.activeElement===o.body&&D(e))){let t=G.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected){O(n.nodeToRestore);return}n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&G.getTreeNode(n.scopeRef)){O(I(n.scopeRef.current,!0));return}n=n.parent}}})}}},[e,t])}(v,u,s),function(e,t){let n=i.useRef(t);(0,i.useEffect)(()=>{n.current&&(P=e,!H(m(e.current?e.current[0]:void 0).activeElement,P.current)&&e.current&&K(e.current)),n.current=!1},[e])}(v,d),(0,i.useEffect)(()=>{let e=m(v.current?v.current[0]:void 0).activeElement,t=null;if(H(e,v.current)){for(let n of G.traverse())n.scopeRef&&H(e,n.scopeRef.current)&&(t=n);t===G.getTreeNode(v)&&(P=t.scopeRef)}},[v]),x(()=>()=>{var e,t,n;let r=null!==(n=null===(t=G.getTreeNode(v))||void 0===t?void 0:null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;(v===P||j(v,P))&&(!r||G.getTreeNode(r))&&(P=r),G.removeTreeNode(v)},[v]);let h=(0,i.useMemo)(()=>({focusNext(e={}){let t=v.current,{from:n,tabbable:r,wrap:o,accept:i}=e,a=n||m(t[0]).activeElement,l=t[0].previousElementSibling,s=B(S(t),{tabbable:r,accept:i},t);s.currentNode=H(a,t)?a:l;let u=s.nextNode();return!u&&o&&(s.currentNode=l,u=s.nextNode()),u&&W(u,!0),u},focusPrevious(e={}){let t=v.current,{from:n,tabbable:r,wrap:o,accept:i}=e,a=n||m(t[0]).activeElement,l=t[t.length-1].nextElementSibling,s=B(S(t),{tabbable:r,accept:i},t);s.currentNode=H(a,t)?a:l;let u=s.previousNode();return!u&&o&&(s.currentNode=l,u=s.previousNode()),u&&W(u,!0),u},focusFirst(e={}){let t=v.current,{tabbable:n,accept:r}=e,o=B(S(t),{tabbable:n,accept:r},t);o.currentNode=t[0].previousElementSibling;let i=o.nextNode();return i&&W(i,!0),i},focusLast(e={}){let t=v.current,{tabbable:n,accept:r}=e,o=B(S(t),{tabbable:n,accept:r},t);o.currentNode=t[t.length-1].nextElementSibling;let i=o.previousNode();return i&&W(i,!0),i}}),[]),b=(0,i.useMemo)(()=>({focusManager:h,parentNode:g}),[g,h]);return i.createElement(L.Provider,{value:b},i.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),l,i.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:f}))}let M=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[contenteditable]"],C=M.join(":not([hidden]),")+",[tabindex]:not
1([disabled]):not([hidden])";M.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let F=M.join(':not([hidden]):not([tabindex="-1"]),');function S(e){return e[0].parentElement}function R(e){let t=G.getTreeNode(P);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function H(e,t){return!!e&&!!t&&t.some(t=>t.contains(e))}function A(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of G.traverse(G.getTreeNode(t)))if(n&&H(e,n.current))return!0;return!1}function j(e,t){var n;let r=null===(n=G.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function W(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{!function(e){let t=m(e);if("virtual"===(0,T.Jz)()){var n;let r=t.activeElement;n=()=>{t.activeElement===r&&e.isConnected&&E(e)},requestAnimationFrame(()=>{(function(){for(let[e]of h)"isConnected"in e&&!e.isConnected&&h.delete(e)})(),0===h.size?n():b.add(n)})}else E(e)}(e)}catch{}}function I(e,t=!0){let n=e[0].previousElementSibling,r=S(e),o=B(r,{tabbable:t},e);o.currentNode=n;let i=o.nextNode();return t&&!i&&((o=B(r=S(e),{tabbable:!1},e)).currentNode=n,i=o.nextNode()),i}function K(e,t=!0){W(I(e,t))}function D(e){let t=G.getTreeNode(P);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function O(e){e.dispatchEvent(new CustomEvent(N,{bubbles:!0,cancelable:!0}))&&W(e)}function B(e,t,n){let r=(null==t?void 0:t.tabbable)?F:C,o=m(e).createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;return(null==t?void 0:null===(o=t.from)||void 0===o?void 0:o.contains(e))?NodeFilter.FILTER_REJECT:e.matches(r)&&function e(t,n){return"#comment"!==t.nodeName&&function(e){let t=g(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,o="none"!==n&&"hidden"!==r&&"collapse"!==r;if(o){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:n,visibility:r}=t(e);o="none"!==n&&"hidden"!==r&&"collapse"!==r}return o}(t)&&!t.hasAttribute("hidden")&&!t.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==t.nodeName||!n||"SUMMARY"===n.nodeName||t.hasAttribute("open"))&&(!t.parentElement||e(t.parentElement,t))}(e)&&(!n||H(e,n))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return(null==t?void 0:t.from)&&(o.currentNode=t.from),o}class z{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new U({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&H(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach(e=>n&&n.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let n=new z;for(let r of this.traverse())n.addTreeNode(r.scopeRef,null!==(t=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==t?t:null,r.nodeToRestore);return n}constructor(){this.fastMap=new Map,this.root=new U({scopeRef:null}),this.fastMap.set(null,this.root)}}class U{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let G=new z;var V=n(72243);function _(e){let{isSelected:t,disableAnimation:n,...r}=e;return(0,f.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...r,children:(0,f.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:n?{}:{transition:"stroke-dashoffset 200ms ease"}})})}var q=n(89528),X=n(2646);let J="undefined"!=typeof document?i.useLayoutEffect:()=>{};function Z(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function Y(e){let t=(0,i.useRef)({isFocused:!1,observer:null});return J(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,i.useCallback)(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target;r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=Z(n);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();
1let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[e])}function Q(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function $(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function ee(e){let t=null;return()=>(null==t&&(t=e()),t)}let et=ee(function(){return $(/^Mac/i)}),en=ee(function(){return $(/^iPhone/i)}),er=ee(function(){return $(/^iPad/i)||et()&&navigator.maxTouchPoints>1}),eo=ee(function(){return en()||er()});ee(function(){return et()||eo()});let ei=ee(function(){return Q(/AppleWebKit/i)&&!ea()}),ea=ee(function(){return Q(/Chrome/i)}),el=ee(function(){return Q(/Android/i)}),es=ee(function(){return Q(/Firefox/i)}),eu=null;function ed(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;es()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(et()?i=!0:a=!0);let u=ei()&&et()&&!er()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,detail:1,bubbles:!0,cancelable:!0});ed.isOpening=n,function(e){if(function(){if(null==eu){eu=!1;try{document.createElement("div").focus({get preventScroll(){return eu=!0,!0}})}catch{}}return eu}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}(e),e.dispatchEvent(u),ed.isOpening=!1}ed.isOpening=!1;let ec=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},ef=e=>e&&"window"in e&&e.window===e?e:ec(e).defaultView||window,ev=null,ep=new Set,em=new Map,eg=!1,eh=!1,eb={Tab:!0,Escape:!0};function ey(e,t){for(let n of ep)n(e,t)}function eE(e){eg=!0,ed.isOpening||e.metaKey||!et()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(ev="keyboard",ey("keyboard",e))}function ew(e){ev="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(eg=!0,ey("pointer",e))}function eT(e){ed.isOpening||(""!==e.pointerType||!e.isTrusted)&&(el()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(eg=!0,ev="virtual")}function ex(e){e.target!==window&&e.target!==document&&e.isTrusted&&(eg||eh||(ev="virtual",ey("virtual",e)),eg=!1,eh=!1)}function eL(){eg=!1,eh=!0}function eN(e){if("undefined"==typeof window||"undefined"==typeof document||em.get(ef(e)))return;let t=ef(e),n=ec(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){eg=!0,r.apply(this,arguments)},n.addEventListener("keydown",eE,!0),n.addEventListener("keyup",eE,!0),n.addEventListener("click",eT,!0),t.addEventListener("focus",ex,!0),t.addEventListener("blur",eL,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",ew,!0),n.addEventListener("pointermove",ew,!0),n.addEventListener("pointerup",ew,!0)),t.addEventListener("beforeunload",()=>{eP(e)},{once:!0}),em.set(t,{focus:r})}let eP=(e,t)=>{let n=ef(e),r=ec(e);t&&r.removeEventListener("DOMContentLoaded",t),em.has(n)&&(n.HTMLElement.prototype.focus=em.get(n).focus,r.removeEventListener("keydown",eE,!0),r.removeEventListener("keyup",eE,!0),r.removeEventListener("click",eT,!0),n.removeEventListener("focus",ex,!0),n.removeEventListener("blur",eL,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",ew,!0),r.removeEventListener("pointermove",ew,!0),r.removeEventListener("pointerup",ew,!0)),em.delete(n))};function ek(){return"pointer"!==ev}"undefined"!=typeof document&&function(e){let t;let n=ec(void 0);"loading"!==n.readyState?eN(void 0):(t=()=>{eN(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>eP(e,t)}();let eM=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var eC=n(90952);let eF=(e=document)=>{var t;if(!(0,eC.Wr)())return e.activeElement;let n=e.activeElement;for(;n&&("shadowRoot"in n)&&(null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function eS(e){return(0,eC.Wr)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}var eR=n(45280),eH=n(2357),eA=n(46763),ej=n(97765),eW=n(94508),eI=n(82457),eK=n(8868);let eD=new WeakMap;var eO=n(18311),eB=n(40641),ez=n(98385),eU=n(67808),eG=n(11323),eV=n(48030),e_=n(83960),eq=n(19212);let eX=!1,eJ=0;function eZ(){eX=!0,setTimeout(()=>{eX=!1},50)}function eY(e){"touch"===e.pointerType&&eZ()}function eQ(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",eY):document.addEventListener("touchend",eZ),eJ++,()=>{--eJ>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",eY):document.removeEventListener("touchend",eZ))}}function e$(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function e0(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function e1(e){let t=null;return()=>(null==t&&(t=e()),t)}let e2=e1(function(){return e0(/^Mac/i)}),e5=e1(function(){return e0(/^iPhone/i)}),e6=e1(function(){return e0(/^iPad/i)||e2()&&navigator.maxTouchPoints>1}),e7=e1(function(){return e5()||e6()});e1(function(){return e2()||e7()}
1),e1(function(){return e$(/AppleWebKit/i)&&!e4()});let e4=e1(function(){return e$(/Chrome/i)}),e3=e1(function(){return e$(/Android/i)});e1(function(){return e$(/Firefox/i)});let e8=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},e9=e=>e&&"window"in e&&e.window===e?e:e8(e).defaultView||window,te=null,tt=new Set,tn=new Map,tr=!1,to=!1;function ti(e,t){for(let n of tt)n(e,t)}function ta(e){tr=!0,e.metaKey||!e2()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(te="keyboard",ti("keyboard",e))}function tl(e){te="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(tr=!0,ti("pointer",e))}function ts(e){(""===e.pointerType&&e.isTrusted||(e3()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(tr=!0,te="virtual")}function tu(e){e.target!==window&&e.target!==document&&(tr||to||(te="virtual",ti("virtual",e)),tr=!1,to=!1)}function td(){tr=!1,to=!0}function tc(e){if("undefined"==typeof window||tn.get(e9(e)))return;let t=e9(e),n=e8(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){tr=!0,r.apply(this,arguments)},n.addEventListener("keydown",ta,!0),n.addEventListener("keyup",ta,!0),n.addEventListener("click",ts,!0),t.addEventListener("focus",tu,!0),t.addEventListener("blur",td,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",tl,!0),n.addEventListener("pointermove",tl,!0),n.addEventListener("pointerup",tl,!0)):(n.addEventListener("mousedown",tl,!0),n.addEventListener("mousemove",tl,!0),n.addEventListener("mouseup",tl,!0)),t.addEventListener("beforeunload",()=>{tf(e)},{once:!0}),tn.set(t,{focus:r})}let tf=(e,t)=>{let n=e9(e),r=e8(e);t&&r.removeEventListener("DOMContentLoaded",t),tn.has(n)&&(n.HTMLElement.prototype.focus=tn.get(n).focus,r.removeEventListener("keydown",ta,!0),r.removeEventListener("keyup",ta,!0),r.removeEventListener("click",ts,!0),n.removeEventListener("focus",tu,!0),n.removeEventListener("blur",td,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",tl,!0),r.removeEventListener("pointermove",tl,!0),r.removeEventListener("pointerup",tl,!0)):(r.removeEventListener("mousedown",tl,!0),r.removeEventListener("mousemove",tl,!0),r.removeEventListener("mouseup",tl,!0)),tn.delete(n))};"undefined"!=typeof document&&function(e){let t;let n=e8(void 0);"loading"!==n.readyState?tc(void 0):(t=()=>{tc(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>tf(e,t)}(),"undefined"!=typeof window&&window.document&&window.document.createElement;let tv=new Map;var tp=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r};function tm(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],o=r[e];"function"==typeof n&&"function"==typeof o&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=function(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}(n,o):("className"===e||"UNSAFE_className"===e)&&"string"==typeof n&&"string"==typeof o?t[e]=tp(n,o):"id"===e&&n&&o?t.id=function(e,t){if(e===t)return e;let n=tv.get(e);if(n)return n.forEach(e=>e(t)),t;let r=tv.get(t);return r?(r.forEach(t=>t(e)),e):t}(n,o):t[e]=void 0!==o?o:n}}return t}var tg=n(41283),th=n(27246),tb=e=>{let{Component:t,slots:n,classNames:r,rendered:o,shortcut:a,description:l,isSelectable:s,isSelected:u,isDisabled:d,selectedIcon:c,startContent:v,endContent:p,disableAnimation:m,hideSelectedIcon:g,getItemProps:h,getLabelProps:b,getDescriptionProps:y,getKeyboardShortcutProps:E,getSelectedIconProps:w}=function(e){var t,n;let r=(0,X.w)(),[o,a]=(0,V.oe)(e,q.D9.variantKeys),{as:l,item:s,state:u,shortcut:d,description:c,startContent:f,endContent:v,isVirtualized:p,selectedIcon:m,className:g,classNames:h,onAction:b,autoFocus:y,onPress:E,onPressStart:w,onPressUp:x,onPressEnd:L,onPressChange:N,onHoverStart:P,onHoverChange:k,onHoverEnd:M,hideSelectedIcon:C=!1,isReadOnly:F=!1,closeOnSelect:S,onClose:R,onClick:H,...A}=o,j=null!=(n=null!=(t=e.disableAnimation)?t:null==r?void 0:r.disableAnimation)&&n,W=(0,i.useRef)(null),I=l||((null==A?void 0:A.href)?"a":"li"),K="string"==typeof I,{rendered:D,key:O}=s,B=u.disabledKeys.has(O)||e.isDisabled,z="none"!==u.selectionManager.selectionMode,U=(0,tg.d)(),{isFocusVisible:G,focusProps:_}=function(e={}){var t,n,r;let{autoFocus:o=!1,isTextInput:a,within:l}=e,s=(0,i.useRef)({isFocused:!1,isFocusVisible:o||ek()}),[u,d]=(0,i.useState)(!1),[c,f]=(0,i.useState)(()=>s.current.isFocused&&s.current.isFocusVisible),v=(0,i.useCallback)(()=>f(s.current.isFocused&&s.current.isFocusVisible),[]),p=(0,i.useCallback)(e=>{s.current.isFocused=e,d(e),v()},[v]);t=e=>{s.current.isFocusVisible=e,v()},n=[],r={isTextInput:a},eN(),(0,i.useEffect)(()=>
1{let e=(e,n)=>{(function(e,t,n){let r=ec(null==n?void 0:n.target),o="undefined"!=typeof window?ef(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?ef(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?ef(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?ef(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||r.activeElement instanceof o&&!eM.has(r.activeElement.type)||r.activeElement instanceof i||r.activeElement instanceof a&&r.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof l&&!eb[n.key])})(!!(null==r?void 0:r.isTextInput),e,n)&&t(ek())};return ep.add(e),()=>{ep.delete(e)}},n);let{focusProps:m}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,a=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),l=Y(a),s=(0,i.useCallback)(e=>{let t=ec(e.target),r=t?eF(t):eF();e.target===e.currentTarget&&r===eS(e.nativeEvent)&&(n&&n(e),o&&o(!0),l(e))},[o,n,l]);return{focusProps:{onFocus:!t&&(n||o||r)?s:void 0,onBlur:!t&&(r||o)?a:void 0}}}({isDisabled:l,onFocusChange:p}),{focusWithinProps:g}=function(e){let t,n,r,o,{isDisabled:a,onBlurWithin:l,onFocusWithin:s,onFocusWithinChange:u}=e,d=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:c,removeAllGlobalListeners:f}=(t=(0,i.useRef)(new Map),n=(0,i.useCallback)((e,n,r,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:o}),e.addEventListener(n,i,o)},[]),r=(0,i.useCallback)((e,n,r,o)=>{var i;let a=(null===(i=t.current.get(r))||void 0===i?void 0:i.fn)||r;e.removeEventListener(n,a,o),t.current.delete(r)},[]),o=(0,i.useCallback)(()=>{t.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]),(0,i.useEffect)(()=>o,[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}),v=(0,i.useCallback)(e=>{e.currentTarget.contains(e.target)&&d.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(d.current.isFocusWithin=!1,f(),l&&l(e),u&&u(!1))},[l,u,d,f]),p=Y(v),m=(0,i.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=ec(e.target),n=eF(t);if(!d.current.isFocusWithin&&n===eS(e.nativeEvent)){s&&s(e),u&&u(!0),d.current.isFocusWithin=!0,p(e);let n=e.currentTarget;c(t,"focus",e=>{if(d.current.isFocusWithin&&!function(e,t){if(!(0,eC.Wr)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){var r;if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:null!==(r=n)&&"object"==typeof r&&"nodeType"in r&&"number"==typeof r.nodeType&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in r?n.host:n.parentNode}return!1}(n,e.target)){let r=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(r,"target",{value:n}),Object.defineProperty(r,"currentTarget",{value:n}),v(Z(r))}},{capture:!0})}},[s,u,p,c,v]);return a?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:v}}}({isDisabled:!l,onFocusWithinChange:p});return{isFocused:u,isFocusVisible:c,focusProps:l?g:m}}({autoFocus:y});H&&"function"==typeof H&&(0,eR.Z)("onClick is deprecated, please use onPress instead. See: https://github.com/nextui-org/nextui/issues/4292","MenuItem");let{isPressed:J,isFocused:Q,isSelected:$,isDisabled:ee,menuItemProps:et,labelProps:en,descriptionProps:er,keyboardShortcutProps:eo}=function(e,t,n){var r,o;let{id:i,key:a,closeOnSelect:l,isVirtualized:s,"aria-haspopup":u,onPressStart:d,onPressUp:c,onPress:f,onPressChange:v,onPressEnd:p,onHoverStart:m,onHoverChange:g,onHoverEnd:h,onKeyDown:b,onKeyUp:y,onFocus:E,onFocusChange:w,onBlur:x,selectionManager:L=t.selectionManager}=e,N=!!u,P=N&&"true"===e["aria-expanded"],k=null!==(r=e.isDisabled)&&void 0!==r?r:L.isDisabled(a),M=null!==(o=e.isSelected)&&void 0!==o?o:L.isSelected(a),C=eD.get(t),F=t.collection.getItem(a),S=e.onClose||C.onClose,R=(0,eO.tv)(),H=t=>{var n;!N&&((null==F?void 0:null===(n=F.props)||void 0===n?void 0:n.onAction)?F.props.onAction():e.onAction&&e.onAction(a),C.onAction&&(0,C.onAction)(a),t.target instanceof HTMLAnchorElement&&F&&R.open(t.target,t,F.props.href,F.props.routerOptions))},A="menuitem";N||("single"===L.selectionMode?A="menuitemradio":"multiple"!==L.selectionMode||(A="menuitemcheckbox"));let j=(0,eB.mp)(),W=(0,eB.mp)(),I=(0,eB.mp)(),K={id:i,"aria-disabled":k||void 0,role:A,"aria-label":e["aria-label"],"aria-labelledby":j,"aria-describedby":[W,I].filter(
1Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":u,"aria-expanded":e["aria-expanded"]};"none"===L.selectionMode||N||(K["aria-checked"]=M),s&&(K["aria-posinset"]=null==F?void 0:F.index,K["aria-setsize"]=(0,ez.i)(t.collection));let{itemProps:D,isFocused:O}=(0,eq.C)({selectionManager:L,key:a,ref:n,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none"}),{pressProps:B,isPressed:z}=(0,eU.r)({onPressStart:e=>{"keyboard"===e.pointerType&&H(e),null==d||d(e)},onPress:f,onPressUp:e=>{"keyboard"!==e.pointerType&&(H(e),!N&&S&&(null!=l?l:"multiple"!==L.selectionMode||L.isLink(a))&&S()),null==c||c(e)},onPressChange:v,onPressEnd:p,isDisabled:k}),{hoverProps:U}=(0,eG.X)({isDisabled:k,onHoverStart(e){(0,T.E)()||P&&"dialog"===u||(L.setFocused(!0),L.setFocusedKey(a)),null==m||m(e)},onHoverChange:g,onHoverEnd:h}),{keyboardProps:G}=(0,eV.v)({onKeyDown:e=>{if(e.repeat){e.continuePropagation();return}switch(e.key){case" ":k||"none"!==L.selectionMode||N||!1===l||!S||S();break;case"Enter":k||!1===l||N||!S||S();break;default:N||e.continuePropagation(),null==b||b(e)}},onKeyUp:y}),{focusProps:V}=(0,e_.K)({onBlur:x,onFocus:E,onFocusChange:w}),_=(0,eW.z)(null==F?void 0:F.props);delete _.id;let q=(0,eO.eY)(null==F?void 0:F.props);return{menuItemProps:{...K,...(0,eI.d)(_,q,N?{onFocus:D.onFocus,"data-key":D["data-key"]}:D,B,U,G,V),tabIndex:null!=D.tabIndex&&P?-1:D.tabIndex},labelProps:{id:j},descriptionProps:{id:W},keyboardShortcutProps:{id:I},isFocused:O,isSelected:M,isPressed:z,isDisabled:k}}({key:O,onClose:R,isDisabled:B,onPress:(0,i.useCallback)(e=>{null==H||H(e),null==E||E(e)},[H,E]),onPressStart:w,onPressUp:x,onPressEnd:L,onPressChange:N,"aria-label":o["aria-label"],closeOnSelect:S,isVirtualized:p,onAction:b},u,W),{hoverProps:ei,isHovered:ea}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[a,l]=(0,i.useState)(!1),s=(0,i.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,i.useEffect)(eQ,[]);let{hoverProps:u,triggerHoverEnd:d}=(0,i.useMemo)(()=>{let e=(e,r)=>{if(s.pointerType=r,o||"touch"===r||s.isHovered||!e.currentTarget.contains(e.target))return;s.isHovered=!0;let i=e.currentTarget;s.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),l(!0)},i=(e,t)=>{if(s.pointerType="",s.target=null,"touch"===t||!s.isHovered)return;s.isHovered=!1;let o=e.currentTarget;r&&r({type:"hoverend",target:o,pointerType:t}),n&&n(!1),l(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{eX&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(a.onTouchStart=()=>{s.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{s.ignoreEmulatedMouseEvents||eX||e(t,"mouse"),s.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:a,triggerHoverEnd:i}},[t,n,r,o,s]);return(0,i.useEffect)(()=>{o&&d({currentTarget:s.target},s.pointerType)},[o]),{hoverProps:u,isHovered:a}}({isDisabled:ee,onHoverStart(e){"pointer"!==te||(u.selectionManager.setFocused(!0),u.selectionManager.setFocusedKey(O)),null==P||P(e)},onHoverChange:k,onHoverEnd:M}),el=et,es=(0,i.useMemo)(()=>(0,q.D9)({...a,isDisabled:ee,disableAnimation:j,hasTitleTextChild:"string"==typeof D,hasDescriptionTextChild:"string"==typeof c}),[(0,eH.Xx)(a),ee,j,D,c]),eu=(0,eA.W)(null==h?void 0:h.base,g);F&&(el=(0,eH.Os)(el));let ed=(0,i.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"aria-hidden":(0,ej.PB)(!0),"data-disabled":(0,ej.PB)(ee),className:es.selectedIcon({class:null==h?void 0:h.selectedIcon}),...e}},[ee,es,h]);return{Component:I,domRef:W,slots:es,classNames:h,isSelectable:z,isSelected:$,isDisabled:ee,rendered:D,shortcut:d,description:c,startContent:f,endContent:v,selectedIcon:m,disableAnimation:j,getItemProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:W,...tm(F?{}:_,(0,th.z)(A,{enabled:K}),el,ei,e),"data-focus":(0,ej.PB)(Q),"data-selectable":(0,ej.PB)(z),"data-hover":(0,ej.PB)(U?ea||J:ea),"data-disabled":(0,ej.PB)(ee),"data-selected":(0,ej.PB)($),"data-pressed":(0,ej.PB)(J),"data-focus-visible":(0,ej.PB)(G),
1className:es.base({class:(0,eA.W)(eu,e.className)})}},getLabelProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...tm(en,e),className:es.title({class:null==h?void 0:h.title})}},hideSelectedIcon:C,getDescriptionProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...tm(er,e),className:es.description({class:null==h?void 0:h.description})}},getKeyboardShortcutProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...tm(eo,e),className:es.shortcut({class:null==h?void 0:h.shortcut})}},getSelectedIconProps:ed}}(e),x=(0,i.useMemo)(()=>{let e=(0,f.jsx)(_,{disableAnimation:m,isSelected:u});return"function"==typeof c?c({icon:e,isSelected:u,isDisabled:d}):c||e},[c,u,d,m]);return(0,f.jsxs)(t,{...h(),children:[v,l?(0,f.jsxs)("div",{className:n.wrapper({class:null==r?void 0:r.wrapper}),children:[(0,f.jsx)("span",{...b(),children:o}),(0,f.jsx)("span",{...y(),children:l})]}):(0,f.jsx)("span",{...b(),children:o}),a&&(0,f.jsx)("kbd",{...E(),children:a}),s&&!g&&(0,f.jsx)("span",{...w(),children:x}),p]})};tb.displayName="NextUI.MenuItem";var ty=n(65455),tE=(0,V.Gp)((e,t)=>{let{item:n,state:r,as:o,variant:a,color:l,disableAnimation:s,onAction:u,closeOnSelect:d,className:c,classNames:v,showDivider:p=!1,hideSelectedIcon:m,dividerProps:g={},itemClasses:h,title:b,...y}=e,E=(0,i.useMemo)(()=>(0,q.Dk)(),[]),w=(0,eA.W)(null==v?void 0:v.base,c),T=(0,eA.W)(null==v?void 0:v.divider,null==g?void 0:g.className),{itemProps:x,headingProps:L,groupProps:N}=function(e){let{heading:t,"aria-label":n}=e,r=(0,eB.Me)();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}({heading:n.rendered,"aria-label":n["aria-label"]});return(0,f.jsxs)(o||"li",{"data-slot":"base",...tm(x,y),className:E.base({class:w}),children:[n.rendered&&(0,f.jsx)("span",{...L,className:E.heading({class:null==v?void 0:v.heading}),"data-slot":"heading",children:n.rendered}),(0,f.jsxs)("ul",{...N,className:E.group({class:null==v?void 0:v.group}),"data-has-title":!!n.rendered,"data-slot":"group",children:[[...n.childNodes].map(e=>{let{key:t,props:n}=e,o=(0,f.jsx)(tb,{classNames:h,closeOnSelect:d,color:l,disableAnimation:s,hideSelectedIcon:m,item:e,state:r,variant:a,onAction:u,...n},t);return e.wrapper&&(o=e.wrapper(o)),o}),p&&(0,f.jsx)(ty.j,{as:"li",className:E.divider({class:T}),...g})]})]})});tE.displayName="NextUI.MenuSection";var tw=n(92202),tT=n(88160),tx=(e,t)=>e||t?Array.from(new Set([...Object.keys(e||{}),...Object.keys(t||{})])).reduce((n,r)=>({...n,[r]:(0,eA.W)(null==e?void 0:e[r],null==t?void 0:t[r])}),{}):{},tL=(0,V.Gp)(function(e,t){let{Component:n,state:r,closeOnSelect:o,color:a,disableAnimation:l,hideSelectedIcon:s,hideEmptyContent:u,variant:d,onClose:c,topContent:v,bottomContent:p,itemClasses:m,getBaseProps:g,getListProps:h,getEmptyContentProps:b}=function(e){var t;let n=(0,X.w)(),{as:r,ref:o,variant:a,color:l,children:s,disableAnimation:u=null!=(t=null==n?void 0:n.disableAnimation)&&t,onAction:d,closeOnSelect:c,itemClasses:f,className:v,state:p,topContent:m,bottomContent:g,hideEmptyContent:h=!1,hideSelectedIcon:b=!1,emptyContent:y="No items.",menuProps:E,onClose:w,classNames:T,...x}=e,L=r||"ul",N=(0,tT.gy)(o),P="string"==typeof L,k=(0,tw.D)({...x,...E,children:s}),M=p||k,{menuProps:C}=function(e,t,n){let{shouldFocusWrap:r=!0,onKeyDown:o,onKeyUp:i,...a}=e;e["aria-label"]||e["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let l=(0,eW.z)(e,{labelable:!0}),{listProps:s}=(0,eK._)({...a,ref:n,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:r,linkBehavior:"override"});return eD.set(t,{onClose:e.onClose,onAction:e.onAction}),{menuProps:(0,eI.d)(l,{onKeyDown:o,onKeyUp:i},{role:"menu",...s,onKeyDown:e=>{var t;"Escape"!==e.key&&(null===(t=s.onKeyDown)||void 0===t||t.call(s,e))}})}}({...x,...E,onAction:d},M,N),F=(0,i.useMemo)(()=>(0,q.GI)({className:v}),[v]),S=(0,eA.W)(null==T?void 0:T.base,v);
1return{Component:L,state:M,variant:a,color:l,disableAnimation:u,onClose:w,topContent:m,bottomContent:g,closeOnSelect:c,className:v,itemClasses:f,getBaseProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:N,"data-slot":"base",className:F.base({class:S}),...(0,th.z)(x,{enabled:P}),...e}},getListProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{"data-slot":"list",className:F.list({class:null==T?void 0:T.list}),...C,...e}},hideEmptyContent:h,hideSelectedIcon:b,getEmptyContentProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{children:y,className:F.emptyContent({class:null==T?void 0:T.emptyContent}),...e}}}}({...e,ref:t}),y=(0,f.jsxs)(n,{...h(),children:[!r.collection.size&&!u&&(0,f.jsx)("li",{children:(0,f.jsx)("div",{...b()})}),[...r.collection].map(e=>{let t={closeOnSelect:o,color:a,disableAnimation:l,item:e,state:r,variant:d,onClose:c,hideSelectedIcon:s,...e.props},n=tx(m,null==t?void 0:t.classNames);if("section"===e.type)return(0,f.jsx)(tE,{...t,itemClasses:n},e.key);let i=(0,f.jsx)(tb,{...t,classNames:n},e.key);return e.wrapper&&(i=e.wrapper(i)),i})]});return(0,f.jsxs)("div",{...g(),children:[v,y,p]})}),tN=(0,V.Gp)(function(e,t){let{getMenuProps:n}=(0,r.t)();return(0,f.jsx)(p,{children:(0,f.jsx)(k,{contain:!0,restoreFocus:!0,children:(0,f.jsx)(tL,{...n(e,t)})})})})},26645:function(e,t,n){n.d(t,{K:function(){return r},t:function(){return o}});var[r,o]=(0,n(40280).k)({name:"DropdownContext",errorMessage:"useDropdownContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Dropdown />`"})},60898:function(e,t,n){n.d(t,{J:function(){return p}});var r=n(2265),o=n(2646),i=n(72243),a=(0,n(56041).tv)({slots:{wrapper:"relative shadow-black/5",zoomedWrapper:"relative overflow-hidden rounded-inherit",img:"relative z-10 opacity-0 shadow-black/5 data-[loaded=true]:opacity-100",blurredImg:["absolute","z-0","inset-0","w-full","h-full","object-cover","filter","blur-lg","scale-105","saturate-150","opacity-30","translate-y-1"]},variants:{radius:{none:{},sm:{},md:{},lg:{},full:{}},shadow:{none:{wrapper:"shadow-none",img:"shadow-none"},sm:{wrapper:"shadow-small",img:"shadow-small"},md:{wrapper:"shadow-medium",img:"shadow-medium"},lg:{wrapper:"shadow-large",img:"shadow-large"}},isZoomed:{true:{img:["object-cover","transform","hover:scale-125"]}},showSkeleton:{true:{wrapper:["group","relative","overflow-hidden","bg-content3 dark:bg-content2"],img:"opacity-0"}},disableAnimation:{true:{img:"transition-none"},false:{img:"transition-transform-opacity motion-reduce:transition-none !duration-300"}}},defaultVariants:{radius:"lg",shadow:"none",isZoomed:!1,isBlurred:!1,showSkeleton:!1},compoundVariants:[{showSkeleton:!0,disableAnimation:!1,class:{wrapper:["before:opacity-100","before:absolute","before:inset-0","before:-translate-x-full","before:animate-[shimmer_2s_infinite]","before:border-t","before:border-content4/30","before:bg-gradient-to-r","before:from-transparent","before:via-content4","dark:before:via-default-700/10","before:to-transparent","after:opacity-100","after:absolute","after:inset-0","after:-z-10","after:bg-content3","dark:after:bg-content2"]}}],compoundSlots:[{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"none",class:"rounded-none"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"full",class:"rounded-full"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"sm",class:"rounded-small"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"md",class:"rounded-md"},{slots:["wrapper","img","blurredImg","zoomedWrapper"],radius:"lg",class:"rounded-large"}]}),l=n(88160),s=n(2357),u=n(46763),d=n(97765),c=n(41681),f=n(57437),v=(0,i.Gp)((e,t)=>{let{Component:n,domRef:v,slots:p,classNames:m,isBlurred:g,isZoomed:h,fallbackSrc:b,removeWrapper:y,disableSkeleton:E,getImgProps:w,getWrapperProps:T,getBlurredImgProps:x}=function(e){var t,n;let f=(0,o.w)(),[v,p]=(0,i.oe)(e,a.variantKeys),{ref:m,as:g,src:h,className:b,classNames:y,loading:E,isBlurred:w,fallbackSrc:T,isLoading:x,disableSkeleton:L=!!T,removeWrapper:N=!1,onError:P,onLoad:k,srcSet:M,sizes:C,crossOrigin:F,...S}=v,R=function(e={}){let{onLoad:t,onError:n,ignoreFallback:o}=e,i=r.useSyncExternalStore(()=>()=>{},()=>!0,()=>!1),a=(0,r.useRef)(i?new Image:null),[l,s]=(0,r.useState)("pending");(0,r.useEffect)(()=>{a.current&&(a.current.onload=e=>{u(),s("loaded"),null==t||t(e)},a.current.onerror=e=>{u(),s("failed"),null==n||n(e)})},[a.current]);let u=()=>{a.current&&(a.current.onload=null,a.current.onerror=null,a.current=null)};return(0,c.G)(()=>{i&&s(function(e,t){let{loading:n,src:r,srcSet:o,crossOrigin:i,sizes:a,ignoreFallback:l}=e;if(!r)return"pending";if(l)return"loaded";let s=new Image;return(s.src=r,i&&(s.crossOrigin=i),o&&(s.srcset=o),a&&(s.sizes=a),n&&(s.loading=n),t.current=s,s.complete&&s.naturalWi
1dth)?"loaded":"loading"}(e,a))},[i]),o?"loaded":l}({src:h,loading:E,onError:P,onLoad:k,ignoreFallback:!1,srcSet:M,sizes:C,crossOrigin:F}),H=null!=(n=null!=(t=e.disableAnimation)?t:null==f?void 0:f.disableAnimation)&&n,A="loaded"===R&&!x,j="loading"===R||x,W=e.isZoomed,I=(0,l.gy)(m),{w:K,h:D}=(0,r.useMemo)(()=>({w:v.width?"number"==typeof v.width?"".concat(v.width,"px"):v.width:"fit-content",h:v.height?"number"==typeof v.height?"".concat(v.height,"px"):v.height:"auto"}),[null==v?void 0:v.width,null==v?void 0:v.height]),O=(!h||!A)&&!!T,B=j&&!L,z=(0,r.useMemo)(()=>a({...p,disableAnimation:H,showSkeleton:B}),[(0,s.Xx)(p),H,B]),U=(0,u.W)(b,null==y?void 0:y.img),G=(0,r.useCallback)(()=>{let e=O?{backgroundImage:"url(".concat(T,")")}:{};return{className:z.wrapper({class:null==y?void 0:y.wrapper}),style:{...e,maxWidth:K}}},[z,O,T,null==y?void 0:y.wrapper,K]),V=(0,r.useCallback)(()=>({src:h,"aria-hidden":(0,d.PB)(!0),className:z.blurredImg({class:null==y?void 0:y.blurredImg})}),[z,h,null==y?void 0:y.blurredImg]);return{Component:g||"img",domRef:I,slots:z,classNames:y,isBlurred:w,disableSkeleton:L,fallbackSrc:T,removeWrapper:N,isZoomed:W,isLoading:j,getImgProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,u.W)(U,null==e?void 0:e.className);return{src:h,ref:I,"data-loaded":(0,d.PB)(A),className:z.img({class:t}),loading:E,srcSet:M,sizes:C,crossOrigin:F,...S,style:{...(null==S?void 0:S.height)&&{height:D},...e.style,...S.style}}},getWrapperProps:G,getBlurredImgProps:V}}({...e,ref:t}),L=(0,f.jsx)(n,{ref:v,...w()});if(y)return L;let N=(0,f.jsx)("div",{className:p.zoomedWrapper({class:null==m?void 0:m.zoomedWrapper}),children:L});return g?(0,f.jsxs)("div",{...T(),children:[h?N:L,(0,r.cloneElement)(L,x())]}):h||!E||b?(0,f.jsxs)("div",{...T(),children:[" ",h?N:L]}):L});v.displayName="NextUI.Image";var p=v},17032:function(e,t,n){n.d(t,{W:function(){return r}});var r=n(14076).c},43398:function(e,t,n){n.d(t,{k:function(){return d}});var r=n(55564),o=n(72243),i=n(88160),a=n(46763),l=n(97765),s=n(57437),u=(0,o.Gp)((e,t)=>{var n;let{as:o,className:u,children:d,isActive:c,...f}=e,v=(0,i.gy)(t),{slots:p,classNames:m}=(0,r.q)(),g=(0,a.W)(null==m?void 0:m.item,u);return(0,s.jsx)(o||"li",{ref:v,className:null==(n=p.item)?void 0:n.call(p,{class:g}),"data-active":(0,l.PB)(c),...f,children:d})});u.displayName="NextUI.NavbarItem";var d=u},16769:function(e,t,n){n.d(t,{L:function(){return ei}});var r,o=n(55564),i=n(97185),a=n(62319),l=n(82457),s=n(72243),u=n(88160),d=n(46763),c=n(97765),f=n(2265);let v="undefined"!=typeof document?null!==(r=f.useInsertionEffect)&&void 0!==r?r:f.useLayoutEffect:()=>{},p="undefined"!=typeof document?f.useLayoutEffect:()=>{};function m(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function g(e){let t=(0,f.useRef)({isFocused:!1,observer:null});return p(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,f.useCallback)(n=>{if(n.target instanceof HTMLButtonElement||n.target instanceof HTMLInputElement||n.target instanceof HTMLTextAreaElement||n.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=n.target;r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=m(n);null==e||e(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}},[e])}function h(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function b(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function y(e){let t=null;return()=>(null==t&&(t=e()),t)}let E=y(function(){return b(/^Mac/i)}),w=y(function(){return b(/^iPhone/i)}),T=y(function(){return b(/^iPad/i)||E()&&navigator.maxTouchPoints>1}),x=y(function(){return w()||T()});y(function(){return E()||x()});
1let L=y(function(){return h(/AppleWebKit/i)&&!N()}),N=y(function(){return h(/Chrome/i)}),P=y(function(){return h(/Android/i)}),k=y(function(){return h(/Firefox/i)}),M=null;function C(e,t,n=!0){var r,o;let{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}=t;k()&&(null===(o=window.event)||void 0===o?void 0:null===(r=o.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&(E()?i=!0:a=!0);let u=L()&&E()&&!T()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:a,altKey:l,shiftKey:s}):new MouseEvent("click",{metaKey:i,ctrlKey:a,altKey:l,shiftKey:s,detail:1,bubbles:!0,cancelable:!0});C.isOpening=n,function(e){if(function(){if(null==M){M=!1;try{document.createElement("div").focus({get preventScroll(){return M=!0,!0}})}catch{}}return M}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}(e),e.dispatchEvent(u),C.isOpening=!1}C.isOpening=!1;let F=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},S=e=>e&&"window"in e&&e.window===e?e:F(e).defaultView||window,R=null,H=new Set,A=new Map,j=!1,W=!1,I={Tab:!0,Escape:!0};function K(e,t){for(let n of H)n(e,t)}function D(e){j=!0,C.isOpening||e.metaKey||!E()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(R="keyboard",K("keyboard",e))}function O(e){R="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(j=!0,K("pointer",e))}function B(e){C.isOpening||(""!==e.pointerType||!e.isTrusted)&&(P()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(j=!0,R="virtual")}function z(e){e.target!==window&&e.target!==document&&e.isTrusted&&(j||W||(R="virtual",K("virtual",e)),j=!1,W=!1)}function U(){j=!1,W=!0}function G(e){if("undefined"==typeof window||"undefined"==typeof document||A.get(S(e)))return;let t=S(e),n=F(e),r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){j=!0,r.apply(this,arguments)},n.addEventListener("keydown",D,!0),n.addEventListener("keyup",D,!0),n.addEventListener("click",B,!0),t.addEventListener("focus",z,!0),t.addEventListener("blur",U,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",O,!0),n.addEventListener("pointermove",O,!0),n.addEventListener("pointerup",O,!0)),t.addEventListener("beforeunload",()=>{V(e)},{once:!0}),A.set(t,{focus:r})}let V=(e,t)=>{let n=S(e),r=F(e);t&&r.removeEventListener("DOMContentLoaded",t),A.has(n)&&(n.HTMLElement.prototype.focus=A.get(n).focus,r.removeEventListener("keydown",D,!0),r.removeEventListener("keyup",D,!0),r.removeEventListener("click",B,!0),n.removeEventListener("focus",z,!0),n.removeEventListener("blur",U,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",O,!0),r.removeEventListener("pointermove",O,!0),r.removeEventListener("pointerup",O,!0)),A.delete(n))};function _(){return"pointer"!==R}"undefined"!=typeof document&&function(e){let t;let n=F(void 0);"loading"!==n.readyState?G(void 0):(t=()=>{G(void 0)},n.addEventListener("DOMContentLoaded",t)),()=>V(e,t)}();let q=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var X=n(90952);let J=(e=document)=>{var t;if(!(0,X.Wr)())return e.activeElement;let n=e.activeElement;for(;n&&("shadowRoot"in n)&&(null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function Z(e){return(0,X.Wr)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}var Y=n(1070);let Q=!1,$=0;function ee(){Q=!0,setTimeout(()=>{Q=!1},50)}function et(e){"touch"===e.pointerType&&ee()}function en(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",et):document.addEventListener("touchend",ee),$++,()=>{--$>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",et):document.removeEventListener("touchend",ee))}}var er=n(57437),eo=(0,s.Gp)((e,t)=>{var n;let{as:r,icon:s,className:p,onChange:h,autoFocus:b,srOnlyText:y,...E}=e,w=(0,u.gy)(t),{slots:T,classNames:x,isMenuOpen:L,setIsMenuOpen:N}=(0,o.q)(),P=function(e={}){let{isReadOnly:t}=e,[n,r]=function(e,t,n){let[r,o]=(0,f.useState)(e||t),i=(0,f.useRef)(r),a=(0,f.useRef)(void 0!==e),l=void 0!==e;(0,f.useEffect)(()=>{a.current,a.current=l},[l]);let s=l?e:r;v(()=>{i.current=s});let[,u]=(0,f.useReducer)(()=>({}),{});return[s,(0,f.useCallback)((e,...t)=>{let r="function"==typeof e?e(i.current):e;Object.is(i.current,r)||(i.current=r,o(r),u(),null==n||n(r,...t))},[n])]}(e.isSelected,e.defaultSelected||!1,e.onChange);return{isSelected:n,setSelected:function(e){t||r(e)},toggle:function(){t||r(!n)}}}({...E,isSelected:L,onChange:e=>{null==h||h(e),N(e)}}),{buttonProps:k,isPressed:M}=function(e,t,n){let{isSelected:r}=t,{isPressed:o,buttonProps:s}=(0,i.U)({...e,onPress:(0,a.t)(t.toggle,e.onPress)},n);return{isPressed:o,isSelected:r,isDisabled:e.isDisabled||!1,buttonProps:(0,l.d)(s,{"aria-pressed":r})}}(e,P,w),{isFocusVisible:C,focusProps:R}=function(e={}){var t,n,r;let{autoFocus:o=!1,isTextInput:i,within:a}=e,l=(0,f.useRef)({isFocused:!1,isFocusVisible:o||_()}),[s,u]=(0,f.useState)(!1),[d,c]=(0,f.useState)(()=>l.current.isFocused&&l.current.isFocusVisible),v=(0,f.useCallback)(()=>c(l.current.isFocused&&l.current.isFocusVisible),[]),p=(0,f.useCallback)(e=>{l.current.isFocused=e,u(e),v()},[v]);t=e=>{l.current.isFocusVisible=e,v()},n=[],r={isTextInput:i},G(),(0,f.useEffect)(()=>
1{let e=(e,n)=>{(function(e,t,n){let r=F(null==n?void 0:n.target),o="undefined"!=typeof window?S(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?S(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?S(null==n?void 0:n.target).HTMLElement:HTMLElement,l="undefined"!=typeof window?S(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||r.activeElement instanceof o&&!q.has(r.activeElement.type)||r.activeElement instanceof i||r.activeElement instanceof a&&r.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof l&&!I[n.key])})(!!(null==r?void 0:r.isTextInput),e,n)&&t(_())};return H.add(e),()=>{H.delete(e)}},n);let{focusProps:h}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e,i=(0,f.useCallback)(e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0},[r,o]),a=g(i),l=(0,f.useCallback)(e=>{let t=F(e.target),r=t?J(t):J();e.target===e.currentTarget&&r===Z(e.nativeEvent)&&(n&&n(e),o&&o(!0),a(e))},[o,n,a]);return{focusProps:{onFocus:!t&&(n||o||r)?l:void 0,onBlur:!t&&(r||o)?i:void 0}}}({isDisabled:a,onFocusChange:p}),{focusWithinProps:b}=function(e){let t,n,r,o,{isDisabled:i,onBlurWithin:a,onFocusWithin:l,onFocusWithinChange:s}=e,u=(0,f.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:c}=(t=(0,f.useRef)(new Map),n=(0,f.useCallback)((e,n,r,o)=>{let i=(null==o?void 0:o.once)?(...e)=>{t.current.delete(r),r(...e)}:r;t.current.set(r,{type:n,eventTarget:e,fn:i,options:o}),e.addEventListener(n,i,o)},[]),r=(0,f.useCallback)((e,n,r,o)=>{var i;let a=(null===(i=t.current.get(r))||void 0===i?void 0:i.fn)||r;e.removeEventListener(n,a,o),t.current.delete(r)},[]),o=(0,f.useCallback)(()=>{t.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]),(0,f.useEffect)(()=>o,[o]),{addGlobalListener:n,removeGlobalListener:r,removeAllGlobalListeners:o}),v=(0,f.useCallback)(e=>{e.currentTarget.contains(e.target)&&u.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(u.current.isFocusWithin=!1,c(),a&&a(e),s&&s(!1))},[a,s,u,c]),p=g(v),h=(0,f.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=F(e.target),n=J(t);if(!u.current.isFocusWithin&&n===Z(e.nativeEvent)){l&&l(e),s&&s(!0),u.current.isFocusWithin=!0,p(e);let n=e.currentTarget;d(t,"focus",e=>{if(u.current.isFocusWithin&&!function(e,t){if(!(0,X.Wr)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){var r;if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:null!==(r=n)&&"object"==typeof r&&"nodeType"in r&&"number"==typeof r.nodeType&&r.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in r?n.host:n.parentNode}return!1}(n,e.target)){let r=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(r,"target",{value:n}),Object.defineProperty(r,"currentTarget",{value:n}),v(m(r))}},{capture:!0})}},[l,s,p,d,v]);return i?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:h,onBlur:v}}}({isDisabled:!a,onFocusWithinChange:p});return{isFocused:s,isFocusVisible:d,focusProps:a?b:h}}({autoFocus:b}),{isHovered:A,hoverProps:j}=function(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:o}=e,[i,a]=(0,f.useState)(!1),l=(0,f.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,f.useEffect)(en,[]);let{hoverProps:s,triggerHoverEnd:u}=(0,f.useMemo)(()=>{let e=(e,r)=>{if(l.pointerType=r,o||"touch"===r||l.isHovered||!e.currentTarget.contains(e.target))return;l.isHovered=!0;let i=e.currentTarget;l.target=i,t&&t({type:"hoverstart",target:i,pointerType:r}),n&&n(!0),a(!0)},i=(e,t)=>{if(l.pointerType="",l.target=null,"touch"===t||!l.isHovered)return;l.isHovered=!1;let o=e.currentTarget;r&&r({type:"hoverend",target:o,pointerType:t}),n&&n(!1),a(!1)},s={};return"undefined"!=typeof PointerEvent?(s.onPointerEnter=t=>{Q&&"mouse"===t.pointerType||e(t,t.pointerType)},s.onPointerLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,e.pointerType)}):(s.onTouchStart=()=>{l.ignoreEmulatedMouseEvents=!0},s.onMouseEnter=t=>{l.ignoreEmulatedMouseEvents||Q||e(t,"mouse"),l.ignoreEmulatedMouseEvents=!1},s.onMouseLeave=e=>{!o&&e.currentTarget.contains(e.target)&&i(e,"mouse")}),{hoverProps:s,triggerHoverEnd:i}},[t,n,r,o,l]);return(0,f.useEffect)(()=>{o&&u({currentTarget:l.target},l.pointerType)},[o]),{hoverProps:s,isHovered:i}}({}),W=(0,d.W)(null==x?void 0:x.toggle,p),K=(0,f.useMemo)(()=>"function"==typeof s?s(null!=L&&L):s||(0,er.jsx)("span",{className:T.toggleIcon({class:null==x?void 0:x.toggleIcon})}
1),[s,L,T.toggleIcon,null==x?void 0:x.toggleIcon]),D=(0,f.useMemo)(()=>y||(P.isSelected?"close navigation menu":"open navigation menu"),[y,L]);return(0,er.jsxs)(r||"button",{ref:w,className:null==(n=T.toggle)?void 0:n.call(T,{class:W}),"data-focus-visible":(0,c.PB)(C),"data-hover":(0,c.PB)(A),"data-open":(0,c.PB)(L),"data-pressed":(0,c.PB)(M),...(0,Y.d)(k,R,j,E),children:[(0,er.jsx)("span",{className:T.srOnly(),children:D}),K]})});eo.displayName="NextUI.NavbarMenuToggle";var ei=eo},93597:function(e,t,n){n.d(t,{h:function(){return d}});var r=n(55564),o=n(72243),i=n(88160),a=n(46763),l=n(97765),s=n(57437),u=(0,o.Gp)((e,t)=>{var n;let{className:o,children:u,isActive:d,...c}=e,f=(0,i.gy)(t),{slots:v,isMenuOpen:p,classNames:m}=(0,r.q)(),g=(0,a.W)(null==m?void 0:m.menuItem,o);return(0,s.jsx)("li",{ref:f,className:null==(n=v.menuItem)?void 0:n.call(v,{class:g}),"data-active":(0,l.PB)(d),"data-open":(0,l.PB)(p),...c,children:u})});u.displayName="NextUI.NavbarMenuItem";var d=u},31314:function(e,t,n){n.d(t,{H:function(){return u}});var r=n(55564),o=n(72243),i=n(88160),a=n(46763),l=n(57437),s=(0,o.Gp)((e,t)=>{var n;let{as:o,className:s,children:u,...d}=e,c=(0,i.gy)(t),{slots:f,classNames:v}=(0,r.q)(),p=(0,a.W)(null==v?void 0:v.brand,s);return(0,l.jsx)(o||"div",{ref:c,className:null==(n=f.brand)?void 0:n.call(f,{class:p}),...d,children:u})});s.displayName="NextUI.NavbarBrand";var u=s},51885:function(e,t,n){n.d(t,{H:function(){return r},l:function(){return o}});var[r,o]=(0,n(40280).k)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"})}}]);

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.