PageSourceSearch

https://www.torneox.com/_next/static/chunks/42865-16281dd462d3ab4a.js?dpl=dpl_DU2or92nt2aycQ7pz8Phe82hBxGr

js torneox.com collected 2026-10-02 01:47:31 UTC 54,966 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="83e20a2a-3092-433c-b2ba-4c194d0ceeab",e._sentryDebugIdIdentifier="sentry-dbid-83e20a2a-3092-433c-b2ba-4c194d0ceeab")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42865],{6085:(e,t,l)=>{l.d(t,{B:()=>n});let n=(0,l(25398).createContext)({})},6552:(e,t,l)=>{l.d(t,{D:()=>o}),l(72003);var n=l(25398);let r=(0,n.createContext)(null);function o(e){let t=(0,n.useRef)({});return n.createElement(r.Provider,{value:t},e.children)}},10867:(e,t,l)=>{l.d(t,{A3:()=>o,BP:()=>r,Co:()=>i,wv:()=>s});var n=l(25398);let r=(0,n.createContext)(null);(0,n.createContext)(null),(0,n.createContext)(null),(0,n.createContext)(null),(0,n.createContext)(null);let o=(0,n.createContext)({}),i=(0,n.createContext)(null),s=(0,n.createContext)(null)},13359:(e,t,l)=>{l.d(t,{R:()=>z});var n={},r={},o={},i={},s={},a={},u={},c={},d={},f={},y={},p={},h={},g={},v={},m={},b={},K={},E={},P={},C={},S={},x={},w={},k={},D={},F={},T={},R={},N={},M={},L={},I={},O={},B={};B={"ar-AE":{dismiss:"تجاهل"},"bg-BG":{dismiss:"Отхвърляне"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"Schlie\xdfen"},"el-GR":{dismiss:"Απόρριψη"},"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:"התעלם"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"Elutas\xedt\xe1s"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"閉じる"},"ko-KR":{dismiss:"무시"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"Nerādī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:"Пропустить"},"sk-SK":{dismiss:"Zrušiť"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"Скасувати"},"zh-CN":{dismiss:"取消"},"zh-TW":{dismiss:"關閉"}};var A=l(49396),H=l(20594),V=l(43628),U=l(25398);function z(e){var t;let{onDismiss:l,...n}=e,r=(0,H.o)((t=B)&&t.__esModule?t.default:t,"@react-aria/overlays"),o=(0,A.b)(n,r.format("dismiss"));return U.createElement(V.s,null,U.createElement("button",{...o,tabIndex:-1,onClick:()=>{l&&l()},style:{width:1,height:1}}))}},20594:(e,t,l)=>{l.d(t,{o:()=>a});var n=l(84062),r=l(53358),o=l(75266),i=l(25398);let s=new WeakMap;function a(e,t){let l,{locale:a}=(0,n.Y)(),u=t&&r.B.getGlobalDictionaryForPackage(t)||((l=s.get(e))||(l=new(0,r.B)(e),s.set(e,l)),l);return(0,i.useMemo)(()=>new(0,o.J)(a,u),[a,u])}},29169:(e,t,l)=>{l.d(t,{p:()=>g});var n=l(74151),r=l(91488),o=l(24342),i=l(75974),s=l(6001),a=l(42012),u=l(33056),c=l(23812),d=l(558),f=l(70550),y=l(93911),p=l(78252),h=l(25398);function g(e){let{id:t,selectionManager:l,key:g,ref:v,shouldSelectOnPressUp:m,shouldUseVirtualFocus:b,focus:K,isDisabled:E,onAction:P,allowsDifferentPressOrigin:C,linkBehavior:S="action"}=e,x=(0,d.rd)();t=(0,y.Bi)(t);let w=e=>{if("keyboard"===e.pointerType&&(0,i.N9)(e))l.toggleSelection(g);else{if("none"===l.selectionMode)return;if(l.isLink(g)){if("selection"===S&&v.current){let t=l.getItemProps(g);x.open(v.current,e,t.href,t.routerOptions),l.setSelectedKeys(l.selectedKeys);return}else if("override"===S||"none"===S)return}"single"===l.selectionMode?l.isSelected(g)&&!l.disallowEmptySelection?l.toggleSelection(g):l.replaceSelection(g):e&&e.shiftKey?l.extendSelection(g):"toggle"===l.selectionBehavior||e&&((0,s.B)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?l.toggleSelection(g):l.replaceSelection(g)}};(0,h.useEffect)(()=>{g===l.focusedKey&&l.isFocused&&(b?(0,c.vX)(v.current):K?K():(0,o.bq)()!==v.current&&v.current&&(0,r.l)(v.current))},[v,g,l.focusedKey,l.childFocusStrategy,l.isFocused,b]),E=E||l.isDisabled(g);let k={};b||E?E&&(k.onMouseDown=e=>{e.preventDefault()}):k={tabIndex:g===l.focusedKey?0:-1,onFocus(e){(0,o.wt)(e)===v.current&&l.setFocusedKey(g)}},(0,h.useEffect)(()=>{E&&l.focusedKey===g&&l.setFocusedKey(null)},[l,E,g]);let D=l.isLink(g)&&"override"===S,F=P&&"action"===e.UNSTABLE_itemBehavior,T=l.isLink(g)&&"selection"!==S&&"none"!==S,R=!E&&l.canSelectItem(g)&&!D&&!F,N=(P||T)&&!E,M=N&&("replace"===l.selectionBehavior?!R:!R||l.isEmpty),L=N&&R&&"replace"===l.selectionBehavior,I=M||L,O=(0,h.useRef)(null),B=I&&R,A=(0,h.useRef)(!1),H=(0,h.useRef)(!1),V=l.getItemProps(g),U=e=>{if(P){var t;P(),null==(t=v.current)||t.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))}T&&v.current&&x.open(v.current,e,V.href,V.routerOptions)},z={ref:v};m?(z.onPressStart=e=>{O.current=e.pointerType,A.current=B,"keyboard"!==e.pointerType||I&&" "!==e.key||w(e)},C?(z.onPressUp=M?void 0:e=>{"mouse"===e.pointerType&&R&&w(e)},z.onPress=M?U:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&R&&w(e)}):z.onPress=e=>{M||L&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&U(e):"keyboard"!==e.pointerType&&R&&w(e)}):(z.onPressStart=e=>{O.current=e.pointerType,A.current=B,H.current=M,!R||("mouse"!==e.pointerType||M)&&("keyboard"!==e.pointerType||N&&" "!==e.key)||w(e)},z.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"ke
1yboard"===e.pointerType&&I&&"Enter"===e.key||"mouse"===e.pointerType&&H.current)&&(I?U(e):R&&w(e))});let _=(0,i.EG)(l.collection);if(k["data-collection"]=_,k["data-key"]=g,z.preventFocusOnPress=b,b&&(z=(0,u.v)(z,{onPressStart(e){"touch"!==e.pointerType&&(l.setFocused(!0),l.setFocusedKey(g))},onPress(e){"touch"===e.pointerType&&(l.setFocused(!0),l.setFocusedKey(g))}})),V)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])V[e]&&(z[e]=(0,n.c)(z[e],V[e]));let{pressProps:W,isPressed:J}=(0,f.d)(z),G=L?e=>{"mouse"===O.current&&(e.stopPropagation(),e.preventDefault(),U(e))}:void 0,{longPressProps:q}=(0,p.H)({isDisabled:!B,onLongPress(e){"touch"===e.pointerType&&(w(e),l.setSelectionBehavior("toggle"))}}),$="none"!==S&&l.isLink(g)?e=>{d.Fe.isOpening||e.preventDefault()}:void 0,X=(0,u.v)(k,R||M||b&&!E?W:{},B?q:{},{onDoubleClick:G,onDragStartCapture:e=>{"touch"===O.current&&A.current&&e.preventDefault()},onClick:$,id:t},b?{onMouseDown:e=>e.preventDefault()}:void 0),j=e=>{let t=e;for(;t&&t!==v.current;){let e=t.getAttribute("data-collection");if(null!=e)return e!==_;t=t.parentElement}return(0,a.A)(e)},Y=X.onPointerDown;X.onPointerDown=e=>{let t=(0,o.wt)(e);if(t&&t!==v.current&&j(t))return void e.stopPropagation();null==Y||Y(e)};let Q=X.onMouseDown;return X.onMouseDown=e=>{let t=(0,o.wt)(e);if(t&&t!==v.current&&j(t))return void e.stopPropagation();null==Q||Q(e)},{itemProps:X,isPressed:J,isSelected:l.isSelected(g),isFocused:l.isFocused&&l.focusedKey===g,isDisabled:E,allowsSelection:R,hasAction:I}}},29357:(e,t,l)=>{l.d(t,{A:()=>w,n:()=>S});var n=l(45799),r=l(96509),o=l(38069),i=l(84062),s=l(82682),a=l(41412),u=l(69966),c=l(33056),d=l(55398),f=l(31130),y=l(25398),p=l(13359),h=l(54902),g=l(58574),v=l(68800),m=l(24342),b=l(92146),K=l(25293),E=l(91488),P=l(14707),C=l(90591);let S=(0,y.createContext)(null),x=(0,y.createContext)(null),w=(0,y.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,S);let l=(0,y.useContext)(o.RG),r=(0,P.T)(e),s=null==e.isOpen&&null==e.defaultOpen&&l?l:r,a=(0,g.O)(t,s.isOpen)||e.isExiting||!1,u=(0,C.m_)(),{direction:c}=(0,i.Y)();if(u){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),y.createElement(y.Fragment,null,t)}return!s||s.isOpen||a?y.createElement(k,{...e,triggerRef:e.triggerRef,state:s,popoverRef:t,isExiting:a,dir:c}):null});function k(e){var t,l;let{state:o,isExiting:i,UNSTABLE_portalContainer:P,clearContexts:C,...S}=e,w=(0,y.useRef)(null),k=(0,y.useRef)(null),D=(0,y.useContext)(x),F=D&&"SubmenuTrigger"===S.trigger,{popoverProps:T,underlayProps:R,arrowProps:N,placement:M,triggerAnchorPoint:L}=function(e,t){var l;let{triggerRef:n,popoverRef:r,groupRef:o,isNonModal:i,isKeyboardDismissDisabled:p,shouldCloseOnInteractOutside:h,...g}=e,v="SubmenuTrigger"===g.trigger,{overlayProps:m,underlayProps:b}=(0,d.e)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!i||v,isKeyboardDismissDisabled:p,shouldCloseOnInteractOutside:h},null!=o?o:r),{overlayProps:K,arrowProps:E,placement:P,triggerAnchorPoint:C}=(0,a.v)({...g,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:i&&!v?t.close:null,getTargetRect:null!=(l=g.getTargetRect)?l:t.point?()=>new DOMRect(t.point.x,t.point.y,0,0):void 0});(0,f.H)({isDisabled:i||!t.isOpen}),(0,y.useEffect)(()=>{if(t.isOpen&&r.current){var e,l;return i?(0,s.O)(null!=(e=null==o?void 0:o.current)?e:r.current):(0,s.h)([null!=(l=null==o?void 0:o.current)?l:r.current],{shouldUseInert:!0})}},[i,t.isOpen,r,o]);let{focusWithinProps:S}=(0,u.R)(e);return{popoverProps:(0,c.v)(m,K,S),arrowProps:E,underlayProps:b,placement:P,triggerAnchorPoint:C}}({...S,offset:null!=(t=S.offset)?t:8,arrowRef:w,groupRef:F?D:k},o),I=S.popoverRef,O=(0,g._)(I,!!M)||S.isEntering||!1,B=(0,n.Sl)({...S,defaultClassName:"react-aria-Popover",values:{trigger:S.trigger||null,placement:M,isEntering:O,isExiting:i}}),A=!S.isNonModal||"SubmenuTrigger"===S.trigger,[H,V]=(0,y.useState)(!1);(0,v.N)(()=>{I.current&&V(A&&!I.current.querySelector("[role=dialog]"))},[I,A]),(0,y.useEffect)(()=>{H&&("SubmenuTrigger"!==S.trigger||"pointer"!==(0,K.ME)())&&I.current&&!(0,m.ae)(I.current)&&(0,E.l)(I.current)},[H,I,S.trigger]);let U=(0,y.useMemo)(()=>{let e=B.children;if(C)for(let t of C)e=y.createElement(t.Provider,{value:null},e);return e},[B.children,C]),z={...T.style,"--trigger-anchor-point":L?"".concat(L.x,"px ").concat(L.y,"px"):void 0,...B.style},_=y.createElement(n.tT.div,{...(0,c.v)((0,b.$)(S,{global:!0}),T),...B,role:H?"dialog":void 0,tabIndex:H?-1:void 0,"aria-label":S["aria-label"],"aria-labelledby":S["aria-labelledby"],ref:I,slot:S.slot||void 0,style:z,dir:S.dir,"data-trigger":S.trigger,"data-placement":M,"data-entering":O||void 0,"data-exiting":i||void 0},!S.isNonModal&&y.createElement(p.R,{onDismiss:o.close}),y.createElement(r.J.Provider,{value:{...N,placement:M,ref:w}},U),y.createElement(p.R,{onDismiss:o.close}));return F?y.createElement(h.hJ,{...S,shouldContainFocus:H,isExiting:i,portalContainer:null!=(l=null!=P?P:null==D?void 0:D.current)?l:void 0},_):y.createElement(h.hJ,{...S,shouldContainFocus:H,isExiting:i,portalContainer:P},!S.isNonModal&&o.isOpen&&y.createElement("div",{"data-testid":"underlay",...R,style:{position:"fixed",inset:0}}),y.createElement("div",{ref:k,style:{display:"contents"}},y.createElement(x.Provider,{value:k},_)))}},30002:(e,t,l)=>{l.d(t,{Cv:()=>a,N:()=>i,P2:()=>o,l2:()=>c,zL:()=>u});var n=l(9377),r=l(25398);
1let o=(0,r.createContext)(null),i={CollectionRoot(e){let{collection:t,renderDropIndicator:l}=e;return s(t,null,l)},CollectionBranch(e){let{collection:t,parent:l,renderDropIndicator:n}=e;return s(t,l,n)}};function s(e,t,l){return(0,n.p)({items:t?e.getChildren(t.key):e,dependencies:[l],children(t){if("content"===t.type)return r.createElement(r.Fragment,null);let n=t.render(t);return l&&"item"===t.type?r.createElement(r.Fragment,null,l({type:"item",key:t.key,dropPosition:"before"}),n,a(e,t,l)):n}})}function a(e,t,l){let n=t.key,o=e.getKeyAfter(n),i=null!=o?e.getItem(o):null;for(;null!=i&&"item"!==i.type;)i=null!=(o=e.getKeyAfter(i.key))?e.getItem(o):null;let s=null!=t.nextKey?e.getItem(t.nextKey):null;for(;null!=s&&"item"!==s.type;)s=null!=s.nextKey?e.getItem(s.nextKey):null;let a=[];if(null==s){let n=t;for(;(null==n?void 0:n.type)==="item"&&(!i||n.parentKey!==i.parentKey&&i.level<n.level);){let t=l({type:"item",key:n.key,dropPosition:"after"});(0,r.isValidElement)(t)&&a.push((0,r.cloneElement)(t,{key:"".concat(n.key,"-after")})),n=null!=n.parentKey?e.getItem(n.parentKey):null}}return a}let u=(0,r.createContext)(i);function c(e){return(0,r.useMemo)(()=>null!=e?new Set([e]):null,[e])}},30590:(e,t,l)=>{l.d(t,{I:()=>o});var n=l(14707),r=l(25398);function o(e){let t=(0,n.T)(e),[l,o]=(0,r.useState)(null),[i,s]=(0,r.useState)([]),a=()=>{s([]),t.close()};return{focusStrategy:l,...t,open(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;o(e),t.open()},toggle(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;o(e),t.toggle()},close(){a()},expandedKeysStack:i,openSubmenu:(e,t)=>{s(l=>t>l.length?l:[...l.slice(0,t),e])},closeSubmenu:(e,t)=>{s(l=>l[t]===e?l.slice(0,t):l)}}}},31130:(e,t,l)=>{let n;l.d(t,{H:()=>p});var r=l(74151),o=l(24342),i=l(80215),s=l(85203),a=l(39531),u=l(67409),c=l(68800),d=l(6001);let f="undefined"!=typeof document&&window.visualViewport,y=0;function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{isDisabled:t}=e;(0,c.N)(()=>{if(!t){let e,t,l,c,f,p,m,b;return 1==++y&&(n=(0,a.un)()&&(0,a.Tc)()?(t=h(document.documentElement,"overflow","hidden"),l=!1,c=document.createElement("style"),(f=(0,i.m)())&&(c.nonce=f),c.textContent="\n@layer {\n  * {\n    overscroll-behavior: contain;\n  }\n}".trim(),document.head.prepend(c),p=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=(0,o.bq)(),l=null!=t&&(0,d.o)(t);p.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||v(this,l)},m=(0,r.c)(g(document,"touchstart",t=>{let n=(0,o.wt)(t);e=(0,u.o)(n)?n:(0,s.m)(n,!0),l=!1;let r=n.ownerDocument.defaultView.getSelection();r&&!r.isCollapsed&&r.containsNode(n,!0)&&(l=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(l=!0),"selectionStart"in n&&"selectionEnd"in n&&n.selectionStart<n.selectionEnd&&n.ownerDocument.activeElement===n&&(l=!0)},{passive:!1,capture:!0}),g(document,"touchmove",t=>{if(2!==t.touches.length&&!l){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}),g(document,"blur",e=>{let t=(0,o.wt)(e),l=e.relatedTarget;if(l&&(0,d.o)(l))l.focus({preventScroll:!0}),v(l,(0,d.o)(t));else if(!l){var n;let e=null==(n=t.parentElement)?void 0:n.closest("[tabindex]");null==e||e.focus({preventScroll:!0})}},!0)),()=>{t(),m(),c.remove(),HTMLElement.prototype.focus=p}):(b=window.innerWidth-document.documentElement.clientWidth,(0,r.c)(b>0&&("scrollbarGutter"in document.documentElement.style?h(document.documentElement,"scrollbarGutter","stable"):h(document.documentElement,"paddingRight","".concat(b,"px"))),h(document.documentElement,"overflow","hidden")))),()=>{0==--y&&n()}}},[t])}function h(e,t,l){let n=e.style[t];return e.style[t]=l,()=>{e.style[t]=n}}function g(e,t,l,n){return e.addEventListener(t,l,n),()=>{e.removeEventListener(t,l,n)}}function v(e,t){t||!f?m(e):f.addEventListener("resize",()=>m(e),{once:!0})}function m(e){let t=document.scrollingElement||document.documentElement,l=e;for(;l&&l!==t;){let e=(0,s.m)(l);if(e!==document.documentElement&&e!==document.body&&e!==l){let t=e.getBoundingClientRect(),n=l.getBoundingClientRect();if(n.top<t.top||n.bottom>t.top+l.clientHeight){let l=t.bottom;f&&(l=Math.min(l,f.offsetTop+f.height));let r=n.top-t.top-((l-t.top)/2-n.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+r)),behavior:"smooth"})}}l=e.parentElement}}},31794:(e,t,l)=>{l.d(t,{G:()=>s});var n=l(25398);class r{build(e,t){return this.context=t,o(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:l}=e;if(n.isValidElement(t)&&t.type===n.Fragment)yield*this.iterateCollection({children:t.props.children,items:l});else if("function"==typeof t){if(!l)throw Error("props.children was a function but props.items is missing");let e=0;for(let n of l)yield*this.getFullNode({value:n,index:e},{renderer:t}),e++}else{let e=[];
1n.Children.forEach(t,t=>{t&&e.push(t)});let l=0;for(let t of e)for(let e of this.getFullNode({element:t,index:l},{}))l++,yield e}}getKey(e,t,l,n){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return"".concat(n).concat(t.key);let r=t.value;if(null!=r){var o;let e=null!=(o=r.key)?o:r.id;if(null==e)throw Error("No key found for item");return e}return n?"".concat(n,".").concat(t.index):"$.".concat(t.index)}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,l,r){var s,a,u,c,d,f,y,p,h;if(n.isValidElement(e.element)&&e.element.type===n.Fragment){let o=[];n.Children.forEach(e.element.props.children,e=>{o.push(e)});let i=null!=(s=e.index)?s:0;for(let e of o)yield*this.getFullNode({element:e,index:i++},t,l,r);return}let g=e.element;if(!g&&e.value&&t&&t.renderer){let l=this.cache.get(e.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=e.index,l.parentKey=r?r.key:null,yield l;return}g=t.renderer(e.value)}if(n.isValidElement(g)){let n=g.type;if("function"!=typeof n&&"function"!=typeof n.getCollectionNode){let e=g.type;throw Error("Unknown element <".concat(e,"> in collection."))}let o=n.getCollectionNode(g.props,this.context),s=null!=(a=e.index)?a:0,y=o.next();for(;!y.done&&y.value;){let n=y.value;e.index=s;let a=null!=(u=n.key)?u:null;null==a&&(a=n.element?null:this.getKey(g,e,t,l));let p=[...this.getFullNode({...n,key:a,index:s,wrapper:function(e,t){return e&&t?l=>e(t(l)):e||t||void 0}(e.wrapper,n.wrapper)},this.getChildState(t,n),l?"".concat(l).concat(g.key):g.key,r)];for(let t of p){if(t.value=null!=(d=null!=(c=n.value)?c:e.value)?d:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error("Unsupported type <".concat(i(t.type),"> in <").concat(i(null!=(f=null==r?void 0:r.type)?f:"unknown parent type"),">. Only <").concat(i(e.type),"> is supported."));s++,yield t}y=o.next(p)}return}if(null==e.key||null==e.type)return;let v=this,m={type:e.type,props:e.props,key:e.key,parentKey:r?r.key:null,value:null!=(y=e.value)?y:null,level:(null!=(p=null==r?void 0:r.level)?p:0)+ +((null==r?void 0:r.type)==="item"),index:e.index,rendered:e.rendered,textValue:null!=(h=e.textValue)?h:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:o(function*(){if(!e.hasChildNodes||!e.childNodes)return;let l=0;for(let n of e.childNodes())for(let e of(null!=n.key&&(n.key="".concat(m.key).concat(n.key)),v.getFullNode({...n,index:l},v.getChildState(t,n),m.key,m)))l++,yield e})};yield m}constructor(){this.cache=new WeakMap}}function o(e){let t=[],l=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let n of(l||(l=e()),l))t.push(n),yield n}}}function i(e){return e[0].toUpperCase()+e.slice(1)}function s(e,t,l){let o=(0,n.useMemo)(()=>new r,[]),{children:i,items:s,collection:a}=e;return(0,n.useMemo)(()=>a||t(o.build({children:i,items:s},l)),[o,i,s,a,l,t])}},33357:(e,t,l)=>{l.d(t,{v:()=>o});var n=l(25782);let r=new WeakMap;function o(e){let t=r.get(e);if(null!=t)return t;let l=0,o=t=>{for(let r of t)"section"===r.type?o((0,n.iQ)(r,e)):"item"===r.type&&l++};return o(e),r.set(e,l),l}},38069:(e,t,l)=>{l.d(t,{lG:()=>P,zM:()=>E,RG:()=>K});var n=l(24194),r=l(45799),o=l(10867),i=l(29357),s=l(65085),a=l(86431),u=l(93911),c=l(92146),d=l(91488),f=l(24342),y=l(54902),p=l(25398),h=l(82287),g=l(33056),v=l(30590),m=l(34025);let b=(0,p.createContext)(null),K=(0,p.createContext)(null);function E(e){let t=(0,v.I)(e),l=(0,p.useRef)(null),{triggerProps:n,overlayProps:o}=(0,a.o)({type:"dialog"},t,l),[c,d]=(0,p.useState)(null),f=(0,p.useCallback)(()=>{l.current&&d(l.current.offsetWidth+"px")},[l]);return(0,h.w)({ref:l,onResize:f}),n.id=(0,u.Bi)(),o["aria-labelledby"]=n.id,p.createElement(r.Kq,{values:[[K,t],[s.gI,t],[b,o],[i.n,{trigger:"DialogTrigger",triggerRef:l,"aria-labelledby":o["aria-labelledby"],style:{"--trigger-width":c}}]]},p.createElement(m.Y,{...n,ref:l,isPressed:t.isOpen},e.children))}let P=(0,p.forwardRef)(function(e,t){let l=e["aria-labelledby"];[e,t]=(0,r.JT)(e,t,b);let{dialogProps:i,titleProps:s}=function(e,t){var l,n;let{role:r="dialog"}=e,o=(0,u.X1)();o=e["aria-label"]?void 0:o;let i=(0,u.X1)();i="alertdialog"!==r||e["aria-describedby"]?void 0:i;let s=(0,p.useRef)(!1);(0,p.useEffect)(()=>
1{if(t.current&&!(0,f.ae)(t.current)){(0,d.l)(t.current);let e=setTimeout(()=>{((0,f.bq)()===t.current||(0,f.bq)()===document.body)&&(s.current=!0,t.current&&(t.current.blur(),(0,d.l)(t.current)),s.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,y.Se)(),(0,p.useRef)(!1),(0,p.useEffect)(()=>{});let a=null!=(l=e["aria-describedby"])?l:i;return{dialogProps:{...(0,c.$)(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":null!=(n=e["aria-labelledby"])?n:o,"aria-describedby":a,onBlur:e=>{s.current&&e.stopPropagation()}},titleProps:{id:o},contentProps:{id:i}}}({...e,"aria-labelledby":l},t),a=(0,p.useContext)(K);i["aria-label"]||i["aria-labelledby"]||e["aria-labelledby"]&&(i["aria-labelledby"]=e["aria-labelledby"]);let h=(0,r.Sl)({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:(null==a?void 0:a.close)||(()=>{})}}),v=(0,c.$)(e,{global:!0});return p.createElement(r.tT.section,{...(0,g.v)(v,h,i),render:e.render,ref:t,slot:e.slot||void 0},p.createElement(r.Kq,{values:[[o.A3,{slots:{[r.P_]:{},title:{...s,level:2}}}],[n.k,{slots:{[r.P_]:{},close:{onPress:()=>null==a?void 0:a.close()}}}]]},h.children))})},43628:(e,t,l)=>{l.d(t,{B:()=>s,s:()=>a});var n=l(33056),r=l(69966),o=l(25398);let i={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{style:t,isFocusable:l}=e,[n,s]=(0,o.useState)(!1),{focusWithinProps:a}=(0,r.R)({isDisabled:!l,onFocusWithinChange:e=>s(e)}),u=(0,o.useMemo)(()=>n?t:t?{...i,...t}:i,[n]);return{visuallyHiddenProps:{...a,style:u}}}function a(e){let{children:t,elementType:l="div",isFocusable:r,style:i,...a}=e,{visuallyHiddenProps:u}=s(e);return o.createElement(l,(0,n.v)(a,u),t)}},54902:(e,t,l)=>{l.d(t,{Se:()=>y,hJ:()=>f});var n=l(34025),r=l(62819),o=l(11279),i=l(30152),s=l(68800),a=l(72921),u=l(25398),c=l(72003);let d=u.createContext(null);function f(e){let t=(0,i.wR)(),{portalContainer:l=t?null:document.body,isExiting:s}=e,[f,y]=(0,u.useState)(!1),p=(0,u.useMemo)(()=>({contain:f,setContain:y}),[f,y]),{getContainer:h}=(0,a.gX)();if(!e.portalContainer&&h&&(l=h()),!l)return null;let g=e.children;return e.disableFocusManagement||(g=u.createElement(o.n1,{restoreFocus:!0,contain:(e.shouldContainFocus||f)&&!s},g)),g=u.createElement(d.Provider,{value:p},u.createElement(n.N,null,u.createElement(r.gY.Provider,{value:null},g))),c.createPortal(g,l)}function y(){let e=(0,u.useContext)(d),t=null==e?void 0:e.setContain;(0,s.N)(()=>{null==t||t(!0)},[t])}},55398:(e,t,l)=>{l.d(t,{e:()=>f});var n=l(24342),r=l(11279),o=l(69966),i=l(70517),s=l(87816),a=l(25398);function u(e,t){if(e.button>0)return!1;let l=(0,n.wt)(e);if(l){let e=l.ownerDocument;if(!e||!(0,n.sD)(e.documentElement,l)||l.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var c=l(20382);let d=[];function f(e,t){let{onClose:l,shouldCloseOnBlur:f,isOpen:y,isDismissable:p=!1,isKeyboardDismissDisabled:h=!1,shouldCloseOnInteractOutside:g}=e,v=(0,a.useRef)(void 0);(0,a.useEffect)(()=>{if(y&&!d.includes(t))return d.push(t),()=>{let e=d.indexOf(t);e>=0&&d.splice(e,1)}},[y,t]);let m=()=>{d[d.length-1]===t&&l&&l()},{keyboardProps:b}=(0,c.d)({shortcuts:{Escape:()=>!h&&void m()}});!function(e){let{ref:t,onInteractOutside:l,isDisabled:n,onInteractOutsideStart:r}=e,o=(0,a.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,s.J)(e=>{l&&u(e,t)&&(r&&r(e),o.current.isPointerDown=!0)}),d=(0,s.J)(e=>{l&&l(e)});(0,a.useEffect)(()=>{let e=o.current;if(n)return;let l=t.current,r=(0,i.TW)(l);if("undefined"!=typeof PointerEvent){let l=l=>{e.isPointerDown&&u(l,t)&&d(l),e.isPointerDown=!1};return r.addEventListener("pointerdown",c,!0),r.addEventListener("click",l,!0),()=>{r.removeEventListener("pointerdown",c,!0),r.removeEventListener("click",l,!0)}}},[t,n])}({ref:t,onInteractOutside:p&&y?e=>{(!g||g((0,n.wt)(e)))&&(d[d.length-1]===t&&e.stopPropagation(),v.current===t&&m()),v.current=void 0}:void 0,onInteractOutsideStart:e=>{let l=d[d.length-1];v.current=l,(!g||g((0,n.wt)(e)))&&l===t&&e.stopPropagation()}});let{focusWithinProps:K}=(0,o.R)({isDisabled:!f,onBlurWithin:e=>{!(!e.relatedTarget||(0,r.Pu)(e.relatedTarget))&&(!g||g(e.relatedTarget))&&(null==l||l())}});return{overlayProps:{...b,...K},underlayProps:{}}}},57990:(e,t,l)=>{l.d(t,{K:()=>r});var n=l(75974);class r{getItemRect(e){let t=this.ref.current;if(!t)return null;let l=null!=e?(0,n.au)(this.ref,e):null;if(!l)return null;let r=t.getBoundingClientRect(),o=l.getBoundingClientRect();return{x:o.left-r.left-t.clientLeft+t.scrollLeft,y:o.top-r.top-t.clientTop+t.scrollTop,width:o.width,height:o.height}}getContentSize(){var e,t;let l=this.ref.current;return{width:null!=(e=null==l?void 0:l.scrollWidth)?e:0,height:null!=(t=null==l?void 0:l.scrollHeight)?t:0}}getVisibleRect(){var e,t,l,n;let r=this.ref.current;return{x:null!=(e=null==r?void 0:r.scrollLeft)?e:0,y:null!=(t=null==r?void 0:r.scrollTop)?t:0,width:null!=(l=null==r?void 0:r.clientWidth)?l:0,height:null!=(n=null==r?void 0:r.clientHeight)?n:0}}constructor(e){this.ref=e}}},65085:(e,t,l)=>{l.d(t,{W1:()=>_,Dr:()=>$,gI:()=>H});var n=l(45799),r=l(30002),o=l(10867),i=l(6085),s=l(25398);let a=(0,s.createContext)({});var u=l(68047),c=l(20011),d=l(6552),f=l(72591),y=l(92146);let p=new WeakMap;var h=l(33056),g=l(87240),v=l(11279),m=l(93911),b=l(24342),K=l(558),E=l(25293),P=l(62819),C=l(41061),S=l(20382),x=l(70550),w=l(29169),k=l(33357),D=l(13496),F=l(49711),T=l(61631);class R{*[Symbol.iterator](){yield*this.iterable}get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){var t;let l=this.keyMap.get(e);return l&&null!=(t=l.prevKey)?t:null}getKeyAfter(e){var t;let l=this.keyMap.get(e);return l&&null!=(t=l.nextKey)?t:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}constructor(e,{expandedKeys:t}={}){var l;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,o=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=o++),(r=t).nextKey=void 0;this.lastKey=null!=(l=null==r?void 0:r.key)?l:null}}var N=l(31794),M=l(92177),L=l(11418),I=l(30590),O=l(31565);let B=(0,s.createContext)(null),A=(0,s.createContext)(null),H=(0,s.createContext)(null),V=(0,s.createContext)(null),U=(0,s.createContext)(null);class z extends D.Pt{filter(e,t,l){let n=e.getItem(this.firstChildKey);if(n&&l(n.textValue,this)){let l=this.clone();return t.addDescendants(l,e),l}return null}}z.type="submenutrigger";let _=(0,s.forwardRef)(function(e,t){return[e,t]=(0,n.JT)(e,t,B),s.createElement(F.GQ,{content:s.createElement(F.pM,e)},l=>s.createElement(W,{props:e,collection:l,menuRef:t}))});function W(e){let{props:t,collection:l,menuRef:i}=e;[t,i]=(0,n.JT)(t,i,o.Co);let{filter:a,...u}=t,f=(0,s.useMemo)(()=>a?l.filter(a):l,[l,a]),m=function(e){let{onExpandedChange:t}=e,[l,n]=(0,M.P)(e.expandedKeys?new Set(e.expandedKeys):void 0,e.defaultExpandedKeys?new Set(e.defaultExpandedKeys):new Set,t),r=(0,L.R)(e),o=(0,s.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=(0,N.G)(e,(0,s.useCallback)(e=>new R(e,{expandedKeys:l}),[l]),null);return(0,s.useEffect)(()=>{null==r.focusedKey||i.getItem(r.focusedKey)||r.setFocusedKey(null)}
1,[i,r.focusedKey]),{collection:i,expandedKeys:l,disabledKeys:o,toggleKey:e=>{var t,r;let o;n((t=l,r=e,(o=new Set(t)).has(r)?o.delete(r):o.add(r),o))},setExpandedKeys:n,selectionManager:new(0,T.Y)(i,r)}}({...t,collection:f,children:void 0}),b=(0,s.useContext)(H),{isVirtualized:K,CollectionRoot:E}=(0,s.useContext)(r.zL),{menuProps:P}=function(e,t,l){let{shouldFocusWrap:n=!0,onKeyDown:r,onKeyUp:o,...i}=e;e["aria-label"]||e["aria-labelledby"];let s=(0,y.$)(e,{labelable:!0}),{listProps:a}=(0,g.y)({...i,ref:l,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,shouldFocusWrap:n,linkBehavior:"override"});return p.set(t,{onClose:e.onClose,onAction:e.onAction,shouldUseVirtualFocus:e.shouldUseVirtualFocus}),{menuProps:(0,h.v)(s,{onKeyDown:r,onKeyUp:o},{role:"menu",...a,onKeyDown:t=>{var l;("Escape"!==t.key||e.shouldUseVirtualFocus)&&(null==(l=a.onKeyDown)||l.call(a,t))}})}}({...t,isVirtualized:K,onClose:t.onClose||(null==b?void 0:b.close)},m,i),C=(0,n.Sl)({...t,children:void 0,defaultClassName:"react-aria-Menu",values:{isEmpty:0===m.collection.size}}),S=null;0===m.collection.size&&t.renderEmptyState&&(S=s.createElement("div",{role:"menuitem",style:{display:"contents"}},t.renderEmptyState()));let x=(0,y.$)(t,{global:!0});return s.createElement(v.n1,null,s.createElement(n.tT.div,{...(0,h.v)(x,C,P),ref:i,slot:t.slot||void 0,"data-empty":0===m.collection.size||void 0,onScroll:t.onScroll},s.createElement(n.Kq,{values:[[A,m],[c.$S,{elementType:"div"}],[r.P2,{name:"MenuSection",render:G}],[U,{parentMenuRef:i,shouldUseVirtualFocus:null==u?void 0:u.shouldUseVirtualFocus}],[q,{shouldCloseOnSelect:t.shouldCloseOnSelect}],[o.Co,null],[o.wv,null],[V,m.selectionManager],[H,null!=b?b:(0,I.I)({})]]},s.createElement(d.D,null,s.createElement(E,{collection:m.collection,persistedKeys:(0,r.l2)(m.selectionManager.focusedKey),scrollRef:i}))),S))}class J extends T.Y{get focusedKey(){return this.parent.focusedKey}get 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}constructor(e,t){super(e.collection,t),this.parent=e}}function G(e,t,l){var o,a,u,c,d;let f=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"react-aria-MenuSection",p=(0,s.useContext)(A),{CollectionBranch:g}=(0,s.useContext)(r.zL),[v,b]=(0,n._E)(),{headingProps:K,groupProps:E}=function(e){let{heading:t,"aria-label":l}=e,n=(0,m.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":l,"aria-labelledby":t?n:void 0}}}({heading:b,"aria-label":null!=(c=l.props["aria-label"])?c:void 0}),P=(0,n.Sl)({...e,id:void 0,children:void 0,defaultClassName:f,className:null==(o=l.props)?void 0:o.className,style:null==(a=l.props)?void 0:a.style,values:void 0}),C=(0,s.useContext)(V),S=(0,L.R)(e),x=null!=e.selectionMode?new J(C,S):C,w=null==(u=(0,n.CC)(q))?void 0:u.shouldCloseOnSelect,k=(0,y.$)(e,{global:!0});return delete k.id,s.createElement(n.tT.section,{...(0,h.v)(k,P,E),ref:t},s.createElement(n.Kq,{values:[[i.B,{...K,ref:v}],[V,x],[q,{shouldCloseOnSelect:null!=(d=e.shouldCloseOnSelect)?d:w}]]},s.createElement(g,{collection:p.collection,parent:l})))}let q=(0,s.createContext)(null),$=(0,F.KU)(D._B,function(e,t,l){var o;[e,t]=(0,n.JT)(e,t,q);let i=null==(o=(0,n.CC)(q))?void 0:o.id,c=(0,s.useContext)(A),d=(0,O.U)(t),g=(0,s.useContext)(V),{isVirtualized:v}=(0,s.useContext)(r.zL),{menuItemProps:D,labelProps:F,descriptionProps:T,keyboardShortcutProps:R,...N}=function(e,t,l){var n,r;let{id:o,key:i,closeOnSelect:a,shouldCloseOnSelect:u,isVirtualized:c,"aria-haspopup":d,onPressStart:f,onPressUp:g,onPress:v,onPressChange:D,onPressEnd:F,onClick:T,onHoverStart:R,onHoverChange:N,onHoverEnd:M,onKeyDown:L,onKeyUp:I,onFocus:O,onFocusChange:B,onBlur:A,selectionManager:H=t.selectionManager}=e,V=!!d,U=V&&"true"===e["aria-expanded"],z=null!=(n=e.isDisabled)?n:H.isDisabled(i),_=null!=(r=e.isSelected)?r:H.isSelected(i),W=p.get(t),J=t.collection.getItem(i),G=e.onClose||W.onClose,q=(0,K.rd)(),$=()=>{var t;!V&&((null==J||null==(t=J.props)?void 0:t.onAction)?J.props.onAction():e.onAction&&e.onAction(i),W.onAction&&(0,W.onAction)(i,null==J?void 0:J.value))},X="menuitem";V||("single"===H.selectionMode?X="menuitemradio":"multiple"===H.selectionMode&&(X="menuitemcheckbox"));let j=(0,m.X1)(),Y=(0,m.X1)(),Q=(0,m.X1)(),Z={id:o,"aria-disabled":z||void 0,role:X,"aria-label":e["aria-label"],"aria-labelledby":j,"aria-describedby":[e["aria-describedby"],Y,Q].filter(
1Boolean).join(" ")||void 0,"aria-controls":e["aria-controls"],"aria-haspopup":d,"aria-expanded":e["aria-expanded"]};if("none"===H.selectionMode||V||(Z["aria-checked"]=_),c){let e=Number(null==J?void 0:J.index);Z["aria-posinset"]=Number.isNaN(e)?void 0:e+1,Z["aria-setsize"]=(0,k.v)(t.collection)}let ee=(0,s.useRef)(!1),et=(0,s.useRef)(null),{itemProps:el,isFocused:en}=(0,w.p)({id:o,selectionManager:H,key:i,ref:l,shouldSelectOnPressUp:!0,allowsDifferentPressOrigin:!0,linkBehavior:"none",shouldUseVirtualFocus:W.shouldUseVirtualFocus}),{pressProps:er,isPressed:eo}=(0,x.d)({onPressStart:f,onPress:v,onPressUp:e=>{"keyboard"!==e.pointerType&&(et.current={pointerType:e.pointerType}),"mouse"!==e.pointerType||ee.current||e.target.click(),null==g||g(e)},onPressChange:e=>{null==D||D(e),ee.current=e},onPressEnd:F,isDisabled:z}),{hoverProps:ei}=(0,C.M)({isDisabled:z,onHoverStart(e){(0,E.pP)()||U&&d||(H.setFocused(!0),H.setFocusedKey(i)),null==R||R(e)},onHoverChange:N,onHoverEnd:M}),{keyboardProps:es}=(0,S.d)({shortcuts:{" ":e=>{et.current={pointerType:"keyboard",key:" "},(0,b.wt)(e).click(),(0,E.Cl)("keyboard")},Enter:e=>{et.current={pointerType:"keyboard",key:"Enter"};let t=(0,b.wt)(e);if("A"!==t.tagName){t.click(),(0,E.Cl)("keyboard");return}return(0,E.Cl)("keyboard"),{shouldPreventDefault:!1,shouldContinuePropagation:!1}}},onKeyDown:L,onKeyUp:I}),{focusableProps:ea}=(0,P.Wc)({onBlur:A,onFocus:O,onFocusChange:B},l),eu=(0,y.$)(null==J?void 0:J.props);delete eu.id;let ec=(0,K._h)(null==J?void 0:J.props);return{menuItemProps:{...Z,...(0,h.v)(eu,ec,V?{onFocus:el.onFocus,"data-collection":el["data-collection"],"data-key":el["data-key"]}:el,er,ei,es,ea,W.shouldUseVirtualFocus||V?{onMouseDown:e=>e.preventDefault()}:void 0,z?void 0:{onClick:e=>{var t,l,n;null==T||T(e),$(),(0,K.PJ)(e,q,J.props.href,null==J?void 0:J.props.routerOptions);let r=(null==(t=et.current)?void 0:t.pointerType)==="keyboard"?(null==(l=et.current)?void 0:l.key)==="Enter"||"none"===H.selectionMode||H.isLink(i):"multiple"!==H.selectionMode||H.isLink(i);r=null!=(n=null!=u?u:a)?n:r,G&&!V&&r&&G(),et.current=null}}),tabIndex:null!=el.tabIndex&&U&&!W.shouldUseVirtualFocus?-1:el.tabIndex},labelProps:{id:j},descriptionProps:{id:Y},keyboardShortcutProps:{id:Q},isFocused:en,isFocusVisible:en&&H.isFocused&&(0,E.pP)()&&!U,isSelected:_,isPressed:eo,isDisabled:z}}({...e,id:i,key:l.key,selectionManager:g,isVirtualized:v},c,d),{hoverProps:M,isHovered:L}=(0,C.M)({isDisabled:N.isDisabled}),I=(0,n.Sl)({...e,id:void 0,children:l.rendered,defaultClassName:"react-aria-MenuItem",values:{...N,isHovered:L,isFocusVisible:N.isFocusVisible,selectionMode:g.selectionMode,selectionBehavior:g.selectionBehavior,hasSubmenu:!!e["aria-haspopup"],isOpen:"true"===e["aria-expanded"]}}),B=e.href?n.tT.a:n.tT.div,H=(0,y.$)(e,{global:!0});return delete H.id,delete H.onClick,s.createElement(B,{...(0,h.v)(H,I,D,M),ref:d,"data-disabled":N.isDisabled||void 0,"data-hovered":L||void 0,"data-focused":N.isFocused||void 0,"data-focus-visible":N.isFocusVisible||void 0,"data-pressed":N.isPressed||void 0,"data-selected":N.isSelected||void 0,"data-selection-mode":"none"===g.selectionMode?void 0:g.selectionMode,"data-has-submenu":!!e["aria-haspopup"]||void 0,"data-open":"true"===e["aria-expanded"]||void 0},s.createElement(n.Kq,{values:[[f.h,{slots:{[n.P_]:F,label:F,description:T}}],[a,R],[u.r,{isSelected:N.isSelected}]]},I.children))})},68047:(e,t,l)=>{l.d(t,{r:()=>n});let n=(0,l(25398).createContext)({isSelected:!1})},69752:(e,t,l)=>{l.d(t,{y:()=>S});var n=l(22211),r=l(23812),o=l(91488),i=l(87037),s=l(24342),a=l(11279),u=l(25293),c=l(75974),d=l(6001),f=l(39531),y=l(42012),p=l(33056),h=l(84640),g=l(99821),v=l(20382),m=l(84062),b=l(558),K=l(76812),E=l(95335),P=l(72003),C=l(25398);function S(e){var t,l;let S,{selectionManager:x,keyboardDelegate:w,ref:k,autoFocus:D=!1,shouldFocusWrap:F=!1,disallowEmptySelection:T=!1,disallowSelectAll:R=!1,escapeKeyBehavior:N="clearSelection",selectOnFocus:M="replace"===x.selectionBehavior,disallowTypeAhead:L=!1,shouldUseVirtualFocus:I,allowsTabNavigation:O=!1,scrollRef:B=k,linkBehavior:A="action",UNSTABLE_focusOnEntry:H}=e,{direction:V}=(0,m.Y)(),U=(0,b.rd)(),z=(e,t,l)=>{if(null!=t){if(x.isLink(t)&&"selection"===A&&M&&!(0,c.N9)(e)){(0,P.flushSync)(()=>{x.setFocusedKey(t,l)});let n=(0,c.au)(k,t),r=x.getItemProps(t);return!!n&&void U.open(n,e,r.href,r.routerOptions)}if(x.setFocusedKey(t,l),x.isLink(t)&&"override"===A)return!1;if(e.shiftKey&&"multiple"===x.selectionMode)return void x.extendSelection(t);
1if(M&&!(0,c.N9)(e))return void x.replaceSelection(t)}return!1},_=(e,t)=>({[(0,f.cX)()?e+"+Shift+Alt":e+"+Shift+Control"]:t,[e+"+Shift"]:t,[(0,f.cX)()?e+"+Alt":e+"+Control"]:t,[e]:t}),{keyboardProps:W}=(0,v.d)({shortcuts:{..._("ArrowDown",e=>{if(w.getKeyBelow){var t,l,n;let r=null!=x.focusedKey?null==(t=w.getKeyBelow)?void 0:t.call(w,x.focusedKey):null==(l=w.getFirstKey)?void 0:l.call(w);if(null==r&&F&&(r=null==(n=w.getFirstKey)?void 0:n.call(w,x.focusedKey)),null!=r)return void z(e,r)}return!1}),..._("ArrowUp",e=>{if(w.getKeyAbove){var t,l,n;let r=null!=x.focusedKey?null==(t=w.getKeyAbove)?void 0:t.call(w,x.focusedKey):null==(l=w.getLastKey)?void 0:l.call(w);if(null==r&&F&&(r=null==(n=w.getLastKey)?void 0:n.call(w,x.focusedKey)),null!=r)return void z(e,r)}return!1}),..._("ArrowLeft",e=>{if(w.getKeyLeftOf){var t,l,n,r;let o=null!=x.focusedKey?null==(t=w.getKeyLeftOf)?void 0:t.call(w,x.focusedKey):null==(l=w.getFirstKey)?void 0:l.call(w);if(null==o&&F&&(o="rtl"===V?null==(n=w.getFirstKey)?void 0:n.call(w,x.focusedKey):null==(r=w.getLastKey)?void 0:r.call(w,x.focusedKey)),null!=o)return void z(e,o,"rtl"===V?"first":"last")}return!1}),..._("ArrowRight",e=>{if(w.getKeyRightOf){var t,l,n,r;let o=null!=x.focusedKey?null==(t=w.getKeyRightOf)?void 0:t.call(w,x.focusedKey):null==(l=w.getFirstKey)?void 0:l.call(w);if(null==o&&F&&(o="rtl"===V?null==(n=w.getLastKey)?void 0:n.call(w,x.focusedKey):null==(r=w.getFirstKey)?void 0:r.call(w,x.focusedKey)),null!=o)return void z(e,o,"rtl"===V?"last":"first")}return!1}),..._("PageDown",e=>{if(w.getKeyPageBelow&&null!=x.focusedKey){let t=w.getKeyPageBelow(x.focusedKey);if(null!=t)return z(e,t)}return!1}),..._("PageUp",e=>{if(w.getKeyPageAbove&&null!=x.focusedKey){let t=w.getKeyPageAbove(x.focusedKey);if(null!=t)return z(e,t)}return!1})},allowRepeats:!0}),{keyboardProps:J}=(0,v.d)({shortcuts:{..._("Home",e=>{if(w.getFirstKey){if(null===x.focusedKey&&e.shiftKey)return!1;let t=w.getFirstKey(x.focusedKey,(0,d.B)(e));if(x.setFocusedKey(t),null!=t){if((0,d.B)(e)&&e.shiftKey&&"multiple"===x.selectionMode)return void x.extendSelection(t);else if(M)return void x.replaceSelection(t)}}return!1}),..._("End",e=>{if(w.getLastKey){if(null===x.focusedKey&&e.shiftKey)return!1;let t=w.getLastKey(x.focusedKey,(0,d.B)(e));if(x.setFocusedKey(t),null!=t){if((0,d.B)(e)&&e.shiftKey&&"multiple"===x.selectionMode)return void x.extendSelection(t);else if(M)return void x.replaceSelection(t)}}return!1}),"Mod+A":()=>"multiple"===x.selectionMode&&!0!==R&&void x.selectAll(),Escape:()=>"clearSelection"===N&&!T&&0!==x.selectedKeys.size&&void x.clearSelection(),Tab:()=>{if(!O&&k.current){let e,t,l=(0,a.N$)(k.current,{tabbable:!0});do(t=l.lastChild())&&(e=t);while(t);let n=(0,s.bq)();e&&(!(0,s.ae)(e)||n&&!(0,y.A)(n))&&(0,i.e)(e)}return{shouldContinuePropagation:!0,shouldPreventDefault:!1}},"Tab+Shift":()=>(!O&&k.current&&k.current.focus(),{shouldContinuePropagation:!0,shouldPreventDefault:!1})}}),G=(0,C.useRef)({top:0,left:0});(0,g._)(B,"scroll",()=>{var e,t,l,n;G.current={top:null!=(l=null==(e=B.current)?void 0:e.scrollTop)?l:0,left:null!=(n=null==(t=B.current)?void 0:t.scrollLeft)?n:0}});let q=(0,C.useRef)(!1);(0,g._)(k,n.C,I?e=>{let{detail:t}=e;e.stopPropagation(),x.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(q.current=!0)}:void 0);let $=null!=(l=null==(t=w.getFirstKey)?void 0:t.call(w))?l:null;(0,E.K)(()=>{if(q.current)if(null==$){let e=(0,s.bq)();(0,r.vX)(k.current),(0,r.Ig)(e,null),x.collection.size>0&&(q.current=!1)}else x.setFocusedKey($),q.current=!1},[$,x.collection.size]),(0,E.K)(()=>{x.collection.size>0&&(q.current=!1)},[x.focusedKey]),(0,g._)(k,n.m,I?e=>{var t;e.stopPropagation(),x.setFocused(!1),(null==(t=e.detail)?void 0:t.clearFocusKey)&&x.setFocusedKey(null)}:void 0);let X=(0,C.useRef)(D),j=(0,C.useRef)(!1);(0,C.useEffect)(()=>{if(X.current){var e,t,l,n;let r=null;"first"===D&&(r=null!=(l=null==(e=w.getFirstKey)?void 0:e.call(w))?l:null),"last"===D&&(r=null!=(n=null==(t=w.getLastKey)?void 0:t.call(w))?n:null);let i=x.selectedKeys;if(i.size){for(let e of i)if(x.canSelectItem(e)){r=e;break}}x.setFocused(!0),x.setFocusedKey(r),null==r&&!I&&k.current&&(0,o.l)(k.current),x.collection.size>0&&(X.current=!1,j.current=!0)}});let Y=(0,C.useRef)(x.focusedKey),Q=(0,C.useRef)(null);(0,C.useEffect)(()=>
1{if(x.isFocused&&null!=x.focusedKey&&(x.focusedKey!==Y.current||j.current)&&B.current&&k.current){let e=(0,u.ME)(),t=(0,c.au)(k,x.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||j.current)&&(Q.current&&cancelAnimationFrame(Q.current),Q.current=requestAnimationFrame(()=>{B.current&&((0,h.R)(B.current,t),"virtual"!==e&&(0,h.o)(t,{containingElement:k.current}))}))}!I&&x.isFocused&&null==x.focusedKey&&null!=Y.current&&k.current&&(0,o.l)(k.current),Y.current=x.focusedKey,j.current=!1}),(0,C.useEffect)(()=>()=>{Q.current&&cancelAnimationFrame(Q.current)},[]),(0,g._)(k,"react-aria-focus-scope-restore",e=>{e.preventDefault(),x.setFocused(!0)});let Z={...(0,p.v)(J,W),onFocus:e=>{var t,l,n,r,o,a;if(x.isFocused){(0,s.sD)(e.currentTarget,(0,s.wt)(e))||x.setFocused(!1);return}if(!(0,s.sD)(e.currentTarget,(0,s.wt)(e)))return;let d=(0,u.ME)();x.setFocused(!0);let f=e=>{null!=e&&(x.setFocusedKey(e),M&&!x.isSelected(e)&&x.replaceSelection(e))};if(H&&("keyboard"===d||"virtual"===d))f("first"===H?null==(t=w.getFirstKey)?void 0:t.call(w):null==(l=w.getLastKey)?void 0:l.call(w));else if(null==x.focusedKey){let t=e.relatedTarget;t&&e.currentTarget.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?f(null!=(o=x.lastSelectedKey)?o:null==(n=w.getLastKey)?void 0:n.call(w)):f(null!=(a=x.firstSelectedKey)?a:null==(r=w.getFirstKey)?void 0:r.call(w))}else B.current&&(B.current.scrollTop=G.current.top,B.current.scrollLeft=G.current.left);if(null!=x.focusedKey&&B.current){let e=(0,c.au)(k,x.focusedKey);e instanceof HTMLElement&&((0,s.ae)(e)||I||(0,i.e)(e),("keyboard"===d||H&&"virtual"===d)&&(0,h.o)(e,{containingElement:k.current}))}},onBlur:e=>{(0,s.sD)(e.currentTarget,e.relatedTarget)||x.setFocused(!1)},onMouseDown(e){B.current===(0,s.wt)(e)&&e.preventDefault()}},{typeSelectProps:ee}=(0,K.I)({keyboardDelegate:w,selectionManager:x});L||(Z=(0,p.v)(ee,Z)),I||(S=null==x.focusedKey?0:-1);let et=(0,c.j5)(x.collection);return{collectionProps:(0,p.v)(Z,{tabIndex:S,"data-collection":et})}}},72591:(e,t,l)=>{l.d(t,{E:()=>i,h:()=>o});var n=l(45799),r=l(25398);let o=(0,r.createContext)({}),i=(0,r.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,o);let{elementType:l="span",...i}=e,s=n.tT[l];return r.createElement(s,{className:"react-aria-Text",...i,ref:t})})},75974:(e,t,l)=>{l.d(t,{EG:()=>u,N9:()=>o,au:()=>i,j5:()=>a});var n=l(39531),r=l(93911);function o(e){return(0,n.lg)()?e.altKey:e.ctrlKey}function i(e,t){var l,n;let r='[data-key="'.concat(CSS.escape(String(t)),'"]'),o=null==(l=e.current)?void 0:l.dataset.collection;return o&&(r='[data-collection="'.concat(CSS.escape(o),'"]').concat(r)),null==(n=e.current)?void 0:n.querySelector(r)}let s=new WeakMap;function a(e){let t=(0,r.Bi)();return s.set(e,t),t}function u(e){return s.get(e)}},76812:(e,t,l)=>{l.d(t,{I:()=>o});var n=l(24342),r=l(25398);function o(e){let{keyboardDelegate:t,selectionManager:l,onTypeSelect:o}=e,i=(0,r.useRef)({search:"",timeout:void 0});return(0,r.useEffect)(()=>{let e=i.current.timeout;return()=>{clearTimeout(e)}},[i]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{if(i.current.search.length>0&&" "===e.key){if(e.preventDefault(),"continuePropagation"in e&&(!("continuePropagation"in e)||e.isPropagationStopped())||e.stopPropagation(),i.current.search+=" ",null!=t.getKeyForSearch){let e=t.getKeyForSearch(i.current.search,l.focusedKey);null==e&&(e=t.getKeyForSearch(i.current.search)),null!=e&&(l.setFocusedKey(e),o&&o(e))}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},1e3)}}:void 0,onKeyDown:t.getKeyForSearch?e=>{var r;let s=1!==(r=e.key).length&&/^[A-Z]/i.test(r)?"":r;if(s&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(0,n.sD)(e.currentTarget,(0,n.wt)(e))&&(0!==i.current.search.length||" "!==s)){if(i.current.search+=s,null!=t.getKeyForSearch){let n=t.getKeyForSearch(i.current.search,l.focusedKey);if(null==n&&(n=t.getKeyForSearch(i.current.search)),null!=n)l.setFocusedKey(n),o&&o(n),e.preventDefault(),"continuePropagation"in e||e.stopPropagation();else{i.current.search="",clearTimeout(i.current.timeout),i.current.timeout=void 0;return}}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},1e3)}}:void 0}}}},78890:(e,t,l)=>{l.d(t,{Q:()=>o});var n=l(84062);let r=new Map;function o(e){let{locale:t}=(0,n.Y)(),l=t+(e?Object.entries(e).sort((e,t)=>
1e[0]<t[0]?-1:1).join():"");if(r.has(l))return r.get(l);let o=new Intl.Collator(t,e);return r.set(l,o),o}},82682:(e,t,l)=>{l.d(t,{O:()=>f,h:()=>d});var n=l(63579),r=l(70517),o=l(24342),i=l(61124);let s="undefined"!=typeof HTMLElement&&"inert"in HTMLElement.prototype;function a(e){return"true"===e.dataset.liveAnnouncer||void 0!==e.dataset.reactAriaTopLayer}let u=new WeakMap,c=[];function d(e,t){var l;let d=(0,r.mD)(null==e?void 0:e[0]),f=t instanceof d.Element?{root:t}:t,y=null!=(l=null==f?void 0:f.root)?l:document.body,p=(null==f?void 0:f.shouldUseInert)&&s,h=new Set(e),g=new Set,v=e=>p&&e instanceof d.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"),m=(e,t)=>{p&&e instanceof d.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof d.HTMLElement&&(e.inert=!1))},b=new Set;if((0,i.Nf)()){let t=y.getRootNode();for(let l of e){let e=l.getRootNode();for(;(0,r.Ng)(e)&&e!==t;)b.add(e),e=e.host.getRootNode()}}let K=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))h.add(t);let t=e=>{if(g.has(e)||h.has(e)||e.parentElement&&g.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of h)if((0,o.sD)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},l=(0,n.H)((0,r.TW)(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),i=t(e);if(i===NodeFilter.FILTER_ACCEPT&&E(e),i!==NodeFilter.FILTER_REJECT){let e=l.nextNode();for(;null!=e;)E(e),e=l.nextNode()}},E=e=>{var t;let l=null!=(t=u.get(e))?t:0;v(e)&&0===l||(0===l&&m(e,!0),g.add(e),u.set(e,l+1))};c.length&&c[c.length-1].disconnect(),K(y);let P=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...h,...g].some(e=>(0,o.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&a(e)?h.add(e):e instanceof Element&&K(e);if((0,i.Nf)()){for(let e of b)if(!e.isConnected){P.disconnect();break}}}});P.observe(y,{childList:!0,subtree:!0});let C=new Set;if((0,i.Nf)())for(let e of b){let t=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...h,...g].some(e=>(0,o.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&a(e)?h.add(e):e instanceof Element&&K(e);if((0,i.Nf)()){for(let e of b)if(!e.isConnected){P.disconnect();break}}}});t.observe(e,{childList:!0,subtree:!0}),C.add(t)}let S={visibleNodes:h,hiddenNodes:g,observe(){P.observe(y,{childList:!0,subtree:!0})},disconnect(){P.disconnect()}};return c.push(S),()=>{if(P.disconnect(),(0,i.Nf)())for(let e of C)e.disconnect();for(let e of g){let t=u.get(e);null!=t&&(1===t?(m(e,!1),u.delete(e)):u.set(e,t-1))}S===c[c.length-1]?(c.pop(),c.length&&c[c.length-1].observe()):c.splice(c.indexOf(S),1)}}function f(e){let t=c[c.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}},86431:(e,t,l)=>{l.d(t,{o:()=>i});var n=l(94775),r=l(93911),o=l(25398);function i(e,t,l){let i,{type:s}=e,{isOpen:a}=t;(0,o.useEffect)(()=>{l&&l.current&&n.a.set(l.current,t.close)}),"menu"===s?i=!0:"listbox"===s&&(i="listbox");let u=(0,r.Bi)();return{triggerProps:{"aria-haspopup":i,"aria-expanded":a,"aria-controls":a?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}},87240:(e,t,l)=>{l.d(t,{y:()=>s});var n=l(69752),r=l(93007),o=l(78890),i=l(25398);function s(e){let{selectionManager:t,collection:l,disabledKeys:s,ref:a,keyboardDelegate:u,layoutDelegate:c,orientation:d}=e,f=(0,o.Q)({usage:"search",sensitivity:"base"}),y=t.disabledBehavior,p=(0,i.useMemo)(()=>u||new(0,r.n)({collection:l,disabledKeys:s,disabledBehavior:y,ref:a,collator:f,layoutDelegate:c,orientation:d}),[u,c,l,s,a,f,y,d]),{collectionProps:h}=(0,n.y)({...e,ref:a,selectionManager:t,keyboardDelegate:p});return{listProps:h}}},93007:(e,t,l)=>{l.d(t,{n:()=>i});var n=l(57990),r=l(75974),o=l(67409);class i{isDisabled(e){var t,l;return"all"===this.disabledBehavior&&((null==(t=e.props)?void 0:t.isDisabled)||this.disabledKeys.has(e.key))&&(null==(l=e.props)?void 0:l.disabledBehavior)!=="selection"}findNextNonDisabled(e,t){let l=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=e;for(;null!=n;){let e=this.collection.getItem(n);if((null==e?void 0:e.type)==="item"&&(l||!this.isDisabled(e)))return n;n=t(n)}return null}getNextKey(e,t){let l=e;return l=this.collection.getKeyAfter(l),this.findNextNonDisabled(l,e=>this.collection.getKeyAfter(e),null==t?void 0:t.includeDisabled)}getPreviousKey(e,t){let l=e;return l=this.collection.getKeyBefore(l),this.findNextNonDisabled(l,e=>this.collection.getKeyBefore(e),null==t?void 0:t.includeDisabled)}findKey(e,t,l){let n=e,r=this.layoutDelegate.getItemRect(n);if(!r||null==n)return null;let o=r;do{if(null==(n=t(n)))break;r=this.layoutDelegate.getItemRect(n)}while(r&&l(o,r)&&null!=n);return n}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}isReversed(e){let t=this.getNextKey(e),l=(0,r.au)(this.ref,e);if(null!=t){let e=(0,r.au)(this.ref,t);return!!l&&!!e&&l.getBoundingClientRect().top>e.getBoundingClientRect().top}let n=this.getPreviousKey(e);if(null!=n){let e=(0,r.au)(this.ref,n);return!!l&&!!e&&e.getBoundingClientRect().top>l.getBoundingClientRect().top}return!1}getKeyBelow(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getPreviousKey(e,t):this.getNextKey(e,t)}
1getKeyAbove(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getNextKey(e,t):this.getPreviousKey(e,t)}getNextColumn(e,t,l){return t?this.getPreviousKey(e,l):this.getNextKey(e,l)}getKeyRightOf(e,t){let l="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";if(this.layoutDelegate[l])return e=this.layoutDelegate[l](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[l](e),null==t?void 0:t.includeDisabled);if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"rtl"===this.direction,t);else return this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction,t),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction,t):null}getKeyLeftOf(e,t){let l="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";if(this.layoutDelegate[l])return e=this.layoutDelegate[l](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[l](e),null==t?void 0:t.includeDisabled);if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"ltr"===this.direction,t);else return this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction,t),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction,t):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,l=this.layoutDelegate.getItemRect(e);if(!l)return null;let n=this.isReversed(e);if(t&&!(0,o.o)(t))return this.getFirstKey();let r=e;if("horizontal"===this.orientation){let e=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>e&&null!=r;)l=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}
1else{let e=this.layoutDelegate.getVisibleRect(),t=n?l.y-e.height:Math.max(0,l.y+l.height-e.height);for(;l&&l.y>t&&null!=r;)l=null==(r=this.getKeyAbove(r))?null:this.layoutDelegate.getItemRect(r)}return null!=r?r:n?this.getLastKey():this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return null;let n=this.isReversed(e);if(t&&!(0,o.o)(t))return this.getLastKey();let r=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,l.x-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<e&&null!=r;)l=null==(r=this.getKeyBelow(r))?null:this.layoutDelegate.getItemRect(r)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<e&&null!=r;)l=null==(r=this.getKeyBelow(r))?null:this.layoutDelegate.getItemRect(r)}return null!=r?r:n?this.getFirstKey():this.getLastKey()}getKeyForSearch(e,t){if(!this.collator)return null;let l=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=l.getItem(n);if(!t)break;let r=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(r,e))return n;n=this.getNextKey(n)}return null}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(0,n.K)(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(0,n.K)(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}}}]);

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.