@baseline-ui/core 3.9.1 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/dist/Accordion.mjs +1 -1
  2. package/dist/ActionButton.mjs +1 -1
  3. package/dist/ActionGroup.mjs +1 -1
  4. package/dist/ActionIconButton.mjs +1 -1
  5. package/dist/Actionable.mjs +1 -1
  6. package/dist/AlertDialog.mjs +1 -1
  7. package/dist/AudioPlayer.mjs +1 -1
  8. package/dist/Breadcrumbs.mjs +1 -1
  9. package/dist/ButtonSelect.mjs +1 -1
  10. package/dist/Calendar.mjs +1 -1
  11. package/dist/Checkbox.mjs +1 -1
  12. package/dist/ColorInput.mjs +1 -1
  13. package/dist/ColorSwatch.mjs +1 -1
  14. package/dist/ColorSwatchPicker.mjs +1 -1
  15. package/dist/ComboBox.mjs +1 -1
  16. package/dist/DateField.mjs +1 -1
  17. package/dist/Dialog.mjs +1 -1
  18. package/dist/Disclosure.mjs +1 -1
  19. package/dist/DomNodeRenderer.mjs +1 -1
  20. package/dist/Drawer.mjs +1 -1
  21. package/dist/Editor.mjs +1 -1
  22. package/dist/FileInput.mjs +1 -1
  23. package/dist/FileList.css +1 -1
  24. package/dist/FileList.mjs +1 -1
  25. package/dist/FileUploader.mjs +1 -1
  26. package/dist/FrameProvider.mjs +1 -1
  27. package/dist/FreehandCanvas.mjs +1 -1
  28. package/dist/GridList.mjs +1 -1
  29. package/dist/Group.mjs +1 -1
  30. package/dist/Icon.mjs +1 -1
  31. package/dist/Image.mjs +1 -1
  32. package/dist/ImageDropZone.mjs +1 -1
  33. package/dist/ImageGallery.mjs +1 -1
  34. package/dist/InlineAlert.mjs +1 -1
  35. package/dist/InlineToolbar.mjs +2 -2
  36. package/dist/Kbd.mjs +1 -1
  37. package/dist/Link.mjs +1 -1
  38. package/dist/ListBox.mjs +1 -1
  39. package/dist/Markdown.css +1 -1
  40. package/dist/Markdown.mjs +1 -1
  41. package/dist/Menu.mjs +1 -1
  42. package/dist/MessageFormat.mjs +1 -1
  43. package/dist/Modal.mjs +1 -1
  44. package/dist/NumberInput.mjs +1 -1
  45. package/dist/Pagination.mjs +1 -1
  46. package/dist/Panel.mjs +1 -1
  47. package/dist/PointPicker.mjs +1 -1
  48. package/dist/Popover.mjs +1 -1
  49. package/dist/Portal.mjs +1 -1
  50. package/dist/Preview.mjs +1 -1
  51. package/dist/ProgressBar.mjs +1 -1
  52. package/dist/ProgressSpinner.mjs +1 -1
  53. package/dist/RadioGroup.css +1 -1
  54. package/dist/RadioGroup.mjs +1 -1
  55. package/dist/Reaction.mjs +1 -1
  56. package/dist/ScrollControlButton.css +1 -1
  57. package/dist/ScrollControlButton.mjs +1 -1
  58. package/dist/SearchInput.mjs +1 -1
  59. package/dist/Select.mjs +1 -1
  60. package/dist/Slider.mjs +1 -1
  61. package/dist/Stepper.mjs +1 -1
  62. package/dist/Switch.mjs +1 -1
  63. package/dist/Table.mjs +1 -1
  64. package/dist/Tabs.mjs +1 -1
  65. package/dist/Tag.mjs +1 -1
  66. package/dist/TagGroup.mjs +1 -1
  67. package/dist/TaggedPagination.mjs +1 -1
  68. package/dist/Text.mjs +1 -1
  69. package/dist/TextInput.mjs +1 -1
  70. package/dist/ThemeProvider.mjs +1 -1
  71. package/dist/TimeField.mjs +1 -1
  72. package/dist/Toast.mjs +1 -1
  73. package/dist/ToggleButton.mjs +1 -1
  74. package/dist/ToggleIconButton.mjs +1 -1
  75. package/dist/Toolbar.mjs +1 -1
  76. package/dist/Tooltip.mjs +1 -1
  77. package/dist/TreeView.mjs +1 -1
  78. package/dist/UNSAFE_ListBox.mjs +1 -1
  79. package/dist/Virtualizer.mjs +1 -1
  80. package/dist/{chunk-E3TD3EJQ.mjs → chunk-23OLSA2X.mjs} +2 -2
  81. package/dist/{chunk-X6K4M542.mjs → chunk-24WOG72O.mjs} +2 -2
  82. package/dist/{chunk-GLIN7JAI.mjs → chunk-2CE6LGIB.mjs} +1 -1
  83. package/dist/{chunk-YK3KAPIK.mjs → chunk-2CFMM7MZ.mjs} +2 -2
  84. package/dist/{chunk-WSRXTVYB.mjs → chunk-2KRVQJDA.mjs} +2 -2
  85. package/dist/{chunk-SCJ3RG7B.mjs → chunk-2MNK24YJ.mjs} +1 -1
  86. package/dist/{chunk-3PBFSDMT.mjs → chunk-2PTLJDIT.mjs} +1 -1
  87. package/dist/{chunk-YSQ3YHJN.mjs → chunk-2TMQUHHU.mjs} +1 -1
  88. package/dist/chunk-3A7ZISTE.mjs +10 -0
  89. package/dist/{chunk-DOFT4BQH.mjs → chunk-3EFE2WAJ.mjs} +1 -1
  90. package/dist/{chunk-CKUHFL5G.mjs → chunk-3HJAQJWA.mjs} +1 -1
  91. package/dist/chunk-3IHIKAT4.mjs +10 -0
  92. package/dist/chunk-3JHXI33A.mjs +10 -0
  93. package/dist/chunk-3K6XNSYE.mjs +10 -0
  94. package/dist/chunk-3LS73XVI.mjs +10 -0
  95. package/dist/chunk-3P25UGHE.mjs +10 -0
  96. package/dist/{chunk-BFW26T6V.mjs → chunk-43U6RZ5C.mjs} +2 -2
  97. package/dist/{chunk-54MWEZUP.mjs → chunk-46UWKP7W.mjs} +1 -1
  98. package/dist/chunk-4CMATAQ2.mjs +10 -0
  99. package/dist/{chunk-F3EOLTFM.mjs → chunk-4FN6UAXD.mjs} +1 -1
  100. package/dist/{chunk-NWYRVUTX.mjs → chunk-4Y5IKZSW.mjs} +1 -1
  101. package/dist/{chunk-26YOMQXV.mjs → chunk-5B6263RO.mjs} +13 -13
  102. package/dist/{chunk-WAPBLICF.mjs → chunk-5NVCSLXT.mjs} +1 -1
  103. package/dist/{chunk-VWSTMBQK.mjs → chunk-64Y62MDR.mjs} +2 -2
  104. package/dist/{chunk-IVM5IBQS.mjs → chunk-6DVKR25T.mjs} +1 -1
  105. package/dist/{chunk-ADEALCJB.mjs → chunk-6IK2TDLH.mjs} +2 -2
  106. package/dist/{chunk-ES3IQZSH.mjs → chunk-6V7S5IG5.mjs} +2 -2
  107. package/dist/chunk-6VKIT2PF.mjs +10 -0
  108. package/dist/{chunk-OGIKNHLU.mjs → chunk-7EOAYPSZ.mjs} +2 -2
  109. package/dist/{chunk-LZEZW5RE.mjs → chunk-7LQTLZJ5.mjs} +2 -2
  110. package/dist/{chunk-IOHULFEP.mjs → chunk-A4PXU7GU.mjs} +2 -2
  111. package/dist/chunk-A52PIXOO.mjs +10 -0
  112. package/dist/chunk-AANAI2XF.mjs +10 -0
  113. package/dist/{chunk-UQJB6AGO.mjs → chunk-AB7LDKP2.mjs} +1 -1
  114. package/dist/{chunk-BPLTQDXX.mjs → chunk-ACHYZYVA.mjs} +2 -2
  115. package/dist/{chunk-JB3UIJ3I.mjs → chunk-AFJ3QV2Q.mjs} +2 -2
  116. package/dist/{chunk-NQVTVL24.mjs → chunk-AIG23SN5.mjs} +2 -2
  117. package/dist/chunk-ASIKCQC6.mjs +10 -0
  118. package/dist/{chunk-WGZUNJGH.mjs → chunk-AU3GNNEG.mjs} +2 -2
  119. package/dist/{chunk-45EAFDOZ.mjs → chunk-AYBI4SQV.mjs} +1 -1
  120. package/dist/chunk-BJHDL2HH.mjs +10 -0
  121. package/dist/chunk-BNWDQ4KX.mjs +10 -0
  122. package/dist/{chunk-QSFRMY47.mjs → chunk-BPXZ6J5G.mjs} +1 -1
  123. package/dist/{chunk-2UDXAKWA.mjs → chunk-C6TD53KY.mjs} +2 -2
  124. package/dist/chunk-CBQO7JUC.mjs +11 -0
  125. package/dist/{chunk-LN2NT32E.mjs → chunk-CE2W5D44.mjs} +1 -1
  126. package/dist/{chunk-UR42GQO4.mjs → chunk-CEUVH4UZ.mjs} +1 -1
  127. package/dist/chunk-CGBI7OB5.mjs +10 -0
  128. package/dist/chunk-CMM5JW7L.mjs +10 -0
  129. package/dist/chunk-CPX5CB4L.mjs +10 -0
  130. package/dist/{chunk-HMAVZPRE.mjs → chunk-CRNJAQPI.mjs} +1 -1
  131. package/dist/chunk-DIMNDTFC.mjs +10 -0
  132. package/dist/{chunk-KADD66HZ.mjs → chunk-DNZMQ7EA.mjs} +2 -2
  133. package/dist/{chunk-RFCTQQMD.mjs → chunk-DP76DMVO.mjs} +1 -1
  134. package/dist/{chunk-DZFNVFYT.mjs → chunk-EGSNIMDP.mjs} +1 -1
  135. package/dist/chunk-EHIGJYGW.mjs +10 -0
  136. package/dist/{chunk-U6M2GCPD.mjs → chunk-EJGGWOY5.mjs} +1 -1
  137. package/dist/chunk-EKRT3PPK.mjs +10 -0
  138. package/dist/{chunk-FDDB7QNQ.mjs → chunk-ELW6SXDM.mjs} +1 -1
  139. package/dist/{chunk-YQFS4UHL.mjs → chunk-EPWWEFTP.mjs} +1 -1
  140. package/dist/{chunk-VDUFLHKK.mjs → chunk-EYKQGC4O.mjs} +2 -2
  141. package/dist/{chunk-PLRUMLNB.mjs → chunk-FFPJBDWH.mjs} +1 -1
  142. package/dist/{chunk-KFJE5ZBK.mjs → chunk-G2IYZES5.mjs} +1 -1
  143. package/dist/chunk-G2RVM2KB.mjs +10 -0
  144. package/dist/{chunk-AALXW5AP.mjs → chunk-GAKWWL3Y.mjs} +1 -1
  145. package/dist/chunk-GHKMHXQ3.mjs +10 -0
  146. package/dist/{chunk-VYBJ36ZR.mjs → chunk-GJVQMTGA.mjs} +1 -1
  147. package/dist/chunk-GKPZBTRE.mjs +10 -0
  148. package/dist/{chunk-TN7FPPGM.mjs → chunk-GZTF5YE3.mjs} +1 -1
  149. package/dist/{chunk-RXADOJLS.mjs → chunk-HI56YXPJ.mjs} +2 -2
  150. package/dist/{chunk-R7Y36JCO.mjs → chunk-HOG4QRLG.mjs} +1 -1
  151. package/dist/chunk-HOV7MM7M.mjs +10 -0
  152. package/dist/{chunk-XKNL5LSL.mjs → chunk-HOZPCWCF.mjs} +2 -2
  153. package/dist/{chunk-IBBDZQPO.mjs → chunk-HVSDXCZP.mjs} +2 -2
  154. package/dist/{chunk-64ZD4EKW.mjs → chunk-I4F5NJUI.mjs} +1 -1
  155. package/dist/{chunk-DLJHL4V7.mjs → chunk-I5YPTKMM.mjs} +2 -2
  156. package/dist/chunk-IHCKLMWD.mjs +10 -0
  157. package/dist/chunk-IIYP5UE7.mjs +10 -0
  158. package/dist/{chunk-A2B2LTRA.mjs → chunk-IQ3Z6ZO2.mjs} +1 -1
  159. package/dist/{chunk-3COKCTB2.mjs → chunk-J4T6TE7V.mjs} +2 -2
  160. package/dist/{chunk-OS6PVCFX.mjs → chunk-JANI446W.mjs} +1 -1
  161. package/dist/{chunk-KSWXLIZH.mjs → chunk-JGKBJHX2.mjs} +1 -1
  162. package/dist/chunk-JQSZFPWJ.mjs +10 -0
  163. package/dist/{chunk-IDIZSV2Y.mjs → chunk-JYWJE6L5.mjs} +2 -2
  164. package/dist/{chunk-ARMWQYH2.mjs → chunk-KDNT54DP.mjs} +2 -2
  165. package/dist/{chunk-KMSNBINF.mjs → chunk-L42WN3AP.mjs} +2 -2
  166. package/dist/{chunk-SY24O432.mjs → chunk-L4MQCPRT.mjs} +3 -3
  167. package/dist/chunk-L7GYT3MC.mjs +10 -0
  168. package/dist/{chunk-6CSP66NI.mjs → chunk-LGE4377M.mjs} +1 -1
  169. package/dist/chunk-LJAVEZ2H.mjs +10 -0
  170. package/dist/{chunk-JDDA4R2D.mjs → chunk-LJM26E7W.mjs} +1 -1
  171. package/dist/chunk-LNEOOIXS.mjs +10 -0
  172. package/dist/{chunk-VSGVHATE.mjs → chunk-LPHX7UMQ.mjs} +1 -1
  173. package/dist/{chunk-L6ISOTLH.mjs → chunk-LZOXWIAS.mjs} +2 -2
  174. package/dist/{chunk-W3YUV7IF.mjs → chunk-M3NJURGR.mjs} +1 -1
  175. package/dist/chunk-MENRPRHW.mjs +10 -0
  176. package/dist/{chunk-IIBBR266.mjs → chunk-MMLAKHLR.mjs} +3 -3
  177. package/dist/{chunk-Z7JRM3NW.mjs → chunk-MQCTOCK2.mjs} +2 -2
  178. package/dist/{chunk-X34RHNLT.mjs → chunk-NIAMDJYU.mjs} +2 -2
  179. package/dist/{chunk-WD2TPSZV.mjs → chunk-NIGOM3FD.mjs} +1 -1
  180. package/dist/{chunk-6NUHEJGL.mjs → chunk-NOTKA3RL.mjs} +1 -1
  181. package/dist/chunk-NYH6JQMA.mjs +10 -0
  182. package/dist/{chunk-SZNDCHMJ.mjs → chunk-OFEX3RHY.mjs} +1 -1
  183. package/dist/chunk-OWXMAVXI.mjs +10 -0
  184. package/dist/chunk-OY57K37D.mjs +10 -0
  185. package/dist/{chunk-OO3ZVB2T.mjs → chunk-OYE6VSTU.mjs} +2 -2
  186. package/dist/{chunk-GIUNLLWW.mjs → chunk-P3RRGPNM.mjs} +2 -2
  187. package/dist/{chunk-GPT4DR4P.mjs → chunk-PGDGNOYE.mjs} +1 -1
  188. package/dist/{chunk-DPFX25HC.mjs → chunk-PITIJLE3.mjs} +1 -1
  189. package/dist/{chunk-RSKKEGJZ.mjs → chunk-PPGEEMZ2.mjs} +2 -2
  190. package/dist/{chunk-UKBBSYRC.mjs → chunk-PTL6NSYA.mjs} +2 -2
  191. package/dist/chunk-PV4E7XDP.mjs +10 -0
  192. package/dist/chunk-PZBJGZ57.mjs +10 -0
  193. package/dist/chunk-Q5SN5AQT.mjs +10 -0
  194. package/dist/{chunk-EISLHUT5.mjs → chunk-Q7BJGV4I.mjs} +1 -1
  195. package/dist/{chunk-R5JHN4X6.mjs → chunk-QDMG3P5Z.mjs} +1 -1
  196. package/dist/{chunk-RE7ZGPOY.mjs → chunk-QMFL5BMI.mjs} +1 -1
  197. package/dist/{chunk-JTGVIAOK.mjs → chunk-QMP72J5L.mjs} +1 -1
  198. package/dist/chunk-QMSBDXK6.mjs +10 -0
  199. package/dist/{chunk-JIGOXUY4.mjs → chunk-QPWBJW2X.mjs} +1 -1
  200. package/dist/{chunk-67QIBKUN.mjs → chunk-QRLUWOGW.mjs} +1 -1
  201. package/dist/{chunk-FTV6OWMI.mjs → chunk-QSNYILCF.mjs} +2 -2
  202. package/dist/chunk-QVXIFV7W.mjs +10 -0
  203. package/dist/{chunk-M7BCIQ2J.mjs → chunk-QYU7CWJD.mjs} +1 -1
  204. package/dist/{chunk-JC22ELJM.mjs → chunk-RGWXVYDG.mjs} +1 -1
  205. package/dist/{chunk-N4NDPTX6.mjs → chunk-RKPWFZB4.mjs} +1 -1
  206. package/dist/chunk-RM64ROGL.mjs +10 -0
  207. package/dist/{chunk-CIOPWCOS.mjs → chunk-RPV3UUIN.mjs} +2 -2
  208. package/dist/chunk-RS7TRDRM.mjs +10 -0
  209. package/dist/{chunk-CHBF3XQ6.mjs → chunk-S2MA4MRM.mjs} +1 -1
  210. package/dist/chunk-S3LWWMMQ.mjs +10 -0
  211. package/dist/{chunk-WID7IWNC.mjs → chunk-SL5Q4NLV.mjs} +1 -1
  212. package/dist/{chunk-A63HMTSM.mjs → chunk-SMPF53W4.mjs} +1 -1
  213. package/dist/{chunk-5MR5L5JZ.mjs → chunk-SQPWV3OX.mjs} +2 -2
  214. package/dist/chunk-ST3TDAOP.mjs +10 -0
  215. package/dist/{chunk-ENUU2IVX.mjs → chunk-SUJD4QFW.mjs} +1 -1
  216. package/dist/{chunk-OKEXEU3C.mjs → chunk-T7K4WI76.mjs} +1 -1
  217. package/dist/{chunk-DFMPVQM3.mjs → chunk-TJDL7HT5.mjs} +2 -2
  218. package/dist/{chunk-SI7LO2L4.mjs → chunk-TK33MBDB.mjs} +1 -1
  219. package/dist/{chunk-BK3RBPST.mjs → chunk-TLUB6FCT.mjs} +1 -1
  220. package/dist/{chunk-UBC32WQB.mjs → chunk-TMGB4HZ7.mjs} +1 -1
  221. package/dist/{chunk-ALMW6S4I.mjs → chunk-TQMBJFQC.mjs} +2 -2
  222. package/dist/{chunk-E6DZSC2G.mjs → chunk-TUSG5ZRW.mjs} +2 -2
  223. package/dist/{chunk-D2NVLRIU.mjs → chunk-TZSRU3GG.mjs} +1 -1
  224. package/dist/{chunk-WXILHRBE.mjs → chunk-U5XI3CZD.mjs} +1 -1
  225. package/dist/chunk-U6W7D7TT.mjs +10 -0
  226. package/dist/chunk-UC6WAEPH.mjs +10 -0
  227. package/dist/{chunk-TGLVJRZE.mjs → chunk-UXAMVDQ4.mjs} +1 -1
  228. package/dist/chunk-V2C4UDOC.mjs +10 -0
  229. package/dist/{chunk-5LGYS5CZ.mjs → chunk-V3DTS6FF.mjs} +1 -1
  230. package/dist/{chunk-AC44TKUI.mjs → chunk-V6ZIMZ53.mjs} +1 -1
  231. package/dist/{chunk-B5NICAFU.mjs → chunk-VGBHKFW7.mjs} +1 -1
  232. package/dist/{chunk-BSFG32AL.mjs → chunk-VOWLLVPD.mjs} +2 -2
  233. package/dist/chunk-W4DOEGYH.mjs +10 -0
  234. package/dist/chunk-WJBURR7M.mjs +10 -0
  235. package/dist/{chunk-MUQR2YER.mjs → chunk-WN4QRMX6.mjs} +2 -2
  236. package/dist/chunk-WSDEMATI.mjs +10 -0
  237. package/dist/{chunk-UPOQXYUI.mjs → chunk-XDORZSJQ.mjs} +1 -1
  238. package/dist/{chunk-6HTOSJOJ.mjs → chunk-Y5LEKSMM.mjs} +1 -1
  239. package/dist/{chunk-3JOOFCEF.mjs → chunk-YI5VNFT4.mjs} +2 -2
  240. package/dist/{chunk-PQIDCA7P.mjs → chunk-YYOOJMQZ.mjs} +1 -1
  241. package/dist/chunk-ZNZBHN2V.mjs +10 -0
  242. package/dist/chunk-ZOCNDYUQ.mjs +10 -0
  243. package/dist/{chunk-E2VXJPSE.mjs → chunk-ZRPR4V5U.mjs} +1 -1
  244. package/dist/chunk-ZY3ZKJVD.mjs +10 -0
  245. package/dist/{chunk-4PZGQTXE.mjs → chunk-ZZGRLSEK.mjs} +2 -2
  246. package/dist/hooks/useCommitEffect.mjs +1 -0
  247. package/dist/hooks/useDevice.mjs +1 -1
  248. package/dist/hooks/useI18n.mjs +1 -1
  249. package/dist/hooks/useIntersectionObserver.mjs +1 -1
  250. package/dist/hooks/useLiveInteractionModality.mjs +1 -1
  251. package/dist/hooks/useLocalStorage.mjs +1 -1
  252. package/dist/hooks/useMedia.mjs +1 -1
  253. package/dist/hooks/useMutationObserver.mjs +1 -1
  254. package/dist/hooks/usePortalContainer.mjs +1 -1
  255. package/dist/hooks/usePreventFocus.mjs +1 -1
  256. package/dist/hooks/useResizeObserver.mjs +1 -1
  257. package/dist/hooks/useTextSelection.mjs +1 -1
  258. package/dist/hooks/useUndoRedo.mjs +1 -1
  259. package/dist/index.css +1 -1
  260. package/dist/index.d.ts +114 -38
  261. package/dist/index.js +22 -22
  262. package/dist/index.mjs +1 -1
  263. package/dist/react-aria.mjs +1 -1
  264. package/dist/utils/dom.mjs +1 -1
  265. package/dist/utils/isInShadowDOM.mjs +1 -1
  266. package/dist/utils/keyboards.mjs +1 -1
  267. package/dist/utils/objects.mjs +1 -1
  268. package/package.json +4 -4
  269. package/sbom.json +6 -6
  270. package/dist/chunk-2SKD7TKS.mjs +0 -10
  271. package/dist/chunk-35AM4QEA.mjs +0 -10
  272. package/dist/chunk-3V4W6OGG.mjs +0 -10
  273. package/dist/chunk-4HOAPQDQ.mjs +0 -10
  274. package/dist/chunk-5GZAORDK.mjs +0 -10
  275. package/dist/chunk-6PBBHYCA.mjs +0 -10
  276. package/dist/chunk-B3W7VMJR.mjs +0 -10
  277. package/dist/chunk-C4XJOYAW.mjs +0 -10
  278. package/dist/chunk-CR66GYHT.mjs +0 -10
  279. package/dist/chunk-D6AOHRAV.mjs +0 -10
  280. package/dist/chunk-DHZKZ3AV.mjs +0 -10
  281. package/dist/chunk-DRQHSYY3.mjs +0 -10
  282. package/dist/chunk-DZJTPX2G.mjs +0 -10
  283. package/dist/chunk-F4YBUGLD.mjs +0 -10
  284. package/dist/chunk-G76NJ3IU.mjs +0 -10
  285. package/dist/chunk-H2SJLW7T.mjs +0 -10
  286. package/dist/chunk-HNKEI45D.mjs +0 -10
  287. package/dist/chunk-INHZHYOF.mjs +0 -10
  288. package/dist/chunk-J7BCMF23.mjs +0 -10
  289. package/dist/chunk-JXJZIKEY.mjs +0 -10
  290. package/dist/chunk-K276BGP2.mjs +0 -10
  291. package/dist/chunk-KBLJ34QI.mjs +0 -10
  292. package/dist/chunk-KMZ3YVPE.mjs +0 -10
  293. package/dist/chunk-L5H5GE3H.mjs +0 -10
  294. package/dist/chunk-LHLY432N.mjs +0 -10
  295. package/dist/chunk-LXZOYBTL.mjs +0 -10
  296. package/dist/chunk-MPJXTZ6L.mjs +0 -10
  297. package/dist/chunk-MZIQ27JP.mjs +0 -10
  298. package/dist/chunk-NN6HKMC4.mjs +0 -10
  299. package/dist/chunk-NYNS3UDR.mjs +0 -10
  300. package/dist/chunk-OAOIUNNG.mjs +0 -10
  301. package/dist/chunk-OBEPT4LR.mjs +0 -10
  302. package/dist/chunk-OMCGORTH.mjs +0 -10
  303. package/dist/chunk-PJINRIA6.mjs +0 -10
  304. package/dist/chunk-PSUZMSD3.mjs +0 -10
  305. package/dist/chunk-Q3FYMLAA.mjs +0 -10
  306. package/dist/chunk-QKNNMY2Q.mjs +0 -10
  307. package/dist/chunk-QVFGEXDU.mjs +0 -10
  308. package/dist/chunk-SJRYJGTL.mjs +0 -10
  309. package/dist/chunk-SYA6LAFU.mjs +0 -10
  310. package/dist/chunk-TEQHGF4G.mjs +0 -10
  311. package/dist/chunk-UCRJ3AR5.mjs +0 -10
  312. package/dist/chunk-UI4SJCQU.mjs +0 -10
  313. package/dist/chunk-V6DZG4PM.mjs +0 -11
  314. package/dist/chunk-VKWXATZ3.mjs +0 -10
  315. package/dist/chunk-VNJDCKLQ.mjs +0 -10
  316. package/dist/chunk-VQ45RUYJ.mjs +0 -10
  317. package/dist/chunk-VQHI3ZCW.mjs +0 -10
  318. package/dist/chunk-XC5H4EVW.mjs +0 -10
  319. package/dist/chunk-Z2PHVVX4.mjs +0 -10
  320. package/dist/chunk-Z7UPVYL5.mjs +0 -10
