PageSourceSearch

https://sso.veterandb.com/_next/static/chunks/741-854ab1eaa7d224df.js?dpl=dpl_6AuqbWbyXTLpHvzdo81gaDqrFn4X

js veterandb.com collected 2026-09-24 14:20:21 UTC 138,155 bytes, 9 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]="6adbe334-e34d-45bb-b6bc-228298b45b30",e._sentryDebugIdIdentifier="sentry-dbid-6adbe334-e34d-45bb-b6bc-228298b45b30")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[741],{3396:(e,t,l)=>{let n,r;l.d(t,{d:()=>lc});var i=l(273),o=l(4936),s=l(532),a=l(5331),u=l(8315),c=l(8213),d=l(1810),h=l(5729),f=l(6415),p=l(3303),g=l(5476),m=l(1256),v=l(1662);class y{*[Symbol.iterator](){yield*this.iterable}get size(){return this._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])}getChildren(e){let t=this.keyMap.get(e);return(null==t?void 0:t.childNodes)||[]}constructor(e){var t;this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let l=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let t of e.childNodes)l(t)};for(let t of e)l(t);let n=null,r=0,i=0;for(let[e,t]of this.keyMap)n?(n.nextKey=e,t.prevKey=n.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=r++),("section"===t.type||"item"===t.type)&&i++,(n=t).nextKey=void 0;this._size=i,this.lastKey=null!=(t=null==n?void 0:n.key)?t:null}}class b extends Set{constructor(e,t,l){super(e),e instanceof b?(this.anchorKey=t??e.anchorKey,this.currentKey=l??e.currentKey):(this.anchorKey=t??null,this.currentKey=l??null)}}let w="undefined"!=typeof document?h.useInsertionEffect??h.useLayoutEffect:()=>{};function E(e,t){return e?"all"===e?"all":new b(e):t}function x(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let n=[...S(e,t),t],r=[...S(e,l),l],i=n.slice(0,r.length).findIndex((e,t)=>e!==r[t]);return -1!==i?(t=n[i],l=r[i],t.index-l.index):n.findIndex(e=>e===l)>=0?1:(r.findIndex(e=>e===t),-1)}function S(e,t){let l=[],n=t;for(;n?.parentKey!=null;)(n=e.getItem(n.parentKey))&&l.unshift(n);return l}class C{constructor(e,t,l){this.collection=e,this.state=t,this.allowsCellSelection=l?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=l?.layoutDelegate||null,this.fullCollection=l?.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 t of this.state.selectedKeys){let l=this.collection.getItem(t);(!e||l&&0>x(this.collection,l,e))&&(e=l)}return e?.key??null}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let l=this.collection.getItem(t);(!e||l&&x(this.collection,l,e)>0)&&(e=l)}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 l=this.getKey(e);
1if(null!=l){if("all"===this.state.selectedKeys)t=new b([l],l,l);else{let e=this.state.selectedKeys,n=e.anchorKey??l;for(let r of(t=new b(e,n,l),this.getKeyRange(n,e.currentKey??l)))t.delete(r);for(let e of this.getKeyRange(l,n))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let l=this.collection.getItem(e),n=this.collection.getItem(t);return l&&n?0>=x(this.collection,l,n)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let l=[],n=e;for(;null!=n;){let e=this.collection.getItem(n);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&l.push(n),n===t)return l;n=this.collection.getKeyAfter(n)}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 l=new b("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);l.has(t)?l.delete(t):this.canSelectItem(t)&&(l.add(t),l.anchorKey=t,l.currentKey=t),this.disallowEmptySelection&&0===l.size||this.state.setSelectedKeys(l)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let l=this.canSelectItem(t)?new b([t],t,t):new b;this.state.setSelectedKeys(l)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new b;for(let l of e){let e=this.getKey(l);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=this.fullCollection??this.collection,t=[],l=n=>{for(;null!=n;){if(this.canSelectItemIn(n,e)){let r=e.getItem(n);r?.type==="item"&&t.push(n),r?.hasChildNodes&&(this.allowsCellSelection||"item"!==r.type)&&l(function(e,t){!1;let l=0;for(let n of e){if(l===t)return n;l++}}("function"==typeof e.getChildren?e.getChildren(r.key):r.childNodes,0)?.key??null)}n=e.getKeyAfter(n)}};return l(e.getFirstKey()),t}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 b)}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 l of e)if(!t.has(l))return!1;for(let l of t)if(!e.has(l))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 l=t.getItem(e);return!(!l||l?.props?.isDisabled)&&("cell"!==l.type||!!this.allowsCellSelection)}isDisabled(e){let t=this.collection.getItem(e);return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!t?.props?.isDisabled)&&t?.props?.disabledBehavior!=="selection"}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(e){return new C(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}class K{build(e,t){return this.context=t,N(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:l}=e;if(h.isValidElement(t)&&t.type===h.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=[];
1h.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`${n}${t.key}`;let r=t.value;if(null!=r){var i;let e=null!=(i=r.key)?i:r.id;if(null==e)throw Error("No key found for item");return e}return n?`${n}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,l,n){var r,i,o,s,a,u,c,d;if(h.isValidElement(e.element)&&e.element.type===h.Fragment){let i=[];h.Children.forEach(e.element.props.children,e=>{i.push(e)});let o=null!=(r=e.index)?r:0;for(let e of i)yield*this.getFullNode({element:e,index:o++},t,l,n);return}let f=e.element;if(!f&&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=n?n.key:null,yield l;return}f=t.renderer(e.value)}if(h.isValidElement(f)){let r=f.type;if("function"!=typeof r&&"function"!=typeof r.getCollectionNode){let e=f.type;throw Error(`Unknown element <${e}> in collection.`)}let c=r.getCollectionNode(f.props,this.context),d=null!=(i=e.index)?i:0,h=c.next();for(;!h.done&&h.value;){let r=h.value;e.index=d;let i=null!=(o=r.key)?o:null;null==i&&(i=r.element?null:this.getKey(f,e,t,l));let p=[...this.getFullNode({...r,key:i,index:d,wrapper:function(e,t){return e&&t?l=>e(t(l)):e||t||void 0}(e.wrapper,r.wrapper)},this.getChildState(t,r),l?`${l}${f.key}`:f.key,n)];for(let t of p){if(t.value=null!=(a=null!=(s=r.value)?s:e.value)?a:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${k(t.type)}> in <${k(null!=(u=null==n?void 0:n.type)?u:"unknown parent type")}>. Only <${k(e.type)}> is supported.`);d++,yield t}h=c.next(p)}return}if(null==e.key||null==e.type)return;let p=this,g={type:e.type,props:e.props,key:e.key,parentKey:n?n.key:null,value:null!=(c=e.value)?c:null,level:n?n.level+1:0,index:e.index,rendered:e.rendered,textValue:null!=(d=e.textValue)?d:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:N(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=`${g.key}${n.key}`),p.getFullNode({...n,index:l},p.getChildState(t,n),g.key,g)))l++,yield e})};yield g}constructor(){this.cache=new WeakMap}}function N(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 k(e){return e[0].toUpperCase()+e.slice(1)}function T(e){let{filter:t,layoutDelegate:l}=e,n=function(e){let{selectionMode:t="none",disallowEmptySelection:l=!1,allowDuplicateSelectionEvents:n,selectionBehavior:r="toggle",disabledBehavior:i="all"}=e,o=(0,h.useRef)(!1),[,s]=(0,h.useState)(!1),a=(0,h.useRef)(null),u=(0,h.useRef)(null),[,c]=(0,h.useState)(null),[d,f]=function(e,t,l){let[n,r]=(0,h.useState)(e||t),i=(0,h.useRef)(n),o=(0,h.useRef)(void 0!==e),s=void 0!==e;(0,h.useEffect)(()=>{o.current,o.current=s},[s]);let a=s?e:n;w(()=>{i.current=a});let[,u]=(0,h.useReducer)(()=>({}),{});return[a,(0,h.useCallback)((e,...t)=>{let n="function"==typeof e?e(i.current):e;Object.is(i.current,n)||(i.current=n,r(n),u(),l?.(n,...t))},[l])]}((0,h.useMemo)(()=>E(e.selectedKeys),[e.selectedKeys]),(0,h.useMemo)(()=>E(e.defaultSelectedKeys,new b),[e.defaultSelectedKeys]),e.onSelectionChange),p=(0,h.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[g,m]=(0,h.useState)(r);"replace"===r&&"toggle"===g&&"object"==typeof d&&0===d.size&&m("replace");let v=(0,h.useRef)(r);return(0,h.useEffect)(()=>{r!==v.current&&(m(r),v.current=r)},[r]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:g,setSelectionBehavior:m,get isFocused(){return o.current},setFocused(e){o.current=e,s(e)},get focusedKey(){return a.current},get childFocusStrategy(){return u.current},setFocusedKey(e,t="first"){a.current=e,u.current=t,c(e)},selectedKeys:d,setSelectedKeys(e){(n||!function(e,t){if(e.size!==t.size)return!1;for(let l of e)if(!t.has(l))return!1;return!0}(e,d))&&f(e)},disabledKeys:p,disabledBehavior:i}}(e),r=(0,h.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),i=(0,h.useCallback)(e=>new y(t?t(e):e),[t]),o=(0,h.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),s=function(e,t,l){let n=(0,h.useMemo)(()=>new K,[]),{children:r,items:i,collection:o}=e;return(0,h.useMemo)(()=>o||t(n.build({children:r,items:i},l)),[n,r,i,o,l,t])}(e,i,o),a=(0,h.useMemo)(()=>new C(s,n,{layoutDelegate:l}),[s,n,l]);return function(e,t){let l=(0,h.useRef)(null);(0,h.useEffect)(()=>
1{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&l.current){var n,r,i,o,s,a,u;let c=l.current.getItem(t.focusedKey),d=[...l.current.getKeys()].map(e=>{let t=l.current.getItem(e);return(null==t?void 0:t.type)==="item"?t:null}).filter(e=>null!==e),h=[...e.getKeys()].map(t=>{let l=e.getItem(t);return(null==l?void 0:l.type)==="item"?l:null}).filter(e=>null!==e),f=(null!=(n=null==d?void 0:d.length)?n:0)-(null!=(r=null==h?void 0:h.length)?r:0),p=Math.min(f>1?Math.max((null!=(i=null==c?void 0:c.index)?i:0)-f+1,0):null!=(o=null==c?void 0:c.index)?o:0,(null!=(s=null==h?void 0:h.length)?s:0)-1),g=null,m=!1;for(;p>=0;){if(!t.isDisabled(h[p].key)){g=h[p];break}p<h.length-1&&!m?p++:(m=!0,p>(null!=(a=null==c?void 0:c.index)?a:0)&&(p=null!=(u=null==c?void 0:c.index)?u:0),p--)}t.setFocusedKey(g?g.key:null)}l.current=e},[e,t])}(s,a),{collection:s,disabledKeys:r,selectionManager:a}}var D=l(2612);function M(e){let[t,l]=(0,D.P)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),n=(0,h.useCallback)(()=>{l(!0)},[l]),r=(0,h.useCallback)(()=>{l(!1)},[l]),i=(0,h.useCallback)(()=>{l(!t)},[l,t]);return{isOpen:t,setOpen:l,open:n,close:r,toggle:i}}var P=l(4950),R=l(2029);let I=new Map;function F(e){let{locale:t}=(0,R.Y)(),l=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(I.has(l))return I.get(l);let n=new Intl.Collator(t,e);return I.set(l,n),n}var A=l(1984),B=l(3147),L={};L={"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`}
1,"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}`}};var O=l(4507),z=l(5752),j=l(4142),_=l(62),W=l(1705);let H=0,$=new Map;var V=l(3432);function U(e){let{isDisabled:t,onLongPressStart:l,onLongPressEnd:n,onLongPress:r,threshold:i=500,accessibilityDescription:o}=e,s=(0,h.useRef)(void 0),{addGlobalListener:a,removeGlobalListener:u}=(0,j.A)(),{pressProps:c}=(0,m.d)({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(l&&l({...e,type:"longpressstart"}),s.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,_.TW)(e.target).activeElement!==e.target&&(0,z.e)(e.target),r&&r({...e,type:"longpress"}),s.current=void 0},i),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};a(e.target,"contextmenu",t,{once:!0}),a(window,"pointerup",()=>{setTimeout(()=>{u(e.target,"contextmenu",t)}
1,30)},{once:!0})}},onPressEnd(e){s.current&&clearTimeout(s.current),n&&("mouse"===e.pointerType||"touch"===e.pointerType)&&n({...e,type:"longpressend"})}}),d=function(e){let[t,l]=(0,h.useState)();return(0,W.N)(()=>{if(!e)return;let t=$.get(e);if(t)l(t.element.id);else{let n=`react-aria-description-${H++}`;l(n);let r=document.createElement("div");r.id=n,r.style.display="none",r.textContent=e,document.body.appendChild(r),t={refCount:0,element:r},$.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),$.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(r&&!t?o:void 0);return{longPressProps:(0,V.v)(c,d)}}let q=Symbol.for("react-aria.i18n.locale"),Y=Symbol.for("react-aria.i18n.strings");class X{constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let l=this.getStringsForLocale(t)[e];if(!l)throw Error(`Could not find intl message ${e} in ${t} locale`);return l}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,l="en-US"){var n;if(t[e])return t[e];let r=(n=e,Intl.Locale?new Intl.Locale(n).language:n.split("-")[0]),i=function(e){if(Intl.Locale)return new Intl.Locale(e).script}(e);if(i&&t[`${r}-${i}`])return t[`${r}-${i}`];if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[l]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[q];if(void 0===r){let e=window[Y];if(!e)return null;for(let l in r={},e)r[l]=new X({[t]:e[l]},t)}let l=r?.[e];if(!l)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return l}}let G=new Map,J=new Map;class Z{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let l=this.strings.getStringForLocale(e,this.locale);return"function"==typeof l?l(t,this):l}plural(e,t,l="cardinal"){let n=t["="+e];if(n)return"function"==typeof n?n():n;let r=this.locale+":"+l,i=G.get(r);return i||(i=new Intl.PluralRules(this.locale,{type:l}),G.set(r,i)),"function"==typeof(n=t[i.select(e)]||t.other)?n():n}number(e){let t=J.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),J.set(this.locale,t)),t.format(e)}select(e,t){let l=e[t]||e.other;return"function"==typeof l?l():l}}let Q=new WeakMap;function ee(e,t){let l,{locale:n}=(0,R.Y)(),r=t&&X.getGlobalDictionaryForPackage(t)||((l=Q.get(e))||(l=new X(e),Q.set(e,l)),l);return(0,h.useMemo)(()=>new Z(n,r),[n,r])}var et=l(1182);let el=new WeakMap;function en(e,t,l){let n,{type:r}=e,{isOpen:i}=t;(0,h.useEffect)(()=>{l&&l.current&&el.set(l.current,t.close)}),"menu"===r?n=!0:"listbox"===r&&(n="listbox");let o=(0,O.Bi)();return{triggerProps:{"aria-haspopup":n,"aria-expanded":i,"aria-controls":i?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}var er=l(4712);function ei(e){return(0,er.lg)()?e.altKey:e.ctrlKey}function eo(e,t){var l,n;let r=`[data-key="${CSS.escape(String(t))}"]`,i=null==(l=e.current)?void 0:l.dataset.collection;return i&&(r=`[data-collection="${CSS.escape(i)}"]${r}`),null==(n=e.current)?void 0:n.querySelector(r)}let es=new WeakMap;class ea{getItemRect(e){let t=this.ref.current;if(!t)return null;let l=null!=e?eo(this.ref,e):null;if(!l)return null;let n=t.getBoundingClientRect(),r=l.getBoundingClientRect();return{x:r.left-n.left-t.clientLeft+t.scrollLeft,y:r.top-n.top-t.clientTop+t.scrollTop,width:r.width,height:r.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}}function eu(e,t){if(!e)return!1;let l=window.getComputedStyle(e),n=document.scrollingElement||document.documentElement,r=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);
1return e===n&&"hidden"!==l.overflow&&(r=!0),r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}class ec{isDisabled(e){var t;return"all"===this.disabledBehavior&&((null==(t=e.props)?void 0:t.isDisabled)||this.disabledKeys.has(e.key))}findNextNonDisabled(e,t){let l=e;for(;null!=l;){let e=this.collection.getItem(l);if((null==e?void 0:e.type)==="item"&&!this.isDisabled(e))return l;l=t(l)}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,l){let n=e,r=this.layoutDelegate.getItemRect(n);if(!r||null==n)return null;let i=r;do{if(null==(n=t(n)))break;r=this.layoutDelegate.getItemRect(n)}while(r&&l(i,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}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,l=this.layoutDelegate.getItemRect(e);if(!l)return null;if(t&&!eu(t))return this.getFirstKey();let n=e;if("horizontal"===this.orientation){let e=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>e&&null!=n;)l=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>e&&null!=n;)l=null==(n=this.getKeyAbove(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n:this.getFirstKey()}getKeyPageBelow(e){let t=this.ref.current,l=this.layoutDelegate.getItemRect(e);if(!l)return null;if(t&&!eu(t))return this.getLastKey();let n=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,l.y-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<e&&null!=n;)l=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<e&&null!=n;)l=null==(n=this.getKeyBelow(n))?null:this.layoutDelegate.getItemRect(n)}return null!=n?n: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 ea(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 ea(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}function ed(e){let{keyboardDelegate:t,selectionManager:l,onTypeSelect:n}=e,r=(0,h.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var i;let o=1!==(i=e.key).length&&/^[A-Z]/i.test(i)?"":i;if(o&&!e.ctrlKey&&!e.metaKey&&(0,et.sD)(e.currentTarget,(0,et.wt)(e))&&(0!==r.search.length||" "!==o)){if(" "===o&&r.search.trim().length>0&&(e.preventDefault(),"continuePropagation"in e||e.stopPropagation()),r.search+=o,null!=t.getKeyForSearch){let e=t.getKeyForSearch(r.search,l.focusedKey);null==e&&(e=t.getKeyForSearch(r.search)),null!=e&&(l.setFocusedKey(e),n&&n(e))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},1e3)}}:void 0}}}var eh=l(8429),ef=l(4690),ep=l(6215),eg=l(3079),em=l(3816);function ev(e,t){let l=e;for(eu(l,t)&&(l=l.parentElement);l&&!eu(l,t);)l=l.parentElement;return l||document.scrollingElement||document.documentElement}function ey(e){return(0,er.cX)()?e.metaKey:e.ctrlKey}let eb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function ew(e){return e instanceof HTMLInputElement&&!eb.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}
1let eE="undefined"!=typeof document&&window.visualViewport,ex=0;function eS(e={}){let{isDisabled:t}=e;(0,W.N)(()=>{if(!t){let e,t,l,r,i,o,s;return 1==++ex&&(n=(0,er.un)()?(t=eC(document.documentElement,"overflow","hidden"),l=!1,(r=document.createElement("style")).textContent=`
2@layer {
3  * {
4    overscroll-behavior: contain;
5  }
6}`.trim(),document.head.prepend(r),i=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=(0,et.bq)(),l=null!=t&&ew(t);i.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||eN(this,l)},o=(0,ef.c)(eK(document,"touchstart",t=>{let n=(0,et.wt)(t);e=eu(n)?n:ev(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}),eK(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}),eK(document,"blur",e=>{let t=(0,et.wt)(e),l=e.relatedTarget;if(l&&ew(l))l.focus({preventScroll:!0}),eN(l,ew(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(),o(),r.remove(),HTMLElement.prototype.focus=i}):(s=window.innerWidth-document.documentElement.clientWidth,(0,ef.c)(s>0&&("scrollbarGutter"in document.documentElement.style?eC(document.documentElement,"scrollbarGutter","stable"):eC(document.documentElement,"paddingRight",`${s}px`)),eC(document.documentElement,"overflow","hidden")))),()=>{0==--ex&&n()}}},[t])}function eC(e,t,l){let n=e.style[t];return e.style[t]=l,()=>{e.style[t]=n}}function eK(e,t,l,n){return e.addEventListener(t,l,n),()=>{e.removeEventListener(t,l,n)}}function eN(e,t){t||!eE?ek(e):eE.addEventListener("resize",()=>ek(e),{once:!0})}function ek(e){let t=document.scrollingElement||document.documentElement,l=e;for(;l&&l!==t;){let e=ev(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;eE&&(l=Math.min(l,eE.offsetTop+eE.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}}var eT=new WeakMap,eD="undefined"!=typeof document?h.useLayoutEffect:()=>{},eM=l(5001);let eP={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 eR(e={}){let{style:t,isFocusable:l}=e,[n,r]=(0,h.useState)(!1),{focusWithinProps:i}=(0,eM.R)({isDisabled:!l,onFocusWithinChange:e=>r(e)}),o=(0,h.useMemo)(()=>n?t:t?{...eP,...t}:eP,[n]);return{visuallyHiddenProps:{...i,style:o}}}function eI(e){let{children:t,elementType:l="div",isFocusable:n,style:r,...i}=e,{visuallyHiddenProps:o}=eR(e);return h.createElement(l,(0,V.v)(i,o),t)}var eF=l(1510),eA=l(6029);function eB(e){var t;let{state:l,triggerRef:n,selectRef:r,label:i,name:o,isDisabled:s,form:a}=e,{containerProps:u,selectProps:c}=function(e,t,l){var n,r,i,o;let s,a,u=eT.get(t)||{},{autoComplete:c,name:d=u.name,isDisabled:f=u.isDisabled,selectionMode:p,onChange:g,form:m}=e,{validationBehavior:v,isRequired:y,isInvalid:b}=u,{visuallyHiddenProps:w}=eR();return r=e.selectRef,i=t.selectedKeys,o=t.setSelectedKeys,s=(0,h.useRef)(i),a=function(e){let t=(0,h.useRef)(null);return eD(()=>{t.current=e},[e]),(0,h.useCallback)((...e)=>{let l=t.current;return null==l?void 0:l(...e)},[])}(()=>{o&&o(s.current)}),(0,h.useEffect)(()=>{var e;let t=null==(e=null==r?void 0:r.current)?void 0:e.form;return null==t||t.addEventListener("reset",a),()=>{null==t||t.removeEventListener("reset",a)}},[r,a]),(0,eF.X)({validationBehavior:v,focus:()=>{var e;return null==(e=l.current)?void 0:e.focus()}},t,e.selectRef),{containerProps:{...w,"aria-hidden":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{form:m,autoComplete:c,disabled:f,"aria-invalid":b||void 0,"aria-required":y&&"aria"===v||void 0,required:y&&"native"===v,name:d,tabIndex:-1,value:"multiple"===p?[...t.selectedKeys].map(e=>String(e)):null!=(n=[...t.selectedKeys][0])?n:"",multiple:"multiple"===p,onChange:e=>{t.setSelectedKeys(e.target.value),null==g||g(e)}}}}({...e,selectRef:r},l,n);return l.collection.size<=300?(0,eA.jsx)("div",{...u,"data-testid":"hidden-select-container",children:(0,eA.jsxs)("label",{children:[i,(0,eA.jsxs)("select",{...c,ref:r,children:[(0,eA.jsx)("option",{}),[...l.collection.getKeys()].map(e=>{let t=l.collection.getItem(e);if((null==t?void 0:t.type)==="item")return(0,eA.jsx)("option",{value:t.key,children:t.textValue},t.key)})]})]})}):o?(0,eA.jsx)("input",{autoComplete:c.autoComplete,disabled:s,form:a,name:o,type:"hidden",value:null!=(t=[...l.selectedKeys].join(","))?t:""}):null}let eL=new WeakMap;var eO=l(2409),ez=l(9449),ej=l(3063),e_=l(7423);function eW(e,t,l,n){let r=(0,e_.J)(l),i=null==l;(0,h.useEffect)(()=>
6{if(i||!e.current)return;let l=e.current;return l.addEventListener(t,r,n),()=>{l.removeEventListener(t,r,n)}},[e,t,n,i])}function eH(e,t){let l=[],n=document.scrollingElement||document.documentElement;do eu(e,t)&&l.push(e),e=e.parentElement;while(e&&e!==n);return l}function e$(e,t,l={}){let{block:n="nearest",inline:r="nearest"}=l;if(e===t)return;let i=e.scrollTop,o=e.scrollLeft,s=t.getBoundingClientRect(),a=e.getBoundingClientRect(),u=window.getComputedStyle(t),c=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,h=e===d?0:a.top,f=e===d?e.clientHeight:a.bottom,p=e===d?0:a.left,g=e===d?e.clientWidth:a.right,m=parseInt(u.scrollMarginTop,10)||0,v=parseInt(u.scrollMarginBottom,10)||0,y=parseInt(u.scrollMarginLeft,10)||0,b=parseInt(u.scrollMarginRight,10)||0,w=parseInt(c.scrollPaddingTop,10)||0,E=parseInt(c.scrollPaddingBottom,10)||0,x=parseInt(c.scrollPaddingLeft,10)||0,S=parseInt(c.scrollPaddingRight,10)||0,C=parseInt(c.borderTopWidth,10)||0,K=parseInt(c.borderBottomWidth,10)||0,N=parseInt(c.borderLeftWidth,10)||0,k=parseInt(c.borderRightWidth,10)||0,T=s.top-m,D=s.bottom+v,M=s.left-y,P=s.right+b,R=e===d?0:N+k,I=e===d?0:C+K,F=e.offsetWidth-e.clientWidth-R,A=e.offsetHeight-e.clientHeight-I,B=h+C+w,L=f-K-E-A,O=p+N+x,z=g-k-S;"rtl"!==c.direction||(0,er.un)()?z-=F:O+=F;let j=T<B||D>L,_=M<O||P>z;if(j&&"start"===n)i+=T-B;else if(j&&"center"===n)i+=(T+D)/2-(B+L)/2;else if(j&&"end"===n)i+=D-L;else if(j&&"nearest"===n){let e=T-B,t=D-L;i+=Math.abs(e)<=Math.abs(t)?e:t}if(_&&"start"===r)o+=M-O;else if(_&&"center"===r)o+=(M+P)/2-(O+z)/2;else if(_&&"end"===r)o+=P-z;else if(_&&"nearest"===r){let e=M-O,t=P-z;o+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:o,top:i})}function eV(e,t={}){let{containingElement:l}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow||(0,er.H8)()){let{left:t,top:n}=e.getBoundingClientRect(),r=eH(e,!0);for(let t of r)e$(t,e);let{left:i,top:o}=e.getBoundingClientRect();if(Math.abs(t-i)>1||Math.abs(n-o)>1)for(let e of r=l?eH(l,!0):[])e$(e,l,{block:"center",inline:"center"})}else{var n,r,i;let{left:t,top:o}=e.getBoundingClientRect();null==e||null==(n=e.scrollIntoView)||n.call(e,{block:"nearest"});let{left:s,top:a}=e.getBoundingClientRect();(Math.abs(t-s)>1||Math.abs(o-a)>1)&&(null==l||null==(r=l.scrollIntoView)||r.call(l,{block:"center",inline:"center"}),null==(i=e.scrollIntoView)||i.call(e,{block:"nearest"}))}}}function eU(e,t){let l=(0,h.useRef)(!0),n=(0,h.useRef)(null);(0,W.N)(()=>(l.current=!0,()=>{l.current=!1}),[]),(0,W.N)(()=>{l.current?l.current=!1:(!n.current||t.some((e,t)=>!Object.is(e,n[t])))&&e(),n.current=t},t)}var eq=l(969);class eY{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,et.sD)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],l=e,n=e;for(this._currentNode=e;l&&l!==this.root;)if(l.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=l,r=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(r),r.currentNode=n,this._currentSetFor.add(r),l=n=e.host}else l=l.parentNode;let r=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(r),r.currentNode=n,this._currentSetFor.add(r),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,et.sD)(e,t)?(t&&(this.currentNode=t),t):(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){var t;let l;if("function"==typeof this.filter?l=this.filter(e):(null==(t=this.filter)?void 0:t.acceptNode)&&(l=this.filter.acceptNode(e)),l===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){var l;let e;if("function"==typeof this.filter?e=this.filter(t):(null==(l=this.filter)?void 0:l.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}constructor(e,t,l,n){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){var t;let l=e.shadowRoot;if(l){let e=this._doc.createTreeWalker(l,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(null==(t=this.filter)?void 0:t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=null!=n?n:null,this.whatToShow=null!=l?l:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,l,this._acceptNode));let r=t.shadowRoot;if(r){let e=this._doc.createTreeWalker(r,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}var eX=l(4477);let eG=h.createContext(null),eJ="react-aria-focus-scope-restore",eZ=null;function eQ(e){var t,l,n,r,i;let o,s,{children:a,contain:u,restoreFocus:c,autoFocus:d}=e,f=(0,h.useRef)(null),p=(0,h.useRef)(null),g=(0,h.useRef)([]),{parentNode:m}=(0,h.useContext)(eG)||{},v=(0,h.useMemo)(()=>new tl({scopeRef:g}),[g]);(0,W.N)(()=>{let e=m||tn.root;if(tn.getTreeNode(e.scopeRef)&&eZ&&!e5(eZ,e.scopeRef)){let t=tn.getTreeNode(eZ);t&&(e=t)}e.addChild(v),tn.addNode(v)},[v,m]),(0,W.N)(()=>{let e=tn.getTreeNode(g);e&&(e.contain=!!u)},[u]),(0,W.N)(()=>{var e;let t=null==(e=f.current)?void 0:e.nextSibling,l=[],n=e=>e.stopPropagation();for(;t&&t!==p.current;)l.push(t),t.addEventListener(eJ,n),t=t.nextSibling;return g.current=l,()=>{for(let e of l)e.removeEventListener(eJ,n)}},[a]),t=g,l=c,n=u,(0,W.N)(()=>
6{if(l||n)return;let e=t.current,r=(0,_.TW)(e?e[0]:void 0),i=e=>{let l=(0,et.wt)(e);e4(l,t.current)?eZ=t:e3(l)||(eZ=null)};return r.addEventListener("focusin",i,!1),null==e||e.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{r.removeEventListener("focusin",i,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",i,!1))}},[t,l,n]),r=g,i=u,o=(0,h.useRef)(void 0),s=(0,h.useRef)(void 0),(0,W.N)(()=>{let e=r.current;if(!i){s.current&&(cancelAnimationFrame(s.current),s.current=void 0);return}let t=(0,_.TW)(e?e[0]:void 0),l=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!e1(r)||e.isComposing)return;let l=(0,et.bq)(t),n=r.current;if(!n||!e4(l,n))return;let i=te(e0(n),{tabbable:!0},n);if(!l)return;i.currentNode=l;let o=e.shiftKey?i.previousNode():i.nextNode();o||(i.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,o=e.shiftKey?i.previousNode():i.nextNode()),e.preventDefault(),o&&e6(o,!0)},n=e=>{(!eZ||e5(eZ,r))&&e4((0,et.wt)(e),r.current)?(eZ=r,o.current=(0,et.wt)(e)):e1(r)&&!e3((0,et.wt)(e),r)?o.current?o.current.focus():eZ&&eZ.current&&e7(eZ.current):e1(r)&&(o.current=(0,et.wt)(e))},a=e=>{s.current&&cancelAnimationFrame(s.current),s.current=requestAnimationFrame(()=>{let l=(0,A.ME)(),n=("virtual"===l||null===l)&&(0,er.m0)()&&(0,er.H8)(),i=(0,et.bq)(t);if(!n&&i&&e1(r)&&!e3(i,r)){eZ=r;let t=(0,et.wt)(e);if(t&&t.isConnected){var s;o.current=t,null==(s=o.current)||s.focus()}else eZ.current&&e7(eZ.current)}})};return t.addEventListener("keydown",l,!1),t.addEventListener("focusin",n,!1),null==e||e.forEach(e=>e.addEventListener("focusin",n,!1)),null==e||e.forEach(e=>e.addEventListener("focusout",a,!1)),()=>{t.removeEventListener("keydown",l,!1),t.removeEventListener("focusin",n,!1),null==e||e.forEach(e=>e.removeEventListener("focusin",n,!1)),null==e||e.forEach(e=>e.removeEventListener("focusout",a,!1))}},[r,i]),(0,W.N)(()=>()=>{s.current&&cancelAnimationFrame(s.current)},[s]),function(e,t,l){let n=(0,h.useRef)("undefined"!=typeof document?(0,et.bq)((0,_.TW)(e.current?e.current[0]:void 0)):null);(0,W.N)(()=>{let n=e.current,r=(0,_.TW)(n?n[0]:void 0);if(!t||l)return;let i=()=>{(!eZ||e5(eZ,e))&&e4((0,et.bq)(r),e.current)&&(eZ=e)};return r.addEventListener("focusin",i,!1),null==n||n.forEach(e=>e.addEventListener("focusin",i,!1)),()=>{r.removeEventListener("focusin",i,!1),null==n||n.forEach(e=>e.removeEventListener("focusin",i,!1))}},[e,l]),(0,W.N)(()=>{let n=(0,_.TW)(e.current?e.current[0]:void 0);if(!t)return;let r=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!e1(e)||t.isComposing)return;let l=n.activeElement;if(!e3(l,e)||!e9(e))return;let r=tn.getTreeNode(e);if(!r)return;let i=r.nodeToRestore,o=te(n.body,{tabbable:!0});o.currentNode=l;let s=t.shiftKey?o.previousNode():o.nextNode();if(i&&i.isConnected&&i!==n.body||(i=void 0,r.nodeToRestore=void 0),(!s||!e3(s,e))&&i){o.currentNode=i;do s=t.shiftKey?o.previousNode():o.nextNode();while(e3(s,e));(t.preventDefault(),t.stopPropagation(),s)?e6(s,!0):e3(i)?e6(i,!0):l.blur()}};return l||n.addEventListener("keydown",r,!0),()=>{l||n.removeEventListener("keydown",r,!0)}},[e,t,l]),(0,W.N)(()=>{var l;let r=(0,_.TW)(e.current?e.current[0]:void 0);if(!t)return;let i=tn.getTreeNode(e);if(i)return i.nodeToRestore=null!=(l=n.current)?l:void 0,()=>{let l=tn.getTreeNode(e);if(!l)return;let n=l.nodeToRestore,i=(0,et.bq)(r);if(t&&n&&(i&&e3(i,e)||i===r.body&&e9(e))){let t=tn.clone();requestAnimationFrame(()=>{if(r.activeElement===r.body){let l=t.getTreeNode(e);for(;l;){if(l.nodeToRestore&&l.nodeToRestore.isConnected)return void e8(l.nodeToRestore);l=l.parent}for(l=t.getTreeNode(e);l;){if(l.scopeRef&&l.scopeRef.current&&tn.getTreeNode(l.scopeRef))return void e8(e2(l.scopeRef.current,!0));l=l.parent}}})}}},[e,t])}(g,c,u),function(e,t){let l=h.useRef(t);(0,h.useEffect)(()=>{if(l.current){eZ=e;let t=(0,_.TW)(e.current?e.current[0]:void 0);!e4((0,et.bq)(t),eZ.current)&&e.current&&e7(e.current)}l.current=!1},[e])}(g,d),(0,h.useEffect)(()=>{let e=(0,et.bq)((0,_.TW)(g.current?g.current[0]:void 0)),t=null;if(e4(e,g.current)){for(let l of tn.traverse())l.scopeRef&&e4(e,l.scopeRef.current)&&(t=l);t===tn.getTreeNode(g)&&(eZ=t.scopeRef)}},[g]),(0,W.N)(()=>()=>{var e,t,l;let n=null!=(l=null==(t=tn.getTreeNode(g))||null==(e=t.parent)?void 0:e.scopeRef)?l:null;(g===eZ||e5(g,eZ))&&(!n||tn.getTreeNode(n))&&(eZ=n),tn.removeTreeNode(g)},[g]);let y=(0,h.useMemo)(()=>{var e;return e=g,{focusNext(t={}){var l;let n=e.current,{from:r,tabbable:i,wrap:o,accept:s}=t,a=r||(0,et.bq)((0,_.TW)(null!=(l=n[0])?l:void 0)),u=n[0].previousElementSibling,c=te(e0(n),{tabbable:i,accept:s},n);c.currentNode=e4(a,n)?a:u;let d=c.nextNode();return!d&&o&&(c.currentNode=u,d=c.nextNode()),d&&e6(d,!0),d},focusPrevious(t={}){var l;let n=e.current,{from:r,tabbable:i,wrap:o,accept:s}=t,a=r||(0,et.bq)((0,_.TW)(null!=(l=n[0])?l:void 0)),u=n[n.length-1].nextElementSibling,c=te(e0(n),{tabbable:i,accept:s},n);c.currentNode=e4(a,n)?a:u;let d=c.previousNode();return!d&&o&&(c.currentNode=u,d=c.previousNode()),d&&e6(d,!0),d},focusFirst(t={}){let l=e.current,{tabbable:n,accept:r}=t,i=te(e0(l),{tabbable:n,accept:r},l);i.currentNode=l[0].previousElementSibling;let o=i.nextNode();return o&&e6(o,!0),o},focusLast(t={}){let l=e.current,{tabbable:n,accept:r}=t,i=te(e0(l),{tabbable:n,accept:r},l);i.currentNode=l[l.length-1].nextElementSibling;let o=i.previousNode();return o&&e6(o,!0),o}}},[]),b=(0,h.useMemo)(()=>({focusManager:y,parentNode:v}),[v,y]);return h.createElement(eG.Provider,{value:b},h.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:f}),a,h.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:p}))}function e0(e){return e[0].parentElement}function e1(e){let t=tn.getTreeNode(eZ);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function e4(e,t){return!!e&&!!t&&t.some(t=>(0,et.sD)(t,e))}function e3(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:l}of tn.traverse(tn.getTreeNode(t)))if(l&&e4(e,l.current))return!0;return!1}function e5(e,t){var l;let n=null==(l=tn.getTreeNode(t))?void 0:l.parent;for(;n;){if(n.scopeRef===e)return!0;n=n.parent}return!1}function e6(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,eX.l)(e)}catch{}}function e2(e,t=!0){let l=e[0].previousElementSibling,n=e0(e),r=te(n,{tabbable:t},e);r.currentNode=l;let i=r.nextNode();return t&&!i&&((r=te(n=e0(e),{tabbable:!1},e)).currentNode=l,i=r.nextNode()),i}function e7(e,t=!0){e6(e2(e,t))}function e9(e){let t=tn.getTreeNode(eZ);for(;t&&t.scopeRef!==e;
6){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function e8(e){e.dispatchEvent(new CustomEvent(eJ,{bubbles:!0,cancelable:!0}))&&e6(e)}function te(e,t,l){var n,r,i;let o=(null==t?void 0:t.tabbable)?ej.A:ej.t,s=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,a=(0,_.TW)(s),u=(n=e||a,r=NodeFilter.SHOW_ELEMENT,i={acceptNode:e=>(0,et.sD)(null==t?void 0:t.from,e)||(null==t?void 0:t.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,_.TW)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),l=(0,_.mD)(e);return t instanceof l.RadioNodeList?Array.from(t).filter(e=>e instanceof l.HTMLInputElement):t instanceof l.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}(e)||"INPUT"===u.currentNode.tagName&&"radio"===u.currentNode.type&&u.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:o(e)&&(!l||e4(e,l))&&(!(null==t?void 0:t.accept)||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},(0,eq.Nf)()?new eY(a,n,r,i):a.createTreeWalker(n,r,i));return(null==t?void 0:t.from)&&(u.currentNode=t.from),u}class tt{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,l){let n=this.fastMap.get(null!=t?t:null);if(!n)return;let r=new tl({scopeRef:e});n.addChild(r),r.parent=n,this.fastMap.set(e,r),l&&(r.nodeToRestore=l)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let l=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&e4(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;l&&(l.removeChild(t),n.size>0&&n.forEach(e=>l&&l.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e,t;let l=new tt;for(let n of this.traverse())l.addTreeNode(n.scopeRef,null!=(t=null==(e=n.parent)?void 0:e.scopeRef)?t:null,n.nodeToRestore);return l}constructor(){this.fastMap=new Map,this.root=new tl({scopeRef:null}),this.fastMap.set(null,this.root)}}class tl{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let tn=new tt;function tr(e){var t,l,n;let r,i,o=(t=(0,_.TW)(e),(i=null==(r=(0,et.bq)(t))?void 0:r.getAttribute("aria-activedescendant"))&&t.getElementById(i)||r);o!==e&&(o&&(l=o,n=e,l.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),l.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))),e&&ti(e,o))}function ti(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}var to=l(6760);function ts(e){let{isSelected:t,disableAnimation:l,...n}=e;return(0,eA.jsx)("svg",{"aria-hidden":"true","data-selected":t,role:"presentation",viewBox:"0 0 17 18",...n,children:(0,eA.jsx)("polyline",{fill:"none",points:"1 9 7 14 15 4",stroke:"currentColor",strokeDasharray:22,strokeDashoffset:t?44:66,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,style:l?{}:{transition:"stroke-dashoffset 200ms ease"}})})}let ta=new WeakMap;var tu=l(4407),tc=e=>{let{Component:t,rendered:l,description:n,isSelectable:r,isSelected:s,isDisabled:c,selectedIcon:f,startContent:y,endContent:b,hideSelectedIcon:w,disableAnimation:E,getItemProps:x,getLabelProps:S,getWrapperProps:C,getDescriptionProps:K,getSelectedIconProps:N}=function(e){var t,l;let n=(0,i.o)(),[r,s]=(0,o.rE)(e,a.j$.variantKeys),{as:c,item:f,state:y,description:b,startContent:w,endContent:E,isVirtualized:x,selectedIcon:S,className:C,classNames:K,autoFocus:N,onPress:k,onPressUp:T,onPressStart:D,onPressEnd:M,onPressChange:P,onClick:R,shouldHighlightOnFocus:I,hideSelectedIcon:F=!1,isReadOnly:B=!1,...L}=r,z=null!=(l=null!=(t=e.disableAnimation)?t:null==n?void 0:n.disableAnimation)&&l,j=(0,h.useRef)(null),_=c||(e.href?"a":"li"),W="string"==typeof _,{rendered:H,key:$}=f,q=y.disabledKeys.has($)||e.isDisabled,Y="none"!==y.selectionManager.selectionMode,X=!(0,tu.wR)()&&"undefined"!=typeof window&&window.screen.width<=700,{pressProps:G,isPressed:J}=(0,m.d)({ref:j,isDisabled:q,onClick:R,onPress:k,onPressUp:T,onPressStart:D,onPressEnd:M,onPressChange:P}),{isHovered:Z,hoverProps:Q}=(0,v.M)({isDisabled:q}),{isFocusVisible:ee,focusProps:el}=(0,p.o)({autoFocus:N}),{isFocused:en,isSelected:eo,optionProps:ea,labelProps:eu,descriptionProps:ec}=function(e,t,l){var n,r,i,o,s,a,u,c;let{key:d}=e,f=eL.get(t),p=null!=(i=e.isDisabled)?i:t.selectionManager.isDisabled(d),g=null!=(o=e.isSelected)?o:t.selectionManager.isSelected(d),y=null!=(s=e.shouldSelectOnPressUp)?s:null==f?void 0:f.shouldSelectOnPressUp,b=null!=(a=e.shouldFocusOnHover)?a:null==f?void 0:f.shouldFocusOnHover,w=null!=(u=e.shouldUseVirtualFocus)?u:null==f?void 0:f.shouldUseVirtualFocus,E=null!=(c=e.isVirtualized)?c:null==f?void 0:f.isVirtualized,x=(0,O.X1)(),S=(0,O.X1)(),C={role:"option","aria-disabled":p||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?g:void 0};(0,er.cX)()&&(0,er.Tc)()||(C["aria-label"]=e["aria-label"],C["aria-labelledby"]=x,C["aria-describedby"]=S);let K=t.collection.getItem(d);if(E){let e=Number(null==K?void 0:K.index);C["aria-posinset"]=Number.isNaN(e)?void 0:e+1,C["aria-setsize"]=function(e){let t=ta.get(e);if(null!=t)return t;let l=0,n=t=>{for(let r of t)if("section"===r.type)n("function"==typeof e.getChildren?e.getChildren(r.key):r.childNodes);
6else"item"===r.type&&l++};return n(e),ta.set(e,l),l}(t.collection)}let N=(null==f?void 0:f.onAction)?()=>{var e;return null==f||null==(e=f.onAction)?void 0:e.call(f,d)}:void 0,k=function(e,t){let l=eL.get(e);if(!l)throw Error("Unknown list");return`${l.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}(t,d),{itemProps:T,isPressed:D,isFocused:M,hasAction:P,allowsSelection:R}=function(e){var t;let{id:l,selectionManager:n,key:r,ref:i,shouldSelectOnPressUp:o,shouldUseVirtualFocus:s,focus:a,isDisabled:u,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:f="action"}=e,p=(0,ez.rd)();l=(0,O.Bi)(l);let g=e=>{if("keyboard"===e.pointerType&&ei(e))n.toggleSelection(r);else{if("none"===n.selectionMode)return;if(n.isLink(r)){if("selection"===f&&i.current){let t=n.getItemProps(r);p.open(i.current,e,t.href,t.routerOptions),n.setSelectedKeys(n.selectedKeys);return}else if("override"===f||"none"===f)return}"single"===n.selectionMode?n.isSelected(r)&&!n.disallowEmptySelection?n.toggleSelection(r):n.replaceSelection(r):e&&e.shiftKey?n.extendSelection(r):"toggle"===n.selectionBehavior||e&&(ey(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?n.toggleSelection(r):n.replaceSelection(r)}};(0,h.useEffect)(()=>{r===n.focusedKey&&n.isFocused&&(s?tr(i.current):a?a():(0,et.bq)()!==i.current&&i.current&&(0,eX.l)(i.current))},[i,r,n.focusedKey,n.childFocusStrategy,n.isFocused,s]),u=u||n.isDisabled(r);let v={};s||u?u&&(v.onMouseDown=e=>{e.preventDefault()}):v={tabIndex:r===n.focusedKey?0:-1,onFocus(e){(0,et.wt)(e)===i.current&&n.setFocusedKey(r)}},(0,h.useEffect)(()=>{u&&n.focusedKey===r&&n.setFocusedKey(null)},[n,u,r]);let y=n.isLink(r)&&"override"===f,b=c&&"action"===e.UNSTABLE_itemBehavior,w=n.isLink(r)&&"selection"!==f&&"none"!==f,E=!u&&n.canSelectItem(r)&&!y&&!b,x=(c||w)&&!u,S=x&&("replace"===n.selectionBehavior?!E:!E||n.isEmpty),C=x&&E&&"replace"===n.selectionBehavior,K=S||C,N=(0,h.useRef)(null),k=K&&E,T=(0,h.useRef)(!1),D=(0,h.useRef)(!1),M=n.getItemProps(r),P=e=>{if(c){var t;c(),null==(t=i.current)||t.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))}w&&i.current&&p.open(i.current,e,M.href,M.routerOptions)},R={ref:i};if(o?(R.onPressStart=e=>{N.current=e.pointerType,T.current=k,"keyboard"!==e.pointerType||K&&" "!==e.key||g(e)},d?(R.onPressUp=S?void 0:e=>{"mouse"===e.pointerType&&E&&g(e)},R.onPress=S?P:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&E&&g(e)}):R.onPress=e=>{S||C&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&P(e):"keyboard"!==e.pointerType&&E&&g(e)}):(R.onPressStart=e=>{N.current=e.pointerType,T.current=k,D.current=S,!E||("mouse"!==e.pointerType||S)&&("keyboard"!==e.pointerType||x&&" "!==e.key)||g(e)},R.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&K&&"Enter"===e.key||"mouse"===e.pointerType&&D.current)&&(K?P(e):E&&g(e))}),v["data-collection"]=(t=n.collection,es.get(t)),v["data-key"]=r,R.preventFocusOnPress=s,s&&(R=(0,V.v)(R,{onPressStart(e){"touch"!==e.pointerType&&(n.setFocused(!0),n.setFocusedKey(r))},onPress(e){"touch"===e.pointerType&&(n.setFocused(!0),n.setFocusedKey(r))}})),M)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])M[e]&&(R[e]=(0,ef.c)(R[e],M[e]));let{pressProps:I,isPressed:F}=(0,m.d)(R),A=C?e=>{"mouse"===N.current&&(e.stopPropagation(),e.preventDefault(),P(e))}:void 0,{longPressProps:B}=U({isDisabled:!k,onLongPress(e){"touch"===e.pointerType&&(g(e),n.setSelectionBehavior("toggle"))}}),L="none"!==f&&n.isLink(r)?e=>{ez.Fe.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,V.v)(v,E||S||s&&!u?I:{},k?B:{},{onDoubleClick:A,onDragStartCapture:e=>{"touch"===N.current&&T.current&&e.preventDefault()},onClick:L,id:l},s?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:F,isSelected:n.isSelected(r),isFocused:n.isFocused&&n.focusedKey===r,isDisabled:u,allowsSelection:E,hasAction:K}}({selectionManager:t.selectionManager,key:d,ref:l,shouldSelectOnPressUp:y,allowsDifferentPressOrigin:y&&b,isVirtualized:E,shouldUseVirtualFocus:w,isDisabled:p,onAction:N||(null==K||null==(n=K.props)?void 0:n.onAction)?(0,ef.c)(null==K||null==(r=K.props)?void 0:r.onAction,N):void 0,linkBehavior:null==f?void 0:f.linkBehavior,UNSTABLE_itemBehavior:null==f?void 0:f.UNSTABLE_itemBehavior,id:k}),{hoverProps:I}=(0,v.M)({isDisabled:p||!b,onHoverStart(){(0,A.pP)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(d))}}),F=(0,eh.$)(null==K?void 0:K.props);delete F.id;let B=(0,ez._h)(null==K?void 0:K.props);return{optionProps:{...C,...(0,V.v)(F,T,I,B),id:k},labelProps:{id:x},descriptionProps:{id:S},isFocused:M,isFocusVisible:M&&t.selectionManager.isFocused&&(0,A.pP)(),isSelected:g,isDisabled:p,isPressed:D,allowsSelection:R,hasAction:P}}({key:$,isDisabled:q,"aria-label":r["aria-label"],isVirtualized:x},y,j),ed=ea,ep=(0,h.useMemo)(()=>(0,a.j$)({...s,isDisabled:q,disableAnimation:z,hasTitleTextChild:"string"==typeof H,hasDescriptionTextChild:"string"==typeof b}),[(0,g.t6)(s),q,z,H,b]),eg=(0,u.cn)(null==K?void 0:K.base,C);B&&(ed=(0,g.GU)(ed));let em=I&&en||(X?Z||J:Z||en&&!ee),ev=e=>{let t=e.target;(t.closest("[data-slot='startContent']")||t.closest("[data-slot='endContent']"))&&e.stopPropagation()},eb=(0,h.useCallback)((e={})=>({"aria-hidden":(0,g.sE)(!0),"data-disabled":(0,g.sE)(q),className:ep.selectedIcon({class:null==K?void 0:K.selectedIcon}),...e}),[q,ep,K]);return{Component:_,domRef:j,slots:ep,classNames:K,isSelectable:Y,isSelected:eo,isDisabled:q,rendered:H,description:b,startContent:w,endContent:E,selectedIcon:S,hideSelectedIcon:F,disableAnimation:z,getItemProps:(e={})=>({ref:j,onFocusCapture:ev,...(0,g.v6)(ed,B?{}:(0,g.v6)(el,G),Q,(0,d.$)(L,{enabled:W}),e),"data-selectable":(0,g.sE)(Y),"data-focus":(0,g.sE)(en),"data-hover":(0,g.sE)(em),"data-disabled":(0,g.sE)(q),"data-selected":(0,g.sE)(eo),"data-pressed":(0,g.sE)(J),"data-focus-visible":(0,g.sE)(ee),className:ep.base({class:(0,u.cn)(eg,e.className)})}),getLabelProps:(e={})=>({...(0,g.v6)(eu,e),"data-label":(0,g.sE)(!0),className:ep.title({class:null==K?void 0:K.title})}),getWrapperProps:(e={})=>({...(0,g.v6)(e),className:ep.wrapper({class:null==K?void 0:K.wrapper})}),getDescriptionProps:(e={})=>({...(0,g.v6)(ec,e),className:ep.description({class:null==K?void 0:K.description})}),getSelectedIconProps:eb}}(e),k=(0,h.useMemo)(()=>{let e=(0,eA.jsx)(ts,{disableAnimation:E,isSelected:s});return"function"==typeof f?f({icon:e,isSelected:s,isDisabled:c}):f||e},[f,s,c,E]);return(0,eA.jsxs)(t,{...x(),children:[y&&(0,eA.jsx)("span",{"data-slot":"startContent",children:y}),n?(0,eA.jsxs)("div",{...C(),children:[(0,eA.jsx)("span",{...S(),children:l}),(0,eA.jsx)("span",{...K(),children:n})]}):(0,eA.jsx)("span",{...S(),children:l}),r&&!w&&(0,eA.jsx)("span",{...N(),children:k}),b&&(0,eA.jsx)("span",{"data-slot":"endContent",children:b})]})};tc.displayName="HeroUI.ListboxItem";var td=l(2772),th=(0,td.tv)({base:"shrink-0 bg-divider border-none",variants:{orientation:{horizontal:"w-full h-divider",vertical:"h-full w-divider"}},defaultVariants:{orientation:"horizontal"}}),tf=(0,o.Rf)((e,t)=>{let{Component:l,getDividerProps:n}=function(e){var t;let l,n,{as:r,className:i,orientation:o,...s}=e,a=r||"hr";"hr"===a&&"vertical"===o&&(a="div");let{separatorProps:u}=(t={elementType:"string"==typeof a?a:"hr",orientation:o},n=(0,d.$)(t,{enabled:"string"==typeof t.elementType}),("vertical"===t.orientation&&(l="vertical"),"hr"!==t.elementType)?{separatorProps:{...n,role:"separator","aria-orientation":l}}:{separatorProps:n}),c=(0,h.useMemo)(()=>th({orientation:o,className:i}),[o,i]);return{Component:a,getDividerProps:(0,h.useCallback)((e={})=>({className:c,role:"separator","data-orientation":o,...u,...s,...e}),[c,o,u,s])}}({...e});return(0,eA.jsx)(l,{ref:t,...n()})});tf.displayName="HeroUI.Divider";var tp=(0,o.Rf)(({item:e,state:t,as:l,variant:n,color:r,disableAnimation:i,className:o,classNames:s,hideSelectedIcon:c,showDivider:d=!1,dividerProps:f={},itemClasses:p,title:m,items:v,...y},b)=>{let w=(0,h.useMemo)(()=>(0,a.Dt)(),[]),E=(0,u.cn)(null==s?void 0:s.base,o),x=(0,u.cn)(null==s?void 0:s.divider,null==f?void 0:f.className),{itemProps:S,headingProps:C,groupProps:K}=function(e){let{heading:t,"aria-label":l}=e,n=(0,O.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:e=>{e.preventDefault()}}:{},groupProps:{role:"group","aria-label":l,"aria-labelledby":t?n:void 0}}}({heading:e.rendered,"aria-label":e["aria-label"]});return(0,eA.jsxs)(l||"li",{"data-slot":"base",...(0,g.v6)(S,y),className:w.base({class:E}),children:[e.rendered&&(0,eA.jsx)("span",{...C,className:w.heading({class:null==s?void 0:s.heading}),"data-slot":"heading",children:e.rendered}
6),(0,eA.jsxs)("ul",{...K,className:w.group({class:null==s?void 0:s.group}),"data-has-title":!!e.rendered,"data-slot":"group",children:[[...e.childNodes].map(e=>{let{key:l,props:o}=e,s=(0,eA.jsx)(tc,{classNames:p,color:r,disableAnimation:i,hideSelectedIcon:c,item:e,state:t,variant:n,...o},l);return e.wrapper&&(s=e.wrapper(s)),s}),d&&(0,eA.jsx)(tf,{as:"li",className:w.divider({class:x}),...f})]})]},e.key)});function tg(e,t,l){let n,r=l.initialDeps??[];return()=>{var i,o,s,a;let u,c;l.key&&(null==(i=l.debug)?void 0:i.call(l))&&(u=Date.now());let d=e();if(!(d.length!==r.length||d.some((e,t)=>r[t]!==e)))return n;if(r=d,l.key&&(null==(o=l.debug)?void 0:o.call(l))&&(c=Date.now()),n=t(...d),l.key&&(null==(s=l.debug)?void 0:s.call(l))){let e=Math.round((Date.now()-u)*100)/100,t=Math.round((Date.now()-c)*100)/100,n=t/16,r=(e,t)=>{for(e=String(e);e.length<t;)e=" "+e;return e};console.info(`%c⏱ ${r(t,5)} /${r(e,5)} ms`,`
7            font-size: .6rem;
8            font-weight: bold;
9            color: hsl(${Math.max(0,Math.min(120-120*n,120))}deg 100% 31%);`,null==l?void 0:l.key)}return null==(a=null==l?void 0:l.onChange)||a.call(l,n),n}}function tm(e,t){if(void 0!==e)return e;throw Error(`Unexpected undefined${t?`: ${t}`:""}`)}tp.displayName="HeroUI.ListboxSection";let tv=e=>e,ty=e=>{let t=Math.max(e.startIndex-e.overscan,0),l=Math.min(e.endIndex+e.overscan,e.count-1),n=[];for(let e=t;e<=l;e++)n.push(e);return n},tb=(e,t)=>{let l=e.scrollElement;if(!l)return;let n=e.targetWindow;if(!n)return;let r=e=>{let{width:l,height:n}=e;t({width:Math.round(l),height:Math.round(n)})};if(r(l.getBoundingClientRect()),!n.ResizeObserver)return()=>{};let i=new n.ResizeObserver(e=>{let t=e[0];if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return void r({width:e.inlineSize,height:e.blockSize})}r(l.getBoundingClientRect())});return i.observe(l,{box:"border-box"}),()=>{i.unobserve(l)}},tw={passive:!0},tE="undefined"==typeof window||"onscrollend"in window,tx=(e,t)=>{let l=e.scrollElement;if(!l)return;let n=e.targetWindow;if(!n)return;let r=0,i=e.options.useScrollendEvent&&tE?()=>void 0:((e,t,l)=>{let n;return function(...r){e.clearTimeout(n),n=e.setTimeout(()=>t.apply(this,r),l)}})(n,()=>{t(r,!1)},e.options.isScrollingResetDelay),o=n=>()=>{let{horizontal:o,isRtl:s}=e.options;r=o?l.scrollLeft*(s&&-1||1):l.scrollTop,i(),t(r,n)},s=o(!0),a=o(!1);return a(),l.addEventListener("scroll",s,tw),l.addEventListener("scrollend",a,tw),()=>{l.removeEventListener("scroll",s),l.removeEventListener("scrollend",a)}},tS=(e,t,l)=>{if(null==t?void 0:t.borderBoxSize){let e=t.borderBoxSize[0];if(e)return Math.round(e[l.options.horizontal?"inlineSize":"blockSize"])}return Math.round(e.getBoundingClientRect()[l.options.horizontal?"width":"height"])},tC=(e,{adjustments:t=0,behavior:l},n)=>{var r,i;null==(i=null==(r=n.scrollElement)?void 0:r.scrollTo)||i.call(r,{[n.options.horizontal?"left":"top"]:e+t,behavior:l})};class tK{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null,t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver(e=>{e.forEach(e=>{this._measureElement(e.target,e)})}):null);return{disconnect:()=>{var l;null==(l=t())||l.disconnect(),e=null},observe:e=>{var l;return null==(l=t())?void 0:l.observe(e,{box:"border-box"})},unobserve:e=>{var l;return null==(l=t())?void 0:l.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([t,l])=>{void 0===l&&delete e[t]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:tv,rangeExtractor:ty,onChange:()=>{},measureElement:tS,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,useScrollendEvent:!0,...e}},this.notify=e=>{var t,l;null==(l=(t=this.options).onChange)||l.call(t,this,e)},this.maybeNotify=tg(()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]),e=>{this.notify(e)},{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>
9{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.observer.disconnect(),this.scrollElement=null,this.targetWindow=null},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;let t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this.elementsCache.forEach(e=>{this.observer.observe(e)}),this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,e=>{this.scrollRect=e,this.maybeNotify()})),this.unsubs.push(this.options.observeElementOffset(this,(e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()<e?"forward":"backward":null,this.scrollOffset=e,this.isScrolling=t,this.maybeNotify()}))}},this.getSize=()=>this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{let l=new Map,n=new Map;for(let r=t-1;r>=0;r--){let t=e[r];if(l.has(t.lane))continue;let i=n.get(t.lane);if(null==i||t.end>i.end?n.set(t.lane,t):t.end<i.end&&l.set(t.lane,!0),l.size===this.options.lanes)break}return n.size===this.options.lanes?Array.from(n.values()).sort((e,t)=>e.end===t.end?e.index-t.index:e.end-t.end)[0]:void 0},this.getMeasurementOptions=tg(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,t,l,n,r)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:l,getItemKey:n,enabled:r}),{key:!1}),this.getMeasurements=tg(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:t,scrollMargin:l,getItemKey:n,enabled:r},i)=>{if(!r)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(e=>{this.itemSizeCache.set(e.key,e.size)}));let o=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];let s=this.measurementsCache.slice(0,o);for(let r=o;r<e;r++){let e=n(r),o=1===this.options.lanes?s[r-1]:this.getFurthestMeasurement(s,r),a=o?o.end+this.options.gap:t+l,u=i.get(e),c="number"==typeof u?u:this.options.estimateSize(r),d=a+c,h=o?o.lane:r%this.options.lanes;s[r]={index:r,start:a,size:c,end:d,key:e,lane:h}}return this.measurementsCache=s,s},{key:!1,debug:()=>this.options.debug}),this.calculateRange=tg(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,t,l)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:l}){let n=e.length-1,r=tN(0,n,t=>e[t].start,l),i=r;for(;i<n&&e[i].end<l+t;)i++;return{startIndex:r,endIndex:i}}({measurements:e,outerSize:t,scrollOffset:l}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=tg(()=>{let e=null,t=null,l=this.calculateRange();return l&&(e=l.startIndex,t=l.endIndex),[this.options.rangeExtractor,this.options.overscan,this.options.count,e,t]},(e,t,l,n,r)=>null===n||null===r?[]:e({startIndex:n,endIndex:r,overscan:t,count:l}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{let t=this.options.indexAttribute,l=e.getAttribute(t);return l?parseInt(l,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{let l=this.indexFromElement(e),n=this.measurementsCache[l];if(!n)return;let r=n.key,i=this.elementsCache.get(r);i!==e&&(i&&this.observer.unobserve(i),this.observer.observe(e),this.elementsCache.set(r,e)),e.isConnected&&this.resizeItem(l,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>
9{let l=this.measurementsCache[e];if(!l)return;let n=t-(this.itemSizeCache.get(l.key)??l.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(l,n,this):l.start<this.getScrollOffset()+this.scrollAdjustments)&&this._scrollToOffset(this.getScrollOffset(),{adjustments:this.scrollAdjustments+=n,behavior:void 0}),this.pendingMeasuredCacheIndexes.push(l.index),this.itemSizeCache=new Map(this.itemSizeCache.set(l.key,t)),this.notify(!1))},this.measureElement=e=>{if(!e)return void this.elementsCache.forEach((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))});this._measureElement(e,void 0)},this.getVirtualItems=tg(()=>[this.getIndexes(),this.getMeasurements()],(e,t)=>{let l=[];for(let n=0,r=e.length;n<r;n++){let r=t[e[n]];l.push(r)}return l},{key:!1,debug:()=>this.options.debug}),this.getVirtualItemForOffset=e=>{let t=this.getMeasurements();if(0!==t.length)return tm(t[tN(0,t.length-1,e=>tm(t[e]).start,e)])},this.getOffsetForAlignment=(e,t)=>{let l=this.getSize(),n=this.getScrollOffset();"auto"===t&&e>=n+l&&(t="end"),"end"===t&&(e-=l);let r=this.options.horizontal?"scrollWidth":"scrollHeight";return Math.max(Math.min((this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[r]:this.scrollElement[r]:0)-l,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));let l=this.measurementsCache[e];if(!l)return;let n=this.getSize(),r=this.getScrollOffset();if("auto"===t)if(l.end>=r+n-this.options.scrollPaddingEnd)t="end";else{if(!(l.start<=r+this.options.scrollPaddingStart))return[r,t];t="start"}let i=l.start-this.options.scrollPaddingStart+(l.size-n)/2;switch(t){case"center":return[this.getOffsetForAlignment(i,t),t];case"end":return[this.getOffsetForAlignment(l.end+this.options.scrollPaddingEnd,t),t];default:return[this.getOffsetForAlignment(l.start-this.options.scrollPaddingStart,t),t]}},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:l}={})=>{this.cancelScrollToIndex(),"smooth"===l&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:l})},this.scrollToIndex=(e,{align:t="auto",behavior:l}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===l&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");let n=this.getOffsetForIndex(e,t);if(!n)return;let[r,i]=n;this._scrollToOffset(r,{adjustments:void 0,behavior:l}),"smooth"!==l&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){let[t]=tm(this.getOffsetForIndex(e,i));1>Math.abs(t-this.getScrollOffset())||this.scrollToIndex(e,{align:i,behavior:l})}else this.scrollToIndex(e,{align:i,behavior:l})}))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adju
9stments:void 0,behavior:t})},this.getTotalSize=()=>{var e;let t=this.getMeasurements();return Math.max((0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map(e=>e.end)))-this.options.scrollMargin+this.options.paddingEnd,0)},this._scrollToOffset=(e,{adjustments:t,behavior:l})=>{this.options.scrollToFn(e,{behavior:l,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}let tN=(e,t,l,n)=>{for(;e<=t;){let r=(e+t)/2|0,i=l(r);if(i<n)e=r+1;else{if(!(i>n))return r;t=r-1}}return e>0?e-1:0},tk="undefined"!=typeof document?h.useLayoutEffect:h.useEffect;var tT=(0,td.tv)({base:[],variants:{orientation:{vertical:["overflow-y-auto","data-[top-scroll=true]:[mask-image:linear-gradient(0deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[bottom-scroll=true]:[mask-image:linear-gradient(180deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[top-bottom-scroll=true]:[mask-image:linear-gradient(#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"],horizontal:["overflow-x-auto","data-[left-scroll=true]:[mask-image:linear-gradient(270deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[right-scroll=true]:[mask-image:linear-gradient(90deg,#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]","data-[left-right-scroll=true]:[mask-image:linear-gradient(to_right,#000,#000,transparent_0,#000_var(--scroll-shadow-size),#000_calc(100%_-_var(--scroll-shadow-size)),transparent)]"]},hideScrollBar:{true:"scrollbar-hide",false:""}},defaultVariants:{orientation:"vertical",hideScrollBar:!1}}),tD=e=>{var t;let{Component:l,state:n,color:r,variant:i,itemClasses:s,getBaseProps:a,topContent:u,bottomContent:f,hideEmptyContent:p,hideSelectedIcon:m,shouldHighlightOnFocus:v,disableAnimation:y,getEmptyContentProps:b,getListProps:w,scrollShadowProps:E}=e,{virtualization:x}=e;if(!x||!(0,g.Im)(x)&&!x.maxListboxHeight&&!x.itemHeight)throw Error("You are using a virtualized listbox. VirtualizedListbox requires 'virtualization' props with 'maxListboxHeight' and 'itemHeight' properties. This error might have originated from autocomplete components that use VirtualizedListbox. Please provide these props to use the virtualized listbox.");let{maxListboxHeight:S,itemHeight:C}=x,K=Math.min(S,C*n.collection.size),N=(0,h.useRef)(null),k=(0,h.useMemo)(()=>((e,t)=>{let l=[];for(let n of e)"section"===n.type?l.push(([...n.childNodes].length+1)*t):l.push(t);return l})([...n.collection],C),[n.collection,C]),T=function(e){let t=h.useReducer(()=>({}),{})[1],l={...e,onChange:(l,n)=>{var r;n?(0,to.flushSync)(t):t(),null==(r=e.onChange)||r.call(e,l,n)}},[n]=h.useState(()=>new tK(l));return n.setOptions(l),tk(()=>n._didMount(),[]),tk(()=>n._willUpdate()),n}({observeElementRect:tb,observeElementOffset:tx,scrollToFn:tC,...{count:[...n.collection].length,getScrollElement:()=>N.current,estimateSize:e=>k[e]}}),D=T.getVirtualItems(),M=T.getTotalSize(),{getBaseProps:P}=function(e){var t;let[l,n]=(0,o.rE)(e,tT.variantKeys),{ref:r,as:i,children:s,className:a,style:u,size:d=40,offset:f=0,visibility:p="auto",isEnabled:m=!0,onVisibilityChange:v,...y}=l,b=(0,c.zD)(r);!function(e={}){let{domRef:t,isEnabled:l=!0,overflowCheck:n="vertical",visibility:r="auto",offset:i=0,onVisibilityChange:o,updateDeps:s=[]}=e,a=(0,h.useRef)(r);(0,h.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!l)return;let s=(t,l,n,i,s)=>{if("auto"===r){let t=`${i}${(0,g.ZH)(s)}Scroll`;l&&n?(e.dataset[t]="true",e.removeAttribute(`data-${i}-scroll`),e.removeAttribute(`data-${s}-scroll`)):(e.dataset[`${i}Scroll`]=l.toString(),e.dataset[`${s}Scroll`]=n.toString(),e.removeAttribute(`data-${i}-${s}-scroll`))}else{let e=l&&n?"both":l?i:n?s:"none";e!==a.current&&(null==o||o(e),a.current=e)}},u=()=>{var t,l;let r=e.querySelector('ul[data-slot="list"]'),o=+(null!=(t=null==r?void 0:r.getAttribute("data-virtual-scroll-height"))?t:e.scrollHeight),a=+(null!=(l=null==r?void 0:r.getAttribute("data-virtual-scroll-top"))?l:e.scrollTop);for(let{type:t,prefix:l,suffix:r}of[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}])if(n===t||"both"===n){let n="vertical"===t?a>i:e.scrollLeft>i,u="vertical"===t?a+e.clientHeight+i<o:e.scrollLeft+e.clientWidth+i<e.scrollWidth;s(t,n,u,l,r)}},c=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute(`data-${t}-scroll`)})};return u(),e.addEventListener("scroll",u,!0),"auto"!==r&&(c(),"both"===r?(e.dataset.topBottomScroll=String("vertical"===n),e.dataset.leftRightScroll=String("horizontal"===n)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset[`${t}Scroll`]=String(r===t)}))),()=>{e.removeEventListener("scroll",u,!0),c()}},[...s,l,r,n,o,t])}({domRef:b,offset:f,visibility:p,isEnabled:m,onVisibilityChange:v,updateDeps:[s],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let w=(0,h.useMemo)(()=>tT({...n,className:a}),[(0,g.t6)(n),a]);return{Component:i||"div",styles:w,domRef:b,children:s,getBaseProps:(t={})=>{var l;return{ref:b,className:w,"data-orientation":null!=(l=e.orientation)?l:"vertical",style:{"--scroll-shadow-size":`${d}px`,...u,...t.style},...y,...t}}}}({...E}),[R,I]=(0,h.useState)({isTop:!1,isBottom:!0,isMiddle:!1}),F=(0,eA.jsxs)(l,{...w(),"data-virtual-scroll-height":M,"data-virtual-scroll-top":null==(t=null==N?void 0:N.current)?void 0:t.scrollTop,children:[!n.collection.size&&!p&&(0,eA.jsx)("li",{children:(0,eA.jsx)("div",{...b()})}),(0,eA.jsx)("div",{...(0,d.$)(P()),ref:N,style:{height:S,overflow:"auto"},onScroll:e=>{I((e=>{if(!e||void 0===e.scrollTop||void 0===e.clientHeight||void 0===e.scrollHeight)return{isTop:!1,isBottom:!1,isMiddle:!1};let t=0===e.scrollTop,l=Math.ceil(e.scrollTop+e.clientHeight)>=e.scrollHeight;return{isTop:t,isBottom:l,isMiddle:!t&&!l}})(e.target))},children:K>0&&C>0&&(0,eA.jsx)("div",{style:{height:`${M}
9px`,width:"100%",position:"relative"},children:D.map(e=>(e=>{var t;let l=[...n.collection][e.index];if(!l)return null;let o={color:r,item:l,state:n,variant:i,disableAnimation:y,hideSelectedIcon:m,...l.props},a={position:"absolute",top:0,left:0,width:"100%",height:`${e.size}px`,transform:`translateY(${e.start}px)`};if("section"===l.type)return(0,eA.jsx)(tp,{...o,itemClasses:s,style:{...a,...o.style}},l.key);let u=(0,eA.jsx)(tc,{...o,classNames:(0,g.v6)(s,null==(t=l.props)?void 0:t.classNames),shouldHighlightOnFocus:v,style:{...a,...o.style}},l.key);return l.wrapper&&(u=l.wrapper(u)),u})(e))})})]});return(0,eA.jsxs)("div",{...a(),children:[u,F,f]})},tM=(0,o.Rf)(function(e,t){let{isVirtualized:l,...n}=e,r=function(e){var t;let l=(0,i.o)(),{ref:n,as:r,state:o,variant:s,color:f,onAction:p,children:g,onSelectionChange:m,disableAnimation:v=null!=(t=null==l?void 0:l.disableAnimation)&&t,itemClasses:y,className:b,topContent:w,bottomContent:E,emptyContent:x="No items.",hideSelectedIcon:S=!1,hideEmptyContent:C=!1,shouldHighlightOnFocus:K=!1,classNames:N,...k}=e,D=r||"ul",M="string"==typeof D,P=(0,c.zD)(n),I=T({...e,children:g,onSelectionChange:m}),B=o||I,{listBoxProps:L}=function(e,t,l){let n=(0,eh.$)(e,{labelable:!0}),r=e.selectionBehavior||"toggle",i=e.linkBehavior||("replace"===r?"action":"override");"toggle"===r&&"action"===i&&(i="override");let{listProps:o}=function(e){let{selectionManager:t,collection:l,disabledKeys:n,ref:r,keyboardDelegate:i,layoutDelegate:o}=e,s=F({usage:"search",sensitivity:"base"}),a=t.disabledBehavior,u=(0,h.useMemo)(()=>i||new ec({collection:l,disabledKeys:n,disabledBehavior:a,ref:r,collator:s,layoutDelegate:o}),[i,o,l,n,r,s,a]),{collectionProps:c}=function(e){var t;let l,n,{selectionManager:r,keyboardDelegate:i,ref:o,autoFocus:s=!1,shouldFocusWrap:a=!1,disallowEmptySelection:u=!1,disallowSelectAll:c=!1,escapeKeyBehavior:d="clearSelection",selectOnFocus:f="replace"===r.selectionBehavior,disallowTypeAhead:p=!1,shouldUseVirtualFocus:g,allowsTabNavigation:m=!1,scrollRef:v=o,linkBehavior:y="action"}=e,{direction:b}=(0,R.Y)(),w=(0,ez.rd)(),E=(0,h.useRef)({top:0,left:0});eW(v,"scroll",()=>{var e,t,l,n;E.current={top:null!=(l=null==(e=v.current)?void 0:e.scrollTop)?l:0,left:null!=(n=null==(t=v.current)?void 0:t.scrollLeft)?n:0}});let x=(0,h.useRef)(!1);eW(o,"react-aria-focus",g?e=>{let{detail:t}=e;e.stopPropagation(),r.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(x.current=!0)}:void 0),eU(()=>{if(x.current){var e,t;let l=null!=(t=null==(e=i.getFirstKey)?void 0:e.call(i))?t:null;if(null==l){let e=(0,et.bq)();tr(o.current),ti(e,null),r.collection.size>0&&(x.current=!1)}else r.setFocusedKey(l),x.current=!1}},[r.collection]),eU(()=>{r.collection.size>0&&(x.current=!1)},[r.focusedKey]),eW(o,"react-aria-clear-focus",g?e=>{var t;e.stopPropagation(),r.setFocused(!1),(null==(t=e.detail)?void 0:t.clearFocusKey)&&r.setFocusedKey(null)}:void 0);let S=(0,h.useRef)(s),C=(0,h.useRef)(!1);(0,h.useEffect)(()=>{if(S.current){var e,t,l,n;let a=null;"first"===s&&(a=null!=(l=null==(e=i.getFirstKey)?void 0:e.call(i))?l:null),"last"===s&&(a=null!=(n=null==(t=i.getLastKey)?void 0:t.call(i))?n:null);let u=r.selectedKeys;if(u.size){for(let e of u)if(r.canSelectItem(e)){a=e;break}}r.setFocused(!0),r.setFocusedKey(a),null==a&&!g&&o.current&&(0,eX.l)(o.current),r.collection.size>0&&(S.current=!1,C.current=!0)}});let K=(0,h.useRef)(r.focusedKey),N=(0,h.useRef)(null);(0,h.useEffect)(()=>{if(r.isFocused&&null!=r.focusedKey&&(r.focusedKey!==K.current||C.current)&&v.current&&o.current){let e=(0,A.ME)(),t=eo(o,r.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||C.current)&&(N.current&&cancelAnimationFrame(N.current),N.current=requestAnimationFrame(()=>{v.current&&(e$(v.current,t),"virtual"!==e&&eV(t,{containingElement:o.current}))}))}!g&&r.isFocused&&null==r.focusedKey&&null!=K.current&&o.current&&(0,eX.l)(o.current),K.current=r.focusedKey,C.current=!1}),(0,h.useEffect)(()=>()=>{N.current&&cancelAnimationFrame(N.current)},[]),eW(o,"react-aria-focus-scope-restore",e=>{e.preventDefault(),r.setFocused(!0)});let k={onKeyDown:e=>{var t,l,n,s,h,p,g,v,E,x,S,C;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!o.current||!(0,et.sD)(o.current,(0,et.wt)(e)))return;let K=(t,l)=>{if(null!=t){if(r.isLink(t)&&"selection"===y&&f&&!ei(e)){(0,to.flushSync)(()=>{r.setFocusedKey(t,l)});let n=eo(o,t),i=r.getItemProps(t);n&&w.open(n,e,i.href,i.routerOptions);return}r.setFocusedKey(t,l),r.isLink(t)&&"override"===y||(e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):f&&!ei(e)&&r.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(i.getKeyBelow){let o=null!=r.focusedKey?null==(t=i.getKeyBelow)?void 0:t.call(i,r.focusedKey):null==(l=i.getFirstKey)?void 0:l.call(i);null==o&&a&&(o=null==(n=i.getFirstKey)?void 0:n.call(i,r.focusedKey)),null!=o&&(e.preventDefault(),K(o))}break;case"ArrowUp":if(i.getKeyAbove){let t=null!=r.focusedKey?null==(s=i.getKeyAbove)?void 0:s.call(i,r.focusedKey):null==(h=i.getLastKey)?void 0:h.call(i);null==t&&a&&(t=null==(p=i.getLastKey)?void 0:p.call(i,r.focusedKey)),null!=t&&(e.preventDefault(),K(t))}break;case"ArrowLeft":if(i.getKeyLeftOf){let t=null!=r.focusedKey?null==(g=i.getKeyLeftOf)?void 0:g.call(i,r.focusedKey):null;null==t&&a&&(t="rtl"===b?null==(v=i.getFirstKey)?void 0:v.call(i,r.focusedKey):null==(E=i.getLastKey)?void 0:E.
9call(i,r.focusedKey)),null!=t&&(e.preventDefault(),K(t,"rtl"===b?"first":"last"))}break;case"ArrowRight":if(i.getKeyRightOf){let t=null!=r.focusedKey?null==(x=i.getKeyRightOf)?void 0:x.call(i,r.focusedKey):null;null==t&&a&&(t="rtl"===b?null==(S=i.getLastKey)?void 0:S.call(i,r.focusedKey):null==(C=i.getFirstKey)?void 0:C.call(i,r.focusedKey)),null!=t&&(e.preventDefault(),K(t,"rtl"===b?"last":"first"))}break;case"Home":if(i.getFirstKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=i.getFirstKey(r.focusedKey,ey(e));r.setFocusedKey(t),null!=t&&(ey(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):f&&r.replaceSelection(t))}break;case"End":if(i.getLastKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=i.getLastKey(r.focusedKey,ey(e));r.setFocusedKey(t),null!=t&&(ey(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):f&&r.replaceSelection(t))}break;case"PageDown":if(i.getKeyPageBelow&&null!=r.focusedKey){let t=i.getKeyPageBelow(r.focusedKey);null!=t&&(e.preventDefault(),K(t))}break;case"PageUp":if(i.getKeyPageAbove&&null!=r.focusedKey){let t=i.getKeyPageAbove(r.focusedKey);null!=t&&(e.preventDefault(),K(t))}break;case"a":ey(e)&&"multiple"===r.selectionMode&&!0!==c&&(e.preventDefault(),r.selectAll());break;case"Escape":"clearSelection"!==d||u||0===r.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),r.clearSelection());break;case"Tab":if(!m)if(e.shiftKey)o.current.focus();else{let e,t,l=te(o.current,{tabbable:!0});do(t=l.lastChild())&&(e=t);while(t);let n=(0,et.bq)();e&&(!(0,et.ae)(e)||n&&!(0,ej.A)(n))&&(0,z.e)(e)}}},onFocus:e=>{if(r.isFocused){(0,et.sD)(e.currentTarget,(0,et.wt)(e))||r.setFocused(!1);return}if((0,et.sD)(e.currentTarget,(0,et.wt)(e))){if(r.setFocused(!0),null==r.focusedKey){var t,l,n,s;let o=e=>{null!=e&&(r.setFocusedKey(e),f&&!r.isSelected(e)&&r.replaceSelection(e))},a=e.relatedTarget;a&&e.currentTarget.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?o(null!=(n=r.lastSelectedKey)?n:null==(t=i.getLastKey)?void 0:t.call(i)):o(null!=(s=r.firstSelectedKey)?s:null==(l=i.getFirstKey)?void 0:l.call(i))}else v.current&&(v.current.scrollTop=E.current.top,v.current.scrollLeft=E.current.left);if(null!=r.focusedKey&&v.current){let e=eo(o,r.focusedKey);e instanceof HTMLElement&&((0,et.ae)(e)||g||(0,z.e)(e),"keyboard"===(0,A.ME)()&&eV(e,{containingElement:o.current}))}}},onBlur:e=>{(0,et.sD)(e.currentTarget,e.relatedTarget)||r.setFocused(!1)},onMouseDown(e){v.current===(0,et.wt)(e)&&e.preventDefault()}},{typeSelectProps:T}=ed({keyboardDelegate:i,selectionManager:r});p||(k=(0,V.v)(T,k)),g||(l=null==r.focusedKey?0:-1);let D=(t=r.collection,n=(0,O.Bi)(),es.set(t,n),n);return{collectionProps:(0,V.v)(k,{tabIndex:l,"data-collection":D})}}({...e,ref:r,selectionManager:t,keyboardDelegate:u});return{listProps:c}}({...e,ref:l,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:i}),{focusWithinProps:s}=(0,eM.R)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),a=(0,O.Bi)(e.id);eL.set(t,{id:a,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:i,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:u,fieldProps:c}=(0,eO.M)({...e,id:a,labelElementType:"span"});return{labelProps:u,listBoxProps:(0,V.v)(n,s,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,V.v)(c,o)})}}({...e,onAction:p},B,P),j=(0,h.useMemo)(()=>(0,a.MK)(),[]),_=(0,u.cn)(null==N?void 0:N.base,b);return{Component:D,state:B,variant:s,color:f,slots:j,classNames:N,topContent:w,bottomContent:E,emptyContent:x,hideEmptyContent:C,shouldHighlightOnFocus:K,hideSelectedIcon:S,disableAnimation:v,className:b,itemClasses:y,getBaseProps:(e={})=>({ref:P,"data-slot":"base",className:j.base({class:_}),...(0,d.$)(k,{enabled:M}),...e}),getListProps:(e={})=>({"data-slot":"list",className:j.list({class:null==N?void 0:N.list}),...L,...e}),getEmptyContentProps:(e={})=>({"data-slot":"empty-content",children:x,className:j.emptyContent({class:null==N?void 0:N.emptyContent}),...e})}}({...n,ref:t}),{Component:o,state:s,color:f,variant:p,itemClasses:m,getBaseProps:v,topContent:y,bottomContent:b,hideEmptyContent:w,hideSelectedIcon:E,shouldHighlightOnFocus:x,disableAnimation:S,getEmptyContentProps:C,getListProps:K}=r;if(l)return(0,eA.jsx)(tD,{...e,...r});let N=(0,eA.jsxs)(o,{...K(),children:[!s.collection.size&&!w&&(0,eA.jsx)("li",{children:(0,eA.jsx)("div",{...C()})}),[...s.collection].map(e=>{var t;let l={color:f,item:e,state:s,variant:p,disableAnimation:S,hideSelectedIcon:E,...e.props};if("section"===e.type)return(0,eA.jsx)(tp,{...l,itemClasses:m},e.key);let n=(0,eA.jsx)(tc,{...l,classNames:(0,g.v6)(m,null==(t=e.props)?void 0:t.classNames),shouldHighlightOnFocus:x},e.key);return e.wrapper&&(n=e.wrapper(n)),n})]});return(0,eA.jsxs)("div",{...v(),children:[y,N,b]})}),tP=(e,t)=>{if(t.includes("-")){let[,l]=t.split("-");return`${e}-${l}`}return e},tR=new WeakMap,tI=[];function tF(e,t=-1/0,l=1/0){return Math.min(Math.max(e,t),l)}let tA={top:"top",bottom:"top",left:"left",right:"left"}
9,tB={top:"bottom",bottom:"top",left:"right",right:"left"},tL={top:"left",left:"top"},tO={top:"height",left:"width"},tz={width:"totalWidth",height:"totalHeight"},tj={};function t_(e,t){var l,n,r,i,o;let s=0,a=0,u=0,c=0,d=0,h=0,f={},p=(null!=(l=null==t?void 0:t.scale)?l:1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let l=document.documentElement;u=l.clientWidth,c=l.clientHeight,s=null!=(n=null==t?void 0:t.width)?n:u,a=null!=(r=null==t?void 0:t.height)?r:c,f.top=l.scrollTop||e.scrollTop,f.left=l.scrollLeft||e.scrollLeft,t&&(d=t.offsetTop,h=t.offsetLeft)}else({width:s,height:a,top:d,left:h}=tq(e,!1)),f.top=e.scrollTop,f.left=e.scrollLeft,u=s,c=a;return(0,er.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&p&&(f.top=0,f.left=0,d=null!=(i=null==t?void 0:t.pageTop)?i:0,h=null!=(o=null==t?void 0:t.pageLeft)?o:0),{width:s,height:a,totalWidth:u,totalHeight:c,scroll:f,top:d,left:h}}function tW(e,t,l,n,r,i,o){var s;let a=null!=(s=r.scroll[e])?s:0,u=n[tO[e]],c=o[e]+n.scroll[tA[e]]+i,d=o[e]+n.scroll[tA[e]]+u-i,h=t-a+n.scroll[tA[e]]+o[e]-n[tA[e]],f=t-a+l+n.scroll[tA[e]]+o[e]-n[tA[e]];return h<c?c-h:f>d?Math.max(d-f,c-h):0}function tH(e){if(tj[e])return tj[e];let[t,l]=e.split(" "),n=tA[t]||"right",r=tL[n];tA[l]||(l="center");let i=tO[n],o=tO[r];return tj[e]={placement:t,crossPlacement:l,axis:n,crossAxis:r,size:i,crossSize:o},tj[e]}function t$(e,t,l,n,r,i,o,s,a,u,c){var d,h,f,p,g;let{placement:m,crossPlacement:v,axis:y,crossAxis:b,size:w,crossSize:E}=n,x={};x[b]=null!=(d=e[b])?d:0,"center"===v?x[b]+=((null!=(h=e[E])?h:0)-(null!=(f=l[E])?f:0))/2:v!==b&&(x[b]+=(null!=(p=e[E])?p:0)-(null!=(g=l[E])?g:0)),x[b]+=i;let S=e[b]-l[E]+a+u,C=e[b]+e[E]-a-u;if(x[b]=tF(x[b],S,C),m===y){let t=s?c[w]:c[tz[w]];x[tB[y]]=Math.floor(t-e[y]+r)}else x[y]=Math.floor(e[y]+e[w]+r);return x}function tV(e,t,l,n,r,i,o,s){var a,u,c,d;let{placement:h,axis:f,size:p}=i;return h===f?Math.max(0,l[f]-(null!=(a=o.scroll[f])?a:0)-(e[f]+(s?t[f]:0))-(null!=(u=n[f])?u:0)-n[tB[f]]-r):Math.max(0,e[p]+e[f]+(s?t[f]:0)-l[f]-l[p]+(null!=(c=o.scroll[f])?c:0)-(null!=(d=n[f])?d:0)-n[tB[f]]-r)}function tU(e,t){let{top:l,left:n,width:r,height:i}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(r=e.offsetWidth,i=e.offsetHeight),{top:l,left:n,width:r,height:i}}function tq(e,t){let{top:l,left:n,width:r,height:i}=tU(e,t),{scrollTop:o,scrollLeft:s,clientTop:a,clientLeft:u}=document.documentElement;return{top:l+o-a,left:n+s-u,width:r,height:i}}function tY(e,t,l){let n,r=window.getComputedStyle(e);if("fixed"===r.position)n=tU(e,l);else{n=tq(e,l);let r=tq(t,l),i=window.getComputedStyle(t);r.top+=(parseInt(i.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(i.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function tX(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}function tG(e){let{ref:t,box:l,onResize:n}=e,r=(0,e_.J)(n);(0,h.useEffect)(()=>{let e=null==t?void 0:t.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&r()});return t.observe(e,{box:l}),()=>{e&&t.unobserve(e)}}},[t,l])}let tJ="undefined"!=typeof document?window.visualViewport:null;function tZ(e,t){if(e.button>0)return!1;let l=(0,et.wt)(e);if(l){let e=l.ownerDocument;if(!e||!(0,et.sD)(e.documentElement,l)||l.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var tQ=[];let t0=(0,h.createContext)({});var t1=l(2102);function t4({children:e}){let t=(0,h.useMemo)(()=>({register:()=>{}}),[]);return h.createElement(t1.F.Provider,{value:t},e)}let t3=h.createContext(null);function t5(e){var t;let l=(0,tu.wR)(),{portalContainer:n=l?null:document.body,isExiting:r}=e,[i,o]=(0,h.useState)(!1),s=(0,h.useMemo)(()=>({contain:i,setContain:o}),[i,o]),{getContainer:a}=null!=(t=(0,h.useContext)(t0))?t:{};if(!e.portalContainer&&a&&(n=a()),!n)return null;let u=e.children;return e.disableFocusManagement||(u=h.createElement(eQ,{restoreFocus:!0,contain:(e.shouldContainFocus||i)&&!r},u)),u=h.createElement(t3.Provider,{value:s},h.createElement(t4,null,u)),to.createPortal(u,n)}var t6={};t6={"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}
9d\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}`}};var t2=l(9545);function t7(e){var t;let{onDismiss:l,...n}=e,r=ee((t=t6)&&t.__esModule?t.default:t,"@react-aria/overlays"),i=(0,t2.b)(n,r.format("dismiss"));return h.createElement(eI,null,h.createElement("button",{...i,tabIndex:-1,onClick:()=>{l&&l()},style:{width:1,height:1}}))}var t9=l(6459),t8=l(1160),le={ease:[.36,.66,.4,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1]};le.easeOut,le.easeIn;var lt={scaleSpring:{enter:{transform:"scale(1)",opacity:1,transition:{type:"spring",bounce:0,duration:.2}},exit:{transform:"scale(0.85)",opacity:0,transition:{type:"easeOut",duration:.15}}},scaleSpringOpacity:{initial:{opacity:0,transform:"scale(0.8)"},enter:{opacity:1,transform:"scale(1)",transition:{type:"spring",bounce:0,duration:.3}},exit:{opacity:0,transform:"scale(0.96)",transition:{type:"easeOut",bounce:0,duration:.15}}},scale:{enter:{scale:1},exit:{scale:.95}},scaleFadeIn:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.25,ease:le.easeIn}},exit:{transform:"scale(0.95)",opacity:0,transition:{duration:.2,ease:le.easeOut}}},scaleInOut:{enter:{transform:"scale(1)",opacity:1,transition:{duration:.4,ease:le.ease}},exit:{transform:"scale(1.03)",opacity:0,transition:{duration:.3,ease:le.ease}}},fade:{enter:{opacity:1,transition:{duration:.4,ease:le.ease}},exit:{opacity:0,transition:{duration:.3,ease:le.ease}}},collapse:{enter:{opacity:1,height:"auto",transition:{height:{type:"spring",bounce:0,duration:.3},opacity:{easings:"ease",duration:.4}}},exit:{opacity:0,height:0,transition:{easings:"ease",duration:.3}}}},ll=()=>l.e(37).then(l.bind(l,2037)).then(e=>e.default),ln=(0,o.Rf)(({children:e,motionProps:t,placement:l,disableAnimation:n,style:r={},transformOrigin:i={},...o},s)=>{let a=r;return void 0!==i.originX||void 0!==i.originY?a={...a,transformOrigin:i}:l&&(a={...a,...(e=>{let t={top:{originY:1},bottom:{originY:0},left:{originX:1},right:{originX:0},"top-start":{originX:0,originY:1},"top-end":{originX:1,originY:1},"bottom-start":{originX:0,originY:0},"bottom-end":{originX:1,originY:0},"right-start":{originX:0,originY:0},"right-end":{originX:0,originY:1},"left-start":{originX:1,originY:0},"left-end":{originX:1,originY:1}};return(null==t?void 0:t[e])||{}})("center"===l?"top":l)}),n?(0,eA.jsx)("div",{...o,ref:s,children:e}):(0,eA.jsx)(t9.F,{features:ll,children:(0,eA.jsx)(t8.m.div,{ref:s,animate:"enter",exit:"exit",initial:"initial",style:a,variants:lt.scaleSpringOpacity,...(0,g.v6)(o,t),children:e})})});ln.displayName="HeroUI.FreeSoloPopoverWrapper";var lr=(0,o.Rf)(({children:e,transformOrigin:t,disableDialogFocus:l=!1,...n},r)=>{let{Component:s,state:d,placement:f,backdrop:m,portalContainer:v,disableAnimation:y,motionProps:b,isNonModal:w,getPopoverProps:E,getBackdropProps:x,getDialogProps:S,getContentProps:C}=function(e){var t,l,n;let r=(0,i.o)(),[s,d]=(0,o.rE)(e,a.oO.variantKeys),{as:f,ref:m,children:v,state:y,triggerRef:b,scrollRef:w,defaultOpen:E,onOpenChange:x,isOpen:S,isNonModal:C=!0,shouldFlip:K=!0,containerPadding:N=12,shouldBlockScroll:k=!1,isDismissable:T=!0,shouldCloseOnBlur:D,portalContainer:P,updatePositionDeps:I,dialogProps:F,placement:A="top",triggerType:B="dialog",showArrow:L=!1,offset:O=7,crossOffset:z=0,boundaryElement:j,isKeyboardDismissDisabled:H,shouldCloseOnInteractOutside:$,shouldCloseOnScroll:V,triggerAnchorPoint:U,motionProps:q,className:Y,classNames:X,onClose:G,...J}=s,Z=(0,c.zD)(m),Q=(0,h.useRef)(null),ee=(0,h.useRef)(!1),er=b||Q,ei=null!=(l=null!=(t=e.disableAnimation)?t:null==r?void 0:r.disableAnimation)&&l,eo=M({isOpen:S,defaultOpen:E,onOpenChange:e=>{null==x||x(e),e||null==G||G()}}),es=y||eo,{popoverProps:ea,underlayProps:eu,placement:ec}=function(e,t){let{groupRef:l,triggerRef:n,popoverRef:r,showArrow:i,offset:o=7,crossOffset:s=0,scrollRef:a,shouldFlip:u,boundaryElement:c,isDismissable:d=!0,shouldCloseOnBlur:f=!0,shouldCloseOnScroll:p=!0,placement:m="top",containerPadding:v,shouldCloseOnInteractOutside:y,isNonModal:b,isKeyboardDismissDisabled:w,updatePositionDeps:E=[],...x}=e,S=null==b||b,C="SubmenuTrigger"===x.trigger,{overlayProps:K,underlayProps:N}=function(e,t){let{disableOutsideEvents:l=!0,isDismissable:n=!1,isKeyboardDismissDisabled:r=!1,isOpen:i,onClose:o,shouldCloseOnBlur:s,shouldCloseOnInteractOutside:a}=e;(0,h.useEffect)(()=>
9{if(i&&!tQ.includes(t))return tQ.push(t),()=>{let e=tQ.indexOf(t);e>=0&&tQ.splice(e,1)}},[i,t]);let u=()=>{tQ[tQ.length-1]===t&&o&&o()};!function(e){let{ref:t,onInteractOutside:l,isDisabled:n,onInteractOutsideStart:r}=e,i=(0,h.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),o=(0,e_.J)(e=>{l&&tZ(e,t)&&(r&&r(e),i.current.isPointerDown=!0)}),s=(0,e_.J)(e=>{l&&l(e)});(0,h.useEffect)(()=>{let e=i.current;if(n)return;let l=t.current,r=(0,_.TW)(l);if("undefined"!=typeof PointerEvent){let l=l=>{e.isPointerDown&&tZ(l,t)&&s(l),e.isPointerDown=!1};return r.addEventListener("pointerdown",o,!0),r.addEventListener("click",l,!0),()=>{r.removeEventListener("pointerdown",o,!0),r.removeEventListener("click",l,!0)}}},[t,n])}({isDisabled:!(n&&i),onInteractOutside:n&&i?e=>{(!a||a(e.target))&&(tQ[tQ.length-1]===t&&l&&(e.stopPropagation(),e.preventDefault()),u())}:void 0,onInteractOutsideStart:e=>{(!a||a(e.target))&&(tQ[tQ.length-1]===t&&l&&(e.stopPropagation(),e.preventDefault()),"pressEnd"!==function(e){let t=e.current;if(!t)return"unknown";let l=(t.getAttribute("role")||"").toLowerCase(),n=t.getAttribute("aria-modal");return("dialog"===l||"alertdialog"===l)&&(null===n||"true"===n.toLowerCase())?"pressEnd":["listbox","menu","tree","grid","combobox"].includes(l)?"pressStart":"unknown"}(t)&&u())},ref:t});let{focusWithinProps:c}=(0,eM.R)({isDisabled:!s,onBlurWithin:e=>{!(!e.relatedTarget||e3(e.relatedTarget,eZ))&&(!a||a(e.relatedTarget))&&u()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||r||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),u())},...c},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}
9({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:f,isDismissable:d||C,isKeyboardDismissDisabled:w,shouldCloseOnInteractOutside:y||(e=>{var t;return!(null==(t=n.current)?void 0:t.contains(e))}),disableOutsideEvents:!S},r),{overlayProps:k,arrowProps:T,placement:D,updatePosition:M,triggerAnchorPoint:P}=function(e){var t,l,n,r;let{direction:i}=(0,R.Y)(),{arrowSize:o,targetRef:s,overlayRef:a,arrowRef:u,scrollRef:c=a,placement:d="bottom",containerPadding:f=12,shouldFlip:p=!0,boundaryElement:g="undefined"!=typeof document?document.body:null,offset:m=0,crossOffset:v=0,shouldUpdatePosition:y=!0,isOpen:b=!0,onClose:w,maxHeight:E,arrowBoundaryOffset:x=0}=e,[S,C]=(0,h.useState)(null),K=[y,d,a.current,s.current,null==u?void 0:u.current,c.current,f,p,g,m,v,b,i,E,x,o],N=(0,h.useRef)(null==tJ?void 0:tJ.scale);(0,h.useEffect)(()=>{b&&(N.current=null==tJ?void 0:tJ.scale)},[b]);let k=(0,h.useCallback)(()=>{var e,t,l,n,r,h;if(!1===y||!b||!a.current||!s.current||!g||(null==tJ?void 0:tJ.scale)!==N.current)return;let w=null;if(c.current&&(0,et.ae)(c.current)){let n=null==(e=(0,et.bq)())?void 0:e.getBoundingClientRect(),r=c.current.getBoundingClientRect();(w={type:"top",offset:(null!=(t=null==n?void 0:n.top)?t:0)-r.top}).offset>r.height/2&&(w.type="bottom",w.offset=(null!=(l=null==n?void 0:n.bottom)?l:0)-r.bottom)}let S=a.current;!E&&a.current&&(S.style.top="0px",S.style.bottom="",S.style.maxHeight=(null!=(r=null==(n=window.visualViewport)?void 0:n.height)?r:window.innerHeight)+"px");let K=function(e){var t,l,n,r;let i,o,{placement:s,targetNode:a,overlayNode:u,scrollNode:c,padding:d,shouldFlip:h,boundaryElement:f,offset:p,crossOffset:g,maxHeight:m,arrowSize:v=0,arrowBoundaryOffset:y=0}=e,b="undefined"!=typeof document?window.visualViewport:null,w=u instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!tX(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!tX(t);)t=t.parentElement;return t||document.documentElement}(u):document.documentElement,E=w===document.documentElement,x=window.getComputedStyle(w).position,S=E?tq(a,!1):tY(a,w,!1);if(!E){let{marginTop:e,marginLeft:t}=window.getComputedStyle(a);S.top+=parseInt(e,10)||0,S.left+=parseInt(t,10)||0}let C=tq(u,!0),K={top:parseInt((i=window.getComputedStyle(u)).marginTop,10)||0,bottom:parseInt(i.marginBottom,10)||0,left:parseInt(i.marginLeft,10)||0,right:parseInt(i.marginRight,10)||0};C.width+=(null!=(t=K.left)?t:0)+(null!=(l=K.right)?l:0),C.height+=(null!=(n=K.top)?n:0)+(null!=(r=K.bottom)?r:0),c.scrollTop,c.scrollLeft,c.scrollWidth,c.scrollHeight;let N=t_(f,b),k=t_(w,b);if("BODY"!==f.tagName&&"HTML"!==f.tagName||E)o=("BODY"===f.tagName||"HTML"===f.tagName)&&E?{top:0,left:0,width:0,height:0}:tY(f,w,!1);else{let e=tU(w,!1);o={top:-(e.top-N.top),left:-(e.left-N.left),width:0,height:0}}return function(e,t,l,n,r,i,o,s,a,u,c,d,h,f,p,g,m,v){var y,b,w,E,x,S,C,K,N,k,T,D,M,P,R,I;let F,A,B,L=tH(e),{size:O,crossAxis:z,crossSize:j,placement:_,crossPlacement:W}=L,H=t$(t,s,l,L,c,d,u,h,p,g,a),$=c,V=tV(s,u,t,r,i+c,L,a,m);if(o&&l[O]>V){let e=tH(`${tB[_]} ${W}`),n=t$(t,s,l,e,c,d,u,h,p,g,a);tV(s,u,t,r,i+c,e,a,m)>V&&(L=e,H=n,$=c)}let U="bottom";"top"===L.axis?"top"===L.placement?U="top":"bottom"===L.placement&&(U="bottom"):"top"===L.crossAxis&&("top"===L.crossPlacement?U="bottom":"bottom"===L.crossPlacement&&(U="top"));let q=tW(z,H[z],l[j],s,a,i,u);H[z]+=q;let Y=(x=H,S=l.height,C=U,F=(null!=x.top?x.top:a[tz.height]-(null!=(K=x.bottom)?K:0)-S)-(null!=(N=a.scroll.top)?N:0),A=m?u.top:0,B={top:Math.max(s.top+A,(null!=(k=null==v?void 0:v.offsetTop)?k:s.top)+A),bottom:Math.min(s.top+s.height+A,(null!=(T=null==v?void 0:v.offsetTop)?T:0)+(null!=(D=null==v?void 0:v.height)?D:0))},"top"!==C?Math.max(0,B.bottom-F-((null!=(M=r.top)?M:0)+(null!=(P=r.bottom)?P:0)+i)):Math.max(0,F+S-B.top-((null!=(R=r.top)?R:0)+(null!=(I=r.bottom)?I:0)+i)));f&&f<Y&&(Y=f),l.height=Math.min(l.height,Y),q=tW(z,(H=t$(t,s,l,L,$,d,u,h,p,g,a))[z],l[j],s,a,i,u),H[z]+=q;let X={},G=t[z]-H[z]-r[tA[z]],J=G+.5*t[j],Z=p/2+g,Q="left"===tA[z]?(null!=(y=r.left)?y:0)+(null!=(b=r.right)?b:0):(null!=(w=r.top)?w:0)+(null!=(E=r.bottom)?E:0),ee=l[j]-Q-p/2-g,et=tF(J,t[z]+p/2-(H[z]+r[tA[z]]),t[z]+t[j]-p/2-(H[z]+r[tA[z]]));X[z]=tF(et,Z,ee),({placement:_,crossPlacement:W}=L),p?G=X[z]:"right"===W?G+=t[j]:"center"===W&&(G+=t[j]/2);
9let el="left"===_||"top"===_?l[O]:0,en={x:"top"===_||"bottom"===_?G:el,y:"left"===_||"right"===_?G:el};return{position:H,maxHeight:Y,arrowOffsetLeft:X.left,arrowOffsetTop:X.top,placement:_,triggerAnchorPoint:en}}(s,S,C,0,K,d,h,N,k,o,p,g,!!x&&"static"!==x,m,v,y,(0,et.sD)(f,w),b)}({placement:(h=d,"rtl"===i?h.replace("start","right").replace("end","left"):h.replace("start","left").replace("end","right")),overlayNode:a.current,targetNode:s.current,scrollNode:c.current||a.current,padding:f,shouldFlip:p,boundaryElement:g,offset:m,crossOffset:v,maxHeight:E,arrowSize:null!=o?o:(null==u?void 0:u.current)?tU(u.current,!0).width:0,arrowBoundaryOffset:x});if(!K.position)return;S.style.top="",S.style.bottom="",S.style.left="",S.style.right="",Object.keys(K.position).forEach(e=>S.style[e]=K.position[e]+"px"),S.style.maxHeight=null!=K.maxHeight?K.maxHeight+"px":"";let k=(0,et.bq)();if(w&&k&&c.current){let e=k.getBoundingClientRect(),t=c.current.getBoundingClientRect(),l=e[w.type]-t[w.type];c.current.scrollTop+=l-w.offset}C(K)},K);(0,W.N)(k,K),r=k,(0,W.N)(()=>(window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}),[r]),tG({ref:a,onResize:k}),tG({ref:s,onResize:k});let T=(0,h.useRef)(!1);(0,W.N)(()=>{let e,t=()=>{T.current=!0,clearTimeout(e),e=setTimeout(()=>{T.current=!1},500),k()},l=()=>{T.current&&t()};return null==tJ||tJ.addEventListener("resize",t),null==tJ||tJ.addEventListener("scroll",l),()=>{null==tJ||tJ.removeEventListener("resize",t),null==tJ||tJ.removeEventListener("scroll",l)}},[k]);let D=(0,h.useCallback)(()=>{T.current||null==w||w()},[w,T]);return!function(e){let{triggerRef:t,isOpen:l,onClose:n}=e;(0,h.useEffect)(()=>{if(!l||null===n)return;let e=e=>{let l=(0,et.wt)(e);if(!t.current||l instanceof Node&&!(0,et.sD)(l,t.current)||l instanceof HTMLInputElement||l instanceof HTMLTextAreaElement)return;let r=n||el.get(t.current);r&&r()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[l,n,t])}({triggerRef:s,isOpen:b,onClose:w&&D}),{overlayProps:{style:{position:S?"absolute":"fixed",top:S?void 0:0,left:S?void 0:0,zIndex:1e5,...null==S?void 0:S.position,maxHeight:null!=(t=null==S?void 0:S.maxHeight)?t:"100vh"}},placement:null!=(l=null==S?void 0:S.placement)?l:null,triggerAnchorPoint:null!=(n=null==S?void 0:S.triggerAnchorPoint)?n:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==S?void 0:S.arrowOffsetLeft,top:null==S?void 0:S.arrowOffsetTop}},updatePosition:k}}({...x,shouldFlip:u,crossOffset:s,targetRef:n,overlayRef:r,isOpen:t.isOpen,scrollRef:a,boundaryElement:c,containerPadding:v,placement:{top:"top",bottom:"bottom",left:"left",right:"right","top-start":"top start","top-end":"top end","bottom-start":"bottom start","bottom-end":"bottom end","left-start":"left top","left-end":"left bottom","right-start":"right top","right-end":"right bottom"}[m],offset:i?o+3:o,onClose:S&&!C&&p?t.close:()=>{}});return(0,ep.U)(()=>{E.length&&M()},E),(0,h.useEffect)(()=>{var e,n;if(t.isOpen&&r.current)if(!S)return function(e,t=document.body){let l=new Set(e),n=new Set,r=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))l.add(t);let t=e=>{if(l.has(e)||e.parentElement&&n.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of l)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),o=t(e);if(o===NodeFilter.FILTER_ACCEPT&&i(e),o!==NodeFilter.FILTER_REJECT){let e=r.nextNode();for(;null!=e;)i(e),e=r.nextNode()}},i=e=>{var t;let l=null!=(t=tR.get(e))?t:0;("true"!==e.getAttribute("aria-hidden")||0!==l)&&(0===l&&e.setAttribute("aria-hidden","true"),n.add(e),tR.set(e,l+1))};tI.length&&tI[tI.length-1].disconnect(),r(t);let o=new MutationObserver(e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...l,...n].some(e=>e.contains(t.target))){for(let e of t.removedNodes)e instanceof Element&&(l.delete(e),n.delete(e));for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&("true"===e.dataset.liveAnnouncer||"true"===e.dataset.reactAriaTopLayer)?l.add(e):e instanceof Element&&r(e)}});o.observe(t,{childList:!0,subtree:!0});let s={visibleNodes:l,hiddenNodes:n,observe(){o.observe(t,{childList:!0,subtree:!0})},disconnect(){o.disconnect()}};return tI.push(s),()=>{for(let e of(o.disconnect(),n)){let t=tR.get(e);null!=t&&(1===t?(e.removeAttribute("aria-hidden"),tR.delete(e)):tR.set(e,t-1))}s===tI[tI.length-1]?(tI.pop(),tI.length&&tI[tI.length-1].observe()):tI.splice(tI.indexOf(s),1)}}([null!=(n=null==l?void 0:l.current)?n:r.current]);else{var i=null!=(e=null==l?void 0:l.current)?e:r.current;let t=tI[tI.length-1];return t&&!t.visibleNodes.has(i)?(t.visibleNodes.add(i),()=>{t.visibleNodes.delete(i)}):void 0}},[S,t.isOpen,r,l]),{popoverProps:(0,g.v6)(K,k),arrowProps:T,underlayProps:N,placement:D,triggerAnchorPoint:P}}({triggerRef:er,isNonModal:C,popoverRef:Z,placement:A,offset:O,scrollRef:w,isDismissable:T,shouldCloseOnBlur:D,boundaryElement:j,crossOffset:z,shouldFlip:K,containerPadding:N,updatePositionDeps:I,isKeyboardDismissDisabled:H,shouldCloseOnScroll:V,shouldCloseOnInteractOutside:$,triggerAnchorPoint:U},es),ed=(0,h.useMemo)(()=>ec?((e,t)=>
9{if(t.includes("-")){let[l]=t.split("-");if(l.includes(e))return!1}return!0})(ec,A)?ec:A:null,[ec,A]),{triggerProps:eh}=en({type:B},es,er),{isFocusVisible:ef,isFocused:eg,focusProps:em}=(0,p.o)(),ev=(0,h.useMemo)(()=>(0,a.oO)({...d}),[(0,g.t6)(d)]),ey=(0,u.cn)(null==X?void 0:X.base,Y),eb={"--trigger-anchor-point":U?`${U.x}px ${U.y}px`:void 0};eS({isDisabled:!(k&&es.isOpen)});let ew=(0,h.useCallback)((e={})=>({"data-slot":"content","data-open":(0,g.sE)(es.isOpen),"data-arrow":(0,g.sE)(L),"data-placement":ec?tP(ec,A):void 0,className:ev.content({class:(0,u.cn)(null==X?void 0:X.content,e.className)})}),[ev,es.isOpen,L,ed,A,X,ec]),eE=(0,h.useCallback)(t=>{var l;let n;return"touch"===t.pointerType&&((null==e?void 0:e.backdrop)==="blur"||(null==e?void 0:e.backdrop)==="opaque")?n=setTimeout(()=>{ee.current=!0},100):ee.current=!0,null==(l=eh.onPress)||l.call(eh,t),()=>{clearTimeout(n)}},[null==eh?void 0:eh.onPress]),ex=(0,h.useCallback)((e={},t=null)=>{let{isDisabled:l,...n}=e;return{"data-slot":"trigger",...(0,g.v6)({"aria-haspopup":"dialog"},eh,n),onPress:eE,isDisabled:l,className:ev.trigger({class:(0,u.cn)(null==X?void 0:X.trigger,e.className),isTriggerDisabled:l}),ref:(0,g.Px)(t,er)}},[es,eh,eE,er]),eC=(0,h.useCallback)((e={})=>({"data-slot":"backdrop",className:ev.backdrop({class:null==X?void 0:X.backdrop}),onClick:e=>{if(!ee.current)return void e.preventDefault();es.close(),ee.current=!1},...eu,...e}),[ev,es.isOpen,X,eu]);return{state:es,Component:f||"div",children:v,classNames:X,showArrow:L,triggerRef:er,placement:ed,isNonModal:C,popoverRef:Z,portalContainer:P,isOpen:es.isOpen,onClose:es.close,disableAnimation:ei,shouldBlockScroll:k,backdrop:null!=(n=e.backdrop)?n:"transparent",motionProps:q,getBackdropProps:eC,getPopoverProps:(e={})=>({ref:Z,...(0,g.v6)(ea,J,e),style:(0,g.v6)(ea.style,J.style,e.style)}),getTriggerProps:ex,getDialogProps:(e={})=>({"data-slot":"base","data-open":(0,g.sE)(es.isOpen),"data-focus":(0,g.sE)(eg),"data-arrow":(0,g.sE)(L),"data-focus-visible":(0,g.sE)(ef),"data-placement":ec?tP(ec,A):void 0,...(0,g.v6)(em,F,e),className:ev.base({class:(0,u.cn)(ey)}),style:{outline:"none",...eb}}),getContentProps:ew}}({...n,ref:r}),K=h.useRef(null),{dialogProps:N,titleProps:k}=function(e,t){let l,n,{role:r="dialog"}=e,i=(0,O.X1)();i=e["aria-label"]?void 0:i;let o=(0,h.useRef)(!1);return(0,h.useEffect)(()=>{if(t.current&&!(0,et.ae)(t.current)){(0,eX.l)(t.current);let e=setTimeout(()=>{((0,et.bq)()===t.current||(0,et.bq)()===document.body)&&(o.current=!0,t.current&&(t.current.blur(),(0,eX.l)(t.current)),o.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),n=null==(l=(0,h.useContext)(t3))?void 0:l.setContain,(0,W.N)(()=>{null==n||n(!0)},[n]),{dialogProps:{...(0,eh.$)(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||i,onBlur:e=>{o.current&&e.stopPropagation()}},titleProps:{id:i}}}({},K),T=S({...!l&&{ref:K},...N}),D=h.useMemo(()=>"transparent"===m?null:y?(0,eA.jsx)("div",{...x()}):(0,eA.jsx)(t9.F,{features:ll,children:(0,eA.jsx)(t8.m.div,{animate:"enter",exit:"exit",initial:"exit",variants:lt.fade,...x()})}),[m,y,x]);return(0,eA.jsxs)(t5,{portalContainer:v,children:[!w&&D,(0,eA.jsx)(s,{...E(),children:(0,eA.jsxs)(ln,{disableAnimation:y,motionProps:b,placement:f,tabIndex:-1,transformOrigin:t,...T,children:[!w&&(0,eA.jsx)(t7,{onDismiss:d.close}),(0,eA.jsx)("div",{...C(),children:"function"==typeof e?e(k):e}),(0,eA.jsx)(t7,{onDismiss:d.close})]})})]})});lr.displayName="HeroUI.FreeSoloPopover";var li=({strokeWidth:e=1.5,...t})=>
9(0,eA.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:e,viewBox:"0 0 24 24",width:"1em",...t,children:(0,eA.jsx)("path",{d:"m6 9 6 6 6-6"})}),lo=l(6543),ls=l(8174),la=(0,o.Rf)((e,t)=>{let{Component:l,children:n,getBaseProps:r}=function(e){var t;let[l,n]=(0,o.rE)(e,tT.variantKeys),{ref:r,as:i,children:s,className:a,style:u,size:d=40,offset:f=0,visibility:p="auto",isEnabled:m=!0,onVisibilityChange:v,...y}=l,b=(0,c.zD)(r);!function(e={}){let{domRef:t,isEnabled:l=!0,overflowCheck:n="vertical",visibility:r="auto",offset:i=0,onVisibilityChange:o,updateDeps:s=[]}=e,a=(0,h.useRef)(r);(0,h.useEffect)(()=>{let e=null==t?void 0:t.current;if(!e||!l)return;let s=(t,l,n,i,s)=>{if("auto"===r){let t=`${i}${(0,g.ZH)(s)}Scroll`;l&&n?(e.dataset[t]="true",e.removeAttribute(`data-${i}-scroll`),e.removeAttribute(`data-${s}-scroll`)):(e.dataset[`${i}Scroll`]=l.toString(),e.dataset[`${s}Scroll`]=n.toString(),e.removeAttribute(`data-${i}-${s}-scroll`))}else{let e=l&&n?"both":l?i:n?s:"none";e!==a.current&&(null==o||o(e),a.current=e)}},u=()=>{var t,l;let r=e.querySelector('ul[data-slot="list"]'),o=+(null!=(t=null==r?void 0:r.getAttribute("data-virtual-scroll-height"))?t:e.scrollHeight),a=+(null!=(l=null==r?void 0:r.getAttribute("data-virtual-scroll-top"))?l:e.scrollTop);for(let{type:t,prefix:l,suffix:r}of[{type:"vertical",prefix:"top",suffix:"bottom"},{type:"horizontal",prefix:"left",suffix:"right"}])if(n===t||"both"===n){let n="vertical"===t?a>i:e.scrollLeft>i,u="vertical"===t?a+e.clientHeight+i<o:e.scrollLeft+e.clientWidth+i<e.scrollWidth;s(t,n,u,l,r)}},c=()=>{["top","bottom","top-bottom","left","right","left-right"].forEach(t=>{e.removeAttribute(`data-${t}-scroll`)})};return u(),e.addEventListener("scroll",u,!0),"auto"!==r&&(c(),"both"===r?(e.dataset.topBottomScroll=String("vertical"===n),e.dataset.leftRightScroll=String("horizontal"===n)):(e.dataset.topBottomScroll="false",e.dataset.leftRightScroll="false",["top","bottom","left","right"].forEach(t=>{e.dataset[`${t}Scroll`]=String(r===t)}))),()=>{e.removeEventListener("scroll",u,!0),c()}},[...s,l,r,n,o,t])}({domRef:b,offset:f,visibility:p,isEnabled:m,onVisibilityChange:v,updateDeps:[s],overflowCheck:null!=(t=e.orientation)?t:"vertical"});let w=(0,h.useMemo)(()=>tT({...n,className:a}),[(0,g.t6)(n),a]);return{Component:i||"div",styles:w,domRef:b,children:s,getBaseProps:(t={})=>{var l;return{ref:b,className:w,"data-orientation":null!=(l=e.orientation)?l:"vertical",style:{"--scroll-shadow-size":`${d}px`,...u,...t.style},...y,...t}}}}({...e,ref:t});return(0,eA.jsx)(l,{...r(),children:n})});la.displayName="HeroUI.ScrollShadow";var lu=l(7565),lc=(0,o.Rf)(function(e,t){var l;let{Component:n,state:r,label:y,hasHelper:b,isLoading:w,triggerRef:E,selectorIcon:x=(0,eA.jsx)(li,{}),description:S,errorMessage:C,isInvalid:K,startContent:N,endContent:k,placeholder:D,renderValue:R,shouldLabelBeOutside:I,disableAnimation:j,getBaseProps:_,getLabelProps:W,getTriggerProps:H,getValueProps:$,getListboxProps:q,getPopoverProps:Y,getSpinnerProps:X,getMainWrapperProps:G,getInnerWrapperProps:J,getHiddenSelectProps:Z,getHelperWrapperProps:Q,getListboxWrapperProps:et,getDescriptionProps:el,getErrorMessageProps:er,getSelectorIconProps:ei,isClearable:eo,getClearButtonProps:es,getEndWrapperProps:ea,getEndContentProps:eu}=function(e){var t,l,n,r,y,b;let w=(0,i.o)(),{validationBehavior:E}=(0,eg.CC)(em.c)||{},[x,S]=(0,o.rE)(e,a.Lt.variantKeys),C=null!=(l=null!=(t=e.disableAnimation)?t:null==w?void 0:w.disableAnimation)&&l,{ref:K,as:N,label:k,name:D,isLoading:R,selectorIcon:I,isOpen:j,defaultOpen:_,onOpenChange:W,startContent:H,endContent:$,description:q,renderValue:Y,onSelectionChange:X,placeholder:G,isVirtualized:J,itemHeight:Z=36,maxListboxHeight:Q=256,children:et,disallowEmptySelection:el=!1,selectionMode:er="single",spinnerRef:ei,scrollRef:eo,popoverProps:es={},scrollShadowProps:ea={},listboxProps:eu={},spinnerProps:ev={},validationState:ey,onChange:eb,onClose:ew,className:eE,classNames:ex,validationBehavior:eC=null!=(n=null!=E?E:null==w?void 0:w.validationBehavior)?n:"native",hideEmptyContent:eK=!1,onClear:eN,...ek}=x,eD=(0,c.zD)(eo),eM={popoverProps:(0,g.v6)({placement:"bottom",triggerScaleOnOpen:!1,offset:5,disableAnimation:C},es),scrollShadowProps:(0,g.v6)({ref:eD,isEnabled:null==(r=e.showScrollIndicators)||r,hideScrollBar:!0,offset:15},ea),listboxProps:(0,g.v6)({disableAnimation:C},eu)},eP=N||"button",eR="string"==typeof eP,eI=(0,c.zD)(K),eF=(0,h.useRef)(null),eA=(0,h.useRef)(null),eB=(0,h.useRef)(null),eL=function({validate:e,validationBehavior:t,...l}){let[n,r]=(0,h.useState)(!1),[i,o]=(0,h.useState)(null),s=function(e){let t=M(e),[l,n]=(0,h.useState)(null),[r,i]=(0,h.useState)([]);return{focusStrategy:l,...t,open(e=null){n(e),t.open()}
9,toggle(e=null){n(e),t.toggle()},close(){i([]),t.close()},expandedKeysStack:r,openSubmenu:(e,t)=>{i(l=>t>l.length?l:[...l.slice(0,t),e])},closeSubmenu:(e,t)=>{i(l=>l[t]===e?l.slice(0,t):l)}}}(l),a=function(e){let{collection:t,disabledKeys:l,selectionManager:n,selectionManager:{setSelectedKeys:r,selectedKeys:i,selectionMode:o}}=T(e),s=(0,h.useMemo)(()=>e.isLoading||0===i.size?[]:Array.from(i).filter(Boolean).filter(e=>!t.getItem(e)),[i,t]),a=0!==i.size?Array.from(i).map(e=>t.getItem(e)).filter(Boolean):null;return s.length&&console.warn(`Select: Keys "${s.join(", ")}" passed to "selectedKeys" are not present in the collection.`),{collection:t,disabledKeys:l,selectionManager:n,selectionMode:o,selectedKeys:i,setSelectedKeys:r.bind(n),selectedItems:a}}({...l,onSelectionChange:e=>{null!=l.onSelectionChange&&("all"===e?l.onSelectionChange(new Set(a.collection.getKeys())):l.onSelectionChange(e)),"single"===l.selectionMode&&s.close()}}),u=(0,P.KZ)({...l,validationBehavior:t,validate:t=>{if(!e)return;let n=Array.from(t);return e("single"===l.selectionMode?n[0]:n)},value:a.selectedKeys}),c=0===a.collection.size&&l.hideEmptyContent;return{...u,...a,...s,focusStrategy:i,close(){s.close()},open(e=null){c||(o(e),s.open())},toggle(e=null){c||(o(e),s.toggle())},isFocused:n,setFocused:r}}({...x,isOpen:j,selectionMode:er,disallowEmptySelection:el,validationBehavior:eC,children:et,isRequired:e.isRequired,isDisabled:e.isDisabled,isInvalid:e.isInvalid,defaultOpen:_,hideEmptyContent:eK,onOpenChange:e=>{null==W||W(e),e||null==ew||ew()},onSelectionChange:e=>{null==X||X(e),eb&&"function"==typeof eb&&eb({target:{...eI.current&&{...eI.current,name:eI.current.name},value:Array.from(e).join(",")}}),eL.commitValidation()}});eL={...eL,...e.isDisabled&&{disabledKeys:new Set([...eL.collection.getKeys()])}},(0,ep.U)(()=>{var e;(null==(e=eI.current)?void 0:e.value)&&eL.setSelectedKeys(new Set([...eL.selectedKeys,eI.current.value]))},[eI.current]);let{labelProps:eO,triggerProps:ez,valueProps:ej,menuProps:e_,descriptionProps:eW,errorMessageProps:eH,isInvalid:e$,validationErrors:eV,validationDetails:eU}=function(e,t,l){let{disallowEmptySelection:n,isDisabled:r}=e,i=F({usage:"search",sensitivity:"base"}),o=(0,h.useMemo)(()=>new ec(t.collection,t.disabledKeys,null,i),[t.collection,t.disabledKeys,i]),{menuTriggerProps:s,menuProps:a}=function(e,t,l){var n;let{type:r="menu",isDisabled:i,trigger:o="press"}=e,s=(0,O.Bi)(),{triggerProps:a,overlayProps:u}=en({type:r},t,l),{longPressProps:c}=U({isDisabled:i||"longPress"!==o,accessibilityDescription:ee((n=L)&&n.__esModule?n.default:n,"@react-aria/menu").format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete a.onPress,{menuTriggerProps:{...a,..."press"===o?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||i||((0,z.e)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||i||((0,z.e)(e.target),t.toggle())}}:c,id:s,onKeyDown:e=>{if(!i&&("longPress"!==o||e.altKey)&&l&&l.current)switch(e.key){case"Enter":case" ":if("longPress"===o||e.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...u,"aria-labelledby":s,autoFocus:t.focusStrategy||!0,onClose:t.close}}}({isDisabled:r,type:"listbox"},t,l),{typeSelectProps:u}=ed({keyboardDelegate:o,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKeys([e])}}),{isInvalid:c,validationErrors:d,validationDetails:f}=t.displayValidation,{labelProps:p,fieldProps:g,descriptionProps:m,errorMessageProps:v}=(0,B.M)({...e,labelElementType:"span",isInvalid:c,errorMessage:e.errorMessage||d});u.onKeyDown=u.onKeyDownCapture,delete u.onKeyDownCapture,s.onPressStart=e=>{"touch"===e.pointerType||"keyboard"===e.pointerType||r||t.toggle("virtual"===e.pointerType?"first":null)};let y=(0,eh.$)(e,{labelable:!0}),b=(0,V.v)(u,s,g),w=(0,O.Bi)();return{labelProps:{...p,onClick:()=>{var t;
9e.isDisabled||(null==(t=l.current)||t.focus(),(0,A.Cl)("keyboard"))}},triggerProps:(0,V.v)(y,{...b,onKeyDown:(0,ef.c)(b.onKeyDown,e=>{if("single"===t.selectionMode)switch(e.key){case"ArrowLeft":{e.preventDefault();let l=t.selectedKeys.size>0?o.getKeyAbove(t.selectedKeys.values().next().value):o.getFirstKey();l&&t.setSelectedKeys([l]);break}case"ArrowRight":{e.preventDefault();let l=t.selectedKeys.size>0?o.getKeyBelow(t.selectedKeys.values().next().value):o.getFirstKey();l&&t.setSelectedKeys([l])}}},e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[w,b["aria-labelledby"],b["aria-label"]&&!b["aria-labelledby"]?b.id:null].join(" "),onFocus(l){t.isFocused||(e.onFocus&&e.onFocus(l),t.setFocused(!0))},onBlur(l){t.isOpen||(e.onBlur&&e.onBlur(l),t.setFocused(!1))}}),valueProps:{id:w},menuProps:{...a,disallowEmptySelection:n,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,onBlur:l=>{l.currentTarget.contains(l.relatedTarget)||(e.onBlur&&e.onBlur(l),t.setFocused(!1))},onFocus:null==a?void 0:a.onFocus,"aria-labelledby":[g["aria-labelledby"],b["aria-label"]&&!g["aria-labelledby"]?b.id:null].filter(Boolean).join(" ")},descriptionProps:m,errorMessageProps:v,isInvalid:c,validationErrors:d,validationDetails:f}}({...x,disallowEmptySelection:el,isDisabled:e.isDisabled},eL,eF),eq=(0,h.useCallback)(()=>{var e;eL.setSelectedKeys(new Set([])),null==eN||eN(),null==(e=eF.current)||e.focus()},[eN,eL]),{pressProps:eY}=(0,m.d)({isDisabled:!!(null==e?void 0:e.isDisabled),onPress:eq}),eX=e.isInvalid||"invalid"===ey||e$,{isPressed:eG,buttonProps:eJ}=(0,f.l)(ez,eF),{focusProps:eZ,isFocused:eQ,isFocusVisible:e0}=(0,p.o)(),{focusProps:e1,isFocusVisible:e4}=(0,p.o)(),{isHovered:e3,hoverProps:e5}=(0,v.M)({isDisabled:e.isDisabled}),e6=(0,s.n)({labelPlacement:e.labelPlacement,label:k}),e2=!!G,e7="outside-left"===e6||"outside"===e6||"outside-top"===e6,e9="inside"===e6,e8="outside-left"===e6,te=e.isClearable,tt=eL.isOpen||e2||!!(null==(y=eL.selectedItems)?void 0:y.length)||!!H||!!$||!!e.isMultiline,tl=!!(null==(b=eL.selectedItems)?void 0:b.length),tn=!!k,tr=tn&&(e8||e7&&e2),ti=(0,u.cn)(null==ex?void 0:ex.base,eE),to=(0,h.useMemo)(()=>(0,a.Lt)({...S,isInvalid:eX,isClearable:te,labelPlacement:e6,disableAnimation:C}),[(0,g.t6)(S),eX,e6,C]);eS({isDisabled:!eL.isOpen});let ts="function"==typeof x.errorMessage?x.errorMessage({isInvalid:eX,validationErrors:eV,validationDetails:eU}):x.errorMessage||(null==eV?void 0:eV.join(" ")),ta=!!q||!!ts,tu=!!$;(0,h.useEffect)(()=>{if(eL.isOpen&&eB.current&&eF.current){let e=eF.current.getBoundingClientRect();eB.current.style.width=e.width+"px"}},[eL.isOpen]),(0,h.useEffect)(()=>{if(eL.isOpen&&eB.current&&eA.current){let e=eA.current.querySelector("[aria-selected=true] [data-label=true]"),t=eD.current;if(e&&t&&e.parentElement){let l=t.getBoundingClientRect().height;t.scrollTop=e.parentElement.offsetTop-l/2+e.parentElement.clientHeight/2}}},[eL.isOpen,C]);let tc=(0,h.useCallback)((e={})=>({"data-slot":"base","data-filled":(0,g.sE)(tt),"data-has-value":(0,g.sE)(tl),"data-has-label":(0,g.sE)(tn),"data-has-helper":(0,g.sE)(ta),"data-has-end-content":(0,g.sE)(tu),"data-invalid":(0,g.sE)(eX),"data-has-label-outside":(0,g.sE)(tr),className:to.base({class:(0,u.cn)(ti,e.className)}),...e}),[to,ta,tl,tn,tr,tt,ti]),td=(0,h.useCallback)((t={})=>({ref:eF,"data-slot":"trigger","data-open":(0,g.sE)(eL.isOpen),"data-disabled":(0,g.sE)(null==e?void 0:e.isDisabled),"data-focus":(0,g.sE)(eQ),"data-pressed":(0,g.sE)(eG),"data-focus-visible":(0,g.sE)(e0),"data-hover":(0,g.sE)(e3),className:to.trigger({class:null==ex?void 0:ex.trigger}),...(0,g.v6)(eJ,eZ,e5,(0,d.$)(ek,{enabled:eR}),(0,d.$)(t))}),[to,eF,eL.isOpen,null==ex?void 0:ex.trigger,null==e?void 0:e.isDisabled,eQ,eG,e0,e3,eJ,eZ,e5,ek,eR]),th=(0,h.useCallback)((t={})=>({state:eL,triggerRef:eF,selectRef:eI,selectionMode:er,label:null==e?void 0:e.label,name:null==e?void 0:e.name,isRequired:null==e?void 0:e.isRequired,autoComplete:null==e?void 0:e.autoComplete,isDisabled:null==e?void 0:e.isDisabled,form:null==e?void 0:e.form,onChange:eb,...t}),[eL,er,null==e?void 0:e.label,null==e?void 0:e.autoComplete,null==e?void 0:e.name,null==e?void 0:e.isDisabled,eF]),tf=(0,h.useCallback)((e={})=>({"data-slot":"label",className:to.label({class:(0,u.cn)(null==ex?void 0:ex.label,e.className)}),...eO,...e}),[to,null==ex?void 0:ex.label,eO]),tp=(0,h.useCallback)((e={})=>({"data-slot":"value",className:to.value({class:(0,u.cn)(null==ex?void 0:ex.value,e.className)}),...ej,...e}),[to,null==ex?void 0:ex.value,ej]),tg=(0,h.useCallback)((e={})=>({"data-slot":"listboxWrapper",className:to.listboxWrapper({class:(0,u.cn)(null==ex?void 0:ex.listboxWrapper,null==e?void 0:e.className)}),style:{maxHeight:null!=Q?Q:256,...e.style},...(0,g.v6)(eM.scrollShadowProps,e)}),[to.listboxWrapper,null==ex?void 0:ex.listboxWrapper,eM.scrollShadowProps,Q]),tm=(0,h.useCallback)((e={})=>{var t,l;let n=(0,g.v6)(eM.popoverProps,e);return{state:eL,triggerRef:eF,ref:eB,"data-slot":"popover",scrollRef:eA,triggerType:"listbox",classNames:{content:to.popoverContent({class:(0,u.cn)(null==ex?void 0:ex.popoverContent,e.className)})},...n,offset:eL.selectedItems&&eL.selectedItems.length>0?1e-8*eL.selectedItems.length+((null==(t=eM.popoverProps)?void 0:t.offset)||0):null==(l=eM.popoverProps)?void 0:l.offset}},[to,null==ex?void 0:ex.popoverContent,eM.popoverProps,eF,eL,eL.selectedItems]),tv=(0,h.useCallback)(()=>({"data-slot":"selectorIcon","aria-hidden":(0,g.sE)(!0),"data-open":(0,g.sE)(eL.isOpen),className:to.selectorIcon({class:null==ex?void 0:ex.selectorIcon})}),[to,null==ex?void 0:ex.selectorIcon,eL.isOpen]),ty=(0,h.useCallback)((e={})=>({...e,"data-slot":"innerWrapper",className:to.innerWrapper({class:(0,u.cn)(null==ex?void 0:ex.innerWrapper,null==e?void 0:e.className)})}),[to,null==ex?void 0:ex.innerWrapper]),tb=(0,h.useCallback)((e={})=>({...e,"data-slot":"helperWrapper",className:to.helperWrapper({class:(0,u.cn)(null==ex?void 0:ex.helperWrapper,null==e?void 0:e.className)})}),[to,null==ex?void 0:ex.helperWrapper]),tw=(0,h.useCallback)((e={})=>({...e,...eW,"data-slot":"description",className:to.description({class:(0,u.cn)(null==ex?void 0:ex.description,null==e?void 0:e.className)})}),[to,null==ex?void 0:ex.description]),tE=(0,h.useCallback)((e={})=>({...e,"data-slot":"mainWrapper",className:to.mainWrapper({class:(0,u.cn)(null==ex?void 0:ex.mainWrapper,null==e?void 0:e.className)})}),[to,null==ex?void 0:ex.mainWrapper]),tx=(0,h.useCallback)((e={})=>({...e,"data-slot":"end-wrapper",className:to.endWrapper({class:(0,u.cn)(null==ex?void 0:ex.endWrapper,null==e?void 0:e.className)})}),[to,null==ex?void 0:ex.endWrapper]),tS=(0,h.useCallback)((e={})=>({...e,"data-slot":"end-content",className:to.endContent({class:(0,u.cn)(null==ex?void 0:ex.endContent,null==e?void 0:e.className)})}),[to,null==ex?void 0:ex.endContent]),tC=(0,h.useCallback)((e={})=>({...e,...eH,"data-slot":"error-message",className:to.errorMessage({class:(0,u.cn)(null==ex?void 0:ex.errorMessage,null==e?void 0:e.className)})}),[to,eH,null==ex?void 0:ex.errorMessage]),tK=(0,h.useCallback)((e={})=>({"aria-hidden":(0,g.sE)(!0),"data-slot":"spinner",color:"current",size:"sm",...ev,...e,ref:ei,className:to.spinner({class:(0,u.cn)(null==ex?void 0:ex.spinner,null==e?void 0:e.className)})}),[to,ei,ev,null==ex?void 0:ex.spinner]),tN=(0,h.useCallback)((e={})=>({...e,type:"button",tabIndex:-1,"aria-label":"clear selection","data-slot":"clear-button","data-focus-visible":(0,g.sE)(e4),className:to.clearButton({class:(0,u.cn)(null==ex?void 0:ex.clearButton,null==e?void 0:e.className)}),...(0,g.v6)(eY,e1)}),[to,e4,eY,e1,null==ex?void 0:ex.clearButton]);return eT.set(eL,{isDisabled:null==e?void 0:e.isDisabled,isRequired:null==e?void 0:e.isRequired,name:null==e?void 0:e.name,isInvalid:eX,validationBehavior:eC}),{Component:eP,domRef:eI,state:eL,label:k,name:D,triggerRef:eF,isLoading:R,placeholder:G,startContent:H,endContent:$,description:q,selectorIcon:I,hasHelper:ta,labelPlacement:e6,hasPlaceholder:e2,renderValue:Y,selectionMode:er,disableAnimation:C,isOutsideLeft:e8,shouldLabelBeOutside:e7,shouldLabelBeInside:e9,isInvalid:eX,errorMessage:ts,isClearable:te,getClearButtonProps:tN,getBaseProps:tc,getTriggerProps:td,getLabelProps:tf,getValueProps:tp,getListboxProps:(e={})=>{let t=null!=J?J:eL.collection.size>50;return{state:eL,ref:eA,isVirtualized:t,virtualization:t?{maxListboxHeight:Q,itemHeight:Z}:void 0,"data-slot":"listbox",className:to.listbox({class:(0,u.cn)(null==ex?void 0:ex.listbox,null==e?void 0:e.className)}),scrollShadowProps:eM.scrollShadowProps,...(0,g.v6)(eM.listboxProps,e,e_)}},getPopoverProps:tm,getSpinnerProps:tK,getMainWrapperProps:tE,getListboxWrapperProps:tg,getHiddenSelectProps:th,getInnerWrapperProps:ty,getHelperWrapperProps:tb,getDescriptionProps:tw,getErrorMessageProps:t
9C,getSelectorIconProps:tv,getEndWrapperProps:tx,getEndContentProps:tS}}({...e,ref:t}),ev=y?(0,eA.jsx)("label",{...W(),children:y}):null,ey=(0,h.cloneElement)(x,ei()),eb=(0,h.useMemo)(()=>{var e;return eo&&(null==(e=r.selectedItems)?void 0:e.length)?(0,eA.jsx)("span",{...es(),children:(0,eA.jsx)(lo.o,{})}):null},[eo,es,null==(l=r.selectedItems)?void 0:l.length]),ew=(0,h.useMemo)(()=>eb?(0,eA.jsxs)("div",{...ea(),children:[eb,k&&(0,eA.jsx)("span",{...eu(),children:k})]}):k&&(0,eA.jsx)("span",{...eu(),children:k}),[eb,k,ea,eu]),eE=(0,h.useMemo)(()=>{let e=K&&C,t=e||S;return b&&t?(0,eA.jsx)("div",{...Q(),children:e?(0,eA.jsx)("div",{...er(),children:C}):(0,eA.jsx)("div",{...el(),children:S})}):null},[b,K,C,S,Q,er,el]),ex=(0,h.useMemo)(()=>{var e;return(null==(e=r.selectedItems)?void 0:e.length)?R&&"function"==typeof R?R([...r.selectedItems].map(e=>({key:e.key,data:e.value,type:e.type,props:e.props,textValue:e.textValue,rendered:e.rendered,"aria-label":e["aria-label"]}))):r.selectedItems.map(e=>e.textValue).join(", "):D},[r.selectedItems,R,D]),eC=(0,h.useMemo)(()=>w?(0,eA.jsx)(ls.o,{...X()}):ey,[w,ey,X]),eK=(0,h.useMemo)(()=>r.isOpen?(0,eA.jsx)(lr,{...Y(),children:(0,eA.jsx)(la,{...et(),children:(0,eA.jsx)(tM,{...q()})})}):null,[r.isOpen,Y,r,E,et,q]);return(0,eA.jsxs)("div",{..._(),children:[(0,eA.jsx)(eB,{...Z()}),I?ev:null,(0,eA.jsxs)("div",{...G(),children:[(0,eA.jsxs)(n,{...H(),children:[I?null:ev,(0,eA.jsxs)("div",{...J(),children:[N,(0,eA.jsx)("span",{...$(),children:ex}),k&&r.selectedItems&&(0,eA.jsx)(eI,{elementType:"span",children:","}),ew]}),eC]}),eE]}),j?eK:(0,eA.jsx)(lu.N,{children:eK})]})})},7256:(e,t,l)=>{l.d(t,{y:()=>i});var n=l(5729);function r(e){return null}r.getCollectionNode=function*(e,t){var l;let{childItems:r,title:i,children:o}=e,s=e.title||e.children,a=e.textValue||("string"==typeof s?s:"")||e["aria-label"]||"";a||null==t||t.suppressTextValueWarning,yield{type:"item",props:e,rendered:s,textValue:a,"aria-label":e["aria-label"],hasChildNodes:null!=(l=e).hasChildItems?l.hasChildItems:!!(l.childItems||l.title&&n.Children.count(l.children)>0),*childNodes(){if(r)for(let e of r)yield{type:"item",value:e};else if(i){let e=[];n.Children.forEach(o,t=>{e.push({type:"item",element:t})}),yield*e}}}};var i=r}}]);

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.