PageSourceSearch

https://dashboard.walletconnect.com/_next/static/chunks/54da3e5340…?dpl=dpl_EgJGHjQUmctv7XAr75wjdPBN8F3g

js walletconnect.com collected 2026-09-24 17:11:54 UTC 132,811 bytes, 10 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="9eaf2717-b18c-9d1b-43bc-8d854d1b62d9")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62812,487620,e=>{"use strict";var t=e.i(102235),n=e.i(108658);let r=new Map([["bold",t.createElement(t.Fragment,null,t.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",t.createElement(t.Fragment,null,t.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),t.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",t.createElement(t.Fragment,null,t.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",t.createElement(t.Fragment,null,t.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",t.createElement(t.Fragment,null,t.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",t.createElement(t.Fragment,null,t.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]);e.s(["default",()=>r],487620);let i=t.forwardRef((e,i)=>t.createElement(n.default,{ref:i,...e,weights:r}));i.displayName="XIcon",e.s(["X",()=>i,"XIcon",()=>i],62812)},816039,e=>{"use strict";var t=e.i(463004),n=e.i(102235);let r=(0,n.createContext)({}),i=(0,n.forwardRef)(function(e,i){[e,i]=(0,t.useContextProps)(e,i,r);let{elementType:l="span",...o}=e,s=t.dom[l];return n.default.createElement(s,{className:"react-aria-Text",...o,ref:i})});e.s(["Text",()=>i,"TextContext",()=>r])},39643,24123,e=>{"use strict";e.s(["CLEAR_FOCUS_EVENT",()=>"react-aria-clear-focus","FOCUS_EVENT",()=>"react-aria-focus"],39643);var t=e.i(331746),n=e.i(99339);function r(e){let t=o((0,n.getOwnerDocument)(e));t!==e&&(t&&i(t,e),e&&l(e,t))}function i(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function l(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function o(e){let n=(0,t.getActiveElement)(e),r=n?.getAttribute("aria-activedescendant");return r&&e.getElementById(r)||n}e.s(["dispatchVirtualBlur",()=>i,"dispatchVirtualFocus",()=>l,"getVirtuallyFocusedElement",()=>o,"moveVirtualFocus",()=>r],24123)},599662,e=>{"use strict";var t={};t={"ar-AE":{collectionLabel:`\u{645}\u{642}\u{62A}\u{631}\u{62D}\u{627}\u{62A}`},"bg-BG":{collectionLabel:`\u{41F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`},"cs-CZ":{collectionLabel:`N\xe1vrhy`},"da-DK":{collectionLabel:"Forslag"},"de-DE":{collectionLabel:"Empfehlungen"},"el-GR":{collectionLabel:`\u{3A0}\u{3C1}\u{3BF}\u{3C4}\u{3AC}\u{3C3}\u{3B5}\u{3B9}\u{3C2}`},"en-US":{collectionLabel:"Suggestions"},"es-ES":{collectionLabel:"Sugerencias"},"et-EE":{collectionLabel:"Soovitused"},"fi-FI":{collectionLabel:"Ehdotukset"},"fr-FR":{collectionLabel:"Suggestions"},"he-IL":{collectionLabel:`\u{5D4}\u{5E6}\u{5E2}\u{5D5}\u{5EA}`},"hr-HR":{collectionLabel:"Prijedlozi"},"hu-HU":{collectionLabel:"Javaslatok"},"it-IT":{collectionLabel:"Suggerimenti"},"ja-JP":{collectionLabel:`\u{5019}\u{88DC}`},"ko-KR":{collectionLabel:`\u{C81C}\u{C548}`},"lt-LT":{collectionLabel:`Pasi\u{16B}lymai`},"lv-LV":{collectionLabel:"Ieteikumi"},"nb-NO":{collectionLabel:"Forslag"},"nl-NL":{collectionLabel:"Suggesties"},"pl-PL":{collectionLabel:"Sugestie"},"pt-BR":{collectionLabel:`Sugest\xf5es`},"pt-PT":{collectionLabel:`Sugest\xf5es`},"ro-RO":{collectionLabel:"Sugestii"},"ru-RU":{collectionLabel:`\u{41F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`},"sk-SK":{collectionLabel:`N\xe1vrhy`},"sl-SI":{collectionLabel:"Predlogi"},"sr-SP":{collectionLabel:"Predlozi"},"sv-SE":{collectionLabel:`F\xf6rslag`},"tr-TR":{collectionLabel:`\xd6neriler`},"uk-UA":{collectionLabel:`\u{41F}\u{440}\u{43E}\u{43F}\u{43E}\u{437}\u{438}\u{446}\u{456}\u{457}`},"zh-CN":{collectionLabel:`\u{5EFA}\u{8BAE}`},"zh-TW":{collectionLabel:`\u{5EFA}\u{8B70}`}},e.s(["default",()=>t],599662)},898823,e=>{"use strict";var t=e.i(330288);function n(e){return(0,t.isMac)()?e.metaKey:e.ctrlKey}let r=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function i(e){return e instanceof HTMLInputElement&&!r.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}e.s(["isCtrlKeyPressed",()=>n,"willOpenKeyboard",()=>i])},328544,e=>{"use strict";var t=e.i(310933),n=e.i(102235);function r(e,r,i,l){let o=(0,t.useEffectEvent)(i),s=null==i;(0,n.useEffect)(()=>
2{if(s||!e.current)return;let t=e.current;return t.addEventListener(r,o,l),()=>{t.removeEventListener(r,o,l)}},[e,r,l,s])}e.s(["useEvent",()=>r])},658469,e=>{"use strict";let t;var n=e.i(574411);let r=Symbol.for("react-aria.i18n.locale"),i=Symbol.for("react-aria.i18n.strings");class l{constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){var r;if(t[e])return t[e];let i=(r=e,Intl.Locale?new Intl.Locale(r).language:r.split("-")[0]);if(t[i])return t[i];for(let e in t)if(e.startsWith(i+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let n=window[r];if(void 0===t){let e=window[i];if(!e)return null;for(let r in t={},e)t[r]=new l({[n]:e[r]},n)}let o=t?.[e];if(!o)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return o}}let o=new Map,s=new Map;class u{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let r=t["="+e];if(r)return"function"==typeof r?r():r;let i=this.locale+":"+n,l=o.get(i);return l||(l=new Intl.PluralRules(this.locale,{type:n}),o.set(i,l)),"function"==typeof(r=t[l.select(e)]||t.other)?r():r}number(e){let t=s.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),s.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}}var a=e.i(102235);let c=new WeakMap;function d(e,t){let r,{locale:i}=(0,n.useLocale)(),o=t&&l.getGlobalDictionaryForPackage(t)||((r=c.get(e))||(r=new l(e),c.set(e,r)),r);return(0,a.useMemo)(()=>new u(i,o),[i,o])}e.s(["useLocalizedStringFormatter",()=>d],658469)},852498,e=>{"use strict";e.i(463004),e.i(39643),e.i(24123),e.i(331746),e.i(44468),e.i(99339),e.i(599662),e.i(330288),e.i(898823),e.i(750303),e.i(174716),e.i(310933),e.i(328544),e.i(325936),e.i(446564),e.i(338951),e.i(658469),e.i(452142);var t=e.i(102235);e.i(79796);let n=(0,t.createContext)(null),r=(0,t.createContext)(null);e.s(["FieldInputContext",()=>r,"SelectableCollectionContext",()=>n],852498)},767497,e=>{"use strict";var t=e.i(463004),n=e.i(251919),r=e.i(102235);let i=(0,r.createContext)({placement:"bottom"}),l=(0,r.forwardRef)(function(e,l){[e,l]=(0,t.useContextProps)(e,l,i);let o=e.placement,s={position:"absolute",transform:"top"===o||"bottom"===o?"translateX(-50%)":"translateY(-50%)"};null!=o&&(s[o]="100%");let u=(0,t.useRenderProps)({...e,defaultClassName:"react-aria-OverlayArrow",values:{placement:o}});u.style&&Object.keys(u.style).forEach(e=>void 0===u.style[e]&&delete u.style[e]);let a=(0,n.filterDOMProps)(e);return r.default.createElement(t.dom.div,{...a,...u,style:{...s,...u.style},ref:l,"data-placement":o})});e.s(["OverlayArrow",()=>l,"OverlayArrowContext",()=>i])},175672,624715,271062,e=>{"use strict";var t=e.i(330288),n=e.i(331746),r=e.i(901472);let i={top:"top",bottom:"top",left:"left",right:"left"},l={top:"bottom",bottom:"top",left:"right",right:"left"},o={top:"left",left:"top"},s={top:"height",left:"width"},u={width:"totalWidth",height:"totalHeight"},a={};function c(e,n){let r=0,i=0,l=0,o=0,s=0,u=0,a={},c=(n?.scale??1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let t=document.documentElement;l=t.clientWidth,o=t.clientHeight,r=n?.width??l,i=n?.height??o,a.top=t.scrollTop||e.scrollTop,a.left=t.scrollLeft||e.scrollLeft,n&&(s=n.offsetTop,u=n.offsetLeft)}else({width:r,height:i,top:s,left:u}=y(e,!1)),a.top=e.scrollTop,a.left=e.scrollLeft,l=r,o=i;return(0,t.isWebKit)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&c&&(a.top=0,a.left=0,s=n?.pageTop??0,u=n?.pageLeft??0),{width:r,height:i,totalWidth:l,totalHeight:o,scroll:a,top:s,left:u}}function d(e,t,n,r,l,o,u){let a=l.scroll[e]??0,c=r[s[e]],d=u[e]+r.scroll[i[e]]+o,f=u[e]+r.scroll[i[e]]+c-o,h=t-a+r.scroll[i[e]]+u[e]-r[i[e]],p=t-a+n+r.scroll[i[e]]+u[e]-r[i[e]];return h<d?d-h:p>f?Math.max(f-p,d-h):0}function f(e){if(a[e])return a[e];let[t,n]=e.split(" "),r=i[t]||"right",l=o[r];i[n]||(n="center");let u=s[r],c=s[l];return a[e]={placement:t,crossPlacement:n,axis:r,crossAxis:l,size:u,crossSize:c},a[e]}function h(e,t,n,i,o,s,a,c,d,f,h){let{placement:p,crossPlacement:g,axis:y,crossAxis:m,size:v,crossSize:b}=i,C={};C[m]=e[m]??0,"center"===g?C[m]+=((e[b]??0)-(n[b]??0))/2:g!==m&&(C[m]+=(e[b]??0)-(n[b]??0)),C[m]+=s;let E=e[m]-n[b]+d+f,S=e[m]+e[b]-d-f;if(C[m]=(0,r.clamp)(C[m],E,S),p===y){let t=c?h[v]:h[u[v]];C[l[y]]=Math.floor(t-e[y]+o)}else C[y]=Math.floor(e[y]+e[v]+o);return C}function p(e,t,n,r,i,o,s,u){let{placement:a,axis:c,size:d}=o;return a===c?Math.max(0,n[c]-(s.scroll[c]??0)-(e[c]+(u?t[c]:0))-(r[c]??0)-r[l[c]]-i):Math.max(0,e[d]+e[c]+(u?t[c]:0)-n[c]-n[d]+(s.scroll[c]??0)-(r[c]??0)-r[l[c]]-i)}function g(e,t){let{top:n,left:r,width:i,height:l}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,l=e.offsetHeight),{top:n,left:r,width:i,height:l}}function y(e,t){let{top:n,left:r,width:i,height:l}=g(e,t),{scrollTop:o,scrollLeft:s,clientTop:u,clientLeft:a}=document.documentElement;return{top:n+o-u,left:r+s-a,width:i,height:l}}function m(e,t,n){let r,i=window.getComputedStyle(e);
2if("fixed"===i.position)r=g(e,n);else{r=y(e,n);let i=y(t,n),l=window.getComputedStyle(t);i.top+=(parseInt(l.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(l.borderLeftWidth,10)||0)-t.scrollLeft,r.top-=i.top,r.left-=i.left}return r.top-=parseInt(i.marginTop,10)||0,r.left-=parseInt(i.marginLeft,10)||0,r}function v(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var b=e.i(102235);let C=new WeakMap;function E(e){let{triggerRef:t,isOpen:r,onClose:i}=e;(0,b.useEffect)(()=>{if(!r||null===i)return;let e=e=>{let r=(0,n.getEventTarget)(e);if(!t.current||r instanceof Node&&!(0,n.nodeContains)(r,t.current)||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement)return;let l=i||C.get(t.current);l&&l()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[r,i,t])}e.s(["onCloseMap",()=>C,"useCloseOnScroll",()=>E],624715);var S=e.i(338951),x=e.i(574411),w=e.i(310933);function K(e){let{ref:t,box:n,onResize:r}=e,i=(0,w.useEffectEvent)(r);(0,b.useEffect)(()=>{let e=t?.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&i()});return t.observe(e,{box:n}),()=>{e&&t.unobserve(e)}}},[t,n])}e.s(["useResizeObserver",()=>K],271062);let P="undefined"!=typeof document?window.visualViewport:null;function k(e){var t;let{direction:o}=(0,x.useLocale)(),{arrowSize:s,targetRef:a,overlayRef:C,arrowRef:w,scrollRef:k=C,placement:D="bottom",containerPadding:N=12,shouldFlip:T=!0,boundaryElement:M="undefined"!=typeof document?document.body:null,offset:R=0,crossOffset:L=0,shouldUpdatePosition:F=!0,isOpen:A=!0,onClose:I,maxHeight:O,arrowBoundaryOffset:B=0}=e,[H,_]=(0,b.useState)(null),z=[F,D,C.current,a.current,w?.current,k.current,N,T,M,R,L,A,o,O,B,s],V=(0,b.useRef)(P?.scale);(0,b.useEffect)(()=>{A&&(V.current=P?.scale)},[A]);let W=(0,b.useCallback)(()=>{var e;if(!1===F||!A||!C.current||!a.current||!M||P?.scale!==V.current)return;let t=null;if(k.current&&(0,n.isFocusWithin)(k.current)){let e=(0,n.getActiveElement)()?.getBoundingClientRect(),r=k.current.getBoundingClientRect();(t={type:"top",offset:(e?.top??0)-r.top}).offset>r.height/2&&(t.type="bottom",t.offset=(e?.bottom??0)-r.bottom)}let b=C.current;!O&&C.current&&(b.style.top="0px",b.style.bottom="",b.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let E=function(e){let t,o,{placement:s,targetNode:a,overlayNode:b,scrollNode:C,padding:E,shouldFlip:S,boundaryElement:x,offset:w,crossOffset:K,maxHeight:P,arrowSize:k=0,arrowBoundaryOffset:D=0}=e,N="undefined"!=typeof document?window.visualViewport:null,T=b instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!v(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!v(t);)t=t.parentElement;return t||document.documentElement}(b):document.documentElement,M=T===document.documentElement,R=window.getComputedStyle(T).position,L=M?y(a,!1):m(a,T,!1);if(!M){let{marginTop:e,marginLeft:t}=window.getComputedStyle(a);L.top+=parseInt(e,10)||0,L.left+=parseInt(t,10)||0}let F=y(b,!0),A={top:parseInt((t=window.getComputedStyle(b)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};F.width+=(A.left??0)+(A.right??0),F.height+=(A.top??0)+(A.bottom??0),C.scrollTop,C.scrollLeft,C.scrollWidth,C.scrollHeight;let I=c(x,N),O=c(T,N);if("BODY"!==x.tagName&&"HTML"!==x.tagName||M)o=("BODY"===x.tagName||"HTML"===x.tagName)&&M?{top:0,left:0,width:0,height:0}:m(x,T,!1);else{let e=g(T,!1);o={top:-(e.top-I.top),left:-(e.left-I.left),width:0,height:0}}return function(e,t,n,o,s,a,c,g,y,m,v,b,C,E,S,x,w,K){var P,k,D;let N,T,M,R=f(e),{size:L,crossAxis:F,crossSize:A,placement:I,crossPlacement:O}=R,B=h(t,g,n,R,v,b,m,C,S,x,y),H=v,_=p(g,m,t,s,a+v,R,y,w);if(c&&n[L]>_){let e=f(`${l[I]} ${O}`),r=h(t,g,n,e,v,b,m,C,S,x,y);p(g,m,t,s,a+v,e,y,w)>_&&(R=e,B=r,H=v)}let z="bottom";"top"===R.axis?"top"===R.placement?z="top":"bottom"===R.placement&&(z="bottom"):"top"===R.crossAxis&&("top"===R.crossPlacement?z="bottom":"bottom"===R.crossPlacement&&(z="top"));let V=d(F,B[F],n[A],g,y,a,m);B[F]+=V;let W=(P=B,k=n.height,D=z,N=(null!=P.top?P.top:y[u.height]-(P.bottom??0)-k)-(y.scroll.top??0),T=w?m.top:0,M={top:Math.max(g.top+T,(K?.offsetTop??g.top)+T),bottom:Math.min(g.top+g.height+T,(K?.offsetTop??0)+(K?.height??0))},"top"!==D?Math.max(0,M.bottom-N-((s.top??0)+(s.bottom??0)+a)):Math.max(0,N+k-M.top-((s.top??0)+(s.bottom??0)+a)));E&&E<W&&(W=E),n.height=Math.min(n.height,W),V=d(F,(B=h(t,g,n,R,H,b,m,C,S,x,y))[F],n[A],g,y,a,m),B[F]+=V;let U={},j=t[F]-B[F]-s[i[F]],$=j+.5*t[A],q=S/2+x,G="left"===i[F]?(s.left??0)+(s.right??0):(s.top??0)+(s.bottom??0),Z=n[A]-G-S/2-x,J=t[F]+S/2-(B[F]+s[i[F]]),Y=t[F]+t[A]-S/2-(B[F]+s[i[F]]),X=(0,r.clamp)($,J,Y);U[F]=(0,r.clamp)(X,q,Z),({placement:I,crossPlacement:O}=R),S?j=U[F]:"right"===O?j+=t[A]:"center"===O&&(j+=t[A]/2);let Q="left"===I||"top"===I?n[L]:0,ee={x:"top"===I||"bottom"===I?j:Q,y:"left"===I||"right"===I?j:Q};return{position:B,maxHeight:W,arrowOffsetLeft:U.left,arrowOffsetTop:U.top,placement:I,triggerAnchorPoint:ee}}(s,L,F,0,A,E,S,I,O,o,w,K,!!R&&"static"!==R,P,k,D,(0,n.nodeContains)(x,T),N)}({placement:(e=D,"rtl"===o?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")),overlayNode:C.current,targetNode:a.current,scrollNode:k.current||C.current,padding:N,shouldFlip:T,boundaryElement:M,offset:R,crossOffset:L,maxHeight:O,arrowSize:s??(w?.current?g(w.current,!0).width:0),arrowBoundaryOffset:B});if(!E.position)return;b.style.top="",b.style.bottom="",b.style.left="",b.style.right="",Object.keys(E.position).forEac
2h(e=>b.style[e]=E.position[e]+"px"),b.style.maxHeight=null!=E.maxHeight?E.maxHeight+"px":"";let S=(0,n.getActiveElement)();if(t&&S&&k.current){let e=S.getBoundingClientRect(),n=k.current.getBoundingClientRect(),r=e[t.type]-n[t.type];k.current.scrollTop+=r-t.offset}_(E)},z);(0,S.useLayoutEffect)(W,z),t=W,(0,S.useLayoutEffect)(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t]),K({ref:C,onResize:W}),K({ref:a,onResize:W});let U=(0,b.useRef)(!1);(0,S.useLayoutEffect)(()=>{let e,t=()=>{U.current=!0,clearTimeout(e),e=setTimeout(()=>{U.current=!1},500),W()},n=()=>{U.current&&t()};return P?.addEventListener("resize",t),P?.addEventListener("scroll",n),()=>{P?.removeEventListener("resize",t),P?.removeEventListener("scroll",n)}},[W]);let j=(0,b.useCallback)(()=>{U.current||I?.()},[I,U]);return E({triggerRef:a,isOpen:A,onClose:I&&j}),{overlayProps:{style:{position:H?"absolute":"fixed",top:H?void 0:0,left:H?void 0:0,zIndex:1e5,...H?.position,maxHeight:H?.maxHeight??"100vh"}},placement:H?.placement??null,triggerAnchorPoint:H?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:H?.arrowOffsetLeft,top:H?.arrowOffsetTop}},updatePosition:W}}e.s(["useOverlayPosition",()=>k],175672)},983823,e=>{"use strict";var t=e.i(102235);let n=(0,t.createContext)({});function r(){return(0,t.useContext)(n)??{}}e.s(["useUNSAFE_PortalContext",()=>r])},355960,e=>{"use strict";var t=e.i(79796),n=e.i(102235);function r(e){let[r,i]=(0,t.useControlledState)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),l=(0,n.useCallback)(()=>{i(!0)},[i]),o=(0,n.useCallback)(()=>{i(!1)},[i]),s=(0,n.useCallback)(()=>{i(!r)},[i,r]);return{isOpen:r,setOpen:i,open:l,close:o,toggle:s}}e.s(["useOverlayTriggerState",()=>r])},481808,e=>{"use strict";var t=e.i(338951),n=e.i(489118),r=e.i(102235);function i(e,n=!0){let[l,s]=(0,r.useState)(!0),u=l&&n;return(0,t.useLayoutEffect)(()=>{if(u&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,u]),o(e,u,(0,r.useCallback)(()=>s(!1),[])),u}function l(e,t){let[n,i]=(0,r.useState)(t?"open":"closed");switch(n){case"open":t||i("exiting");break;case"closed":case"exiting":t&&i("open")}let l="exiting"===n;return o(e,l,(0,r.useCallback)(()=>{i(e=>"exiting"===e?"closed":e)},[])),l}function o(e,r,i){(0,t.useLayoutEffect)(()=>{if(r&&e.current){if(!("getAnimations"in e.current))return void i();let t=e.current.getAnimations();if(0===t.length)return void i();let r=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{r||(0,n.flushSync)(()=>{i()})}),()=>{r=!0}}},[e,r,i])}e.s(["useEnterAnimation",()=>i,"useExitAnimation",()=>l])},3876,e=>{"use strict";var t=e.i(463004),n=e.i(102235);let r=(0,n.createContext)({}),i=(0,n.forwardRef)(function(e,i){[e,i]=(0,t.useContextProps)(e,i,r);let{children:l,level:o=3,className:s,...u}=e,a=t.dom[`h${o}`];return n.default.createElement(a,{...u,ref:i,className:s??"react-aria-Heading"},l)});e.s(["Heading",()=>i,"HeadingContext",()=>r])},849810,e=>{"use strict";var t=e.i(331746),n=e.i(930092);class r{constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.shadowRoot;if(t){let e=this._doc.createTreeWalker(t,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(this.filter?.acceptNode)return this.filter.acceptNode(e);else if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=r??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const i=t.shadowRoot;if(i){const e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}get currentNode(){return this._currentNode}set currentNode(e){if(!(0,t.nodeContains)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let n=[],r=e,i=e;for(this._currentNode=e;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=r,t=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});n.push(t),t.currentNode=i,this._currentSetFor.add(t),r=i=e.host}else r=r.parentNode;let l=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});n.push(l),l.currentNode=i,this._currentSetFor.add(l),this._walkerStack=n}get doc(){return this._doc}firstChild(){let e=this.currentNode,n=this.nextNode();
2return(0,t.nodeContains)(e,n)?(n&&(this.currentNode=n),n):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){let t;if("function"==typeof this.filter?t=this.filter(e):this.filter?.acceptNode&&(t=this.filter.acceptNode(e)),t===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let n=this.nextNode();return n&&(this.currentNode=n),n}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){let e;if("function"==typeof this.filter?e=this.filter(t):this.filter?.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let n=this.lastChild();return n&&(this.currentNode=n),n}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function i(e,t,i,l){return(0,n.shadowDOM)()?new r(e,t,i,l):e.createTreeWalker(t,i,l)}e.s(["createShadowTreeWalker",()=>i])},566870,e=>{"use strict";var t=e.i(849810),n=e.i(99339),r=e.i(331746),i=e.i(930092);let l="undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype;function o(e){return"true"===e.dataset.liveAnnouncer||void 0!==e.dataset.reactAriaTopLayer}let s=new WeakMap,u=[];function a(e,a){let c=(0,n.getOwnerWindow)(e?.[0]),d=a instanceof c.Element?{root:a}:a,f=d?.root??document.body,h=d?.shouldUseInert&&l,p=new Set(e),g=new Set,y=(e,t)=>{h&&e instanceof c.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof c.HTMLElement&&(e.inert=!1))},m=new Set;if((0,i.shadowDOM)())for(let t of e){let e=t;for(;e&&e!==f;){let t=e.getRootNode();"shadowRoot"in t&&m.add(t.shadowRoot),e=t.parentNode}}let v=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))p.add(t);let i=e=>{if(g.has(e)||p.has(e)||e.parentElement&&g.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of p)if((0,r.nodeContains)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},l=(0,t.createShadowTreeWalker)((0,n.getOwnerDocument)(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:i}),o=i(e);if(o===NodeFilter.FILTER_ACCEPT&&b(e),o!==NodeFilter.FILTER_REJECT){let e=l.nextNode();for(;null!=e;)b(e),e=l.nextNode()}},b=e=>{let t=s.get(e)??0;(h&&e instanceof c.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"))&&0===t||(0===t&&y(e,!0),g.add(e),s.set(e,t+1))};u.length&&u[u.length-1].disconnect(),v(f);let C=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...g].some(e=>(0,r.nodeContains)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&o(e)?p.add(e):e instanceof Element&&v(e);if((0,i.shadowDOM)()){for(let e of m)if(!e.isConnected){C.disconnect();break}}}});C.observe(f,{childList:!0,subtree:!0});let E=new Set;if((0,i.shadowDOM)())for(let e of m){let t=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...g].some(e=>(0,r.nodeContains)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&o(e)?p.add(e):e instanceof Element&&v(e);if((0,i.shadowDOM)()){for(let e of m)if(!e.isConnected){C.disconnect();break}}}});t.observe(e,{childList:!0,subtree:!0}),E.add(t)}let S={visibleNodes:p,hiddenNodes:g,observe(){C.observe(f,{childList:!0,subtree:!0})},disconnect(){C.disconnect()}};return u.push(S),()=>{if(C.disconnect(),(0,i.shadowDOM)())for(let e of E)e.disconnect();for(let e of g){let t=s.get(e);null!=t&&(1===t?(y(e,!1),s.delete(e)):s.set(e,t-1))}S===u[u.length-1]?(u.pop(),u.length&&u[u.length-1].observe()):u.splice(u.indexOf(S),1)}}function c(e){let t=u[u.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}e.s(["ariaHideOutside",()=>a,"keepVisible",()=>c])},994959,e=>{"use strict";var t=e.i(849810),n=e.i(842617),r=e.i(331746),i=e.i(44468),l=e.i(99339),o=e.i(330288),s=e.i(298972),u=e.i(338951),a=e.i(102235);let c=a.default.createContext(null),d="react-aria-focus-scope-restore",f=null;function h(e){var t,n,s,h,v,P,N,T,M,R;let L,F,A,I,{children:O,contain:B,restoreFocus:H,autoFocus:_}=e,z=(0,a.useRef)(null),V=(0,a.useRef)(null),W=(0,a.useRef)([]),{parentNode:U}=(0,a.useContext)(c)||{},j=(0,a.useMemo)(()=>new k({scopeRef:W}),[W]);(0,u.useLayoutEffect)(()=>{let e=U||D.root;if(D.getTreeNode(e.scopeRef)&&f&&!b(f,e.scopeRef)){let t=D.getTreeNode(f);t&&(e=t)}e.addChild(j),D.addNode(j)},[j,U]),(0,u.useLayoutEffect)(()=>{let e=D.getTreeNode(W);e&&(e.contain=!!B)},[B]),(0,u.useLayoutEffect)(()=>{let e=z.current?.nextSibling,t=[],n=e=>e.stopPropagation();for(;e&&e!==V.current;)t.push(e),e.addEventListener(d,n),e=e.nextSibling;return W.current=t,()=>{for(let e of t)e.removeEventListener(d,n)}},[O]),t=W,n=H,s=B,(0,u.useLayoutEffect)(()=>
2{if(n||s)return;let e=t.current,i=(0,l.getOwnerDocument)(e?e[0]:void 0),o=e=>{let n=(0,r.getEventTarget)(e);y(n,t.current)?f=t:m(n)||(f=null)};return i.addEventListener("focusin",o,!1),e?.forEach(e=>e.addEventListener("focusin",o,!1)),()=>{i.removeEventListener("focusin",o,!1),e?.forEach(e=>e.removeEventListener("focusin",o,!1))}},[t,n,s]),h=W,v=B,L=(0,a.useRef)(void 0),F=(0,a.useRef)(void 0),(0,u.useLayoutEffect)(()=>{let e=h.current;if(!v){F.current&&(cancelAnimationFrame(F.current),F.current=void 0);return}let t=(0,l.getOwnerDocument)(e?e[0]:void 0),n=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!g(h)||e.isComposing)return;let n=(0,r.getActiveElement)(t),i=h.current;if(!i||!y(n,i))return;let o=K(p(i),{tabbable:!0},i);if(!n)return;o.currentNode=n;let s=e.shiftKey?o.previousNode():o.nextNode();s||(o.currentNode=e.shiftKey?i[i.length-1].nextElementSibling:i[0].previousElementSibling,s=e.shiftKey?o.previousNode():o.nextNode()),e.preventDefault(),s&&(C(s,!0),s instanceof(0,l.getOwnerWindow)(s).HTMLInputElement&&s.select())},s=e=>{(!f||b(f,h))&&y((0,r.getEventTarget)(e),h.current)?(f=h,L.current=(0,r.getEventTarget)(e)):g(h)&&!m((0,r.getEventTarget)(e),h)?L.current?L.current.focus():f&&f.current&&S(f.current):g(h)&&(L.current=(0,r.getEventTarget)(e))},u=e=>{F.current&&cancelAnimationFrame(F.current),F.current=requestAnimationFrame(()=>{let n=(0,i.getInteractionModality)(),l=("virtual"===n||null===n)&&(0,o.isAndroid)()&&(0,o.isChrome)(),s=(0,r.getActiveElement)(t);
2if(!l&&s&&g(h)&&!m(s,h)){f=h;let t=(0,r.getEventTarget)(e);t&&t.isConnected?(L.current=t,L.current?.focus()):f.current&&S(f.current)}})};return t.addEventListener("keydown",n,!1),t.addEventListener("focusin",s,!1),e?.forEach(e=>e.addEventListener("focusin",s,!1)),e?.forEach(e=>e.addEventListener("focusout",u,!1)),()=>{t.removeEventListener("keydown",n,!1),t.removeEventListener("focusin",s,!1),e?.forEach(e=>e.removeEventListener("focusin",s,!1)),e?.forEach(e=>e.removeEventListener("focusout",u,!1))}},[h,v]),(0,u.useLayoutEffect)(()=>()=>{F.current&&cancelAnimationFrame(F.current)},[F]),P=W,N=H,T=B,A=(0,a.useRef)("undefined"!=typeof document?(0,r.getActiveElement)((0,l.getOwnerDocument)(P.current?P.current[0]:void 0)):null),(0,u.useLayoutEffect)(()=>{let e=P.current,t=(0,l.getOwnerDocument)(e?e[0]:void 0);if(!N||T)return;let n=()=>{(!f||b(f,P))&&y((0,r.getActiveElement)(t),P.current)&&(f=P)};return t.addEventListener("focusin",n,!1),e?.forEach(e=>e.addEventListener("focusin",n,!1)),()=>{t.removeEventListener("focusin",n,!1),e?.forEach(e=>e.removeEventListener("focusin",n,!1))}},[P,T]),(0,u.useLayoutEffect)(()=>{let e=(0,l.getOwnerDocument)(P.current?P.current[0]:void 0);if(!N)return;let t=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!g(P)||t.isComposing)return;let n=e.activeElement;if(!m(n,P)||!x(P))return;let r=D.getTreeNode(P);if(!r)return;let i=r.nodeToRestore,l=K(e.body,{tabbable:!0});l.currentNode=n;let o=t.shiftKey?l.previousNode():l.nextNode();if(i&&i.isConnected&&i!==e.body||(i=void 0,r.nodeToRestore=void 0),(!o||!m(o,P))&&i){l.currentNode=i;do o=t.shiftKey?l.previousNode():l.nextNode();while(m(o,P))(t.preventDefault(),t.stopPropagation(),o)?C(o,!0):m(i)?C(i,!0):n.blur()}};return T||e.addEventListener("keydown",t,!0),()=>{T||e.removeEventListener("keydown",t,!0)}},[P,N,T]),(0,u.useLayoutEffect)(()=>{let e=(0,l.getOwnerDocument)(P.current?P.current[0]:void 0);if(!N)return;let t=D.getTreeNode(P);if(t)return t.nodeToRestore=A.current??void 0,()=>{let t=D.getTreeNode(P);if(!t)return;let n=t.nodeToRestore,i=(0,r.getActiveElement)(e);if(N&&n&&(i&&m(i,P)||i===e.body&&x(P))){let t=D.clone();requestAnimationFrame(()=>{if(e.activeElement===e.body){let e=t.getTreeNode(P);for(;e;){if(e.nodeToRestore&&e.nodeToRestore.isConnected)return void w(e.nodeToRestore);e=e.parent}for(e=t.getTreeNode(P);e;){if(e.scopeRef&&e.scopeRef.current&&D.getTreeNode(e.scopeRef))return void w(E(e.scopeRef.current,!0));e=e.parent}}})}}},[P,N]),M=W,R=_,I=a.default.useRef(R),(0,a.useEffect)(()=>{if(I.current){f=M;let e=(0,l.getOwnerDocument)(M.current?M.current[0]:void 0);!y((0,r.getActiveElement)(e),f.current)&&M.current&&S(M.current)}I.current=!1},[M]),(0,a.useEffect)(()=>{let e=(0,r.getActiveElement)((0,l.getOwnerDocument)(W.current?W.current[0]:void 0)),t=null;if(y(e,W.current)){for(let n of D.traverse())n.scopeRef&&y(e,n.scopeRef.current)&&(t=n);t===D.getTreeNode(W)&&(f=t.scopeRef)}},[W]),(0,u.useLayoutEffect)(()=>()=>{let e=D.getTreeNode(W)?.parent?.scopeRef??null;(W===f||b(W,f))&&(!e||D.getTreeNode(e))&&(f=e),D.removeTreeNode(W)},[W]);let $=(0,a.useMemo)(()=>{var e;return e=W,{focusNext(t={}){let n=e.current,{from:i,tabbable:o,wrap:s,accept:u}=t,a=i||(0,r.getActiveElement)((0,l.getOwnerDocument)(n[0]??void 0)),c=n[0].previousElementSibling,d=K(p(n),{tabbable:o,accept:u},n);d.currentNode=y(a,n)?a:c;let f=d.nextNode();return!f&&s&&(d.currentNode=c,f=d.nextNode()),f&&C(f,!0),f},focusPrevious(t={}){let n=e.current,{from:i,tabbable:o,wrap:s,accept:u}=t,a=i||(0,r.getActiveElement)((0,l.getOwnerDocument)(n[0]??void 0)),c=n[n.length-1].nextElementSibling,d=K(p(n),{tabbable:o,accept:u},n);d.currentNode=y(a,n)?a:c;let f=d.previousNode();return!f&&s&&(d.currentNode=c,f=d.previousNode()),f&&C(f,!0),f},focusFirst(t={}){let n=e.current,{tabbable:r,accept:i}=t,l=K(p(n),{tabbable:r,accept:i},n);l.currentNode=n[0].previousElementSibling;let o=l.nextNode();return o&&C(o,!0),o},focusLast(t={}){let n=e.current,{tabbable:r,accept:i}=t,l=K(p(n),{tabbable:r,accept:i},n);l.currentNode=n[n.length-1].nextElementSibling;let o=l.previousNode();return o&&C(o,!0),o}}},[]),q=(0,a.useMemo)(()=>({focusManager:$,parentNode:j}),[j,$]);return a.default.createElement(c.Provider,{value:q},a.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:z}),O,a.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:V}))}function p(e){return e[0].parentElement}function g(e){let t=D.getTreeNode(f);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function y(e,t){return!!e&&!!t&&t.some(t=>(0,r.nodeContains)(t,e))}function m(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of D.traverse(D.getTreeNode(t)))if(n&&y(e,n.current))return!0;return!1}function v(e){return m(e,f)}function b(e,t){let n=D.getTreeNode(t)?.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function C(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,n.focusSafely)(e)}catch{}}function E(e,t=!0){let n=e[0].previousElementSibling,r=p(e),i=K(r,{tabbable:t},e);i.currentNode=n;let l=i.nextNode();return t&&!l&&((i=K(r=p(e),{tabbable:!1},e)).currentNode=n,l=i.nextNode()),l}function S(e,t=!0){C(E(e,t))}function x(e){let t=D.getTreeNode(f);for(;t&&t.scopeRef!==e;
2){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function w(e){e.dispatchEvent(new CustomEvent(d,{bubbles:!0,cancelable:!0}))&&C(e)}function K(e,n,i){let o=n?.tabbable?s.isTabbable:s.isFocusable,u=e?.nodeType===Node.ELEMENT_NODE?e:null,a=(0,l.getOwnerDocument)(u),c=(0,t.createShadowTreeWalker)(a,e||a,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>(0,r.nodeContains)(n?.from,e)||n?.tabbable&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=function(e){if(!e.form)return Array.from((0,l.getOwnerDocument)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),n=(0,l.getOwnerWindow)(e);return t instanceof n.RadioNodeList?Array.from(t).filter(e=>e instanceof n.HTMLInputElement):t instanceof n.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}(e)||"INPUT"===c.currentNode.tagName&&"radio"===c.currentNode.type&&c.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:o(e)&&(!i||y(e,i))&&(!n?.accept||n.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});return n?.from&&(c.currentNode=n.from),c}class P{constructor(){this.fastMap=new Map,this.root=new k({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(t??null);if(!r)return;let i=new k({scopeRef:e});r.addChild(i),i.parent=r,this.fastMap.set(e,i),n&&(i.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&&y(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(){let e=new P;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent?.scopeRef??null,t.nodeToRestore);return e}}class k{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}}let D=new P;e.s(["FocusScope",()=>h,"getFocusableTreeWalker",()=>K,"isElementInChildOfActiveScope",()=>v])},760126,e=>{"use strict";var t=e.i(331746),n=e.i(994959),r=e.i(743912);e.i(179639);var i=e.i(99339),l=e.i(310933),o=e.i(102235);function s(e,n){if(e.button>0)return!1;let r=(0,t.getEventTarget)(e);if(r){let e=r.ownerDocument;if(!e||!(0,t.nodeContains)(e.documentElement,r)||r.closest("[data-react-aria-top-layer]"))return!1}return!!n.current&&!e.composedPath().includes(n.current)}let u=[];function a(e,a){let{onClose:c,shouldCloseOnBlur:d,isOpen:f,isDismissable:h=!1,isKeyboardDismissDisabled:p=!1,shouldCloseOnInteractOutside:g}=e,y=(0,o.useRef)(void 0);(0,o.useEffect)(()=>{if(f&&!u.includes(a))return u.push(a),()=>{let e=u.indexOf(a);e>=0&&u.splice(e,1)}},[f,a]);let m=()=>{u[u.length-1]===a&&c&&c()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:u}=e,a=(0,o.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,l.useEffectEvent)(e=>{n&&s(e,t)&&(u&&u(e),a.current.isPointerDown=!0)}),d=(0,l.useEffectEvent)(e=>{n&&n(e)});(0,o.useEffect)(()=>{let e=a.current;if(r)return;let n=t.current,l=(0,i.getOwnerDocument)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&s(n,t)&&d(n),e.isPointerDown=!1};return l.addEventListener("pointerdown",c,!0),l.addEventListener("click",n,!0),()=>{l.removeEventListener("pointerdown",c,!0),l.removeEventListener("click",n,!0)}}},[t,r])}({ref:a,onInteractOutside:h&&f?e=>{(!g||g((0,t.getEventTarget)(e)))&&(u[u.length-1]===a&&e.stopPropagation(),y.current===a&&m()),y.current=void 0}:void 0,onInteractOutsideStart:e=>{let n=u[u.length-1];y.current=n,(!g||g((0,t.getEventTarget)(e)))&&n===a&&e.stopPropagation()}});let{focusWithinProps:v}=(0,r.useFocusWithin)({isDisabled:!d,onBlurWithin:e=>{!(!e.relatedTarget||(0,n.isElementInChildOfActiveScope)(e.relatedTarget))&&(!g||g(e.relatedTarget))&&c?.()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||p||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),m())},...v},underlayProps:{}}}e.s(["useOverlay",()=>a],760126)},591519,e=>{"use strict";function t(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);
2return e===r&&"hidden"!==n.overflow&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}e.s(["isScrollable",()=>t])},584692,e=>{"use strict";var t=e.i(591519);function n(e,n){let r=e;for((0,t.isScrollable)(r,n)&&(r=r.parentElement);r&&!(0,t.isScrollable)(r,n);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}e.s(["getScrollParent",()=>n])},835890,882281,679573,e=>{"use strict";let t;var n=e.i(566870),r=e.i(175672),i=e.i(750303),l=e.i(760126),o=e.i(961981),s=e.i(331746),u=e.i(301459),a=e.i(584692),c=e.i(330288),d=e.i(591519),f=e.i(338951),h=e.i(898823);let p="undefined"!=typeof document&&window.visualViewport,g=0;function y(e={}){let{isDisabled:n}=e;(0,f.useLayoutEffect)(()=>{if(!n){let e,n,r,i,l,f,p,y;return 1==++g&&(t=(0,c.isIOS)()?(n=m(document.documentElement,"overflow","hidden"),r=!1,i=document.createElement("style"),(l=(0,u.getNonce)())&&(i.nonce=l),i.textContent=`
3@layer {
4  * {
5    overscroll-behavior: contain;
6  }
7}`.trim(),document.head.prepend(i),f=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=(0,s.getActiveElement)(),n=null!=t&&(0,h.willOpenKeyboard)(t);f.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||b(this,n)},p=(0,o.chain)(v(document,"touchstart",t=>{let n=(0,s.getEventTarget)(t);e=(0,d.isScrollable)(n)?n:(0,a.getScrollParent)(n,!0),r=!1;let i=n.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(n,!0)&&(r=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(r=!0),"selectionStart"in n&&"selectionEnd"in n&&n.selectionStart<n.selectionEnd&&n.ownerDocument.activeElement===n&&(r=!0)},{passive:!1,capture:!0}),v(document,"touchmove",t=>{if(2!==t.touches.length&&!r){if(!e||e===document.documentElement||e===document.body)return void t.preventDefault();e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()}},{passive:!1,capture:!0}),v(document,"blur",e=>{let t=(0,s.getEventTarget)(e),n=e.relatedTarget;if(n&&(0,h.willOpenKeyboard)(n))n.focus({preventScroll:!0}),b(n,(0,h.willOpenKeyboard)(t));else if(!n){let e=t.parentElement?.closest("[tabindex]");e?.focus({preventScroll:!0})}},!0)),()=>{n(),p(),i.remove(),HTMLElement.prototype.focus=f}):(y=window.innerWidth-document.documentElement.clientWidth,(0,o.chain)(y>0&&("scrollbarGutter"in document.documentElement.style?m(document.documentElement,"scrollbarGutter","stable"):m(document.documentElement,"paddingRight",`${y}px`)),m(document.documentElement,"overflow","hidden")))),()=>{0==--g&&t()}}},[n])}function m(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function v(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function b(e,t){t||!p?C(e):p.addEventListener("resize",()=>C(e),{once:!0})}function C(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=(0,a.getScrollParent)(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),r=n.getBoundingClientRect();if(r.top<t.top||r.bottom>t.top+n.clientHeight){let n=t.bottom;p&&(n=Math.min(n,p.offsetTop+p.height));let i=r.top-t.top-((n-t.top)/2-r.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:"smooth"})}}n=e.parentElement}}e.s(["usePreventScroll",()=>y],882281);var E=e.i(102235);function S(e,t){let{triggerRef:o,popoverRef:s,groupRef:u,isNonModal:a,isKeyboardDismissDisabled:c,shouldCloseOnInteractOutside:d,...f}=e,h="SubmenuTrigger"===f.trigger,{overlayProps:p,underlayProps:g}
7=(0,l.useOverlay)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||h,isKeyboardDismissDisabled:c,shouldCloseOnInteractOutside:d},u??s),{overlayProps:m,arrowProps:v,placement:b,triggerAnchorPoint:C}=(0,r.useOverlayPosition)({...f,targetRef:o,overlayRef:s,isOpen:t.isOpen,onClose:a&&!h?t.close:null});return y({isDisabled:a||!t.isOpen}),(0,E.useEffect)(()=>{if(t.isOpen&&s.current)if(a)return(0,n.keepVisible)(u?.current??s.current);else return(0,n.ariaHideOutside)([u?.current??s.current],{shouldUseInert:!0})},[a,t.isOpen,s,u]),{popoverProps:(0,i.mergeProps)(p,m),arrowProps:v,underlayProps:g,placement:b,triggerAnchorPoint:C}}e.s(["usePopover",()=>S],835890);var x={};x={"ar-AE":{dismiss:`\u{62A}\u{62C}\u{627}\u{647}\u{644}`},"bg-BG":{dismiss:`\u{41E}\u{442}\u{445}\u{432}\u{44A}\u{440}\u{43B}\u{44F}\u{43D}\u{435}`},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:`Schlie\xdfen`},"el-GR":{dismiss:`\u{391}\u{3C0}\u{3CC}\u{3C1}\u{3C1}\u{3B9}\u{3C8}\u{3B7}`},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:`L\xf5peta`},"fi-FI":{dismiss:`Hylk\xe4\xe4`},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:`\u{5D4}\u{5EA}\u{5E2}\u{5DC}\u{5DD}`},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:`Elutas\xedt\xe1s`},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:`\u{9589}\u{3058}\u{308B}`},"ko-KR":{dismiss:`\u{BB34}\u{C2DC}`},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:`Ner\u{101}d\u{12B}t`},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:`\u{41F}\u{440}\u{43E}\u{43F}\u{443}\u{441}\u{442}\u{438}\u{442}\u{44C}`},"sk-SK":{dismiss:`Zru\u{161}i\u{165}`},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:`\u{421}\u{43A}\u{430}\u{441}\u{443}\u{432}\u{430}\u{442}\u{438}`},"zh-CN":{dismiss:`\u{53D6}\u{6D88}`},"zh-TW":{dismiss:`\u{95DC}\u{9589}`}},e.s(["default",()=>x],679573)},59777,694074,e=>{"use strict";var t=e.i(679573),n=e.i(446564),r=e.i(658469),i=e.i(444069),l=e.i(102235);function o(e){var o;let{onDismiss:s,...u}=e,a=(0,r.useLocalizedStringFormatter)((o=t.default)&&o.__esModule?o.default:o,"@react-aria/overlays"),c=(0,n.useLabels)(u,a.format("dismiss"));return l.default.createElement(i.VisuallyHidden,null,l.default.createElement("button",{...c,tabIndex:-1,onClick:()=>{s&&s()},style:{width:1,height:1}}))}e.s(["DismissButton",()=>o],59777),e.i(179639);var s=e.i(750303),u=e.i(881965),a=e.i(452142),c=e.i(417351);let d=l.default.forwardRef(({children:e,...t},n)=>{let r=(0,l.useRef)(!1),i=(0,l.useContext)(u.PressResponderContext),o=(0,s.mergeProps)(i||{},{...t,register(){r.current=!0,i&&i.register()}});return o.ref=(0,a.useObjectRef)(n||i?.ref),(0,c.useSyncRef)(i,o.ref),(0,l.useEffect)(()=>{r.current||(r.current=!0)},[]),l.default.createElement(u.PressResponderContext.Provider,{value:o},e)});function f({children:e}){let t=(0,l.useMemo)(()=>({register:()=>{}}),[]);return l.default.createElement(u.PressResponderContext.Provider,{value:t},e)}e.s(["ClearPressResponder",()=>f,"PressResponder",()=>d],694074)},450465,e=>{"use strict";var t=e.i(694074),n=e.i(994959),r=e.i(917288),i=e.i(338951),l=e.i(983823),o=e.i(102235),s=e.i(489118);let u=o.default.createContext(null);function a(e){let i=(0,r.useIsSSR)(),{portalContainer:a=i?null:document.body,isExiting:c}=e,[d,f]=(0,o.useState)(!1),h=(0,o.useMemo)(()=>({contain:d,setContain:f}),[d,f]),{getContainer:p}=(0,l.useUNSAFE_PortalContext)();if(!e.portalContainer&&p&&(a=p()),!a)return null;let g=e.children;return e.disableFocusManagement||(g=o.default.createElement(n.FocusScope,{restoreFocus:!0,contain:(e.shouldContainFocus||d)&&
7!c},g)),g=o.default.createElement(u.Provider,{value:h},o.default.createElement(t.ClearPressResponder,null,g)),s.default.createPortal(g,a)}function c(){let e=(0,o.useContext)(u),t=e?.setContain;(0,i.useLayoutEffect)(()=>{t?.(!0)},[t])}e.s(["Overlay",()=>a,"useOverlayFocusContain",()=>c])},31961,e=>{"use strict";e.s(["Popover",()=>C,"PopoverContext",()=>v]);var t=e.i(463004),n=e.i(767497),r=e.i(764947),i=e.i(835890),l=e.i(59777),o=e.i(450465),s=e.i(251919),u=e.i(842617),a=e.i(44468),c=e.i(331746),d=e.i(750303),f=e.i(355960),h=e.i(102235),p=e.i(481808),g=e.i(959906),y=e.i(338951),m=e.i(574411);let v=(0,h.createContext)(null),b=(0,h.createContext)(null),C=(0,h.forwardRef)(function(e,n){[e,n]=(0,t.useContextProps)(e,n,v);let i=(0,h.useContext)(r.OverlayTriggerStateContext),l=(0,f.useOverlayTriggerState)(e),o=null==e.isOpen&&null==e.defaultOpen&&i?i:l,s=(0,p.useExitAnimation)(n,o.isOpen)||e.isExiting||!1,u=(0,g.useIsHidden)(),{direction:a}=(0,m.useLocale)();if(u){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),h.default.createElement(h.default.Fragment,null,t)}return!o||o.isOpen||s?h.default.createElement(E,{...e,triggerRef:e.triggerRef,state:o,popoverRef:n,isExiting:s,dir:a}):null});function E({state:e,isExiting:r,UNSTABLE_portalContainer:f,clearContexts:g,...m}){let v=(0,h.useRef)(null),C=(0,h.useRef)(null),E=(0,h.useContext)(b),S=E&&"SubmenuTrigger"===m.trigger,{popoverProps:x,underlayProps:w,arrowProps:K,placement:P,triggerAnchorPoint:k}=(0,i.usePopover)({...m,offset:m.offset??8,arrowRef:v,groupRef:S?E:C},e),D=m.popoverRef,N=(0,p.useEnterAnimation)(D,!!P)||m.isEntering||!1,T=(0,t.useRenderProps)({...m,defaultClassName:"react-aria-Popover",values:{trigger:m.trigger||null,placement:P,isEntering:N,isExiting:r}}),M=!m.isNonModal||"SubmenuTrigger"===m.trigger,[R,L]=(0,h.useState)(!1);(0,y.useLayoutEffect)(()=>{D.current&&L(M&&!D.current.querySelector("[role=dialog]"))},[D,M]),(0,h.useEffect)(()=>{R&&("SubmenuTrigger"!==m.trigger||"pointer"!==(0,a.getInteractionModality)())&&D.current&&!(0,c.isFocusWithin)(D.current)&&(0,u.focusSafely)(D.current)},[R,D,m.trigger]);let F=(0,h.useMemo)(()=>{let e=T.children;if(g)for(let t of g)e=h.default.createElement(t.Provider,{value:null},e);return e},[T.children,g]),A={...x.style,"--trigger-anchor-point":k?`${k.x}px ${k.y}px`:void 0,...T.style},I=h.default.createElement(t.dom.div,{...(0,d.mergeProps)((0,s.filterDOMProps)(m,{global:!0}),x),...T,role:R?"dialog":void 0,tabIndex:R?-1:void 0,"aria-label":m["aria-label"],"aria-labelledby":m["aria-labelledby"],ref:D,slot:m.slot||void 0,style:A,dir:m.dir,"data-trigger":m.trigger,"data-placement":P,"data-entering":N||void 0,"data-exiting":r||void 0},!m.isNonModal&&h.default.createElement(l.DismissButton,{onDismiss:e.close}),h.default.createElement(n.OverlayArrowContext.Provider,{value:{...K,placement:P,ref:v}},F),h.default.createElement(l.DismissButton,{onDismiss:e.close}));return S?h.default.createElement(o.Overlay,{...m,shouldContainFocus:R,isExiting:r,portalContainer:f??E?.current??void 0},I):h.default.createElement(o.Overlay,{...m,shouldContainFocus:R,isExiting:r,portalContainer:f},!m.isNonModal&&e.isOpen&&h.default.createElement("div",{"data-testid":"underlay",...w,style:{position:"fixed",inset:0}}),h.default.createElement("div",{ref:C,style:{display:"contents"}},h.default.createElement(b.Provider,{value:C},I)))}},60826,(e,t,n)=>{"use strict";var r=e.r(102235),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},l=r.useState,o=r.useEffect,s=r.useLayoutEffect,u=r.useDebugValue;function a(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=l({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,a(i)&&c({inst:i})},[e,n,t]),o(function(){return a(i)&&c({inst:i}),e(function(){a(i)&&c({inst:i})})},[e]),u(n),n};n.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},536379,(e,t,n)=>{"use strict";
7t.exports=e.r(60826)},462460,272464,625866,e=>{"use strict";e.i(179639);class t{constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,n){let r=this.clone();return t.addDescendants(r,e),r}}class n extends t{filter(e,t,n){let[r,i]=u(e,t,this.firstChildKey,n),l=this.clone();return l.firstChildKey=r,l.lastChildKey=i,l}}class r extends t{static{this.type="header"}}class i extends t{static{this.type="loader"}}class l extends n{static{this.type="item"}filter(e,t,n){if(n(this.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}}class o extends n{static{this.type="section"}filter(e,t,n){let r=super.filter(e,t,n);if(r&&null!==r.lastChildKey){let t=e.getItem(r.lastChildKey);if(t&&"header"!==t.type)return r}return null}}class s{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let n=t.get(e),r=n?.firstChildKey!=null?t.get(n.firstChildKey):null;for(;r;)yield r,r=null!=r.nextKey?t.get(r.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){for(let n of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(n,t)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,n=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!n}filter(e){let t=new this.constructor,[n,r]=u(this,t,this.firstKey,e);return t?.commit(n,r),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function u(e,t,n,r){if(null==n)return[null,null];let i=null,l=null,o=e.getItem(n);for(;null!=o;){let n=o.filter(e,t,r);null!=n&&(n.nextKey=null,l&&(n.prevKey=l.key,l.nextKey=n.key),null==i&&(i=n),t.addNode(n),l=n),o=o.nextKey?e.getItem(o.nextKey):null}if(l&&"separator"===l.type){let e=l.prevKey;t.removeNode(l.key),e?(l=t.getItem(e)).nextKey=null:l=null}return[i?.key??null,l?.key??null]}e.s(["BaseCollection",()=>s,"CollectionNode",()=>t,"HeaderNode",()=>r,"ItemNode",()=>l,"LoaderNode",()=>i,"SectionNode",()=>o],272464);class a{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),null==this.firstChild&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e
7:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}}class c extends a{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof c?this.parentNode.level+ +(this.parentNode.node?.type==="item"):0}getMutableNode(){return null==this.node?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let e=this.nextVisibleSibling,t=this.getMutableNode();if(null!=t&&(t.index=this.index,t.level=this.level,t.parentKey=this.parentNode instanceof c?this.parentNode.node?.key??null:null,t.prevKey=this.previousVisibleSibling?.node?.key??null,t.nextKey=e?.node?.key??null,t.hasChildNodes=!!this.firstChild,t.firstChildKey=this.firstVisibleChild?.node?.key??null,t.lastChildKey=this.lastVisibleChild?.node?.key??null,(null!=t.colSpan||null!=t.colIndex)&&e)){let n=(t.colIndex??t.index)+(t.colSpan??1);null!=e.node&&n!==e.node.colIndex&&(e.getMutableNode().colIndex=n)}}setProps(e,t,n,r,i){let l,{value:o,textValue:s,id:u,...a}=e;if(null==this.node?(l=new n(u??`react-aria-${++this.ownerDocument.nodeId}`),this.node=l):l=this.getMutableNode(),a.ref=t,l.props=a,l.rendered=r,l.render=i,l.value=o,e["aria-label"]&&(l["aria-label"]=e["aria-label"]),l.textValue=s||("string"==typeof a.children?a.children:"")||e["aria-label"]||"",null!=u&&u!==l.key)throw Error("Cannot change the id of an item");null!=a.colSpan&&(l.colSpan=a.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let t="none"===value;if(e.isHidden!==t){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let n=e.previousVisibleSibling,r=e.nextVisibleSibling;n&&e.ownerDocument.markDirty(n),r&&e.ownerDocument.markDirty(r),e.isHidden=t,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class d extends a{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new c(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||null==e.node)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof c&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof c?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);
7this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(0!==this.dirtyNodes.size&&!this.queuedRender){for(let e of(this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone()),this.subscriptions))e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}var f=e.i(102235);function h(e){let{children:t,items:n,idScope:r,addIdAndValue:i,dependencies:l=[]}=e,o=(0,f.useMemo)(()=>new WeakMap,l);return(0,f.useMemo)(()=>{if(n&&"function"==typeof t){let e=[];for(let l of n){let n=o.get(l);if(!n){let e=(n=t(l)).props.id??l.key??l.id;if(null==e)throw Error("Could not determine key for item");null!=r&&null==n.props.id&&(e=r+":"+e),n=(0,f.cloneElement)(n,i?{key:e,id:e,value:l}:{key:e}),o.set(l,n)}e.push(n)}return e}if("function"!=typeof t)return t},[t,n,o,r,i])}var p=e.i(626900),g=e.i(959906),y=e.i(917288),m=e.i(489118),v=e.i(536379);let b=(0,f.createContext)(!1),C=(0,f.createContext)(null);function E(e){if((0,f.useContext)(C))return e.content;let{collection:t,document:n}=function(e){let[t]=(0,f.useState)(()=>new d(e?.()||new s));return{collection:x((0,f.useCallback)(e=>t.subscribe(e),[t]),(0,f.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,f.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return f.default.createElement(f.default.Fragment,null,f.default.createElement(g.Hidden,null,f.default.createElement(C.Provider,{value:n},e.content)),f.default.createElement(S,{render:e.children,collection:t}))}function S({collection:e,render:t}){return t(e)}let x="function"==typeof f.default.useSyncExternalStore?f.default.useSyncExternalStore:function(e,t,n){let r=(0,y.useIsSSR)(),i=(0,f.useRef)(r);i.current=r;let l=(0,f.useCallback)(()=>i.current?n():t(),[t,n]);return(0,v.useSyncExternalStore)(e,l)},w=(0,f.createContext)(null);function K(e,n,r,i,l,o){"string"==typeof e&&(e=function(e){return class extends t{static{this.type=e}}}(e));let s=(0,f.useCallback)(t=>
7{t?.setProps(n,r,e,i,o)},[n,r,i,o,e]),u=(0,f.useContext)(w);if(u){let t=u.ownerDocument.nodesByProps.get(n);return t||((t=u.ownerDocument.createElement(e.type)).setProps(n,r,e,i,o),u.appendChild(t),u.ownerDocument.updateCollection(),u.ownerDocument.nodesByProps.set(n,t)),l?f.default.createElement(w.Provider,{value:t},l):null}return f.default.createElement(e.type,{ref:s},l)}function P(e,t){let n=({node:e})=>t(e.props,e.props.ref,e),r=(0,f.forwardRef)((r,i)=>{let l=(0,f.useContext)(p.FocusableContext);if(!(0,f.useContext)(b)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(r,i)}return K(e,r,i,"children"in r?r.children:null,null,e=>f.default.createElement(p.FocusableContext.Provider,{value:l},f.default.createElement(n,{node:e})))});return r.displayName=t.name,r}function k(e,t,n=D){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,f.forwardRef)((t,i)=>{let l=n(t);return K(e,t,i,null,l,e=>f.default.createElement(r,{node:e}))??f.default.createElement(f.default.Fragment,null)});return i.displayName=t.name,i}function D(e){return h({...e,addIdAndValue:!0})}let N=(0,f.createContext)(null);function T(e){let t=(0,f.useContext)(N),n=(t?.dependencies||[]).concat(e.dependencies),r=e.idScope??t?.idScope,i=D({...e,idScope:r,dependencies:n});return(0,f.useContext)(C)&&(i=f.default.createElement(M,null,i)),t=(0,f.useMemo)(()=>({dependencies:n,idScope:r}),[r,...n]),f.default.createElement(N.Provider,{value:t},i)}function M({children:e}){let t=(0,f.useContext)(C),n=(0,f.useMemo)(()=>f.default.createElement(C.Provider,{value:null},f.default.createElement(b.Provider,{value:!0},e)),[e]);return(0,y.useIsSSR)()?f.default.createElement(w.Provider,{value:t},n):(0,m.createPortal)(n,t)}e.s(["Collection",()=>T,"CollectionBuilder",()=>E,"createBranchComponent",()=>k,"createLeafComponent",()=>P],625866);let R=(0,f.createContext)(null),L={CollectionRoot:({collection:e,renderDropIndicator:t})=>F(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:n})=>F(e,t,n)};function F(e,t,n){return h({items:t?e.getChildren(t.key):e,dependencies:[n],children(t){if("content"===t.type)return f.default.createElement(f.default.Fragment,null);let r=t.render(t);return n&&"item"===t.type?f.default.createElement(f.default.Fragment,null,n({type:"item",key:t.key,dropPosition:"before"}),r,function(e,t,n){let r=t.key,i=e.getKeyAfter(r),l=null!=i?e.getItem(i):null;for(;null!=l&&"item"!==l.type;)l=null!=(i=e.getKeyAfter(l.key))?e.getItem(i):null;let o=null!=t.nextKey?e.getItem(t.nextKey):null;for(;null!=o&&"item"!==o.type;)o=null!=o.nextKey?e.getItem(o.nextKey):null;let s=[];if(null==o){let r=t;for(;r?.type==="item"&&(!l||r.parentKey!==l.parentKey&&l.level<r.level);){let t=n({type:"item",key:r.key,dropPosition:"after"});(0,f.isValidElement)(t)&&s.push((0,f.cloneElement)(t,{key:`${r.key}-after`})),r=null!=r.parentKey?e.getItem(r.parentKey):null}}return s}(e,t,n)):r}})}let A=(0,f.createContext)(L);function I(e){return(0,f.useMemo)(()=>null!=e?new Set([e]):null,[e])}e.s(["CollectionRendererContext",()=>A,"DefaultCollectionRenderer",()=>L,"SectionContext",()=>R,"usePersistedKeys",()=>I],462460)},218166,466026,e=>{"use strict";e.i(463004),e.i(625866);var t=e.i(272464),n=e.i(102235);let r=(0,n.createContext)({});t.HeaderNode,e.s(["HeaderContext",()=>r],218166);let i=(0,n.createContext)({});e.s(["KeyboardContext",()=>i],466026)},650619,916351,e=>{"use strict";var t=e.i(463004),n=e.i(489118),r=e.i(102235),i=e.i(338951),l=e.i(452142);let o=(0,r.createContext)(null);function s(e){let t=(0,r.useRef)({});return r.default.createElement(o.Provider,{value:t},e.children)}let u=(0,r.forwardRef)(function(e,s){let{name:u,isVisible:a=!0,children:c,className:d,style:f,render:h,...p}=e,[g,y]=(0,r.useState)(a?"visible":"hidden"),m=(0,r.useContext)(o);if(!m)throw Error("<SharedElement> must be rendered inside a <SharedElementTransition>");a&&"hidden"===g&&y("visible"),s=(0,l.useObjectRef)(s),(0,i.useLayoutEffect)(()=>{let e=s.current,t=m.current,r=t[u],i=null;if(e&&a&&r){y("visible");let n=e.getAnimations(),l=r.style.map(([t,n])=>{let i=e.style[t];if("translate"===t){let t=r.rect,n=e.getBoundingClientRect(),i=t.left-n?.left,l=t.top-n?.top;e.style.translate=`${i}px ${l}px`}else e.style[t]=n;return[t,i]});for(let t of e.getAnimations())n.includes(t)||t.cancel();i=requestAnimationFrame(()=>{for(let[t,n]of(i=null,l))e.style[t]=n}),delete t[u]}else e&&a&&!r?(queueMicrotask(()=>(0,n.flushSync)(()=>y("entering"))),i=requestAnimationFrame(()=>{i=null,y("visible")})):e&&!a&&queueMicrotask(()=>{t[u]?(delete t[u],(0,n.flushSync)(()=>y("exiting")),Promise.all(e.getAnimations().map(e=>e.finished)).then(()=>y("hidden")).catch(()=>{})):y("hidden")});return()=>{if(null!=i&&cancelAnimationFrame(i),e&&e.isConnected&&!e.hasAttribute("data-exiting")){let n=window.getComputedStyle(e);
7if("none"!==n.transitionProperty){let r=n.transitionProperty.split(/\s*,\s*/);t[u]={rect:e.getBoundingClientRect(),style:r.map(e=>[e,n[e]])}}}}},[s,m,u,a]);let v=(0,t.useRenderProps)({children:c,className:d,style:f,render:h,values:{isEntering:"entering"===g,isExiting:"exiting"===g}});return"hidden"===g?null:r.default.createElement(t.dom.div,{...p,...v,ref:s,"data-entering":"entering"===g||void 0,"data-exiting":"exiting"===g||void 0})});e.s(["SharedElement",()=>u,"SharedElementTransition",()=>s],916351);let a=(0,r.createContext)({isSelected:!1});e.s(["SelectionIndicatorContext",()=>a],650619)},484665,e=>{"use strict";var t=e.i(463004),n=e.i(251919),r=e.i(272464),i=e.i(625866),l=e.i(750303),o=e.i(102235);let s=(0,o.createContext)({});class u extends r.CollectionNode{static{this.type="separator"}filter(e,t){let n=t.getItem(this.prevKey);if(n&&"separator"!==n.type){let n=this.clone();return t.addDescendants(n,e),n}return null}}let a=(0,i.createLeafComponent)(u,function(e,r){var i;let u,a;[e,r]=(0,t.useContextProps)(e,r,s);let{elementType:c,orientation:d,style:f,className:h,slot:p,...g}=e,y=c||"hr";"hr"===y&&"vertical"===d&&(y="div");let m=t.dom[y],{separatorProps:v}=(i={...g,elementType:c,orientation:d},a=(0,n.filterDOMProps)(i,{labelable:!0}),("vertical"===i.orientation&&(u="vertical"),"hr"!==i.elementType)?{separatorProps:{...a,role:"separator","aria-orientation":u}}:{separatorProps:a}),b=(0,n.filterDOMProps)(e,{global:!0});return o.default.createElement(m,{render:e.render,...(0,l.mergeProps)(b,v),style:f,className:h??"react-aria-Separator",ref:r,slot:p||void 0})});e.s(["Separator",()=>
7a,"SeparatorContext",()=>s],484665)},390011,e=>{"use strict";var t={};t={"ar-AE":{longPressMessage:`\u{627}\u{636}\u{63A}\u{637} \u{645}\u{637}\u{648}\u{644}\u{627}\u{64B} \u{623}\u{648} \u{627}\u{636}\u{63A}\u{637} \u{639}\u{644}\u{649} Alt + \u{627}\u{644}\u{633}\u{647}\u{645} \u{644}\u{623}\u{633}\u{641}\u{644} \u{644}\u{641}\u{62A}\u{62D} \u{627}\u{644}\u{642}\u{627}\u{626}\u{645}\u{629}`},"bg-BG":{longPressMessage:`\u{41D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{43E}\u{434}\u{44A}\u{43B}\u{436}\u{438}\u{442}\u{435}\u{43B}\u{43D}\u{43E} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{435}\u{442}\u{435} Alt+ \u{441}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{43D}\u{430}\u{434}\u{43E}\u{43B}\u{443}, \u{437}\u{430} \u{434}\u{430} \u{43E}\u{442}\u{432}\u{43E}\u{440}\u{438}\u{442}\u{435} \u{43C}\u{435}\u{43D}\u{44E}\u{442}\u{43E}`},"cs-CZ":{longPressMessage:`Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + \u{161}ipka dol\u{16F} otev\u{159}ete nab\xeddku`},"da-DK":{longPressMessage:`Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen`},"de-DE":{longPressMessage:`Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen`},"el-GR":{longPressMessage:`\u{3A0}\u{3B9}\u{3AD}\u{3C3}\u{3C4}\u{3B5} \u{3C0}\u{3B1}\u{3C1}\u{3B1}\u{3C4}\u{3B5}\u{3C4}\u{3B1}\u{3BC}\u{3AD}\u{3BD}\u{3B1} \u{3AE} \u{3C0}\u{3B1}\u{3C4}\u{3AE}\u{3C3}\u{3C4}\u{3B5} Alt + \u{3BA}\u{3AC}\u{3C4}\u{3C9} \u{3B2}\u{3AD}\u{3BB}\u{3BF}\u{3C2} \u{3B3}\u{3B9}\u{3B1} \u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3BF}\u{3AF}\u{3BE}\u{3B5}\u{3C4}\u{3B5} \u{3C4}\u{3BF} \u{3BC}\u{3B5}\u{3BD}\u{3BF}\u{3CD}`},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:`Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa`},"et-EE":{longPressMessage:`Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool`},"fi-FI":{longPressMessage:`Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli`},"fr-FR":{longPressMessage:`Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu.`},"he-IL":{longPressMessage:`\u{5DC}\u{5D7}\u{5E5} \u{5DC}\u{5D7}\u{5D9}\u{5E6}\u{5D4} \u{5D0}\u{5E8}\u{5D5}\u{5DB}\u{5D4} \u{5D0}\u{5D5} \u{5D4}\u{5E7}\u{5E9} Alt + ArrowDown \u{5DB}\u{5D3}\u{5D9} \u{5DC}\u{5E4}\u{5EA}\u{5D5}\u{5D7} \u{5D0}\u{5EA} \u{5D4}\u{5EA}\u{5E4}\u{5E8}\u{5D9}\u{5D8}`},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:`Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz`},"it-IT":{longPressMessage:`Premi a lungo o premi Alt + Freccia gi\xf9 per aprire il menu`},"ja-JP":{longPressMessage:`\u{9577}\u{62BC}\u{3057}\u{307E}\u{305F}\u{306F} Alt+\u{4E0B}\u{77E2}\u{5370}\u{30AD}\u{30FC}\u{3067}\u{30E1}\u{30CB}\u{30E5}\u{30FC}\u{3092}\u{958B}\u{304F}`},"ko-KR":{longPressMessage:`\u{AE38}\u{AC8C} \u{B204}\u{B974}\u{AC70}\u{B098} Alt + \u{C544}\u{B798}\u{CABD} \u{D654}\u{C0B4}\u{D45C}\u{B97C} \u{B20C}\u{B7EC} \u{BA54}\u{B274} \u{C5F4}\u{AE30}`},"lt-LT":{longPressMessage:`Nor\u{117}dami atidaryti meniu, nuspaud\u{119} palaikykite arba paspauskite \u{201E}Alt + ArrowDown\u{201C}.`},"lv-LV":{longPressMessage:`Lai atv\u{113}rtu izv\u{113}lni, turiet nospiestu vai nospiediet tausti\u{146}u kombin\u{101}ciju Alt + lejupv\u{113}rst\u{101} bulti\u{146}a`},"nb-NO":{longPressMessage:`Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen`},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:`Naci\u{15B}nij i przytrzymaj lub naci\u{15B}nij klawisze Alt + Strza\u{142}ka w d\xf3\u{142}, aby otworzy\u{107} menu`},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:`Ap\u{103}sa\u{21B}i lung sau ap\u{103}sa\u{21B}i pe Alt + s\u{103}geat\u{103} \xeen jos pentru a deschide meniul`},"ru-RU":{longPressMessage:`\u{41D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} \u{438} \u{443}\u{434}\u{435}\u{440}\u{436}\u{438}\u{432}\u{430}\u{439}\u{442}\u{435} \u{438}\u{43B}\u{438} \u{43D}\u{430}\u{436}\u{43C}\u{438}\u{442}\u{435} Alt + \u{421}\u{442}\u{440}\u{435}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{447}\u{442}\u{43E}\u{431}\u{44B} \u{43E}\u{442}\u{43A}\u{440}\u{44B}\u{442}\u{44C} \u{43C}\u{435}\u{43D}\u{44E}`},"sk-SK":{longPressMessage:`Ponuku otvor\xedte dlh\xfdm stla\u{10D}en\xedm alebo stla\u{10D}en\xedm kl\xe1vesu Alt + kl\xe1vesu so \u{161}\xedpkou nadol`},"sl-SI":{longPressMessage:`Za odprtje menija pritisnite in dr\u{17E}ite gumb ali pritisnite Alt+pu\u{161}\u{10D}ica navzdol`},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:`H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn`}
7,"tr-TR":{longPressMessage:`Men\xfcy\xfc a\xe7mak i\xe7in uzun bas\u{131}n veya Alt + A\u{15F}a\u{11F}\u{131} Ok tu\u{15F}una bas\u{131}n`},"uk-UA":{longPressMessage:`\u{414}\u{43E}\u{432}\u{433}\u{43E} \u{430}\u{431}\u{43E} \u{437}\u{432}\u{438}\u{447}\u{430}\u{439}\u{43D}\u{43E} \u{43D}\u{430}\u{442}\u{438}\u{441}\u{43D}\u{456}\u{442}\u{44C} \u{43A}\u{43E}\u{43C}\u{431}\u{456}\u{43D}\u{430}\u{446}\u{456}\u{44E} \u{43A}\u{43B}\u{430}\u{432}\u{456}\u{448} Alt \u{456} \u{441}\u{442}\u{440}\u{456}\u{43B}\u{43A}\u{430} \u{432}\u{43D}\u{438}\u{437}, \u{449}\u{43E}\u{431} \u{432}\u{456}\u{434}\u{43A}\u{440}\u{438}\u{442}\u{438} \u{43C}\u{435}\u{43D}\u{44E}`},"zh-CN":{longPressMessage:`\u{957F}\u{6309}\u{6216}\u{6309} Alt + \u{5411}\u{4E0B}\u{65B9}\u{5411}\u{952E}\u{4EE5}\u{6253}\u{5F00}\u{83DC}\u{5355}`},"zh-TW":{longPressMessage:`\u{9577}\u{6309}\u{6216}\u{6309} Alt+\u{5411}\u{4E0B}\u{9375}\u{4EE5}\u{958B}\u{555F}\u{529F}\u{80FD}\u{8868}`}},e.s(["default",()=>t],390011)},433973,928585,e=>{"use strict";var t=e.i(987336),n=e.i(99339),r=e.i(750303),i=e.i(338951),l=e.i(102235);let o=0,s=new Map;function u(e){let[t,n]=(0,l.useState)();return(0,i.useLayoutEffect)(()=>{if(!e)return;let t=s.get(e);if(t)n(t.element.id);else{let r=`react-aria-description-${o++}`;n(r);let i=document.createElement("div");i.id=r,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},s.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),s.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}e.s(["useDescription",()=>u],928585);var a=e.i(61423),c=e.i(142121);function d(e){let{isDisabled:i,onLongPressStart:o,onLongPressEnd:s,onLongPress:d,threshold:f=500,accessibilityDescription:h}=e,p=(0,l.useRef)(void 0),{addGlobalListener:g,removeGlobalListener:y}=(0,a.useGlobalListeners)(),{pressProps:m}=(0,c.usePress)({isDisabled:i,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(o&&o({...e,type:"longpressstart"}),p.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,n.getOwnerDocument)(e.target).activeElement!==e.target&&(0,t.focusWithoutScrolling)(e.target),d&&d({...e,type:"longpress"}),p.current=void 0},f),"touch"===e.pointerType)){let t=e=>{e.preventDefault()},r=(0,n.getOwnerWindow)(e.target);g(e.target,"contextmenu",t,{once:!0}),g(r,"pointerup",()=>{setTimeout(()=>{y(e.target,"contextmenu",t)}
7,30)},{once:!0})}},onPressEnd(e){p.current&&clearTimeout(p.current),s&&("mouse"===e.pointerType||"touch"===e.pointerType)&&s({...e,type:"longpressend"})}}),v=u(d&&!i?h:void 0);return{longPressProps:(0,r.mergeProps)(m,v)}}e.s(["useLongPress",()=>d],433973)},610740,e=>{"use strict";var t=e.i(624715),n=e.i(325936),r=e.i(102235);function i(e,i,l){let o,{type:s}=e,{isOpen:u}=i;(0,r.useEffect)(()=>{l&&l.current&&t.onCloseMap.set(l.current,i.close)}),"menu"===s?o=!0:"listbox"===s&&(o="listbox");let a=(0,n.useId)();return{triggerProps:{"aria-haspopup":o,"aria-expanded":u,"aria-controls":u?a:void 0,onPress:i.toggle},overlayProps:{id:a}}}e.s(["useOverlayTrigger",()=>i])},970766,451968,495572,e=>{"use strict";var t=e.i(987336),n=e.i(390011),r=e.i(325936),i=e.i(658469),l=e.i(433973),o=e.i(610740);function s(e,s,u){var a;let{type:c="menu",isDisabled:d,trigger:f="press"}=e,h=(0,r.useId)(),{triggerProps:p,overlayProps:g}=(0,o.useOverlayTrigger)({type:c},s,u),y=(0,i.useLocalizedStringFormatter)((a=n.default)&&a.__esModule?a.default:a,"@react-aria/menu"),{longPressProps:m}=(0,l.useLongPress)({isDisabled:d||"longPress"!==f,accessibilityDescription:y.format("longPressMessage"),onLongPressStart(){s.close()},onLongPress(){s.open("first")}});return delete p.onPress,{menuTriggerProps:{...p,..."press"===f?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||d||((0,t.focusWithoutScrolling)(e.target),s.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||d||((0,t.focusWithoutScrolling)(e.target),s.toggle())}}:m,id:h,onKeyDown:e=>{if(!d&&("longPress"!==f||e.altKey)&&u&&u.current)switch(e.key){case"Enter":case" ":if("longPress"===f||e.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),s.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),s.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...g,"aria-labelledby":h,autoFocus:s.focusStrategy||!0,onClose:s.close}}}e.s(["useMenuTrigger",()=>s],970766);var u=e.i(331746),a=e.i(328544),c=e.i(338951),d=e.i(574411);e.i(179639);var f=e.i(310933),h=e.i(44468),p=e.i(271062),g=e.i(102235);let y=Math.PI/12;function m(e,n,i){let{parentMenuRef:l,submenuRef:o,type:s="menu",isDisabled:m,delay:v=200,shouldUseVirtualFocus:b}=e,C=(0,r.useId)(),E=(0,r.useId)(),{direction:S}=(0,d.useLocale)(),x=(0,g.useRef)(void 0),w=(0,g.useCallback)(()=>{x.current&&(clearTimeout(x.current),x.current=void 0)},[x]),K=(0,g.useCallback)(e=>{w(),n.open(e)},[n,w]),P=(0,g.useCallback)(()=>{w(),n.close()},[n,w]);(0,c.useLayoutEffect)(()=>()=>{w()},[w]);let k={id:E,"aria-labelledby":C,submenuLevel:n.submenuLevel,..."menu"===s&&{onClose:n.closeAll,autoFocus:n.focusStrategy??void 0,onKeyDown:e=>{if((0,u.isFocusWithin)(e.currentTarget))switch(e.key){case"ArrowLeft":"ltr"===S&&(0,u.nodeContains)(e.currentTarget,(0,u.getEventTarget)(e))&&(e.preventDefault(),e.stopPropagation(),P(),!b&&i.current&&(0,t.focusWithoutScrolling)(i.current));break;case"ArrowRight":"rtl"===S&&(0,u.nodeContains)(e.currentTarget,(0,u.getEventTarget)(e))&&(e.preventDefault(),e.stopPropagation(),P(),!b&&i.current&&(0,t.focusWithoutScrolling)(i.current));break;case"Escape":(0,u.nodeContains)(o.current,(0,u.getEventTarget)(e))&&(e.stopPropagation(),P(),!b&&i.current&&(0,t.focusWithoutScrolling)(i.current))}}}};return(0,a.useEvent)(l,"focusin",e=>{n.isOpen&&(0,u.nodeContains)(l.current,(0,u.getEventTarget)(e))&&(0,u.getEventTarget)(e)!==i.current&&P()}),!function(e){let{menuRef:t,submenuRef:n,isOpen:r,isDisabled:i}=e,l=(0,g.useRef)(void 0),o=(0,g.useRef)(void 0),s=(0,g.useRef)(0),a=(0,g.useRef)(void 0),d=(0,g.useRef)(void 0),m=(0,g.useRef)(void 0),v=(0,g.useRef)(2),[b,C]=(0,g.useState)(!1);(0,p.useResizeObserver)({ref:r?n:void 0,onResize:()=>{n.current&&(o.current=n.current.getBoundingClientRect(),m.current=void 0)}});let E=()=>{C(!1),v.current=2,l.current=void 0},S=(0,h.useInteractionModality)(),x=(0,f.useEffectEvent)(e=>{b&&e.preventDefault()});(0,g.useEffect)(()=>{b&&t.current?t.current.style.pointerEvents="none":t.current.style.pointerEvents=""},[t,b]),(0,c.useLayoutEffect)(()=>{let e=n.current,c=t.current;if(i||!e||!r||"pointer"!==S||!c)return void E();
7o.current=e.getBoundingClientRect();let f=e=>{if("touch"===e.pointerType||"pen"===e.pointerType)return;let t=Date.now();if(t-s.current<50)return;clearTimeout(a.current),clearTimeout(d.current);let{clientX:n,clientY:r}=e;if(!l.current){l.current={x:n,y:r};return}if(!o.current)return;if(m.current||(m.current=n>o.current.right?"left":"right"),n<c.getBoundingClientRect().left||n>c.getBoundingClientRect().right||r<c.getBoundingClientRect().top||r>c.getBoundingClientRect().bottom)return void E();let i=l.current.x,f=l.current.y,h="right"===m.current?o.current.left-i:i-o.current.right,p=Math.atan2(f-o.current.top,h)+y,g=Math.atan2(f-o.current.bottom,h)-y,b=Math.atan2(f-r,"left"===m.current?-(n-i):n-i),S=b<p&&b>g;v.current=S?Math.min(v.current+1,2):Math.max(v.current-1,0),v.current>=2?C(!0):C(!1),s.current=t,l.current={x:n,y:r},S&&(a.current=setTimeout(()=>{E(),d.current=setTimeout(()=>{let e=document.elementFromPoint(n,r);e&&(0,u.nodeContains)(c,e)&&e.dispatchEvent(new PointerEvent("pointerover",{bubbles:!0,cancelable:!0}))},100)},1e3))};return window.addEventListener("pointermove",f),window.addEventListener("pointerdown",x,!0),()=>{window.removeEventListener("pointermove",f),window.removeEventListener("pointerdown",x,!0),clearTimeout(a.current),clearTimeout(d.current),v.current=2}},[i,r,t,S,C,n])}({menuRef:l,submenuRef:o,isOpen:n.isOpen,isDisabled:m}),{submenuTriggerProps:{id:C,"aria-controls":n.isOpen?E:void 0,"aria-haspopup":m?void 0:s,"aria-expanded":n.isOpen?"true":"false",onPressStart:e=>{m||"virtual"!==e.pointerType&&"keyboard"!==e.pointerType||K("first")},onPress:e=>{m||"touch"!==e.pointerType&&"mouse"!==e.pointerType||K()},onHoverChange:e=>{!m&&(e&&!n.isOpen?x.current||(x.current=setTimeout(()=>{K()},v)):e||w())},onKeyDown:e=>{switch(e.key){case"ArrowRight":!m&&("ltr"===S?(e.preventDefault(),n.isOpen||K("first"),"menu"===s&&o?.current&&(0,u.getActiveElement)()===i?.current&&(0,t.focusWithoutScrolling)(o.current)):n.isOpen?P():e.continuePropagation());break;case"ArrowLeft":!m&&("rtl"===S?(e.preventDefault(),n.isOpen||K("first"),"menu"===s&&o?.current&&(0,u.getActiveElement)()===i?.current&&(0,t.focusWithoutScrolling)(o.current)):n.isOpen?P():e.continuePropagation());break;default:e.continuePropagation()}},isOpen:n.isOpen},submenuProps:k,popoverProps:{isNonModal:!0,shouldCloseOnInteractOutside:e=>e!==i.current}}}e.s(["useSubmenuTrigger",()=>m],451968);let v=new WeakMap;e.s(["menuData",()=>v],495572)},674812,e=>{"use strict";var t=e.i(330288),n=e.i(325936);function r(e){return(0,t.isAppleDevice)()?e.altKey:e.ctrlKey}function i(e,t){let n=`[data-key="${CSS.escape(String(t))}"]`,r=e.current?.dataset.collection;return r&&(n=`[data-collection="${CSS.escape(r)}"]${n}`),e.current?.querySelector(n)}let l=new WeakMap;function o(e){let t=(0,n.useId)();return l.set(e,t),t}function s(e){return l.get(e)}e.s(["getCollectionId",()=>s,"getItemElement",()=>i,"isNonContiguousSelectionModifier",()=>r,"useCollectionId",()=>o])},669384,57036,118256,e=>{"use strict";var t=e.i(39643),n=e.i(24123),r=e.i(842617),i=e.i(987336),l=e.i(331746),o=e.i(994959),s=e.i(44468),u=e.i(674812),a=e.i(898823),c=e.i(298972),d=e.i(750303);e.i(179639);var f=e.i(591519);function h(e,t){let n=[],r=document.scrollingElement||document.documentElement;do(0,f.isScrollable)(e,t)&&n.push(e),e=e.parentElement;while(e&&e!==r)return n}var p=e.i(330288);function g(e,t,n={}){let{block:r="nearest",inline:i="nearest"}=n;if(e===t)return;let l=e.scrollTop,o=e.scrollLeft,s=t.getBoundingClientRect(),u=e.getBoundingClientRect(),a=window.getComputedStyle(t),c=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,f=e===d?0:u.top,h=e===d?e.clientHeight:u.bottom,y=e===d?0:u.left,m=e===d?e.clientWidth:u.right,v=parseInt(a.scrollMarginTop,10)||0,b=parseInt(a.scrollMarginBottom,10)||0,C=parseInt(a.scrollMarginLeft,10)||0,E=parseInt(a.scrollMarginRight,10)||0,S=parseInt(c.scrollPaddingTop,10)||0,x=parseInt(c.scrollPaddingBottom,10)||0,w=parseInt(c.scrollPaddingLeft,10)||0,K=parseInt(c.scrollPaddingRight,10)||0,P=parseInt(c.borderTopWidth,10)||0,k=parseInt(c.borderBottomWidth,10)||0,D=parseInt(c.borderLeftWidth,10)||0,N=parseInt(c.borderRightWidth,10)||0,T=s.top-v,M=s.bottom+b,R=s.left-C,L=s.right+E,F=e===d?0:D+N,A=e===d?0:P+k,I=e.offsetWidth-e.clientWidth-F,O=e.offsetHeight-e.clientHeight-A,B=f+P+S,H=h-k-x-O,_=y+D+w,z=m-N-K;"rtl"!==c.direction||(0,p.isIOS)()?z-=I:_+=I;let V=T<B||M>H,W=R<_||L>z;if(V&&"start"===r)l+=T-B;else if(V&&"center"===r)l+=(T+M)/2-(B+H)/2;else if(V&&"end"===r)l+=M-H;else if(V&&"nearest"===r){let e=T-B,t=M-H;l+=Math.abs(e)<=Math.abs(t)?e:t}if(W&&"start"===i)o+=R-_;else if(W&&"center"===i)o+=(R+L)/2-(_+z)/2;else if(W&&"end"===i)o+=L-z;else if(W&&"nearest"===i){let e=R-_,t=L-z;o+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:o,top:l})}function y(e,t={}){let{containingElement:n}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow){let{left:t,top:r}=e.getBoundingClientRect(),i=h(e,!0);for(let t of i)g(t,e);let{left:l,top:o}=e.getBoundingClientRect();if(Math.abs(t-l)>1||Math.abs(r-o)>1)for(let e of i=n?h(n,!0):[])g(e,n,{block:"center",inline:"center"})}else{let{left:t,top:r}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:i,top:l}=e.getBoundingClientRect();(Math.abs(t-i)>1||Math.abs(r-l)>1)&&(n?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}e.s(["scrollIntoView",()=>g,"scrollIntoViewport",()=>y],57036);
7var m=e.i(328544),v=e.i(574411),b=e.i(95831),C=e.i(102235);function E(e){let{keyboardDelegate:t,selectionManager:n,onTypeSelect:r}=e,i=(0,C.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var o;let s=1!==(o=e.key).length&&/^[A-Z]/i.test(o)?"":o;if(s&&!e.ctrlKey&&!e.metaKey&&(0,l.nodeContains)(e.currentTarget,(0,l.getEventTarget)(e))&&(0!==i.search.length||" "!==s)){if(" "===s&&i.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),i.search+=s,null!=t.getKeyForSearch){let e=t.getKeyForSearch(i.search,n.focusedKey);null==e&&(e=t.getKeyForSearch(i.search)),null!=e&&(n.setFocusedKey(e),r&&r(e))}clearTimeout(i.timeout),i.timeout=setTimeout(()=>{i.search=""},1e3)}}:void 0}}}e.s(["useTypeSelect",()=>E],118256);var S=e.i(338951);function x(e,t){let n=(0,C.useRef)(!0),r=(0,C.useRef)(null);(0,S.useLayoutEffect)(()=>(n.current=!0,()=>{n.current=!1}),[]),(0,S.useLayoutEffect)(()=>{n.current?n.current=!1:(!r.current||t.some((e,t)=>!Object.is(e,r[t])))&&e(),r.current=t},t)}var w=e.i(489118);function K(e){let f,{selectionManager:h,keyboardDelegate:p,ref:S,autoFocus:K=!1,shouldFocusWrap:P=!1,disallowEmptySelection:k=!1,disallowSelectAll:D=!1,escapeKeyBehavior:N="clearSelection",selectOnFocus:T="replace"===h.selectionBehavior,disallowTypeAhead:M=!1,shouldUseVirtualFocus:R,allowsTabNavigation:L=!1,scrollRef:F=S,linkBehavior:A="action"}=e,{direction:I}=(0,v.useLocale)(),O=(0,b.useRouter)(),B=(0,C.useRef)({top:0,left:0});(0,m.useEvent)(F,"scroll",()=>{B.current={top:F.current?.scrollTop??0,left:F.current?.scrollLeft??0}});let H=(0,C.useRef)(!1);(0,m.useEvent)(S,t.FOCUS_EVENT,R?e=>{let{detail:t}=e;e.stopPropagation(),h.setFocused(!0),t?.focusStrategy==="first"&&(H.current=!0)}:void 0),x(()=>{if(H.current){let e=p.getFirstKey?.()??null;if(null==e){let e=(0,l.getActiveElement)();(0,n.moveVirtualFocus)(S.current),(0,n.dispatchVirtualFocus)(e,null),h.collection.size>0&&(H.current=!1)}else h.setFocusedKey(e),H.current=!1}},[h.collection]),x(()=>{h.collection.size>0&&(H.current=!1)},[h.focusedKey]),(0,m.useEvent)(S,t.CLEAR_FOCUS_EVENT,R?e=>{e.stopPropagation(),h.setFocused(!1),e.detail?.clearFocusKey&&h.setFocusedKey(null)}:void 0);let _=(0,C.useRef)(K),z=(0,C.useRef)(!1);(0,C.useEffect)(()=>{if(_.current){let e=null;"first"===K&&(e=p.getFirstKey?.()??null),"last"===K&&(e=p.getLastKey?.()??null);let t=h.selectedKeys;if(t.size){for(let n of t)if(h.canSelectItem(n)){e=n;break}}h.setFocused(!0),h.setFocusedKey(e),null==e&&!R&&S.current&&(0,r.focusSafely)(S.current),h.collection.size>0&&(_.current=!1,z.current=!0)}});let V=(0,C.useRef)(h.focusedKey),W=(0,C.useRef)(null);(0,C.useEffect)(()=>{if(h.isFocused&&null!=h.focusedKey&&(h.focusedKey!==V.current||z.current)&&F.current&&S.current){let e=(0,s.getInteractionModality)(),t=(0,u.getItemElement)(S,h.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||z.current)&&(W.current&&cancelAnimationFrame(W.current),W.current=requestAnimationFrame(()=>{F.current&&(g(F.current,t),"virtual"!==e&&y(t,{containingElement:S.current}))}))}!R&&h.isFocused&&null==h.focusedKey&&null!=V.current&&S.current&&(0,r.focusSafely)(S.current),V.current=h.focusedKey,z.current=!1}),(0,C.useEffect)(()=>()=>{W.current&&cancelAnimationFrame(W.current)},[]),(0,m.useEvent)(S,"react-aria-focus-scope-restore",e=>{e.preventDefault(),h.setFocused(!0)});let U={onKeyDown:e=>{if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!S.current||!(0,l.nodeContains)(S.current,(0,l.getEventTarget)(e)))return;let t=(t,n)=>{if(null!=t){if(h.isLink(t)&&"selection"===A&&T&&!(0,u.isNonContiguousSelectionModifier)(e)){(0,w.flushSync)(()=>{h.setFocusedKey(t,n)});let r=(0,u.getItemElement)(S,t),i=h.getItemProps(t);r&&O.open(r,e,i.href,i.routerOptions);return}h.setFocusedKey(t,n),h.isLink(t)&&"override"===A||(e.shiftKey&&"multiple"===h.selectionMode?h.extendSelection(t):T&&!(0,u.isNonContiguousSelectionModifier)(e)&&h.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(p.getKeyBelow){let n=null!=h.focusedKey?p.getKeyBelow?.(h.focusedKey):p.getFirstKey?.();null==n&&P&&(n=p.getFirstKey?.(h.focusedKey)),null!=n&&(e.preventDefault(),t(n))}break;case"ArrowUp":if(p.getKeyAbove){let n=null!=h.focusedKey?p.getKeyAbove?.(h.focusedKey):p.getLastKey?.();null==n&&P&&(n=p.getLastKey?.(h.focusedKey)),null!=n&&(e.preventDefault(),t(n))}break;case"ArrowLeft":if(p.getKeyLeftOf){let n=null!=h.focusedKey?p.getKeyLeftOf?.(h.focusedKey):p.getFirstKey?.();null==n&&P&&(n="rtl"===I?p.getFirstKey?.(h.focusedKey):p.getLastKey?.(h.focusedKey)),null!=n&&(e.preventDefault(),t(n,"rtl"===I?"first":"last"))}break;case"ArrowRight":if(p.getKeyRightOf){let n=null!=h.focusedKey?p.getKeyRightOf?.(h.focusedKey):p.getFirstKey?.();null==n&&P&&(n="rtl"===I?p.getLastKey?.(h.focusedKey):p.getFirstKey?.(h.focusedKey)),null!=n&&(e.preventDefault(),t(n,"rtl"===I?"last":"first"))}break;case"Home":if(p.getFirstKey){if(null===h.focusedKey&&e.shiftKey)return;e.preventDefault();let t=p.getFirstKey(h.focusedKey,(0,a.isCtrlKeyPressed)(e));h.setFocusedKey(t),null!=t&&((0,a.isCtrlKeyPressed)(e)&&e.shiftKey&&"multiple"===h.selectionMode?h.extendSelection(t):T&&h.replaceSelection(t))}break;case"End":if(p.getLastKey){if(null===h.focusedKey&&e.shiftKey)return;e.preventDefault();let t=p.getLastKey(h.focusedKey,(0,a.isCtrlKeyPressed)(e));h.setFocusedKey(t),null!=t&&((0,a.isCtrlKeyPressed)(e)&&e.shiftKey&&"multiple"===h.selectionMode?h.extendSelection(t):T&&h.replaceSelection(t))}break;case"PageDown":if(p.getKeyPageBelow&&null!=h.focusedKey){let n=p.getKeyPageBelow(h.focusedKey);null!=n&&(e.preventDefault(),t(n))}break;case"PageUp":if(p.getKeyPageAbove&&null!=h.focusedKey){let n=p.getKeyPageAbove(h.focusedKey);null!=n&&(e.preventDefault(),t(n))}break;case"a":(0,a.isCtrlKeyPressed)(e)&&"multiple"===h.selectionMode&&!0!==D&&(e.preventDefault(),h.selectAll());break;case"Escape":"clearSelection"!==N||k||0===h.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),h.clearSelection());break;case"Tab":if(!L)if(e.shiftKey)S.current.focus();else{let e,t,n=(0,o.getFocusableTreeWalker)(S.current,{tabbable:!0});do(t=n.lastChild())&&(e=t);while(t)let r=(0,l.getActiveElement)();e&&(!(0,l.isFocusWithin)(e)||r&&!(0,c.isTabbable)(r))&&(0,i.focusWithoutScrolling)(e)}}},onFocus:e=>{if(h.isFocused){(0,l.nodeContains)(e.currentTarget,(0,l.getEventTarget)(e))||h.setFocused(!1);return}if((0,l.nodeContains)(e.currentTarget,(0,l.getEventTarget)(e))){if(h.setFocused(!0),null==h.focusedKey){let t=e=>{null!=e&&(h.setFocusedKey(e),T&&!h.isSelected(e)&&h.replaceSelection(e))},n=e.relatedTarget;n&&e.currentTarget.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING?t(h.lastSelectedKey??p.getLastKey?.()):t(h.firstSelectedKey??p.getFirstKey?.())}else F.current&&(F.current.scrollTop=B.current.top,F.current.scrollLeft=B.current.left);if(null!=h.focusedKey&&F.current){let e=(0,u.getItemElement)(S,h.focusedKey);e instanceof HTMLElement&&((0,l.isFocusWithin)(e)||R||(0,i.focusWithoutScrolling)(e),"keyboard"===(0,s.getInteractionModality)()&&y(e,{containingElement:S.current}))}}},onBlur:e=>{(0,l.nodeContains)(e.currentTarget,e.relatedTarget)||h.setFocused(!1)},onMouseDown(e){F.current===(0,l.getEventTarget)(e)&&e.preventDefault()}}
7,{typeSelectProps:j}=E({keyboardDelegate:p,selectionManager:h});M||(U=(0,d.mergeProps)(j,U)),R||(f=null==h.focusedKey?0:-1);let $=(0,u.useCollectionId)(h.collection);return{collectionProps:(0,d.mergeProps)(U,{tabIndex:f,"data-collection":$})}}e.s(["useSelectableCollection",()=>K],669384)},648758,569070,982985,93237,241194,e=>{"use strict";e.i(179639);var t=e.i(251919),n=e.i(495572),r=e.i(750303),i=e.i(669384),l=e.i(674812);class o{constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return null;let n=null!=e?(0,l.getItemElement)(this.ref,e):null;if(!n)return null;let r=t.getBoundingClientRect(),i=n.getBoundingClientRect();return{x:i.left-r.left-t.clientLeft+t.scrollLeft,y:i.top-r.top-t.clientTop+t.scrollTop,width:i.width,height:i.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}}var s=e.i(591519);class u{constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new o(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new o(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let n=e;for(;null!=n;){let e=this.collection.getItem(n);if(e?.type==="item"&&!this.isDisabled(e))return n;n=t(n)}return null}getNextKey(e){let t=e;return t=this.collection.getKeyAfter(t),this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getPreviousKey(e){let t=e;return t=this.collection.getKeyBefore(t),this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}findKey(e,t,n){let r=e,i=this.layoutDelegate.getItemRect(r);if(!i||null==r)return null;let l=i;do{if(null==(r=t(r)))break;i=this.layoutDelegate.getItemRect(r)}while(i&&n(l,i)&&null!=r)return r}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}getKeyBelow(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(e)}getKeyAbove(e){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(e)}getNextColumn(e,t){return t?this.getPreviousKey(e):this.getNextKey(e)}getKeyRightOf(e){let t="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";if(this.layoutDelegate[t])return e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e));if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"rtl"===this.direction);else return this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction):null}getKeyLeftOf(e){let t="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";if(this.layoutDelegate[t])return e=this.layoutDelegate[t](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[t](e));if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"ltr"===this.direction);else return this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);
7if(!n)return null;if(t&&!(0,s.isScrollable)(t))return this.getFirstKey();let r=e;if("horizontal"===this.orientation){let e=Math.max(0,n.x+n.width-this.layoutDelegate.getVisibleRect().width);for(;n&&n.x>e&&null!=r;)n=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}else{let e=Math.max(0,n.y+n.height-this.layoutDelegate.getVisibleRect().height);for(;n&&n.y>e&&null!=r;)n=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}return r??this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,n=this.layoutDelegate.getItemRect(e);if(!n)return null;if(t&&!(0,s.isScrollable)(t))return this.getLastKey();let r=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,n.x-n.width+this.layoutDelegate.getVisibleRect().width);for(;n&&n.x<e&&null!=r;)n=null==(r=this.getKeyBelow(r))?null:this.layoutDelegate.getItemRect(r)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,n.y-n.height+this.layoutDelegate.getVisibleRect().height);for(;n&&n.y<e&&null!=r;)n=null==(r=this.getKeyBelow(r))?null:this.layoutDelegate.getItemRect(r)}return r??this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let n=this.collection,r=t||this.getFirstKey();for(;null!=r;){let t=n.getItem(r);if(!t)break;let i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,e))return r;r=this.getNextKey(r)}return null}}e.s(["ListKeyboardDelegate",()=>u],569070);var a=e.i(574411);let c=new Map;function d(e){let{locale:t}=(0,a.useLocale)(),n=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(c.has(n))return c.get(n);let r=new Intl.Collator(t,e);return c.set(n,r),r}e.s(["useCollator",()=>d],982985);var f=e.i(102235);function h(e){let{selectionManager:t,collection:n,disabledKeys:r,ref:l,keyboardDelegate:o,layoutDelegate:s,orientation:a}=e,c=d({usage:"search",sensitivity:"base"}),h=t.disabledBehavior,p=(0,f.useMemo)(()=>o||new u({collection:n,disabledKeys:r,disabledBehavior:h,ref:l,collator:c,layoutDelegate:s,orientation:a}),[o,s,n,r,l,c,h,a]),{collectionProps:g}=(0,i.useSelectableCollection)({...e,ref:l,selectionManager:t,keyboardDelegate:p});return{listProps:g}}function p(e,i,l){let{shouldFocusWrap:o=!0,onKeyDown:s,onKeyUp:u,...a}=e,c=(0,t.filterDOMProps)(e,{labelable:!0}),{listProps:d}=h({...a,ref:l,selectionManager:i.selectionManager,collection:i.collection,disabledKeys:i.disabledKeys,shouldFocusWrap:o,linkBehavior:"override"});return n.menuData.set(i,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:(0,r.mergeProps)(c,{onKeyDown:s,onKeyUp:u},{role:"menu",...d,onKeyDown:t=>{("Escape"!==t.key||e.shouldUseVirtualFocus)&&d.onKeyDown?.(t)}})}}e.s(["useSelectableList",()=>h],93237),e.s(["useMenu",()=>p],648758);var g=e.i(325936);function y(e){let{heading:t,"aria-label":n}=e,r=(0,g.useId)();return{itemProps:{role:"presentation"},headingProps:t?{id:r,role:"presentation"}:{},groupProps:{role:"group","aria-label":n,"aria-labelledby":t?r:void 0}}}e.s(["useMenuSection",()=>y],241194)},898304,e=>{"use strict";var t=e.i(961981),n=e.i(842617),r=e.i(331746),i=e.i(674812),l=e.i(898823),o=e.i(750303),s=e.i(24123),u=e.i(95831),a=e.i(142121),c=e.i(325936),d=e.i(433973),f=e.i(102235);function h(e){let{id:h,selectionManager:p,key:g,ref:y,shouldSelectOnPressUp:m,shouldUseVirtualFocus:v,focus:b,isDisabled:C,onAction:E,allowsDifferentPressOrigin:S,linkBehavior:x="action"}=e,w=(0,u.useRouter)();h=(0,c.useId)(h);let K=e=>{if("keyboard"===e.pointerType&&(0,i.isNonContiguousSelectionModifier)(e))p.toggleSelection(g);else{if("none"===p.selectionMode)return;if(p.isLink(g)){if("selection"===x&&y.current){let t=p.getItemProps(g);w.open(y.current,e,t.href,t.routerOptions),p.setSelectedKeys(p.selectedKeys);return}else if("override"===x||"none"===x)return}"single"===p.selectionMode?p.isSelected(g)&&!p.disallowEmptySelection?p.toggleSelection(g):p.replaceSelection(g):e&&e.shiftKey?p.extendSelection(g):"toggle"===p.selectionBehavior||e&&((0,l.isCtrlKeyPressed)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?p.toggleSelection(g):p.replaceSelection(g)}};(0,f.useEffect)(()=>{g===p.focusedKey&&p.isFocused&&(v?(0,s.moveVirtualFocus)(y.current):b?b():(0,r.getActiveElement)()!==y.current&&y.current&&(0,n.focusSafely)(y.current))},[y,g,p.focusedKey,p.childFocusStrategy,p.isFocused,v]),C=C||p.isDisabled(g);let P={};v||C?C&&(P.onMouseDown=e=>{e.preventDefault()}):P={tabIndex:g===p.focusedKey?0:-1,onFocus(e){(0,r.getEventTarget)(e)===y.current&&p.setFocusedKey(g)}},(0,f.useEffect)(()=>{C&&p.focusedKey===g&&p.setFocusedKey(null)},[p,C,g]);let k=p.isLink(g)&&"override"===x,D=E&&"action"===e.UNSTABLE_itemBehavior,N=p.isLink(g)&&"selection"!==x&&"none"!==x,T=!C&&p.canSelectItem(g)&&!k&&!D,M=(E||N)&&!C,R=M&&("replace"===p.selectionBehavior?!T:!T||p.isEmpty),L=M&&T&&"replace"===p.selectionBehavior,F=R||L,A=(0,f.useRef)(null),I=F&&T,O=(0,f.useRef)(!1),B=(0,f.useRef)(!1),H=p.getItemProps(g),_=e=>{E&&(E(),y.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),N&&y.current&&w.open(y.current,e,H.href,H.routerOptions)},z={ref:y};if(m?(z.onPressStart=e=>{A.current=e.pointerType,O.current=I,"keyboard"!==e.pointerType||F&&" "!==e.key||K(e)},S?(z.onPressUp=R?void 0:e=>{"mouse"===e.pointerType&&T&&K(e)},z.onPress=R?_:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&T&&K(e)}):z.onPress=e=>{R||L&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&_(e):"keyboard"!==e.pointerType&&T&&K(e)}):(z.onPressStart=e=>{A.current=e.pointerType,O.current=I,B.current=R,!T||("mouse"!==e.pointerType||R)&&("keyboard"!==e.pointerType||M&&" "!==e.key)||K(e)},z.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"ke
7yboard"===e.pointerType&&F&&"Enter"===e.key||"mouse"===e.pointerType&&B.current)&&(F?_(e):T&&K(e))}),P["data-collection"]=(0,i.getCollectionId)(p.collection),P["data-key"]=g,z.preventFocusOnPress=v,v&&(z=(0,o.mergeProps)(z,{onPressStart(e){"touch"!==e.pointerType&&(p.setFocused(!0),p.setFocusedKey(g))},onPress(e){"touch"===e.pointerType&&(p.setFocused(!0),p.setFocusedKey(g))}})),H)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])H[e]&&(z[e]=(0,t.chain)(z[e],H[e]));let{pressProps:V,isPressed:W}=(0,a.usePress)(z),U=L?e=>{"mouse"===A.current&&(e.stopPropagation(),e.preventDefault(),_(e))}:void 0,{longPressProps:j}=(0,d.useLongPress)({isDisabled:!I,onLongPress(e){"touch"===e.pointerType&&(K(e),p.setSelectionBehavior("toggle"))}}),$="none"!==x&&p.isLink(g)?e=>{u.openLink.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,o.mergeProps)(P,T||R||v&&!C?V:{},I?j:{},{onDoubleClick:U,onDragStartCapture:e=>{"touch"===A.current&&O.current&&e.preventDefault()},onClick:$,id:h},v?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:W,isSelected:p.isSelected(g),isFocused:p.isFocused&&p.focusedKey===g,isDisabled:C,allowsSelection:T,hasAction:F}}e.s(["useSelectableItem",()=>h])},542259,e=>{"use strict";function t(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function n(e){var t=e;!1;let n=0;for(let e of t){if(0===n)return e;n++}}function r(e,t,n){if(t.parentKey===n.parentKey)return t.index-n.index;let r=[...i(e,t),t],l=[...i(e,n),n],o=r.slice(0,l.length).findIndex((e,t)=>e!==l[t]);return -1!==o?(t=r[o],n=l[o],t.index-n.index):r.findIndex(e=>e===n)>=0?1:(l.findIndex(e=>e===t),-1)}function i(e,t){let n=[],r=t;for(;r?.parentKey!=null;)(r=e.getItem(r.parentKey))&&n.unshift(r);return n}e.s(["compareNodeOrder",()=>r,"getChildNodes",()=>t,"getFirstItem",()=>n])},824161,865542,e=>{"use strict";var t=e.i(251919),n=e.i(331746),r=e.i(95831),i=e.i(44468),l=e.i(495572),o=e.i(750303),s=e.i(626900),u=e.i(573735),a=e.i(774443),c=e.i(142121),d=e.i(898304),f=e.i(325936),h=e.i(542259);let p=new WeakMap;function g(e){let t=p.get(e);if(null!=t)return t;let n=0,r=t=>{for(let i of t)"section"===i.type?r((0,h.getChildNodes)(i,e)):"item"===i.type&&n++};return r(e),p.set(e,n),n}e.s(["getItemCount",()=>g],865542);var y=e.i(102235);function m(e,h,p){let{id:m,key:v,closeOnSelect:b,shouldCloseOnSelect:C,isVirtualized:E,"aria-haspopup":S,onPressStart:x,onPressUp:w,onPress:K,onPressChange:P,onPressEnd:k,onClick:D,onHoverStart:N,onHoverChange:T,onHoverEnd:M,onKeyDown:R,onKeyUp:L,onFocus:F,onFocusChange:A,onBlur:I,selectionManager:O=h.selectionManager}=e,B=!!S,H=B&&"true"===e["aria-expanded"],_=e.isDisabled??O.isDisabled(v),z=e.isSelected??O.isSelected(v),V=l.menuData.get(h),W=h.collection.getItem(v),U=e.onClose||V.onClose,j=(0,r.useRouter)(),$="menuitem";B||("single"===O.selectionMode?$="menuitemradio":"multiple"===O.selectionMode&&($="menuitemcheckbox"));let q=(0,f.useSlotId)(),G=(0,f.useSlotId)(),Z=(0,f.useSlotId)(),J={id:m,"aria-disabled":_||void 0,role:$,"aria-label":e["aria-label"],"aria-labelledby":q,"aria-describedby":[e["aria-describedby"],G,Z].filter(Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":S,"aria-expanded":e["aria-expanded"]};if("none"===O.selectionMode||B||(J["aria-checked"]=z),E){let e=Number(W?.index);J["aria-posinset"]=Number.isNaN(e)?void 0:e+1,J["aria-setsize"]=g(h.collection)}let Y=(0,y.useRef)(!1),X=(0,y.useRef)(null),{itemProps:Q,isFocused:ee}=(0,d.useSelectableItem)({id:m,selectionManager:O,key:v,ref:p,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:V.shouldUseVirtualFocus}),{pressProps:et,isPressed:en}=(0,c.usePress)({onPressStart:x,onPress:K,onPressUp:e=>{"keyboard"!==e.pointerType&&(X.current={pointerType:e.pointerType}),"mouse"!==e.pointerType||Y.current||e.target.click(),w?.(e)},onPressChange:e=>{P?.(e),Y.current=e},onPressEnd:k,isDisabled:_}),{hoverProps:er}=(0,u.useHover)({isDisabled:_,onHoverStart(e){(0,i.isFocusVisible)()||H&&S||(O.setFocused(!0),O.setFocusedKey(v)),N?.(e)},onHoverChange:T,onHoverEnd:M}),{keyboardProps:ei}=(0,a.useKeyboard)({onKeyDown:e=>{if(e.repeat)return void e.continuePropagation();switch(e.key){case" ":X.current={pointerType:"keyboard",key:" "},(0,n.getEventTarget)(e).click(),(0,i.setInteractionModality)("keyboard");break;case"Enter":X.current={pointerType:"keyboard",key:"Enter"},"A"!==(0,n.getEventTarget)(e).tagName&&(0,n.getEventTarget)(e).click(),(0,i.setInteractionModality)("keyboard");break;default:B||e.continuePropagation(),R?.(e)}},onKeyUp:L}),{focusableProps:el}
7=(0,s.useFocusable)({onBlur:I,onFocus:F,onFocusChange:A},p),eo=(0,t.filterDOMProps)(W?.props);delete eo.id;let es=(0,r.useLinkProps)(W?.props);return{menuItemProps:{...J,...(0,o.mergeProps)(eo,es,B?{onFocus:Q.onFocus,"data-collection":Q["data-collection"],"data-key":Q["data-key"]}:Q,et,er,ei,el,V.shouldUseVirtualFocus||B?{onMouseDown:e=>e.preventDefault()}:void 0,_?void 0:{onClick:t=>{D?.(t),!B&&(W?.props?.onAction?W.props.onAction():e.onAction&&e.onAction(v),V.onAction&&(0,V.onAction)(v)),(0,r.handleLinkClick)(t,j,W.props.href,W?.props.routerOptions);let n=X.current?.pointerType==="keyboard"?X.current?.key==="Enter"||"none"===O.selectionMode||O.isLink(v):"multiple"!==O.selectionMode||O.isLink(v);n=C??b??n,U&&!B&&n&&U(),X.current=null}}),tabIndex:null!=Q.tabIndex&&H&&!V.shouldUseVirtualFocus?-1:Q.tabIndex},labelProps:{id:q},descriptionProps:{id:G},keyboardShortcutProps:{id:Z},isFocused:ee,isFocusVisible:ee&&O.isFocused&&(0,i.isFocusVisible)()&&!H,isSelected:z,isPressed:en,isDisabled:_}}e.s(["useMenuItem",()=>m],824161)},946136,e=>{"use strict";var t=e.i(355960),n=e.i(102235);function r(e){let r=(0,t.useOverlayTriggerState)(e),[i,l]=(0,n.use
7State)(null),[o,s]=(0,n.useState)([]);return{focusStrategy:i,...r,open(e=null){l(e),r.open()},toggle(e=null){l(e),r.toggle()},close(){s([]),r.close()},expandedKeysStack:o,openSubmenu:(e,t)=>{s(n=>t>n.length?n:[...n.slice(0,t),e])},closeSubmenu:(e,t)=>{s(n=>n[t]===e?n.slice(0,t):n)}}}e.s(["useMenuTriggerState",()=>r])},325126,e=>{"use strict";var t=e.i(102235);function n(e,n){let{triggerKey:r}=e,{expandedKeysStack:i,openSubmenu:l,closeSubmenu:o,close:s}=n,[u]=(0,t.useState)(i?.length),a=(0,t.useMemo)(()=>i[u]===r,[i,r,u]),[c,d]=(0,t.useState)(null),f=(0,t.useCallback)(e=>{d(e??null),l(r,u)},[l,u,r]),h=(0,t.useCallback)(()=>{d(null),o(r,u)},[o,u,r]),p=(0,t.useCallback)(e=>{d(e??null),a?h():f(e)},[h,f,a]);return(0,t.useMemo)(()=>({focusStrategy:c,isOpen:a,open:f,close:h,closeAll:s,submenuLevel:u,setOpen:()=>{},toggle:p}),[a,f,h,s,c,p,u])}e.s(["useSubmenuTriggerState",()=>n])},871984,e=>{"use strict";class t extends Set{constructor(e,n,r){super(e),e instanceof t?(this.anchorKey=n??e.anchorKey,this.currentKey=r??e.currentKey):(this.anchorKey=n??null,this.currentKey=r??null)}}e.s(["Selection",()=>t])},962432,e=>{"use strict";var t=e.i(542259),n=e.i(871984);class r{constructor(e,t,n){this.collection=e,this.state=t,this.allowsCellSelection=n?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=n?.layoutDelegate||null,this.fullCollection=n?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if("none"===this.state.selectionMode)return!1;let t=this.getKey(e);return null!=t&&("all"===this.state.selectedKeys?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&0>(0,t.compareNodeOrder)(this.collection,r,e))&&(e=r)}return e?.key??null}get lastSelectedKey(){let e=null;for(let n of this.state.selectedKeys){let r=this.collection.getItem(n);(!e||r&&(0,t.compareNodeOrder)(this.collection,r,e)>0)&&(e=r)}return e?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let r=this.getKey(e);if(null!=r){if("all"===this.state.selectedKeys)t=new(0,n.Selection)([r],r,r);else{let e=this.state.selectedKeys,i=e.anchorKey??r;for(let l of(t=new(0,n.Selection)(e,i,r),this.getKeyRange(i,e.currentKey??r)))t.delete(l);for(let e of this.getKeyRange(r,i))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,n){let r=this.collection.getItem(e),i=this.collection.getItem(n);return r&&i?0>=(0,t.compareNodeOrder)(this.collection,r,i)?this.getKeyRangeInternal(e,n):this.getKeyRangeInternal(n,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let n=[],r=e;for(;null!=r;){let e=this.collection.getItem(r);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&n.push(r),r===t)return n;r=this.collection.getKeyAfter(r)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;t&&"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);let t=this.getKey(e);if(null==t)return;let r=new(0,n.Selection)("all"===this.state.selectedKeys?this.get
7SelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),this.disallowEmptySelection&&0===r.size||this.state.setSelectedKeys(r)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let r=this.canSelectItem(t)?new(0,n.Selection)([t],t,t):new(0,n.Selection);this.state.setSelectedKeys(r)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new(0,n.Selection);for(let n of e){let e=this.getKey(n);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=this.fullCollection??this.collection,n=[],r=i=>{for(;null!=i;){if(this.canSelectItemIn(i,e)){let l=e.getItem(i);l?.type==="item"&&n.push(i),l?.hasChildNodes&&(this.allowsCellSelection||"item"!==l.type)&&r((0,t.getFirstItem)((0,t.getChildNodes)(l,e))?.key??null)}i=e.getKeyAfter(i)}};return r(e.getFirstKey()),n}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new(0,n.Selection))}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;for(let n of t)if(!e.has(n))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let n=t.getItem(e);return!(!n||n?.props?.isDisabled)&&("cell"!==n.type||!!this.allowsCellSelection)}isDisabled(e){return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled)}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(e){return new r(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}e.s(["SelectionManager",()=>r])},686943,e=>{"use strict";class t{constructor(e,{expandedKeys:t}={}){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e,t=t||new Set;let n=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&("section"===e.type||t.has(e.key)))for(let t of e.childNodes)n(t)};for(let t of e)n(t);let r=null,i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=i++),(r=t).nextKey=void 0;this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}}e.s(["TreeCollection",()=>t])},333803,e=>{"use strict";var t=e.i(102235);class n{build(e,t){return this.context=t,r(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:n,items:r}=e;if(t.default.isValidElement(n)&&n.type===t.default.Fragment)yield*this.iterateCollection({children:n.props.children,items:r});else if("function"==typeof n){if(!r)throw Error("props.children was a function but props.items is missing");let e=0;for(let t of r)yield*this.getFullNode({value:t,index:e},{renderer:n}),e++}else{let e=[];t.default.Children.forEach(n,t=>{t&&e.push(t)});let r=0;for(let t of e)for(let e of this.getFullNode({element:t,index:r},{}))r++,yield e}}getKey(e,t,n,r){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${r}${t.key}`;let i=t.value;if(null!=i){let e=i.key??i.id;if(null==e)throw Error("No key found for item");return e}return r?`${r}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,n,l,o){if(t.default.isValidElement(e.element)&&e.element.type===t.default.Fragment){let r=[];
7t.default.Children.forEach(e.element.props.children,e=>{r.push(e)});let i=e.index??0;for(let e of r)yield*this.getFullNode({element:e,index:i++},n,l,o);return}let s=e.element;if(!s&&e.value&&n&&n.renderer){let t=this.cache.get(e.value);if(t&&(!t.shouldInvalidate||!t.shouldInvalidate(this.context))){t.index=e.index,t.parentKey=o?o.key:null,yield t;return}s=n.renderer(e.value)}if(t.default.isValidElement(s)){let t=s.type;if("function"!=typeof t&&"function"!=typeof t.getCollectionNode){let e=s.type;throw Error(`Unknown element <${e}> in collection.`)}let r=t.getCollectionNode(s.props,this.context),u=e.index??0,a=r.next();for(;!a.done&&a.value;){let t=a.value;e.index=u;let c=t.key??null;null==c&&(c=t.element?null:this.getKey(s,e,n,l));let d=[...this.getFullNode({...t,key:c,index:u,wrapper:function(e,t){return e&&t?n=>e(t(n)):e||t||void 0}(e.wrapper,t.wrapper)},this.getChildState(n,t),l?`${l}${s.key}`:s.key,o)];for(let n of d){if(n.value=t.value??e.value??null,n.value&&this.cache.set(n.value,n),e.type&&n.type!==e.type)throw Error(`Unsupported type <${i(n.type)}> in <${i(o?.type??"unknown parent type")}>. Only <${i(e.type)}> is supported.`);u++,yield n}a=r.next(d)}return}if(null==e.key||null==e.type)return;let u=this,a={type:e.type,props:e.props,key:e.key,parentKey:o?o.key:null,value:e.value??null,level:(o?.level??0)+ +(o?.type==="item"),index:e.index,rendered:e.rendered,textValue:e.textValue??"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:r(function*(){if(!e.hasChildNodes||!e.childNodes)return;let t=0;for(let r of e.childNodes())for(let e of(null!=r.key&&(r.key=`${a.key}${r.key}`),u.getFullNode({...r,index:t},u.getChildState(n,r),a.key,a)))t++,yield e})};yield a}constructor(){this.cache=new WeakMap}}function r(e){let t=[],n=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let r of(n||(n=e()),n))t.push(r),yield r}}}function i(e){return e[0].toUpperCase()+e.slice(1)}function l(e,r,i){let l=(0,t.useMemo)(()=>new n,[]),{children:o,items:s,collection:u}=e;return(0,t.useMemo)(()=>u||r(l.build({children:o,items:s},i)),[l,o,s,u,i,r])}e.s(["useCollection",()=>l],333803)},944456,e=>{"use strict";var t=e.i(871984),n=e.i(79796),r=e.i(102235);function i(e){let{selectionMode:i="none",disallowEmptySelection:o=!1,allowDuplicateSelectionEvents:s,selectionBehavior:u="toggle",disabledBehavior:a="all"}=e,c=(0,r.useRef)(!1),[,d]=(0,r.useState)(!1),f=(0,r.useRef)(null),h=(0,r.useRef)(null),[,p]=(0,r.useState)(null),g=(0,r.useMemo)(()=>l(e.selectedKeys),[e.selectedKeys]),y=(0,r.useMemo)(()=>l(e.defaultSelectedKeys,new(0,t.Selection)),[e.defaultSelectedKeys]),[m,v]=(0,n.useControlledState)(g,y,e.onSelectionChange),b=(0,r.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[C,E]=(0,r.useState)(u);"replace"===u&&"toggle"===C&&"object"==typeof m&&0===m.size&&E("replace");let S=(0,r.useRef)(u);return(0,r.useEffect)(()=>{u!==S.current&&(E(u),S.current=u)},[u]),{selectionMode:i,disallowEmptySelection:o,selectionBehavior:C,setSelectionBehavior:E,get isFocused(){return c.current},setFocused(e){c.current=e,d(e)},get focusedKey(){return f.current},get childFocusStrategy(){return h.current},setFocusedKey(e,t="first"){f.current=e,h.current=t,p(e)},selectedKeys:m,setSelectedKeys(e){(s||!function(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}(e,m))&&v(e)},disabledKeys:b,disabledBehavior:a}}function l(e,n){return e?"all"===e?"all":new(0,t.Selection)(e):n}e.s(["useMultipleSelectionState",()=>i])},463604,e=>{"use strict";e.s(["Menu",()=>V,"MenuItem",()=>q,"MenuTrigger",()=>B,"RootMenuTriggerStateContext",()=>I,"SubmenuTrigger",()=>z],463604);var t=e.i(463004),n=e.i(462460),r=e.i(852498),i=e.i(218166),l=e.i(466026),o=e.i(764947),s=e.i(31961),u=e.i(650619),a=e.i(484665),c=e.i(916351),d=e.i(816039),f=e.i(970766),h=e.i(451968),p=e.i(648758),g=e.i(241194),y=e.i(824161),m=e.i(272464),v=e.i(946136),b=e.i(325126),C=e.i(625866),E=e.i(251919),S=e.i(994959),x=e.i(750303),w=e.i(694074),K=e.i(102235),P=e.i(962432),k=e.i(686943),D=e.i(333803),N=e.i(79796),T=e.i(944456),M=e.i(573735),R=e.i(452142),L=e.i(271062);let F=(0,K.createContext)(null),A=(0,K.createContext)(null),I=(0,K.createContext)(null),O=(0,K.createContext)(null);function B(e){let n=(0,v.useMenuTriggerState)(e),r=(0,K.useRef)(null),{menuTriggerProps:i,menuProps:l}=(0,f.useMenuTrigger)({...e,type:"menu"},n,r),[u,a]=(0,K.useState)(null),c=(0,K.useCallback)(()=>{r.current&&a(r.current.offsetWidth+"px")},[r]);(0,L.useResizeObserver)({ref:r,onResize:c});let d=(0,K.useRef)(null);return K.default.createElement(t.Provider,{values:[[F,{...l,ref:d}],[o.OverlayTriggerStateContext,n],[I,n],[s.PopoverContext,{trigger:"MenuTrigger",triggerRef:r,scrollRef:d,placement:"bottom start",style:{"--trigger-width":u},"aria-labelledby":l["aria-labelledby"]}]]},K.default.createElement(w.PressResponder,{...i,ref:r,isPressed:n.isOpen},e.children))}let H=(0,K.createContext)(null);class _ extends m.CollectionNode{static{this.type="submenutrigger"}filter(e,t,n){let r=e.getItem(this.firstChildKey);if(r&&n(r.textValue,this)){let n=this.clone();return t.addDescendants(n,e),n}return null}}let z=(0,C.createBranchComponent)(_,(e,r,i)=>{let{CollectionBranch:l}=(0,K.useContext)(n.CollectionRendererContext),u=(0,K.useContext)(A),a=(0,K.useContext)(I),c=(0,b.useSubmenuTriggerState)({triggerKey:i.key},a),d=(0,K.useRef)(null),f=(0,R.useObjectRef)(r),{parentMenuRef:p,shouldUseVirtualFocus:g}=(0,K.useContext)(H),{submenuTriggerProps:y,submenuProps:m,popoverProps:v}=(0,h.useSubmenuTrigger)({parentMenuRef:p,submenuRef:d,delay:e.delay,shouldUseVirtualFocus:g},c,f);return K.default.createElement(t.Provider,{values:[[$,{...y,onAction:void 0,ref:f}],[F,{ref:d,...m}],[o.OverlayTriggerStateContext,c],[s.PopoverContext,{trigger:"SubmenuTrigger",triggerRef:f,placement:"end top","aria-labelledby":m["aria-labelledby"],...v}]]},K.default.createElement(l,{collection:u.collection,parent:i}),e.children[1])},e=>e.children[0]),V=(0,K.forwardRef)(function(e,n){return[e,n]=(0,t.useContextProps)(e,n,F),K.default.createElement(C.CollectionBuilder,{content:K.default.createElement(C.Collection,e)},t=>K.default.createElement(W,{props:e,collection:t,menuRef:n}))});function W({props:e,collection:i,menuRef:l}){[e,l]=(0,t.useContextProps)(e,l,r.SelectableCollectionContext);let{filter:o,...s}=e,u=(0,K.useMemo)(()=>o?i.filter(o):i,[i,o]),d=function(e){let{onExpandedChange:t}=e,[n,r]=(0,N.useControlledState)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),i=(0,T.useMultipleSelectionState)(e),l=(0,K.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),o=(0,D.useCollection)(e,(0,K.useCallback)(e=>new(0,k.TreeCollection)(e,{expandedKeys:n}),[n]),null);return(0,K.useEffect)(()=>{null==i.focusedKey||o.getItem(i.focusedKey)||i.setFocusedKey(null)},[o,i.focusedKey]),{collection:o,expandedKeys:n,disabledKeys:l,toggleKey:e=>{var t,i;let l;r((t=n,i=e,(l=new Set(t)).has(i)?l.delete(i):l.add(i),l))},setExpandedKeys:r,selectionManager:new(0,P.SelectionManager)(o,i)}}({...e,collection:u,children:void 0}),f=(0,K.useContext)(I),{isVirtualized:h,CollectionRoot:g}=(0,K.useContext)(n.CollectionRendererContext),{menuProps:y}=(0,p.useMenu)({...e,isVirtualized:h,onClose:e.onClose||f?.close},d,l),m=(0,t.useRenderProps)({...e,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:0===d.collection.size}}),b=null;0===d.collection.size&&e.renderEmptyState&&(b=K.default.createElement("div",{role:"menuitem",style:{display:"contents"}},e.renderEmptyState()));let C=(0,E.filterDOMProps)(e,{global:!0});return K.default.createElement(S.FocusScope,null,K.default.createElement(t.dom.div,{...(0,x.mergeProps)(C,m,y),ref:l,slot:e.slot||void 0,"data-empty":0===d.collection.size||void 0,onScroll:e.onScroll},K.default.createElement(t.Provider,{values:[[A,d],[a.SeparatorContext,{elementType:"div"}],[n.SectionContext,{name:"MenuSection",render:j}],[H,{parentMenuRef:l,shouldUseVirtualFocus:s?.shouldUseVirtualFocus}],[$,{shouldCloseOnSelect:e.shouldCloseOnSelect}],[r.SelectableCollectionContext,null],[r.FieldInputContext,null],[O,d.selectionManager],[I,f??(0,v.useMenuTriggerState)({})]]},K.default.createElement(c.SharedElementTransition,null,K.default.createElement(g,{collection:d.collection,persistedKeys:(0,n.usePersistedKeys)(d.selectionManager.focusedKey),scrollRef:l}))),b))}class U extends P.SelectionManager{constructor(e,t){super(e.collection,t),this.parent=e}get focusedKey(){return this.parent.focusedKey}
7get isFocused(){return this.parent.isFocused}setFocusedKey(e,t){return this.parent.setFocusedKey(e,t)}setFocused(e){this.parent.setFocused(e)}get childFocusStrategy(){return this.parent.childFocusStrategy}}function j(e,r,l,o="react-aria-MenuSection"){let s=(0,K.useContext)(A),{CollectionBranch:u}=(0,K.useContext)(n.CollectionRendererContext),[a,c]=(0,t.useSlot)(),{headingProps:d,groupProps:f}=(0,g.useMenuSection)({heading:c,"aria-label":l.props["aria-label"]??void 0}),h=(0,t.useRenderProps)({...e,id:void 0,children:void 0,defaultClassName:o,className:l.props?.className,style:l.props?.style,values:void 0}),p=(0,K.useContext)(O),y=(0,T.useMultipleSelectionState)(e),m=null!=e.selectionMode?new U(p,y):p,v=(0,t.useSlottedContext)($)?.shouldCloseOnSelect,b=(0,E.filterDOMProps)(e,{global:!0});return delete b.id,K.default.createElement(t.dom.section,{...(0,x.mergeProps)(b,h,f),ref:r},K.default.createElement(t.Provider,{values:[[i.HeaderContext,{...d,ref:a}],[O,m],[$,{shouldCloseOnSelect:e.shouldCloseOnSelect??v}]]},K.default.createElement(u,{collection:s.collection,parent:l})))}m.SectionNode;let $=(0,K.createContext)(null),q=(0,C.createLeafComponent)(m.ItemNode,function(e,r,i){[e,r]=(0,t.useContextProps)(e,r,$);let o=(0,t.useSlottedContext)($)?.id,s=(0,K.useContext)(A),a=(0,R.useObjectRef)(r),c=(0,K.useContext)(O),{isVirtualized:f}=(0,K.useContext)(n.CollectionRendererContext),{menuItemProps:h,labelProps:p,descriptionProps:g,keyboardShortcutProps:m,...v}=(0,y.useMenuItem)({...e,id:o,key:i.key,selectionManager:c,isVirtualized:f},s,a),{hoverProps:b,isHovered:C}=(0,M.useHover)({isDisabled:v.isDisabled}),S=(0,t.useRenderProps)({...e,id:void 0,children:i.rendered,defaultClassName:"react-aria-MenuItem",values:{...v,isHovered:C,isFocusVisible:v.isFocusVisible,selectionMode:c.selectionMode,selectionBehavior:c.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:"true"===e["aria-expanded"]}}),w=e.href?t.dom.a:t.dom.div,P=(0,E.filterDOMProps)(e,{global:!0});return delete P.id,delete P.onClick,K.default.createElement(w,{...(0,x.mergeProps)(P,S,h,b),ref:a,"data-disabled":v.isDisabled||void 0,"data-hovered":C||void 0,"data-focused":v.isFocused||void 0,"data-focus-visible":v.isFocusVisible||void 0,"data-pressed":v.isPressed||void 0,"data-selected":v.isSelected||void 0,"data-selection-mode":"none"===c.selectionMode?void 0:c.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":"true"===e["aria-expanded"]||void 0},K.default.createElement(t.Provider,{values:[[d.TextContext,{slots:{[t.DEFAULT_SLOT]:p,label:p,description:g}}],[l.KeyboardContext,m],[u.SelectionIndicatorContext,{isSelected:v.isSelected}]]},S.children))})},535152,e=>{"use strict";var t=e.i(251919),n=e.i(842617),r=e.i(331746),i=e.i(450465),l=e.i(325936),o=e.i(102235);function s(e,s){let{role:u="dialog"}=e,a=(0,l.useSlotId)();a=e["aria-label"]?void 0:a;let c=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{if(s.current&&!(0,r.isFocusWithin)(s.current)){(0,n.focusSafely)(s.current);let e=setTimeout(()=>{((0,r.getActiveElement)()===s.current||(0,r.getActiveElement)()===document.body)&&(c.current=!0,s.current&&(s.current.blur(),(0,n.focusSafely)(s.current)),c.current=!1)},500);return()=>{clearTimeout(e)}}},[s]),(0,i.useOverlayFocusContain)(),(0,o.useRef)(!1),(0,o.useEffect)(()=>{}),{dialogProps:{...(0,t.filterDOMProps)(e,{labelable:!0}),role:u,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||a,onBlur:e=>{c.current&&e.stopPropagation()}},titleProps:{id:a}}}e.s(["useDialog",()=>s])},764947,e=>{"use strict";e.s(["Dialog",()=>v,"DialogTrigger",()=>m,"OverlayTriggerStateContext",()=>y]);var t=e.i(34039),n=e.i(463004),r=e.i(3876),i=e.i(31961),l=e.i(463604),o=e.i(535152),s=e.i(251919),u=e.i(750303),a=e.i(694074),c=e.i(102235),d=e.i(325936),f=e.i(946136),h=e.i(610740),p=e.i(271062);let g=(0,c.createContext)(null),y=(0,c.createContext)(null);function m(e){let t=(0,f.useMenuTriggerState)(e),r=(0,c.useRef)(null),{triggerProps:o,overlayProps:s}=(0,h.useOverlayTrigger)({type:"dialog"},t,r),[u,m]=(0,c.useState)(null),v=(0,c.useCallback)(()=>{r.current&&m(r.current.offsetWidth+"px")},[r]);return(0,p.useResizeObserver)({ref:r,onResize:v}),o.id=(0,d.useId)(),s["aria-labelledby"]=o.id,c.default.createElement(n.Provider,{values:[[y,t],[l.RootMenuTriggerStateContext,t],[g,s],[i.PopoverContext,{trigger:"DialogTrigger",triggerRef:r,"aria-labelledby":s["aria-labelledby"],style:{"--trigger-width":u}}]]},c.default.createElement(a.PressResponder,{...o,ref:r,isPressed:t.isOpen},e.children))}let v=(0,c.forwardRef)(function(e,i){let l=e["aria-labelledby"];[e,i]=(0,n.useContextProps)(e,i,g);let{dialogProps:a,titleProps:d}=(0,o.useDialog)({...e,"aria-labelledby":l},i),f=(0,c.useContext)(y);a["aria-label"]||a["aria-labelledby"]||e["aria-labelledby"]&&(a["aria-labelledby"]=e["aria-labelledby"]);let h=(0,n.useRenderProps)({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:f?.close||(()=>{})}}),p=(0,s.filterDOMProps)(e,{global:!0});return c.default.createElement(n.dom.section,{...(0,u.mergeProps)(p,h,a),render:e.render,ref:i,slot:e.slot||void 0},c.default.createElement(n.Provider,{values:[[r.HeadingContext,{slots:{[n.DEFAULT_SLOT]:{},title:{...d,level:2}}}],[t.ButtonContext,{slots:{[n.DEFAULT_SLOT]:{},close:{onPress:()=>f?.close()}}}]]},h.children))})}]);
8
9//# debugId=9eaf2717-b18c-9d1b-43bc-8d854d1b62d9
10//# sourceMappingURL=0c931ab27e18c915.js.map

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.