"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4955],{24876:function(e,n,t){t.r(n),t.d(n,{Accordion:function(){return o.d},AccordionItem:function(){return a.G},useAccordion:function(){return r.A},useAccordionItem:function(){return u.Z}});var o=t(51036),u=t(84446),r=t(31307),a=t(93700)},86997:function(e,n,t){t.r(n),t.d(n,{Autocomplete:function(){return U},AutocompleteItem:function(){return Z.R},AutocompleteSection:function(){return q.y},useAutocomplete:function(){return j}});var o=t(99426),u=t(44058),r=t(24167),a=(0,t(32043).tv)({slots:{base:"group inline-flex flex-column w-full",listboxWrapper:"scroll-py-6 max-h-64 w-full",listbox:"",popoverContent:"w-full p-1 overflow-hidden",endContentWrapper:"relative flex h-full items-center -mr-2",clearButton:["text-medium","translate-x-1","cursor-text","opacity-0","text-default-500","group-data-[invalid=true]:text-danger","data-[visible=true]:opacity-100","data-[visible=true]:cursor-pointer","sm:data-[visible=true]:opacity-0","sm:group-data-[hover=true]:data-[visible=true]:opacity-100"],selectorButton:"text-medium"},variants:{isClearable:{true:{},false:{clearButton:"hidden"}},disableAnimation:{true:{selectorButton:"transition-none"},false:{selectorButton:"transition-transform duration-150 ease motion-reduce:transition-none"}},disableSelectorIconRotation:{true:{},false:{selectorButton:"data-[open=true]:rotate-180"}}},defaultVariants:{isClearable:!0,disableSelectorIconRotation:!1}}),l=t(64898),i=t(7816),s=t(69398),c=t(97522),d=t(20333),p=t(7653),m=t(55975),b=t(57816),f=t(7194),g=t(24203),v=t(39592),h=t(69221),C=t(42184),x=t(86807),y={};y={"ar-AE":{buttonLabel:`\u{639}\u{631}\u{636} \u{627}\u{644}\u{645}\u{642}\u{62A}\u{631}\u{62D}\u{627}\u{62A}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${n.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})} \u{645}\u{62A}\u{627}\u{62D}\u{629}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{627}\u{644}\u{645}\u{62C}\u{645}\u{648}\u{639}\u{629} \u{627}\u{644}\u{645}\u{62F}\u{62E}\u{644}\u{629} ${e.groupTitle}, \u{645}\u{639} ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${n.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{645}\u{62D}\u{62F}\u{62F}`,other:""},e.isSelected)}`,listboxLabel:`\u{645}\u{642}\u{62A}\u{631}\u{62D}\u{627}\u{62A}`,selectedAnnouncement:e=>`${e.optionText}\u{60C} \u{645}\u{62D}\u{62F}\u{62F}`},"bg-BG":{buttonLabel:`\u{41F}\u{43E}\u{43A}\u{430}\u{436}\u{438} \u{43F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${n.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})} \u{43D}\u{430} \u{440}\u{430}\u{437}\u{43F}\u{43E}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{435}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{412}\u{44A}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${n.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`,other:""},e.isSelected)}`,listboxLabel:`\u{41F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`,selectedAnnouncement:e=>`${e.optionText}, \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`},"cs-CZ":{buttonLabel:`Zobrazit doporu\u{10D}en\xed`,countAnnouncement:(e,n)=>`K dispozici ${n.plural(e.optionCount,{one:()=>`je ${n.number(e.optionCount)} mo\u{17E}nost`,other:()=>`jsou/je ${n.number(e.optionCount)} mo\u{17E}nosti/-\xed`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Zadan\xe1 skupina \u{201E}${e.groupTitle}\u{201C} ${n.plural(e.groupCount,{one:()=>`s ${n.number(e.groupCount)} mo\u{17E}nost\xed`,other:()=>`se ${n.number(e.groupCount)} mo\u{17E}nostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:` (vybr\xe1no)`,other:""},e.isSelected)}`,listboxLabel:`N\xe1vrhy`,selectedAnnouncement:e=>`${e.optionText}, vybr\xe1no`},"da-DK":{buttonLabel:"Vis forslag",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} mulighed tilg\xe6ngelig`,other:()=>`${n.number(e.optionCount)} muligheder tilg\xe6ngelige`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} mulighed`,other:()=>`${n.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"de-DE":{buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} Option`,other:()=>`${n.number(e.optionCount)} Optionen`})} verf\xfcgbar.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} Option`,other:()=>`${n.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, ausgew\xe4hlt`,other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgew\xe4hlt`},"el-GR":{buttonLabel:`\u{3A0}\u{3C1}\u{3BF}\u{3B2}\u{3BF}\u{3BB}\u{3AE} \u{3C0}\u{3C1}\u{3BF}\u{3C4}\u{3AC}\u{3C3}\u{3B5}\u{3C9}\u{3BD}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${n.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2} `})} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B5}\u{3C2}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3BF}\u{3BC}\u{3AC}\u{3B4}\u{3B1} ${e.groupTitle}, \u{3BC}\u{3B5} ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${n.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3B5}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3BF}`,other:""},e.isSelected)}`,listboxLabel:`\u{3A0}\u{3C1}\u{3BF}\u{3C4}\u{3AC}\u{3C3}\u{3B5}\u{3B9}\u{3C2}`,selectedAnnouncement:e=>`${e.optionText}, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5}`},"en-US":{focusAnnouncement:(e,n)=>`${n.select({true:()=>`Entered group ${e.groupTitle}, with ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} option`,other:()=>`${n.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} option`,other:()=>`${n.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"},"es-ES":{buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opci\xf3n`,other:()=>`${n.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opci\xf3n`,other:()=>`${n.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`},"et-EE":{buttonLabel:"Kuva soovitused",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} valik`,other:()=>`${n.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Sisestatud r\xfchm ${e.groupTitle}, valikuga ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} valik`,other:()=>`${n.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`},"fi-FI":{buttonLabel:`N\xe4yt\xe4 ehdotukset`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} vaihtoehto`,other:()=>`${n.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Mentiin ryhm\xe4\xe4n ${e.groupTitle}, ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} vaihtoehdon`,other:()=>`${n.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`},"fr-FR":{buttonLabel:"Afficher les suggestions",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} option`,other:()=>`${n.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} option`,other:()=>`${n.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, s\xe9lectionn\xe9(s)`,other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, s\xe9lectionn\xe9`},"he-IL":{buttonLabel:`\u{5D4}\u{5E6}\u{5D2} \u{5D4}\u{5E6}\u{5E2}\u{5D5}\u{5EA}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${n.number(e.optionCount)}`,other:()=>`${n.number(e.optionCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})} \u{5D1}\u{5DE}\u{5E6}\u{5D1} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{5E0}\u{5DB}\u{5E0}\u{5E1} \u{5DC}\u{5E7}\u{5D1}\u{5D5}\u{5E6}\u{5D4} ${e.groupTitle}, \u{5E2}\u{5DD} ${n.plural(e.groupCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${n.number(e.groupCount)}`,other:()=>`${n.number(e.groupCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,other:""},e.isSelected)}`,listboxLabel:`\u{5D4}\u{5E6}\u{5E2}\u{5D5}\u{5EA}`,selectedAnnouncement:e=>`${e.optionText}, \u{5E0}\u{5D1}\u{5D7}\u{5E8}`},"hr-HR":{buttonLabel:`Prika\u{17E}i prijedloge`,countAnnouncement:(e,n)=>`Dostupno jo\u{161}: ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcijom`,other:()=>`${n.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`},"hu-HU":{buttonLabel:`Javaslatok megjelen\xedt\xe9se`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} lehet\u{151}s\xe9g`,other:()=>`${n.number(e.optionCount)} lehet\u{151}s\xe9g`})} \xe1ll rendelkez\xe9sre.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Bel\xe9pett a(z) ${e.groupTitle} csoportba, amely ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} lehet\u{151}s\xe9get`,other:()=>`${n.number(e.groupCount)} lehet\u{151}s\xe9get`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, kijel\xf6lve`,other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijel\xf6lve`},"it-IT":{buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opzione disponibile`,other:()=>`${n.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opzione`,other:()=>`${n.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`},"ja-JP":{buttonLabel:`\u{5019}\u{88DC}\u{3092}\u{8868}\u{793A}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${n.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{5229}\u{7528}\u{3067}\u{304D}\u{307E}\u{3059}\u{3002}`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{5165}\u{529B}\u{3055}\u{308C}\u{305F}\u{30B0}\u{30EB}\u{30FC}\u{30D7} ${e.groupTitle}\u{3001}${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${n.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{542B}\u{3080}\u{3002}`,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`\u{3001}\u{9078}\u{629E}\u{6E08}\u{307F}`,other:""},e.isSelected)}`,listboxLabel:`\u{5019}\u{88DC}`,selectedAnnouncement:e=>`${e.optionText}\u{3001}\u{9078}\u{629E}\u{6E08}\u{307F}`},"ko-KR":{buttonLabel:`\u{C81C}\u{C548} \u{C0AC}\u{D56D} \u{D45C}\u{C2DC}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${n.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`})}\u{C744} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C788}\u{C2B5}\u{B2C8}\u{B2E4}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{C785}\u{B825}\u{D55C} \u{ADF8}\u{B8F9} ${e.groupTitle}, ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${n.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{C120}\u{D0DD}\u{B428}`,other:""},e.isSelected)}`,listboxLabel:`\u{C81C}\u{C548}`,selectedAnnouncement:e=>`${e.optionText}, \u{C120}\u{D0DD}\u{B428}`},"lt-LT":{buttonLabel:`Rodyti pasi\u{16B}lymus`,countAnnouncement:(e,n)=>`Yra ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} parinktis`,other:()=>`${n.number(e.optionCount)} parinktys (-i\u{173})`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{12E}vesta grup\u{117} ${e.groupTitle}, su ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} parinktimi`,other:()=>`${n.number(e.groupCount)} parinktimis (-i\u{173})`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:`Pasi\u{16B}lymai`,selectedAnnouncement:e=>`${e.optionText}, pasirinkta`},"lv-LV":{buttonLabel:`R\u{101}d\u{12B}t ieteikumus`,countAnnouncement:(e,n)=>`Pieejamo opciju skaits: ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Ievad\u{12B}ta grupa ${e.groupTitle}, ar ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opciju`,other:()=>`${n.number(e.groupCount)} opcij\u{101}m`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, atlas\u{12B}ta`,other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlas\u{12B}ta`},"nb-NO":{buttonLabel:"Vis forslag",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} alternativ`,other:()=>`${n.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} alternativ`,other:()=>`${n.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"nl-NL":{buttonLabel:"Suggesties weergeven",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} optie`,other:()=>`${n.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} optie`,other:()=>`${n.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`},"pl-PL":{buttonLabel:`Wy\u{15B}wietlaj sugestie`,countAnnouncement:(e,n)=>`dost\u{119}pna/dost\u{119}pne(-nych) ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcja`,other:()=>`${n.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Do\u{142}\u{105}czono do grupy ${e.groupTitle}, z ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcj\u{105}`,other:()=>`${n.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`},"pt-BR":{buttonLabel:`Mostrar sugest\xf5es`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${n.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${n.number(e.groupCount)} op\xe7\xf5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:`Sugest\xf5es`,selectedAnnouncement:e=>`${e.optionText}, selecionado`},"pt-PT":{buttonLabel:`Apresentar sugest\xf5es`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${n.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${n.number(e.groupCount)} op\xe7\xf5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:`Sugest\xf5es`,selectedAnnouncement:e=>`${e.optionText}, selecionado`},"ro-RO":{buttonLabel:`Afi\u{219}are sugestii`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\u{21B}iune`,other:()=>`${n.number(e.optionCount)} op\u{21B}iuni`})} disponibile.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\u{21B}iune`,other:()=>`${n.number(e.groupCount)} op\u{21B}iuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`},"ru-RU":{buttonLabel:`\u{41F}\u{43E}\u{43A}\u{430}\u{437}\u{430}\u{442}\u{44C} \u{43F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${n.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{432}`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{43D}\u{430}\u{44F} \u{433}\u{440}\u{443}\u{43F}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{43C}`,other:()=>`${n.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{430}\u{43C}\u{438}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43D}\u{44B}\u{43C}\u{438}`,other:""},e.isSelected)}`,listboxLabel:`\u{41F}\u{440}\u{435}\u{434}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{44F}`,selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`},"sk-SK":{buttonLabel:`Zobrazi\u{165} n\xe1vrhy`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} mo\u{17E}nos\u{165}`,other:()=>`${n.number(e.optionCount)} mo\u{17E}nosti/-\xed`})} k dispoz\xedcii.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Zadan\xe1 skupina ${e.groupTitle}, s ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} mo\u{17E}nos\u{165}ou`,other:()=>`${n.number(e.groupCount)} mo\u{17E}nos\u{165}ami`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, vybrat\xe9`,other:""},e.isSelected)}`,listboxLabel:`N\xe1vrhy`,selectedAnnouncement:e=>`${e.optionText}, vybrat\xe9`},"sl-SI":{buttonLabel:`Prika\u{17E}i predloge`,countAnnouncement:(e,n)=>`Na voljo je ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcija`,other:()=>`${n.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`},"sr-SP":{buttonLabel:`Prika\u{17E}i predloge`,countAnnouncement:(e,n)=>`Dostupno jo\u{161}: ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} opcija`,other:()=>`${n.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcijom`,other:()=>`${n.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`},"sv-SE":{buttonLabel:`Visa f\xf6rslag`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} alternativ`,other:()=>`${n.number(e.optionCount)} alternativ`})} tillg\xe4ngliga.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} alternativ`,other:()=>`${n.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:`F\xf6rslag`,selectedAnnouncement:e=>`${e.optionText}, valda`},"tr-TR":{buttonLabel:`\xd6nerileri g\xf6ster`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} se\xe7enek`,other:()=>`${n.number(e.optionCount)} se\xe7enekler`})} kullan\u{131}labilir.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} se\xe7enek`,other:()=>`${n.number(e.groupCount)} se\xe7enekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, se\xe7ildi`,other:""},e.isSelected)}`,listboxLabel:`\xd6neriler`,selectedAnnouncement:e=>`${e.optionText}, se\xe7ildi`},"uk-UA":{buttonLabel:`\u{41F}\u{43E}\u{43A}\u{430}\u{437}\u{430}\u{442}\u{438} \u{43F}\u{440}\u{43E}\u{43F}\u{43E}\u{437}\u{438}\u{446}\u{456}\u{457}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${n.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{437} ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${n.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,other:""},e.isSelected)}`,listboxLabel:`\u{41F}\u{440}\u{43E}\u{43F}\u{43E}\u{437}\u{438}\u{446}\u{456}\u{457}`,selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`},"zh-CN":{buttonLabel:`\u{663E}\u{793A}\u{5EFA}\u{8BAE}`,countAnnouncement:(e,n)=>`\u{6709} ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${n.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`})}\u{53EF}\u{7528}\u{3002}`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{8FDB}\u{5165}\u{4E86} ${e.groupTitle} \u{7EC4}\u{FF0C}\u{5176}\u{4E2D}\u{6709} ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${n.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{5DF2}\u{9009}\u{62E9}`,other:""},e.isSelected)}`,listboxLabel:`\u{5EFA}\u{8BAE}`,selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9009}\u{62E9}`},"zh-TW":{buttonLabel:`\u{986F}\u{793A}\u{5EFA}\u{8B70}`,countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u{9078}\u{9805}`,other:()=>`${n.number(e.optionCount)} \u{9078}\u{9805}`})} \u{53EF}\u{7528}\u{3002}`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u{8F38}\u{5165}\u{7684}\u{7FA4}\u{7D44} ${e.groupTitle}, \u{6709} ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u{9078}\u{9805}`,other:()=>`${n.number(e.groupCount)} \u{9078}\u{9805}`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:`, \u{5DF2}\u{9078}\u{53D6}`,other:""},e.isSelected)}`,listboxLabel:`\u{5EFA}\u{8B70}`,selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9078}\u{53D6}`}};var $=t(66726),B=t(97680),A=t(9512),D=t(40749),P=t(96603),w=t(23685),E=t(84056),k=t(63792),I=t(77377),T=t(8544),N=t(52762),S=t(31764),F=t(12809);function j(e){var n,t,j,M,O;let L=(0,o.w)(),[V,R]=(0,u.oe)(e,a.variantKeys),G=null!=(t=null!=(n=e.disableAnimation)?n:null==L?void 0:L.disableAnimation)&&t,z=void 0!==e.disableClearable?!e.disableClearable:!e.isReadOnly&&e.isClearable,{ref:W,as:K,label:J,isLoading:U,menuTrigger:Z="focus",filterOptions:q={sensitivity:"base"},children:X,selectorIcon:H,clearIcon:_,scrollRef:Y,defaultFilter:Q,endContent:ee,allowsEmptyCollection:en=!0,shouldCloseOnBlur:et=!0,popoverProps:eo={},inputProps:eu={},scrollShadowProps:er={},listboxProps:ea={},selectorButtonProps:el={},clearButtonProps:ei={},showScrollIndicators:es=!0,allowsCustomValue:ec=!1,validationBehavior:ed=null!=(j=null==L?void 0:L.validationBehavior)?j:"aria",className:ep,classNames:em,errorMessage:eb,onOpenChange:ef,onClose:eg,isReadOnly:ev=!1,...eh}=V,{contains:eC}=(0,l.L)(q),ex=function(e){var n,t,o,u,r,a,l,f;let{defaultFilter:g,menuTrigger:v="input",allowsEmptyCollection:h=!1,allowsCustomValue:C,shouldCloseOnBlur:x=!0}=e,[y,$]=(0,p.useState)(!1),[B,A]=(0,p.useState)(!1),[D,P]=(0,p.useState)(null),{collection:w,selectionManager:E,selectedKey:k,setSelectedKey:I,selectedItem:T,disabledKeys:N}=(0,c.B)({...e,onSelectionChange:n=>{e.onSelectionChange&&e.onSelectionChange(n),n===k&&(U(),W())},items:null!==(o=e.items)&&void 0!==o?o:e.defaultItems}),[S,F]=(0,m.z)(e.inputValue,null!==(r=null!==(u=e.defaultInputValue)&&void 0!==u?u:null===(n=w.getItem(k))||void 0===n?void 0:n.textValue)&&void 0!==r?r:"",e.onInputChange),j=(0,p.useMemo)(()=>null==e.items&&g?new d.D(function e(n,t,o,u){let r=[];for(let a of t)if("section"===a.type&&a.hasChildNodes){let t=e(n,(0,s._P)(a,n),o,u);[...t].some(e=>"item"===e.type)&&r.push({...a,childNodes:t})}else"item"===a.type&&u(a.textValue,o)?r.push({...a}):"item"!==a.type&&r.push({...a});return r}(w,w,S,g)):w,[w,S,g,e.items]),[M,O]=(0,p.useState)(j),L=(0,p.useRef)("focus"),V=(0,b.d)({...e,onOpenChange:n=>{e.onOpenChange&&e.onOpenChange(n,n?L.current:void 0),E.setFocused(n),n||E.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),R=(n=null,t)=>{let o="manual"===t||"focus"===t&&"focus"===v;(h||j.size>0||o&&w.size>0||e.items)&&(o&&!V.isOpen&&void 0===e.items&&$(!0),L.current=t,P(n),V.open())},G=(0,p.useCallback)(()=>{O(y?w:j)},[y,w,j]),z=(0,p.useCallback)((e=null)=>{V.isOpen&&G(),P(e),V.toggle()},[V,G]),W=(0,p.useCallback)(()=>{V.isOpen&&(G(),V.close())},[V,G]),[K,J]=(0,p.useState)(S),U=()=>{var e,n;let t=null!==(n=null===(e=w.getItem(k))||void 0===e?void 0:e.textValue)&&void 0!==n?n:"";J(t),F(t)},Z=(0,p.useRef)(null!==(l=null!==(a=e.selectedKey)&&void 0!==a?a:e.defaultSelectedKey)&&void 0!==l?l:null),q=(0,p.useRef)(null!==(f=null===(t=w.getItem(k))||void 0===t?void 0:t.textValue)&&void 0!==f?f:"");(0,p.useEffect)(()=>{var n,t;B&&(j.size>0||h)&&!V.isOpen&&S!==K&&"manual"!==v&&R(null,"input"),y||h||!V.isOpen||0!==j.size||W(),null!=k&&k!==Z.current&&W(),S!==K&&(E.setFocusedKey(null),$(!1),""===S&&(void 0===e.inputValue||void 0===e.selectedKey)&&I(null)),k!==Z.current&&(void 0===e.inputValue||void 0===e.selectedKey)?U():K!==S&&J(S);let o=null!==(t=null===(n=w.getItem(k))||void 0===n?void 0:n.textValue)&&void 0!==t?t:"";B||null==k||void 0!==e.inputValue||k!==Z.current||q.current===o||(J(o),F(o)),Z.current=k,q.current=o});let X=(0,i.Q3)({...e,value:(0,p.useMemo)(()=>({inputValue:S,selectedKey:k}),[S,k])}),H=()=>{Z.current=null,I(null),W()},_=()=>{if(void 0!==e.selectedKey&&void 0!==e.inputValue){var n,t;e.onSelectionChange(k),J(null!==(t=null===(n=w.getItem(k))||void 0===n?void 0:n.textValue)&&void 0!==t?t:""),W()}else U(),W()},Y=()=>{if(C){var e,n;S===(null!==(n=null===(e=w.getItem(k))||void 0===e?void 0:e.textValue)&&void 0!==n?n:"")?_():H()}else _()},Q=(0,p.useRef)(S),ee=(0,p.useMemo)(()=>V.isOpen?y?w:j:M,[V.isOpen,w,j,y,M]);return{...X,...V,focusStrategy:D,toggle:(n=null,t)=>{let o="manual"===t||"focus"===t&&"focus"===v;(h||j.size>0||o&&w.size>0||e.items||V.isOpen)&&(o&&!V.isOpen&&void 0===e.items&&$(!0),V.isOpen||(L.current=t),z(n))},open:R,close:Y,selectionManager:E,selectedKey:k,setSelectedKey:I,disabledKeys:N,isFocused:B,setFocused:e=>{e?(Q.current=S,"focus"===v&&R(null,"focus")):(x&&Y(),S!==Q.current&&X.commitValidation()),A(e)},selectedItem:T,collection:ee,inputValue:S,setInputValue:F,commit:()=>{V.isOpen&&null!=E.focusedKey?k===E.focusedKey?_():I(E.focusedKey):Y()},revert:()=>{C&&null==k?H():_()}}}({...e,children:X,menuTrigger:Z,validationBehavior:ed,shouldCloseOnBlur:et,allowsEmptyCollection:en,defaultFilter:Q&&"function"==typeof Q?Q:eC,onOpenChange:(e,n)=>{null==ef||ef(e,n),e||null==eg||eg()}});ex={...ex,...ev&&{disabledKeys:new Set([...ex.collection.getKeys()])}};let ey=(0,p.useRef)(null),e$=(0,p.useRef)(null),eB=(0,p.useRef)(null),eA=(0,p.useRef)(null),eD=(0,f.gy)(W),eP=(0,f.gy)(Y),{buttonProps:ew,inputProps:eE,listBoxProps:ek,isInvalid:eI,validationDetails:eT,validationErrors:eN}=function(e,n){var t,o,u;let{buttonRef:r,popoverRef:a,inputRef:l,listBoxRef:c,keyboardDelegate:d,shouldFocusWrap:m,isReadOnly:b,isDisabled:f}=e,g=(0,T.q)((u=y)&&u.__esModule?u.default:u,"@react-aria/combobox"),{menuTriggerProps:v,menuProps:h}=(0,N.u)({type:"listbox",isDisabled:f||b},n,r);(0,A.O).set(n,{id:h.id});let F=(0,p.useMemo)(()=>d||new k.d(n.collection,n.disabledKeys,c),[d,n.collection,n.disabledKeys,c]),{collectionProps:j}=(0,I.g)({selectionManager:n.selectionManager,keyboardDelegate:F,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:m,ref:l,isVirtualized:!0}),M=(0,D.tv)(),{isInvalid:O,validationErrors:L,validationDetails:V}=n.displayValidation,{labelProps:R,inputProps:G,descriptionProps:z,errorMessageProps:W}=(0,S.h)({...e,onChange:n.setInputValue,onKeyDown:b?e.onKeyDown:(0,x.t)(n.isOpen&&j.onKeyDown,t=>{switch(t.key){case"Enter":case"Tab":if(n.isOpen&&"Enter"===t.key&&t.preventDefault(),n.isOpen&&null!=n.selectionManager.focusedKey&&n.selectionManager.isLink(n.selectionManager.focusedKey)){if("Enter"===t.key){let e=c.current.querySelector(`[data-key="${CSS.escape(n.selectionManager.focusedKey.toString())}"]`);if(e instanceof HTMLAnchorElement){let o=n.collection.getItem(n.selectionManager.focusedKey);M.open(e,t,o.props.href,o.props.routerOptions)}}n.close()}else n.commit();break;case"Escape":(null!==n.selectedKey||""===n.inputValue||e.allowsCustomValue)&&t.continuePropagation(),n.revert();break;case"ArrowDown":n.open("first","manual");break;case"ArrowUp":n.open("last","manual");break;case"ArrowLeft":case"ArrowRight":n.selectionManager.setFocusedKey(null)}},e.onKeyDown),onBlur:t=>{var o;let u=(null==r?void 0:r.current)&&r.current===t.relatedTarget,l=null===(o=a.current)||void 0===o?void 0:o.contains(t.relatedTarget);u||l||(e.onBlur&&e.onBlur(t),n.setFocused(!1))},value:n.inputValue,onFocus:t=>{n.isFocused||(e.onFocus&&e.onFocus(t),n.setFocused(!0))},autoComplete:"off",validate:void 0,[i.tL]:n},l),K=(0,P.b)({id:v.id,"aria-label":g.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||R.id}),J=(0,P.b)({id:h.id,"aria-label":g.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||R.id}),U=(0,p.useRef)(0),Z=null!=n.selectionManager.focusedKey&&n.isOpen?n.collection.getItem(n.selectionManager.focusedKey):void 0,q=null!==(t=null==Z?void 0:Z.parentKey)&&void 0!==t?t:null,X=null!==(o=n.selectionManager.focusedKey)&&void 0!==o?o:null,H=(0,p.useRef)(q),_=(0,p.useRef)(X);(0,p.useEffect)(()=>{if((0,w.ad)()&&null!=Z&&X!==_.current){let e=n.selectionManager.isSelected(X),t=null!=q?n.collection.getItem(q):null,o=(null==t?void 0:t["aria-label"])||("string"==typeof(null==t?void 0:t.rendered)?t.rendered:"")||"",u=g.format("focusAnnouncement",{isGroupChange:t&&q!==H.current,groupTitle:o,groupCount:t?[...(0,s._P)(t,n.collection)].length:0,optionText:Z["aria-label"]||Z.textValue||"",isSelected:e});(0,$.xQ)(u)}H.current=q,_.current=X});let Y=(0,E.i)(n.collection),Q=(0,p.useRef)(Y),ee=(0,p.useRef)(n.isOpen);(0,p.useEffect)(()=>{let e=n.isOpen!==ee.current&&(null==n.selectionManager.focusedKey||(0,w.ad)());if(n.isOpen&&(e||Y!==Q.current)){let e=g.format("countAnnouncement",{optionCount:Y});(0,$.xQ)(e)}Q.current=Y,ee.current=n.isOpen});let en=(0,p.useRef)(n.selectedKey);return(0,p.useEffect)(()=>{if((0,w.ad)()&&n.isFocused&&n.selectedItem&&n.selectedKey!==en.current){let e=n.selectedItem["aria-label"]||n.selectedItem.textValue||"",t=g.format("selectedAnnouncement",{optionText:e});(0,$.xQ)(t)}en.current=n.selectedKey}),(0,p.useEffect)(()=>{if(n.isOpen)return(0,B.R)([l.current,a.current])},[n.isOpen,l,a]),{labelProps:R,buttonProps:{...v,...K,excludeFromTabOrder:!0,onPress:e=>{"touch"===e.pointerType&&(l.current.focus(),n.toggle(null,"manual"))},onPressStart:e=>{"touch"!==e.pointerType&&(l.current.focus(),n.toggle("keyboard"===e.pointerType||"virtual"===e.pointerType?"first":null,"manual"))},isDisabled:f||b},inputProps:(0,C.d)(G,{role:"combobox","aria-expanded":v["aria-expanded"],"aria-controls":n.isOpen?h.id:void 0,"aria-autocomplete":"list","aria-activedescendant":Z?(0,A.x)(n,Z.key):void 0,onTouchEnd:e=>{if(f||b)return;if(e.timeStamp-U.current<500){e.preventDefault(),l.current.focus();return}let t=e.target.getBoundingClientRect(),o=e.changedTouches[0],u=Math.ceil(t.left+.5*t.width),r=Math.ceil(t.top+.5*t.height);o.clientX===u&&o.clientY===r&&(e.preventDefault(),l.current.focus(),n.toggle(null,"manual"),U.current=e.timeStamp)},autoCorrect:"off",spellCheck:"false"}),listBoxProps:(0,C.d)(h,J,{autoFocus:n.focusStrategy,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:z,errorMessageProps:W,isInvalid:O,validationErrors:L,validationDetails:V}}({validationBehavior:ed,...e,inputRef:eD,buttonRef:ey,listBoxRef:eB,popoverRef:eA},ex),eS=e.isInvalid||eI,eF={inputProps:(0,C.d)({label:J,ref:eD,wrapperRef:e$,onClick:()=>{!ex.isOpen&&ex.selectedItem&&ex.open()},isClearable:!1,disableAnimation:G},eu),popoverProps:(0,C.d)({offset:5,placement:"bottom",triggerScaleOnOpen:!1,disableAnimation:G},eo),scrollShadowProps:(0,C.d)({ref:eP,isEnabled:null==(M=es&&ex.collection.size>5)||M,hideScrollBar:!0,offset:15},er),listboxProps:(0,C.d)({hideEmptyContent:ec,emptyContent:"No results found.",disableAnimation:G},ea),selectorButtonProps:(0,C.d)({isLoading:U,size:"sm",variant:"light",radius:"full",color:eS?"danger":null==e?void 0:e.color,isIconOnly:!0,disableAnimation:G},el),clearButtonProps:(0,C.d)({size:"sm",variant:"light",radius:"full",color:eS?"danger":null==e?void 0:e.color,isIconOnly:!0,disableAnimation:G},ei)},ej=(0,g.W)(null==em?void 0:em.base,ep),eM=(null==(O=eF.listboxProps)?void 0:O.hideEmptyContent)?ex.isOpen&&!!ex.collection.size:ex.isOpen;if((0,r.G)(()=>{if(!eD.current)return;let e=eD.current.value,n=ex.collection.getItem(e);n&&ex.inputValue!==n.textValue&&(ex.setSelectedKey(e),ex.setInputValue(n.textValue))},[eD.current]),(0,p.useEffect)(()=>{if(eM&&(eV(!0),eA.current&&e$.current)){let e=e$.current.getBoundingClientRect();eA.current.style.width=e.width+"px"}},[eM]),eE.onKeyDown){let e=eE.onKeyDown;eE.onKeyDown=n=>("continuePropagation"in n&&(n.stopPropagation=()=>{}),e(n))}let eO=(0,p.useMemo)(()=>a({...R,isClearable:z,disableAnimation:G,className:ep}),[(0,v.Xx)(R),z,G,ep]),eL=(0,p.useCallback)(()=>{ex.setInputValue(""),ex.setSelectedKey(null),ex.close()},[ex]),eV=(0,p.useCallback)(e=>{var n;null==(n=eD.current)||n.focus(),ex.setFocused(e)},[ex,eD]);return{Component:K||"div",inputRef:eD,label:J,state:ex,slots:eO,classNames:em,isLoading:U,clearIcon:_,isOpen:eM,endContent:ee,isClearable:z,disableAnimation:G,allowsCustomValue:ec,selectorIcon:H,getBaseProps:()=>({"data-invalid":(0,h.PB)(eS),"data-open":(0,h.PB)(ex.isOpen),className:eO.base({class:ej})}),getInputProps:()=>({...eh,...eE,...eF.inputProps,isInvalid:eS,validationBehavior:ed,errorMessage:"function"==typeof eb?eb({isInvalid:eS,validationErrors:eN,validationDetails:eT}):eb||(null==eN?void 0:eN.join(" ")),onClick:(0,x.t)(eF.inputProps.onClick,eh.onClick)}),getListBoxProps:()=>({state:ex,ref:eB,...(0,C.d)(eF.listboxProps,ek,{shouldHighlightOnFocus:!0})}),getPopoverProps:function(){var e,n;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(0,C.d)(eF.popoverProps,t);return{state:ex,ref:eA,triggerRef:e$,scrollRef:eB,triggerType:"listbox",...o,classNames:{content:eO.popoverContent({class:(0,g.W)(null==em?void 0:em.popoverContent,null==(n=null==(e=eF.popoverProps)?void 0:e.classNames)?void 0:n.content,t.className)})},shouldCloseOnInteractOutside:(null==o?void 0:o.shouldCloseOnInteractOutside)?o.shouldCloseOnInteractOutside:e=>(0,F.J)(e,e$,ex)}},getEmptyPopoverProps:()=>({ref:eA,className:"hidden"}),getClearButtonProps:()=>{var e,n;return{...(0,C.d)(ew,eF.clearButtonProps),onPressStart:()=>{},onPress:e=>{var n,t,o;null==(t=null==(n=eF.clearButtonProps)?void 0:n.onPress)||t.call(n,e),ex.selectedItem?eL():ec&&(ex.setInputValue(""),ex.close()),null==(o=null==eD?void 0:eD.current)||o.focus()},"data-visible":!!ex.selectedItem||(null==(e=ex.inputValue)?void 0:e.length)>0,className:eO.clearButton({class:(0,g.W)(null==em?void 0:em.clearButton,null==(n=eF.clearButtonProps)?void 0:n.className)})}},getSelectorButtonProps:()=>{var e;return{ref:ey,...(0,C.d)(ew,eF.selectorButtonProps),"data-open":(0,h.PB)(ex.isOpen),className:eO.selectorButton({class:(0,g.W)(null==em?void 0:em.selectorButton,null==(e=eF.selectorButtonProps)?void 0:e.className)})}},getListBoxWrapperProps:function(){var e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,C.d)(eF.scrollShadowProps,n),className:eO.listboxWrapper({class:(0,g.W)(null==em?void 0:em.listboxWrapper,null==(e=eF.scrollShadowProps)?void 0:e.className,null==n?void 0:n.className)})}},getEndContentWrapperProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{className:eO.endContentWrapper({class:(0,g.W)(null==em?void 0:em.endContentWrapper,null==e?void 0:e.className)}),onClick:e=>{eD.current===document.activeElement||ex.isFocused||e.currentTarget!==e.target||eV(!0)}}}}}var M=t(11179),O=t(83788),L=t(61342),V=t(65581),R=t(9066),G=t(78885),z=t(41371),W=t(8927),K=t(27573);function J(e,n){let{Component:t,isOpen:o,disableAnimation:u,selectorIcon:r=(0,K.jsx)(L.v,{}),clearIcon:a=(0,K.jsx)(V.T,{}),endContent:l,getBaseProps:i,getSelectorButtonProps:s,getInputProps:c,getListBoxProps:d,getPopoverProps:p,getEmptyPopoverProps:m,getClearButtonProps:b,getListBoxWrapperProps:f,getEndContentWrapperProps:g}=j({...e,ref:n}),v=o?(0,K.jsx)(M.q,{...p(),children:(0,K.jsx)(O.o,{...f(),children:(0,K.jsx)(R.X,{...d()})})}):(0,K.jsx)("div",{...m()});return(0,K.jsxs)(t,{...i(),children:[(0,K.jsx)(z.Y,{...c(),endContent:(0,K.jsxs)("div",{...g(),children:[l||(0,K.jsx)(G.A,{...b(),children:a}),(0,K.jsx)(G.A,{...s(),children:r})]})}),u?v:(0,K.jsx)(W.M,{children:v})]})}var U=(0,u.Gp)(J);J.displayName="NextUI.Autocomplete";var Z=t(40896),q=t(92757)},16525:function(e,n,t){t.r(n),t.d(n,{Avatar:function(){return o.h},AvatarGroup:function(){return f},AvatarGroupProvider:function(){return d.k},AvatarIcon:function(){return g.f},useAvatar:function(){return v.F},useAvatarGroup:function(){return c},useAvatarGroupContext:function(){return d.C}});var o=t(97764),u=t(78309),r=t(7194),a=t(24203),l=t(50430),i=t(99418),s=t(7653);function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{as:n,ref:t,max:o=5,total:c,size:d,color:p,radius:m,children:b,isBordered:f,isDisabled:g,isGrid:v,renderCount:h,className:C,classNames:x,...y}=e,$=(0,r.gy)(t),B=(0,s.useMemo)(()=>({size:d,color:p,radius:m,isGrid:v,isBordered:f,isDisabled:g}),[d,p,m,v,f,g]),A=(0,s.useMemo)(()=>(0,u.z)({className:C,isGrid:v}),[C,v]),D=(0,i.W)(b),P=o?D.slice(0,o):D,w=c||(null!=o?D.length-o:-1),E=P.map((e,n)=>{let t=n===P.length-1,o={className:(0,a.W)(0===n?"ms-0":v?"":"-ms-2",t&&w<1?"hover:-translate-x-0":"")};return(0,s.cloneElement)(e,(0,l.oA)(o))});return{Component:n||"div",context:B,remainingCount:w,clones:E,renderCount:h,getAvatarGroupProps:()=>({ref:$,className:A.base({class:(0,a.W)(null==x?void 0:x.base,C)}),role:"group",...y}),getAvatarGroupCountProps:()=>({className:A.count({class:null==x?void 0:x.count})})}}var d=t(90634),p=t(44058),m=t(27573),b=(0,p.Gp)((e,n)=>{let{Component:t,clones:u,context:r,remainingCount:a,getAvatarGroupCountProps:l,getAvatarGroupProps:i,renderCount:s=e=>(0,m.jsx)(o.h,{...l(),name:"+".concat(e)})}=c({...e,ref:n});return(0,m.jsx)(t,{...i(),children:(0,m.jsxs)(d.k,{value:r,children:[u,a>0&&s(a)]})})});b.displayName="NextUI.AvatarGroup";var f=b,g=t(97498),v=t(21805)},79874:function(e,n,t){t.r(n),t.d(n,{Badge:function(){return m},useBadge:function(){return c}});var o=t(49004),u=(0,t(32043).tv)({slots:{base:["relative","inline-flex","shrink-0"],badge:["flex","z-10","flex-wrap","absolute","box-border","rounded-full","whitespace-nowrap","place-content-center","origin-center","items-center","text-inherit","select-none","font-regular","scale-100","opacity-100","subpixel-antialiased","data-[invisible=true]:scale-0","data-[invisible=true]:opacity-0"]},variants:{variant:{solid:{},flat:{},faded:{badge:"border-medium"},shadow:{}},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{badge:"px-1 text-tiny"},md:{badge:"px-1 text-small"},lg:{badge:"px-1 text-small"}},placement:{"top-right":{},"top-left":{},"bottom-right":{},"bottom-left":{}},shape:{circle:{},rectangle:{}},isInvisible:{true:{}},isOneChar:{true:{badge:"px-0"}},isDot:{true:{}},disableAnimation:{true:{badge:"transition-none"},false:{badge:"transition-transform-opacity !ease-soft-spring !duration-300"}},showOutline:{true:{badge:"border-2 border-background"},false:{badge:"border-transparent border-0"}}},defaultVariants:{variant:"solid",color:"default",size:"md",shape:"rectangle",placement:"top-right",showOutline:!0,isInvisible:!1},compoundVariants:[{variant:"solid",color:"default",class:{badge:o.J.solid.default}},{variant:"solid",color:"primary",class:{badge:o.J.solid.primary}},{variant:"solid",color:"secondary",class:{badge:o.J.solid.secondary}},{variant:"solid",color:"success",class:{badge:o.J.solid.success}},{variant:"solid",color:"warning",class:{badge:o.J.solid.warning}},{variant:"solid",color:"danger",class:{badge:o.J.solid.danger}},{variant:"shadow",color:"default",class:{badge:o.J.shadow.default}},{variant:"shadow",color:"primary",class:{badge:o.J.shadow.primary}},{variant:"shadow",color:"secondary",class:{badge:o.J.shadow.secondary}},{variant:"shadow",color:"success",class:{badge:o.J.shadow.success}},{variant:"shadow",color:"warning",class:{badge:o.J.shadow.warning}},{variant:"shadow",color:"danger",class:{badge:o.J.shadow.danger}},{variant:"flat",color:"default",class:{badge:o.J.flat.default}},{variant:"flat",color:"primary",class:{badge:o.J.flat.primary}},{variant:"flat",color:"secondary",class:{badge:o.J.flat.secondary}},{variant:"flat",color:"success",class:{badge:o.J.flat.success}},{variant:"flat",color:"warning",class:{badge:o.J.flat.warning}},{variant:"flat",color:"danger",class:{badge:o.J.flat.danger}},{variant:"faded",color:"default",class:{badge:o.J.faded.default}},{variant:"faded",color:"primary",class:{badge:o.J.faded.primary}},{variant:"faded",color:"secondary",class:{badge:o.J.faded.secondary}},{variant:"faded",color:"success",class:{badge:o.J.faded.success}},{variant:"faded",color:"warning",class:{badge:o.J.faded.warning}},{variant:"faded",color:"danger",class:{badge:o.J.faded.danger}},{isOneChar:!0,size:"sm",class:{badge:"w-4 h-4 min-w-4 min-h-4"}},{isOneChar:!0,size:"md",class:{badge:"w-5 h-5 min-w-5 min-h-5"}},{isOneChar:!0,size:"lg",class:{badge:"w-6 h-6 min-w-6 min-h-6"}},{isDot:!0,size:"sm",class:{badge:"w-3 h-3 min-w-3 min-h-3"}},{isDot:!0,size:"md",class:{badge:"w-3.5 h-3.5 min-w-3.5 min-h-3.5"}},{isDot:!0,size:"lg",class:{badge:"w-4 h-4 min-w-4 min-h-4"}},{placement:"top-right",shape:"rectangle",class:{badge:"top-[5%] right-[5%] translate-x-1/2 -translate-y-1/2"}},{placement:"top-left",shape:"rectangle",class:{badge:"top-[5%] left-[5%] -translate-x-1/2 -translate-y-1/2"}},{placement:"bottom-right",shape:"rectangle",class:{badge:"bottom-[5%] right-[5%] translate-x-1/2 translate-y-1/2"}},{placement:"bottom-left",shape:"rectangle",class:{badge:"bottom-[5%] left-[5%] -translate-x-1/2 translate-y-1/2"}},{placement:"top-right",shape:"circle",class:{badge:"top-[10%] right-[10%] translate-x-1/2 -translate-y-1/2"}},{placement:"top-left",shape:"circle",class:{badge:"top-[10%] left-[10%] -translate-x-1/2 -translate-y-1/2"}},{placement:"bottom-right",shape:"circle",class:{badge:"bottom-[10%] right-[10%] translate-x-1/2 translate-y-1/2"}},{placement:"bottom-left",shape:"circle",class:{badge:"bottom-[10%] left-[10%] -translate-x-1/2 translate-y-1/2"}}]}),r=t(99426),a=t(44058),l=t(24203),i=t(39592),s=t(7653);function c(e){var n,t;let o=(0,r.w)(),c=null!=(t=null!=(n=null==e?void 0:e.disableAnimation)?n:null==o?void 0:o.disableAnimation)&&t,[d,p]=(0,a.oe)(e,u.variantKeys),{as:m,children:b,className:f,content:g,classNames:v,...h}=d,C=(0,s.useMemo)(()=>{var n;return(null==(n=String(g))?void 0:n.length)===1||(null==e?void 0:e.isOneChar)},[g,null==e?void 0:e.isOneChar]),x=(0,s.useMemo)(()=>{var e;return(null==(e=String(g))?void 0:e.length)===0},[g]),y=(0,l.W)(null==v?void 0:v.badge,f),$=(0,s.useMemo)(()=>u({...p,showOutline:(null==e?void 0:e.disableOutline)?!(null==e?void 0:e.disableOutline):null==e?void 0:e.showOutline,isOneChar:C,isDot:x}),[(0,i.Xx)(p),C,x]);return{Component:m||"span",children:b,content:g,slots:$,classNames:v,disableAnimation:c,isInvisible:null==e?void 0:e.isInvisible,getBadgeProps:()=>({className:$.badge({class:y}),"data-invisible":e.isInvisible,...h})}}var d=t(27573),p=(0,a.Gp)((e,n)=>{let{Component:t,children:o,content:u,slots:r,classNames:a,getBadgeProps:l}=c({...e});return(0,d.jsxs)("div",{className:r.base({class:null==a?void 0:a.base}),children:[o,(0,d.jsx)(t,{ref:n,...l(),children:u})]})});p.displayName="NextUI.Badge";var m=p},77707:function(e,n,t){t.r(n),t.d(n,{BreadcrumbItem:function(){return x},Breadcrumbs:function(){return N},useBreadcrumbItem:function(){return v},useBreadcrumbs:function(){return P}});var o=t(44058),u=t(52111),r=t(32043),a=t(41502),l=(0,r.tv)({slots:{base:"flex items-center",item:["flex gap-1 items-center","cursor-pointer","whitespace-nowrap","line-clamp-1","outline-none","tap-highlight-transparent",...a.Dh],separator:"text-default-400 px-1"},variants:{color:{foreground:{item:"text-foreground/50",separator:"text-foreground/50"},primary:{item:"text-primary/80",separator:"text-primary/80"},secondary:{item:"text-secondary/80",separator:"text-secondary/80"},success:{item:"text-success/80",separator:"text-success/80"},warning:{item:"text-warning/80",separator:"text-warning/80"},danger:{item:"text-danger/80",separator:"text-danger/80"}},size:{sm:{item:"text-tiny"},md:{item:"text-small"},lg:{item:"text-medium"}},underline:{none:{item:"no-underline"},hover:{item:"hover:underline"},always:{item:"underline"},active:{item:"active:underline"},focus:{item:"focus:underline"}},isCurrent:{true:{item:"cursor-default"},false:{item:["hover:opacity-80","active:opacity-disabled"]}},isDisabled:{true:{item:"opacity-disabled pointer-events-none",separator:"opacity-disabled"}},disableAnimation:{false:{item:"transition-opacity"},true:{item:"transition-none"}}},defaultVariants:{size:"md",color:"foreground",underline:"hover",isDisabled:!1},compoundVariants:[{isCurrent:!0,color:"foreground",class:{item:"text-foreground"}},{isCurrent:!0,color:"primary",class:{item:"text-primary"}},{isCurrent:!0,color:"secondary",class:{item:"text-secondary"}},{isCurrent:!0,color:"success",class:{item:"text-success"}},{isCurrent:!0,color:"warning",class:{item:"text-warning"}},{isCurrent:!0,color:"danger",class:{item:"text-danger"}},{isCurrent:!1,underline:"none",class:{item:"no-underline"}},{underline:["hover","always","active","focus"],class:"underline-offset-4"}]}),i=(0,r.tv)({slots:{base:"",list:"flex flex-wrap list-none",ellipsis:"text-medium",separator:"text-default-400 px-1"},variants:{size:{sm:{},md:{},lg:{}},radius:{none:{list:"rounded-none"},sm:{list:"rounded-small"},md:{list:"rounded-medium"},lg:{list:"rounded-large"},full:{list:"rounded-full"}},variant:{solid:{list:"bg-default-100"},bordered:{list:"border-medium border-default-200 shadow-sm"},light:{}}},defaultVariants:{size:"md",radius:"sm",variant:"light"},compoundVariants:[{variant:["solid","bordered"],class:{list:"max-w-fit"}},{variant:["solid","bordered"],size:"sm",class:{list:"px-2 py-1"}},{variant:["solid","bordered"],size:"md",class:{list:"px-2.5 py-1.5"}},{variant:["solid","bordered"],size:"lg",class:{list:"px-3 py-2"}}]}),s=t(7194),c=t(57799),d=t(9992),p=t(39592),m=t(24203),b=t(69221),f=t(7653),g=t(42184);function v(e){let[n,t]=(0,o.oe)(e,l.variantKeys),{ref:r,as:a,className:i,children:v,isLast:h,separator:C,startContent:x,endContent:y,classNames:$,hideSeparator:B=!1,...A}=n,D=!!(null==e?void 0:e.isCurrent),P=null==e?void 0:e.isDisabled,w=(null==e?void 0:e.href)&&!D?"a":"span",E="string"==typeof w,k=(0,s.gy)(r),{itemProps:I}=function(e,n){let{isCurrent:t,isDisabled:o,"aria-current":u,elementType:r="a",...a}=e,{linkProps:l}=(0,d.n)({isDisabled:o||t,elementType:r,...a},n),i=/^h[1-6]$/.test(r),s={};return i||(s=l),t&&(s["aria-current"]=u||"page",s.tabIndex=e.autoFocus?-1:void 0),{itemProps:{"aria-disabled":o,...s}}}({...e,isCurrent:D,elementType:w},k),{isFocusVisible:T,isFocused:N,focusProps:S}=(0,u.F)(),F=(0,f.useMemo)(()=>l({...t,isCurrent:D,underline:(null==e?void 0:e.underline)===void 0||D?"none":null==e?void 0:e.underline,className:i}),[(0,p.Xx)(t),D,i]),j=(0,m.W)(null==$?void 0:$.base,i);return{Component:w,WrapperComponent:a||"li",children:v,separator:C,startContent:x,endContent:y,isDisabled:P,isCurrent:D,isLast:h,hideSeparator:B,getBaseProps:()=>({ref:k,"data-slot":"base",className:F.base({class:j}),...(0,c.z)(A,{enabled:E})}),getItemProps:()=>({href:D?void 0:null==e?void 0:e.href,"data-slot":"item","data-focus":(0,b.PB)(N),"data-focus-visible":(0,b.PB)(T),"data-disabled":null==e?void 0:e.isDisabled,"data-current":null==e?void 0:e.isCurrent,className:F.item({class:null==$?void 0:$.item}),...(0,g.d)(I,P?{}:S)}),getSeparatorProps:()=>({"data-slot":"separator","aria-hidden":(0,b.PB)(!0),className:F.separator({class:null==$?void 0:$.separator})})}}var h=t(27573),C=(0,o.Gp)((e,n)=>{let{Component:t,WrapperComponent:o,children:u,isLast:r,separator:a,startContent:l,endContent:i,hideSeparator:s,getBaseProps:c,getItemProps:d,getSeparatorProps:p}=v({...e,ref:n});return(0,h.jsxs)(o,{...c(),children:[(0,h.jsxs)(t,{...d(),children:[l,u,i]}),!r&&!s&&(0,h.jsx)("span",{...p(),children:a})]})});C.displayName="NextUI.Breadcrumbs";var x=C,y=t(99426),$=t(99418),B={};B={"ar-AE":{breadcrumbs:`\u{639}\u{646}\u{627}\u{635}\u{631} \u{627}\u{644}\u{648}\u{627}\u{62C}\u{647}\u{629}`},"bg-BG":{breadcrumbs:`\u{422}\u{440}\u{43E}\u{445}\u{438} \u{445}\u{43B}\u{44F}\u{431}`},"cs-CZ":{breadcrumbs:"Popis cesty"},"da-DK":{breadcrumbs:`Br\xf8dkrummer`},"de-DE":{breadcrumbs:"Breadcrumbs"},"el-GR":{breadcrumbs:`\u{3A0}\u{3BB}\u{3BF}\u{3B7}\u{3B3}\u{3AE}\u{3C3}\u{3B5}\u{3B9}\u{3C2} breadcrumb`},"en-US":{breadcrumbs:"Breadcrumbs"},"es-ES":{breadcrumbs:"Migas de pan"},"et-EE":{breadcrumbs:"Lingiread"},"fi-FI":{breadcrumbs:"Navigointilinkit"},"fr-FR":{breadcrumbs:"Chemin de navigation"},"he-IL":{breadcrumbs:`\u{5E9}\u{5D1}\u{5D9}\u{5DC}\u{5D9} \u{5E0}\u{5D9}\u{5D5}\u{5D5}\u{5D8}`},"hr-HR":{breadcrumbs:"Navigacijski putovi"},"hu-HU":{breadcrumbs:`Morzsamen\xfc`},"it-IT":{breadcrumbs:"Breadcrumb"},"ja-JP":{breadcrumbs:`\u{30D1}\u{30F3}\u{304F}\u{305A}\u{30EA}\u{30B9}\u{30C8}`},"ko-KR":{breadcrumbs:`\u{D0D0}\u{C0C9} \u{D45C}\u{C2DC}`},"lt-LT":{breadcrumbs:`Nar\u{161}ymo kelias`},"lv-LV":{breadcrumbs:`Atpaka\u{13C}ce\u{13C}i`},"nb-NO":{breadcrumbs:"Navigasjonsstier"},"nl-NL":{breadcrumbs:"Broodkruimels"},"pl-PL":{breadcrumbs:"Struktura nawigacyjna"},"pt-BR":{breadcrumbs:"Caminho detalhado"},"pt-PT":{breadcrumbs:"Categorias"},"ro-RO":{breadcrumbs:`Miez de p\xe2ine`},"ru-RU":{breadcrumbs:`\u{41D}\u{430}\u{432}\u{438}\u{433}\u{430}\u{446}\u{438}\u{44F}`},"sk-SK":{breadcrumbs:`Naviga\u{10D}n\xe9 prvky Breadcrumbs`},"sl-SI":{breadcrumbs:"Drobtine"},"sr-SP":{breadcrumbs:"Putanje navigacije"},"sv-SE":{breadcrumbs:`S\xf6kv\xe4gar`},"tr-TR":{breadcrumbs:`\u{130}\xe7erik haritalar\u{131}`},"uk-UA":{breadcrumbs:`\u{41D}\u{430}\u{432}\u{456}\u{433}\u{430}\u{446}\u{456}\u{439}\u{43D}\u{430} \u{441}\u{442}\u{435}\u{436}\u{43A}\u{430}`},"zh-CN":{breadcrumbs:`\u{5BFC}\u{822A}\u{680F}`},"zh-TW":{breadcrumbs:`\u{5C0E}\u{89BD}\u{5217}`}};var A=t(23382),D=t(8544);function P(e){var n,t;let u=(0,y.w)(),r=null!=(t=null!=(n=null==e?void 0:e.disableAnimation)?n:null==u?void 0:u.disableAnimation)&&t,[a,l]=(0,o.oe)(e,i.variantKeys),{ref:d,as:v,color:h,underline:C,isDisabled:P,separator:w,children:E,itemsBeforeCollapse:k=1,itemsAfterCollapse:I=2,maxItems:T=8,hideSeparator:N,renderEllipsis:S,className:F,classNames:j,itemClasses:M,onAction:O,...L}=a,V=v||"nav",R="string"==typeof V,{navProps:G}=function(e){var n;let{"aria-label":t,...o}=e,u=(0,D.q)((n=B)&&n.__esModule?n.default:n,"@react-aria/breadcrumbs");return{navProps:{...(0,A.z)(o,{labelable:!0}),"aria-label":t||u.format("breadcrumbs")}}}(e),[,z]=(0,$.N)(E,x),W=f.Children.count(z),K=(0,s.gy)(d),J=(0,f.useMemo)(()=>i({...l,className:F}),[(0,p.Xx)(l),F]),U=(0,m.W)(null==j?void 0:j.base,F);return{Component:V,children:z,slots:J,separator:w,childCount:W,itemsAfterCollapse:I,itemsBeforeCollapse:k,maxItems:T,classNames:j,isDisabled:P,itemProps:{color:h,underline:C,disableAnimation:r,hideSeparator:N,size:null==e?void 0:e.size,classNames:M},renderEllipsis:S,getBaseProps:()=>({ref:K,"data-slot":"base",className:J.base({class:U}),...(0,g.d)(G,(0,c.z)(L,{enabled:R}))}),getListProps:()=>({"data-slot":"list",className:J.list({class:null==j?void 0:j.list})}),getEllipsisProps:()=>({"data-slot":"ellipsis",className:J.ellipsis({class:null==j?void 0:j.ellipsis})}),getSeparatorProps:()=>({"data-slot":"separator","aria-hidden":(0,b.PB)(!0),className:J.separator({class:null==j?void 0:j.separator})}),onAction:O}}var w=e=>(0,h.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:(0,h.jsx)("path",{d:"m9 18 6-6-6-6"})}),E=t(56428),k=t(1285),I=t(86807),T=(0,o.Gp)((e,n)=>{let{Component:t,children:o,childCount:u,itemProps:r,separator:a=(0,h.jsx)(w,{}),maxItems:l,itemsBeforeCollapse:i,itemsAfterCollapse:s,isDisabled:c,renderEllipsis:d,getBaseProps:p,getListProps:m,getEllipsisProps:b,getSeparatorProps:g,onAction:v}=P({...e,ref:n}),C=(0,f.useMemo)(()=>{let e=null==o?void 0:o.map((e,n)=>{var t;let o=n===u-1,l=(null==e?void 0:e.key)||n;return(0,f.cloneElement)(e,{...r,isLast:o,separator:a,isDisabled:c&&!o,isCurrent:o||e.props.isCurrent,...e.props,key:l,onPress:(0,I.t)(null==(t=e.props)?void 0:t.onPress,()=>null==v?void 0:v(l))})});if(!e)return null;if(u<l)return e;if(i+s>=u)return(0,k.Z)("You have provided an invalid combination of props to the Breadcrumbs. itemsAfterCollapse={".concat(s,"} + itemsBeforeCollapse={").concat(i,"} >= itemsCount={").concat(u,"}"),"Breadcrumbs"),e;let n=e.slice(i,e.length-s);if(n.length<1)return e;let t=(0,h.jsx)(E.w,{...b()}),p=(0,f.cloneElement)(n[0],{...n[0].props,key:"ellipsis",children:t}),m="function"==typeof d?d({collapsedItem:p,items:n.map(e=>e.props),maxItems:l,ellipsisIcon:t,itemsBeforeCollapse:i,itemsAfterCollapse:s,separator:(0,h.jsx)("span",{...g(),children:a})}):p;return[...e.slice(0,i),m,...e.slice(e.length-s,e.length)]},[o,u,a,r,i,s,c]);return(0,h.jsx)(t,{...p(),children:(0,h.jsx)("ol",{...m(),children:C})})});T.displayName="NextUI.Breadcrumbs";var N=T},84540:function(e,n,t){t.r(n),t.d(n,{Button:function(){return b.A},ButtonGroup:function(){return m},ButtonGroupProvider:function(){return c.D},useButton:function(){return f.U},useButtonGroup:function(){return s},useButtonGroupContext:function(){return c.M}});var o=t(97460),u=t(99426),r=t(44058),a=t(7194),l=t(7653),i=t(39592);function s(e){var n,t;let s=(0,u.w)(),[c,d]=(0,r.oe)(e,o.D.variantKeys),{ref:p,as:m,children:b,color:f="default",size:g="md",variant:v="solid",radius:h,isDisabled:C=!1,isIconOnly:x=!1,disableRipple:y=null!=(n=null==s?void 0:s.disableRipple)&&n,disableAnimation:$=null!=(t=null==s?void 0:s.disableAnimation)&&t,className:B,...A}=c,D=(0,a.gy)(p),P=(0,l.useMemo)(()=>(0,o.D)({...d,className:B}),[(0,i.Xx)(d),B]);return{Component:m||"div",children:b,domRef:D,context:(0,l.useMemo)(()=>({size:g,color:f,variant:v,radius:h,isIconOnly:x,isDisabled:C,disableAnimation:$,disableRipple:y,fullWidth:!!(null==e?void 0:e.fullWidth)}),[g,f,v,h,C,x,$,y,null==e?void 0:e.fullWidth]),classNames:P,getButtonGroupProps:(0,l.useCallback)(()=>({role:"group",...A}),[A])}}var c=t(52248),d=t(27573),p=(0,r.Gp)((e,n)=>{let{Component:t,domRef:o,context:u,children:r,classNames:a,getButtonGroupProps:l}=s({...e,ref:n});return(0,d.jsx)(c.D,{value:u,children:(0,d.jsx)(t,{ref:o,className:a,...l(),children:r})})});p.displayName="NextUI.ButtonGroup";var m=p,b=t(78885),f=t(39656)},63993:function(e,n,t){t.d(n,{t:function(){return s}});var o=t(7450),u=t(72990),r=t(53605),a=t(44058),l=t(27573);function i(e,n){let{context:t,getBaseCalendarProps:a}=(0,o.G)({...e,ref:n});return(0,l.jsx)(r.g,{value:t,children:(0,l.jsx)(u.T,{...a()})})}i.displayName="NextUI.Calendar";var s=(0,a.Gp)(i)},7450:function(e,n,t){t.d(n,{G:function(){return d}});var o=t(33648),u=t(7653),r=t(57799),a=t(78207),l=t(67033),i=t(28994),s=t(24203),c=t(86807);function d(e){let{buttonPickerProps:n,className:t,...d}=e,{Component:p,slots:m,children:b,domRef:f,locale:g,minValue:v,maxValue:h,showHelper:C,weekdayStyle:x,visibleDuration:y,baseProps:$,disableAnimation:B,shouldFilterDOMProps:A,isHeaderExpanded:D,visibleMonths:P,createCalendar:w,showMonthAndYearPickers:E,getPrevButtonProps:k,getNextButtonProps:I,getErrorMessageProps:T,setIsHeaderExpanded:N,topContent:S,bottomContent:F,errorMessage:j,classNames:M,otherProps:O}=(0,o.z)(d),L=(0,u.useRef)(null),V=(0,l.F)({...d,locale:g,minValue:v,maxValue:h,visibleDuration:y,createCalendar:w&&"function"==typeof w?w:i.Y}),{title:R,calendarProps:G,prevButtonProps:z,nextButtonProps:W,errorMessageProps:K}=(0,a.z)(d,V),J=(0,s.W)(null==M?void 0:M.base,t),U={...n,onPress:(0,c.t)(null==n?void 0:n.onPress,()=>N(!D))};return{Component:p,children:b,domRef:f,context:(0,u.useMemo)(()=>({state:V,slots:m,headerRef:L,weekdayStyle:x,isHeaderExpanded:D,setIsHeaderExpanded:N,visibleMonths:P,classNames:M,showMonthAndYearPickers:E,disableAnimation:B}),[V,m,M,x,D,N,P,B,E]),state:V,slots:m,title:R,classNames:M,getBaseCalendarProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...$,Component:p,showHelper:C,topContent:S,bottomContent:F,buttonPickerProps:U,calendarRef:f,calendarProps:G,prevButtonProps:k(z),nextButtonProps:I(W),errorMessageProps:T(K),className:m.base({class:J}),errorMessage:j,...(0,r.z)(O,{enabled:A}),...e}}}}},48544:function(e,n,t){t.r(n),t.d(n,{Calendar:function(){return o.t},CalendarProvider:function(){return l.g},RangeCalendar:function(){return r.o},useCalendar:function(){return u.G},useCalendarContext:function(){return l.$},useRangeCalendar:function(){return a.Z}});var o=t(63993),u=t(7450),r=t(1193),a=t(39910),l=t(53605)},77098:function(e,n,t){t.r(n),t.d(n,{Checkbox:function(){return A.K},CheckboxGroup:function(){return B},CheckboxGroupProvider:function(){return C.z},CheckboxIcon:function(){return D.P},useCheckbox:function(){return P.O},useCheckboxGroup:function(){return h},useCheckboxGroupContext:function(){return C.J}});var o=t(99426),u=t(7653),r=t(86807),a=t(42184),l=t(38078),i=t(6095),s=t(23382),c=t(5902),d=t(45759),p=t(7816),m=t(55975),b=t(7194),f=t(57799),g=t(16373),v=t(24203);function h(e){var n,t;let h=(0,o.w)(),{as:C,ref:x,classNames:y,children:$,label:B,radius:A,value:D,name:P,defaultValue:w,isInvalid:E,validationState:k,size:I="md",color:T="primary",orientation:N="vertical",lineThrough:S=!1,isDisabled:F=!1,validationBehavior:j=null!=(n=null==h?void 0:h.validationBehavior)?n:"aria",disableAnimation:M=null!=(t=null==h?void 0:h.disableAnimation)&&t,isReadOnly:O,isRequired:L,onValueChange:V,description:R,errorMessage:G,className:z,...W}=e,K=C||"div",J="string"==typeof K,U=(0,b.gy)(x),Z=(0,u.useMemo)(()=>({...W,value:D,name:P,"aria-label":(0,g.x)(W["aria-label"],B),defaultValue:w,isRequired:L,isReadOnly:O,orientation:N,validationBehavior:j,isInvalid:"invalid"===k||E,onChange:(0,r.t)(e.onChange,V)}),[D,P,B,w,L,O,N,V,E,k,j,W["aria-label"],W]),q=function(e={}){var n;let[t,o]=(0,m.z)(e.value,e.defaultValue||[],e.onChange),r=!!e.isRequired&&0===t.length,a=(0,u.useRef)(new Map),l=(0,p.Q3)({...e,value:t}),i=l.displayValidation.isInvalid;return{...l,value:t,setValue(n){e.isReadOnly||e.isDisabled||o(n)},isDisabled:e.isDisabled||!1,isReadOnly:e.isReadOnly||!1,isSelected:e=>t.includes(e),addValue(n){e.isReadOnly||e.isDisabled||t.includes(n)||o(t.concat(n))},removeValue(n){!e.isReadOnly&&!e.isDisabled&&t.includes(n)&&o(t.filter(e=>e!==n))},toggleValue(n){e.isReadOnly||e.isDisabled||(t.includes(n)?o(t.filter(e=>e!==n)):o(t.concat(n)))},setInvalid(e,n){let t=new Map(a.current);n.isInvalid?t.set(e,n):t.delete(e),a.current=t,l.updateValidation((0,p.W0)(...t.values()))},validationState:null!==(n=e.validationState)&&void 0!==n?n:i?"invalid":null,isInvalid:i,isRequired:r}}(Z),{labelProps:X,groupProps:H,descriptionProps:_,errorMessageProps:Y,validationErrors:Q,validationDetails:ee}=function(e,n){let{isDisabled:t,name:o,validationBehavior:u="aria"}=e,{isInvalid:r,validationErrors:l,validationDetails:p}=n.displayValidation,{labelProps:m,fieldProps:b,descriptionProps:f,errorMessageProps:g}=(0,c.U)({...e,labelElementType:"span",isInvalid:r,errorMessage:e.errorMessage||l});(0,i.k).set(n,{name:o,descriptionId:f.id,errorMessageId:g.id,validationBehavior:u});let v=(0,s.z)(e,{labelable:!0}),{focusWithinProps:h}=(0,d.L)({onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:(0,a.d)(v,{role:"group","aria-disabled":t||void 0,...b,...h}),labelProps:m,descriptionProps:f,errorMessageProps:g,isInvalid:r,validationErrors:l,validationDetails:p}}(Z,q),en=(0,u.useMemo)(()=>({size:I,color:T,radius:A,lineThrough:S,isInvalid:q.isInvalid,isDisabled:F,disableAnimation:M,validationBehavior:j,groupState:q}),[I,T,A,S,F,M,j,q.value,q.isDisabled,q.isReadOnly,q.isInvalid,q.isSelected]),et=(0,u.useMemo)(()=>(0,l.u)({isRequired:L,isInvalid:q.isInvalid,disableAnimation:M}),[L,q.isInvalid,,M]),eo=(0,v.W)(null==y?void 0:y.base,z),eu=(0,u.useCallback)(()=>({ref:U,className:et.base({class:eo}),...(0,a.d)(H,(0,f.z)(W,{enabled:J}))}),[et,U,eo,H,W]),er=(0,u.useCallback)(()=>({className:et.label({class:null==y?void 0:y.label}),...X}),[et,X,null==y?void 0:y.label]),ea=(0,u.useCallback)(()=>({className:et.wrapper({class:null==y?void 0:y.wrapper}),role:"presentation","data-orientation":N}),[et,N,null==y?void 0:y.wrapper]),el=(0,u.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,..._,className:et.description({class:(0,v.W)(null==y?void 0:y.description,null==e?void 0:e.className)})}},[et,_,null==y?void 0:y.description]),ei=(0,u.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...Y,className:et.errorMessage({class:(0,v.W)(null==y?void 0:y.errorMessage,null==e?void 0:e.className)})}},[et,Y,null==y?void 0:y.errorMessage]);return{Component:K,children:$,label:B,context:en,description:R,isInvalid:q.isInvalid,errorMessage:"function"==typeof G?G({isInvalid:q.isInvalid,validationErrors:Q,validationDetails:ee}):G||(null==Q?void 0:Q.join(" ")),getGroupProps:eu,getLabelProps:er,getWrapperProps:ea,getDescriptionProps:el,getErrorMessageProps:ei}}var C=t(94966),x=t(44058),y=t(27573),$=(0,x.Gp)((e,n)=>{let{children:t,context:o,label:r,description:a,isInvalid:l,errorMessage:i,getGroupProps:s,getLabelProps:c,getWrapperProps:d,getDescriptionProps:p,getErrorMessageProps:m}=h({...e,ref:n}),b=(0,u.useMemo)(()=>i,[l]);return(0,y.jsxs)("div",{...s(),children:[r&&(0,y.jsx)("span",{...c(),children:r}),(0,y.jsx)("div",{...d(),children:(0,y.jsx)(C.z,{value:o,children:t})}),l&&b?(0,y.jsx)("div",{...m(),children:b}):a?(0,y.jsx)("div",{...p(),children:a}):null]})});$.displayName="NextUI.CheckboxGroup";var B=$,A=t(26677),D=t(16896),P=t(61985)},63316:function(e,n,t){t.r(n),t.d(n,{Chip:function(){return o.z},useChip:function(){return u.v}});var o=t(74203),u=t(33903)},85102:function(e,n,t){t.d(n,{S:function(){return v}});var o=t(95586),u=t(169),r=t(42184),a=t(99426),l=t(44058),i=t(7194),s=t(74728),c=t(17250),d=t(28994),p=t(24203),m=t(39592),b=t(69221),f=t(64767),g=t(7653);function v(e){var n,t,v,h,C,x,y;let $=(0,a.w)(),[B,A]=(0,l.oe)(e,f.I.variantKeys),{ref:D,as:P,label:w,inputRef:E,description:k,startContent:I,endContent:T,className:N,classNames:S,validationState:F,groupProps:j={},labelProps:M,fieldProps:O,errorMessageProps:L,descriptionProps:V,validationBehavior:R=null!=(n=null==$?void 0:$.validationBehavior)?n:"aria",shouldForceLeadingZeros:G=!0,minValue:z=null!=(v=null==(t=null==$?void 0:$.defaultDates)?void 0:t.minDate)?v:new u.aw(1900,1,1),maxValue:W=null!=(C=null==(h=null==$?void 0:$.defaultDates)?void 0:h.maxDate)?C:new u.aw(2099,12,31),createCalendar:K=null!=(x=null==$?void 0:$.createCalendar)?x:null,isInvalid:J=!!F&&"invalid"===F,errorMessage:U}=B,Z=(0,i.gy)(D),q=(0,i.gy)(E),X=null!=(y=e.disableAnimation)?y:null==$?void 0:$.disableAnimation,{locale:H}=(0,o.j)(),_=(0,c.R)({...e,label:w,locale:H,minValue:z,maxValue:W,validationBehavior:R,shouldForceLeadingZeros:G,createCalendar:K&&"function"==typeof K?K:d.Y}),{labelProps:Y,fieldProps:Q,inputProps:ee,validationErrors:en,validationDetails:et,descriptionProps:eo,errorMessageProps:eu,isInvalid:er}=(0,s.IZ)({...e,label:w,validationBehavior:R,inputRef:q},_,Z),ea=(0,p.W)(null==S?void 0:S.base,N),el=J||er,ei=(0,g.useMemo)(()=>{var n;return e.labelPlacement&&"inside"!==e.labelPlacement||B.label?null!=(n=e.labelPlacement)?n:"inside":"outside"},[e.labelPlacement,B.label]),es="outside"===ei||"outside-left"===ei,ec=(0,g.useMemo)(()=>(0,f.I)({...A,disableAnimation:X,labelPlacement:ei,className:N}),[(0,m.Xx)(A),X,ei,N]),ed=e=>({...(0,r.d)(Y,M,e),"data-slot":"label",className:ec.label({class:(0,p.W)(null==S?void 0:S.label,null==e?void 0:e.className)})}),ep=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...e,...j,"data-slot":"input-wrapper",className:ec.inputWrapper({class:null==S?void 0:S.inputWrapper}),onClick:Q.onClick}},em=e=>({...e,"data-slot":"inner-wrapper",className:ec.innerWrapper({class:null==S?void 0:S.innerWrapper})}),eb=e=>({...e,"data-slot":"helper-wrapper",className:ec.helperWrapper({class:(0,p.W)(null==S?void 0:S.helperWrapper,null==e?void 0:e.className)})}),ef=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r.d)(eu,L,e),"data-slot":"error-message",className:ec.errorMessage({class:(0,p.W)(null==S?void 0:S.errorMessage,null==e?void 0:e.className)})}},eg=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...(0,r.d)(eo,V,e),"data-slot":"description",className:ec.description({class:(0,p.W)(null==S?void 0:S.description,null==e?void 0:e.className)})}};return{state:_,domRef:Z,slots:ec,classNames:S,labelPlacement:ei,getBaseGroupProps:()=>({as:P,label:w,description:k,endContent:T,errorMessage:U,isInvalid:el,startContent:I,validationDetails:et,validationErrors:en,shouldLabelBeOutside:es,"data-slot":"base","data-required":(0,b.PB)(e.isRequired),"data-disabled":(0,b.PB)(e.isDisabled),"data-readonly":(0,b.PB)(e.isReadOnly),"data-invalid":(0,b.PB)(el),"data-has-start-content":(0,b.PB)(!!I),"data-has-end-content":(0,b.PB)(!!T),descriptionProps:eg(),errorMessageProps:ef(),groupProps:ep(),helperWrapperProps:eb(),labelProps:ed(),wrapperProps:em(),className:ec.base({class:ea})}),getFieldProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:Z,"data-slot":"input-field",...(0,r.d)(Q,O,e),className:ec.input({class:(0,p.W)(null==S?void 0:S.input,null==e?void 0:e.className)})}},getInputProps:e=>({...e,...ee,ref:q})}}},64374:function(e,n,t){t.d(n,{N:function(){return s}});var o=t(89316),u=t(65454),r=t(85102),a=t(44058),l=t(27573);function i(e,n){let{state:t,slots:a,classNames:i,getBaseGroupProps:s,getInputProps:c,getFieldProps:d}=(0,r.S)({...e,ref:n});return(0,l.jsx)(u.E,{...s(),children:(0,l.jsx)(o.f,{classNames:i,inputProps:c(),slots:a,state:t,...d()})})}i.displayName="NextUI.DateInput";var s=(0,a.Gp)(i)},3341:function(e,n,t){t.r(n),t.d(n,{DateInput:function(){return o.N},DateInputField:function(){return r.f},DateInputGroup:function(){return a.E},DateInputSegment:function(){return l._},TimeInput:function(){return u.d},useDateInput:function(){return i.S},useTimeInput:function(){return s.L}});var o=t(64374),u=t(64414),r=t(89316),a=t(65454),l=t(53767),i=t(85102),s=t(53772)},89458:function(e,n,t){t.d(n,{k:function(){return k}});var o=t(53579),u=t(99426),r=t(7653),a=t(24280),l=t(74664),i=t(8877),s=t(11925),c=t(7816),d=t(57816),p=t(55975),m=t(51177),b=t(74728),f=t(42022),g=t(485),v=t(60992),h=t(87424),C=t(23382),x=t(42184),y=t(5902),$=t(45759),B=t(8544),A=t(95586),D=t(24203),P=t(39592),w=t(69221),E=t(12809);function k(e){var n,t;let{className:k,classNames:I,...T}=e,N=(0,u.w)(),S=null!=(t=null!=(n=T.validationBehavior)?n:null==N?void 0:N.validationBehavior)?t:"aria",{domRef:F,endContent:j,selectorIcon:M,createCalendar:O,isCalendarHeaderExpanded:L,disableAnimation:V,CalendarTopContent:R,slotsProps:G,timeMinValue:z,timeMaxValue:W,CalendarBottomContent:K,dateInputProps:J,timeInputProps:U,popoverProps:Z,calendarProps:q,variantProps:X,userTimeInputProps:H,selectorButtonProps:_,selectorIconProps:Y,onClose:Q}=(0,o.K)({...T,validationBehavior:S}),ee=function(e){var n;let t=(0,d.d)(e),[o,u]=(0,p.z)(e.value,e.defaultValue||null,e.onChange),a=o||e.placeholderValue,[m,b]=(0,l.iZ)(a,e.granularity),f=null!=o?o.toDate(null!=b?b:"UTC"):null,g="hour"===m||"minute"===m||"second"===m,v=null===(n=e.shouldCloseOnSelect)||void 0===n||n,[h,C]=(0,r.useState)(null),[x,y]=(0,r.useState)(null);if(o&&(h=o,"hour"in o&&(x=o)),a&&!(m in a))throw Error("Invalid granularity "+m+" for value "+a.toString());let $=(null==o?void 0:o.calendar.identifier)==="gregory"&&"BC"===o.era,B=(0,r.useMemo)(()=>({granularity:m,timeZone:b,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:$}),[m,e.hourCycle,e.shouldForceLeadingZeros,b,e.hideTimeZone,$]),{minValue:A,maxValue:D,isDateUnavailable:P}=e,w=(0,r.useMemo)(()=>(0,l.p2)(o,A,D,P,B),[o,A,D,P,B]),E=(0,c.Q3)({...e,value:o,builtinValidation:w}),k=E.displayValidation.isInvalid,I=e.validationState||(k?"invalid":null),T=(e,n)=>{u("timeZone"in n?n.set((0,i.WG)(e)):(0,i.IO)(e,n)),C(null),y(null),E.commitValidation()};return{...E,value:o,setValue:u,dateValue:h,timeValue:x,setDateValue:n=>{let o="function"==typeof v?v():v;g?x||o?T(n,x||(0,l.zu)(e.placeholderValue)):C(n):(u(n),E.commitValidation()),o&&t.setOpen(!1)},setTimeValue:e=>{h&&e?T(h,e):y(e)},granularity:m,hasTime:g,...t,setOpen(n){!n&&!o&&h&&g&&T(h,x||(0,l.zu)(e.placeholderValue)),t.setOpen(n)},validationState:I,isInvalid:k,formatValue(e,n){if(!f)return"";let t=(0,l.oE)(n,B);return new s.C(e,t).format(f)}}}({...T,validationBehavior:S,shouldCloseOnSelect:()=>!ee.hasTime,onOpenChange:e=>{e||Q()}}),en=(0,D.W)(null==I?void 0:I.base,k),et=(0,r.useMemo)(()=>(0,a.O)({...X,className:k}),[(0,P.Xx)(X),k]),{groupProps:eo,labelProps:eu,fieldProps:er,buttonProps:ea,dialogProps:el,calendarProps:ei,descriptionProps:es,errorMessageProps:ec}=function(e,n,t){var o;let u=(0,v.Me)(),a=(0,v.Me)(),l=(0,v.Me)(),i=(0,B.q)((o=m.Z)&&o.__esModule?o.default:o,"@react-aria/datepicker"),{isInvalid:s,validationErrors:d,validationDetails:p}=n.displayValidation,{labelProps:D,fieldProps:P,descriptionProps:w,errorMessageProps:E}=(0,y.U)({...e,labelElementType:"span",isInvalid:s,errorMessage:e.errorMessage||d}),k=(0,f.H)(n,t),I=P["aria-labelledby"]||P.id,{locale:T}=(0,A.j)(),N=n.formatValue(T,{month:"long"}),S=N?i.format("selectedDateDescription",{date:N}):"",F=(0,h.P)(S),j=[F["aria-describedby"],P["aria-describedby"]].filter(Boolean).join(" ")||void 0,M=(0,C.z)(e),O=(0,r.useMemo)(()=>(0,g.E7)(t),[t]),{focusWithinProps:L}=(0,$.L)({...e,isDisabled:n.isOpen,onBlurWithin:e.onBlur,onFocusWithin:e.onFocus,onFocusWithinChange:e.onFocusChange});return{groupProps:(0,x.d)(M,k,P,F,L,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":I,"aria-describedby":j,onKeyDown(t){!n.isOpen&&e.onKeyDown&&e.onKeyDown(t)},onKeyUp(t){!n.isOpen&&e.onKeyUp&&e.onKeyUp(t)}}),labelProps:{...D,onClick:()=>{O.focusFirst()}},fieldProps:{...P,id:l,[b.KX]:"presentation","aria-describedby":j,value:n.value,onChange:n.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[c.tL]:n,autoFocus:e.autoFocus,name:e.name},descriptionProps:w,errorMessageProps:E,buttonProps:{...F,id:u,"aria-haspopup":"dialog","aria-label":i.format("calendar"),"aria-labelledby":`${u} ${I}`,"aria-describedby":j,"aria-expanded":n.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>n.setOpen(!0)},dialogProps:{id:a,"aria-labelledby":`${u} ${I}`},calendarProps:{autoFocus:!0,value:n.dateValue,onChange:n.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:n.dateValue?void 0:e.placeholderValue,isInvalid:n.isInvalid,errorMessage:"function"==typeof e.errorMessage?e.errorMessage(n.displayValidation):e.errorMessage||n.displayValidation.validationErrors.join(" ")},isInvalid:s,validationErrors:d,validationDetails:p}}({...T,validationBehavior:S},ee,F);T.maxValue&&"hour"in T.maxValue&&T.maxValue;let ed="hour"===ee.granularity||"minute"===ee.granularity||"second"===ee.granularity?ee.granularity:null,ep=!!ed;return{state:ee,endContent:j,selectorIcon:M,showTimeField:ep,isCalendarHeaderExpanded:L,disableAnimation:V,CalendarTopContent:R,CalendarBottomContent:K,getDateInputProps:()=>({...J,classNames:{...null==T?void 0:T.dateInputClassNames},groupProps:eo,labelProps:eu,createCalendar:O,errorMessageProps:ec,descriptionProps:es,...(0,x.d)(X,er,{minValue:T.minValue,maxValue:T.maxValue,fullWidth:!0,disableAnimation:V}),className:et.base({class:en}),"data-open":(0,w.PB)(ee.isOpen)}),getPopoverProps:function(){var e,n;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{state:ee,dialogProps:el,...Z,classNames:{content:et.popoverContent({class:(0,D.W)(null==I?void 0:I.popoverContent,null==(n=null==(e=G.popoverProps)?void 0:e.classNames)?void 0:n.content,t.className)})},shouldCloseOnInteractOutside:(null==Z?void 0:Z.shouldCloseOnInteractOutside)?Z.shouldCloseOnInteractOutside:e=>(0,E.J)(e,F,ee)}},getSelectorButtonProps:()=>({...ea,..._,className:et.selectorButton({class:null==I?void 0:I.selectorButton})}),getCalendarProps:()=>({...ei,...q,classNames:{base:et.calendar({class:null==I?void 0:I.calendar}),content:et.calendarContent({class:null==I?void 0:I.calendarContent})}}),getTimeInputProps:()=>{var e,n;return ep?{...U,value:ee.timeValue,onChange:ee.setTimeValue,granularity:ed,minValue:null!=z?z:void 0,maxValue:null!=W?W:void 0,classNames:{base:et.timeInput({class:(0,D.W)(null==I?void 0:I.timeInput,null==(e=null==H?void 0:H.classNames)?void 0:e.base)}),label:et.timeInputLabel({class:(0,D.W)(null==I?void 0:I.timeInputLabel,null==(n=null==H?void 0:H.classNames)?void 0:n.label)})}}:{}},getSelectorIconProps:()=>({...Y,className:et.selectorIcon({class:null==I?void 0:I.selectorIcon})})}}},30387:function(e,n,t){t.d(n,{J:function(){return f}});var o=t(59358),u=t(89458),r=t(7653),a=t(44058),l=t(78885),i=t(64414),s=t(64374),c=t(11179),d=t(63993),p=t(40293),m=t(27573);function b(e,n){let{state:t,endContent:a,selectorIcon:b,showTimeField:f,disableAnimation:g,isCalendarHeaderExpanded:v,getDateInputProps:h,getPopoverProps:C,getTimeInputProps:x,getSelectorButtonProps:y,getSelectorIconProps:$,getCalendarProps:B,CalendarTopContent:A,CalendarBottomContent:D}=(0,u.k)({...e,ref:n}),P=(0,r.isValidElement)(b)?(0,r.cloneElement)(b,$()):(0,m.jsx)(p.w,{...$()}),w=(0,r.useMemo)(()=>v?null:f?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(i.d,{...x()}),D]}):D,[t,f,D,v]),E=(0,r.useMemo)(()=>v?null:A,[f,A,v]),k=t.isOpen?(0,m.jsx)(c.q,{...C(),children:(0,m.jsx)(d.t,{...B(),bottomContent:w,topContent:E})}):null;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(s.N,{...h(),endContent:(0,m.jsx)(l.A,{...y(),children:a||P})}),g?k:(0,m.jsx)(o.M,{children:k})]})}b.displayName="NextUI.DatePicker";var f=(0,a.Gp)(b)},79345:function(e,n,t){t.r(n),t.d(n,{DatePicker:function(){return o.J},DateRangePicker:function(){return u.o},DateRangePickerField:function(){return r.l},useDatePicker:function(){return a.k},useDateRangePicker:function(){return l.w}});var o=t(30387),u=t(98192),r=t(39261),a=t(89458),l=t(42340)},56060:function(e,n,t){t.r(n),t.d(n,{Dropdown:function(){return r.F},DropdownItem:function(){return l.W},DropdownMenu:function(){return o.a},DropdownSection:function(){return i.d},DropdownTrigger:function(){return u.S},useDropdown:function(){return a.x}});var o=t(52114),u=t(49704),r=t(34827),a=t(78320),l=t(84949),i=t(51842)},75005:function(e,n,t){t.d(n,{ResizablePanel:function(){return o.e}});var o=t(9043)},49345:function(e,n,t){t.r(n),t.d(n,{Image:function(){return o.J},useImage:function(){return u.d}});var o=t(40834),u=t(75603)},41727:function(e,n,t){t.r(n),t.d(n,{Input:function(){return o.Y},Textarea:function(){return u.Y},useInput:function(){return r.G}});var o=t(41371),u=t(59785),r=t(337)},85922:function(e,n,t){t.r(n),t.d(n,{Link:function(){return r.O},LinkIcon:function(){return u},useLink:function(){return a.n}});var o=t(27573),u=()=>(0,o.jsxs)("svg",{"aria-hidden":"true",className:"flex mx-1 text-current self-center",fill:"none",height:"1em",shapeRendering:"geometricPrecision",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",children:[(0,o.jsx)("path",{d:"M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6"}),(0,o.jsx)("path",{d:"M15 3h6v6"}),(0,o.jsx)("path",{d:"M10 14L21 3"})]}),r=t(56146),a=t(89703)},92757:function(e,n,t){t.d(n,{y:function(){return o}});var o=t(16255).$},49846:function(e,n,t){t.r(n),t.d(n,{Listbox:function(){return u.X},ListboxItem:function(){return a.R},ListboxSection:function(){return o.y},useListbox:function(){return r.t}});var o=t(92757),u=t(9066),r=t(55572),a=t(40896)},51842:function(e,n,t){t.d(n,{d:function(){return o}});var o=t(16255).$},59169:function(e,n,t){t.r(n),t.d(n,{Menu:function(){return u.U},MenuItem:function(){return a.W},MenuSection:function(){return o.d},useMenu:function(){return r.H}});var o=t(51842),u=t(12533),r=t(90403),a=t(84949)},20131:function(e,n,t){t.r(n),t.d(n,{Modal:function(){return l.R},ModalBody:function(){return o.I},ModalContent:function(){return u.A},ModalFooter:function(){return r.R},ModalHeader:function(){return a.k},ModalProvider:function(){return s.D},useDisclosure:function(){return c.q},useModal:function(){return i.d},useModalContext:function(){return s.v}});var o=t(4666),u=t(82417),r=t(90883),a=t(92959),l=t(71738),i=t(10696),s=t(13655),c=t(27528)},63773:function(e,n,t){t.r(n),t.d(n,{Navbar:function(){return o.R},NavbarBrand:function(){return p},NavbarContent:function(){return m.U},NavbarItem:function(){return b.k},NavbarMenu:function(){return u.$},NavbarMenuItem:function(){return v},NavbarMenuToggle:function(){return h.L},NavbarProvider:function(){return a.V},useNavbar:function(){return r.R},useNavbarContext:function(){return a.q}});var o=t(92354),u=t(47150),r=t(49600),a=t(24778),l=t(44058),i=t(7194),s=t(24203),c=t(27573),d=(0,l.Gp)((e,n)=>{var t;let{as:o,className:u,children:r,...l}=e,d=(0,i.gy)(n),{slots:p,classNames:m}=(0,a.q)(),b=(0,s.W)(null==m?void 0:m.brand,u);return(0,c.jsx)(o||"div",{ref:d,className:null==(t=p.brand)?void 0:t.call(p,{class:b}),...l,children:r})});d.displayName="NextUI.NavbarBrand";var p=d,m=t(76584),b=t(8137),f=t(69221),g=(0,l.Gp)((e,n)=>{var t;let{className:o,children:u,isActive:r,...l}=e,d=(0,i.gy)(n),{slots:p,isMenuOpen:m,classNames:b}=(0,a.q)(),g=(0,s.W)(null==b?void 0:b.menuItem,o);return(0,c.jsx)("li",{ref:d,className:null==(t=p.menuItem)?void 0:t.call(p,{class:g}),"data-active":(0,f.PB)(r),"data-open":(0,f.PB)(m),...l,children:u})});g.displayName="NextUI.NavbarMenuItem";var v=g,h=t(32788)},74623:function(e,n,t){t.r(n),t.d(n,{Pagination:function(){return o.g},PaginationCursor:function(){return u.I},PaginationItem:function(){return r.x},PaginationItemType:function(){return i.m},usePagination:function(){return l.h},usePaginationItem:function(){return a.D}});var o=t(47716),u=t(5928),r=t(96028),a=t(8826),l=t(39093),i=t(47812)},8224:function(e,n,t){t.r(n),t.d(n,{FreeSoloPopover:function(){return o.q},Popover:function(){return a.j},PopoverContent:function(){return u.g},PopoverProvider:function(){return l.H},PopoverTrigger:function(){return r.b},usePopover:function(){return i.S},usePopoverContext:function(){return l.l}});var o=t(11179),u=t(939),r=t(99562),a=t(14619),l=t(57995),i=t(3585)},54472:function(e,n,t){t.d(n,{W:function(){return l}});var o=t(68819),u=t(44058),r=t(27573),a=(0,u.Gp)((e,n)=>{let{Component:t,slots:u,classNames:a,label:l,percentage:i,showValueLabel:s,getProgressBarProps:c,getLabelProps:d}=(0,o.S)({...e,ref:n}),p=c(),m=l||s;return(0,r.jsxs)(t,{...p,children:[m?(0,r.jsxs)("div",{className:u.labelWrapper({class:null==a?void 0:a.labelWrapper}),children:[l&&(0,r.jsx)("span",{...d(),children:l}),s&&(0,r.jsx)("span",{className:u.value({class:null==a?void 0:a.value}),children:p["aria-valuetext"]})]}):null,(0,r.jsx)("div",{className:u.track({class:null==a?void 0:a.track}),children:(0,r.jsx)("div",{className:u.indicator({class:null==a?void 0:a.indicator}),style:{transform:"translateX(-".concat(100-(i||0),"%)")}})})]})});a.displayName="NextUI.Progress";var l=a},68819:function(e,n,t){t.d(n,{S:function(){return f}});var o=t(99426),u=t(44058),r=(0,t(32043).tv)({slots:{base:"flex flex-col gap-2 w-full",label:"",labelWrapper:"flex justify-between",value:"",track:"z-0 relative bg-default-300/50 overflow-hidden",indicator:"h-full"},variants:{color:{default:{indicator:"bg-default-400"},primary:{indicator:"bg-primary"},secondary:{indicator:"bg-secondary"},success:{indicator:"bg-success"},warning:{indicator:"bg-warning"},danger:{indicator:"bg-danger"}},size:{sm:{label:"text-small",value:"text-small",track:"h-1"},md:{label:"text-medium",value:"text-medium",track:"h-3"},lg:{label:"text-large",value:"text-large",track:"h-5"}},radius:{none:{track:"rounded-none",indicator:"rounded-none"},sm:{track:"rounded-small",indicator:"rounded-small"},md:{track:"rounded-medium",indicator:"rounded-medium"},lg:{track:"rounded-large",indicator:"rounded-large"},full:{track:"rounded-full",indicator:"rounded-full"}},isStriped:{true:{indicator:"bg-stripe-gradient bg-[length:1.25rem_1.25rem]"}},isIndeterminate:{true:{indicator:["absolute","w-full","origin-left","animate-indeterminate-bar"]}},isDisabled:{true:{base:"opacity-disabled cursor-not-allowed"}},disableAnimation:{true:{},false:{indicator:"transition-transform !duration-500"}}},defaultVariants:{color:"primary",size:"md",radius:"full",isStriped:!1,isIndeterminate:!1,isDisabled:!1},compoundVariants:[{disableAnimation:!0,isIndeterminate:!1,class:{indicator:"!transition-none motion-reduce:transition-none"}}]},{twMerge:!0}),a=t(7194),l=t(24203),i=t(39592),s=t(27138),c=t(69221),d=t(42184),p=t(7653),m=t(11832),b=t(76600);function f(e){var n,t;let f=(0,o.w)(),[g,v]=(0,u.oe)(e,r.variantKeys),{ref:h,as:C,id:x,className:y,classNames:$,label:B,valueLabel:A,value:D=0,minValue:P=0,maxValue:w=100,showValueLabel:E=!1,formatOptions:k={style:"percent"},...I}=g,T=(0,a.gy)(h),N=(0,l.W)(null==$?void 0:$.base,y),[,S]=(0,m.t)({rerender:!0,delay:100}),F=e.isIndeterminate,j=null!=(t=null!=(n=e.disableAnimation)?n:null==f?void 0:f.disableAnimation)&&t,{progressBarProps:M,labelProps:O}=(0,b.D)({id:x,label:B,value:D,minValue:P,maxValue:w,valueLabel:A,formatOptions:k,isIndeterminate:F,"aria-labelledby":e["aria-labelledby"],"aria-label":e["aria-label"]}),L=(0,p.useMemo)(()=>r({...v,disableAnimation:j}),[(0,i.Xx)(v),j]),V=!!j||S,R=(0,p.useMemo)(()=>F||!V?void 0:(0,s.Ez)((D-P)/(w-P)*100),[V,F,D,P,w]),G=(0,p.useCallback)(function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ref:T,"data-indeterminate":(0,c.PB)(F),"data-disabled":(0,c.PB)(e.isDisabled),className:L.base({class:N}),...(0,d.d)(M,I,n)}},[T,L,F,e.isDisabled,N,M,I]),z=(0,p.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{className:L.label({class:null==$?void 0:$.label}),...(0,d.d)(O,e)}},[L,$,O]);return{Component:C||"div",domRef:T,slots:L,classNames:$,label:B,percentage:R,showValueLabel:E,getProgressBarProps:G,getLabelProps:z}}},73107:function(e,n,t){t.r(n),t.d(n,{CircularProgress:function(){return o.Z},Progress:function(){return u.W},useProgress:function(){return r.S}});var o=t(53242),u=t(54472),r=t(68819)},35232:function(e,n,t){t.r(n),t.d(n,{Radio:function(){return u.J},RadioGroup:function(){return o.X},RadioGroupProvider:function(){return l.X},useRadio:function(){return a.x},useRadioGroup:function(){return r.a},useRadioGroupContext:function(){return l.F}});var o=t(66719),u=t(33658),r=t(65966),a=t(62844),l=t(79908)},82520:function(e,n,t){t.r(n),t.d(n,{Ripple:function(){return o.L},useRipple:function(){return u.i}});var o=t(2863),u=t(69788)},79867:function(e,n,t){t.r(n),t.d(n,{ScrollShadow:function(){return o.o},useScrollShadow:function(){return u.p}});var o=t(83788),u=t(26957)},34914:function(e,n,t){t.r(n),t.d(n,{Select:function(){return o.g},SelectItem:function(){return r.R},SelectSection:function(){return a.y},useSelect:function(){return u.L}});var o=t(39043),u=t(33964),r=t(40896),a=t(92757)},50430:function(e,n,t){t.d(n,{oA:function(){return r},sF:function(){return u}});var o=t(69221),u=(e,n)=>(0,o.Kn)(e)?e instanceof Array?[...e]:e[n]:e;function r(e){let n=Object.assign({},e);for(let e in n)void 0===n[e]&&delete n[e];return n}},90285:function(e,n,t){t.r(n),t.d(n,{Skeleton:function(){return o.X},useSkeleton:function(){return u.q}});var o=t(36128),u=t(1360)},30398:function(e,n,t){t.r(n),t.d(n,{Slider:function(){return o.L},useSlider:function(){return u.o}});var o=t(20385),u=t(8479)},78976:function(e,n,t){t.r(n),t.d(n,{Snippet:function(){return y},useSnippet:function(){return b}});var o=t(49004),u=(0,t(32043).tv)({slots:{base:"inline-flex items-center justify-between h-fit rounded-large gap-2",pre:"bg-transparent text-inherit font-mono font-normal inline-block whitespace-nowrap",content:"flex flex-col",symbol:"select-none",copyButton:["group","relative","z-10","text-large","text-inherit","data-[hover=true]:bg-transparent"],copyIcon:["absolute text-inherit opacity-100 scale-100 group-data-[copied=true]:opacity-0 group-data-[copied=true]:scale-50"],checkIcon:["absolute text-inherit opacity-0 scale-50 group-data-[copied=true]:opacity-100 group-data-[copied=true]:scale-100"]},variants:{variant:{flat:"",solid:"",bordered:"border-medium bg-transparent",shadow:""},color:{default:{},primary:{},secondary:{},success:{},warning:{},danger:{}},size:{sm:{base:"px-1.5 py-0.5 text-tiny rounded-small"},md:{base:"px-3 py-1.5 text-small rounded-medium"},lg:{base:"px-4 py-2 text-medium rounded-large"}},radius:{none:{base:"rounded-none"},sm:{base:"rounded-small"},md:{base:"rounded-medium"},lg:{base:"rounded-large"}},fullWidth:{true:{base:"w-full"}},disableAnimation:{true:{},false:{copyIcon:"transition-transform-opacity",checkIcon:"transition-transform-opacity"}}},defaultVariants:{color:"default",variant:"flat",size:"md",fullWidth:!1},compoundVariants:[{variant:["solid","shadow"],color:"default",class:{copyButton:"data-[focus-visible]:outline-default-foreground"}},{variant:["solid","shadow"],color:"primary",class:{copyButton:"data-[focus-visible]:outline-primary-foreground"}},{variant:["solid","shadow"],color:"secondary",class:{copyButton:"data-[focus-visible]:outline-secondary-foreground"}},{variant:["solid","shadow"],color:"success",class:{copyButton:"data-[focus-visible]:outline-success-foreground"}},{variant:["solid","shadow"],color:"warning",class:{copyButton:"data-[focus-visible]:outline-warning-foreground"}},{variant:["solid","shadow"],color:"danger",class:{copyButton:"data-[focus-visible]:outline-danger-foreground"}},{variant:"flat",color:"default",class:{base:o.J.flat.default}},{variant:"flat",color:"primary",class:{base:o.J.flat.primary}},{variant:"flat",color:"secondary",class:{base:o.J.flat.secondary}},{variant:"flat",color:"success",class:{base:o.J.flat.success}},{variant:"flat",color:"warning",class:{base:o.J.flat.warning}},{variant:"flat",color:"danger",class:{base:o.J.flat.danger}},{variant:"solid",color:"default",class:{base:o.J.solid.default}},{variant:"solid",color:"primary",class:{base:o.J.solid.primary}},{variant:"solid",color:"secondary",class:{base:o.J.solid.secondary}},{variant:"solid",color:"success",class:{base:o.J.solid.success}},{variant:"solid",color:"warning",class:{base:o.J.solid.warning}},{variant:"solid",color:"danger",class:{base:o.J.solid.danger}},{variant:"shadow",color:"default",class:{base:o.J.shadow.default}},{variant:"shadow",color:"primary",class:{base:o.J.shadow.primary}},{variant:"shadow",color:"secondary",class:{base:o.J.shadow.secondary}},{variant:"shadow",color:"success",class:{base:o.J.shadow.success}},{variant:"shadow",color:"warning",class:{base:o.J.shadow.warning}},{variant:"shadow",color:"danger",class:{base:o.J.shadow.danger}},{variant:"bordered",color:"default",class:{base:o.J.bordered.default}},{variant:"bordered",color:"primary",class:{base:o.J.bordered.primary}},{variant:"bordered",color:"secondary",class:{base:o.J.bordered.secondary}},{variant:"bordered",color:"success",class:{base:o.J.bordered.success}},{variant:"bordered",color:"warning",class:{base:o.J.bordered.warning}},{variant:"bordered",color:"danger",class:{base:o.J.bordered.danger}}]}),r=t(99426),a=t(44058),l=t(7194),i=t(57799),s=t(39592),c=t(24203),d=t(69221),p=t(7653),m=t(52111);function b(e){var n,t,o,b;let f=(0,r.w)(),[g,v]=(0,a.oe)(e,u.variantKeys),{ref:h,as:C,children:x,symbol:y="$",classNames:$,timeout:B,copyIcon:A,checkIcon:D,codeString:P,disableCopy:w=!1,disableTooltip:E=!1,hideCopyButton:k=!1,autoFocus:I=!1,hideSymbol:T=!1,onCopy:N,tooltipProps:S={},copyButtonProps:F={},className:j,...M}=g,O=C||"div",L="string"==typeof O,V=null!=(t=null!=(n=null==e?void 0:e.disableAnimation)?n:null==f?void 0:f.disableAnimation)&&t,R={offset:15,delay:1e3,content:"Copy to clipboard",color:null!=(b=null==e?void 0:e.color)?b:null==(o=u.defaultVariants)?void 0:o.color,isDisabled:g.disableCopy,...S},G=(0,l.gy)(h),z=(0,p.useRef)(null),{copy:W,copied:K}=function({timeout:e=2e3}={}){let[n,t]=(0,p.useState)(null),[o,u]=(0,p.useState)(!1),[r,a]=(0,p.useState)(null),l=()=>{r&&clearTimeout(r)},i=n=>{l(),a(setTimeout(()=>u(!1),e)),u(n)};return{copy:e=>{"clipboard"in navigator?navigator.clipboard.writeText(e).then(()=>i(!0)).catch(e=>t(e)):t(Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{u(!1),t(null),l()},error:n,copied:o}}({timeout:B}),J=x&&Array.isArray(x),{isFocusVisible:U,isFocused:Z,focusProps:q}=(0,m.F)({autoFocus:I}),X=(0,p.useMemo)(()=>u({...v,disableAnimation:V}),[(0,s.Xx)(v),V]),H=(0,p.useMemo)(()=>{if(!y||"string"!=typeof y)return y;let e=y.trim();return e?"".concat(e," "):""},[y]),_=(0,c.W)(null==$?void 0:$.base,j),Y=(0,p.useCallback)(()=>({className:X.base({class:_}),...(0,i.z)(M,{enabled:L})}),[X,_,J,M]),Q=(0,p.useCallback)(()=>{var e;if(w)return;let n="";"string"==typeof x?n=x:Array.isArray(x)&&x.forEach(e=>{var t,o;let u="string"==typeof e?e:null==(o=null==(t=null==e?void 0:e.props)?void 0:t.children)?void 0:o.toString();u&&(n+=u+"\n")});let t=P||n||(null==(e=z.current)?void 0:e.textContent)||"";W(t),null==N||N(t)},[W,P,w,N,x]),ee={"aria-label":"string"==typeof R.content?R.content:"Copy to clipboard",size:"sm",variant:"light",isDisabled:w,onPress:Q,isIconOnly:!0,...F},en=(0,p.useCallback)(()=>({...ee,"data-copied":(0,d.PB)(K),className:X.copyButton({class:(0,c.W)(null==$?void 0:$.copyButton)})}),[X,U,Z,w,null==$?void 0:$.copyButton,ee,q]);return{Component:O,as:C,domRef:G,preRef:z,children:x,slots:X,classNames:$,copied:K,onCopy:Q,copyIcon:A,checkIcon:D,symbolBefore:H,isMultiLine:J,isFocusVisible:U,hideCopyButton:k,disableCopy:w,disableTooltip:E,hideSymbol:T,tooltipProps:R,getSnippetProps:Y,getCopyButtonProps:en}}var f=t(7259),g=t(27573),v=e=>(0,g.jsxs)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",viewBox:"0 0 24 24",width:"1em",...e,children:[(0,g.jsx)("path",{d:"M16 17.1c0 3.5-1.4 4.9-4.9 4.9H6.9C3.4 22 2 20.6 2 17.1v-4.2C2 9.4 3.4 8 6.9 8h4.2c3.5 0 4.9 1.4 4.9 4.9Z"}),(0,g.jsx)("path",{d:"M8 8V6.9C8 3.4 9.4 2 12.9 2h4.2C20.6 2 22 3.4 22 6.9v4.2c0 3.5-1.4 4.9-4.9 4.9H16"}),(0,g.jsx)("path",{d:"M16 12.9C16 9.4 14.6 8 11.1 8"})]}),h=e=>(0,g.jsx)("svg",{"aria-hidden":"true",fill:"none",focusable:"false",height:"1em",role:"presentation",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",width:"1em",...e,children:(0,g.jsx)("polyline",{points:"20 6 9 17 4 12"})}),C=t(78885),x=(0,a.Gp)((e,n)=>{let{Component:t,domRef:o,preRef:u,children:r,slots:a,classNames:l,copied:i,copyIcon:c=(0,g.jsx)(v,{}),checkIcon:d=(0,g.jsx)(h,{}),symbolBefore:m,disableCopy:x,disableTooltip:y,hideSymbol:$,hideCopyButton:B,tooltipProps:A,isMultiLine:D,onCopy:P,getSnippetProps:w,getCopyButtonProps:E}=b({...e,ref:n}),k=(0,p.useCallback)(e=>{let{children:n}=e;return(0,g.jsx)(f.e,{...A,isDisabled:i||A.isDisabled,children:n})},[(0,s.Xx)(A)]),I=(0,p.useMemo)(()=>{if(B)return null;let e=d&&(0,p.cloneElement)(d,{className:a.checkIcon()}),n=c&&(0,p.cloneElement)(c,{className:a.copyIcon()}),t=(0,g.jsxs)(C.A,{...E(),children:[e,n]});return y?t:(0,g.jsx)(k,{children:t})},[a,null==l?void 0:l.copyButton,i,d,c,P,k,x,y,B]),T=(0,p.useMemo)(()=>D&&r&&Array.isArray(r)?(0,g.jsx)("div",{className:a.content({class:null==l?void 0:l.content}),children:r.map((e,n)=>(0,g.jsxs)("pre",{className:a.pre({class:null==l?void 0:l.pre}),children:[!$&&(0,g.jsx)("span",{className:a.symbol({class:null==l?void 0:l.symbol}),children:m}),e]},"".concat(n,"-").concat(e)))}):(0,g.jsxs)("pre",{ref:u,className:a.pre({class:null==l?void 0:l.pre}),children:[!$&&(0,g.jsx)("span",{className:a.symbol({class:null==l?void 0:l.symbol}),children:m}),r]}),[r,$,D,m,null==l?void 0:l.pre,a]);return(0,g.jsxs)(t,{ref:o,...w(),children:[T,I]})});x.displayName="NextUI.Snippet";var y=x},9851:function(e,n,t){t.r(n),t.d(n,{Switch:function(){return o.i},useSwitch:function(){return u.h}});var o=t(65955),u=t(73970)},54743:function(e,n,t){t.r(n),t.d(n,{NextUIProvider:function(){return o.w},ProviderContext:function(){return u.a},extendVariants:function(){return c},forwardRef:function(){return r.Gp},isNextUIEl:function(){return r.ME},mapPropsVariants:function(){return r.oe},mapPropsVariantsWithCommon:function(){return r.Sz},toIterator:function(){return r.Jw},useProviderContext:function(){return u.w}});var o=t(62221),u=t(99426),r=t(44058),a=t(7653),l=t(32043),i=function(){for(var e,n,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(n=function e(n){var t,o,u="";if("string"==typeof n||"number"==typeof n)u+=n;else if("object"==typeof n){if(Array.isArray(n))for(t=0;t<n.length;t++)n[t]&&(o=e(n[t]))&&(u&&(u+=" "),u+=o);else for(t in n)n[t]&&(u&&(u+=" "),u+=t)}return u}(e))&&(o&&(o+=" "),o+=n);return o};function s({props:e={},variants:n,slots:t,defaultVariants:o,compoundVariants:u,hasSlots:a,opts:s}){var c,d,p;if(o&&"object"==typeof o)for(let n in o){let t=o[n],u=null==e?void 0:e[n];u&&u!==t&&delete o[n]}let m=(0,l.tv)({variants:n,defaultVariants:o,compoundVariants:u,...a&&{slots:t}},{twMerge:null==(c=s.twMerge)||c,twMergeConfig:null!=(d=s.twMergeConfig)?d:{}}),[b,f]=(0,r.oe)(e,m.variantKeys,!1),g={...o,...b},v={},h=m(f);return a?(Object.entries(h).forEach(([e,n])=>{let t=n();"string"==typeof t&&(v[e]=t)}),Object.entries(null!=(p=e.classNames)?p:{}).forEach(([e,n])=>{v[e]=i(v[e],n)})):g.className=i(h,e.className),0!==Object.keys(v).length&&(g.classNames=v),g}function c(e,n={},t={}){let{variants:o,defaultVariants:u,compoundVariants:r}=n||{},l=o?Object.values(o).flatMap(Object.values).reduce((e,n)=>("object"!=typeof n||null===n||n instanceof String||Object.keys(n).forEach(n=>{e.hasOwnProperty(n)||(e[n]="")}),e),{}):{},i="object"==typeof l&&0!==Object.keys(l).length,c=a.forwardRef((n={},c)=>{let d=a.useMemo(()=>s({slots:l,variants:o,compoundVariants:r,props:n,defaultVariants:u,hasSlots:i,opts:t},[n]));return a.createElement(e,{...n,...d,ref:c})});return e.getCollectionNode&&(c.getCollectionNode=n=>{let a=s({slots:l,variants:o,compoundVariants:r,props:n,defaultVariants:u,hasSlots:i,opts:t});return e.getCollectionNode({...n,...a})}),c.displayName=`Extended(${e.displayName||e.name})`,c}},41336:function(e,n,t){t.r(n),t.d(n,{Table:function(){return o.b},TableBody:function(){return a.y},TableCell:function(){return l.X},TableColumn:function(){return i.j},TableHeader:function(){return s.J},TableRow:function(){return r.g},getKeyValue:function(){return c.sF},useTable:function(){return u.x}});var o=t(10869),u=t(30801),r=t(59517),a=t(2310),l=t(66485),i=t(63495),s=t(86958),c=t(50430)},34568:function(e,n,t){t.r(n),t.d(n,{Tab:function(){return r.r},Tabs:function(){return o.n},useTabs:function(){return u.Y}});var o=t(30875),u=t(81836),r=t(14037)},61445:function(e,n,t){t.r(n),t.d(n,{Tooltip:function(){return o.e},useTooltip:function(){return u.l}});var o=t(7259),u=t(50799)},27528:function(e,n,t){t.d(n,{q:function(){return l}});var o=t(86807),u=t(55975),r=t(8049),a=t(7653);function l(e={}){let{id:n,defaultOpen:t,isOpen:l,onClose:i,onOpen:s,onChange:c=()=>{}}=e,d=(0,r.W)(s),p=(0,r.W)(i),[m,b]=(0,u.z)(l,t||!1,c),f=(0,a.useId)(),g=n||f,v=void 0!==l,h=(0,a.useCallback)(()=>{v||b(!1),null==p||p()},[v,p]),C=(0,a.useCallback)(()=>{v||b(!0),null==d||d()},[v,d]),x=(0,a.useCallback)(()=>{(m?h:C)()},[m,C,h]);return{isOpen:!!m,onOpen:C,onClose:h,onOpenChange:x,isControlled:v,getButtonProps:(e={})=>({...e,"aria-expanded":m,"aria-controls":g,onClick:(0,o.t)(e.onClick,x)}),getDisclosureProps:(e={})=>({...e,hidden:!m,id:g})}}},32704:function(e,n,t){t.r(n),t.d(n,{User:function(){return h},useUser:function(){return m}});var o=t(7653),u=t(52111),r=t(32043),a=t(41502),l=(0,r.tv)({slots:{base:["inline-flex items-center justify-center gap-2 rounded-small outline-none",...a.Dh],wrapper:"inline-flex flex-col items-start",name:"text-small text-inherit",description:"text-tiny text-foreground-400"}}),i=t(24203),s=t(69221),c=t(57799),d=t(7194),p=t(42184);function m(e){let{as:n,ref:t,name:r,description:a,className:m,classNames:b,isFocusable:f=!1,avatarProps:g={},...v}=e,h={isFocusable:!1,name:"string"==typeof r?r:void 0,...g},C=n||"div",x="string"==typeof C,y=(0,d.gy)(t),{isFocusVisible:$,isFocused:B,focusProps:A}=(0,u.F)({}),D=(0,o.useMemo)(()=>f||"button"===n,[f,n]),P=(0,o.useMemo)(()=>l(),[]),w=(0,i.W)(null==b?void 0:b.base,m),E=(0,o.useCallback)(()=>({ref:y,tabIndex:D?0:-1,"data-focus-visible":(0,s.PB)($),"data-focus":(0,s.PB)(B),className:P.base({class:w}),...(0,p.d)((0,c.z)(v,{enabled:x}),D?A:{})}),[D,P,w,A,v]);return{Component:C,className:m,slots:P,name:r,description:a,classNames:b,baseStyles:w,avatarProps:h,getUserProps:E}}var b=t(44058),f=t(97764),g=t(27573),v=(0,b.Gp)((e,n)=>{let{Component:t,name:o,slots:u,classNames:r,description:a,avatarProps:l,getUserProps:i}=m({...e,ref:n});return(0,g.jsxs)(t,{...i(),children:[(0,g.jsx)(f.h,{...l}),(0,g.jsxs)("div",{className:u.wrapper({class:null==r?void 0:r.wrapper}),children:[(0,g.jsx)("span",{className:u.name({class:null==r?void 0:r.name}),children:o}),(0,g.jsx)("span",{className:u.description({class:null==r?void 0:r.description}),children:a})]})]})});v.displayName="NextUI.User";var h=v},16255:function(e,n,t){t.d(n,{$:function(){return r}});var o=t(7653);function u(e){return null}u.getCollectionNode=function*(e){let{children:n,title:t,items:u}=e;yield{type:"section",props:e,hasChildNodes:!0,rendered:t,"aria-label":e["aria-label"],*childNodes(){if("function"==typeof n){if(!u)throw Error("props.children was a function but props.items is missing");for(let e of u)yield{type:"item",value:e,renderer:n}}else{let e=[];o.Children.forEach(n,n=>{e.push({type:"item",element:n})}),yield*e}}}};let r=u}}]);
//# sourceMappingURL=4955-e38e653b44d18ffa.js.map