PageSourceSearch

https://archivistgallery.com/_next/static/chunks/4374.c5d896b646bc8988.js

js archivistgallery.com collected 2026-09-26 12:04:26 UTC 103,281 bytes, 1 lines download raw bytes

1try{!function(){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]="26fb9b59-1002-4cdc-9c4f-91664f5df715",e._sentryDebugIdIdentifier="sentry-dbid-26fb9b59-1002-4cdc-9c4f-91664f5df715")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4374],{4374:(e,t,l)=>{l.d(t,{l6:()=>j,yv:()=>Z});var n=l(59043),i=l(56130),r=l(47015),o=l(57195),s={};s={"ar-AE":{colorSwatchPicker:`\u{62A}\u{63A}\u{64A}\u{64A}\u{631}\u{627}\u{62A} \u{627}\u{644}\u{623}\u{644}\u{648}\u{627}\u{646}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{62D}\u{62F}\u{62F} \u{639}\u{646}\u{635}\u{631}\u{64B}\u{627}`,tableResizer:`\u{623}\u{62F}\u{627}\u{629} \u{62A}\u{63A}\u{64A}\u{64A}\u{631} \u{627}\u{644}\u{62D}\u{62C}\u{645}`},"bg-BG":{colorSwatchPicker:`\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{438} \u{43C}\u{43E}\u{441}\u{442}\u{440}\u{438}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{418}\u{437}\u{431}\u{435}\u{440}\u{435}\u{442}\u{435} \u{43F}\u{440}\u{435}\u{434}\u{43C}\u{435}\u{442}`,tableResizer:`\u{41F}\u{440}\u{435}\u{43E}\u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{438}\u{442}\u{435}\u{43B}`},"cs-CZ":{colorSwatchPicker:"Vzorky barev",dropzoneLabel:`M\xedsto pro p\u{159}eta\u{17E}en\xed`,selectPlaceholder:`Vyberte polo\u{17E}ku`,tableResizer:`Zm\u{11B}na velikosti`},"da-DK":{colorSwatchPicker:`Farvepr\xf8ver`,dropzoneLabel:"DropZone",selectPlaceholder:`V\xe6lg et element`,tableResizer:`St\xf8rrelses\xe6ndring`},"de-DE":{colorSwatchPicker:"Farbfelder",dropzoneLabel:"Ablegebereich",selectPlaceholder:`Element w\xe4hlen`,tableResizer:`Gr\xf6\xdfenanpassung`},"el-GR":{colorSwatchPicker:`\u{3A7}\u{3C1}\u{3C9}\u{3BC}\u{3B1}\u{3C4}\u{3B9}\u{3BA}\u{3AC} \u{3B4}\u{3B5}\u{3AF}\u{3B3}\u{3BC}\u{3B1}\u{3C4}\u{3B1}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3BE}\u{3C4}\u{3B5} \u{3AD}\u{3BD}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B5}\u{3AF}\u{3BC}\u{3B5}\u{3BD}\u{3BF}`,tableResizer:`\u{391}\u{3BB}\u{3BB}\u{3B1}\u{3B3}\u{3AE} \u{3BC}\u{3B5}\u{3B3}\u{3AD}\u{3B8}\u{3BF}\u{3C5}\u{3C2}`},"en-US":{selectPlaceholder:"Select an item",tableResizer:"Resizer",dropzoneLabel:"DropZone",colorSwatchPicker:"Color swatches"},"es-ES":{colorSwatchPicker:"Muestras de colores",dropzoneLabel:"DropZone",selectPlaceholder:`Seleccionar un art\xedculo`,tableResizer:`Cambiador de tama\xf1o`},"et-EE":{colorSwatchPicker:`V\xe4rvin\xe4idised`,dropzoneLabel:"DropZone",selectPlaceholder:`Valige \xfcksus`,tableResizer:"Suuruse muutja"},"fi-FI":{colorSwatchPicker:`V\xe4rimallit`,dropzoneLabel:"DropZone",selectPlaceholder:"Valitse kohde",tableResizer:"Koon muuttaja"},"fr-FR":{colorSwatchPicker:`\xc9chantillons de couleurs`,dropzoneLabel:"DropZone",selectPlaceholder:`S\xe9lectionner un \xe9l\xe9ment`,tableResizer:"Redimensionneur"},"he-IL":{colorSwatchPicker:`\u{5D3}\u{5D5}\u{5D2}\u{5DE}\u{5D9}\u{5D5}\u{5EA} \u{5E6}\u{5D1}\u{5E2}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{5D1}\u{5D7}\u{5E8} \u{5E4}\u{5E8}\u{5D9}\u{5D8}`,tableResizer:`\u{5E9}\u{5D9}\u{5E0}\u{5D5}\u{5D9} \u{5D2}\u{5D5}\u{5D3}\u{5DC}`},"hr-HR":{colorSwatchPicker:"Uzorci boja",dropzoneLabel:`Zona spu\u{161}tanja`,selectPlaceholder:"Odaberite stavku",tableResizer:`Promjena veli\u{10D}ine`},"hu-HU":{colorSwatchPicker:`Sz\xednt\xe1rak`,dropzoneLabel:"DropZone",selectPlaceholder:`V\xe1lasszon ki egy elemet`,tableResizer:`\xc1tm\xe9retez\u{151}`},"it-IT":{colorSwatchPicker:"Campioni di colore",dropzoneLabel:"Zona di rilascio",selectPlaceholder:"Seleziona un elemento",tableResizer:"Ridimensionamento"},"ja-JP":{colorSwatchPicker:`\u{30AB}\u{30E9}\u{30FC}\u{30B9}\u{30A6}\u{30A9}\u{30C3}\u{30C1}`,dropzoneLabel:`\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{30BE}\u{30FC}\u{30F3}`,selectPlaceholder:`\u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}`,tableResizer:`\u{30B5}\u{30A4}\u{30BA}\u{5909}\u{66F4}\u{30C4}\u{30FC}\u{30EB}`},"ko-KR":{colorSwatchPicker:`\u{C0C9}\u{C0C1} \u{ACAC}\u{BCF8}`,dropzoneLabel:`\u{B4DC}\u{B86D} \u{C601}\u{C5ED}`,selectPlaceholder:`\u{D56D}\u{BAA9} \u{C120}\u{D0DD}`,tableResizer:`\u{D06C}\u{AE30} \u{C870}\u{C815}\u{AE30}`},"lt-LT":{colorSwatchPicker:`Spalv\u{173} pavyzd\u{17E}iai`,dropzoneLabel:`\u{201E}DropZone\u{201C}`,selectPlaceholder:`Pasirinkite element\u{105}`,tableResizer:`Dyd\u{17E}io keitiklis`},"lv-LV":{colorSwatchPicker:`Kr\u{101}su paraugi`,dropzoneLabel:"DropZone",selectPlaceholder:`Izv\u{113}l\u{113}ties vienumu`,tableResizer:`Izm\u{113}ra main\u{12B}t\u{101}js`},"nb-NO":{colorSwatchPicker:"Fargekart",dropzoneLabel:"Droppsone",selectPlaceholder:"Velg et element",tableResizer:`St\xf8rrelsesendrer`},"nl-NL":{colorSwatchPicker:"kleurstalen",dropzoneLabel:"DropZone",selectPlaceholder:"Selecteer een item",tableResizer:"Resizer"},"pl-PL":{colorSwatchPicker:`Pr\xf3bki kolor\xf3w`,dropzoneLabel:"Strefa upuszczania",selectPlaceholder:"Wybierz element",tableResizer:"Zmiana rozmiaru"},"pt-BR":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"pt-PT":{colorSwatchPicker:"Amostras de cores",dropzoneLabel:"DropZone",selectPlaceholder:"Selecione um item",tableResizer:"Redimensionador"},"ro-RO":{colorSwatchPicker:"Specimene de culoare",dropzoneLabel:`Zon\u{103} de plasare`,selectPlaceholder:`Selecta\u{21B}i un element`,tableResizer:"Instrument de redimensionare"},"ru-RU":{colorSwatchPicker:`\u{426}\u{432}\u{435}\u{442}\u{43E}\u{432}\u{44B}\u{435} \u{43E}\u{431}\u{440}\u{430}\u{437}\u{446}\u{44B}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{412}\u{44B}\u{431}\u{435}\u{440}\u{438}\u{442}\u{435} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,tableResizer:`\u{421}\u{440}\u{435}\u{434}\u{441}\u{442}\u{432}\u{43E} \u{438}\u{437}\u{43C}\u{435}\u{43D}\u{435}\u{43D}\u{438}\u{44F} \u{440}\u{430}\u{437}\u{43C}\u{435}\u{440}\u{430}`},"sk-SK":{colorSwatchPicker:`Vzorkovn\xedky farieb`,dropzoneLabel:"DropZone",selectPlaceholder:`Vyberte polo\u{17E}
1ku`,tableResizer:`N\xe1stroj na zmenu ve\u{13E}kosti`},"sl-SI":{colorSwatchPicker:"Barvne palete",dropzoneLabel:"DropZone",selectPlaceholder:"Izberite element",tableResizer:"Spreminjanje velikosti"},"sr-SP":{colorSwatchPicker:"Uzorci boje",dropzoneLabel:"DropZone",selectPlaceholder:"Izaberite stavku",tableResizer:`Promena veli\u{10D}ine`},"sv-SE":{colorSwatchPicker:`F\xe4rgrutor`,dropzoneLabel:"DropZone",selectPlaceholder:`V\xe4lj en artikel`,tableResizer:`Storleks\xe4ndrare`},"tr-TR":{colorSwatchPicker:`Renk \xf6rnekleri`,dropzoneLabel:`B\u{131}rakma B\xf6lgesi`,selectPlaceholder:`Bir \xf6\u{11F}e se\xe7in`,tableResizer:`Yeniden boyutland\u{131}r\u{131}c\u{131}`},"uk-UA":{colorSwatchPicker:`\u{417}\u{440}\u{430}\u{437}\u{43A}\u{438} \u{43A}\u{43E}\u{43B}\u{44C}\u{43E}\u{440}\u{456}\u{432}`,dropzoneLabel:"DropZone",selectPlaceholder:`\u{412}\u{438}\u{431}\u{435}\u{440}\u{456}\u{442}\u{44C} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,tableResizer:`\u{417}\u{430}\u{441}\u{456}\u{431} \u{437}\u{43C}\u{456}\u{43D}\u{435}\u{43D}\u{43D}\u{44F} \u{440}\u{43E}\u{437}\u{43C}\u{456}\u{440}\u{443}`},"zh-CN":{colorSwatchPicker:`\u{989C}\u{8272}\u{8272}\u{677F}`,dropzoneLabel:`\u{653E}\u{7F6E}\u{533A}\u{57DF}`,selectPlaceholder:`\u{9009}\u{62E9}\u{4E00}\u{4E2A}\u{9879}\u{76EE}`,tableResizer:`\u{5C3A}\u{5BF8}\u{8C03}\u{6574}\u{5668}`},"zh-TW":{colorSwatchPicker:`\u{8272}\u{7968}`,dropzoneLabel:`\u{653E}\u{7F6E}\u{5340}`,selectPlaceholder:`\u{9078}\u{53D6}\u{9805}\u{76EE}`,tableResizer:`\u{5927}\u{5C0F}\u{8ABF}\u{6574}\u{5668}`}};var u=l(10063),a=l(85291),c=l(12282),d=l(52639),h=l(82476),p=l(94990),f=l(2728),g=l(15258),y=l(27024),v=l(22489),m=l(7620),b=l(77128),C=l(84912),S=l(24469),K=l(51700),x=l(28566),D={};D={"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:`Premere a lungo o premere 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 P=l(48231),k=l(33588),w=l(37608),E=l(45559);let B=new WeakMap;var M=l(332),A=l(30559),F=l(35308);function I(e){let{state:t,triggerRef:l,label:n,name:i,form:r,isDisabled:o}=e,s=(0,m.useRef)(null),u=(0,m.useRef)(null),{containerProps:a,selectProps:c}=function(e,t,l){var n;let i=B.get(t)||{},{autoComplete:r,name:o=i.name,form:s=i.form,isDisabled:u=i.isDisabled}=e,{validationBehavior:a,isRequired:c}=i,{visuallyHiddenProps:d}=(0,F.B)({style:{position:"fixed",top:0,left:0}});(0,M.F)(e.selectRef,t.defaultValue,t.setValue),(0,A.X)({validationBehavior:a,focus:()=>{var e;return null==(e=l.current)?void 0:e.focus()}},t,e.selectRef);let h=t.setValue,p=(0,m.useCallback)(e=>{e.target.multiple?h(Array.from(e.target.selectedOptions,e=>e.value)):h(e.currentTarget.value)},[h]);return{containerProps:{...d,"aria-hidden":!0,"data-react-aria-prevent-focus":!0,"data-a11y-ignore":"aria-hidden-focus"},inputProps:{style:{display:"none"}},selectProps:{tabIndex:-1,autoComplete:r,disabled:u,multiple:"multiple"===t.selectionManager.selectionMode,required:"native"===a&&c,name:o,form:s,value:null!=(n=t.value)?n:"",onChange:p,onInput:p}}}({...e,selectRef:t.collection.size<=300?s:u},t,l);if(t.collection.size<=300)return m.createElement("div",{...a,"data-testid":"hidden-select-container"},m.createElement("label",null,n,m.createElement("select",{...c,ref:s},m.createElement("option",null),[...t.collection.getKeys()].map(e=>{let l=t.collection.getItem(e);if(l&&"item"===l.type)return m.createElement("option",{key:l.key,value:l.key},l.textValue)}))));if(i){let{validationBehavior:e}=B.get(t)||{},l=Array.isArray(t.value)?t.value:[t.value];0===l.length&&(l=[null]);let n=l.map((t,l)=>{let n={type:"hidden",autoComplete:c.autoComplete,name:i,form:r,disabled:o,value:null!=t?t:""};return"native"===e?m.createElement("input",{key:l,...n,ref:0===l?u:null,style:{display:"none"},type:"text",required:0===l&&c.required,onChange:()=>{}}):m.createElement("input",{key:l,...n,ref:0===l?u:null})});return m.createElement(m.Fragment,null,n)}return null}var R=l(41635),N=l(32871),z=l(45951),T=l(86947),L=l(38731),O=l(14445),V=l(85732),H=l(12905);let _=(0,m.createContext)(null),U=(0,m.createContext)(null),j=(0,m.forwardRef)(function(e,t){[e,t]=(0,i.JT)(e,t,_);let{children:l,isDisabled:n=!1,isInvalid:r=!1,isRequired:o=!1}=e,s=(0,m.useMemo)(()=>"function"==typeof l?l({isOpen:!1,isDisabled:n,isInvalid:r,isRequired:o,isFocused:!1,isFocusVisible:!1,defaultChildren:null}):l,[l,n,r,o]);return m.createElement(O.GQ,{content:s},l=>m.createElement($,{props:e,collection:l,selectRef:t}))}),W=[u.I,n.k,h.h];function $({props:e,selectRef:t,collection:l}){var s,M;let{validationBehavior:A}=(0,i.CC)(o.c)||{},F=null!=(M=null!=(s=e.validationBehavior)?s:A)?M:"native",R=function(e){var t,l;let{selectionMode:n="single"}=e,i=(0,T.T)(e),[r,o]=(0,m.useState)(null),s=(0,m.useMemo)(()=>{var t;return void 0!==e.defaultValue?e.defaultValue:"single"===n?null!=(t=e.defaultSelectedKey)?t:null:[]},[e.defaultValue,e.defaultSelectedKey,n]),u=(0,m.useMemo)(()=>void 0!==e.value?e.value:"single"===n?e.selectedKey:void 0,[e.value,e.selectedKey,n]),[a,c]=(0,L.P)(u,s,e.onChange),d="single"===n&&Array.isArray(a)?a[0]:a,h=t=>{if("single"===n){var l,i;let n=Array.isArray(t)?null!=(i=t[0])?i:null:t;c(n),n!==d&&(null==(l=e.onSelectionChange)||l.call(e,n))}else{let e=[];Array.isArray(t)?e=t:null!=t&&(e=[t]),c(e)}},p=(0,z.p)({...e,selectionMode:n,disallowEmptySelection:"single"===n,allowDuplicateSelectionEvents:!0,selectedKeys:(0,m.useMemo)(()=>(function(e){if(void 0!==e)return null===e?[]:Array.isArray(e)?e:[e]})(d),[d]),onSelectionChange:e=>{if("all"!==e){if("single"===n){var t;h(null!=(t=e.values().next().value)?t:null),i.close()}else h([...e]);y.commitValidation()}}}),f=p.selectionManager.firstSelectedKey,g=(0,m.useMemo)(()=>[...p.selectionManager.selectedKeys].map(e=>p.collection.getItem(e)).filter(e=>null!=e),[p.selectionManager.selectedKeys,p.collection]),y=(0,N.KZ)({...e,value:Array.isArray(d)&&0===d.length?null:d}),[v,b]=(0,m.useState)(!1),[C]=(0,m.useState)(d);return{...y,...p,...i,value:d,defaultValue:null!=s?s:C,setValue:h,selectedKey:f,setSelectedKey:h,selectedItem:null!=(t=g[0])?t:null,selectedItems:g,defaultSelectedKey:null!=(l=e.defaultSelectedKey)?l:"single"===e.selectionMode?C:null,focusStrategy:r,open(e=null){0!==p.collection.size&&(o(e),i.open())},toggle(e=null){0!==p.collection.size&&(o(e),i.toggle())},isFocused:v,setFocused:b}}({...e,collection:l,children:void 0,validationBehavior:F}),{isFocusVisible:O,focusProps:V}=(0,p.o)({within:!0}),j=(0,m.useRef)(null),[$,Z]=(0,i._E)(!e["aria-label"]&&!e["aria-labelledby"]),{labelProps:J,triggerProps:G,valueProps:Y,menuProps:Q,descriptionProps:X,errorMessageProps:ee,hiddenSelectProps:et,...el}=function(e,t,l){let{keyboardDelegate:n,isDisabled:i,isRequired:r,name:o,form:s,validationBehavior:u="aria"}=e,a=(0,K.Q)({usage:"search",sensitivity:"base"}),c=(0,m.useMemo)(()=>n||new(0,b.n)(t.collection,t.disabledKeys,l,a),[n,t.collection,t.disabledKeys,a,l]),{menuTriggerProps:d,menuProps:h}=function(e,t,l){var n;let{type:i="menu",isDisabled:r,trigger:o="press"}=e,s=(0,y.Bi)(),{triggerProps:u,overlayProps:a}
1=function(e,t,l){let n,{type:i}=e,{isOpen:r}=t;(0,m.useEffect)(()=>{l&&l.current&&E.a.set(l.current,t.close)}),"menu"===i?n=!0:"listbox"===i&&(n="listbox");let o=(0,y.Bi)();return{triggerProps:{"aria-haspopup":n,"aria-expanded":r,"aria-controls":r?o:void 0,onPress:t.toggle},overlayProps:{id:o}}}({type:i},t,l),c=(0,w.o)((n=D)&&n.__esModule?n.default:n,"@react-aria/menu"),{longPressProps:d}=(0,k.H)({isDisabled:r||"longPress"!==o,accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete u.onPress,{menuTriggerProps:{...u,..."press"===o?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"keyboard"===e.pointerType||r||((0,P.e)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||r||((0,P.e)(e.target),t.toggle())}}:d,id:s,onKeyDown:e=>{if(!r&&("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:{...a,"aria-labelledby":s,autoFocus:t.focusStrategy||!0,onClose:t.close}}}({isDisabled:i,type:"listbox"},t,l),{typeSelectProps:p}=(0,C.I)({keyboardDelegate:c,selectionManager:t.selectionManager,onTypeSelect(e){t.setSelectedKey(e)}}),{isInvalid:M,validationErrors:A,validationDetails:F}=t.displayValidation,{labelProps:I,fieldProps:R,descriptionProps:N,errorMessageProps:z}=(0,x.M)({...e,labelElementType:"span",isInvalid:M,errorMessage:e.errorMessage||A});p.onKeyDown=p.onKeyDownCapture,delete p.onKeyDownCapture,"multiple"===t.selectionManager.selectionMode&&(p={});let T=(0,f.$)(e,{labelable:!0}),L=(0,g.v)(p,d,R),O=(0,y.Bi)();return B.set(t,{isDisabled:i,isRequired:r,name:o,form:s,validationBehavior:u}),{labelProps:{...I,onClick:()=>{if(!e.isDisabled){var t;null==(t=l.current)||t.focus(),(0,S.Cl)("keyboard")}}},triggerProps:(0,g.v)(T,{...L,isDisabled:i,onKeyDown:(0,v.c)(L.onKeyDown,e=>{var l,n,i,r;if("multiple"!==t.selectionManager.selectionMode)switch(e.key){case"ArrowLeft":{e.preventDefault();let i=null!=t.selectedKey?null==(l=c.getKeyAbove)?void 0:l.call(c,t.selectedKey):null==(n=c.getFirstKey)?void 0:n.call(c);i&&t.setSelectedKey(i);break}case"ArrowRight":{e.preventDefault();let l=null!=t.selectedKey?null==(i=c.getKeyBelow)?void 0:i.call(c,t.selectedKey):null==(r=c.getFirstKey)?void 0:r.call(c);l&&t.setSelectedKey(l)}}},e.onKeyDown),onKeyUp:e.onKeyUp,"aria-labelledby":[O,L["aria-labelledby"],L["aria-label"]&&!L["aria-labelledby"]?L.id:null].filter(Boolean).join(" "),onFocus(l){t.isFocused||(e.onFocus&&e.onFocus(l),e.onFocusChange&&e.onFocusChange(!0),t.setFocused(!0))},onBlur(l){t.isOpen||(e.onBlur&&e.onBlur(l),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))}}),valueProps:{id:O},menuProps:{...h,autoFocus:t.focusStrategy||!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,disallowEmptySelection:!0,linkBehavior:"selection",onBlur:l=>{l.currentTarget.contains(l.relatedTarget)||(e.onBlur&&e.onBlur(l),e.onFocusChange&&e.onFocusChange(!1),t.setFocused(!1))},"aria-labelledby":[R["aria-labelledby"],L["aria-label"]&&!R["aria-labelledby"]?L.id:null].filter(Boolean).join(" ")},descriptionProps:N,errorMessageProps:z,isInvalid:M,validationErrors:A,validationDetails:F,hiddenSelectProps:{isDisabled:i,name:o,label:e.label,state:t,triggerRef:l,form:s}}}({...(0,i.SK)(e),label:Z,validationBehavior:F},R,j),[en,ei]=(0,m.useState)(null),er=(0,m.useCallback)(()=>{j.current&&ei(j.current.offsetWidth+"px")},[j]);(0,H.w)({ref:j,onResize:er});let eo=(0,m.useMemo)(()=>({isOpen:R.isOpen,isFocused:R.isFocused,isFocusVisible:O,isDisabled:e.isDisabled||!1,isInvalid:el.isInvalid||!1,isRequired:e.isRequired||!1}),[R.isOpen,R.isFocused,O,e.isDisabled,el.isInvalid,e.isRequired]),es=(0,i.Sl)({...e,values:eo,defaultClassName:"react-aria-Select"}),eu=(0,f.$)(e,{global:!0});delete eu.id;let ea=(0,m.useRef)(null);return m.createElement(i.Kq,{values:[[_,e],[U,R],[q,Y],[u.I,{...J,ref:$,elementType:"span"}],[n.k,{...G,ref:j,isPressed:R.isOpen,autoFocus:e.autoFocus}],[c.RG,R],[d.n,{trigger:"Select",triggerRef:j,scrollRef:ea,placement:"bottom start",style:{"--trigger-width":en},"aria-labelledby":Q["aria-labelledby"],clearContexts:W}],[a.JC,{...Q,ref:ea}],[a.DN,R],[h.h,{slots:{description:X,errorMessage:ee}}],[r.C,el]]},m.createElement("div",{...(0,g.v)(eu,es,V),ref:t,slot:e.slot||void 0,"data-focused":R.isFocused||void 0,"data-focus-visible":O||void 0,"data-open":R.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":el.isInvalid||void 0,"data-required":e.isRequired||void 0},es.children,m.createElement(I,{...et,autoComplete:e.autoComplete})))}let q=(0,m.createContext)(null),Z=(0,V.U7)(function(e,t){var l,n,r,o;[e,t]=(0,i.JT)(e,t,q);let u=(0,m.useContext)(U),{placeholder:a}=(0,i.CC)(_),c=u.selectedItems.map(e=>{var t;let l=null==(t=e.props)?void 0:t.children;return"function"==typeof l&&(l=l({isHovered:!1,isPressed:!1,isSelected:!1,isFocused:!1,isFocusVisible:!1,isDisabled:!1,selectionMode:"single",selectionBehavior:"toggle"})),l}),d=function(e={}){let{locale:t}=(0,R.Y)();return(0,m.useMemo)(()=>new Intl.ListFormat(t,e),[t,e])}(),p=(0,m.useMemo)(()=>u.selectedItems.map(e=>null==e?void 0:e.textValue),[u.selectedItems]),g=u.selectionManager.selectionMode,y=(0,m.useMemo)(()=>{var e;return"single"===g?null!=(e=p[0])?e:"":d.format(p)},[g,d,p]),v=(0,m.useMemo)(()=>
1{if("single"===g)return c[0];let e=d.formatToParts(p);if(0===e.length)return null;let t=0;return e.map(e=>"element"===e.type?m.createElement(m.Fragment,{key:t},c[t++]):e.value)},[g,d,p,c]),b=(0,w.o)((o=s)&&o.__esModule?o.default:o,"react-aria-components"),C=(0,i.Sl)({...e,defaultChildren:null!=(n=null!=v?v:a)?n:b.format("selectPlaceholder"),defaultClassName:"react-aria-SelectValue",values:{selectedItem:null!=(r=null==(l=u.selectedItems[0])?void 0:l.value)?r:null,selectedItems:(0,m.useMemo)(()=>u.selectedItems.map(e=>{var t;return null!=(t=e.value)?t:null}),[u.selectedItems]),selectedText:y,isPlaceholder:0===u.selectedItems.length,state:u}}),S=(0,f.$)(e,{global:!0});return m.createElement("span",{ref:t,...S,...C,"data-placeholder":0===u.selectedItems.length||void 0},m.createElement(h.h.Provider,{value:void 0},C.children))})},12905:(e,t,l)=>{l.d(t,{w:()=>i});var n=l(7620);function i(e){let{ref:t,box:l,onResize:i}=e;(0,n.useEffect)(()=>{let e=null==t?void 0:t.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",i,!1),()=>{window.removeEventListener("resize",i,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&i()});return t.observe(e,{box:l}),()=>{e&&t.unobserve(e)}}},[i,t,l])}},14445:(e,t,l)=>{l.d(t,{pM:()=>K,GQ:()=>y,KU:()=>C});var n=l(25203);class i{*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){var e;return(null==(e=this.parentNode)?void 0:e.isConnected)||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),null==this.firstChild&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}}class r extends i{get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){var e;return this.parentNode instanceof r?this.parentNode.level+ +((null==(e=this.node)?void 0:e.type)==="item"):0}getMutableNode(){return null==this.node?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){var e,t,l,n,i,o,s,u,a,c,d,h,p,f,g;let y=this.nextVisibleSibling,v=this.getMutableNode();if(null!=v&&(v.index=this.index,v.level=this.level,v.parentKey=this.parentNode instanceof r&&null!=(a=null==(e=this.parentNode.node)?void 0:e.key)?a:null,v.prevKey=null!=(c=null==(l=this.previousVisibleSibling)||null==(t=l.node)?void 0:t.key)?c:null,v.nextKey=null!=(d=null==y||null==(n=y.node)?void 0:n.key)?d:null,v.hasChildNodes=!!this.firstChild,v.firstChildKey=null!=(h=null==(o=this.first
1VisibleChild)||null==(i=o.node)?void 0:i.key)?h:null,v.lastChildKey=null!=(p=null==(u=this.lastVisibleChild)||null==(s=u.node)?void 0:s.key)?p:null,(null!=v.colSpan||null!=v.colIndex)&&y)){let e=(null!=(f=v.colIndex)?f:v.index)+(null!=(g=v.colSpan)?g:1);null!=y.node&&e!==y.node.colIndex&&(y.getMutableNode().colIndex=e)}}setProps(e,t,l,n,i){let r,{value:o,textValue:s,id:u,...a}=e;if(null==this.node?(r=new l(null!=u?u:`react-aria-${++this.ownerDocument.nodeId}`),this.node=r):r=this.getMutableNode(),a.ref=t,r.props=a,r.rendered=n,r.render=i,r.value=o,r.textValue=s||("string"==typeof a.children?a.children:"")||e["aria-label"]||"",null!=u&&u!==r.key)throw Error("Cannot change the id of an item");null!=a.colSpan&&(r.colSpan=a.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let n="none"===value;if(e.isHidden!==n){var t,l;((null==(t=e.parentNode)?void 0:t.firstVisibleChild)===e||(null==(l=e.parentNode)?void 0:l.lastVisibleChild)===e)&&e.ownerDocument.markDirty(e.parentNode);let i=e.previousVisibleSibling,r=e.nextVisibleSibling;i&&e.ownerDocument.markDirty(i),r&&e.ownerDocument.markDirty(r),e.isHidden=n,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}}class o extends i{get isConnected(){return!0}createElement(e){return new r(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||null==e.node)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof r&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof r?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);if(this.nextCollection){var e,t,l,n,i,o;this.nextCollection.commit(null!=(i=null==(t=this.firstVisibleChild)||null==(e=t.node)?void 0:e.key)?i:null,null!=(o=null==(n=this.lastVisibleChild)||null==(l=n.node)?void 0:l.key)?o:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(0!==this.dirtyNodes.size&&!this.queuedRender){for(let e of(this.queuedRender=!0,this.inSubscription=!0,this.subscriptions))e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}}var s=l(98156),u=l(85732),a=l(97509),c=l(48411),d=l(7620),h=l(94612),p=l(13100);let f=(0,d.createContext)(!1),g=(0,d.createContext)(null);function y(e){if((0,d.useContext)(g))return e.content;let{collection:t,document:l}=function(e){let[t]=(0,d.useState)(()=>new o((null==e?void 0:e())||new(0,n.Wk)));return{collection:m((0,d.useCallback)(e=>t.subscribe(e),[t]),(0,d.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,d.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return d.createElement(d.Fragment,null,d.createElement(u.jZ,null,d.createElement(g.Provider,{value:l},e.content)),d.createElement(v,{render:e.children,collection:t}))}function v({collection:e,render:t}){return t(e)}let m="function"==typeof d.useSyncExternalStore?d.useSyncExternalStore:function(e,t,l){let n=(0,h.wR)(),i=(0,d.useRef)(n);i.current=n;let r=(0,d.useCallback)(()=>i.current?l():t(),[t,l]);return(0,p.useSyncExternalStore)(e,r)},b=(0,d.createContext)(null);function C(e,t){let l=({node:e})=>t(e.props,e.props.ref,e),i=(0,d.forwardRef)((i,r)=>{let o=(0,d.useContext)(c.gY);if(!(0,d.useContext)(f)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(i,r)}return function(e,t,l,i,r,o){var s,u;"string"==typeof e&&(s=e,(u=class extends n.Pt{}).type=s,e=u);let a=(0,d.useCallback)(n=>{null==n||n.setProps(t,l,e,i,o)},[t,l,i,o,e]),c=(0,d.useContext)(b);if(c){let n=c.ownerDocument.nodesByProps.get(t);return n||((n=c.ownerDocument.createElement(e.type)).setProps(t,l,e,i,o),c.appendChild(n),c.ownerDocument.updateCollection(),c.ownerDocument.nodesByProps.set(t,n)),null}return d.createElement(e.type,{ref:a},null)}(e,i,r,"children"in i?i.children:null,null,e=>d.createElement(c.gY.Provider,{value:o},d.createElement(l,{node:e})))});return i.displayName=t.name,i}let S=(0,d.createContext)(null);function K(e){var t;let l=(0,d.useContext)(S),n=((null==l?void 0:l.dependencies)||[]).concat(e.depen
1dencies),i=e.idScope||(null==l?void 0:l.idScope),r=(t={...e,idScope:i,dependencies:n},(0,s.p)({...t,addIdAndValue:!0}));return(0,d.useContext)(g)&&(r=d.createElement(x,null,r)),l=(0,d.useMemo)(()=>({dependencies:n,idScope:i}),[i,...n]),d.createElement(S.Provider,{value:l},r)}function x({children:e}){let t=(0,d.useContext)(g),l=(0,d.useMemo)(()=>d.createElement(g.Provider,{value:null},d.createElement(f.Provider,{value:!0},e)),[e]);return(0,h.wR)()?d.createElement(b.Provider,{value:t},l):(0,a.createPortal)(l,t)}},25203:(e,t,l)=>{l.d(t,{OJ:()=>o,Pt:()=>n,Wk:()=>a,_B:()=>s});class n{get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,l){let n=this.clone();return t.addDescendants(n,e),n}constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}}class i extends n{filter(e,t,l){let[n,i]=c(e,t,this.firstChildKey,l),r=this.clone();return r.firstChildKey=n,r.lastChildKey=i,r}}class r extends n{}r.type="header";class o extends n{}o.type="loader";class s extends i{filter(e,t,l){if(l(this.textValue,this)){let l=this.clone();return t.addDescendants(l,e),l}return null}}s.type="item";class u extends i{filter(e,t,l){let n=super.filter(e,t,l);if(n&&null!==n.lastChildKey){let t=e.getItem(n.lastChildKey);if(t&&"header"!==t.type)return n}return null}}u.type="section";class a{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let l=t.get(e),n=(null==l?void 0:l.firstChildKey)!=null?t.get(l.firstChildKey):null;for(;n;)yield n,n=null!=n.nextKey?t.get(n.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){var l;for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return null!=(l=null==t?void 0:t.key)?l:null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){var e;let t=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;(null==t?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);return null!=(e=null==t?void 0:t.key)?e:null}getItem(e){var t;return null!=(t=this.keyMap.get(e))?t:null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){for(let l of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(l,t)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,l=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!l}filter(e){let t=new this.constructor,[l,n]=c(this,t,this.firstKey,e);return null==t||t.commit(l,n),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function c(e,t,l,n){var i,r;
1if(null==l)return[null,null];let o=null,s=null,u=e.getItem(l);for(;null!=u;){let l=u.filter(e,t,n);null!=l&&(l.nextKey=null,s&&(l.prevKey=s.key,s.nextKey=l.key),null==o&&(o=l),t.addNode(l),s=l),u=u.nextKey?e.getItem(u.nextKey):null}if(s&&"separator"===s.type){let e=s.prevKey;t.removeNode(s.key),e?(s=t.getItem(e)).nextKey=null:s=null}return[null!=(i=null==o?void 0:o.key)?i:null,null!=(r=null==s?void 0:s.key)?r:null]}},33588:(e,t,l)=>{l.d(t,{H:()=>c});var n=l(21518),i=l(14187),r=l(48647),o=l(48231),s=l(64513),u=l(15258),a=l(7620);function c(e){let{isDisabled:t,onLongPressStart:l,onLongPressEnd:c,onLongPress:d,threshold:h=500,accessibilityDescription:p}=e,f=(0,a.useRef)(void 0),{addGlobalListener:g,removeGlobalListener:y}=(0,i.A)(),{pressProps:v}=(0,n.d)({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(l&&l({...e,type:"longpressstart"}),f.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,r.TW)(e.target).activeElement!==e.target&&(0,o.e)(e.target),d&&d({...e,type:"longpress"}),f.current=void 0},h),"touch"===e.pointerType)){let t=e=>{e.preventDefault()};g(e.target,"contextmenu",t,{once:!0}),g(window,"pointerup",()=>{setTimeout(()=>{y(e.target,"contextmenu",t)}
1,30)},{once:!0})}},onPressEnd(e){f.current&&clearTimeout(f.current),c&&("mouse"===e.pointerType||"touch"===e.pointerType)&&c({...e,type:"longpressend"})}}),m=(0,s.I)(d&&!t?p:void 0);return{longPressProps:(0,u.v)(v,m)}}},36872:(e,t,l)=>{l.d(t,{Ig:()=>s,_P:()=>u,jo:()=>o,vX:()=>r});var n=l(48647),i=l(55795);function r(e){let t=u((0,n.TW)(e));t!==e&&(t&&o(t,e),e&&s(e,t))}function o(e,t){e.dispatchEvent(new FocusEvent("blur",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:t}))}function s(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}function u(e){let t=(0,i.bq)(e),l=null==t?void 0:t.getAttribute("aria-activedescendant");return l&&e.getElementById(l)||t}},37021:(e,t,l)=>{l.d(t,{C:()=>i,m:()=>n});let n="react-aria-clear-focus",i="react-aria-focus"},38191:(e,t,l)=>{l.d(t,{_:()=>r});var n=l(74670),i=l(7620);function r(e,t,l,r){let o=(0,n.J)(l),s=null==l;(0,i.useEffect)(()=>{if(s||!e.current)return;let l=e.current;return l.addEventListener(t,o,r),()=>{l.removeEventListener(t,o,r)}},[e,t,r,s,o])}},45559:(e,t,l)=>{l.d(t,{a:()=>i,o:()=>r});var n=l(7620);let i=new WeakMap;function r(e){let{triggerRef:t,isOpen:l,onClose:r}=e;(0,n.useEffect)(()=>{if(!l||null===r)return;let e=e=>{let l=e.target;if(!t.current||l instanceof Node&&!l.contains(t.current)||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;let n=r||i.get(t.current);n&&n()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[l,r,t])}},45951:(e,t,l)=>{l.d(t,{Z:()=>f,p:()=>p});class n{*[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,i=0,r=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=i++),("section"===t.type||"item"===t.type)&&r++,(n=t).nextKey=void 0;this._size=r,this.lastKey=null!=(t=null==n?void 0:n.key)?t:null}}class i extends Set{constructor(e,t,l){super(e),e instanceof i?(this.anchorKey=null!=t?t:e.anchorKey,this.currentKey=null!=l?l:e.currentKey):(this.anchorKey=null!=t?t:null,this.currentKey=null!=l?l:null)}}var r=l(38731),o=l(7620);function s(e,t){return e?"all"===e?"all":new i(e):t}var u=l(87564);class a{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(){var e;let t=null;for(let e of this.state.selectedKeys){let l=this.collection.getItem(e);(!t||l&&0>(0,u.o3)(this.collection,l,t))&&(t=l)}return null!=(e=null==t?void 0:t.key)?e:null}get lastSelectedKey(){var e;let t=null;for(let e of this.state.selectedKeys){let l=this.collection.getItem(e);(!t||l&&(0,u.o3)(this.collection,l,t)>0)&&(t=l)}return null!=(e=null==t?void 0:t.key)?e: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 i([l],l,l);else{var n,r;let e=this.state.selectedKeys,o=null!=(n=e.anchorKey)?n:l;for(let n of(t=new i(e,o,l),this.getKeyRange(o,null!=(r=e.currentKey)?r:l)))t.delete(n);for(let e of this.getKeyRange(l,o))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>=(0,u.o3)(this.collection,l,n)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){var l;if(null==(l=this.layoutDelegate)?void 0:l.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let n=[],i=e;for(;null!=i;){let e=this.collection.getItem(i);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&n.push(i),i===t)return n;i=this.collection.getKeyAfter(i)}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 i("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 i([t],t,t):new i;this.state.setSelectedKeys(l)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new i;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=[],t=l=>{for(;null!=l;){if(this.canSelectItem(l)){var n,i;let r=this.collection.getItem(l);(null==r?void 0:r.type)==="item"&&e.push(l),(null==r?void 0:r.hasChildNodes)&&(this.allowsCellSelection||"item"!==r.type)&&t(null!=(i=null==(n=(0,u.ue)((0,u.iQ)(r,this.collection)))?void 0:n.key)?i:null)}l=this.collection.getKeyAfter(l)}};return t(this.collection.getFirstKey()),e}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 i)}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){var t;if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let l=this.collection.getItem(e);return!!l&&(null==l||null==(t=l.props)||!t.isDisabled)&&("cell"!==l.type||!!this.allowsCellSelection)}isDisabled(e){var t,l;return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!(null==(l=this.collection.getItem(e))||null==(t=l.props)?void 0:t.isDisabled))}isLink(e){var t,l;return!!(null==(l=this.collection.getItem(e))||null==(t=l.props)?void 0:t.href)}getItemProps(e){var t;return null==(t=this.collection.getItem(e))?void 0:t.props}withCollection(e){return new a(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0})}constructor(e,t,l){var n;this.collection=e,this.state=t,this.allowsCellSelection=null!=(n=null==l?void 0:l.allowsCellSelection)&&n,this._isSelectAll=null,this.layoutDelegate=(null==l?void 0:l.layoutDelegate)||null}}class c{build(e,t){return this.context=t,d(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:l}=e;if(o.isValidElement(t)&&t.type===o.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=[];
1o.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 i=t.value;if(null!=i){var r;let e=null!=(r=i.key)?r:i.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 i,r,s,u,a,c,p,f;if(o.isValidElement(e.element)&&e.element.type===o.Fragment){let r=[];o.Children.forEach(e.element.props.children,e=>{r.push(e)});let s=null!=(i=e.index)?i:0;for(let e of r)yield*this.getFullNode({element:e,index:s++},t,l,n);return}let g=e.element;if(!g&&e.value&&t&&t.renderer){let l=this.cache.get(e.value);if(l&&(!l.shouldInvalidate||!l.shouldInvalidate(this.context))){l.index=e.index,l.parentKey=n?n.key:null,yield l;return}g=t.renderer(e.value)}if(o.isValidElement(g)){let i=g.type;if("function"!=typeof i&&"function"!=typeof i.getCollectionNode){let e=g.type;throw Error(`Unknown element <${e}> in collection.`)}let o=i.getCollectionNode(g.props,this.context),d=null!=(r=e.index)?r:0,p=o.next();for(;!p.done&&p.value;){let i=p.value;e.index=d;let r=null!=(s=i.key)?s:null;null==r&&(r=i.element?null:this.getKey(g,e,t,l));let f=[...this.getFullNode({...i,key:r,index:d,wrapper:function(e,t){return e&&t?l=>e(t(l)):e||t||void 0}(e.wrapper,i.wrapper)},this.getChildState(t,i),l?`${l}${g.key}`:g.key,n)];for(let t of f){if(t.value=null!=(a=null!=(u=i.value)?u:e.value)?a:null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${h(t.type)}> in <${h(null!=(c=null==n?void 0:n.type)?c:"unknown parent type")}>. Only <${h(e.type)}> is supported.`);d++,yield t}p=o.next(f)}return}if(null==e.key||null==e.type)return;let y=this,v={type:e.type,props:e.props,key:e.key,parentKey:n?n.key:null,value:null!=(p=e.value)?p:null,level:n?n.level+1:0,index:e.index,rendered:e.rendered,textValue:null!=(f=e.textValue)?f:"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:d(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=`${v.key}${n.key}`),y.getFullNode({...n,index:l},y.getChildState(t,n),v.key,v)))l++,yield e})};yield v}constructor(){this.cache=new WeakMap}}function d(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 h(e){return e[0].toUpperCase()+e.slice(1)}function p(e){let{filter:t,layoutDelegate:l}=e,u=function(e){let{selectionMode:t="none",disallowEmptySelection:l=!1,allowDuplicateSelectionEvents:n,selectionBehavior:u="toggle",disabledBehavior:a="all"}=e,c=(0,o.useRef)(!1),[,d]=(0,o.useState)(!1),h=(0,o.useRef)(null),p=(0,o.useRef)(null),[,f]=(0,o.useState)(null),g=(0,o.useMemo)(()=>s(e.selectedKeys),[e.selectedKeys]),y=(0,o.useMemo)(()=>s(e.defaultSelectedKeys,new i),[e.defaultSelectedKeys]),[v,m]=(0,r.P)(g,y,e.onSelectionChange),b=(0,o.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[C,S]=(0,o.useState)(u);"replace"===u&&"toggle"===C&&"object"==typeof v&&0===v.size&&S("replace");let K=(0,o.useRef)(u);return(0,o.useEffect)(()=>{u!==K.current&&(S(u),K.current=u)},[u]),{selectionMode:t,disallowEmptySelection:l,selectionBehavior:C,setSelectionBehavior:S,get isFocused(){return c.current},setFocused(e){c.current=e,d(e)},get focusedKey(){return h.current},get childFocusStrategy(){return p.current},setFocusedKey(e,t="first"){h.current=e,p.current=t,f(e)},selectedKeys:v,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,v))&&m(e)},disabledKeys:b,disabledBehavior:a}}(e),d=(0,o.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),h=(0,o.useCallback)(e=>new n(t?t(e):e),[t]),p=(0,o.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),f=function(e,t,l){let n=(0,o.useMemo)(()=>new c,[]),{children:i,items:r,collection:s}=e;return(0,o.useMemo)(()=>s||t(n.build({children:i,items:r},l)),[n,i,r,s,l,t])}(e,h,p),y=(0,o.useMemo)(()=>new a(f,u,{layoutDelegate:l}),[f,u,l]);return g(f,y),{collection:f,disabledKeys:d,selectionManager:y}}function f(e,t){let l=(0,o.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(l);return g(l,n),{collection:l,selectionManager:n,disabledKeys:e.disabledKeys}}function g(e,t){let l=(0,o.useRef)(null);(0,o.useEffect)(()=>
1{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&l.current){var n,i,r,o,s,u,a;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),p=(null!=(n=null==d?void 0:d.length)?n:0)-(null!=(i=null==h?void 0:h.length)?i:0),f=Math.min(p>1?Math.max((null!=(r=null==c?void 0:c.index)?r:0)-p+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,y=!1;for(;f>=0;){if(!t.isDisabled(h[f].key)){g=h[f];break}f<h.length-1&&!y?f++:(y=!0,f>(null!=(u=null==c?void 0:c.index)?u:0)&&(f=null!=(a=null==c?void 0:c.index)?a:0),f--)}t.setFocusedKey(g?g.key:null)}l.current=e},[e,t])}},47824:(e,t,l)=>{l.d(t,{R:()=>r,o:()=>s});var n=l(57735),i=l(68797);function r(e,t){let l=o(e,t,"left"),n=o(e,t,"top"),i=t.offsetWidth,r=t.offsetHeight,s=e.scrollLeft,u=e.scrollTop,{borderTopWidth:a,borderLeftWidth:c,scrollPaddingTop:d,scrollPaddingRight:h,scrollPaddingBottom:p,scrollPaddingLeft:f}=getComputedStyle(e),{scrollMarginTop:g,scrollMarginRight:y,scrollMarginBottom:v,scrollMarginLeft:m}=getComputedStyle(t),b=s+parseInt(c,10),C=u+parseInt(a,10),S=b+e.clientWidth,K=C+e.clientHeight,x=parseInt(d,10)||0,D=parseInt(p,10)||0,P=parseInt(h,10)||0,k=parseInt(f,10)||0,w=parseInt(g,10)||0,E=parseInt(v,10)||0,B=parseInt(y,10)||0,M=l-(parseInt(m,10)||0),A=l+i+B,F=n-w,I=n+r+E,R=s+parseInt(c,10)+k,N=u+parseInt(a,10)+x;(M>R||A<S-P)&&(M<=s+k?s=M-parseInt(c,10)-k:A>S-P&&(s+=A-S+P)),(F>N||I<K-D)&&(F<=C+x?u=F-parseInt(a,10)-x:I>K-D&&(u+=I-K+D)),e.scrollTo({left:s,top:u})}function o(e,t,l){let n="left"===l?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);){if(t.offsetParent.contains(e)){i-=e[n];break}t=t.offsetParent}return i}function s(e,t){if(e&&document.contains(e)){let a=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(a).overflow||(0,i.H8)())for(let t of function(e,t){let l=[];for(;e&&e!==document.documentElement;)(0,n.o)(e,void 0)&&l.push(e),e=e.parentElement;return l}(e))r(t,e);else{var l,o,s,u;let{left:n,top:i}=e.getBoundingClientRect();null==e||null==(l=e.scrollIntoView)||l.call(e,{block:"nearest"});let{left:r,top:a}=e.getBoundingClientRect();(Math.abs(n-r)>1||Math.abs(i-a)>1)&&(null==t||null==(s=t.containingElement)||null==(o=s.scrollIntoView)||o.call(s,{block:"center",inline:"center"}),null==(u=e.scrollIntoView)||u.call(e,{block:"nearest"}))}}}},51700:(e,t,l)=>{l.d(t,{Q:()=>r});var n=l(41635);let i=new Map;function r(e){let{locale:t}=(0,n.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 r=new Intl.Collator(t,e);return i.set(l,r),r}},52639:(e,t,l)=>{l.d(t,{A:()=>U,n:()=>H});var n=l(56130),i=l(7620);let r=(0,i.createContext)({placement:"bottom"});var o=l(12282),s=l(41635),u=l(28890),a=l(68797),c=l(66782);let d={top:"top",bottom:"top",left:"left",right:"left"},h={top:"bottom",bottom:"top",left:"right",right:"left"},p={top:"left",left:"top"},f={top:"height",left:"width"},g={width:"totalWidth",height:"totalHeight"},y={},v="undefined"!=typeof document?window.visualViewport:null;function m(e){var t,l,n,i,r;let o=0,s=0,u=0,c=0,d=0,h=0,p={},f=(null!=(t=null==v?void 0:v.scale)?t:1)>1;if("BODY"===e.tagName){let t=document.documentElement;u=t.clientWidth,c=t.clientHeight,o=null!=(l=null==v?void 0:v.width)?l:u,s=null!=(n=null==v?void 0:v.height)?n:c,p.top=t.scrollTop||e.scrollTop,p.left=t.scrollLeft||e.scrollLeft,v&&(d=v.offsetTop,h=v.offsetLeft)}else({width:o,height:s,top:d,left:h}=D(e,!1)),p.top=e.scrollTop,p.left=e.scrollLeft,u=o,c=s;return(0,a.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&f&&(p.top=0,p.left=0,d=null!=(i=null==v?void 0:v.pageTop)?i:0,h=null!=(r=null==v?void 0:v.pageLeft)?r:0),{width:o,height:s,totalWidth:u,totalHeight:c,scroll:p,top:d,left:h}}function b(e,t,l,n,i,r,o){var s;let u=null!=(s=i.scroll[e])?s:0,a=n[f[e]],c=n.scroll[d[e]]+r,h=a+n.scroll[d[e]]-r,p=t-u+o[e]-n[d[e]],g=t-u+l+o[e]-n[d[e]];return p<c?c-p:g>
1h?Math.max(h-g,c-p):0}function C(e){if(y[e])return y[e];let[t,l]=e.split(" "),n=d[t]||"right",i=p[n];d[l]||(l="center");let r=f[n],o=f[i];return y[e]={placement:t,crossPlacement:l,axis:n,crossAxis:i,size:r,crossSize:o},y[e]}function S(e,t,l,n,i,r,o,s,u,a){var d,p,f,y,v;let{placement:m,crossPlacement:b,axis:C,crossAxis:S,size:K,crossSize:x}=n,D={};D[S]=null!=(d=e[S])?d:0,"center"===b?D[S]+=((null!=(p=e[x])?p:0)-(null!=(f=l[x])?f:0))/2:b!==S&&(D[S]+=(null!=(y=e[x])?y:0)-(null!=(v=l[x])?v:0)),D[S]+=r;let P=e[S]-l[x]+u+a,k=e[S]+e[x]-u-a;if(D[S]=(0,c.qE)(D[S],P,k),m===C){let l=s?o[K]:t[g[K]];D[h[C]]=Math.floor(l-e[C]+i)}else D[C]=Math.floor(e[C]+e[K]+i);return D}function K(e,t,l,n,i,r){var o,s,u;let{placement:a,axis:c,size:d}=r;return a===c?Math.max(0,l[c]-e[c]-(null!=(o=e.scroll[c])?o:0)+t[c]-(null!=(s=n[c])?s:0)-n[h[c]]-i):Math.max(0,e[d]+e[c]+e.scroll[c]-t[c]-l[c]-l[d]-(null!=(u=n[c])?u:0)-n[h[c]]-i)}function x(e,t){let{top:l,left:n,width:i,height:r}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,r=e.offsetHeight),{top:l,left:n,width:i,height:r}}function D(e,t){let{top:l,left:n,width:i,height:r}=x(e,t),{scrollTop:o,scrollLeft:s,clientTop:u,clientLeft:a}=document.documentElement;return{top:l+o-u,left:n+s-a,width:i,height:r}}function P(e,t,l){let n,i=window.getComputedStyle(e);if("fixed"===i.position)n=x(e,l);else{n=D(e,l);let i=D(t,l),r=window.getComputedStyle(t);i.top+=(parseInt(r.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(r.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=i.top,n.left-=i.left}return n.top-=parseInt(i.marginTop,10)||0,n.left-=parseInt(i.marginLeft,10)||0,n}function k(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var w=l(45559),E=l(31534),B=l(12905);let M="undefined"!=typeof document?window.visualViewport:null;var A=l(35662),F=l(45818),I=l(15258),R=l(14089),N=l(29448),z=l(12084),T=l(2728),L=l(51192),O=l(86947),V=l(85732);let H=(0,i.createContext)(null),_=(0,i.createContext)(null),U=(0,i.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,H);let l=(0,i.useContext)(o.RG),r=(0,O.T)(e),u=null==e.isOpen&&null==e.defaultOpen&&l?l:r,a=(0,z.O)(t,u.isOpen)||e.isExiting||!1,c=(0,V.m_)(),{direction:d}=(0,s.Y)();if(c){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),i.createElement(i.Fragment,null,t)}return!u||u.isOpen||a?i.createElement(j,{...e,triggerRef:e.triggerRef,state:u,popoverRef:t,isExiting:a,dir:d}):null});function j({state:e,isExiting:t,UNSTABLE_portalContainer:l,clearContexts:o,...a}){var p,f;let y=(0,i.useRef)(null),v=(0,i.useRef)(null),O=(0,i.useContext)(_),V=O&&"SubmenuTrigger"===a.trigger,{popoverProps:H,underlayProps:U,arrowProps:j,placement:W,triggerAnchorPoint:$}=function(e,t){let{triggerRef:l,popoverRef:n,groupRef:r,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:p,...f}=e,y="SubmenuTrigger"===f.trigger,{overlayProps:v,underlayProps:R}=(0,A.e)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o||y,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:p},null!=r?r:n),{overlayProps:N,arrowProps:z,placement:T,triggerAnchorPoint:L}=function(e){var t,l,n,r;let{direction:o}=(0,s.Y)(),{arrowSize:u,targetRef:a,overlayRef:p,arrowRef:f,scrollRef:y=p,placement:v="bottom",containerPadding:A=12,shouldFlip:F=!0,boundaryElement:I="undefined"!=typeof document?document.body:null,offset:R=0,crossOffset:N=0,shouldUpdatePosition:z=!0,isOpen:T=!0,onClose:L,maxHeight:O,arrowBoundaryOffset:V=0}=e,[H,_]=(0,i.useState)(null),U=[z,v,p.current,a.current,null==f?void 0:f.current,y.current,A,F,I,R,N,T,o,O,V,u],j=(0,i.useRef)(null==M?void 0:M.scale);(0,i.useEffect)(()=>{T&&(j.current=null==M?void 0:M.scale)},[T]);let W=(0,i.useCallback)(()=>{var e,t,l,n,i,r;if(!1===z||!T||!p.current||!a.current||!I||(null==M?void 0:M.scale)!==j.current)return;let s=null;if(y.current&&y.current.contains(document.activeElement)){let n=null==(e=
1document.activeElement)?void 0:e.getBoundingClientRect(),i=y.current.getBoundingClientRect();(s={type:"top",offset:(null!=(t=null==n?void 0:n.top)?t:0)-i.top}).offset>i.height/2&&(s.type="bottom",s.offset=(null!=(l=null==n?void 0:n.bottom)?l:0)-i.bottom)}let w=p.current;!O&&p.current&&(w.style.top="0px",w.style.bottom="",w.style.maxHeight=(null!=(i=null==(n=window.visualViewport)?void 0:n.height)?i:window.innerHeight)+"px");let E=function(e){var t,l,n,i;let r,{placement:o,targetNode:s,overlayNode:u,scrollNode:a,padding:p,shouldFlip:f,boundaryElement:y,offset:v,crossOffset:x,maxHeight:w,arrowSize:E=0,arrowBoundaryOffset:B=0}=e,M=u instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!k(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!k(t);)t=t.parentElement;return t||document.documentElement}(u):document.documentElement,A=M===document.documentElement,F=window.getComputedStyle(M).position,I=A?D(s,!1):P(s,M,!1);if(!A){let{marginTop:e,marginLeft:t}=window.getComputedStyle(s);I.top+=parseInt(e,10)||0,I.left+=parseInt(t,10)||0}let R=D(u,!0),N={top:parseInt((r=window.getComputedStyle(u)).marginTop,10)||0,bottom:parseInt(r.marginBottom,10)||0,left:parseInt(r.marginLeft,10)||0,right:parseInt(r.marginRight,10)||0};R.width+=(null!=(t=N.left)?t:0)+(null!=(l=N.right)?l:0),R.height+=(null!=(n=N.top)?n:0)+(null!=(i=N.bottom)?i:0);let z={top:a.scrollTop,left:a.scrollLeft,width:a.scrollWidth,height:a.scrollHeight},T=m(y),L=m(M),O="BODY"===y.tagName?D(M,!1):P(M,y,!1);return"HTML"===M.tagName&&"BODY"===y.tagName&&(L.scroll.top=0,L.scroll.left=0),function(e,t,l,n,i,r,o,s,u,a,p,f,y,v,m,x){var D,P,k,w;let E=C(e),{size:B,crossAxis:M,crossSize:A,placement:F,crossPlacement:I}=E,R=S(t,s,l,E,p,f,a,y,m,x),N=p,z=K(s,a,t,i,r+p,E);if(o&&n[B]>z){let e=C(`${h[F]} ${I}`),n=S(t,s,l,e,p,f,a,y,m,x);K(s,a,t,i,r+p,e)>z&&(E=e,R=n,N=p)}let T="bottom";"top"===E.axis?"top"===E.placement?T="top":"bottom"===E.placement&&(T="bottom"):"top"===E.crossAxis&&("top"===E.crossPlacement?T="bottom":"bottom"===E.crossPlacement&&(T="top"));let L=b(M,R[M],l[A],s,u,r,a);R[M]+=L;let O=function(e,t,l,n,i,r,o,s){var u,a,c,d,h,p,f;let y=n?l.height:t[g.height],v=null!=e.top?l.top+e.top:l.top+(y-(null!=(u=e.bottom)?u:0)-o),m="top"!==s?Math.max(0,t.height+t.top+(null!=(a=t.scroll.top)?a:0)-v-((null!=(c=i.top)?c:0)+(null!=(d=i.bottom)?d:0)+r)):Math.max(0,v+o-(t.top+(null!=(h=t.scroll.top)?h:0))-((null!=(p=i.top)?p:0)+(null!=(f=i.bottom)?f:0)+r));return Math.min(t.height-2*r,m)}(R,s,a,y,i,r,l.height,T);v&&v<O&&(O=v),l.height=Math.min(l.height,O),L=b(M,(R=S(t,s,l,E,N,f,a,y,m,x))[M],l[A],s,u,r,a),R[M]+=L;let V={},H=t[M]-R[M]-i[d[M]],_=H+.5*t[A],U=m/2+x,j="left"===d[M]?(null!=(D=i.left)?D:0)+(null!=(P=i.right)?P:0):(null!=(k=i.top)?k:0)+(null!=(w=i.bottom)?w:0),W=l[A]-j-m/2-x,$=t[M]+m/2-(R[M]+i[d[M]]),q=t[M]+t[A]-m/2-(R[M]+i[d[M]]),Z=(0,c.qE)(_,$,q);V[M]=(0,c.qE)(Z,U,W),({placement:F,crossPlacement:I}=E),m?H=V[M]:"right"===I?H+=t[A]:"center"===I&&(H+=t[A]/2);let J="left"===F||"top"===F?l[B]:0,G={x:"top"===F||"bottom"===F?H:J,y:"left"===F||"right"===F?H:J};return{position:R,maxHeight:O,arrowOffsetLeft:V.left,arrowOffsetTop:V.top,placement:F,triggerAnchorPoint:G}}(o,I,R,z,N,p,f,T,L,O,v,x,!!F&&"static"!==F,w,E,B)}({placement:(r=v,"rtl"===o?r.replace("start","right").replace("end","left"):r.replace("start","left").replace("end","right")),overlayNode:p.current,targetNode:a.current,scrollNode:y.current||p.current,padding:A,shouldFlip:F,boundaryElement:I,offset:R,crossOffset:N,maxHeight:O,arrowSize:null!=u?u:(null==f?void 0:f.current)?x(f.current,!0).width:0,arrowBoundaryOffset:V});if(E.position){if(w.style.top="",w.style.bottom="",w.style.left="",w.style.right="",Object.keys(E.position).forEach(e=>w.style[e]=E.position[e]+"px"),w.style.maxHeight=null!=E.maxHeight?E.maxHeight+"px":"",s&&document.activeElement&&y.current){let e=document.activeElement.getBoundingClientRect(),t=y.current.getBoundingClientRect(),l=e[s.type]-t[s.type];y.current.scrollTop+=l-s.offset}_(E)}},U);(0,E.N)(W,U),r=W,(0,E.N)(()=>(window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)}),[r]),(0,B.w)({ref:p,onResize:W}),(0,B.w)({ref:a,onResize:W});let $=(0,i.useRef)(!1);(0,E.N)(()=>{let e,t=()=>
1{$.current=!0,clearTimeout(e),e=setTimeout(()=>{$.current=!1},500),W()},l=()=>{$.current&&t()};return null==M||M.addEventListener("resize",t),null==M||M.addEventListener("scroll",l),()=>{null==M||M.removeEventListener("resize",t),null==M||M.removeEventListener("scroll",l)}},[W]);let q=(0,i.useCallback)(()=>{$.current||null==L||L()},[L,$]);return(0,w.o)({triggerRef:a,isOpen:T,onClose:L&&q}),{overlayProps:{style:{position:H?"absolute":"fixed",top:H?void 0:0,left:H?void 0:0,zIndex:1e5,...null==H?void 0:H.position,maxHeight:null!=(t=null==H?void 0:H.maxHeight)?t:"100vh"}},placement:null!=(l=null==H?void 0:H.placement)?l:null,triggerAnchorPoint:null!=(n=null==H?void 0:H.triggerAnchorPoint)?n:null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:null==H?void 0:H.arrowOffsetLeft,top:null==H?void 0:H.arrowOffsetTop}},updatePosition:W}}({...f,targetRef:l,overlayRef:n,isOpen:t.isOpen,onClose:o&&!y?t.close:null});return(0,F.H)({isDisabled:o||!t.isOpen}),(0,i.useEffect)(()=>{if(t.isOpen&&n.current){var e,l;return o?(0,u.O)(null!=(e=null==r?void 0:r.current)?e:n.current):(0,u.h)([null!=(l=null==r?void 0:r.current)?l:n.current],{shouldUseInert:!0})}},[o,t.isOpen,n,r]),{popoverProps:(0,I.v)(v,N),arrowProps:z,underlayProps:R,placement:T,triggerAnchorPoint:L}}({...a,offset:null!=(p=a.offset)?p:8,arrowRef:y,groupRef:V?O:v},e),q=a.popoverRef,Z=(0,z._)(q,!!W)||a.isEntering||!1,J=(0,n.Sl)({...a,defaultClassName:"react-aria-Popover",values:{trigger:a.trigger||null,placement:W,isEntering:Z,isExiting:t}}),G=!a.isNonModal||"SubmenuTrigger"===a.trigger,[Y,Q]=(0,i.useState)(!1);(0,E.N)(()=>{q.current&&Q(G&&!q.current.querySelector("[role=dialog]"))},[q,G]),(0,i.useEffect)(()=>{Y&&"SubmenuTrigger"!==a.trigger&&q.current&&!q.current.contains(document.activeElement)&&(0,L.l)(q.current)},[Y,q,a.trigger]);let X=(0,i.useMemo)(()=>{let e=J.children;if(o)for(let t of o)e=i.createElement(t.Provider,{value:null},e);return e}
1,[J.children,o]),ee={...H.style,"--trigger-anchor-point":$?`${$.x}px ${$.y}px`:void 0,...J.style},et=i.createElement("div",{...(0,I.v)((0,T.$)(a,{global:!0}),H),...J,role:Y?"dialog":void 0,tabIndex:Y?-1:void 0,"aria-label":a["aria-label"],"aria-labelledby":a["aria-labelledby"],ref:q,slot:a.slot||void 0,style:ee,dir:a.dir,"data-trigger":a.trigger,"data-placement":W,"data-entering":Z||void 0,"data-exiting":t||void 0},!a.isNonModal&&i.createElement(R.R,{onDismiss:e.close}),i.createElement(r.Provider,{value:{...j,placement:W,ref:y}},X),i.createElement(R.R,{onDismiss:e.close}));return V?i.createElement(N.hJ,{...a,shouldContainFocus:Y,isExiting:t,portalContainer:null!=(f=null!=l?l:null==O?void 0:O.current)?f:void 0},et):i.createElement(N.hJ,{...a,shouldContainFocus:Y,isExiting:t,portalContainer:l},!a.isNonModal&&e.isOpen&&i.createElement("div",{"data-testid":"underlay",...U,style:{position:"fixed",inset:0}}),i.createElement("div",{ref:v,style:{display:"contents"}},i.createElement(_.Provider,{value:v},et)))}},64513:(e,t,l)=>{l.d(t,{I:()=>s});var n=l(31534),i=l(7620);let r=0,o=new Map;function s(e){let[t,l]=(0,i.useState)();return(0,n.N)(()=>{if(!e)return;let t=o.get(e);if(t)l(t.element.id);else{let n=`react-aria-description-${r++}`;l(n);let i=document.createElement("div");i.id=n,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},o.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),o.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}},66782:(e,t,l)=>{function n(e,t=-1/0,l=1/0){return Math.min(Math.max(e,t),l)}function i(e,t){let l=e,n=0,i=t.toString(),r=i.toLowerCase().indexOf("e-");if(r>0)n=Math.abs(Math.floor(Math.log10(Math.abs(t))))+r;else{let e=i.indexOf(".");e>=0&&(n=i.length-e)}if(n>0){let e=Math.pow(10,n);l=Math.round(l*e)/e}return l}function r(e,t,l,n){t=Number(t),l=Number(l);let r=(e-(isNaN(t)?0:t))%n,o=i(2*Math.abs(r)>=n?e+Math.sign(r)*(n-Math.abs(r)):e-r,n);return isNaN(t)?!isNaN(l)&&o>l&&(o=Math.floor(i(l/n,n))*n):o<t?o=t:!isNaN(l)&&o>l&&(o=t+Math.floor(i((l-t)/n,n))*n),o=i(o,n)}l.d(t,{BU:()=>r,qE:()=>n})},72802:(e,t,l)=>{l.d(t,{EG:()=>a,N9:()=>r,au:()=>o,j5:()=>u});var n=l(68797),i=l(27024);function r(e){return(0,n.lg)()?e.altKey:e.ctrlKey}function o(e,t){var l,n;let i=`[data-key="${CSS.escape(String(t))}"]`,r=null==(l=e.current)?void 0:l.dataset.collection;return r&&(i=`[data-collection="${CSS.escape(r)}"]${i}`),null==(n=e.current)?void 0:n.querySelector(i)}let s=new WeakMap;function u(e){let t=(0,i.Bi)();return s.set(e,t),t}function a(e){return s.get(e)}},77128:(e,t,l)=>{l.d(t,{n:()=>o});var n=l(72802);class i{getItemRect(e){let t=this.ref.current;if(!t)return null;let l=null!=e?(0,n.au)(this.ref,e):null;if(!l)return null;let i=t.getBoundingClientRect(),r=l.getBoundingClientRect();return{x:r.left-i.left-t.clientLeft+t.scrollLeft,y:r.top-i.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 i=this.ref.current;return{x:null!=(e=null==i?void 0:i.scrollLeft)?e:0,y:null!=(t=null==i?void 0:i.scrollTop)?t:0,width:null!=(l=null==i?void 0:i.clientWidth)?l:0,height:null!=(n=null==i?void 0:i.clientHeight)?n:0}}constructor(e){this.ref=e}}var r=l(57735);class o{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,i=this.layoutDelegate.getItemRect(n);if(!i||null==n)return null;let r=i;do{if(null==(n=t(n)))break;i=this.layoutDelegate.getItemRect(n)}while(i&&l(r,i)&&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)}
1getKeyAbove(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&&!(0,r.o)(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&&!(0,r.o)(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 i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,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 i(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 i(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}},84912:(e,t,l)=>{l.d(t,{I:()=>i});var n=l(7620);function i(e){let{keyboardDelegate:t,selectionManager:l,onTypeSelect:i}=e,r=(0,n.useRef)({search:"",timeout:void 0}).current;return{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{var n;let o=1!==(n=e.key).length&&/^[A-Z]/i.test(n)?"":n;if(o&&!e.ctrlKey&&!e.metaKey&&e.currentTarget.contains(e.target)&&(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),i&&i(e))}clearTimeout(r.timeout),r.timeout=setTimeout(()=>{r.search=""},1e3)}}:void 0}}}},85291:(e,t,l)=>{l.d(t,{qF:()=>ec,JC:()=>eu,nh:()=>ef,DN:()=>ea});var n=l(98156),i=l(7620);let r=(0,i.createContext)(null);function o(e,t,l){return(0,n.p)({items:t?e.getChildren(t.key):e,depen
1dencies:[l],children(t){let n=t.render(t);return l&&"item"===t.type?i.createElement(i.Fragment,null,l({type:"item",key:t.key,dropPosition:"before"}),n,function(e,t,l){let n=t.key,r=e.getKeyAfter(n),o=null!=r?e.getItem(r):null;for(;null!=o&&"item"!==o.type;)o=null!=(r=e.getKeyAfter(o.key))?e.getItem(r):null;let s=null!=t.nextKey?e.getItem(t.nextKey):null;for(;null!=s&&"item"!==s.type;)s=null!=s.nextKey?e.getItem(s.nextKey):null;let u=[];if(null==s){let n=t;for(;n&&(!o||n.parentKey!==o.parentKey&&o.level<n.level);){let t=l({type:"item",key:n.key,dropPosition:"after"});(0,i.isValidElement)(t)&&u.push((0,i.cloneElement)(t,{key:`${n.key}-after`})),n=null!=n.parentKey?e.getItem(n.parentKey):null}}return u}(e,t,l)):n}})}let s=(0,i.createContext)({CollectionRoot:({collection:e,renderDropIndicator:t})=>o(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:l})=>o(e,t,l)});var u=l(56130);let a=(0,i.createContext)({}),c=(0,i.createContext)(null),d=(0,i.forwardRef)(function(e,t){let{render:l}=(0,i.useContext)(c);return i.createElement(i.Fragment,null,l(e,t))});function h(e,t){var l;let n=null==e?void 0:e.renderDropIndicator,r=null==e||null==(l=e.isVirtualDragging)?void 0:l.call(e),o=(0,i.useCallback)(e=>{if(r||(null==t?void 0:t.isDropTarget(e)))return n?n(e):i.createElement(d,{target:e})},[null==t?void 0:t.target,r,n]);return(null==e?void 0:e.useDropIndicator)?o:void 0}let p=(0,i.createContext)({});var f=l(42526);let g=(0,i.createContext)({isSelected:!1});var y=l(25203);let v=(0,i.createContext)({});class m extends y.Pt{filter(e,t){let l=t.getItem(this.prevKey);if(l&&"separator"!==l.type){let l=this.clone();return t.addDescendants(l,e),l}return null}}m.type="separator";var b=l(97509);let C=(0,i.createContext)(null);function S(e){let t=(0,i.useRef)({});return i.createElement(C.Provider,{value:t},e.children)}var K=l(82476),x=l(41635),D=l(51700),P=l(77128);let k=new WeakMap;var w=l(2728),E=l(27024),B=l(15258),M=l(9398),A=l(12844),F=l(72802),I=l(84912),R=l(84644),N=l(39671),z=l(48231),T=l(38191),L=l(47824),O=l(37021),V=l(74670),H=l(55795),_=l(31534);function U(e,t){let l=(0,i.useRef)(!0),n=(0,i.useRef)(null);(0,_.N)(()=>(l.current=!0,()=>{l.current=!1}),[]),(0,_.N)(()=>{l.current?l.current=!1:(!n.current||t.some((e,t)=>!Object.is(e,n[t])))&&e(),n.current=t},t)}var j=l(47451),W=l(36872),$=l(24469),q=l(51192),Z=l(94990),J=l(68797),G=l(22489),Y=l(87564);let Q=new WeakMap;var X=l(90909),ee=l(21518),et=l(33588);function el(){let e=window.event;return(null==e?void 0:e.key)==="Enter"}function en(){let e=window.event;return(null==e?void 0:e.key)===" "||(null==e?void 0:e.code)==="Space"}var ei=l(14445),er=l(45951),eo=l(26799),es=l(8601);let eu=(0,i.createContext)(null),ea=(0,i.createContext)(null),ec=(0,i.forwardRef)(function(e,t){[e,t]=(0,u.JT)(e,t,eu);let l=(0,i.useContext)(ea);return l?i.createElement(eh,{state:l,props:e,listBoxRef:t}):i.createElement(ei.GQ,{content:i.createElement(ei.pM,e)},l=>i.createElement(ed,{props:e,listBoxRef:t,collection:l}))});function ed({props:e,listBoxRef:t,collection:l}){e={...e,collection:l,children:null,items:null};let{layoutDelegate:n}=(0,i.useContext)(s),r=(0,er.p)({...e,layoutDelegate:n});return i.createElement(eh,{state:r,props:e,listBoxRef:t})}function eh({state:e,props:t,listBoxRef:l}){let n,o,d;[t,l]=(0,u.JT)(t,l,f.Co);let{dragAndDropHooks:p,layout:g="stack",orientation:y="vertical",filter:m}=t,C=(0,er.Z)(e,m),{collection:K,selectionManager:_}=C,J=!!(null==p?void 0:p.useDraggableCollectionState),G=!!(null==p?void 0:p.useDroppableCollectionState),{direction:Y}=(0,x.Y)(),{disabledBehavior:Q,disabledKeys:X}=_,ee=(0,D.Q)({usage:"search",sensitivity:"base"}),{isVirtualized:et,layoutDelegate:el,dropTargetDelegate:en,CollectionRoot:ei}=(0,i.useContext)(s),eo=(0,i.useMemo)(()=>t.keyboardDelegate||new(0,P.n)({collection:K,collator:ee,ref:l,disabledKeys:X,disabledBehavior:Q,layout:g,orientation:y,direction:Y,layoutDelegate:el}),[K,ee,l,Q,X,y,Y,t.keyboardDelegate,g,el]),{listBoxProps:es}=function(e,t,l){let n=(0,w.$)(e,{labelable:!0}),r=e.selectionBehavior||"toggle",o=e.linkBehavior||("replace"===r?"action":"override");"toggle"===r&&"action"===o&&(o="override");let{listProps:s}=function(e){let{selectionManager:t,collection:l,disabledKeys:n,ref:r,keyboardDelegate:o,layoutDelegate:s}=e,u=(0,D.Q)({usage:"search",sensitivity:"base"}),a=t.disabledBehavior,c=(0,i.useMemo)(()=>o||new(0,P.n)({collection:l,disabledKeys:n,disabledBehavior:a,ref:r,collator:u,layoutDelegate:s}),[o,s,l,n,r,u,a]),{collectionProps:d}=function(e){let t,{selectionManager:l,keyboardDelegate:n,ref:r,autoFocus:o=!1,shouldFocusWrap:s=!1,disallowEmptySelection:u=!1,disallowSelectAll:a=!1,escapeKeyBehavior:c="clearSelection",selectOnFocus:d="replace"===l.selectionBehavior,disallowTypeAhead:h=!1,shouldUseVirtualFocus:p,allowsTabNavigation:f=!1,isVirtualized:g,scrollRef:y=r,linkBehavior:v="action"}=e,{direction:m}=(0,x.Y)(),C=(0,R.rd)(),S=(0,i.useRef)({top:0,left:0});(0,T._)(y,"scroll",g?void 0:()=>{var e,t,l,n;S.current={top:null!=(l=null==(e=y.current)?void 0:e.scrollTop)?l:0,left:null!=(n=null==(t=y.current)?void 0:t.scrollLeft)?n:0}});let K=(0,i.useRef)(!1);(0,T._)(r,O.C,p?e=>{let{detail:t}=e;e.stopPropagation(),l.setFocused(!0),(null==t?void 0:t.focusStrategy)==="first"&&(K.current=!0)}:void 0);let D=(0,V.J)(()=>{var e,t;let i=null!=(t=null==(e=n.getFirstKey)?void 0:e.call(n))?t:null;if(null==i){let e=(0,H.bq)();(0,W.vX)(r.current),(0,W.Ig)(e,null),l.collection.size>0&&(K.current=!1)}else l.setFocusedKey(i),K.current=!1});U(()=>{K.current&&D()},[l.collection,D]);let P=(0,V.J)(()=>{l.collection.size>0&&(K.current=!1)});U(()=>{P()},[l.focusedKey,P]),(0,T._)(r,O.m,p?e=>{var t;e.stopPropagation(),l.setFocused(!1),(null==(t=e.detail)?void 0:t.clearFocusKey)&&l.setFocusedKey(null)}:void 0);let k=(0,i.useRef)(o),w=(0,i.useRef)(!1);(0,i.useEffect)(()=>
1{if(k.current){var e,t,i,s;let u=null;"first"===o&&(u=null!=(i=null==(e=n.getFirstKey)?void 0:e.call(n))?i:null),"last"===o&&(u=null!=(s=null==(t=n.getLastKey)?void 0:t.call(n))?s:null);let a=l.selectedKeys;if(a.size){for(let e of a)if(l.canSelectItem(e)){u=e;break}}l.setFocused(!0),l.setFocusedKey(u),null==u&&!p&&r.current&&(0,q.l)(r.current),l.collection.size>0&&(k.current=!1,w.current=!0)}});let E=(0,i.useRef)(l.focusedKey),M=(0,i.useRef)(null);(0,i.useEffect)(()=>{if(l.isFocused&&null!=l.focusedKey&&(l.focusedKey!==E.current||w.current)&&y.current&&r.current){let e=(0,$.ME)(),t=(0,F.au)(r,l.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||w.current)&&(M.current&&cancelAnimationFrame(M.current),M.current=requestAnimationFrame(()=>{y.current&&((0,L.R)(y.current,t),"virtual"!==e&&(0,L.o)(t,{containingElement:r.current}))}))}!p&&l.isFocused&&null==l.focusedKey&&null!=E.current&&r.current&&(0,q.l)(r.current),E.current=l.focusedKey,w.current=!1}),(0,i.useEffect)(()=>()=>{M.current&&cancelAnimationFrame(M.current)},[]),(0,T._)(r,"react-aria-focus-scope-restore",e=>{e.preventDefault(),l.setFocused(!0)});let A={onKeyDown:e=>{var t,i,o,h,p,g,y,S,K,x,D,P,k;if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!(null==(t=r.current)?void 0:t.contains(e.target)))return;let w=(t,n)=>{if(null!=t){if(l.isLink(t)&&"selection"===v&&d&&!(0,F.N9)(e)){(0,b.flushSync)(()=>{l.setFocusedKey(t,n)});let i=(0,F.au)(r,t),o=l.getItemProps(t);i&&C.open(i,e,o.href,o.routerOptions);return}l.setFocusedKey(t,n),l.isLink(t)&&"override"===v||(e.shiftKey&&"multiple"===l.selectionMode?l.extendSelection(t):d&&!(0,F.N9)(e)&&l.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(n.getKeyBelow){let t=null!=l.focusedKey?null==(i=n.getKeyBelow)?void 0:i.call(n,l.focusedKey):null==(o=n.getFirstKey)?void 0:o.call(n);null==t&&s&&(t=null==(h=n.getFirstKey)?void 0:h.call(n,l.focusedKey)),null!=t&&(e.preventDefault(),w(t))}break;case"ArrowUp":if(n.getKeyAbove){let t=null!=l.focusedKey?null==(p=n.getKeyAbove)?void 0:p.call(n,l.focusedKey):null==(g=n.getLastKey)?void 0:g.call(n);null==t&&s&&(t=null==(y=n.getLastKey)?void 0:y.call(n,l.focusedKey)),null!=t&&(e.preventDefault(),w(t))}break;case"ArrowLeft":if(n.getKeyLeftOf){let t=null!=l.focusedKey?null==(S=n.getKeyLeftOf)?void 0:S.call(n,l.focusedKey):null;null==t&&s&&(t="rtl"===m?null==(K=n.getFirstKey)?void 0:K.call(n,l.focusedKey):null==(x=n.getLastKey)?void 0:x.call(n,l.focusedKey)),null!=t&&(e.preventDefault(),w(t,"rtl"===m?"first":"last"))}break;case"ArrowRight":if(n.getKeyRightOf){let t=null!=l.focusedKey?null==(D=n.getKeyRightOf)?void 0:D.call(n,l.focusedKey):null;null==t&&s&&(t="rtl"===m?null==(P=n.getLastKey)?void 0:P.call(n,l.focusedKey):null==(k=n.getFirstKey)?void 0:k.call(n,l.focusedKey)),null!=t&&(e.preventDefault(),w(t,"rtl"===m?"last":"first"))}break;case"Home":if(n.getFirstKey){if(null===l.focusedKey&&e.shiftKey)return;e.preventDefault();let t=n.getFirstKey(l.focusedKey,(0,N.B)(e));l.setFocusedKey(t),null!=t&&((0,N.B)(e)&&e.shiftKey&&"multiple"===l.selectionMode?l.extendSelection(t):d&&l.replaceSelection(t))}break;case"End":if(n.getLastKey){if(null===l.focusedKey&&e.shiftKey)return;e.preventDefault();let t=n.getLastKey(l.focusedKey,(0,N.B)(e));l.setFocusedKey(t),null!=t&&((0,N.B)(e)&&e.shiftKey&&"multiple"===l.selectionMode?l.extendSelection(t):d&&l.replaceSelection(t))}break;case"PageDown":if(n.getKeyPageBelow&&null!=l.focusedKey){let t=n.getKeyPageBelow(l.focusedKey);null!=t&&(e.preventDefault(),w(t))}break;case"PageUp":if(n.getKeyPageAbove&&null!=l.focusedKey){let t=n.getKeyPageAbove(l.focusedKey);null!=t&&(e.preventDefault(),w(t))}break;case"a":(0,N.B)(e)&&"multiple"===l.selectionMode&&!0!==a&&(e.preventDefault(),l.selectAll());break;case"Escape":"clearSelection"!==c||u||0===l.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),l.clearSelection());break;case"Tab":if(!f)if(e.shiftKey)r.current.focus();else{let e,t,l=(0,j.N$)(r.current,{tabbable:!0});do(t=l.lastChild())&&(e=t);while(t);e&&!e.contains(document.activeElement)&&(0,z.e)(e)}}},onFocus:e=>{if(l.isFocused){e.currentTarget.contains(e.target)||l.setFocused(!1);return}if(e.currentTarget.contains(e.target)){if(l.setFocused(!0),null==l.focusedKey){var t,i,o,s;let r=e=>{null!=e&&(l.setFocusedKey(e),d&&!l.isSelected(e)&&l.replaceSelection(e))},u=e.relatedTarget;u&&e.currentTarget.compareDocumentPosition(u)&Node.DOCUMENT_POSITION_FOLLOWING?r(null!=(o=l.lastSelectedKey)?o:null==(t=n.getLastKey)?void 0:t.call(n)):r(null!=(s=l.firstSelectedKey)?s:null==(i=n.getFirstKey)?void 0:i.call(n))}else!g&&y.current&&(y.current.scrollTop=S.current.top,y.current.scrollLeft=S.current.left);if(null!=l.focusedKey&&y.current){let e=(0,F.au)(r,l.focusedKey);e instanceof HTMLElement&&(e.contains(document.activeElement)||p||(0,z.e)(e),"keyboard"===(0,$.ME)()&&(0,L.o)(e,{containingElement:r.current}))}}},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||l.setFocused(!1)},onMouseDown(e){y.current===e.target&&e.preventDefault()}}
1,{typeSelectProps:_}=(0,I.I)({keyboardDelegate:n,selectionManager:l});h||(A=(0,B.v)(_,A)),p||(t=null==l.focusedKey?0:-1);let Z=(0,F.j5)(l.collection);return{collectionProps:(0,B.v)(A,{tabIndex:t,"data-collection":Z})}}({...e,ref:r,selectionManager:t,keyboardDelegate:c});return{listProps:d}}({...e,ref:l,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:o}),{focusWithinProps:u}=(0,M.R)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),a=(0,E.Bi)(e.id);k.set(t,{id:a,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:o,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:c,fieldProps:d}=(0,A.M)({...e,id:a,labelElementType:"span"});return{labelProps:c,listBoxProps:(0,B.v)(n,u,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox",...(0,B.v)(d,s)})}}({...t,shouldSelectOnPressUp:J||t.shouldSelectOnPressUp,keyboardDelegate:eo,isVirtualized:et},C,l);(0,i.useRef)(J),(0,i.useRef)(G),(0,i.useEffect)(()=>{},[J,G]);let ec=!1,ed=null,eh=(0,i.useRef)(null);if(J&&p){n=p.useDraggableCollectionState({collection:K,selectionManager:_,preview:p.renderDragPreview?eh:void 0}),p.useDraggableCollection({},n,l);let e=p.DragPreview;ed=p.renderDragPreview?i.createElement(e,{ref:eh},p.renderDragPreview):null}if(G&&p){o=p.useDroppableCollectionState({collection:K,selectionManager:_});let e=p.dropTargetDelegate||en||new p.ListDropTargetDelegate(K,l,{orientation:y,layout:g,direction:Y});d=p.useDroppableCollection({keyboardDelegate:eo,dropTargetDelegate:e},o,l),ec=o.isDropTarget({type:"root"})}let{focusProps:ef,isFocused:ey,isFocusVisible:ev}=(0,Z.o)(),em=0===C.collection.size,eb={isDropTarget:ec,isEmpty:em,isFocused:ey,isFocusVisible:ev,layout:t.layout||"stack",state:C},eC=(0,u.Sl)({className:t.className,style:t.style,defaultClassName:"react-aria-ListBox",values:eb}),eS=null;em&&t.renderEmptyState&&(eS=i.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(eb)));let eK=(0,w.$)(t,{global:!0});return i.createElement(j.n1,null,i.createElement("div",{...(0,B.v)(eK,eC,es,ef,null==d?void 0:d.collectionProps),ref:l,slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":ec||void 0,"data-empty":em||void 0,"data-focused":ey||void 0,"data-focus-visible":ev||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},i.createElement(u.Kq,{values:[[eu,t],[ea,C],[a,{dragAndDropHooks:p,dragState:n,dropState:o}],[v,{elementType:"div"}],[c,{render:eg}],[r,{name:"ListBoxSection",render:ep}]]},i.createElement(S,null,i.createElement(ei,{collection:K,scrollRef:l,persistedKeys:function(e,t,l){var n,r,o,s,u,a;let c=e.focusedKey,d=null;if((null==t||null==(n=t.isVirtualDragging)?void 0:n.call(t))&&(null==l||null==(r=l.target)?void 0:r.type)==="item"&&(d=l.target.key,"after"===l.target.dropPosition)){let e=l.collection.getKeyAfter(d),t=null;if(null!=e){let n=null!=(s=null==(o=l.collection.getItem(d))?void 0:o.level)?s:0;for(;e;){let i=l.collection.getItem(e);if(!i)break;if("item"!==i.type){e=l.collection.getKeyAfter(e);continue}if((null!=(u=i.level)?u:0)<=n)break;t=e,e=l.collection.getKeyAfter(e)}}d=null!=(a=null!=e?e:t)?a:d}return(0,i.useMemo)(()=>new Set([c,d].filter(e=>null!=e)),[c,d])}(_,p,o),renderDropIndicator:h(p,o)}))),eS,ed))}function ep(e,t,l,n="react-aria-ListBoxSection"){var r;let o=(0,i.useContext)(ea),{dragAndDropHooks:c,dropState:d}=(0,i.useContext)(a),{CollectionBranch:f}=(0,i.useContext)(s),[g,y]=(0,u._E)(),{headingProps:v,groupProps:m}=function(e){let{heading:t,"aria-label":l}=e,n=(0,E.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation"}:{},groupProps:{role:"group","aria-label":l,"aria-labelledby":t?n:void 0}}}({heading:y,"aria-label":null!=(r=e["aria-label"])?r:void 0}),b=(0,u.Sl)({defaultClassName:n,className:e.className,style:e.style,values:{}}),C=(0,w.$)(e,{global:!0});return delete C.id,i.createElement("section",{...(0,B.v)(C,b,m),ref:t},i.createElement(p.Provider,{value:{...v,ref:g}},i.createElement(f,{collection:o.collection,parent:l,renderDropIndicator:h(c,d)})))}let ef=(0,ei.KU)(y._B,function(e,t,l){let n=(0,eo.U)(t),r=(0,i.useContext)(ea),{dragAndDropHooks:o,dragState:s,dropState:c}=(0,i.useContext)(a),{optionProps:d,labelProps:h,descriptionProps:p,...f}=function(e,t,l){var n,r,o,s,u,a,c,d;let{key:h}=e,p=k.get(t),f=null!=(o=e.isDisabled)?o:t.selectionManager.isDisabled(h),g=null!=(s=e.isSelected)?s:t.selectionManager.isSelected(h),y=null!=(u=e.shouldSelectOnPressUp)?u:null==p?void 0:p.shouldSelectOnPressUp,v=null!=(a=e.shouldFocusOnHover)?a:null==p?void 0:p.shouldFocusOnHover,m=null!=(c=e.shouldUseVirtualFocus)?c:null==p?void 0:p.shouldUseVirtualFocus,b=null!=(d=e.isVirtualized)?d:null==p?void 0:p.isVirtualized,C=(0,E.X1)(),S=(0,E.X1)(),K={role:"option","aria-disabled":f||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?g:void 0};(0,J.cX)()&&(0,J.Tc)()||(K["aria-label"]=e["aria-label"],K["aria-labelledby"]=C,K["aria-describedby"]=S);let x=t.collection.getItem(h);if(b){let e=Number(null==x?void 0:x.index);K["aria-posinset"]=Number.isNaN(e)?void 0:e+1,K["aria-setsize"]=function(e){let t=Q.get(e);if(null!=t)return t;let l=0,n=t=>
1{for(let i of t)"section"===i.type?n((0,Y.iQ)(i,e)):"item"===i.type&&l++};return n(e),Q.set(e,l),l}(t.collection)}let D=(null==p?void 0:p.onAction)?()=>{var e;return null==p||null==(e=p.onAction)?void 0:e.call(p,h)}:void 0,P=function(e,t){let l=k.get(e);if(!l)throw Error("Unknown list");return`${l.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}(t,h),{itemProps:M,isPressed:A,isFocused:I,hasAction:z,allowsSelection:T}=function(e){let{id:t,selectionManager:l,key:n,ref:r,shouldSelectOnPressUp:o,shouldUseVirtualFocus:s,focus:u,isDisabled:a,onAction:c,allowsDifferentPressOrigin:d,linkBehavior:h="action"}=e,p=(0,R.rd)();t=(0,E.Bi)(t);let f=e=>{if("keyboard"===e.pointerType&&(0,F.N9)(e))l.toggleSelection(n);else{if("none"===l.selectionMode)return;if(l.isLink(n)){if("selection"===h&&r.current){let t=l.getItemProps(n);p.open(r.current,e,t.href,t.routerOptions),l.setSelectedKeys(l.selectedKeys);return}else if("override"===h||"none"===h)return}"single"===l.selectionMode?l.isSelected(n)&&!l.disallowEmptySelection?l.toggleSelection(n):l.replaceSelection(n):e&&e.shiftKey?l.extendSelection(n):"toggle"===l.selectionBehavior||e&&((0,N.B)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?l.toggleSelection(n):l.replaceSelection(n)}};(0,i.useEffect)(()=>{n===l.focusedKey&&l.isFocused&&(s?(0,W.vX)(r.current):u?u():document.activeElement!==r.current&&r.current&&(0,q.l)(r.current))},[r,n,l.focusedKey,l.childFocusStrategy,l.isFocused,s]),a=a||l.isDisabled(n);let g={};s||a?a&&(g.onMouseDown=e=>{e.preventDefault()}):g={tabIndex:n===l.focusedKey?0:-1,onFocus(e){e.target===r.current&&l.setFocusedKey(n)}};let y=l.isLink(n)&&"override"===h,v=c&&"action"===e.UNSTABLE_itemBehavior,m=l.isLink(n)&&"selection"!==h&&"none"!==h,b=!a&&l.canSelectItem(n)&&!y&&!v,C=(c||m)&&!a,S=C&&("replace"===l.selectionBehavior?!b:!b||l.isEmpty),K=C&&b&&"replace"===l.selectionBehavior,x=S||K,D=(0,i.useRef)(null),P=x&&b,k=(0,i.useRef)(!1),w=(0,i.useRef)(!1),M=l.getItemProps(n),A=e=>{if(c){var t;c(),null==(t=r.current)||t.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))}m&&r.current&&p.open(r.current,e,M.href,M.routerOptions)},I={ref:r};if(o?(I.onPressStart=e=>{D.current=e.pointerType,k.current=P,"keyboard"===e.pointerType&&(!x||en())&&f(e)},d?(I.onPressUp=S?void 0:e=>{"mouse"===e.pointerType&&b&&f(e)},I.onPress=S?A:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&b&&f(e)}):I.onPress=e=>{S||K&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||el())&&A(e):"keyboard"!==e.pointerType&&b&&f(e)}):(I.onPressStart=e=>{D.current=e.pointerType,k.current=P,w.current=S,b&&("mouse"===e.pointerType&&!S||"keyboard"===e.pointerType&&(!C||en()))&&f(e)},I.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&x&&el()||"mouse"===e.pointerType&&w.current)&&(x?A(e):b&&f(e))}),g["data-collection"]=(0,F.EG)(l.collection),g["data-key"]=n,I.preventFocusOnPress=s,s&&(I=(0,B.v)(I,{onPressStart(e){"touch"!==e.pointerType&&(l.setFocused(!0),l.setFocusedKey(n))},onPress(e){"touch"===e.pointerType&&(l.setFocused(!0),l.setFocusedKey(n))}})),M)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])M[e]&&(I[e]=(0,G.c)(I[e],M[e]));let{pressProps:z,isPressed:T}=(0,ee.d)(I),L=K?e=>{"mouse"===D.current&&(e.stopPropagation(),e.preventDefault(),A(e))}:void 0,{longPressProps:O}=(0,et.H)({isDisabled:!P,onLongPress(e){"touch"===e.pointerType&&(f(e),l.setSelectionBehavior("toggle"))}}),V="none"!==h&&l.isLink(n)?e=>{R.Fe.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,B.v)(g,b||S||s&&!a?z:{},P?O:{},{onDoubleClick:L,onDragStartCapture:e=>{"touch"===D.current&&k.current&&e.preventDefault()},onClick:V,id:t},s?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:T,isSelected:l.isSelected(n),isFocused:l.isFocused&&l.focusedKey===n,isDisabled:a,allowsSelection:b,hasAction:x}}({selectionManager:t.selectionManager,key:h,ref:l,shouldSelectOnPressUp:y,allowsDifferentPressOrigin:y&&v,isVirtualized:b,shouldUseVirtualFocus:m,isDisabled:f,onAction:D||(null==x||null==(n=x.props)?void 0:n.onAction)?(0,G.c)(null==x||null==(r=x.props)?void 0:r.onAction,D):void 0,linkBehavior:null==p?void 0:p.linkBehavior,UNSTABLE_itemBehavior:null==p?void 0:p.UNSTABLE_itemBehavior,id:P}),{hoverProps:L}=(0,X.M)({isDisabled:f||!v,onHoverStart(){(0,$.pP)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(h))}}),O=(0,w.$)(null==x?void 0:x.props);delete O.id;let V=(0,R._h)(null==x?void 0:x.props);return{optionProps:{...K,...(0,B.v)(O,M,L,V),id:P},labelProps:{id:C},descriptionProps:{id:S},isFocused:I,isFocusVisible:I&&t.selectionManager.isFocused&&(0,$.pP)(),isSelected:g,isDisabled:f,isPressed:A,allowsSelection:T,hasAction:z}}({key:l.key,"aria-label":null==e?void 0:e["aria-label"]},r,n),{hoverProps:y,isHovered:v}=(0,X.M)({isDisabled:!f.allowsSelection&&!f.hasAction,onHoverStart:l.props.onHoverStart,onHoverChange:l.props.onHoverChange,onHoverEnd:l.props.onHoverEnd}),m=null;s&&o&&(m=o.useDraggableItem({key:l.key}
1,s));let b=null;c&&o&&(b=o.useDroppableItem({target:{type:"item",key:l.key,dropPosition:"on"}},c,n));let C=s&&s.isDragging(l.key),S=(0,u.Sl)({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...f,isHovered:v,selectionMode:r.selectionManager.selectionMode,selectionBehavior:r.selectionManager.selectionBehavior,allowsDragging:!!s,isDragging:C,isDropTarget:null==b?void 0:b.isDropTarget}});(0,i.useEffect)(()=>{l.textValue},[l.textValue]);let x=e.href?"a":"div",D=(0,w.$)(e,{global:!0});return delete D.id,delete D.onClick,i.createElement(x,{...(0,B.v)(D,S,d,y,null==m?void 0:m.dragProps,null==b?void 0:b.dropProps),ref:n,"data-allows-dragging":!!s||void 0,"data-selected":f.isSelected||void 0,"data-disabled":f.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":f.isFocused||void 0,"data-focus-visible":f.isFocusVisible||void 0,"data-pressed":f.isPressed||void 0,"data-dragging":C||void 0,"data-drop-target":(null==b?void 0:b.isDropTarget)||void 0,"data-selection-mode":"none"===r.selectionManager.selectionMode?void 0:r.selectionManager.selectionMode},i.createElement(u.Kq,{values:[[K.h,{slots:{[u.P_]:h,label:h,description:p}}],[g,{isSelected:f.isSelected}]]},S.children))});function eg(e,t){t=(0,eo.U)(t);let{dragAndDropHooks:l,dropState:n}=(0,i.useContext)(a),{dropIndicatorProps:r,isHidden:o,isDropTarget:s}=l.useDropIndicator(e,n,t);return o?null:i.createElement(ey,{...e,dropIndicatorProps:r,isDropTarget:s,ref:t})}let ey=(0,i.forwardRef)(function(e,t){let{dropIndicatorProps:l,isDropTarget:n,...r}=e,o=(0,u.Sl)({...r,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:n}});return i.createElement("div",{...l,...o,role:"option",ref:t,"data-drop-target":n||void 0})});(0,ei.KU)(y.OJ,function(e,t,l){let n=(0,i.useContext)(ea),{isLoading:r,onLoadMore:o,scrollOffset:s,...a}=e,c=(0,i.useRef)(null);!function(e,t){let{collection:l,onLoadMore:n,scrollOffset:r=1}=e,o=(0,i.useRef)(null),s=(0,V.J)(e=>{for(let t of e)t.isIntersecting&&n&&n()});(0,_.N)(()=>(t.current&&(o.current=new IntersectionObserver(s,{root:(0,es.m)(null==t?void 0:t.current),rootMargin:`0px ${100*r}% ${100*r}% ${100*r}%`}),o.current.observe(t.current)),()=>{o.current&&o.current.disconnect()}),[l,s,t,r])}((0,i.useMemo)(()=>({onLoadMore:o,collection:null==n?void 0:n.collection,sentinelRef:c,scrollOffset:s}),[o,s,null==n?void 0:n.collection]),c);let d=(0,u.Sl)({...a,id:void 0,children:l.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:null});return i.createElement(i.Fragment,null,i.createElement("div",{style:{position:"relative",width:0,height:0},inert:!!(parseInt(i.version.split(".")[0],10)>=19)||"true"},i.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),r&&d.children&&i.createElement("div",{...(0,B.v)((0,w.$)(e,{global:!0}),{tabIndex:-1}),...d,role:"option",ref:t},d.children))})},87564:(e,t,l)=>{function n(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function i(e){var t=e,l=0;!1;let n=0;for(let e of t){if(n===l)return e;n++}}function r(e,t,l){if(t.parentKey===l.parentKey)return t.index-l.index;let n=[...o(e,t),t],i=[...o(e,l),l],r=n.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return -1!==r?(t=n[r],l=i[r],t.index-l.index):n.findIndex(e=>e===l)>=0?1:(i.findIndex(e=>e===t),-1)}function o(e,t){let l=[],n=t;for(;(null==n?void 0:n.parentKey)!=null;)(n=e.getItem(n.parentKey))&&l.unshift(n);return l}l.d(t,{iQ:()=>n,o3:()=>r,ue:()=>i})},98156:(e,t,l)=>{l.d(t,{p:()=>i});var n=l(7620);function i(e){let{children:t,items:l,idScope:i,addIdAndValue:r,dependencies:o=[]}=e,s=(0,n.useMemo)(()=>new WeakMap,o);return(0,n.useMemo)(()=>{if(l&&"function"==typeof t){let u=[];for(let a of l){let l=s.get(a);if(!l){var e,o;let u=null!=(o=null!=(e=(l=t(a)).props.id)?e:a.key)?o:a.id;if(null==u)throw Error("Could not determine key for item");i&&(u=i+":"+u),l=(0,n.cloneElement)(l,r?{key:u,id:u,value:a}:{key:u}),s.set(a,l)}u.push(l)}return u}if("function"!=typeof t)return t},[t,l,s,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.