@@ -1,4 +1,4 @@
1
- import {c}from'./chunk-OO3ZVB2T.mjs';import {a,d,b as b$3}from'./chunk-D6AOHRAV.mjs';import {b as b$1}from'./chunk-64ZD4EKW.mjs';import {c as c$1}from'./chunk-VQ45RUYJ.mjs';import {b as b$4,a as a$b}from'./chunk-DF2D7NE6.mjs';import {b as b$2}from'./chunk-ZQOR4LCM.mjs';import {a as a$1}from'./chunk-UKBBSYRC.mjs';import {c as c$2,d as d$2}from'./chunk-W6QO7FPZ.mjs';import {c as c$4}from'./chunk-KRVEGSVY.mjs';import {a as a$6}from'./chunk-A455VRNY.mjs';import {b}from'./chunk-KG2EHFYA.mjs';import {a as a$a}from'./chunk-22VRCVTH.mjs';import {a as a$5}from'./chunk-JJG67M2S.mjs';import {c as c$3}from'./chunk-OS6PVCFX.mjs';import {a as a$4}from'./chunk-QSFRMY47.mjs';import {a as a$8}from'./chunk-UR42GQO4.mjs';import {a as a$9}from'./chunk-FPM5UJRF.mjs';import {a as a$3}from'./chunk-WAPBLICF.mjs';import {j,d as d$1}from'./chunk-NQVTVL24.mjs';import {o,i}from'./chunk-SCJ3RG7B.mjs';import {a as a$2,c as c$5}from'./chunk-PJINRIA6.mjs';import {c as c$6}from'./chunk-35AM4QEA.mjs';import {i as i$1,a as a$7,h,j as j$1}from'./chunk-TYOEGCPS.mjs';import {useRef,useMemo,useEffect,useState,useCallback}from'react';/**
1
+ import {c}from'./chunk-OYE6VSTU.mjs';import {a,d,b as b$3}from'./chunk-BNWDQ4KX.mjs';import {b as b$1}from'./chunk-I4F5NJUI.mjs';import {c as c$1}from'./chunk-ST3TDAOP.mjs';import {b as b$4,a as a$a}from'./chunk-DF2D7NE6.mjs';import {b as b$2}from'./chunk-ZQOR4LCM.mjs';import {a as a$1}from'./chunk-PTL6NSYA.mjs';import {c as c$2,d as d$2}from'./chunk-W6QO7FPZ.mjs';import {c as c$4}from'./chunk-KRVEGSVY.mjs';import {a as a$5}from'./chunk-A455VRNY.mjs';import {b}from'./chunk-KG2EHFYA.mjs';import {a as a$9}from'./chunk-22VRCVTH.mjs';import {a as a$4}from'./chunk-JJG67M2S.mjs';import {c as c$3}from'./chunk-JANI446W.mjs';import {a as a$3}from'./chunk-BPXZ6J5G.mjs';import {a as a$7}from'./chunk-CEUVH4UZ.mjs';import {a as a$8}from'./chunk-FPM5UJRF.mjs';import {a as a$2}from'./chunk-5NVCSLXT.mjs';import {j,d as d$1}from'./chunk-AIG23SN5.mjs';import {o,i}from'./chunk-2MNK24YJ.mjs';import {e,g,c as c$5}from'./chunk-V2C4UDOC.mjs';import {i as i$1,a as a$6,h,j as j$1}from'./chunk-TYOEGCPS.mjs';import {useRef,useMemo,useEffect,useState,useCallback}from'react';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,4 +7,4 @@ import {c}from'./chunk-OO3ZVB2T.mjs';import {a,d,b as b$3}from'./chunk-D6AOHRAV.
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var Ne={"ar-AE":{buttonLabel:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u062A\u0631\u062D\u0627\u062A",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u062E\u064A\u0627\u0631`,other:()=>`${n.number(e.optionCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})} \u0645\u062A\u0627\u062D\u0629.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 ${e.groupTitle}, \u0645\u0639 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u062E\u064A\u0627\u0631`,other:()=>`${n.number(e.groupCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0645\u062D\u062F\u062F",other:""},e.isSelected)}`,listboxLabel:"\u0645\u0642\u062A\u0631\u062D\u0627\u062A",selectedAnnouncement:e=>`${e.optionText}\u060C \u0645\u062D\u062F\u062F`},"bg-BG":{buttonLabel:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${n.number(e.optionCount)} \u043E\u043F\u0446\u0438\u0438`})} \u043D\u0430 \u0440\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u044A\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0441 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${n.number(e.groupCount)} \u043E\u043F\u0446\u0438\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0438\u0437\u0431\u0440\u0430\u043D\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`},"cs-CZ":{buttonLabel:"Zobrazit doporu\u010Den\xED",countAnnouncement:(e,n)=>`K dispozici ${n.plural(e.optionCount,{one:()=>`je ${n.number(e.optionCount)} mo\u017Enost`,other:()=>`jsou/je ${n.number(e.optionCount)} mo\u017Enosti/-\xED`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Zadan\xE1 skupina \u201E${e.groupTitle}\u201C ${n.plural(e.groupCount,{one:()=>`s ${n.number(e.groupCount)} mo\u017Enost\xED`,other:()=>`se ${n.number(e.groupCount)} mo\u017Enostmi`})}. `,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:"\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03C9\u03BD",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${n.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 `})} \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BF\u03BC\u03AC\u03B4\u03B1 ${e.groupTitle}, \u03BC\u03B5 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${n.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF",other:""},e.isSelected)}`,listboxLabel:"\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2",selectedAnnouncement:e=>`${e.optionText}, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5`},"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)} vaihtoehtoa`})} saatavilla.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Siirtyi ryhm\xE4\xE4n ${e.groupTitle}, jossa ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} vaihtoehto`,other:()=>`${n.number(e.groupCount)} vaihtoehtoa`})}.`,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:"\u05D4\u05E6\u05D2 \u05D4\u05E6\u05E2\u05D5\u05EA",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${n.number(e.optionCount)}`,other:()=>`${n.number(e.optionCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})} \u05D1\u05DE\u05E6\u05D1 \u05D6\u05DE\u05D9\u05DF.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u05E0\u05DB\u05E0\u05E1 \u05DC\u05E7\u05D1\u05D5\u05E6\u05D4 ${e.groupTitle}, \u05E2\u05DD ${n.plural(e.groupCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${n.number(e.groupCount)}`,other:()=>`${n.number(e.groupCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u05E0\u05D1\u05D7\u05E8",other:""},e.isSelected)}`,listboxLabel:"\u05D4\u05E6\u05E2\u05D5\u05EA",selectedAnnouncement:e=>`${e.optionText}, \u05E0\u05D1\u05D7\u05E8`},"hr-HR":{buttonLabel:"Prika\u017Ei prijedloge",countAnnouncement:(e,n)=>`Dostupno jo\u0161: ${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\u0151s\xE9g`,other:()=>`${n.number(e.optionCount)} lehet\u0151s\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\u0151s\xE9get`,other:()=>`${n.number(e.groupCount)} lehet\u0151s\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:"\u5019\u88DC\u3092\u8868\u793A",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${n.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u5165\u529B\u3055\u308C\u305F\u30B0\u30EB\u30FC\u30D7 ${e.groupTitle}\u3001${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${n.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u542B\u3080\u3002`,other:""},e.isGroupChange)}${e.optionText}${n.select({true:"\u3001\u9078\u629E\u6E08\u307F",other:""},e.isSelected)}`,listboxLabel:"\u5019\u88DC",selectedAnnouncement:e=>`${e.optionText}\u3001\u9078\u629E\u6E08\u307F`},"ko-KR":{buttonLabel:"\uC81C\uC548 \uC0AC\uD56D \uD45C\uC2DC",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)}\uAC1C \uC635\uC158`,other:()=>`${n.number(e.optionCount)}\uAC1C \uC635\uC158`})}\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\uC785\uB825\uD55C \uADF8\uB8F9 ${e.groupTitle}, ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)}\uAC1C \uC635\uC158`,other:()=>`${n.number(e.groupCount)}\uAC1C \uC635\uC158`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \uC120\uD0DD\uB428",other:""},e.isSelected)}`,listboxLabel:"\uC81C\uC548",selectedAnnouncement:e=>`${e.optionText}, \uC120\uD0DD\uB428`},"lt-LT":{buttonLabel:"Rodyti pasi\u016Blymus",countAnnouncement:(e,n)=>`Yra ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} parinktis`,other:()=>`${n.number(e.optionCount)} parinktys (-i\u0173)`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u012Evesta grup\u0117 ${e.groupTitle}, su ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} parinktimi`,other:()=>`${n.number(e.groupCount)} parinktimis (-i\u0173)`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasi\u016Blymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`},"lv-LV":{buttonLabel:"R\u0101d\u012Bt 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\u012Bta grupa ${e.groupTitle}, ar ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opciju`,other:()=>`${n.number(e.groupCount)} opcij\u0101m`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", atlas\u012Bta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlas\u012Bta`},"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\u015Bwietlaj sugestie",countAnnouncement:(e,n)=>`dost\u0119pna/dost\u0119pne(-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\u0142\u0105czono do grupy ${e.groupTitle}, z ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcj\u0105`,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\u0219are sugestii",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\u021Biune`,other:()=>`${n.number(e.optionCount)} op\u021Biuni`})} disponibile.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\u021Biune`,other:()=>`${n.number(e.groupCount)} op\u021Biuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`},"ru-RU":{buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430 ${e.groupTitle}, \u0441 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C`,other:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0432\u044B\u0431\u0440\u0430\u043D\u043E`},"sk-SK":{buttonLabel:"Zobrazi\u0165 n\xE1vrhy",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} mo\u017Enos\u0165`,other:()=>`${n.number(e.optionCount)} mo\u017Enosti/-\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\u017Enos\u0165ou`,other:()=>`${n.number(e.groupCount)} mo\u017Enos\u0165ami`})}. `,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\u017Ei 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\u017Ei predloge",countAnnouncement:(e,n)=>`Dostupno jo\u0161: ${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\u0131labilir.`,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:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0437 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0432\u0438\u0431\u0440\u0430\u043D\u043E",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",selectedAnnouncement:e=>`${e.optionText}, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`},"zh-CN":{buttonLabel:"\u663E\u793A\u5EFA\u8BAE",countAnnouncement:(e,n)=>`\u6709 ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u4E2A\u9009\u9879`,other:()=>`${n.number(e.optionCount)} \u4E2A\u9009\u9879`})}\u53EF\u7528\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u8FDB\u5165\u4E86 ${e.groupTitle} \u7EC4\uFF0C\u5176\u4E2D\u6709 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u4E2A\u9009\u9879`,other:()=>`${n.number(e.groupCount)} \u4E2A\u9009\u9879`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u5DF2\u9009\u62E9",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8BAE",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9009\u62E9`},"zh-TW":{buttonLabel:"\u986F\u793A\u5EFA\u8B70",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u9078\u9805`,other:()=>`${n.number(e.optionCount)} \u9078\u9805`})} \u53EF\u7528\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u8F38\u5165\u7684\u7FA4\u7D44 ${e.groupTitle}, \u6709 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u9078\u9805`,other:()=>`${n.number(e.groupCount)} \u9078\u9805`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u5DF2\u9078\u53D6",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8B70",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9078\u53D6`}};function Xe(e,n){let{buttonRef:r,popoverRef:m,inputRef:u,listBoxRef:d$2,keyboardDelegate:l,layoutDelegate:x,shouldFocusWrap:U,isReadOnly:A,isDisabled:W}=e,ue=useRef(null);r=r??ue;let M=b(Ne,"@react-aria/combobox"),{menuTriggerProps:S,menuProps:I}=c({type:"listbox",isDisabled:W||A},n,r);a.set(n,{id:I.id});let{collection:P}=n,{disabledKeys:R}=n.selectionManager,_=useMemo(()=>l||new b$1({collection:P,disabledKeys:R,ref:d$2,layoutDelegate:x}),[l,x,P,R,d$2]),{collectionProps:s}=c$1({selectionManager:n.selectionManager,keyboardDelegate:_,disallowTypeAhead:true,disallowEmptySelection:true,shouldFocusWrap:U,ref:u,isVirtualized:true}),L=o(),{keyboardProps:$}=j({shortcuts:{Enter:t=>{let i=n.isOpen;if(n.isOpen&&d$2.current&&n.selectionManager.focusedKey!=null){let h=n.collection.getItem(n.selectionManager.focusedKey);if(h?.props.href){let v=d$2.current.querySelector(`[data-key="${CSS.escape(n.selectionManager.focusedKey.toString())}"]`);return v instanceof HTMLAnchorElement&&L.open(v,t,h.props.href,h.props.routerOptions),n.close(),{shouldPreventDefault:i}}else if(h?.props.onAction)return h.props.onAction(),n.close(),{shouldPreventDefault:i}}return n.commit(),{shouldPreventDefault:i}},Tab:()=>{if(n.isOpen&&d$2.current&&n.selectionManager.focusedKey!=null){let t=n.collection.getItem(n.selectionManager.focusedKey);if(t?.props.href)return n.close(),{shouldPreventDefault:false};if(t?.props.onAction)return t.props.onAction(),n.close(),{shouldPreventDefault:false,shouldContinuePropagation:true}}return n.isOpen&&n.commit(),{shouldPreventDefault:false,shouldContinuePropagation:true}},Escape:()=>{let t=false;return (!n.selectionManager.isEmpty||n.inputValue===""||e.allowsCustomValue)&&(t=true),n.revert(),{shouldContinuePropagation:t}}}}),{keyboardProps:C}=j({shortcuts:{ArrowDown:()=>(n.open("first","manual"),{shouldPreventDefault:false}),ArrowUp:()=>(n.open("last","manual"),{shouldPreventDefault:false}),ArrowLeft:()=>(n.selectionManager.setFocusedKey(null),{shouldPreventDefault:false}),ArrowRight:()=>(n.selectionManager.setFocusedKey(null),{shouldPreventDefault:false})},allowRepeats:true}),le=t=>{let i=h(r.current,t.relatedTarget),h$1=h(m.current,t.relatedTarget);i||h$1||(e.onBlur&&e.onBlur(t),n.setFocused(false));},b$4=t=>{n.isFocused||(e.onFocus&&e.onFocus(t),n.setFocused(true));},Z=_e([n.selectionManager.selectedKeys,n.selectionManager.selectionMode]),{isInvalid:c$6,validationErrors:q,validationDetails:Q}=n.displayValidation,{labelProps:B,inputProps:V,descriptionProps:g,errorMessageProps:ee}=a$1({...e,isRequired:e.selectionMode==="multiple"?e.isRequired&&n.selectionManager.isEmpty:e.isRequired,onChange:n.setInputValue,onKeyDown:A?e.onKeyDown:a$2(n.isOpen&&s.onKeyDown,$.onKeyDown,C.onKeyDown,e.onKeyDown),onBlur:le,value:n.inputValue,defaultValue:n.defaultInputValue,onFocus:b$4,autoComplete:"off",validate:void 0,[c$2]:n,"aria-describedby":[Z,e["aria-describedby"]].filter(Boolean).join(" ")||void 0},u);a$3(u,n.defaultValue,n.setValue);let ie=t=>{t.pointerType==="touch"&&(u.current?.focus(),n.toggle(null,"manual"));},J=t=>{t.pointerType!=="touch"&&(u.current?.focus(),n.toggle(t.pointerType==="keyboard"||t.pointerType==="virtual"?"first":null,"manual"));},Ce=a$4({id:S.id,"aria-label":M.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||B.id}),a$9=a$4({id:I.id,"aria-label":M.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||B.id}),F=useRef(0),ce=t=>{if(W||A)return;if(t.timeStamp-F.current<500){t.preventDefault(),u.current?.focus();return}let i=j$1(t).getBoundingClientRect(),h=t.changedTouches[0],v=Math.ceil(i.left+.5*i.width),H=Math.ceil(i.top+.5*i.height);h.clientX===v&&h.clientY===H&&(t.preventDefault(),u.current?.focus(),n.toggle(null,"manual"),F.current=t.timeStamp);},y=n.selectionManager.focusedKey!=null&&n.isOpen?n.collection.getItem(n.selectionManager.focusedKey):void 0,k=y?.parentKey??null,T=n.selectionManager.focusedKey??null,w=useRef(k),K=useRef(T);useEffect(()=>{if(i()&&y!=null&&T!=null&&T!==K.current){let t=n.selectionManager.isSelected(T),i=k!=null?n.collection.getItem(k):null,h=i?.["aria-label"]||(typeof i?.rendered=="string"?i.rendered:"")||"",v=M.format("focusAnnouncement",{isGroupChange:(i&&k!==w.current)??false,groupTitle:h,groupCount:i?[...b$2(i,n.collection)].length:0,optionText:y["aria-label"]||y.textValue||"",isSelected:t});a$5(v);}w.current=k,K.current=T;});let f=d(n.collection),z=useRef(f),N=useRef(n.isOpen);useEffect(()=>{let t=n.isOpen!==N.current&&(n.selectionManager.focusedKey==null||i());if(n.isOpen&&(t||f!==z.current)){let i=M.format("countAnnouncement",{optionCount:f});a$5(i);}z.current=f,N.current=n.isOpen;});let O=useRef(n.selectedKey);return useEffect(()=>{if(i()&&n.isFocused&&n.selectedItem&&n.selectedKey!==O.current){let t=n.selectedItem["aria-label"]||n.selectedItem.textValue||"",i=M.format("selectedAnnouncement",{optionText:t});a$5(i);}O.current=n.selectedKey;}),useEffect(()=>{if(n.isOpen)return a$6([u.current,m.current].filter(t=>t!=null))},[n.isOpen,u,m]),c$3(()=>{!y&&u.current&&i$1(a$7(u.current))===u.current&&c$4(u.current,null);},[y]),a$8(d$2,"react-aria-item-action",n.isOpen?()=>{n.close();}:void 0),{labelProps:{...B,onClick:"htmlFor"in B&&B.htmlFor||e.isDisabled?void 0:()=>{u.current?.focus(),d$1("keyboard");}},buttonProps:{...S,...Ce,excludeFromTabOrder:true,preventFocusOnPress:true,onPress:ie,onPressStart:J,isDisabled:W||A},inputProps:c$5(V,{role:"combobox","aria-expanded":S["aria-expanded"],"aria-controls":n.isOpen?I.id:void 0,"aria-autocomplete":"list","aria-activedescendant":y?b$3(n,y.key):void 0,onTouchEnd:ce,autoCorrect:"off",spellCheck:"false"}),listBoxProps:c$5(I,a$9,{onAction:void 0,autoFocus:n.focusStrategy||true,shouldUseVirtualFocus:true,shouldSelectOnPressUp:true,shouldFocusOnHover:true,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),valueProps:{id:Z},descriptionProps:g,errorMessageProps:ee,isInvalid:c$6,validationErrors:q,validationDetails:Q}}function _e(e=[]){let n=c$6(),[r,m]=useState(true),[u,d]=useState(e);return u.some((l,x)=>!Object.is(l,e[x]))&&(m(true),d(e)),useEffect(()=>{r&&!document.getElementById(n)&&m(false);},[n,r,u]),r?n:void 0}function en(e){let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:m=false,allowsCustomValue:u,shouldCloseOnBlur:d=true,selectionMode:l="single"}=e,[x,U]=useState(false),[A,W]=useState(false),[ue,M]=useState(null),S=useRef(false),I=useMemo(()=>e.defaultValue!==void 0?e.defaultValue:l==="single"?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,l]),P=useMemo(()=>e.value!==void 0?e.value:l==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,l]),[R,_]=a$9(P,I,e.onChange),s=l==="single"&&Array.isArray(R)?R[0]:R,L=o=>{if(l==="single"){let p=Array.isArray(o)?o[0]??null:o;_(p),p!==s&&e.onSelectionChange?.(p);}else {let p=[];Array.isArray(o)?p=o:o!=null&&(p=[o]),_(p);}},{collection:$,selectionManager:C,disabledKeys:le}=b$4({...e,items:e.items??e.defaultItems,selectionMode:l,disallowEmptySelection:l==="single",allowDuplicateSelectionEvents:true,selectedKeys:useMemo(()=>on(s),[s]),onSelectionChange:o=>{if(o!=="all")if(l==="single"){let p=o.values().next().value??null;p===s?(e.onSelectionChange?.(p),z(),T()):L(p);}else L([...o]);}}),b=l==="single"?C.firstSelectedKey:null,Z=useMemo(()=>[...C.selectedKeys].map(o=>$.getItem(o)).filter(o=>o!=null),[C.selectedKeys,$]),[c,q]=a$9(e.inputValue,Ue(e.defaultInputValue,b,$)||"",e.onInputChange),[Q]=useState(s),[B]=useState(c),V=$,g=useMemo(()=>e.items!=null||!n?$:nn($,c,n),[$,c,n,e.items]),[ee,ie]=useState(g),J=useRef("focus"),a=a$a({...e,onOpenChange:o=>{e.onOpenChange&&e.onOpenChange(o,o?J.current:void 0),C.setFocused(o),o||C.setFocusedKey(null);},isOpen:void 0,defaultOpen:void 0}),F=(o=null,p)=>{let Y=p==="manual"||p==="focus"&&r==="focus";(m||g.size>0||Y&&V.size>0||e.items)&&(Y&&!a.isOpen&&e.items===void 0&&U(true),J.current=p,M(o),a.open());},ce=(o=null,p)=>{let Y=p==="manual"||p==="focus"&&r==="focus";!(m||g.size>0||Y&&V.size>0||e.items)&&!a.isOpen||(Y&&!a.isOpen&&e.items===void 0&&U(true),a.isOpen||(J.current=p),k(o));},y=useCallback(()=>{ie(x?V:g);},[x,V,g]),k=useCallback((o=null)=>{a.isOpen&&y(),M(o),a.toggle();},[a,y]),T=useCallback(()=>{a.isOpen&&(y(),a.close());},[a,y]),[w,K]=useState(c),f=useRef(false),z=()=>{let o=b!=null?$.getItem(b)?.textValue??"":"";f.current=false,K(o),q(o);},N=useRef(null),O=useRef(s),t=useRef(b!=null?$.getItem(b)?.textValue??"":"");useEffect(()=>{A&&(g.size>0||m)&&!a.isOpen&&c!==w&&c!==N.current&&r!=="manual"&&F(null,"input"),!x&&!m&&a.isOpen&&g.size===0&&(S.current=true,T()),A&&S.current&&g.size>0&&!a.isOpen&&r!=="manual"&&(S.current=false,F(null,"input")),s!=null&&s!==O.current&&l==="single"&&T(),c!==w&&(f.current=true,C.setFocusedKey(null),U(false),l==="single"&&c===""&&(e.inputValue===void 0||P===void 0)&&L(null)),s!==O.current&&(e.inputValue===void 0||P===void 0)?z():w!==c&&K(c);let o=b!=null?$.getItem(b)?.textValue??"":"";(!A||!f.current)&&b!=null&&e.inputValue===void 0&&b===O.current&&t.current!==o&&(f.current=false,K(o),q(o)),O.current=s,t.current=o,N.current=null;});let i=d$2({...e,value:useMemo(()=>Array.isArray(s)&&s.length===0?null:{inputValue:c,value:s,selectedKey:b},[c,b,s])}),h=()=>{S.current=false,u&&b==null?v():H();},v=()=>{if(l==="multiple"){K(c),T();return}let o=null;O.current=o,L(o),N.current=c,T();},H=(o=false)=>{if(P!==void 0&&e.inputValue!==void 0){let p=b!=null?$.getItem(b)?.textValue??"":"";(o||l==="multiple"||c!==p)&&(e.onSelectionChange?.(b),e.onChange?.(s)),K(p),T();}else z(),T();},pe=()=>{if(S.current=false,u){let o=b!=null?$.getItem(b)?.textValue??"":"";c===o?H():v();}else H();},Ze=()=>{a.isOpen&&C.focusedKey!=null?C.isSelected(C.focusedKey)&&l==="single"?H(true):C.select(C.focusedKey):pe();},re=useRef([c,s]),qe=o=>{o?(re.current=[c,s],r==="focus"&&!e.isReadOnly&&F(null,"focus")):(d&&pe(),(c!==re.current[0]||s!==re.current[1])&&i.commitValidation()),W(o);},Je=useMemo(()=>a.isOpen?x?V:g:ee,[a.isOpen,V,g,x,ee]),he=e.defaultSelectedKey??(l==="single"?Q:null);return {...i,...a,focusStrategy:ue,toggle:ce,open:F,close:pe,selectionManager:C,value:s,defaultValue:I??Q,setValue:L,selectedKey:b,selectedItems:Z,defaultSelectedKey:he,setSelectedKey:L,disabledKeys:le,isFocused:A,setFocused:qe,selectedItem:Z[0]??null,collection:Je,inputValue:c,defaultInputValue:Ue(e.defaultInputValue,he,$)??B,setInputValue:q,commit:Ze,revert:h}}function nn(e,n,r){return new a$b(We(e,e,n,r))}function We(e,n,r,m){let u=[];for(let d of n)if(d.type==="section"&&d.hasChildNodes){let l=We(e,b$2(d,e),r,m);[...l].some(x=>x.type==="item")&&u.push({...d,childNodes:l});}else d.type==="item"&&m(d.textValue,r)?u.push({...d}):d.type!=="item"&&u.push({...d});return u}function Ue(e,n,r){return e==null&&n!=null?r.getItem(n)?.textValue??"":e}function on(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}export{Xe as a,en as b};
10
+ var Ne={"ar-AE":{buttonLabel:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0642\u062A\u0631\u062D\u0627\u062A",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u062E\u064A\u0627\u0631`,other:()=>`${n.number(e.optionCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})} \u0645\u062A\u0627\u062D\u0629.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0627\u0644\u0645\u062C\u0645\u0648\u0639\u0629 \u0627\u0644\u0645\u062F\u062E\u0644\u0629 ${e.groupTitle}, \u0645\u0639 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u062E\u064A\u0627\u0631`,other:()=>`${n.number(e.groupCount)} \u062E\u064A\u0627\u0631\u0627\u062A`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0645\u062D\u062F\u062F",other:""},e.isSelected)}`,listboxLabel:"\u0645\u0642\u062A\u0631\u062D\u0627\u062A",selectedAnnouncement:e=>`${e.optionText}\u060C \u0645\u062D\u062F\u062F`},"bg-BG":{buttonLabel:"\u041F\u043E\u043A\u0430\u0436\u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${n.number(e.optionCount)} \u043E\u043F\u0446\u0438\u0438`})} \u043D\u0430 \u0440\u0430\u0437\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u044A\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0441 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043E\u043F\u0446\u0438\u044F`,other:()=>`${n.number(e.groupCount)} \u043E\u043F\u0446\u0438\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0438\u0437\u0431\u0440\u0430\u043D\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0438\u0437\u0431\u0440\u0430\u043D\u0438`},"cs-CZ":{buttonLabel:"Zobrazit doporu\u010Den\xED",countAnnouncement:(e,n)=>`K dispozici ${n.plural(e.optionCount,{one:()=>`je ${n.number(e.optionCount)} mo\u017Enost`,other:()=>`jsou/je ${n.number(e.optionCount)} mo\u017Enosti/-\xED`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Zadan\xE1 skupina \u201E${e.groupTitle}\u201C ${n.plural(e.groupCount,{one:()=>`s ${n.number(e.groupCount)} mo\u017Enost\xED`,other:()=>`se ${n.number(e.groupCount)} mo\u017Enostmi`})}. `,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:"\u03A0\u03C1\u03BF\u03B2\u03BF\u03BB\u03AE \u03C0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03C9\u03BD",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${n.number(e.optionCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2 `})} \u03B4\u03B9\u03B1\u03B8\u03AD\u03C3\u03B9\u03BC\u03B5\u03C2.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0395\u03B9\u03C3\u03B1\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BF\u03BC\u03AC\u03B4\u03B1 ${e.groupTitle}, \u03BC\u03B5 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE`,other:()=>`${n.number(e.groupCount)} \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03C2`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF",other:""},e.isSelected)}`,listboxLabel:"\u03A0\u03C1\u03BF\u03C4\u03AC\u03C3\u03B5\u03B9\u03C2",selectedAnnouncement:e=>`${e.optionText}, \u03B5\u03C0\u03B9\u03BB\u03AD\u03C7\u03B8\u03B7\u03BA\u03B5`},"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)} vaihtoehtoa`})} saatavilla.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Siirtyi ryhm\xE4\xE4n ${e.groupTitle}, jossa ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} vaihtoehto`,other:()=>`${n.number(e.groupCount)} vaihtoehtoa`})}.`,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:"\u05D4\u05E6\u05D2 \u05D4\u05E6\u05E2\u05D5\u05EA",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${n.number(e.optionCount)}`,other:()=>`${n.number(e.optionCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})} \u05D1\u05DE\u05E6\u05D1 \u05D6\u05DE\u05D9\u05DF.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u05E0\u05DB\u05E0\u05E1 \u05DC\u05E7\u05D1\u05D5\u05E6\u05D4 ${e.groupTitle}, \u05E2\u05DD ${n.plural(e.groupCount,{one:()=>`\u05D0\u05E4\u05E9\u05E8\u05D5\u05EA ${n.number(e.groupCount)}`,other:()=>`${n.number(e.groupCount)} \u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u05E0\u05D1\u05D7\u05E8",other:""},e.isSelected)}`,listboxLabel:"\u05D4\u05E6\u05E2\u05D5\u05EA",selectedAnnouncement:e=>`${e.optionText}, \u05E0\u05D1\u05D7\u05E8`},"hr-HR":{buttonLabel:"Prika\u017Ei prijedloge",countAnnouncement:(e,n)=>`Dostupno jo\u0161: ${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\u0151s\xE9g`,other:()=>`${n.number(e.optionCount)} lehet\u0151s\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\u0151s\xE9get`,other:()=>`${n.number(e.groupCount)} lehet\u0151s\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:"\u5019\u88DC\u3092\u8868\u793A",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${n.number(e.optionCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u5229\u7528\u3067\u304D\u307E\u3059\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u5165\u529B\u3055\u308C\u305F\u30B0\u30EB\u30FC\u30D7 ${e.groupTitle}\u3001${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`,other:()=>`${n.number(e.groupCount)} \u500B\u306E\u30AA\u30D7\u30B7\u30E7\u30F3`})}\u3092\u542B\u3080\u3002`,other:""},e.isGroupChange)}${e.optionText}${n.select({true:"\u3001\u9078\u629E\u6E08\u307F",other:""},e.isSelected)}`,listboxLabel:"\u5019\u88DC",selectedAnnouncement:e=>`${e.optionText}\u3001\u9078\u629E\u6E08\u307F`},"ko-KR":{buttonLabel:"\uC81C\uC548 \uC0AC\uD56D \uD45C\uC2DC",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)}\uAC1C \uC635\uC158`,other:()=>`${n.number(e.optionCount)}\uAC1C \uC635\uC158`})}\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\uC785\uB825\uD55C \uADF8\uB8F9 ${e.groupTitle}, ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)}\uAC1C \uC635\uC158`,other:()=>`${n.number(e.groupCount)}\uAC1C \uC635\uC158`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \uC120\uD0DD\uB428",other:""},e.isSelected)}`,listboxLabel:"\uC81C\uC548",selectedAnnouncement:e=>`${e.optionText}, \uC120\uD0DD\uB428`},"lt-LT":{buttonLabel:"Rodyti pasi\u016Blymus",countAnnouncement:(e,n)=>`Yra ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} parinktis`,other:()=>`${n.number(e.optionCount)} parinktys (-i\u0173)`})}.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u012Evesta grup\u0117 ${e.groupTitle}, su ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} parinktimi`,other:()=>`${n.number(e.groupCount)} parinktimis (-i\u0173)`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasi\u016Blymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`},"lv-LV":{buttonLabel:"R\u0101d\u012Bt 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\u012Bta grupa ${e.groupTitle}, ar ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opciju`,other:()=>`${n.number(e.groupCount)} opcij\u0101m`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", atlas\u012Bta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlas\u012Bta`},"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\u015Bwietlaj sugestie",countAnnouncement:(e,n)=>`dost\u0119pna/dost\u0119pne(-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\u0142\u0105czono do grupy ${e.groupTitle}, z ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} opcj\u0105`,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\u0219are sugestii",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} op\u021Biune`,other:()=>`${n.number(e.optionCount)} op\u021Biuni`})} disponibile.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} op\u021Biune`,other:()=>`${n.number(e.groupCount)} op\u021Biuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`},"ru-RU":{buttonLabel:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u043D\u0430\u044F \u0433\u0440\u0443\u043F\u043F\u0430 ${e.groupTitle}, \u0441 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u043C`,other:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C\u0438`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F",selectedAnnouncement:e=>`${e.optionText}, \u0432\u044B\u0431\u0440\u0430\u043D\u043E`},"sk-SK":{buttonLabel:"Zobrazi\u0165 n\xE1vrhy",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} mo\u017Enos\u0165`,other:()=>`${n.number(e.optionCount)} mo\u017Enosti/-\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\u017Enos\u0165ou`,other:()=>`${n.number(e.groupCount)} mo\u017Enos\u0165ami`})}. `,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\u017Ei 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\u017Ei predloge",countAnnouncement:(e,n)=>`Dostupno jo\u0161: ${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\u0131labilir.`,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:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.optionCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})} \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u043E.`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u0412\u0432\u0435\u0434\u0435\u043D\u0430 \u0433\u0440\u0443\u043F\u0430 ${e.groupTitle}, \u0437 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440`,other:()=>`${n.number(e.groupCount)} \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0438(-\u0456\u0432)`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u0432\u0438\u0431\u0440\u0430\u043D\u043E",other:""},e.isSelected)}`,listboxLabel:"\u041F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0457",selectedAnnouncement:e=>`${e.optionText}, \u0432\u0438\u0431\u0440\u0430\u043D\u043E`},"zh-CN":{buttonLabel:"\u663E\u793A\u5EFA\u8BAE",countAnnouncement:(e,n)=>`\u6709 ${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u4E2A\u9009\u9879`,other:()=>`${n.number(e.optionCount)} \u4E2A\u9009\u9879`})}\u53EF\u7528\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u8FDB\u5165\u4E86 ${e.groupTitle} \u7EC4\uFF0C\u5176\u4E2D\u6709 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u4E2A\u9009\u9879`,other:()=>`${n.number(e.groupCount)} \u4E2A\u9009\u9879`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u5DF2\u9009\u62E9",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8BAE",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9009\u62E9`},"zh-TW":{buttonLabel:"\u986F\u793A\u5EFA\u8B70",countAnnouncement:(e,n)=>`${n.plural(e.optionCount,{one:()=>`${n.number(e.optionCount)} \u9078\u9805`,other:()=>`${n.number(e.optionCount)} \u9078\u9805`})} \u53EF\u7528\u3002`,focusAnnouncement:(e,n)=>`${n.select({true:()=>`\u8F38\u5165\u7684\u7FA4\u7D44 ${e.groupTitle}, \u6709 ${n.plural(e.groupCount,{one:()=>`${n.number(e.groupCount)} \u9078\u9805`,other:()=>`${n.number(e.groupCount)} \u9078\u9805`})}. `,other:""},e.isGroupChange)}${e.optionText}${n.select({true:", \u5DF2\u9078\u53D6",other:""},e.isSelected)}`,listboxLabel:"\u5EFA\u8B70",selectedAnnouncement:e=>`${e.optionText}, \u5DF2\u9078\u53D6`}};function Xe(e$1,n){let{buttonRef:r,popoverRef:m,inputRef:u,listBoxRef:d$2,keyboardDelegate:l,layoutDelegate:x,shouldFocusWrap:U,isReadOnly:A,isDisabled:W}=e$1,ue=useRef(null);r=r??ue;let M=b(Ne,"@react-aria/combobox"),{menuTriggerProps:S,menuProps:I}=c({type:"listbox",isDisabled:W||A},n,r);a.set(n,{id:I.id});let{collection:P}=n,{disabledKeys:R}=n.selectionManager,_=useMemo(()=>l||new b$1({collection:P,disabledKeys:R,ref:d$2,layoutDelegate:x}),[l,x,P,R,d$2]),{collectionProps:s}=c$1({selectionManager:n.selectionManager,keyboardDelegate:_,disallowTypeAhead:true,disallowEmptySelection:true,shouldFocusWrap:U,ref:u,isVirtualized:true}),L=o(),{keyboardProps:$}=j({shortcuts:{Enter:t=>{let i=n.isOpen;if(n.isOpen&&d$2.current&&n.selectionManager.focusedKey!=null){let h=n.collection.getItem(n.selectionManager.focusedKey);if(h?.props.href){let v=d$2.current.querySelector(`[data-key="${CSS.escape(n.selectionManager.focusedKey.toString())}"]`);return v instanceof HTMLAnchorElement&&L.open(v,t,h.props.href,h.props.routerOptions),n.close(),{shouldPreventDefault:i}}else if(h?.props.onAction)return h.props.onAction(),n.close(),{shouldPreventDefault:i}}return n.commit(),{shouldPreventDefault:i}},Tab:()=>{if(n.isOpen&&d$2.current&&n.selectionManager.focusedKey!=null){let t=n.collection.getItem(n.selectionManager.focusedKey);if(t?.props.href)return n.close(),{shouldPreventDefault:false};if(t?.props.onAction)return t.props.onAction(),n.close(),{shouldPreventDefault:false,shouldContinuePropagation:true}}return n.isOpen&&n.commit(),{shouldPreventDefault:false,shouldContinuePropagation:true}},Escape:()=>{let t=false;return (!n.selectionManager.isEmpty||n.inputValue===""||e$1.allowsCustomValue)&&(t=true),n.revert(),{shouldContinuePropagation:t}}}}),{keyboardProps:C}=j({shortcuts:{ArrowDown:()=>(n.open("first","manual"),{shouldPreventDefault:false}),ArrowUp:()=>(n.open("last","manual"),{shouldPreventDefault:false}),ArrowLeft:()=>(n.selectionManager.setFocusedKey(null),{shouldPreventDefault:false}),ArrowRight:()=>(n.selectionManager.setFocusedKey(null),{shouldPreventDefault:false})},allowRepeats:true}),le=t=>{let i=h(r.current,t.relatedTarget),h$1=h(m.current,t.relatedTarget);i||h$1||(e$1.onBlur&&e$1.onBlur(t),n.setFocused(false));},b$4=t=>{n.isFocused||(e$1.onFocus&&e$1.onFocus(t),n.setFocused(true));},Z=_e([n.selectionManager.selectedKeys,n.selectionManager.selectionMode]),{isInvalid:c$5,validationErrors:q,validationDetails:Q}=n.displayValidation,{labelProps:B,inputProps:V,descriptionProps:g$1,errorMessageProps:ee}=a$1({...e$1,isRequired:e$1.selectionMode==="multiple"?e$1.isRequired&&n.selectionManager.isEmpty:e$1.isRequired,onChange:n.setInputValue,onKeyDown:A?e$1.onKeyDown:e(n.isOpen&&s.onKeyDown,$.onKeyDown,C.onKeyDown,e$1.onKeyDown),onBlur:le,value:n.inputValue,defaultValue:n.defaultInputValue,onFocus:b$4,autoComplete:"off",validate:void 0,[c$2]:n,"aria-describedby":[Z,e$1["aria-describedby"]].filter(Boolean).join(" ")||void 0},u);a$2(u,n.defaultValue,n.setValue);let ie=t=>{t.pointerType==="touch"&&(u.current?.focus(),n.toggle(null,"manual"));},J=t=>{t.pointerType!=="touch"&&(u.current?.focus(),n.toggle(t.pointerType==="keyboard"||t.pointerType==="virtual"?"first":null,"manual"));},Ce=a$3({id:S.id,"aria-label":M.format("buttonLabel"),"aria-labelledby":e$1["aria-labelledby"]||B.id}),a$8=a$3({id:I.id,"aria-label":M.format("listboxLabel"),"aria-labelledby":e$1["aria-labelledby"]||B.id}),F=useRef(0),ce=t=>{if(W||A)return;if(t.timeStamp-F.current<500){t.preventDefault(),u.current?.focus();return}let i=j$1(t).getBoundingClientRect(),h=t.changedTouches[0],v=Math.ceil(i.left+.5*i.width),H=Math.ceil(i.top+.5*i.height);h.clientX===v&&h.clientY===H&&(t.preventDefault(),u.current?.focus(),n.toggle(null,"manual"),F.current=t.timeStamp);},y=n.selectionManager.focusedKey!=null&&n.isOpen?n.collection.getItem(n.selectionManager.focusedKey):void 0,k=y?.parentKey??null,T=n.selectionManager.focusedKey??null,w=useRef(k),K=useRef(T);useEffect(()=>{if(i()&&y!=null&&T!=null&&T!==K.current){let t=n.selectionManager.isSelected(T),i=k!=null?n.collection.getItem(k):null,h=i?.["aria-label"]||(typeof i?.rendered=="string"?i.rendered:"")||"",v=M.format("focusAnnouncement",{isGroupChange:(i&&k!==w.current)??false,groupTitle:h,groupCount:i?[...b$2(i,n.collection)].length:0,optionText:y["aria-label"]||y.textValue||"",isSelected:t});a$4(v);}w.current=k,K.current=T;});let f=d(n.collection),z=useRef(f),N=useRef(n.isOpen);useEffect(()=>{let t=n.isOpen!==N.current&&(n.selectionManager.focusedKey==null||i());if(n.isOpen&&(t||f!==z.current)){let i=M.format("countAnnouncement",{optionCount:f});a$4(i);}z.current=f,N.current=n.isOpen;});let O=useRef(n.selectedKey);return useEffect(()=>{if(i()&&n.isFocused&&n.selectedItem&&n.selectedKey!==O.current){let t=n.selectedItem["aria-label"]||n.selectedItem.textValue||"",i=M.format("selectedAnnouncement",{optionText:t});a$4(i);}O.current=n.selectedKey;}),useEffect(()=>{if(n.isOpen)return a$5([u.current,m.current].filter(t=>t!=null))},[n.isOpen,u,m]),c$3(()=>{!y&&u.current&&i$1(a$6(u.current))===u.current&&c$4(u.current,null);},[y]),a$7(d$2,"react-aria-item-action",n.isOpen?()=>{n.close();}:void 0),{labelProps:{...B,onClick:"htmlFor"in B&&B.htmlFor||e$1.isDisabled?void 0:()=>{u.current?.focus(),d$1("keyboard");}},buttonProps:{...S,...Ce,excludeFromTabOrder:true,preventFocusOnPress:true,onPress:ie,onPressStart:J,isDisabled:W||A},inputProps:g(V,{role:"combobox","aria-expanded":S["aria-expanded"],"aria-controls":n.isOpen?I.id:void 0,"aria-autocomplete":"list","aria-activedescendant":y?b$3(n,y.key):void 0,onTouchEnd:ce,autoCorrect:"off",spellCheck:"false"}),listBoxProps:g(I,a$8,{onAction:void 0,autoFocus:n.focusStrategy||true,shouldUseVirtualFocus:true,shouldSelectOnPressUp:true,shouldFocusOnHover:true,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),valueProps:{id:Z},descriptionProps:g$1,errorMessageProps:ee,isInvalid:c$5,validationErrors:q,validationDetails:Q}}function _e(e=[]){let n=c$5(),[r,m]=useState(true),[u,d]=useState(e);return u.some((l,x)=>!Object.is(l,e[x]))&&(m(true),d(e)),useEffect(()=>{r&&!document.getElementById(n)&&m(false);},[n,r,u]),r?n:void 0}function en(e){let{defaultFilter:n,menuTrigger:r="input",allowsEmptyCollection:m=false,allowsCustomValue:u,shouldCloseOnBlur:d=true,selectionMode:l="single"}=e,[x,U]=useState(false),[A,W]=useState(false),[ue,M]=useState(null),S=useRef(false),I=useMemo(()=>e.defaultValue!==void 0?e.defaultValue:l==="single"?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,l]),P=useMemo(()=>e.value!==void 0?e.value:l==="single"?e.selectedKey:void 0,[e.value,e.selectedKey,l]),[R,_]=a$8(P,I,e.onChange),s=l==="single"&&Array.isArray(R)?R[0]:R,L=o=>{if(l==="single"){let p=Array.isArray(o)?o[0]??null:o;_(p),p!==s&&e.onSelectionChange?.(p);}else {let p=[];Array.isArray(o)?p=o:o!=null&&(p=[o]),_(p);}},{collection:$,selectionManager:C,disabledKeys:le}=b$4({...e,items:e.items??e.defaultItems,selectionMode:l,disallowEmptySelection:l==="single",allowDuplicateSelectionEvents:true,selectedKeys:useMemo(()=>on(s),[s]),onSelectionChange:o=>{if(o!=="all")if(l==="single"){let p=o.values().next().value??null;p===s?(e.onSelectionChange?.(p),z(),T()):L(p);}else L([...o]);}}),b=l==="single"?C.firstSelectedKey:null,Z=useMemo(()=>[...C.selectedKeys].map(o=>$.getItem(o)).filter(o=>o!=null),[C.selectedKeys,$]),[c,q]=a$8(e.inputValue,Ue(e.defaultInputValue,b,$)||"",e.onInputChange),[Q]=useState(s),[B]=useState(c),V=$,g=useMemo(()=>e.items!=null||!n?$:nn($,c,n),[$,c,n,e.items]),[ee,ie]=useState(g),J=useRef("focus"),a=a$9({...e,onOpenChange:o=>{e.onOpenChange&&e.onOpenChange(o,o?J.current:void 0),C.setFocused(o),o||C.setFocusedKey(null);},isOpen:void 0,defaultOpen:void 0}),F=(o=null,p)=>{let Y=p==="manual"||p==="focus"&&r==="focus";(m||g.size>0||Y&&V.size>0||e.items)&&(Y&&!a.isOpen&&e.items===void 0&&U(true),J.current=p,M(o),a.open());},ce=(o=null,p)=>{let Y=p==="manual"||p==="focus"&&r==="focus";!(m||g.size>0||Y&&V.size>0||e.items)&&!a.isOpen||(Y&&!a.isOpen&&e.items===void 0&&U(true),a.isOpen||(J.current=p),k(o));},y=useCallback(()=>{ie(x?V:g);},[x,V,g]),k=useCallback((o=null)=>{a.isOpen&&y(),M(o),a.toggle();},[a,y]),T=useCallback(()=>{a.isOpen&&(y(),a.close());},[a,y]),[w,K]=useState(c),f=useRef(false),z=()=>{let o=b!=null?$.getItem(b)?.textValue??"":"";f.current=false,K(o),q(o);},N=useRef(null),O=useRef(s),t=useRef(b!=null?$.getItem(b)?.textValue??"":"");useEffect(()=>{A&&(g.size>0||m)&&!a.isOpen&&c!==w&&c!==N.current&&r!=="manual"&&F(null,"input"),!x&&!m&&a.isOpen&&g.size===0&&(S.current=true,T()),A&&S.current&&g.size>0&&!a.isOpen&&r!=="manual"&&(S.current=false,F(null,"input")),s!=null&&s!==O.current&&l==="single"&&T(),c!==w&&(f.current=true,C.setFocusedKey(null),U(false),l==="single"&&c===""&&(e.inputValue===void 0||P===void 0)&&L(null)),s!==O.current&&(e.inputValue===void 0||P===void 0)?z():w!==c&&K(c);let o=b!=null?$.getItem(b)?.textValue??"":"";(!A||!f.current)&&b!=null&&e.inputValue===void 0&&b===O.current&&t.current!==o&&(f.current=false,K(o),q(o)),O.current=s,t.current=o,N.current=null;});let i=d$2({...e,value:useMemo(()=>Array.isArray(s)&&s.length===0?null:{inputValue:c,value:s,selectedKey:b},[c,b,s])}),h=()=>{S.current=false,u&&b==null?v():H();},v=()=>{if(l==="multiple"){K(c),T();return}let o=null;O.current=o,L(o),N.current=c,T();},H=(o=false)=>{if(P!==void 0&&e.inputValue!==void 0){let p=b!=null?$.getItem(b)?.textValue??"":"";(o||l==="multiple"||c!==p)&&(e.onSelectionChange?.(b),e.onChange?.(s)),K(p),T();}else z(),T();},pe=()=>{if(S.current=false,u){let o=b!=null?$.getItem(b)?.textValue??"":"";c===o?H():v();}else H();},Ze=()=>{a.isOpen&&C.focusedKey!=null?C.isSelected(C.focusedKey)&&l==="single"?H(true):C.select(C.focusedKey):pe();},re=useRef([c,s]),qe=o=>{o?(re.current=[c,s],r==="focus"&&!e.isReadOnly&&F(null,"focus")):(d&&pe(),(c!==re.current[0]||s!==re.current[1])&&i.commitValidation()),W(o);},Je=useMemo(()=>a.isOpen?x?V:g:ee,[a.isOpen,V,g,x,ee]),he=e.defaultSelectedKey??(l==="single"?Q:null);return {...i,...a,focusStrategy:ue,toggle:ce,open:F,close:pe,selectionManager:C,value:s,defaultValue:I??Q,setValue:L,selectedKey:b,selectedItems:Z,defaultSelectedKey:he,setSelectedKey:L,disabledKeys:le,isFocused:A,setFocused:qe,selectedItem:Z[0]??null,collection:Je,inputValue:c,defaultInputValue:Ue(e.defaultInputValue,he,$)??B,setInputValue:q,commit:Ze,revert:h}}function nn(e,n,r){return new a$a(We(e,e,n,r))}function We(e,n,r,m){let u=[];for(let d of n)if(d.type==="section"&&d.hasChildNodes){let l=We(e,b$2(d,e),r,m);[...l].some(x=>x.type==="item")&&u.push({...d,childNodes:l});}else d.type==="item"&&m(d.textValue,r)?u.push({...d}):d.type!=="item"&&u.push({...d});return u}function Ue(e,n,r){return e==null&&n!=null?r.getItem(n)?.textValue??"":e}function on(e){if(e!==void 0)return e===null?[]:Array.isArray(e)?e:[e]}export{Xe as a,en as b};
@@ -1,4 +1,4 @@
1
- import {a as a$1,b as b$1}from'./chunk-RXADOJLS.mjs';import {b as b$2,c}from'./chunk-6RN7DKRF.mjs';import {e,f,c as c$1,d,h,g}from'./chunk-XF65LVBQ.mjs';import {a as a$7}from'./chunk-JZXLV6JU.mjs';import {a as a$6}from'./chunk-LHLY432N.mjs';import {c as c$3}from'./chunk-4EAXDHSV.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$4}from'./chunk-RSKKEGJZ.mjs';import {a as a$3}from'./chunk-FDDB7QNQ.mjs';import {a as a$2}from'./chunk-LRFFL765.mjs';import {c as c$2}from'./chunk-PJINRIA6.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {MinusIcon,PlusIcon}from'@baseline-ui/icons/8';import {ReadOnlyIcon,ErrorCircleFilledIcon}from'@baseline-ui/icons/16';import k,{useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$1,b as b$1}from'./chunk-HI56YXPJ.mjs';import {b as b$2,c}from'./chunk-6RN7DKRF.mjs';import {e,f,c as c$1,d,h,g as g$1}from'./chunk-XF65LVBQ.mjs';import {a as a$7}from'./chunk-JZXLV6JU.mjs';import {a as a$6}from'./chunk-L7GYT3MC.mjs';import {c as c$2}from'./chunk-4EAXDHSV.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$4}from'./chunk-3K6XNSYE.mjs';import {a as a$3}from'./chunk-ELW6SXDM.mjs';import {a as a$2}from'./chunk-LRFFL765.mjs';import {g}from'./chunk-V2C4UDOC.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {MinusIcon,PlusIcon}from'@baseline-ui/icons/8';import {ReadOnlyIcon,ErrorCircleFilledIcon}from'@baseline-ui/icons/16';import k,{useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,4 +7,4 @@ import {a as a$1,b as b$1}from'./chunk-RXADOJLS.mjs';import {b as b$2,c}from'./c
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var w=a({defaultClassName:"_1lnwne1 z9nup81",variantClassNames:{isHoveredOrFocused:{true:"_1lnwne2"},isInteractive:{false:"z9nup82"}},defaultVariants:{},compoundVariants:[[{isHoveredOrFocused:true,isInteractive:true},"_1lnwne4"]]}),M="_1lnwne0";var H=k.forwardRef(({className:_,style:L,labelPosition:n="top",variant:P="primary",showStepper:S=true,...e$1},U)=>{let m=k.useRef(null),{locale:z}=b(),E=a$1({...e$1,locale:z}),{hoverProps:A,isHovered:s}=a$2({isDisabled:e$1.isDisabled}),{focusProps:V,isFocusVisible:T,isFocused:o}=a$3(),{labelProps:W,decrementButtonProps:q,inputProps:G,incrementButtonProps:J,groupProps:K,descriptionProps:Q,errorMessageProps:X}=b$1({...e$1,description:b$2(e$1)},E,m),d$1=useMemo(()=>e$1.isReadOnly?ReadOnlyIcon:e$1.isInvalid?ErrorCircleFilledIcon:null,[e$1.isInvalid,e$1.isReadOnly]),t=c({description:e$1.description,errorMessageProps:X,descriptionProps:Q,errorMessage:e$1.errorMessage,labelPosition:n,isDisabled:e$1.isDisabled}),Y=a$4({"data-disabled":e$1.isDisabled,"data-readonly":e$1.isReadOnly,"data-hovered":s,"data-focused":o,"data-focus-visible":T,"data-invalid":e$1.isInvalid,"data-block-id":e$1["data-block-id"],"data-block-class":e$1["data-block-class"]});return jsxs("div",{style:L,className:a$5(g({labelPosition:n}),"BaselineUI-NumberInput",_),...Y,ref:U,children:[e$1.label||n==="start"&&t?jsxs("div",{className:f({labelPosition:n,hasMessage:!!t}),children:[e$1.label?jsx("label",{...W,className:e,children:e$1.label}):null,n==="start"&&t]}):null,jsxs("div",{className:a$5({[c$3]:e$1.isDisabled}),children:[jsxs("div",{...c$2(K,A),className:a$5(h({isHovered:s,isDisabled:!!e$1.isDisabled,isReadOnly:!!e$1.isReadOnly,validationState:e$1.isInvalid?"error":"valid",isFocused:o,variant:P}),{[M]:n==="start"},"BaselineUI-NumberInput-Container"),children:[jsx("input",{...c$2(G,V),ref:m,className:a$5("BaselineUI-NumberInput-Input",c$1({isDisabled:e$1.isDisabled,labelPosition:n}))}),d$1?jsx(d$1,{className:d({validationState:"error",isReadOnly:e$1.isReadOnly}),size:16}):null,S?jsxs("div",{className:w({isHoveredOrFocused:s||o,isInteractive:!e$1.isReadOnly&&!e$1.isDisabled}),children:[jsx(a$6,{variant:"secondary",size:"xxs",icon:MinusIcon,...q,className:"BaselineUI-NumberInput-DecrementButton",isExcludedFromRovingFocus:true}),jsx(a$7,{style:{height:16},orientation:"vertical"}),jsx(a$6,{variant:"secondary",size:"xxs",icon:PlusIcon,...J,className:"BaselineUI-NumberInput-DecrementButton BaselineUI-NumberInput-IncrementButton",isExcludedFromRovingFocus:true})]}):null]}),n==="top"&&t]})]})});H.displayName="NumberInput";export{H as a};
10
+ var w=a({defaultClassName:"_1lnwne1 z9nup81",variantClassNames:{isHoveredOrFocused:{true:"_1lnwne2"},isInteractive:{false:"z9nup82"}},defaultVariants:{},compoundVariants:[[{isHoveredOrFocused:true,isInteractive:true},"_1lnwne4"]]}),M="_1lnwne0";var H=k.forwardRef(({className:_,style:L,labelPosition:n="top",variant:P="primary",showStepper:S=true,...e$1},U)=>{let m=k.useRef(null),{locale:z}=b(),E=a$1({...e$1,locale:z}),{hoverProps:A,isHovered:s}=a$2({isDisabled:e$1.isDisabled}),{focusProps:V,isFocusVisible:T,isFocused:o}=a$3(),{labelProps:W,decrementButtonProps:q,inputProps:G,incrementButtonProps:J,groupProps:K,descriptionProps:Q,errorMessageProps:X}=b$1({...e$1,description:b$2(e$1)},E,m),d$1=useMemo(()=>e$1.isReadOnly?ReadOnlyIcon:e$1.isInvalid?ErrorCircleFilledIcon:null,[e$1.isInvalid,e$1.isReadOnly]),t=c({description:e$1.description,errorMessageProps:X,descriptionProps:Q,errorMessage:e$1.errorMessage,labelPosition:n,isDisabled:e$1.isDisabled}),Y=a$4({"data-disabled":e$1.isDisabled,"data-readonly":e$1.isReadOnly,"data-hovered":s,"data-focused":o,"data-focus-visible":T,"data-invalid":e$1.isInvalid,"data-block-id":e$1["data-block-id"],"data-block-class":e$1["data-block-class"]});return jsxs("div",{style:L,className:a$5(g$1({labelPosition:n}),"BaselineUI-NumberInput",_),...Y,ref:U,children:[e$1.label||n==="start"&&t?jsxs("div",{className:f({labelPosition:n,hasMessage:!!t}),children:[e$1.label?jsx("label",{...W,className:e,children:e$1.label}):null,n==="start"&&t]}):null,jsxs("div",{className:a$5({[c$2]:e$1.isDisabled}),children:[jsxs("div",{...g(K,A),className:a$5(h({isHovered:s,isDisabled:!!e$1.isDisabled,isReadOnly:!!e$1.isReadOnly,validationState:e$1.isInvalid?"error":"valid",isFocused:o,variant:P}),{[M]:n==="start"},"BaselineUI-NumberInput-Container"),children:[jsx("input",{...g(G,V),ref:m,className:a$5("BaselineUI-NumberInput-Input",c$1({isDisabled:e$1.isDisabled,labelPosition:n}))}),d$1?jsx(d$1,{className:d({validationState:"error",isReadOnly:e$1.isReadOnly}),size:16}):null,S?jsxs("div",{className:w({isHoveredOrFocused:s||o,isInteractive:!e$1.isReadOnly&&!e$1.isDisabled}),children:[jsx(a$6,{variant:"secondary",size:"xxs",icon:MinusIcon,...q,className:"BaselineUI-NumberInput-DecrementButton",isExcludedFromRovingFocus:true}),jsx(a$7,{style:{height:16},orientation:"vertical"}),jsx(a$6,{variant:"secondary",size:"xxs",icon:PlusIcon,...J,className:"BaselineUI-NumberInput-DecrementButton BaselineUI-NumberInput-IncrementButton",isExcludedFromRovingFocus:true})]}):null]}),n==="top"&&t]})]})});H.displayName="NumberInput";export{H as a};
@@ -1,4 +1,4 @@
1
- import {a}from'./chunk-VQ45RUYJ.mjs';import {a as a$1}from'./chunk-A63HMTSM.mjs';/**
1
+ import {a}from'./chunk-ST3TDAOP.mjs';import {a as a$1}from'./chunk-SMPF53W4.mjs';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {b}from'./chunk-3PBFSDMT.mjs';import {c}from'./chunk-PJINRIA6.mjs';import {useState,useMemo}from'react';import {jsx}from'react/jsx-runtime';/**
1
+ import {b}from'./chunk-2PTLJDIT.mjs';import {g}from'./chunk-V2C4UDOC.mjs';import {useState,useMemo}from'react';import {jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,4 +7,4 @@ import {b}from'./chunk-3PBFSDMT.mjs';import {c}from'./chunk-PJINRIA6.mjs';import
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var u={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function m(t={}){let{style:e,isFocusable:i}=t,[s,o]=useState(false),{focusWithinProps:r}=b({isDisabled:!i,onFocusWithinChange:a=>o(a)}),l=useMemo(()=>s?e:e?{...u,...e}:u,[s]);return {visuallyHiddenProps:{...r,style:l}}}function V(t){let{children:e,elementType:i="div",isFocusable:s,style:o,...r}=t,{visuallyHiddenProps:l}=m(t);return jsx(i,{...c(r,l),children:e})}export{m as a,V as b};
10
+ var u={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function m(t={}){let{style:e,isFocusable:i}=t,[s,o]=useState(false),{focusWithinProps:r}=b({isDisabled:!i,onFocusWithinChange:a=>o(a)}),l=useMemo(()=>s?e:e?{...u,...e}:u,[s]);return {visuallyHiddenProps:{...r,style:l}}}function V(t){let{children:e,elementType:i="div",isFocusable:s,style:o,...r}=t,{visuallyHiddenProps:l}=m(t);return jsx(i,{...g(r,l),children:e})}export{m as a,V as b};
@@ -0,0 +1,10 @@
1
+ import {a}from'./chunk-V2C4UDOC.mjs';import c from'react';/**
2
+ * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
+ *
4
+ * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
5
+ * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
6
+ * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
7
+ * This notice may not be removed from this file.
8
+ *
9
+ */
10
+ function d(e,r){let n=c.useRef({getDeps:e,effect:r});a(()=>{n.current={getDeps:e,effect:r};});let u=c.useRef(null);c.useEffect(()=>{if(!u.current){let t=n.current.getDeps();u.current={deps:t,cleanup:n.current.effect(t)};}return ()=>{let t=u.current;if(!t)return;let s=n.current.getDeps(t.deps);t.deps.every((o,f)=>Object.is(o,s[f]))||(u.current=null,t.cleanup?.());}}),c.useEffect(()=>()=>{u.current?.cleanup?.(),u.current=null;},[]);}function i(e,r){if(!e)return null;if(e.current)return e.current;let n=r?.indexOf(e)??-1;return n===-1?null:r?.[n+1]}export{d as a,i as b};
@@ -0,0 +1,10 @@
1
+ import {c,a as a$4,d,b as b$1,e}from'./chunk-X5Z54UUE.mjs';import {c as c$3,b as b$5}from'./chunk-OY57K37D.mjs';import {b as b$4}from'./chunk-I4F5NJUI.mjs';import {a as a$7}from'./chunk-SQPWV3OX.mjs';import {b,c as c$1}from'./chunk-JYWJE6L5.mjs';import {a as a$5}from'./chunk-DIL5HL6K.mjs';import {b as b$2}from'./chunk-KG2EHFYA.mjs';import {b as b$3}from'./chunk-N2XGJKZG.mjs';import {d as d$1}from'./chunk-SMPF53W4.mjs';import {a as a$2}from'./chunk-TQMBJFQC.mjs';import {a}from'./chunk-ELW6SXDM.mjs';import {c as c$4}from'./chunk-PV4E7XDP.mjs';import {b as b$6}from'./chunk-2PTLJDIT.mjs';import {a as a$1}from'./chunk-LRFFL765.mjs';import {j,f as f$1}from'./chunk-AIG23SN5.mjs';import {q}from'./chunk-2MNK24YJ.mjs';import {g,f,c as c$2}from'./chunk-V2C4UDOC.mjs';import {a as a$6}from'./chunk-SVIYLH7R.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import {XIcon as XIcon$1}from'@baseline-ui/icons/8';import {CheckmarkIcon as CheckmarkIcon$1,XIcon}from'@baseline-ui/icons/12';import {CheckmarkIcon}from'@baseline-ui/icons/16';import T,{useState,useRef,useEffect}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
+ * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
+ *
4
+ * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
5
+ * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
6
+ * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
7
+ * This notice may not be removed from this file.
8
+ *
9
+ */
10
+ var H=new WeakMap;function be(a,e,t){let{direction:o}=b$3(),i=a.keyboardDelegate||new b$4({collection:e.collection,ref:t,orientation:"horizontal",direction:o,disabledKeys:e.disabledKeys,disabledBehavior:e.selectionManager.disabledBehavior}),{labelProps:l,fieldProps:r,descriptionProps:n,errorMessageProps:s}=a$7({...a,labelElementType:"span",ref:t}),{gridProps:c}=b$5({...a,...r,keyboardDelegate:i,shouldFocusWrap:true,linkBehavior:"override",keyboardNavigationBehavior:"tab"},e,t),[u,d]=useState(false),{focusWithinProps:p}=b$6({onFocusWithinChange:d}),b=a$6(a),m=useRef(e.collection.size);return useEffect(()=>{t.current&&m.current>0&&e.collection.size===0&&u&&t.current.focus(),m.current=e.collection.size;},[e.collection.size,u,t]),H.set(e,{onRemove:a.onRemove}),{gridProps:g(c,b,{role:e.collection.size?"grid":"group","aria-atomic":false,"aria-relevant":"additions","aria-live":u?"polite":"off",...p,...r}),labelProps:l,descriptionProps:n,errorMessageProps:s}}var te={"ar-AE":{removeButtonLabel:"\u0625\u0632\u0627\u0644\u0629",removeDescription:"\u0627\u0636\u063A\u0637 \u0639\u0644\u0649 \u0645\u0641\u062A\u0627\u062D DELETE \u0644\u0625\u0632\u0627\u0644\u0629 \u0639\u0644\u0627\u0645\u0629."},"bg-BG":{removeButtonLabel:"\u041F\u0440\u0435\u043C\u0430\u0445\u0432\u0430\u043D\u0435",removeDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0435\u0442\u0435 Delete, \u0437\u0430 \u0434\u0430 \u043F\u0440\u0435\u043C\u0430\u0445\u043D\u0435\u0442\u0435 \u043C\u0430\u0440\u043A\u0435\u0440\u0430."},"cs-CZ":{removeButtonLabel:"Odebrat",removeDescription:"Stisknut\xEDm kl\xE1vesy Delete odeberete zna\u010Dku."},"da-DK":{removeButtonLabel:"Fjern",removeDescription:"Tryk p\xE5 Slet for at fjerne tag."},"de-DE":{removeButtonLabel:"Entfernen",removeDescription:"Auf \u201EL\xF6schen\u201C dr\xFCcken, um das Tag zu entfernen."},"el-GR":{removeButtonLabel:"\u039A\u03B1\u03C4\u03AC\u03C1\u03B3\u03B7\u03C3\u03B7",removeDescription:"\u03A0\u03B1\u03C4\u03AE\u03C3\u03C4\u03B5 \u0394\u03B9\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE \u03B3\u03B9\u03B1 \u03BD\u03B1 \u03BA\u03B1\u03C4\u03B1\u03C1\u03B3\u03AE\u03C3\u03B5\u03C4\u03B5 \u03C4\u03B7\u03BD \u03B5\u03C4\u03B9\u03BA\u03AD\u03C4\u03B1."},"en-US":{removeDescription:"Press Delete to remove tag.",removeButtonLabel:"Remove"},"es-ES":{removeButtonLabel:"Quitar",removeDescription:"Pulse Eliminar para quitar la etiqueta."},"et-EE":{removeButtonLabel:"Eemalda",removeDescription:"Sildi eemaldamiseks vajutage kustutusklahvi Delete."},"fi-FI":{removeButtonLabel:"Poista",removeDescription:"Poista tunniste painamalla Poista-painiketta."},"fr-FR":{removeButtonLabel:"Supprimer",removeDescription:"Appuyez sur Supprimer pour supprimer l\u2019\xE9tiquette."},"he-IL":{removeButtonLabel:"\u05D4\u05E1\u05E8",removeDescription:"\u05DC\u05D7\u05E5 \u05E2\u05DC \u05DE\u05D7\u05E7 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E1\u05D9\u05E8 \u05EA\u05D2."},"hr-HR":{removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Delete za uklanjanje oznake."},"hu-HU":{removeButtonLabel:"Elt\xE1vol\xEDt\xE1s",removeDescription:"Nyomja meg a Delete billenty\u0171t a c\xEDmke elt\xE1vol\xEDt\xE1s\xE1hoz."},"it-IT":{removeButtonLabel:"Rimuovi",removeDescription:"Premi Elimina per rimuovere il tag."},"ja-JP":{removeButtonLabel:"\u524A\u9664",removeDescription:"\u30BF\u30B0\u3092\u524A\u9664\u3059\u308B\u306B\u306F\u3001Delete \u30AD\u30FC\u3092\u62BC\u3057\u307E\u3059\u3002"},"ko-KR":{removeButtonLabel:"\uC81C\uAC70",removeDescription:"\uD0DC\uADF8\uB97C \uC81C\uAC70\uD558\uB824\uBA74 Delete \uD0A4\uB97C \uB204\uB974\uC2ED\uC2DC\uC624."},"lt-LT":{removeButtonLabel:"Pa\u0161alinti",removeDescription:"Nor\u0117dami pa\u0161alinti \u017Eym\u0105, paspauskite \u201EDelete\u201C klavi\u0161\u0105."},"lv-LV":{removeButtonLabel:"No\u0146emt",removeDescription:"Nospiediet Delete [Dz\u0113st], lai no\u0146emtu tagu."},"nb-NO":{removeButtonLabel:"Fjern",removeDescription:"Trykk p\xE5 Slett for \xE5 fjerne taggen."},"nl-NL":{removeButtonLabel:"Verwijderen",removeDescription:"Druk op Verwijderen om de tag te verwijderen."},"pl-PL":{removeButtonLabel:"Usu\u0144",removeDescription:"Naci\u015Bnij Usu\u0144, aby usun\u0105\u0107 znacznik."},"pt-BR":{removeButtonLabel:"Remover",removeDescription:"Pressione Delete para remover a tag."},"pt-PT":{removeButtonLabel:"Eliminar",removeDescription:"Prima Delete para eliminar a tag."},"ro-RO":{removeButtonLabel:"\xCEndep\u0103rta\u0163i",removeDescription:"Ap\u0103sa\u021Bi pe Delete (\u0218tergere) pentru a elimina eticheta."},"ru-RU":{removeButtonLabel:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",removeDescription:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 DELETE, \u0447\u0442\u043E\u0431\u044B \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0442\u0435\u0433."},"sk-SK":{removeButtonLabel:"Odstr\xE1ni\u0165",removeDescription:"Ak chcete odstr\xE1ni\u0165 zna\u010Dku, stla\u010Dte kl\xE1ves Delete."},"sl-SI":{removeButtonLabel:"Odstrani",removeDescription:"Pritisnite Delete, da odstranite oznako."},"sr-SP":{removeButtonLabel:"Ukloni",removeDescription:"Pritisnite Obri\u0161i da biste uklonili oznaku."},"sv-SE":{removeButtonLabel:"Ta bort",removeDescription:"Tryck p\xE5 Radera f\xF6r att ta bort taggen."},"tr-TR":{removeButtonLabel:"Kald\u0131r",removeDescription:"Etiketi kald\u0131rmak i\xE7in Sil tu\u015Funa bas\u0131n."},"uk-UA":{removeButtonLabel:"\u0412\u0438\u043B\u0443\u0447\u0438\u0442\u0438",removeDescription:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C Delete, \u0449\u043E\u0431 \u0432\u0438\u043B\u0443\u0447\u0438\u0442\u0438 \u0442\u0435\u0433."},"zh-CN":{removeButtonLabel:"\u5220\u9664",removeDescription:"\u6309\u4E0B\u201C\u5220\u9664\u201D\u4EE5\u5220\u9664\u6807\u8BB0\u3002"},"zh-TW":{removeButtonLabel:"\u79FB\u9664",removeDescription:"\u6309 Delete \u9375\u4EE5\u79FB\u9664\u6A19\u8A18\u3002"}};function I(a,e,t){let{item:o}=a,i=b$2(te,"@react-aria/tag"),l=c$2(),{onRemove:r}=H.get(e)||{},{rowProps:n,gridCellProps:s,...c}=c$3({node:o},e,t),{descriptionProps:u,...d}=c,p=e.disabledKeys.has(o.key)||o.props.isDisabled,{keyboardProps:b}=j({isDisabled:p,shortcuts:{Delete:()=>{e.selectionManager.isSelected(o.key)?r?.(new Set(e.selectionManager.selectedKeys)):r?.(new Set([o.key]));},Backspace:()=>{e.selectionManager.isSelected(o.key)?r?.(new Set(e.selectionManager.selectedKeys)):r?.(new Set([o.key]));}},allowRepeats:true}),m=f$1();m==="virtual"&&typeof window<"u"&&"ontouchstart"in window&&(m="pointer");let P=r&&(m==="keyboard"||m==="virtual")?i.format("removeDescription"):"",D=d$1(P,t),y=o.key===e.selectionManager.focusedKey,L=e.selectionManager.focusedKey!=null,f=-1;!p&&(y||!L)&&(f=0);let k=a$6(o.props),B=q(o.props),{focusableProps:R}=c$4({...o.props,isDisabled:p},t);return {removeButtonProps:{"aria-label":i.format("removeButtonLabel"),"aria-labelledby":`${l} ${n.id}`,isDisabled:p,id:l,onPress:()=>r?r(new Set([o.key])):null},rowProps:g(R,n,k,B,{tabIndex:f,...r?b:{},"aria-describedby":D["aria-describedby"]}),gridCellProps:g(s,{"aria-errormessage":a["aria-errormessage"],"aria-label":a["aria-label"]}),...d,allowsRemoving:!!r}}var ae=T.createContext(null),ie=T.createContext(null);var ye=T.forwardRef((a,e)=>{let t=T.useContext(ae),o=T.useContext(ie);return t&&o?jsx(ne,{...a,ref:e,groupCtx:t,itemCtx:o}):jsx(se,{...a,ref:e})});ye.displayName="Tag";var se=T.forwardRef(({children:a$2,variant:e="neutral",size:t="md",elementType:o,icon:i,isDisabled:l=false,isSelected:r=false,onRemove:n,removeLabel:s,className:c,style:u,"data-block-id":d,"data-block-class":p},b$1)=>{let{formatMessage:m}=b(),{focusProps:P,isFocusVisible:D}=a({within:true}),{hoverProps:y,isHovered:L}=a$1({isDisabled:l}),{hoverProps:f,isHovered:k}=a$1({isDisabled:l}),B=!!n;return jsx(w,{ref:b$1,outerProps:g(P,f),variant:e,size:t,elementType:o,Icon:i,isDisabled:l,isSelected:r,isFocusVisible:D,isTagHovered:k,allowsRemoving:B,allowsSelection:false,removeButtonProps:y,defaultRemoveProps:{"aria-label":s??m(Le.remove),disabled:l,onClick:n},isRemoveHovered:L,className:c,style:u,"data-block-id":d,"data-block-class":p,children:a$2})});se.displayName="TagStandalone";var ne=T.forwardRef(({groupCtx:a$3,itemCtx:e,variant:t,...o},i)=>{let{state:l,variant:r,size:n}=a$3,{item:s}=e,c=T.useRef(null),{rowProps:u,gridCellProps:d,removeButtonProps:p,allowsRemoving:b,isDisabled:m,isSelected:P,allowsSelection:D}=I({item:s},l,c),y=T.useRef(null),{buttonProps:L}=a$2({...p,excludeFromTabOrder:true},y),{focusProps:f$1,isFocusVisible:k}=a({within:true}),{hoverProps:B,isHovered:R}=a$1({isDisabled:m}),{hoverProps:le,isHovered:me}=a$1({isDisabled:m}),pe=s.value?.icon,ce=s.value?.data?.variant??t??r,ue=o.size??n??"md";return jsx(w,{ref:f(c,i),outerProps:g(u,f$1,le),gridCellProps:d,variant:ce,size:ue,Icon:pe,isDisabled:m,isSelected:P,isFocusVisible:k,isTagHovered:me,allowsRemoving:b,allowsSelection:D,removeButtonProps:g(L,B),isRemoveHovered:R,children:s.rendered})});ne.displayName="TagInGroup";var w=T.forwardRef(({children:a,outerProps:e$1,gridCellProps:t,variant:o="neutral",size:i,elementType:l="div",Icon:r,isDisabled:n,isSelected:s,isFocusVisible:c$1,isTagHovered:u,allowsRemoving:d$1,allowsSelection:p,removeButtonProps:b,defaultRemoveProps:m,isRemoveHovered:P,className:D,style:y,"data-block-id":L,"data-block-class":f},k)=>{let B=i==="md"?XIcon:XIcon$1,R=i==="md"?CheckmarkIcon:CheckmarkIcon$1;return jsx(l,{...e$1,ref:k,"aria-disabled":n||void 0,"data-disabled":n||void 0,className:a$3(b$1({isFocusVisible:c$1,variant:o,isDisabled:n,allowsRemoving:d$1,isSelected:s,allowsSelection:p,isHovered:u,size:i}),e({variant:o,isDisabled:n,isSelected:s}),"BaselineUI-Tag",D),style:y,"data-block-id":L,"data-block-class":f,children:jsxs(l,{...t,className:c,children:[s?jsx(R,{size:i==="md"?16:12,className:a$3(a$4({variant:o,isDisabled:n,isSelected:s}),"BaselineUI-Tag-Icon")}):null,!s&&r?jsx(r,{size:i==="md"?16:12,className:a$3(a$4({variant:o,isDisabled:n,isSelected:s}),"BaselineUI-Tag-Icon")}):null,jsx(a$5,{elementType:l,paddingY:i==="md"?"sm":"none",typography:i==="sm"?"label.sm.medium":"label.md.medium",children:a}),d$1?jsx("button",{type:"button",...g(b,m??{}),className:d({variant:o,isHovered:P}),children:jsx(B,{size:i==="md"?12:8})}):null]})})});w.displayName="TagView";var Le=c$1({remove:{id:"bui.tag.remove",defaultMessage:"Remove"}});export{be as a,ae as b,ie as c,ye as d};
@@ -1,4 +1,4 @@
1
- import {b as b$1,a as a$8}from'./chunk-4PZGQTXE.mjs';import {a,b as b$4,c}from'./chunk-OGIKNHLU.mjs';import {a as a$c}from'./chunk-AC44TKUI.mjs';import {n,p}from'./chunk-OO3ZVB2T.mjs';import {a as a$7}from'./chunk-BPLTQDXX.mjs';import {b,c as c$1}from'./chunk-IDIZSV2Y.mjs';import {b as b$2}from'./chunk-GIUNLLWW.mjs';import {a as a$b}from'./chunk-DIL5HL6K.mjs';import {a as a$6}from'./chunk-LHLY432N.mjs';import {a as a$5}from'./chunk-VQHI3ZCW.mjs';import {b as b$3}from'./chunk-ES3IQZSH.mjs';import {a as a$3}from'./chunk-66CUIXA6.mjs';import {a as a$1}from'./chunk-FPM5UJRF.mjs';import {a as a$9}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-LRFFL765.mjs';import {a as a$a}from'./chunk-RT4LMB6X.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import pe,{useMemo,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
1
+ import {b as b$1,a as a$8}from'./chunk-ZZGRLSEK.mjs';import {a,b as b$4,c}from'./chunk-7EOAYPSZ.mjs';import {a as a$c}from'./chunk-V6ZIMZ53.mjs';import {n,p}from'./chunk-OYE6VSTU.mjs';import {a as a$7}from'./chunk-ACHYZYVA.mjs';import {b,c as c$1}from'./chunk-JYWJE6L5.mjs';import {b as b$2}from'./chunk-P3RRGPNM.mjs';import {a as a$b}from'./chunk-DIL5HL6K.mjs';import {a as a$6}from'./chunk-L7GYT3MC.mjs';import {a as a$5}from'./chunk-WSDEMATI.mjs';import {b as b$3}from'./chunk-6V7S5IG5.mjs';import {a as a$3}from'./chunk-66CUIXA6.mjs';import {a as a$1}from'./chunk-FPM5UJRF.mjs';import {a as a$9}from'./chunk-3K6XNSYE.mjs';import {a as a$2}from'./chunk-LRFFL765.mjs';import {a as a$a}from'./chunk-RT4LMB6X.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import pe,{useMemo,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {g,f,h,j}from'./chunk-OS6PVCFX.mjs';import {h as h$1,j as j$1}from'./chunk-SCJ3RG7B.mjs';import {j as j$2}from'./chunk-TYOEGCPS.mjs';import {b as b$1}from'./chunk-RMUV6NJJ.mjs';import {useRef,useState,useEffect}from'react';/**
1
+ import {g,f,h,j}from'./chunk-JANI446W.mjs';import {h as h$1,j as j$1}from'./chunk-2MNK24YJ.mjs';import {j as j$2}from'./chunk-TYOEGCPS.mjs';import {b as b$1}from'./chunk-RMUV6NJJ.mjs';import {useRef,useState,useEffect}from'react';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,4 +7,4 @@ import {g,f,h,j}from'./chunk-OS6PVCFX.mjs';import {h as h$1,j as j$1}from'./chun
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var N=200,D=50,_=600,s=new WeakMap,p=new Set,c=new Set;function B(e,i){let o=j(),t=performance.now()>=i;if(e!==o||t)for(let n of c)n(o),c.delete(n);if(!e&&o&&j$1()&&!t){window.clearInterval(s.get(window)),s.set(window,S(N));return}if(e!==o||t)for(let n of p)n(o),p.delete(n);(c.size+p.size<=0||t)&&(window.clearInterval(s.get(window)),s.delete(window));}function S(e=_){return window.setInterval(B,D,j(),performance.now()+e)}function I(e){if(!g())return e(false),()=>{};let i=window.requestAnimationFrame(()=>{i=window.requestAnimationFrame(()=>{let o=f(),t=h(o);if(j()===t||j()&&!t)return e(t);c.add(e),s.has(window)||s.set(window,S());});});return ()=>{window.cancelAnimationFrame(i),c.delete(e);}}function me(e){if(!g())return e(false),()=>{};let i=window.requestAnimationFrame(()=>{i=window.requestAnimationFrame(()=>{let o=f(),t=h(o);if(j()===t)return e(t);p.add(e),s.has(window)||s.set(window,S());});});return ()=>{window.cancelAnimationFrame(i),p.delete(e);}}var r=typeof document<"u"&&window.visualViewport;function L(){let e=b$1(),i=useRef(null),[o,t]=useState(()=>e?{width:0,height:0}:b());return useEffect(()=>{let n=m=>{t(u=>m.width===u.width&&m.height===u.height?u:m);},w=()=>{r&&r.scale>1||n(b());},g=m=>{r&&r.scale>1||h(j$2(m))&&(i.current=I(u=>{u||n({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});}));};return n(b()),h$1()&&j$1()&&window.addEventListener("blur",g,true),r?r.addEventListener("resize",w):window.addEventListener("resize",w),()=>{i.current?.(),h$1()&&j$1()&&window.removeEventListener("blur",g,true),r?r.removeEventListener("resize",w):window.removeEventListener("resize",w);}},[]),o}function b(){return {width:r?Math.min(r.width*r.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:r?r.height*r.scale:document.documentElement.clientHeight}}export{I as a,me as b,L as c};
10
+ var D=200,_=50,B=600,s=new WeakMap,p=new Set,c=new Set;function U(e,i){let o=j(),t=performance.now()>=i;if(e!==o||t)for(let n of c)n(o),c.delete(n);if(!e&&o&&j$1()&&!t){window.clearInterval(s.get(window)),s.set(window,S(D));return}if(e!==o||t)for(let n of p)n(o),p.delete(n);(c.size+p.size<=0||t)&&(window.clearInterval(s.get(window)),s.delete(window));}function S(e=B){return window.setInterval(U,_,j(),performance.now()+e)}function I(e){if(!g())return e(false),()=>{};let i=window.requestAnimationFrame(()=>{i=window.requestAnimationFrame(()=>{let o=f(),t=h(o);if(j()===t||j()&&!t)return e(t);c.add(e),s.has(window)||s.set(window,S());});});return ()=>{window.cancelAnimationFrame(i),c.delete(e);}}function pe(e){if(!g())return e(false),()=>{};let i=window.requestAnimationFrame(()=>{i=window.requestAnimationFrame(()=>{let o=f(),t=h(o);if(j()===t)return e(t);p.add(e),s.has(window)||s.set(window,S());});});return ()=>{window.cancelAnimationFrame(i),p.delete(e);}}var r=typeof document<"u"&&window.visualViewport;function L(){let e=b$1(),i=useRef(null),[o,t]=useState(()=>e?{width:0,height:0}:b());return useEffect(()=>{let n=u=>{t(m=>u.width===m.width&&u.height===m.height?m:u);},w=()=>{r&&r.scale>1||n(b());},g=u=>{r&&r.scale>1||h(j$2(u))&&(i.current=I(m=>{m||n({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});}));};return n(b()),h$1()&&j$1()&&window.addEventListener("blur",g,true),r?r.addEventListener("resize",w):window.addEventListener("resize",w),()=>{i.current?.(),h$1()&&j$1()&&window.removeEventListener("blur",g,true),r?r.removeEventListener("resize",w):window.removeEventListener("resize",w);}},[]),o}function b(){return {width:r?Math.min(r.width*r.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:r?r.height*r.scale:document.documentElement.clientHeight}}export{I as a,pe as b,L as c};
@@ -1,4 +1,4 @@
1
- import {b as b$1}from'./chunk-A63HMTSM.mjs';import {a}from'./chunk-GOCBU65X.mjs';import {j as j$1,l,c,u,e as e$1}from'./chunk-SCJ3RG7B.mjs';import {a as a$1}from'./chunk-35AM4QEA.mjs';import {e,j as j$2,i,b,d}from'./chunk-TYOEGCPS.mjs';import {useRef,useEffect,version}from'react';/**
1
+ import {b as b$1}from'./chunk-SMPF53W4.mjs';import {a}from'./chunk-GOCBU65X.mjs';import {j as j$1,l,c,u,e as e$1}from'./chunk-2MNK24YJ.mjs';import {a as a$1}from'./chunk-V2C4UDOC.mjs';import {e,j as j$2,i,b,d}from'./chunk-TYOEGCPS.mjs';import {useRef,useEffect,version}from'react';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {c,a as a$1,d,e}from'./chunk-XC5H4EVW.mjs';import {a as a$7}from'./chunk-QKNNMY2Q.mjs';import {a as a$3}from'./chunk-E6DZSC2G.mjs';import {a as a$6}from'./chunk-2UDXAKWA.mjs';import {b as b$2,a,c as c$2}from'./chunk-6RN7DKRF.mjs';import {b as b$1,c as c$3}from'./chunk-IDIZSV2Y.mjs';import {a as a$4}from'./chunk-DIL5HL6K.mjs';import {a as a$5}from'./chunk-LHLY432N.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-DLJHL4V7.mjs';import {b as b$4,j}from'./chunk-R5JHN4X6.mjs';import {a as a$2}from'./chunk-FDDB7QNQ.mjs';import {c as c$1}from'./chunk-35AM4QEA.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import {CalendarIcon}from'@baseline-ui/icons/16';import {createCalendar,toCalendarDateTime,Time,toZoned}from'@internationalized/date';import n from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {c,a as a$1,d,e}from'./chunk-CGBI7OB5.mjs';import {a as a$7}from'./chunk-6VKIT2PF.mjs';import {a as a$3}from'./chunk-TUSG5ZRW.mjs';import {a as a$6}from'./chunk-C6TD53KY.mjs';import {b as b$2,a,c as c$2}from'./chunk-6RN7DKRF.mjs';import {b as b$1,c as c$3}from'./chunk-JYWJE6L5.mjs';import {a as a$4}from'./chunk-DIL5HL6K.mjs';import {a as a$5}from'./chunk-L7GYT3MC.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-I5YPTKMM.mjs';import {b as b$4,j}from'./chunk-QDMG3P5Z.mjs';import {a as a$2}from'./chunk-ELW6SXDM.mjs';import {c as c$1}from'./chunk-V2C4UDOC.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import {CalendarIcon}from'@baseline-ui/icons/16';import {createCalendar,toCalendarDateTime,Time,toZoned}from'@internationalized/date';import n from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -0,0 +1,10 @@
1
+ import {a as a$8}from'./chunk-E3FP4B25.mjs';import {a as a$1,b as b$2}from'./chunk-HI56YXPJ.mjs';import {a as a$6}from'./chunk-JZXLV6JU.mjs';import {b as b$1,c}from'./chunk-JYWJE6L5.mjs';import {a as a$5}from'./chunk-L7GYT3MC.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$4}from'./chunk-3K6XNSYE.mjs';import {a as a$3}from'./chunk-ELW6SXDM.mjs';import {a as a$2}from'./chunk-LRFFL765.mjs';import {g}from'./chunk-V2C4UDOC.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$7}from'./chunk-4QEH5CGK.mjs';import {CaretLeftIcon as CaretLeftIcon$3,CaretRightIcon as CaretRightIcon$3}from'@baseline-ui/icons/12';import {CaretLeftIcon as CaretLeftIcon$2,CaretRightIcon as CaretRightIcon$2}from'@baseline-ui/icons/16';import {CaretLeftIcon as CaretLeftIcon$1,CaretRightIcon as CaretRightIcon$1}from'@baseline-ui/icons/20';import {CaretLeftIcon,CaretRightIcon}from'@baseline-ui/icons/24';import w from'react';import {jsxs,Fragment,jsx}from'react/jsx-runtime';/**
2
+ * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
+ *
4
+ * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
5
+ * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
6
+ * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
7
+ * This notice may not be removed from this file.
8
+ *
9
+ */
10
+ var T=a({defaultClassName:"_1nsi9h17",variantClassNames:{isFocused:{true:"_1nsi9h18"},variant:{pinned:"_1nsi9h19",floating:"_1nsi9h1a"},size:{xs:"_1nsi9h1b",sm:"_1nsi9h1c",md:"_1nsi9h1d",lg:"_1nsi9h1e"}},defaultVariants:{},compoundVariants:[]}),j="_1nsi9h1f _1yep5z6me _1yep5z6m6 _1yep5z6ey",k=a({defaultClassName:"_1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6jb _1yep5z6jc _1yep5z6jd _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6g9 _1yep5z6e1",variantClassNames:{size:{xs:"_1nsi9h11 _1yep5z6x1 _1yep5z6x2 _1yep5z6x3 _1yep5z6xp _1yep5z6xq _1yep5z6xr _1yep5z6yd _1yep5z6ye _1yep5z6yf _1yep5z6z1 _1yep5z6z2 _1yep5z6z3 _1yep5z610e",sm:"_1nsi9h12 _1yep5z610h",md:"_1nsi9h13",lg:"_1nsi9h14"},variant:{floating:"_1yep5z6zq _1yep5z6190 _1yep5z618y _1yep5z613y",pinned:"_1yep5z618m"}},defaultVariants:{},compoundVariants:[]}),U=a({defaultClassName:"_1nsi9h1g _1yep5z6ez",variantClassNames:{isDisabled:{true:"_1yep5z611l"}},defaultVariants:{},compoundVariants:[]});var ue={style:"decimal"},ce={xs:[CaretLeftIcon$3,CaretRightIcon$3],sm:[CaretLeftIcon$2,CaretRightIcon$2],md:[CaretLeftIcon$1,CaretRightIcon$1],lg:[CaretLeftIcon,CaretRightIcon]},E=w.forwardRef(({className:H,style:D,minValue:S=1,defaultValue:q=1,incrementAriaLabel:K,decrementAriaLabel:O,"aria-label":G,size:a="md",variant:t="floating",hideActions:_,isDisabled:i,pageXofYLabel:m,...s},X)=>{let{locale:Y}=b(),r=b$1(),h={...s,formatOptions:ue,minValue:S,incrementAriaLabel:K||r.formatMessage(l.nextPage),decrementAriaLabel:O||r.formatMessage(l.prevPage),defaultValue:q,"aria-label":G||r.formatMessage(l.goToPage)},u=w.useRef(null),n=a$1({...h,locale:Y}),{inputProps:c,decrementButtonProps:z,incrementButtonProps:b$3,groupProps:$}=b$2({...h,onKeyUp:C=>{C.key==="Enter"&&u.current?.blur(),s.onKeyUp?.(C);},isDisabled:i},n,u),{hoverProps:J,isHovered:Q}=a$2({isDisabled:i}),{focusProps:W,isFocused:P,isFocusVisible:Z}=a$3(),v=t==="floating",[ee,ae]=ce[a],te=a$4({"data-focus-visible":Z,"data-focused":P,"data-hovered":Q,"data-block-id":s["data-block-id"],"data-block-class":s["data-block-class"]});return jsxs("div",{...g($,J,te),className:a$7(k({size:a,variant:t}),"BaselineUI-Pagination",H),style:D,ref:X,children:[_?null:jsxs(Fragment,{children:[jsx(a$5,{icon:ee,...z,elementType:"div",size:a,style:{height:"100%",...v&&{borderRadius:0}},className:"BaselineUI-Pagination-DecrementButton",isExcludedFromRovingFocus:true,isDisabled:i||z.isDisabled}),t==="floating"&&jsx(a$6,{orientation:"vertical"})]}),jsxs("div",{role:"group",className:T({isFocused:P,variant:t,size:a}),"aria-label":(typeof m=="function"?m({page:n.numberValue,totalPages:n.maxValue}):m)??r.formatMessage(l.pageXofY,{arg0:c.value,arg1:n.maxValue}),children:[jsx("input",{...g(c,W),ref:u,className:a$7("BaselineUI-Pagination-Input",j),style:{width:`${c.value?.toString().length||1}ch`}}),jsxs("span",{className:U({isDisabled:i}),children:["/ ",jsx(a$8,{value:n.maxValue})]})]}),_?null:jsxs(Fragment,{children:[t==="floating"&&jsx(a$6,{orientation:"vertical"}),jsx(a$5,{icon:ae,...b$3,elementType:"div",size:a,style:{height:"100%",...v&&{borderRadius:0}},className:"BaselineUI-Pagination-IncrementButton",isExcludedFromRovingFocus:true,isDisabled:i||b$3.isDisabled})]})]})});E.displayName="Pagination";var l=c({nextPage:{defaultMessage:"Next Page",id:"bui.pagination.nextPage"},prevPage:{defaultMessage:"Previous Page",id:"bui.pagination.prevPage"},goToPage:{defaultMessage:"Go to Page",id:"bui.pagination.goToPage"},pageXofY:{defaultMessage:"Page {arg0} of {arg1}",id:"bui.pagination.pageXofY"}});export{E as a};