@baseline-ui/core 3.9.1 → 3.10.0

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 (319) 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-YK3KAPIK.mjs → chunk-2CFMM7MZ.mjs} +2 -2
  83. package/dist/{chunk-WSRXTVYB.mjs → chunk-2KRVQJDA.mjs} +2 -2
  84. package/dist/{chunk-SCJ3RG7B.mjs → chunk-2MNK24YJ.mjs} +1 -1
  85. package/dist/{chunk-3PBFSDMT.mjs → chunk-2PTLJDIT.mjs} +1 -1
  86. package/dist/{chunk-YSQ3YHJN.mjs → chunk-2TMQUHHU.mjs} +1 -1
  87. package/dist/chunk-3A7ZISTE.mjs +10 -0
  88. package/dist/{chunk-DOFT4BQH.mjs → chunk-3EFE2WAJ.mjs} +1 -1
  89. package/dist/{chunk-CKUHFL5G.mjs → chunk-3HJAQJWA.mjs} +1 -1
  90. package/dist/chunk-3IHIKAT4.mjs +10 -0
  91. package/dist/chunk-3JHXI33A.mjs +10 -0
  92. package/dist/chunk-3K6XNSYE.mjs +10 -0
  93. package/dist/chunk-3LS73XVI.mjs +10 -0
  94. package/dist/chunk-3P25UGHE.mjs +10 -0
  95. package/dist/{chunk-BFW26T6V.mjs → chunk-43U6RZ5C.mjs} +2 -2
  96. package/dist/{chunk-54MWEZUP.mjs → chunk-46UWKP7W.mjs} +1 -1
  97. package/dist/chunk-4CMATAQ2.mjs +10 -0
  98. package/dist/{chunk-F3EOLTFM.mjs → chunk-4FN6UAXD.mjs} +1 -1
  99. package/dist/{chunk-NWYRVUTX.mjs → chunk-4Y5IKZSW.mjs} +1 -1
  100. package/dist/{chunk-26YOMQXV.mjs → chunk-5B6263RO.mjs} +13 -13
  101. package/dist/{chunk-WAPBLICF.mjs → chunk-5NVCSLXT.mjs} +1 -1
  102. package/dist/{chunk-OBEPT4LR.mjs → chunk-5YV74V36.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-IIBBR266.mjs → chunk-MMLAKHLR.mjs} +3 -3
  176. package/dist/{chunk-Z7JRM3NW.mjs → chunk-MQCTOCK2.mjs} +2 -2
  177. package/dist/{chunk-X34RHNLT.mjs → chunk-NIAMDJYU.mjs} +2 -2
  178. package/dist/{chunk-WD2TPSZV.mjs → chunk-NIGOM3FD.mjs} +1 -1
  179. package/dist/{chunk-6NUHEJGL.mjs → chunk-NOTKA3RL.mjs} +1 -1
  180. package/dist/chunk-NYH6JQMA.mjs +10 -0
  181. package/dist/{chunk-SZNDCHMJ.mjs → chunk-OFEX3RHY.mjs} +1 -1
  182. package/dist/{chunk-GLIN7JAI.mjs → chunk-OJIOLYTM.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 +116 -40
  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-OMCGORTH.mjs +0 -10
  302. package/dist/chunk-PJINRIA6.mjs +0 -10
  303. package/dist/chunk-PSUZMSD3.mjs +0 -10
  304. package/dist/chunk-Q3FYMLAA.mjs +0 -10
  305. package/dist/chunk-QKNNMY2Q.mjs +0 -10
  306. package/dist/chunk-QVFGEXDU.mjs +0 -10
  307. package/dist/chunk-SJRYJGTL.mjs +0 -10
  308. package/dist/chunk-SYA6LAFU.mjs +0 -10
  309. package/dist/chunk-TEQHGF4G.mjs +0 -10
  310. package/dist/chunk-UCRJ3AR5.mjs +0 -10
  311. package/dist/chunk-UI4SJCQU.mjs +0 -10
  312. package/dist/chunk-V6DZG4PM.mjs +0 -11
  313. package/dist/chunk-VKWXATZ3.mjs +0 -10
  314. package/dist/chunk-VNJDCKLQ.mjs +0 -10
  315. package/dist/chunk-VQ45RUYJ.mjs +0 -10
  316. package/dist/chunk-VQHI3ZCW.mjs +0 -10
  317. package/dist/chunk-XC5H4EVW.mjs +0 -10
  318. package/dist/chunk-Z2PHVVX4.mjs +0 -10
  319. package/dist/chunk-Z7UPVYL5.mjs +0 -10
@@ -1,4 +1,4 @@
1
- import {c}from'./chunk-QVFGEXDU.mjs';import {d}from'./chunk-IIBBR266.mjs';import {c as c$1}from'./chunk-PJINRIA6.mjs';import {a}from'./chunk-SVIYLH7R.mjs';/**
1
+ import {c}from'./chunk-PV4E7XDP.mjs';import {d}from'./chunk-MMLAKHLR.mjs';import {g as g$1}from'./chunk-V2C4UDOC.mjs';import {a}from'./chunk-SVIYLH7R.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
@@ -7,4 +7,4 @@ import {c}from'./chunk-QVFGEXDU.mjs';import {d}from'./chunk-IIBBR266.mjs';import
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- function g(t,i){let{elementType:e="button",isDisabled:n,onPress:f,onPressStart:d$1,onPressEnd:m,onPressUp:b,onPressChange:c$2,preventFocusOnPress:B,allowFocusWhenDisabled:A,onClick:T,href:P,target:x,rel:E,type:s="button"}=t,r;e==="button"?r={type:s,disabled:n,form:t.form,formAction:t.formAction,formEncType:t.formEncType,formMethod:t.formMethod,formNoValidate:t.formNoValidate,formTarget:t.formTarget,name:t.name,value:t.value}:r={role:"button",href:e==="a"&&!n?P:void 0,target:e==="a"?x:void 0,type:e==="input"?s:void 0,disabled:e==="input"?n:void 0,"aria-disabled":!n||e==="input"?void 0:n,rel:e==="a"?E:void 0};let{pressProps:M,isPressed:L}=d({onPressStart:d$1,onPressEnd:m,onPressChange:c$2,onPress:f,onPressUp:b,onClick:T,isDisabled:n,preventFocusOnPress:B,ref:i}),{focusableProps:o}=c(t,i);A&&(o.tabIndex=n?-1:o.tabIndex);let O=c$1(o,M,a(t,{labelable:true}));return {isPressed:L,buttonProps:c$1(r,O,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],"aria-current":t["aria-current"],"aria-disabled":t["aria-disabled"]})}}export{g as a};
10
+ function g(t,i){let{elementType:e="button",isDisabled:n,onPress:f,onPressStart:d$1,onPressEnd:m,onPressUp:b,onPressChange:c$1,preventFocusOnPress:B,allowFocusWhenDisabled:A,onClick:T,href:P,target:x,rel:E,type:s="button"}=t,r;e==="button"?r={type:s,disabled:n,form:t.form,formAction:t.formAction,formEncType:t.formEncType,formMethod:t.formMethod,formNoValidate:t.formNoValidate,formTarget:t.formTarget,name:t.name,value:t.value}:r={role:"button",href:e==="a"&&!n?P:void 0,target:e==="a"?x:void 0,type:e==="input"?s:void 0,disabled:e==="input"?n:void 0,"aria-disabled":!n||e==="input"?void 0:n,rel:e==="a"?E:void 0};let{pressProps:M,isPressed:L}=d({onPressStart:d$1,onPressEnd:m,onPressChange:c$1,onPress:f,onPressUp:b,onClick:T,isDisabled:n,preventFocusOnPress:B,ref:i}),{focusableProps:o}=c(t,i);A&&(o.tabIndex=n?-1:o.tabIndex);let O=g$1(o,M,a(t,{labelable:true}));return {isPressed:L,buttonProps:g$1(r,O,{"aria-haspopup":t["aria-haspopup"],"aria-expanded":t["aria-expanded"],"aria-controls":t["aria-controls"],"aria-pressed":t["aria-pressed"],"aria-current":t["aria-current"],"aria-disabled":t["aria-disabled"]})}}export{g as a};
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-2MS356Q7.mjs';import {f,d,b,h,g as g$1}from'./chunk-XF65LVBQ.mjs';import {a as a$2}from'./chunk-DIL5HL6K.mjs';import {c as c$1}from'./chunk-4EAXDHSV.mjs';import {a}from'./chunk-LRFFL765.mjs';import {c}from'./chunk-PJINRIA6.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import A from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$1}from'./chunk-2MS356Q7.mjs';import {f,d,b,h,g as g$2}from'./chunk-XF65LVBQ.mjs';import {a as a$2}from'./chunk-DIL5HL6K.mjs';import {c}from'./chunk-4EAXDHSV.mjs';import {a}from'./chunk-LRFFL765.mjs';import {g as g$1}from'./chunk-V2C4UDOC.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import A 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,5 +7,5 @@ import {a as a$1}from'./chunk-2MS356Q7.mjs';import {f,d,b,h,g as g$1}from'./chun
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- function g({className:t}){return jsx("span",{className:t,"aria-hidden":"true","data-testid":"textinput-resize-grip",children:jsxs("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M4.72031 3.71962C5.01321 3.42683 5.488 3.42676 5.78086 3.71962C6.07352 4.01249 6.07358 4.48733 5.78086 4.78016L4.78086 5.78016C4.48803 6.07299 4.01322 6.07286 3.72031 5.78016C3.42742 5.48727 3.42742 5.01251 3.72031 4.71962L4.72031 3.71962Z",fill:"currentColor"}),jsx("path",{d:"M4.22031 0.219616C4.51321 -0.0731691 4.988 -0.0732413 5.28086 0.219616C5.57352 0.512488 5.57358 0.987325 5.28086 1.28016L1.27988 5.28016C0.986955 5.57268 0.512099 5.57293 0.219333 5.28016C-0.073139 4.98737 -0.0730827 4.51244 0.219333 4.21962L4.22031 0.219616Z",fill:"currentColor"})]})})}var F=A.forwardRef(({labelPosition:t="top",className:w,style:y,labelProps:z,isDisabled:r=false,isReadOnly:e=false,label:i,message:a$4,"data-block-id":k,"data-block-class":L,validationState:B="valid",isFocused:G=false,variant:H="primary",children:R,fieldProps:M,wrapperRef:T,wrapperClassName:Z,isInvalid:E,isMultiLine:s=false},V)=>{let{hoverProps:W,isHovered:b$1}=a({isDisabled:r}),n=E?"error":B,l=a$1({isReadOnly:e,validationState:n});return jsxs("div",{className:a$3(g$1({labelPosition:t}),w),"data-block-id":k,"data-block-class":L,style:y,ref:V,children:[i||t==="start"&&a$4?jsxs("div",{className:f({labelPosition:t,hasMessage:!!a$4}),children:[jsx(a$2,{...z,elementType:"label",color:"text.secondary",typography:"label.md.medium",children:i}),t==="start"&&a$4]}):null,jsxs("div",{className:a$3({[c$1]:r}),children:[jsxs("div",{...c(M,W),className:a$3(h({validationState:n,isHovered:b$1,isFocused:G,variant:H,isReadOnly:e,isDisabled:r,isMultiLine:s}),Z),ref:T,children:[R,l?jsx(l,{className:d({validationState:n,isReadOnly:e,isMultiLine:s}),size:16}):null,s&&!e&&!r?jsx(g,{className:b}):null]}),t==="top"&&a$4]})]})});F.displayName="SharedInput";
10
+ function g({className:t}){return jsx("span",{className:t,"aria-hidden":"true","data-testid":"textinput-resize-grip",children:jsxs("svg",{width:"6",height:"6",viewBox:"0 0 6 6",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[jsx("path",{d:"M4.72031 3.71962C5.01321 3.42683 5.488 3.42676 5.78086 3.71962C6.07352 4.01249 6.07358 4.48733 5.78086 4.78016L4.78086 5.78016C4.48803 6.07299 4.01322 6.07286 3.72031 5.78016C3.42742 5.48727 3.42742 5.01251 3.72031 4.71962L4.72031 3.71962Z",fill:"currentColor"}),jsx("path",{d:"M4.22031 0.219616C4.51321 -0.0731691 4.988 -0.0732413 5.28086 0.219616C5.57352 0.512488 5.57358 0.987325 5.28086 1.28016L1.27988 5.28016C0.986955 5.57268 0.512099 5.57293 0.219333 5.28016C-0.073139 4.98737 -0.0730827 4.51244 0.219333 4.21962L4.22031 0.219616Z",fill:"currentColor"})]})})}var F=A.forwardRef(({labelPosition:t="top",className:w,style:y,labelProps:z,isDisabled:r=false,isReadOnly:e=false,label:i,message:a$4,"data-block-id":k,"data-block-class":L,validationState:B="valid",isFocused:G=false,variant:H="primary",children:R,fieldProps:M,wrapperRef:T,wrapperClassName:Z,isInvalid:E,isMultiLine:s=false},V)=>{let{hoverProps:W,isHovered:b$1}=a({isDisabled:r}),n=E?"error":B,l=a$1({isReadOnly:e,validationState:n});return jsxs("div",{className:a$3(g$2({labelPosition:t}),w),"data-block-id":k,"data-block-class":L,style:y,ref:V,children:[i||t==="start"&&a$4?jsxs("div",{className:f({labelPosition:t,hasMessage:!!a$4}),children:[jsx(a$2,{...z,elementType:"label",color:"text.secondary",typography:"label.md.medium",children:i}),t==="start"&&a$4]}):null,jsxs("div",{className:a$3({[c]:r}),children:[jsxs("div",{...g$1(M,W),className:a$3(h({validationState:n,isHovered:b$1,isFocused:G,variant:H,isReadOnly:e,isDisabled:r,isMultiLine:s}),Z),ref:T,children:[R,l?jsx(l,{className:d({validationState:n,isReadOnly:e,isMultiLine:s}),size:16}):null,s&&!e&&!r?jsx(g,{className:b}):null]}),t==="top"&&a$4]})]})});F.displayName="SharedInput";
11
11
  export{F as a};
@@ -1,4 +1,4 @@
1
- import {a as a$2}from'./chunk-Y6PZKRST.mjs';import {i as i$1,c as c$1}from'./chunk-NQVTVL24.mjs';import {d,c,l,k as k$1}from'./chunk-SCJ3RG7B.mjs';import {a}from'./chunk-35AM4QEA.mjs';import {h as h$1,i,a as a$1,j,b}from'./chunk-TYOEGCPS.mjs';import $,{useRef,useContext,useMemo,useEffect}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$2}from'./chunk-Y6PZKRST.mjs';import {i as i$1,c as c$1}from'./chunk-AIG23SN5.mjs';import {d,c,l,k as k$1}from'./chunk-2MNK24YJ.mjs';import {a}from'./chunk-V2C4UDOC.mjs';import {h as h$1,i,a as a$1,j,b}from'./chunk-TYOEGCPS.mjs';import $,{useRef,useContext,useMemo,useEffect}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
@@ -1,4 +1,4 @@
1
- import {e}from'./chunk-SCJ3RG7B.mjs';/**
1
+ import {e}from'./chunk-2MNK24YJ.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
@@ -0,0 +1,10 @@
1
+ import {b as b$3,a as a$7,c as c$3}from'./chunk-GZTF5YE3.mjs';import {c,d,b as b$4,e as e$1,f as f$3}from'./chunk-NMSOOQB2.mjs';import {e,c as c$1,f as f$2}from'./chunk-BNWDQ4KX.mjs';import {a as a$9}from'./chunk-SL5Q4NLV.mjs';import {f as f$1,d as d$1}from'./chunk-24WOG72O.mjs';import {b as b$2}from'./chunk-I4F5NJUI.mjs';import {a as a$1,c as c$2,b as b$6}from'./chunk-L3SNGDBH.mjs';import {b as b$5}from'./chunk-DF2D7NE6.mjs';import {a as a$6,b}from'./chunk-KCHAWPUN.mjs';import {a as a$a}from'./chunk-JZXLV6JU.mjs';import {a as a$4}from'./chunk-DIL5HL6K.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {a}from'./chunk-66CUIXA6.mjs';import {a as a$3}from'./chunk-3K6XNSYE.mjs';import {a as a$8}from'./chunk-ELW6SXDM.mjs';import {a as a$2}from'./chunk-LRFFL765.mjs';import {f,g}from'./chunk-V2C4UDOC.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import R,{useRef,createElement,useContext,useEffect}from'react';import {CheckmarkIcon}from'@baseline-ui/icons/24';import {jsxs,jsx,Fragment}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 O=R.forwardRef(({item:e,isDisabled:i,isFocusVisible:o,isSelected:r,liProps:n,showSelectedIcon:l,description:p,descriptionProps:S,labelProps:L,isFocused:y,isPressed:u,_state:c$1},s)=>{a(e.value&&a$1(e.value),"Item cannot be a section");let a$6=useRef(null),{icon:t,label:m}=e.value,{hoverProps:d$1,isHovered:g$1}=a$2({isDisabled:i},a$6),f$1=a$3({"data-selected":r,"data-disabled":i,"data-focused":y,"data-hovered":g$1,"data-pressed":u,"data-focus-visible":o,"data-selection-mode":c$1.selectionManager.selectionMode});return jsxs("li",{...g(n,d$1,f$1),className:a$5(d({isHovered:g$1,isFocused:o,isFirstChild:c$1.collection.getFirstKey()===e.key,isLastChild:c$1.collection.getLastKey()===e.key,isDisabled:i}),n.className,"BaselineUI-ListBox-Option"),style:n.style,ref:f(s,a$6),children:[jsxs(a$4,{display:"flex",alignItems:"center",gap:"lg",children:[l?jsx("span",{"aria-hidden":true,style:{height:24,width:24},children:r?jsx(CheckmarkIcon,{size:24}):null}):null,t?jsx(t,{size:24}):null,jsx("span",{...L,children:m})]}),p?jsx("span",{className:c({isDisabled:i}),...S,children:p}):null]})});O.displayName="DefaultListOption";var le=({item:e,children:i,state:o,dragState:r,elementRef:n,...l})=>{let{dragProps:p}=d$1({key:e.key},r,n);return jsxs(Fragment,{children:[jsx(c$3,{target:{type:"item",key:e.key,dropPosition:"before"},...l}),i(p),o.collection.getKeyAfter(e.key)==null&&jsx(c$3,{target:{type:"item",key:e.key,dropPosition:"after"},...l})]})};le.displayName="DraggableListOption";var C=R.forwardRef(({item:e$1,renderOption:i=(a,t,m)=>jsx(O,{item:a,liProps:t.optionProps,...t,ref:m}),showSelectedIcon:o,state:r,dragState:n,dropState:l,orientation:p,renderDropIndicator:S,dropIndicatorStyle:L,dropIndicatorClassName:y,optionStyle:u,optionClassName:c},s)=>{let a$2=R.useRef(null),t=e({key:e$1.key},r,a$2),{value:m}=e$1;a(m&&a$1(m),"ListSection should not be passed to ListOption");let d={isFocusVisible:t.isFocusVisible,isSelected:t.isSelected,isFocused:t.isFocused,isDisabled:t.isDisabled,isPressed:t.isPressed},g$1={style:b(u,m,d),className:a$6(c,m,d)};return n&&l?jsx(le,{orientation:p,state:r,item:e$1,dropState:l,dragState:n,elementRef:a$2,renderDropIndicator:S,dropIndicatorStyle:L,dropIndicatorClassName:y,children:f$1=>i(e$1,{...t,showSelectedIcon:o,_state:r,optionProps:{...g(t.optionProps,f$1),...g$1}},f(a$2,s))}):i(e$1,{...t,showSelectedIcon:o,_state:r,optionProps:{...t.optionProps,...g$1}},f(a$2,s))});C.displayName="Option";var me=({section:e,state:i,sectionClassName:o,sectionStyle:r,showSectionHeader:n,renderSectionHeader:l,withSectionHeaderPadding:p=false,...S})=>{let L=R.useRef(null),{itemProps:y,groupProps:u,headingProps:c}=f$2({heading:n?l?.(e,L)||e.rendered:void 0,"aria-label":e["aria-label"]}),s=i.collection.getChildren?.(e.key);a(s,"children must be defined");let{value:a$1}=e;a(a$1&&b$6(a$1),"section must be a ListSection");let t=typeof r=="function"?r(a$1):r,m=typeof o=="function"?o(a$1):o;return jsxs(Fragment,{children:[e.key===i.collection.getFirstKey()?null:jsx(a$a,{UNSAFE_omitRole:true}),jsxs("li",{...y,style:{...y.style,...t},className:a$5(f$3,m,"BaselineUI-ListBox-Section"),children:[e.rendered&&n?l?.(e,L,c)||jsx(a$4,{...c,className:a$5("BaselineUI-ListBox-SectionHeader",e$1),ref:L,paddingX:"lg",typography:"label.md.medium",color:"text.primary",paddingInlineStart:p?"5xl":"lg",paddingInlineEnd:"lg",children:e.rendered}):null,jsx("ul",{...u,children:[...s].map(d=>jsx(C,{item:d,state:i,...S},d.key))})]})]})};var He=R.createContext(null),T=R.forwardRef(({className:e,layout:i="stack",orientation:o="vertical",showSelectedIcon:r=true,style:n,renderOption:l,enableReorder:p=false,shouldSelectOnPressUp:S=false,"data-block-id":L,"data-block-class":y,renderDragPreview:u,onReorder:c,state:s,listBoxHandle:a,...t},m)=>{let d=R.useRef(null),{direction:g$1}=b$1(),f$2=R.useRef(null),{listBoxProps:Le}=c$1({...t,shouldSelectOnPressUp:p||S,keyboardDelegate:new b$2({collection:s.collection,ref:f$2,layout:i,orientation:o,direction:g$1,disabledKeys:s.disabledKeys})},s,f$2);b$3({handle:a},s,f$2);let{collectionProps:ye,dragState:ue,dropState:Se}=a$7({...t,onReorder:c,layout:i,orientation:o,enableReorder:p,preview:d},s,f$2),{isFocusVisible:ge,isFocused:xe,focusProps:Pe}=a$8(),Ie=a$3({"data-block-id":L,"data-block-class":y,"data-layout":i,"data-empty":s.collection.size===0,"data-focused":xe,"data-focus-visible":ge,"data-orientation":o});return a$9({ref:f$2,isDisabled:!p}),jsxs("ul",{...g(Le,Pe,Ie,ye),className:a$5(b$4,"BaselineUI-ListBox",e),style:n,ref:f(m,f$2),children:[[...s.collection].map(b=>{let E={key:b.key,state:s,dragState:ue,dropState:Se,renderOption:l,renderDropIndicator:t.renderDropIndicator,renderSectionHeader:t.renderSectionHeader,showSelectedIcon:r,orientation:o,dropIndicatorStyle:t.dropIndicatorStyle,dropIndicatorClassName:t.dropIndicatorClassName,optionStyle:t.optionStyle,optionClassName:t.optionClassName,sectionClassName:t.sectionClassName,sectionStyle:t.sectionStyle,showSectionHeader:t.showSectionHeader,withSectionHeaderPadding:t.withSectionHeaderPadding};return b.type==="section"?createElement(me,{...E,key:b.key,section:b}):createElement(C,{...E,key:b.key,item:b})}),u?jsx(f$1,{ref:d,children:u}):null]})});T.displayName="ListBoxCore";var de=R.forwardRef((e,i)=>{let o=c$2(),r=b$5({...e,children:o});return jsx(T,{...e,ref:i,state:r})});de.displayName="ListBoxStandalone";var fe=R.forwardRef((e,i)=>{let o=useContext(He);return useEffect(()=>{if(!e.items&&!o)throw new Error("ListBox: You must provide a `state` or `items` prop to render the listbox.")},[e.items,o]),o?jsx(T,{...e,ref:i,state:o}):jsx(de,{...e,ref:i})});fe.displayName="ListBox";export{O as a,He as b,fe as c};
@@ -0,0 +1,10 @@
1
+ import {a as a$3}from'./chunk-QVXIFV7W.mjs';import {c}from'./chunk-G2RVM2KB.mjs';import {a as a$2}from'./chunk-3IHIKAT4.mjs';import {b}from'./chunk-M3NJURGR.mjs';import {a as a$5}from'./chunk-CPX5CB4L.mjs';import {a as a$1}from'./chunk-ELW6SXDM.mjs';import {f,g}from'./chunk-V2C4UDOC.mjs';import {a as a$6}from'./chunk-TYOEGCPS.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {assignInlineVars}from'@vanilla-extract/dynamic';import C,{useContext,useState,useEffect,useMemo}from'react';import {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 $="var(--cjv3et0)",G=a({defaultClassName:"cjv3et1 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6g9 _1yep5z6mf _1yep5z6mh",variantClassNames:{size:{sm:"cjv3et2",md:"cjv3et3",lg:"cjv3et4",content:"cjv3et5"},variant:{primary:"_1yep5z613z",ghost:"cjv3et7"},overlayType:{modal:"cjv3et8",popover:"cjv3et9"},isDrawer:{true:"cjv3eta _1yep5z6yy _1yep5z6yz _1yep5z6z0 _1yep5z6zm _1yep5z6zn _1yep5z6zo _1yep5z618m"},isFocusVisible:{true:"_1yep5z61rf _1yep5z61v9 _1yep5z61vb _1yep5z61vd"}},defaultVariants:{},compoundVariants:[]});var le={childList:true,subtree:true},ce={childList:true},pe={characterData:true,childList:true,subtree:true};function J(t,o){let a=t["aria-label"],p=t["aria-labelledby"],[f,i]=useState(()=>a||"");return useEffect(()=>{if(a){i(a);return}if(!p){i("");return}let l=a$6(o?.current),T=o?.current?.getRootNode()??l,_=T===l?l.body:T,d=p.split(/\s+/).filter(Boolean),m=[],h=g=>{let c=[];for(let n=g.parentNode;n&&(c.push(n),n!==_);n=n.parentNode);return c},y=()=>{let g=d.map(e=>a$5(o?.current,e)),c=g.map(e=>e?.textContent),n=c.filter(Boolean).join(" ");n&&i(n);let z=g.filter(e=>e!==null&&!e.contains(o?.current??null)),s=[];if(c.every(Boolean))for(let e of z)for(let r of h(e))s.push([r,ce]);else s.push([_,le]);for(let e of z)s.push([e,pe]);if(!(s.length===m.length&&s.every(([e,r],v)=>e===m[v][0]&&r===m[v][1]))){m=s,b.disconnect();for(let[e,r]of s)b.observe(e,r);}},b=new MutationObserver(y);return y(),()=>{b.disconnect();}},[a,p,o]),f}var L=C.createContext({titleProps:{}}),X=C.forwardRef(({children:t,className:o,style:a,inheritDrawer:p,size:f$1="md",variant:i="primary","data-block-id":l,"data-block-class":T,drawerBackground:_,...d},m)=>{let h=C.useRef(null),y=C.useRef(null),{containerWidth:b$1,shouldContainOverlays:g$1}=useContext(b),{isDrawer:c$1,closeDrawer:n,dialogStyle:z,setDialogElement:s,isWithinModal:e}=useContext(c),r=C.useId(),v=c$1&&!!p,D=v&&!d["aria-label"]&&!d["aria-labelledby"],[R,Z]=useState();useEffect(()=>{let u=y.current;if(!D||!u)return;let V=()=>{Z(a$5(u,r)?.textContent??null);};V();let O=new MutationObserver(V);return O.observe(u,{characterData:true,childList:true,subtree:true}),()=>{O.disconnect();}},[D,r]);let M=R?.trim()??"",H=R===void 0||M!=="",ee=J(v?d:{},y),te=D?M:ee,{focusProps:oe,isFocusVisible:j}=a$1(),{dialogProps:re,titleProps:I}=a$2(d,h),ae=useMemo(()=>({titleProps:I}),[I]),ne=useMemo(()=>D?{titleProps:{id:r},isTitleHidden:H}:{titleProps:{}},[D,r,H]);return v?jsx(L.Provider,{value:ne,children:jsx(a$3,{title:te,onCloseRequest:n,className:o,style:{...z,...a},...d,"aria-labelledby":D&&R!==null?r:d["aria-labelledby"],"data-drawer":true,"data-block-id":l,"data-block-class":T,ref:f(m,y,u=>{s(u);}),background:_,children:t})}):jsx(L.Provider,{value:ae,children:jsx("section",{...g(re,oe),"data-block-id":l,"data-block-class":T,"data-focus-visible":j||void 0,"data-overlay-type":e?"modal":"popover",ref:f(h,m,u=>{s(u);}),style:{...z,...a,...assignInlineVars({[$]:b$1&&g$1?`${b$1}px`:"100vw"})},className:a$4(G({size:c$1?"content":f$1,variant:i,isDrawer:c$1,isFocusVisible:j,overlayType:e?"modal":"popover"}),"BaselineUI-Dialog",o),children:t})})});X.displayName="Dialog";var Y=C.forwardRef(({children:t,className:o,style:a},p)=>{let{titleProps:f,isTitleHidden:i}=useContext(L),l=i?{display:"none"}:null;return C.isValidElement(t)?C.cloneElement(t,{...f,...i?{hidden:true}:null,ref:p,className:a$4(t.props.className,o),style:{...t.props.style,...a,...l}}):jsx("h3",{...f,hidden:i,ref:p,className:o,style:{...a,...l},children:t})});Y.displayName="DialogTitle";export{X as a,Y as b};
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-A455VRNY.mjs';import {b as b$1}from'./chunk-KG2EHFYA.mjs';import {a}from'./chunk-JJG67M2S.mjs';import {d}from'./chunk-A63HMTSM.mjs';import {f,c}from'./chunk-NQVTVL24.mjs';import {m,n,u,e,g as g$1}from'./chunk-SCJ3RG7B.mjs';import {a as a$3}from'./chunk-35AM4QEA.mjs';import {b,h,j as j$1,a as a$2,i}from'./chunk-TYOEGCPS.mjs';import {useState,useEffect,useRef}from'react';/**
1
+ import {a as a$1}from'./chunk-A455VRNY.mjs';import {b as b$1}from'./chunk-KG2EHFYA.mjs';import {a}from'./chunk-JJG67M2S.mjs';import {d}from'./chunk-SMPF53W4.mjs';import {f,c}from'./chunk-AIG23SN5.mjs';import {m,n,u,e,g as g$1}from'./chunk-2MNK24YJ.mjs';import {a as a$3}from'./chunk-V2C4UDOC.mjs';import {b,h,j as j$1,a as a$2,i}from'./chunk-TYOEGCPS.mjs';import {useState,useEffect,useRef}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
@@ -0,0 +1,10 @@
1
+ import {a as a$1,k}from'./chunk-TYOEGCPS.mjs';import {a}from'./chunk-RMUV6NJJ.mjs';import h,{useState,useRef,useCallback,useEffect}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
+ var c=typeof document<"u"?h.useLayoutEffect:()=>{};function g(e){let[n,r]=useState(e),u=useRef(n),t=useRef(null),o=useRef(()=>{if(!t.current)return;let f=t.current.next();if(f.done){t.current=null;return}u.current===f.value?o.current():r(f.value);});c(()=>{u.current=n,t.current&&o.current();});let l=useCallback(f=>{t.current=f(u.current),o.current();},[o]);return [n,l]}var M=!!(typeof window<"u"&&window.document&&window.document.createElement),s=new Map,i;typeof FinalizationRegistry<"u"&&(i=new FinalizationRegistry(e=>{s.delete(e);}));var p=new WeakMap;function V(e){let[n,r]=useState(e),u=useRef(null),t=a(n),o=useRef(null),l=p.get(o);if(i&&l!==t&&(l!=null&&i.unregister(o),i.register(o,t,o),p.set(o,t)),M){let f=s.get(t);f&&!f.includes(u)?f.push(u):s.set(t,[u]);}return c(()=>{let f=t;return ()=>{i&&(i.unregister(o),p.delete(o)),s.delete(f);}},[t]),useEffect(()=>{let f=u.current;return f&&r(f),()=>{f&&(u.current=null);}}),t}function R(e,n){if(e===n)return e;let r=s.get(e);if(r)return r.forEach(t=>t.current=n),n;let u=s.get(n);return u?(u.forEach(t=>t.current=e),e):n}function K(e=[],n){let r=V(),[u,t]=g(r),o=useCallback(()=>{let l=a$1(n?.current);t(function*(){yield r,yield k(r,l)?r:void 0;});},[r,t,n]);return c(o,[r,o,...e]),u}function x(...e){return e.length===1&&e[0]?e[0]:n=>{let r=false,u=e.map(t=>{let o=b(t,n);return r||=typeof o=="function",o});if(r)return ()=>{u.forEach((t,o)=>{typeof t=="function"?t():b(e[o],null);});}}}function b(e,n){if(typeof e=="function")return e(n);e!=null&&(e.current=n);}function I(...e){return (...n)=>{for(let r of e)typeof r=="function"&&r(...n);}}function S(e){var n,r,u="";if(typeof e=="string"||typeof e=="number")u+=e;else if(typeof e=="object")if(Array.isArray(e)){var t=e.length;for(n=0;n<t;n++)e[n]&&(r=S(e[n]))&&(u&&(u+=" "),u+=r);}else for(r in e)e[r]&&(u&&(u+=" "),u+=r);return u}function U(){for(var e,n,r=0,u="",t=arguments.length;r<t;r++)(e=arguments[r])&&(n=S(e))&&(u&&(u+=" "),u+=n);return u}var v=U;function ne(...e){let n={...e[0]};for(let r=1;r<e.length;r++){let u=e[r];for(let t in u){let o=n[t],l=u[t];typeof o=="function"&&typeof l=="function"&&t[0]==="o"&&t[1]==="n"&&t.charCodeAt(2)>=65&&t.charCodeAt(2)<=90?n[t]=I(o,l):(t==="className"||t==="UNSAFE_className")&&typeof o=="string"&&typeof l=="string"?n[t]=v(o,l):t==="id"&&o&&l?n.id=R(o,l):t==="ref"&&o&&l?n.ref=x(o,l):n[t]=l!==void 0?l:o;}}return n}export{c as a,g as b,V as c,K as d,I as e,x as f,ne as g};
@@ -1,4 +1,4 @@
1
- import {b}from'./chunk-W3YUV7IF.mjs';import {a}from'./chunk-OO7BXL2N.mjs';import {useContext}from'react';/**
1
+ import {b}from'./chunk-M3NJURGR.mjs';import {a}from'./chunk-OO7BXL2N.mjs';import {useContext}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 {a as a$1,r,d}from'./chunk-OO3ZVB2T.mjs';import {i,l}from'./chunk-NWYRVUTX.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {createElement,useMemo}from'react';import {jsx}from'react/jsx-runtime';/**
1
+ import {a as a$1,r,d}from'./chunk-OYE6VSTU.mjs';import {i,l}from'./chunk-4Y5IKZSW.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {createElement,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
@@ -1,4 +1,4 @@
1
- import {b as b$3,a as a$3}from'./chunk-KMSNBINF.mjs';import {p,o}from'./chunk-NWYRVUTX.mjs';import {b as b$2}from'./chunk-ZQOR4LCM.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {e as e$1}from'./chunk-OS6PVCFX.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {u,b as b$4}from'./chunk-SCJ3RG7B.mjs';import {a as a$2}from'./chunk-35AM4QEA.mjs';import {j,h,b as b$1,e,l,a as a$1}from'./chunk-TYOEGCPS.mjs';import ct,{createContext,useRef,useCallback,useState,useEffect,useMemo,useContext}from'react';import {flushSync}from'react-dom';import {jsx,jsxs}from'react/jsx-runtime';/**
1
+ import {b as b$3,a as a$3}from'./chunk-L42WN3AP.mjs';import {p,o}from'./chunk-4Y5IKZSW.mjs';import {b as b$2}from'./chunk-ZQOR4LCM.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {e as e$1}from'./chunk-JANI446W.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {u,b as b$4}from'./chunk-2MNK24YJ.mjs';import {a as a$2}from'./chunk-V2C4UDOC.mjs';import {j,h,b as b$1,e,l,a as a$1}from'./chunk-TYOEGCPS.mjs';import ct,{createContext,useRef,useCallback,useState,useEffect,useMemo,useContext}from'react';import {flushSync}from'react-dom';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 {j as j$1,k}from'./chunk-TGLVJRZE.mjs';import {a}from'./chunk-3PBFSDMT.mjs';import {u}from'./chunk-SCJ3RG7B.mjs';import {a as a$2}from'./chunk-PJINRIA6.mjs';import {a as a$1,j}from'./chunk-TYOEGCPS.mjs';import {useRef,useState,useEffect}from'react';/**
1
+ import {j as j$1,k}from'./chunk-UXAMVDQ4.mjs';import {a}from'./chunk-2PTLJDIT.mjs';import {u}from'./chunk-2MNK24YJ.mjs';import {e}from'./chunk-V2C4UDOC.mjs';import {a as a$1,j}from'./chunk-TYOEGCPS.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 {j as j$1,k}from'./chunk-TGLVJRZE.mjs';import {a}from'./chunk-3PBFSDMT.mj
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var c=new Map;function i(t,l,a){let r=c.get(t);r||(r=new Map,c.set(t,r));let o=r.get(l);if(!o){let s=new Set,p=u=>{for(let f of s)f(u);};o={listener:p,handlers:s},r.set(l,o),t.addEventListener(l,p);}return o.handlers.add(a),()=>{o.handlers.delete(a),o.handlers.size===0&&(t.removeEventListener(l,o.listener),r.delete(l),r.size===0&&c.delete(t));}}function F(t){let{isDisabled:l}=t,a$3=useRef(false),[r,o]=useState(null),{focusProps:s}=a({onFocus:e=>{o(a$1(j(e)));},onFocusChange:e=>{a$3.current=e;}}),p=u(e=>{a$3.current&&t.getItems&&e.preventDefault();}),u$1=u(e=>{!a$3.current||!t.getItems||(e.preventDefault(),e.clipboardData&&(j$1(e.clipboardData,t.getItems({action:"copy"})),t.onCopy?.()));}),f=u(e=>{a$3.current&&t.onCut&&t.getItems&&e.preventDefault();}),g=u(e=>{!a$3.current||!t.onCut||!t.getItems||(e.preventDefault(),e.clipboardData&&(j$1(e.clipboardData,t.getItems({action:"cut"})),t.onCut()));}),E=u(e=>{a$3.current&&t.onPaste&&e.preventDefault();}),I=u(e=>{if(!(!a$3.current||!t.onPaste)&&(e.preventDefault(),e.clipboardData)){let y=k(e.clipboardData);t.onPaste(y);}});return useEffect(()=>{if(!(l||!r))return a$2(i(r,"beforecopy",p),i(r,"copy",u$1),i(r,"beforecut",f),i(r,"cut",g),i(r,"beforepaste",E),i(r,"paste",I))},[l,r]),{clipboardProps:s}}export{F as a};
10
+ var c=new Map;function i(t,l,a){let r=c.get(t);r||(r=new Map,c.set(t,r));let o=r.get(l);if(!o){let s=new Set,p=u=>{for(let f of s)f(u);};o={listener:p,handlers:s},r.set(l,o),t.addEventListener(l,p);}return o.handlers.add(a),()=>{o.handlers.delete(a),o.handlers.size===0&&(t.removeEventListener(l,o.listener),r.delete(l),r.size===0&&c.delete(t));}}function F(t){let{isDisabled:l}=t,a$2=useRef(false),[r,o]=useState(null),{focusProps:s}=a({onFocus:e=>{o(a$1(j(e)));},onFocusChange:e=>{a$2.current=e;}}),p=u(e=>{a$2.current&&t.getItems&&e.preventDefault();}),u$1=u(e=>{!a$2.current||!t.getItems||(e.preventDefault(),e.clipboardData&&(j$1(e.clipboardData,t.getItems({action:"copy"})),t.onCopy?.()));}),f=u(e=>{a$2.current&&t.onCut&&t.getItems&&e.preventDefault();}),g=u(e=>{!a$2.current||!t.onCut||!t.getItems||(e.preventDefault(),e.clipboardData&&(j$1(e.clipboardData,t.getItems({action:"cut"})),t.onCut()));}),E=u(e=>{a$2.current&&t.onPaste&&e.preventDefault();}),I=u(e=>{if(!(!a$2.current||!t.onPaste)&&(e.preventDefault(),e.clipboardData)){let y=k(e.clipboardData);t.onPaste(y);}});return useEffect(()=>{if(!(l||!r))return e(i(r,"beforecopy",p),i(r,"copy",u$1),i(r,"beforecut",f),i(r,"cut",g),i(r,"beforepaste",E),i(r,"paste",I))},[l,r]),{clipboardProps:s}}export{F as a};
@@ -0,0 +1,10 @@
1
+ import {a as a$1,e}from'./chunk-FCKJCFMD.mjs';import {a as a$g,b as b$4}from'./chunk-DNZMQ7EA.mjs';import {a as a$j}from'./chunk-NIAMDJYU.mjs';import {a as a$h}from'./chunk-YYOOJMQZ.mjs';import {b,c}from'./chunk-JYWJE6L5.mjs';import {c as c$2}from'./chunk-W6QO7FPZ.mjs';import {a as a$5}from'./chunk-DIL5HL6K.mjs';import {a as a$7}from'./chunk-WSDEMATI.mjs';import {a as a$i}from'./chunk-RKPWFZB4.mjs';import {a as a$c}from'./chunk-RGWXVYDG.mjs';import {b as b$2}from'./chunk-KG2EHFYA.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {a as a$f}from'./chunk-I5YPTKMM.mjs';import {a as a$4}from'./chunk-EYKQGC4O.mjs';import {a as a$e}from'./chunk-BPXZ6J5G.mjs';import {a as a$k}from'./chunk-66CUIXA6.mjs';import {a as a$b}from'./chunk-5NVCSLXT.mjs';import {a as a$3}from'./chunk-3K6XNSYE.mjs';import {d}from'./chunk-PV4E7XDP.mjs';import {b as b$3,a as a$d}from'./chunk-2PTLJDIT.mjs';import {a as a$2}from'./chunk-LRFFL765.mjs';import {j}from'./chunk-AIG23SN5.mjs';import {a as a$a,h,l}from'./chunk-2MNK24YJ.mjs';import {g,c as c$1}from'./chunk-V2C4UDOC.mjs';import {a as a$8}from'./chunk-SVIYLH7R.mjs';import {a as a$9}from'./chunk-6ZQE5SHE.mjs';import {b as b$5}from'./chunk-TYOEGCPS.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {HelpIcon}from'@baseline-ui/icons/16';import Mr,{useMemo,useState,useCallback,useRef}from'react';import {flushSync}from'react-dom';import {themeVars}from'@baseline-ui/tokens';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 ne={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xA0: ${e.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"},"zh-CN":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"},"zh-TW":{colorInputLabel:e=>`${e.label}\uFF0C${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"}};var Ye=e=>[0,60,120,180,240,300,360].map(r=>e.withChannelValue("hue",r).toString("css")).join(", "),Je=e=>`${e.withChannelValue("saturation",0)}, transparent`,wr={hue:Ye,saturation:Je,lightness:()=>"black, transparent, white"},Ar={hue:Ye,saturation:Je,brightness:()=>"black, transparent"};function Ze({direction:e,state:r,zChannel:l,xChannel:t,yChannel:a}){return useMemo(()=>{let y=e==="rtl"?"left":"right",C={},g=r.value.getChannelValue(l);switch(r.value.getColorSpace()){case "rgb":{let i=a$1("rgb(0, 0, 0)");C={background:[`linear-gradient(to ${y}, ${i.withChannelValue(t,0)}, ${i.withChannelValue(t,255)})`,`linear-gradient(to top, ${i.withChannelValue(a,0)}, ${i.withChannelValue(a,255)})`,i.withChannelValue(l,g)].join(","),backgroundBlendMode:"screen"};break}case "hsl":{let i=r.value.getColorChannels(),s=a$1("hsl(0, 100%, 50%)").withChannelValue(l,g),c=i.filter(n=>n!==l).map(n=>`linear-gradient(to ${n===t?y:"top"}, ${wr[n](s)})`).reverse();l==="hue"&&c.push(s.toString("css")),C={background:c.join(", ")};break}case "hsb":{let i=r.value.getColorChannels(),s=a$1("hsb(0, 100%, 100%)").withChannelValue(l,g),c=i.filter(n=>n!==l).map(n=>`linear-gradient(to ${n===t?y:"top"}, ${Ar[n](s)})`).reverse();l==="hue"&&c.push(s.toString("css")),C={background:c.join(", ")};break}}let{x:f,y:d}=r.getThumbPosition();e==="rtl"&&(f=1-f);let z={forcedColorAdjust:"none"};return {colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...z,...C}},thumbStyleProps:{style:{position:"absolute",left:`${f*100}%`,top:`${d*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...z}}}},[e,r,l,t,a])}function er(e,r){let{isDisabled:l$1,inputXRef:t,inputYRef:a,containerRef:u,"aria-label":y,xName:C,yName:g$1,form:f}=e,d=b$2(ne,"@react-aria/color"),{addGlobalListener:z,removeGlobalListener:i}=a$9(),{direction:s,locale:c}=b$1(),[n,v]=useState(null),b=useCallback((o=t)=>{o.current&&a$a(o.current);},[t]);a$b(t,r.defaultValue,r.setValue);let[S,h$1]=useState(false),[I,x]=useState(false),{xChannel:_,yChannel:m,zChannel:A}=r.channels,j$1=r.xChannelStep,N=r.yChannelStep,k=useRef(null),O=(o,p,w)=>{r.setDragging(true),h$1(true),o(),r.setDragging(false),b(p),v(w);},{keyboardProps:$}=j({shortcuts:{PageUp:()=>O(()=>{r.incrementY(r.yChannelPageStep);},a,"y"),PageDown:()=>O(()=>{r.decrementY(r.yChannelPageStep);},a,"y"),Home:()=>O(()=>{s==="rtl"?r.incrementX(r.xChannelPageStep):r.decrementX(r.xChannelPageStep);},t,"x"),End:()=>O(()=>{s==="rtl"?r.decrementX(r.xChannelPageStep):r.incrementX(r.xChannelPageStep);},t,"x")},allowRepeats:true}),J={onMoveStart(){k.current=null,r.setDragging(true);},onMove({deltaX:o,deltaY:p,pointerType:w,shiftKey:Z}){let{incrementX:U,decrementX:se,incrementY:ce,decrementY:T,xChannelPageStep:q,xChannelStep:B,yChannelPageStep:ke,yChannelStep:Pe,getThumbPosition:Sr,setColorFromPoint:gr}=r;k.current==null&&(k.current=Sr());let{width:xr,height:kr}=u.current?.getBoundingClientRect()||{width:0,height:0},we=o!==0||p!==0;if(w==="keyboard"){let Ae=Z&&q>B?q:B,$e=Z&&ke>Pe?ke:Pe;o>0&&s==="ltr"||o<0&&s==="rtl"?U(Ae):o<0&&s==="ltr"||o>0&&s==="rtl"?se(Ae):p>0?T($e):p<0&&ce($e),h$1(we),n=we&&Math.abs(p)>Math.abs(o)?"y":"x",v(n);}else k.current.x+=(s==="rtl"?-1:1)*o/xr,k.current.y+=p/kr,gr(k.current.x,k.current.y);},onMoveEnd(){M.current=false,r.setDragging(false),b(n==="x"?t:a);}},{moveProps:sr}=a$c(J),{focusWithinProps:cr}=b$3({onFocusWithinChange:o=>{o||(h$1(false),x(false));}}),F=useRef(void 0),M=useRef(false),{moveProps:dr}=a$c({onMoveStart(){M.current&&J.onMoveStart();},onMove(o){M.current&&J.onMove(o);},onMoveEnd(){M.current&&J.onMoveEnd();}}),pe=o=>{let p=b$5(u.current);r.isDragging||(F.current=o,h$1(false),b(),r.setDragging(true),typeof PointerEvent<"u"?z(p,"pointerup",R,false):(z(p,"mouseup",R,false),z(p,"touchend",R,false)));},R=o=>{let p=b$5(u.current);(o.pointerId??o.changedTouches?.[0].identifier)===F.current&&(h$1(false),b(),r.setDragging(false),F.current=void 0,M.current=false,typeof PointerEvent<"u"?i(p,"pointerup",R,false):(i(p,"mouseup",R,false),i(p,"touchend",R,false)));},ue=(o,p,w,Z)=>{let U=o.getBoundingClientRect(),{width:se,height:ce}=U,T=(w-U.x)/se,q=(Z-U.y)/ce;s==="rtl"&&(T=1-T);let B=b$5(u.current);T>=0&&T<=1&&q>=0&&q<=1&&!r.isDragging&&F.current===void 0&&(M.current=true,h$1(false),F.current=p,r.setColorFromPoint(T,q),b(),r.setDragging(true),typeof PointerEvent<"u"?z(B,"pointerup",E,false):(z(B,"mouseup",E,false),z(B,"touchend",E,false)));},E=o=>{let p=o.pointerId??o.changedTouches?.[0].identifier;if(M.current&&p===F.current){M.current=false,h$1(false),F.current=void 0,r.setDragging(false),b();let w=b$5(u.current);typeof PointerEvent<"u"?i(w,"pointerup",E,false):(i(w,"mouseup",E,false),i(w,"touchend",E,false));}},mr=l$1?{}:g({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||ue(o.currentTarget,o.pointerId,o.clientX,o.clientY);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||ue(o.currentTarget,void 0,o.clientX,o.clientY);},onTouchStart:o=>{ue(o.currentTarget,o.changedTouches[0].identifier,o.changedTouches[0].clientX,o.changedTouches[0].clientY);}}},dr),yr=l$1?{}:g({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||pe(o.pointerId);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||pe(void 0);},onTouchStart:o=>{pe(o.changedTouches[0].identifier);}}},cr,$,sr),{focusProps:br}=a$d({onFocus:()=>{v("x");}}),{focusProps:_r}=a$d({onFocus:()=>{v("y");}}),ve=o=>{let{target:p}=o;x(true),p===t.current?r.setXValue(parseFloat(p.value)):p===a.current&&r.setYValue(parseFloat(p.value));},W=h()||l(),P=r.getDisplayColor(),Se=useCallback(o=>`${I||S?d.format("colorNameAndValue",{name:P.getChannelName(o,c),value:P.formatChannelValue(o,c)}):[d.format("colorNameAndValue",{name:P.getChannelName(o,c),value:P.formatChannelValue(o,c)}),d.format("colorNameAndValue",{name:P.getChannelName(o===m?_:m,c),value:P.formatChannelValue(o===m?_:m,c)}),d.format("colorNameAndValue",{name:P.getChannelName(A,c),value:P.formatChannelValue(A,c)})].join(", ")}, ${P.getColorName(c)}`,[c,P,d,I,S,_,m,A]),H=d.format("colorPicker"),fr=a$e({...e,"aria-label":y?d.format("colorInputLabel",{label:y,channelLabel:H}):H}),zr=a$e({...e,"aria-label":y?d.format("colorInputLabel",{label:y,channelLabel:H}):H}),hr=a$e({...e,"aria-label":y?`${y}, ${H}`:void 0},W?H:void 0),ge=d.format("twoDimensionalSlider"),{visuallyHiddenProps:xe}=a$f({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:Cr,thumbStyleProps:vr}=Ze({direction:s,state:r,xChannel:_,yChannel:m,zChannel:A});return {colorAreaProps:{...hr,...mr,...Cr,role:"group"},thumbProps:{...yr,...vr,role:"presentation"},xInputProps:{...fr,...xe,...br,type:"range",min:r.value.getChannelRange(_).minValue,max:r.value.getChannelRange(_).maxValue,step:j$1,"aria-roledescription":ge,"aria-valuetext":Se(_),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l$1,value:r.value.getChannelValue(_),name:C,form:f,tabIndex:W||!n||n==="x"?void 0:-1,"aria-hidden":W||!n||n==="x"||S?void 0:"true",onChange:ve},yInputProps:{...zr,...xe,..._r,type:"range",min:r.value.getChannelRange(m).minValue,max:r.value.getChannelRange(m).maxValue,step:N,"aria-roledescription":ge,"aria-valuetext":Se(m),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l$1,value:r.value.getChannelValue(m),name:g$1,form:f,tabIndex:W||n==="y"?void 0:-1,"aria-hidden":W||n==="y"||S?void 0:"true",onChange:ve}}}function rr(e,r){let{trackRef:l,inputRef:t,orientation:a,channel:u,"aria-label":y,name:C,form:g$1}=e,{locale:f,direction:d}=b$1();!e.label&&!y&&!e["aria-labelledby"]&&(y=r.value.getChannelName(u,f));let{groupProps:z,trackProps:i,labelProps:s,outputProps:c}=a$g({...e,"aria-label":y},r,l),{inputProps:n,thumbProps:v}=b$4({index:0,orientation:a,isDisabled:e.isDisabled,name:C,form:g$1,trackRef:l,inputRef:t},r),b=r.getDisplayColor(),S=()=>{let x;switch(a==="vertical"?x="top":d==="ltr"?x="right":x="left",u){case "hue":{let _=[0,60,120,180,240,300,360].map(m=>b.withChannelValue("hue",m).toString("css")).join(", ");return `linear-gradient(to ${x}, ${_})`}case "lightness":{let _=r.getThumbMinValue(0),m=r.getThumbMaxValue(0),A=b.withChannelValue(u,_).toString("css"),j=b.withChannelValue(u,(m-_)/2).toString("css"),N=b.withChannelValue(u,m).toString("css");return `linear-gradient(to ${x}, ${A}, ${j}, ${N})`}case "saturation":case "brightness":case "red":case "green":case "blue":case "alpha":{let _=b.withChannelValue(u,r.getThumbMinValue(0)).toString("css"),m=b.withChannelValue(u,r.getThumbMaxValue(0)).toString("css");return `linear-gradient(to ${x}, ${_}, ${m})`}default:throw new Error("Unknown color channel: "+u)}},h={forcedColorAdjust:"none"};u==="hue"?n["aria-valuetext"]+=`, ${b.getHueName(f)}`:u!=="alpha"&&(n["aria-valuetext"]+=`, ${b.getColorName(f)}`);let{visuallyHiddenProps:I}=a$f({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return {trackProps:{...g(z,i),style:{...i.style,...h,background:S()}},inputProps:{...n,style:{...n.style,...I.style}},thumbProps:{...v,style:{...v.style,...h}},labelProps:s,outputProps:c}}function or(e,r,l){let{isDisabled:t,isReadOnly:a,isRequired:u,isWheelDisabled:y,validationBehavior:C="aria",onKeyDown:g$1,onKeyUp:f}=e,{colorValue:d,inputValue:z,increment:i,decrement:s,incrementToMax:c,decrementToMin:n,commit:v,commitValidation:b}=r,S=c$1(),{spinButtonProps:h}=a$h({isDisabled:t,isReadOnly:a,isRequired:u,maxValue:16777215,minValue:0,onIncrement:i,onIncrementToMax:c,onDecrement:s,onDecrementToMin:n,value:d?d.toHexInt():void 0,textValue:d?d.toString("hex"):void 0}),[I,x]=useState(false),{focusWithinProps:_}=b$3({isDisabled:t,onFocusWithinChange:x}),m=useCallback($=>{Math.abs($.deltaY)<=Math.abs($.deltaX)||($.deltaY>0?i():$.deltaY<0&&s());},[s,i]);a$i({onScroll:m,isDisabled:y||t||a||!I},l);let{keyboardProps:j$1}=j({isDisabled:t||a,shortcuts:{Enter:()=>(flushSync(()=>{v();}),b(),{shouldPreventDefault:false})},onKeyDown:g$1,onKeyUp:f}),N=$=>{r.validate($)&&r.setInputValue($);},{inputProps:k,...O}=a$j({...e,id:S,value:z,defaultValue:"!",validate:void 0,[c$2]:r,type:"text",autoComplete:"off",onChange:N,onKeyDown:void 0,onKeyUp:void 0},r,l);return a$b(l,r.defaultColorValue,r.setColorValue),k=g(j$1,k,h,_,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:v}),C==="native"&&(k["aria-required"]=void 0),{inputProps:k,...O}}function ie(e){let{color:r,colorName:l}=e,t=r||"#fff0",a=useMemo(()=>typeof t=="string"?a$1(t):t,[t]),{locale:u}=b$1(),y=a$8(e,{labelable:true}),C=b$2(ne,"@react-aria/color"),g=c$1(e.id);return l||(l=a.getChannelValue("alpha")===0?C.format("transparent"):a.getColorName(u)),{colorSwatchProps:{...y,role:"img","aria-roledescription":C.format("colorSwatch"),"aria-label":[l,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${g} ${e["aria-labelledby"]}`:void 0,id:g,style:{backgroundColor:a.toString("css"),forcedColorAdjust:"none"}},color:a||null}}var nl="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6m3",il="_1dbkl5e",pl=a({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6me _1yep5z6m6 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6ey _1yep5z6m5 _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z611l"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),ul="_1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kz _1yep5z6l0 _1yep5z6l1",sl=a({defaultClassName:"_1dbkl50 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6dy _1yep5z6ez",variantClassNames:{labelPosition:{top:"_1yep5z6oy _1yep5z6oz _1yep5z6p0",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),cl="_1dbkl5l _1yep5z6je _1yep5z6jf _1yep5z6jg _1yep5z69f _1yep5z69g _1yep5z69h",dl="_1dbkl5f z9nup86",ml="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv",lr="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6m6",yl="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6kz _1yep5z6l0 _1yep5z6l1 _1yep5z6dy _1yep5z6ez _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1",bl=a({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g9",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6nm _1yep5z6nn _1yep5z6no"}},defaultVariants:{},compoundVariants:[]}),_l="_1dbkl5v _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj",fl=a({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6mf _1yep5z6hg _1yep5z6m6 _1yep5z6ey _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z613w"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6xp _1yep5z6xq _1yep5z6xr _1yep5z6z1 _1yep5z6z2 _1yep5z6z3 _1yep5z618m"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61qj"]]}),zl=a({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f9 _1yep5z6m5 _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6lq _1yep5z6lt",variantClassNames:{isHovered:{true:"_1yep5z612u"},isFocusVisible:{true:"_1yep5z618s _1yep5z618q _1yep5z618t _1yep5z614w"},isDisabled:{true:"_1yep5z611u"}},defaultVariants:{},compoundVariants:[]}),hl="_1dbkl5g",Cl="_1dbkl5u",vl="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69f _1yep5z69g _1yep5z69h",Sl="_1dbkl5x",gl="_1dbkl5w",xl="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69l _1yep5z69m _1yep5z69n",kl=a({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6ma _1yep5z6iw _1yep5z6ix _1yep5z6iy _1yep5z6mf _1yep5z6mi",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z618q _1yep5z614w _1yep5z618s"}},defaultVariants:{},compoundVariants:[]}),Pl="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lw _1yep5z6lx _1yep5z6lz _1yep5z6ly _1yep5z6iw _1yep5z6ix _1yep5z6iy";var jl=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],Nl=a$1("#000000").toFormat("hsla"),fe="hsla",ze="hexa";function jr(e){if(typeof document>"u")return "#000000";let r=document.createElement("canvas").getContext("2d");return a$k(r,"Failed to get canvas context"),r.fillStyle=e,r.fillStyle}function Ml(e$1){if(typeof e$1=="string")try{return e(e$1).toFormat(fe)}catch{return a$1(jr(e$1)).toFormat(fe)}else if(e$1)return e$1.toFormat(fe);return null}function Fl(e,r){return e?.getChannelValue("alpha")?r?.toString(ze)===e.toString(ze):!r?.getChannelValue("alpha")}function Tl(e,r,l){return r?.label?r.label:e?.getChannelValue("alpha")===0?l:e?.toString("rgba")}var he="NONE";function Ol(e$1,r){let l=r?.map(a=>({id:e(a.color).toString(ze),label:a.label}))||[],t={id:he,label:e$1};return [...l,t]}var Rl=(e,{optionProps:r,isFocusVisible:l,isSelected:t},a)=>(a$k(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...r,ref:a,className:lr,children:jsx(Ce,{color:e.value.id,isFocusVisible:l,isSelected:t,"aria-label":e.value.label,isInteractive:true})})),ar=(e,r=4)=>{let l=e.getChannelValue("alpha")===0,t=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:l?t:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${t}`,backgroundSize:`${r}px ${r}px`}};var nr=a({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv _1yep5z6m0 _1yep5z6is _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kt _1yep5z6ku _1yep5z6kv z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z618s _1yep5z618q _1yep5z614w _1yep5z618v"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve"],[{isSelected:true,isDisabled:true},"_1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve _1yep5z61rp"],[{isHovered:true,isSelected:false},"_1yep5z61ve _1yep5z61vb _1yep5z61v9 _1yep5z61rj"]]}),ir="_1yep5z6fa",pr="_1344e9q9 _1yep5z6fp";var Ce=Mr.forwardRef(({color:e$1,isFocusVisible:r,isSelected:l,isInteractive:t,isDisabled:a,style:u,className:y,id:C,tooltip:g$1,isIndeterminate:f,indeterminateIcon:d$1=HelpIcon,noneLabel:z,"data-block-id":i,"data-block-class":s,...c},n)=>{let v=e$1&&e$1!==he&&(typeof e$1=="string"?e(e$1):e$1),{formatMessage:b$1}=b(),S=!v,{colorSwatchProps:h}=ie({color:S?"#000000":v}),{hoverProps:I,isHovered:x}=a$2({isDisabled:a||!t}),_=a$3({"data-focus-visible":r,"data-selected":l,"data-hovered":x,"data-block-id":i,"data-block-class":s,"data-disabled":a,"data-interactive":t,"data-indeterminate":f}),m=S?z??b$1(ur.none):h["aria-label"],A=c["aria-label"]??m,{tooltipProps:j}=a$4({tooltip:g$1,label:A}),N=jsx("div",{...g(I,_,S?{}:h),style:u,"aria-label":S?z??b$1(ur.none):h["aria-label"],role:"img",className:a$6(nr({removeBlendMode:S,isFocusVisible:r,isDisabled:!!a,isSelected:!!l,isHovered:x}),"BaselineUI-ColorSwatch",y),ref:n,id:C,...c,children:jsxs(a$5,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:a?"medium":void 0,style:v&&!f?ar(v,4):void 0,children:[S&&!f?jsx("div",{className:pr}):null,f&&d$1?jsx(d$1,{role:"presentation",size:16,className:ir,"aria-hidden":"true"}):null]})});return j&&!a?jsx(a$7,{...j,children:jsx(d,{children:N})}):N});Ce.displayName="ColorSwatch";var ur=c({none:{id:"bui.colorSwatch.none",defaultMessage:"None"}});export{fe as A,ze as B,Ml as C,Fl as D,Tl as E,he as F,Ol as G,Rl as H,Ce as I,er as a,or as b,rr as c,nl as d,il as e,pl as f,ul as g,sl as h,cl as i,dl as j,ml as k,yl as l,bl as m,_l as n,fl as o,zl as p,hl as q,Cl as r,vl as s,Sl as t,gl as u,xl as v,kl as w,Pl as x,jl as y,Nl as z};
@@ -0,0 +1,10 @@
1
+ import {useGranularEffect}from'granular-hooks';import {useReducer}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
+ var i="SET_STATE",a="UNDO",c="REDO",E=(o,e)=>{let{past:t,present:n,future:s}=o;switch(e.type){case i:return {past:[...t,n],present:e.data,future:[],lastAction:void 0};case a:return t.length===0?o:{past:t.slice(0,t?.length-1),present:t[t?.length-1],future:[n,...s],lastAction:{type:a}};case c:return s.length===0?o:{past:[...t,n],present:s[0],future:s.slice(1),lastAction:{type:c}};default:throw new Error("Invalid action type")}},g=(o={},{isDisabled:e,onAction:t})=>{let[n,s]=useReducer(E,{past:[],present:o,future:[]}),{past:p,present:r,future:u}=n,T=l=>{s({type:i,data:l});},f=()=>{s({type:a});},d=()=>{s({type:c});},y=!e&&!!p?.length,h=!e&&!!u?.length;return useGranularEffect(()=>{n.lastAction&&t?.(r,n.lastAction.type);},[n.lastAction],[t,r]),{state:r,push:e?()=>{}:T,undo:e?()=>{}:f,redo:e?()=>{}:d,pastStates:p,futureStates:u,canUndo:y,canRedo:h}};export{g as a};
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-66CUIXA6.mjs';import {b as b$1}from'./chunk-PJINRIA6.mjs';import {a}from'./chunk-TYOEGCPS.mjs';import {b}from'./chunk-RMUV6NJJ.mjs';import*as y from'dompurify';import c,{useId}from'react';import {jsx}from'react/jsx-runtime';/**
1
+ import {a as a$1}from'./chunk-66CUIXA6.mjs';import {f}from'./chunk-V2C4UDOC.mjs';import {a}from'./chunk-TYOEGCPS.mjs';import {b}from'./chunk-RMUV6NJJ.mjs';import*as y from'dompurify';import c,{useId}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 {a as a$1}from'./chunk-66CUIXA6.mjs';import {b as b$1}from'./chunk-PJINRI
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var I=(e,t)=>{e.setAttribute("height",typeof t=="number"?`${t}px`:t),e.setAttribute("width",typeof t=="number"?`${t}px`:t);},R=(e,t,n)=>{let o=e.querySelector("title"),i=a(e);if(o)o.textContent=t,o.setAttribute("id",n);else {let r=i.createElement("title");r.textContent=t,r.setAttribute("id",n),e.prepend(r);}},T=(e,t)=>{t&&e.classList.add(...t.split(/[\t\n\f\r ]+/).filter(Boolean));},w=(e,t)=>{let n=t.createElement("span");n.innerHTML=y.default.sanitize(e);let o=n.querySelector("svg");return a$1(o,"Icon: svg prop must be a valid svg string"),o},x=c.forwardRef(({size:e,title:t,className:n,style:o,color:i,...r},v)=>{let u=useId(),f=b(),l=c.useRef(null),m="svg"in r?r.svg:void 0,a$1=c.useMemo(()=>{if(m&&!f){let b=a(l.current),s=w(m,b);return e&&I(s,e),t&&R(s,t,u),T(s,n),s.outerHTML}},[m,e,t,n,u,f]);return jsx("span",{className:n,ref:b$1(v,l),style:{display:"contents",...o,color:i},dangerouslySetInnerHTML:a$1?{__html:a$1}:void 0})});x.displayName="Icon";export{x as a};
10
+ var I=(e,t)=>{e.setAttribute("height",typeof t=="number"?`${t}px`:t),e.setAttribute("width",typeof t=="number"?`${t}px`:t);},R=(e,t,n)=>{let o=e.querySelector("title"),i=a(e);if(o)o.textContent=t,o.setAttribute("id",n);else {let r=i.createElement("title");r.textContent=t,r.setAttribute("id",n),e.prepend(r);}},T=(e,t)=>{t&&e.classList.add(...t.split(/[\t\n\f\r ]+/).filter(Boolean));},w=(e,t)=>{let n=t.createElement("span");n.innerHTML=y.default.sanitize(e);let o=n.querySelector("svg");return a$1(o,"Icon: svg prop must be a valid svg string"),o},x=c.forwardRef(({size:e,title:t,className:n,style:o,color:i,...r},v)=>{let u=useId(),f$1=b(),l=c.useRef(null),m="svg"in r?r.svg:void 0,a$1=c.useMemo(()=>{if(m&&!f$1){let b=a(l.current),s=w(m,b);return e&&I(s,e),t&&R(s,t,u),T(s,n),s.outerHTML}},[m,e,t,n,u,f$1]);return jsx("span",{className:n,ref:f(v,l),style:{display:"contents",...o,color:i},dangerouslySetInnerHTML:a$1?{__html:a$1}:void 0})});x.displayName="Icon";export{x as a};
@@ -0,0 +1,10 @@
1
+ import {a as a$3}from'./chunk-3JHXI33A.mjs';import {a as a$5}from'./chunk-FP5EWPOF.mjs';import {a as a$4}from'./chunk-3A7ZISTE.mjs';import {a as a$2}from'./chunk-46UWKP7W.mjs';import {f as f$1}from'./chunk-CFDIUF4H.mjs';import {a as a$8}from'./chunk-G2IYZES5.mjs';import {a as a$6}from'./chunk-V3DTS6FF.mjs';import {b}from'./chunk-A455VRNY.mjs';import {a as a$7}from'./chunk-5IC46G5J.mjs';import {a as a$b}from'./chunk-22VRCVTH.mjs';import {b as b$2,c as c$1}from'./chunk-PV4E7XDP.mjs';import {a as a$a}from'./chunk-LRFFL765.mjs';import {b as b$1,c as c$2}from'./chunk-AIG23SN5.mjs';import {a as a$1,g,f,c}from'./chunk-V2C4UDOC.mjs';import {a as a$9}from'./chunk-SVIYLH7R.mjs';import {a as a$c}from'./chunk-TYOEGCPS.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import F,{useRef,useEffect,useState,useMemo}from'react';import {motion}from'motion/react';import {jsxs,jsx,Fragment}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
+ function k(t,a,o){let c=a$9(t,{labelable:true}),{hoverProps:f}=a$a({onHoverStart:()=>a?.open(true),onHoverEnd:()=>a?.close()},o);return {tooltipProps:g(c,f,{role:"tooltip"})}}function V(t,a,o){let{isDisabled:c$3,trigger:f,shouldCloseOnPress:b=true}=t,g$1=c(),p=useRef(false),i=useRef(false),r=()=>{(p.current||i.current)&&a.open(i.current);},n=y=>{!p.current&&!i.current&&a.close(y);};useEffect(()=>{let y=x=>{o&&o.current&&x.key==="Escape"&&(x.stopPropagation(),a.close(true));},v=a$c(o?.current);if(a.isOpen)return v.addEventListener("keydown",y,true),()=>{v.removeEventListener("keydown",y,true);}},[o,a]);let P=()=>{f!=="focus"&&(c$2()==="pointer"?p.current=true:p.current=false,r());},l=()=>{f!=="focus"&&(i.current=false,p.current=false,n());},T=()=>{b&&(i.current=false,p.current=false,n(true));},u=()=>{b$1()&&(i.current=true,r());},m=()=>{i.current=false,p.current=false,n(true);},{hoverProps:e}=a$a({isDisabled:c$3,onHoverStart:P,onHoverEnd:l}),{focusableProps:s}=c$1({isDisabled:c$3,onFocus:u,onBlur:m},o);return {triggerProps:{"aria-describedby":a.isOpen?g$1:void 0,...g(s,e,{onPointerDown:T,onKeyDown:T}),tabIndex:void 0},tooltipProps:{id:g$1}}}var be=1500,se=500,O={},ge=0,E=false,d=null,z=null;function j(t={}){let{delay:a=be,closeDelay:o=se}=t,{isOpen:c,open:f,close:b}=a$b(t),[g,p]=useState(false),i=useMemo(()=>`${++ge}`,[]),r=useRef(null),n=useRef(b),P=()=>{O[i]=u;},l=()=>{for(let e in O)e!==i&&(O[e](true,true),delete O[e]);},T=e=>{r.current&&clearTimeout(r.current),r.current=null,l(),P(),p(!!e),E=true,f(),d&&(clearTimeout(d),d=null),z&&(clearTimeout(z),z=null);},u=(e,s)=>{p(!!s),e||o<=0?(r.current&&clearTimeout(r.current),r.current=null,n.current()):r.current||(r.current=setTimeout(()=>{r.current=null,n.current();},o)),d&&(clearTimeout(d),d=null),E&&(z&&clearTimeout(z),z=setTimeout(()=>{delete O[i],z=null,E=false;},Math.max(se,o)));},m=()=>{l(),P(),!c&&!E?(d&&clearTimeout(d),d=setTimeout(()=>{d=null,E=true,T(false);},a)):c||T(true);};return useEffect(()=>{n.current=b;},[b]),useEffect(()=>()=>{r.current&&clearTimeout(r.current),O[i]&&delete O[i];},[i]),{isOpen:c,shouldSkipAnimation:g,open:e=>{!e&&a>0&&!r.current?m():T(E);},close:u}}var pe=a({defaultClassName:"_1jwycy80",variantClassNames:{placement:{bottom:"_1jwycy81",left:"_1jwycy82",right:"_1jwycy83",top:"_1jwycy84"},variant:{default:"_1jwycy85",inverse:"_1jwycy86"}},defaultVariants:{},compoundVariants:[]}),ne=a({defaultClassName:"_1jwycy87 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn",variantClassNames:{size:{md:"_1yep5z63u _1yep5z63v _1yep5z63w _1yep5z61i _1yep5z61j _1yep5z61k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6e7",sm:"_1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6dv"},variant:{default:"_1yep5z6gh _1yep5z6f3",inverse:"_1yep5z6d7 _1yep5z6g9 _1yep5z6ey"}},defaultVariants:{},compoundVariants:[]});var I=F.forwardRef(({children:t,state:a,triggerRef:o,positionProps:c,placement:f$1,lastPlacement:b$1,onPlacementChange:g$1,variant:p,size:i,tooltipProps:r,includeArrow:n,id:P,"aria-label":l,"aria-labelledby":T,"aria-describedby":u,"aria-details":m},e)=>{let s=useRef(null),{tooltipProps:y}=k({isOpen:a.isOpen,id:P,"aria-label":l,"aria-labelledby":T,"aria-describedby":u,"aria-details":m},a,s),v=useRef(null);a$1(()=>{if(s.current&&!o.current?.closest('[aria-hidden="true"], [inert]'))return b(s.current)},[o]);let{overlayProps:x,arrowProps:M,placement:R,updatePosition:h}=a$2({arrowSize:n?13:0,targetRef:o,arrowBoundaryOffset:n?8:0,offset:n?12:2,overlayRef:v,placement:f$1,...c,isOpen:true});a$3({ref:v,threshold:1,onIntersect:h}),a$4({ref:o,onResize:h}),useEffect(()=>{R&&g$1(R);},[R,g$1]);let S=R??b$1,A=S==="center"?"bottom":S,{transitionProps:fe}=a$5({placement:S});return jsxs(motion.span,{...g(x,fe),ref:f(e,v,s),"data-placement":A,children:[n?jsx("div",{className:pe({placement:A,variant:p}),...M}):null,jsx("div",{...g(y,r),className:ne({variant:p,size:i}),children:t})]})});I.displayName="TooltipContent";var me=F.forwardRef(({children:t,placement:a="bottom",delay:o=1e3,closeDelay:c=500,variant:f="default",size:b="md",includeArrow:g=true,portalContainer:p,className:i,style:r,"data-block-id":n,"data-block-class":P,...l},T)=>{let u=F.useRef(null),m=!!l.text,e=!m||l.isDisabled,s=j({...l,delay:o,closeDelay:c,isDisabled:e}),{triggerProps:y,tooltipProps:v}=V({...l,isDisabled:e},s,u),x=F.useRef({isDisabled:e,hasText:m});F.useEffect(()=>{let A=x.current;s.isOpen&&(A.hasText&&!m?s.close(true):e&&!A.isDisabled?s.close():!e&&A.isDisabled&&b$1()&&u.current&&u.current===f$1(u.current)&&s.open(true)),x.current={isDisabled:e,hasText:m};},[e,m,s]);let M=a$6(p),[R,h]=F.useState("bottom"),S=F.isValidElement(t)?jsx(b$2,{...y,ref:u,children:t}):typeof t=="function"?t({triggerProps:y,triggerRef:u}):t;return !F.isValidElement(t)&&typeof t!="function"&&t!=null&&t!==""&&typeof t!="boolean"&&a$7("Tooltip:non-element-children","Tooltip: children must be a single element or a render function to trigger the tooltip. Other children render without a trigger, so the tooltip never opens."),jsxs(Fragment,{children:[S,s.isOpen&&m?jsx(a$8,{disableFocusManagement:true,portalContainer:M,className:i,style:r,"data-block-id":n,"data-block-class":P,children:jsx(I,{ref:T,state:s,triggerRef:u,positionProps:l,placement:a,lastPlacement:R,onPlacementChange:h,tooltipProps:v,variant:f,size:b,includeArrow:g,id:l.id,"aria-label":l["aria-label"],"aria-labelledby":l["aria-labelledby"],"aria-describedby":l["aria-describedby"],"aria-details":l["aria-details"],children:l.text})}):null]})});me.displayName="Tooltip";export{me as a};
@@ -1,4 +1,4 @@
1
- import {a}from'./chunk-BK3RBPST.mjs';import {b as b$1}from'./chunk-KG2EHFYA.mjs';import {c}from'./chunk-35AM4QEA.mjs';/**
1
+ import {a}from'./chunk-TLUB6FCT.mjs';import {b as b$1}from'./chunk-KG2EHFYA.mjs';import {c}from'./chunk-V2C4UDOC.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-64ZD4EKW.mjs';import {c}from'./chunk-VQ45RUYJ.mjs';import {a}from'./chunk-USMC34OO.mjs';import {useMemo}from'react';/**
1
+ import {b}from'./chunk-I4F5NJUI.mjs';import {c}from'./chunk-ST3TDAOP.mjs';import {a}from'./chunk-USMC34OO.mjs';import {useMemo}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 {a as a$5}from'./chunk-E6DZSC2G.mjs';import {b,a as a$1,c as c$1}from'./chunk-6RN7DKRF.mjs';import {c as c$2}from'./chunk-XF65LVBQ.mjs';import {a}from'./chunk-UKBBSYRC.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-FDDB7QNQ.mjs';import {c as c$3}from'./chunk-PJINRIA6.mjs';import {c}from'./chunk-35AM4QEA.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import w from'react';import {jsx}from'react/jsx-runtime';/**
1
+ import {a as a$5}from'./chunk-TUSG5ZRW.mjs';import {b,a as a$1,c as c$1}from'./chunk-6RN7DKRF.mjs';import {c as c$2}from'./chunk-XF65LVBQ.mjs';import {a}from'./chunk-PTL6NSYA.mjs';import {a as a$3}from'./chunk-3K6XNSYE.mjs';import {a as a$2}from'./chunk-ELW6SXDM.mjs';import {c,g}from'./chunk-V2C4UDOC.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import w 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 {a as a$5}from'./chunk-E6DZSC2G.mjs';import {b,a as a$1,c as c$1}from'./c
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var A=w.forwardRef(({className:F,validationState:s,variant:v="primary",labelPosition:r="top",inputStyle:d,inputClassName:D,isMultiLine:t=false,rows:N,inputRef:k,"data-block-id":L,"data-block-class":h,...e},B)=>{let O=w.useRef(null),a$6=k??O,{inputProps:o,labelProps:j,descriptionProps:C,errorMessageProps:U,validationErrors:V}=a({...e,description:b(e),inputElementType:t?"textarea":"input",validationState:s==="error"||e.errorMessage?"invalid":s?"valid":void 0},a$6),n=e.errorMessage||V.join(" "),m=c(),W=a$1({...e,errorMessage:n})==="warningMessage",_=c$1({...e,errorMessage:n,descriptionProps:C,errorMessageProps:U,warningMessageProps:{id:m},labelPosition:r});n&&(s="error");let{isFocused:c$4,focusProps:u,isFocusVisible:q}=a$2(),f=W?{"aria-describedby":[o["aria-describedby"],m].filter(Boolean).join(" ")}:null,g=a$3({"data-readonly":e.isReadOnly,"data-disabled":e.isDisabled,"data-validation-state":s,"data-focused":c$4,"data-focus-visible":q}),T=a$4(c$2({isDisabled:e.isDisabled,labelPosition:r,isMultiLine:t}),"BaselineUI-TextInput-Input",D);return jsx(a$5,{variant:v,labelProps:j,isFocused:c$4,message:_,ref:B,labelPosition:r,className:a$4("BaselineUI-TextInput",F),validationState:s,isMultiLine:t,"data-block-id":L,"data-block-class":h,...e,children:t?jsx("textarea",{...c$3(o,u,g,f),className:T,style:d,rows:N,ref:a$6}):jsx("input",{...c$3(o,u,g,f),className:T,style:d,ref:a$6})})});A.displayName="TextInput";export{A as a};
10
+ var A=w.forwardRef(({className:F,validationState:s,variant:v="primary",labelPosition:r="top",inputStyle:d,inputClassName:D,isMultiLine:t=false,rows:N,inputRef:k,"data-block-id":L,"data-block-class":h,...e},B)=>{let O=w.useRef(null),a$6=k??O,{inputProps:o,labelProps:j,descriptionProps:C,errorMessageProps:U,validationErrors:V}=a({...e,description:b(e),inputElementType:t?"textarea":"input",validationState:s==="error"||e.errorMessage?"invalid":s?"valid":void 0},a$6),n=e.errorMessage||V.join(" "),m=c(),W=a$1({...e,errorMessage:n})==="warningMessage",_=c$1({...e,errorMessage:n,descriptionProps:C,errorMessageProps:U,warningMessageProps:{id:m},labelPosition:r});n&&(s="error");let{isFocused:c$3,focusProps:u,isFocusVisible:q}=a$2(),f=W?{"aria-describedby":[o["aria-describedby"],m].filter(Boolean).join(" ")}:null,g$1=a$3({"data-readonly":e.isReadOnly,"data-disabled":e.isDisabled,"data-validation-state":s,"data-focused":c$3,"data-focus-visible":q}),T=a$4(c$2({isDisabled:e.isDisabled,labelPosition:r,isMultiLine:t}),"BaselineUI-TextInput-Input",D);return jsx(a$5,{variant:v,labelProps:j,isFocused:c$3,message:_,ref:B,labelPosition:r,className:a$4("BaselineUI-TextInput",F),validationState:s,isMultiLine:t,"data-block-id":L,"data-block-class":h,...e,children:t?jsx("textarea",{...g(o,u,g$1,f),className:T,style:d,rows:N,ref:a$6}):jsx("input",{...g(o,u,g$1,f),className:T,style:d,ref:a$6})})});A.displayName="TextInput";export{A as a};
@@ -1,4 +1,4 @@
1
- import {b}from'./chunk-KG2EHFYA.mjs';import {b as b$1,a}from'./chunk-JJG67M2S.mjs';import {j}from'./chunk-NQVTVL24.mjs';import {u}from'./chunk-SCJ3RG7B.mjs';import {a as a$1}from'./chunk-6ZQE5SHE.mjs';import {useRef,useCallback,useEffect,useState}from'react';/**
1
+ import {b}from'./chunk-KG2EHFYA.mjs';import {b as b$1,a}from'./chunk-JJG67M2S.mjs';import {j}from'./chunk-AIG23SN5.mjs';import {u}from'./chunk-2MNK24YJ.mjs';import {a as a$1}from'./chunk-6ZQE5SHE.mjs';import {useRef,useCallback,useEffect,useState}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
@@ -0,0 +1,10 @@
1
+ import {a as a$3}from'./chunk-T7K4WI76.mjs';import {a}from'./chunk-TMGB4HZ7.mjs';import {d,c}from'./chunk-W6QO7FPZ.mjs';import {a as a$2}from'./chunk-5NVCSLXT.mjs';import {c as c$1}from'./chunk-PV4E7XDP.mjs';import {d as d$1}from'./chunk-MMLAKHLR.mjs';import {g}from'./chunk-V2C4UDOC.mjs';import {a as a$1}from'./chunk-SVIYLH7R.mjs';import {j}from'./chunk-TYOEGCPS.mjs';import {useState}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 pe(r,i,t){let{isDisabled:a$4=false,isReadOnly:l=false,value:u,name:R,form:V,children:k,isRequired:b,validationBehavior:P="aria","aria-label":C,"aria-labelledby":x,"aria-describedby":F,onPressStart:c$2,onPressEnd:m,onPressChange:n,onPress:f,onPressUp:g$1,onClick:v}=r,s=d({...r,value:i.isSelected}),{isInvalid:T,validationErrors:j$1,validationDetails:q}=s.displayValidation;a(r,s,t);let W=e=>{e.stopPropagation(),i.setSelected(j(e).checked);},B=k!=null,N=C!=null||x!=null;!B&&!N&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide children, you must specify an aria-label for accessibility");let{pressProps:U,isPressed:w}=d$1({onPressStart:c$2,onPressEnd:m,onPressChange:n,onPress:f,onPressUp:g$1,onClick:v,isDisabled:a$4}),[_,y]=useState(false),{pressProps:z}=d$1({onPressStart(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}c$2?.(e),n?.(true),y(true);},onPressEnd(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}m?.(e),n?.(false),y(false);},onPressUp(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}g$1?.(e);},onClick:v,onPress(e){if(e.pointerType==="keyboard"||e.pointerType==="virtual"){e.continuePropagation();return}f?.(e),i.toggle(),t.current?.focus();let{[c]:S}=r,{commitValidation:Q}=S||s;Q();},isDisabled:a$4||l}),{focusableProps:G}=c$1(r,t),J=g(U,G),K=a$1(r,{labelable:true});a$2(t,i.defaultSelected,i.setSelected);let L=a$3(),M=a$3();return {labelProps:g(z,{onClick:e=>e.preventDefault()}),inputProps:g(K,{checked:i.isSelected,"aria-required":b&&P==="aria"||void 0,required:b&&P==="native","aria-invalid":T||r.validationState==="invalid"||void 0,"aria-errormessage":r["aria-errormessage"],"aria-controls":r["aria-controls"],"aria-readonly":l||void 0,"aria-describedby":[L.id,M.id,F].filter(Boolean).join(" ")||void 0,onChange:W,disabled:a$4,...u==null?{}:{value:u},name:R,form:V,type:"checkbox",...J}),descriptionProps:L,errorMessageProps:M,isSelected:i.isSelected,isPressed:w||_,isDisabled:a$4,isReadOnly:l,isInvalid:T||r.validationState==="invalid",validationErrors:j$1,validationDetails:q}}export{pe as a};
@@ -0,0 +1,10 @@
1
+ import {a as a$6}from'./chunk-HPUUQKKH.mjs';import {a as a$1}from'./chunk-TQMBJFQC.mjs';import {a as a$4}from'./chunk-3K6XNSYE.mjs';import {a as a$2}from'./chunk-ELW6SXDM.mjs';import {a as a$3}from'./chunk-LRFFL765.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {g}from'./chunk-V2C4UDOC.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import i from'react';import {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 D="_1h7pyh00",R="_1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61vc";var _=i.forwardRef(({className:r,style:s,children:g$1,childClassName:a$7,childStyle:p,elementType:t="button",...o},x)=>{let e=i.Children.only(g$1);if(!i.isValidElement(e))throw new Error("Actionable: children must be a single React element");let b=a(x),{buttonProps:B,isPressed:f}=a$1({...o,elementType:t},b),{isFocusVisible:c,isFocused:m,focusProps:C}=a$2(),{hoverProps:F,isHovered:u}=a$3({isDisabled:o.isDisabled}),z=a$4({"data-focused":m,"data-focus-visible":c,"data-disabled":o.isDisabled,"data-hovered":u,"data-pressed":f}),n={isHovered:u,isFocused:m,isPressed:f,isDisabled:o.isDisabled,isFocusVisible:c},w=i.cloneElement(e,{className:a$5(e.props.className,{[R]:c},typeof a$7=="function"?a$7(n):a$7,"BaselineUI-Actionable-Child"),style:{...e.props.style,...typeof p=="function"?p(n):p}});return jsx(t==="button"?"button":t,{...g(a$6(t,o.isDisabled),B,F,C),...z,className:a$5(D,"BaselineUI-Actionable",typeof r=="function"?r(n):r),ref:b,style:typeof s=="function"?s(n):s,children:w})});_.displayName="Actionable";export{_ as a};
@@ -1,4 +1,4 @@
1
- import {c}from'./chunk-SYA6LAFU.mjs';import {b,c as c$1,a as a$1}from'./chunk-B3W7VMJR.mjs';import {a}from'./chunk-4QEH5CGK.mjs';import {CheckmarkIcon,MinusIcon}from'@baseline-ui/icons/12';import P from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
1
+ import {c}from'./chunk-BJHDL2HH.mjs';import {b,c as c$1,a as a$1}from'./chunk-EHIGJYGW.mjs';import {a}from'./chunk-4QEH5CGK.mjs';import {CheckmarkIcon,MinusIcon}from'@baseline-ui/icons/12';import P from'react';import {jsx,jsxs,Fragment}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$4}from'./chunk-KOPAIJJU.mjs';import {a as a$5}from'./chunk-4FN6UAXD.mjs';import {a as a$2}from'./chunk-7JE2SRIH.mjs';import {d}from'./chunk-IIYP5UE7.mjs';import {q}from'./chunk-OYE6VSTU.mjs';import {b}from'./chunk-3EFE2WAJ.mjs';import {c as c$1,b as b$1}from'./chunk-JYWJE6L5.mjs';import {a as a$3}from'./chunk-DIL5HL6K.mjs';import {a as a$6}from'./chunk-L7GYT3MC.mjs';import {b as b$2}from'./chunk-I5YPTKMM.mjs';import {j}from'./chunk-TYOEGCPS.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {MinusIcon}from'@baseline-ui/icons/12';import {AttachmentsIcon,ErrorCircleFilledIcon}from'@baseline-ui/icons/16';import {sprinkles}from'@baseline-ui/tokens';import c from'react';import {PagePortraitIcon}from'@baseline-ui/icons/24';import {jsx,jsxs,Fragment}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 U=a({defaultClassName:"_1x35j5gn _1yep5z6ao _1yep5z6ap _1yep5z6aq _1yep5z6bc _1yep5z6bd _1yep5z6be _1yep5z6c0 _1yep5z6c1 _1yep5z6c2 _1yep5z6co _1yep5z6cp _1yep5z6cq _1yep5z6g9 _1yep5z6mf _1yep5z6mh _1yep5z6hg",variantClassNames:{variant:{expanded:"_1x35j5go _1yep5z6ms _1yep5z6mt _1yep5z6mu _1yep5z6p4 _1yep5z6p5 _1yep5z6p6 _1yep5z6qa _1yep5z6qb _1yep5z6qc _1yep5z6ny _1yep5z6nz _1yep5z6o0 _1yep5z615x _1yep5z615y _1yep5z615z _1yep5z616i _1yep5z616j _1yep5z616k",grid:"_1x35j5gp _1yep5z6mp _1yep5z6mq _1yep5z6mr _1yep5z6p1 _1yep5z6p2 _1yep5z6p3 _1yep5z6q7 _1yep5z6q8 _1yep5z6q9 _1yep5z6nv _1yep5z6nw _1yep5z6nx _1yep5z615r _1yep5z615s _1yep5z615t _1yep5z6163 _1yep5z6164 _1yep5z6165 _1yep5z616i _1yep5z616j _1yep5z616k _1yep5z6w1 _1yep5z6w2 _1yep5z6w3"},isHovered:{true:"_1yep5z6143 _1yep5z612t"},isFocusVisible:{true:"_1yep5z618q _1yep5z618s _1yep5z618t _1yep5z614w"},isDisabled:{true:"_1yep5z6146"}},defaultVariants:{},compoundVariants:[]}),G=a({defaultClassName:"_1x35j5gy _1yep5z6du _1yep5z6f0",variantClassNames:{variant:{expanded:"_1x35j5gz _1yep5z6r7 _1yep5z6r8 _1yep5z6r9",grid:"_1x35j5g10"},isDisabled:{true:"_1yep5z611l"}},defaultVariants:{},compoundVariants:[]}),K="_1x35j5gx",Y="_1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6m3",J=a({defaultClassName:"_1x35j5g13 _1yep5z6f9",variantClassNames:{isDisabled:{true:"_1yep5z611u"}},defaultVariants:{},compoundVariants:[]}),Q=a({defaultClassName:"_1x35j5gc _1yep5z69i _1yep5z69j _1yep5z69k",variantClassNames:{variant:{expanded:"_1x35j5gd _1yep5z615r _1yep5z615s _1yep5z615t _1yep5z6163 _1yep5z6164 _1yep5z6165",grid:"_1x35j5ge"},isCentered:{true:"_1yep5z6w4 _1yep5z6w5 _1yep5z6w6 _1yep5z617c _1yep5z617d _1yep5z617e",false:"_1x35j5gg"}},defaultVariants:{},compoundVariants:[[{variant:"grid",isCentered:false},"_1x35j5gh"],[{variant:"grid",isCentered:true},"_1x35j5gi"]]}),W=a({defaultClassName:"_1x35j5gt _1yep5z6e5 _1yep5z6ey",variantClassNames:{variant:{expanded:"_1x35j5gu",grid:"_1yep5z610n"},isDisabled:{true:"_1yep5z611l"}},defaultVariants:{},compoundVariants:[]}),X=a({defaultClassName:"_1x35j5gj _1yep5z6j8 _1yep5z6j9 _1yep5z6ja",variantClassNames:{variant:{expanded:"_1yep5z618m",grid:"_1x35j5gl"},hasAction:{true:"_1x35j5gm"}},defaultVariants:{},compoundVariants:[]}),Z=a({defaultClassName:"_1x35j5g15 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6bx _1yep5z6by _1yep5z6bz _1yep5z6cl _1yep5z6cm _1yep5z6cn _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kt _1yep5z6ku _1yep5z6kv _1yep5z6m3 _1yep5z6gc",variantClassNames:{isDisabled:{true:"_1x35j5g16"}},defaultVariants:{},compoundVariants:[]}),$="_1x35j5g12",ee="_1yep5z6e5 _1yep5z6ez",ae="_1x35j5g0 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z6m3 _1yep5z6m6",re=a({defaultClassName:"_1x35j5ga _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69l _1yep5z69m _1yep5z69n",variantClassNames:{isCentered:{true:"_1x35j5gb _1yep5z616i _1yep5z616j _1yep5z616k"}},defaultVariants:{},compoundVariants:[]}),pe=a({defaultClassName:"_1x35j5g1 _1yep5z68f _1yep5z68g _1yep5z68h _1yep5z663 _1yep5z664 _1yep5z665 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z6m6",variantClassNames:{isFocusVisible:{true:"_1x35j5g2"},isError:{true:"_1x35j5g3"},isDisabled:{true:"_1x35j5g4"}},defaultVariants:{},compoundVariants:[]}),te="_1x35j5g9",ie="_1x35j5g5 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6m3",oe=a({defaultClassName:"_1x35j5g7 _1yep5z6dy _1yep5z6ey",variantClassNames:{isLoading:{true:"_1yep5z611j"}},defaultVariants:{},compoundVariants:[]}),se="_1yep5z64r _1yep5z64s _1yep5z64t _1yep5z673 _1yep5z674 _1yep5z675 _1yep5z689 _1yep5z68a _1yep5z68b _1yep5z65x _1yep5z65y _1yep5z65z",ne="_1x35j5g6 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z6jw _1yep5z6jx _1yep5z6jy _1yep5z6kt _1yep5z6ku _1yep5z6kv";function _e({item:e,variant:l,isHovered:i,isFocusVisible:y,isDisabled:r}){let t=c.useMemo(()=>jsx(PagePortraitIcon,{width:24,height:24,className:J({isDisabled:r})}),[r]),_=c.useMemo(()=>({fallback:t}),[t]),o=jsx(b,{slot:"label",className:W({variant:l,isDisabled:r}),children:e.name}),n=jsxs(b,{slot:"description",className:K,children:[e.description?jsx("span",{className:G({variant:l,isDisabled:r}),children:e.description}):null,l==="expanded"&&e.tag?jsx("span",{className:$,children:jsx(d,{elementType:"span",size:"sm",variant:e.tag.variant,isDisabled:r,children:e.tag.label})}):null]});return jsx(a$3,{elementType:"span",className:U({variant:l,isDisabled:r,isHovered:i,isFocusVisible:y}),children:l==="grid"?jsxs(Fragment,{children:[jsx(a$3,{elementType:"span",className:Z({isDisabled:r}),children:jsx(a$4.Provider,{value:_,children:e.preview??t})}),jsxs("span",{className:Y,children:[o,n]})]}):jsxs(Fragment,{children:[t,o,n]})})}var Ne=sprinkles({color:"icon.secondary"}),he=sprinkles({color:"support.error.medium"}),Le=a$1(sprinkles({display:"flex",flexDirection:"column",width:"full",paddingY:"md"}),"BaselineUI-Box");function Fe({item:e,isFocusVisible:l,isDisabled:i,onRemove:y,loadingLabel:r,removeHintLabel:t}){let{formatMessage:_}=b$1(),o=!!e.isLoading,n=!!(e.errorMessage||e.errorExplanation),f=!i&&!o&&!!y,j=(typeof r=="function"?r({fileName:e.name}):r)??_(de.loading,{fileName:e.name}),g=e.name;return o?g=j:f&&(g=(typeof t=="function"?t({fileName:e.name}):t)??_(de.removeHint,{fileName:e.name})),jsxs("div",{className:pe({isDisabled:i,isFocusVisible:l,isError:n}),"data-error":n||void 0,children:[jsx(b$2,{children:jsx(b,{slot:"label",children:g})}),jsxs("div",{className:ie,children:[jsx(AttachmentsIcon,{width:16,height:16,className:Ne}),jsxs("span",{className:ne,children:[jsx("span",{className:oe({isLoading:o}),title:e.name,children:e.name}),e.description?jsx(a$3,{elementType:"span",typography:"body.sm.medium",color:"text.helper",className:te,children:e.description}):null]}),jsxs(a$3,{elementType:"span",display:"flex",alignItems:"center",gap:"xs",flexShrink:0,children:[n?jsx(ErrorCircleFilledIcon,{width:16,height:16,className:he}):null,o?jsx(a$5,{size:"sm",className:se,"aria-label":j}):y?jsx(a$6,{icon:MinusIcon,size:"xs",variant:"secondary",excludeFromTabOrder:true,preventFocusOnPress:true,isDisabled:i,onPress:()=>{y(e.id);},UNSAFE_isVisuallyInteractiveOnly:true}):null]})]}),jsxs(b,{slot:"description",elementType:"div",className:n?Le:void 0,children:[e.description?jsx(b$2,{children:e.description}):null,e.errorMessage?jsx(a$3,{elementType:"span",typography:"label.sm.medium",color:"support.error.medium",children:e.errorMessage}):null,e.errorExplanation?jsx(a$3,{elementType:"span",typography:"label.sm.medium",color:"text.helper",children:e.errorExplanation}):null]})]})}var me=c.forwardRef(({className:e,style:l,variant:i="compact",label:y,onAction:r,items:t,onRemove:_,disabledKeys:o,loadingLabel:n,removeHintLabel:f,"aria-label":j$1,"aria-labelledby":g,"aria-describedby":ze,"aria-details":ce},xe)=>{let{isCentered:T=false,isDisabled:ue}=c.useContext(a$2),V=c.useId(),w=i==="compact",b=ue||o==="all",v=c.useMemo(()=>new Set(o&&o!=="all"?o:[]),[o]),N=c.useMemo(()=>new Map(t.map(a=>[a.id,a])),[t]),I=c.useMemo(()=>t.map(a=>({id:a.id,label:a.name})),[t]),ge=c.useCallback((a,{isHovered:B,isFocusVisible:h})=>{let d=N.get(a.id);if(!d)return null;let D=b||v.has(d.id);return i!=="compact"?jsx(_e,{item:d,variant:i,isHovered:B,isFocusVisible:h,isDisabled:D}):jsx(Fe,{item:d,isFocusVisible:h,isDisabled:D,onRemove:_,loadingLabel:n,removeHintLabel:f})},[N,i,b,v,_,n,f]);if(!t.length)return null;let fe=b?I.map(a=>a.id):v,je=a=>{if(!_||!w||a.key!=="Delete"&&a.key!=="Backspace"||b)return;let d=j(a)?.closest("[data-key]")?.dataset.key;d&&(v.has(d)||N.get(d)?.isLoading||(a.preventDefault(),_(d)));};return jsxs(a$3,{ref:xe,className:a$1(re({isCentered:T}),"BaselineUI-FileList",e),style:l,onKeyDown:je,children:[y?jsx("div",{id:V,className:ee,children:y}):null,jsx(q,{"aria-label":j$1,"aria-labelledby":[g,y?V:null].filter(Boolean).join(" ")||void 0,"aria-describedby":ze,"aria-details":ce,items:I,selectionMode:"none",layout:i==="grid"?"grid":"stack",disabledKeys:fe,className:w?ae:Q({variant:i,isCentered:T}),optionClassName:w?void 0:X({variant:i,hasAction:!!r}),renderOption:ge,onAction:r?a=>{r(String(a));}:void 0})]})});me.displayName="FileList";var de=c$1({loading:{id:"bui.fileList.loading",defaultMessage:"Loading {fileName}"},removeHint:{id:"bui.fileList.removeHint",defaultMessage:"{fileName}, press Delete or Backspace to remove"}});export{me as a};
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-7SKQUEHP.mjs';import {e}from'./chunk-4HOAPQDQ.mjs';import {a as a$2}from'./chunk-RSKKEGJZ.mjs';import {b,c}from'./chunk-PJINRIA6.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import C from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$1}from'./chunk-7SKQUEHP.mjs';import {d}from'./chunk-CPX5CB4L.mjs';import {a as a$2}from'./chunk-3K6XNSYE.mjs';import {f,g}from'./chunk-V2C4UDOC.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import C 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}from'./chunk-7SKQUEHP.mjs';import {e}from'./chunk-4HOAPQDQ.mjs'
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var k=a({defaultClassName:"_5uw3kp0 oom8bs0 z9nup81",variantClassNames:{isHovered:{true:"_5uw3kp1"},isFocusVisible:{true:"_5uw3kp2"},isDisabled:{true:"_5uw3kp3"},isSelected:{true:"_5uw3kp4"},size:{sm:"_5uw3kp5",md:"_5uw3kp6",lg:"_5uw3kp7"},variant:{primary:"_5uw3kp8",toolbar:"_5uw3kp9"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true},"_5uw3kpa"],[{isSelected:true,isDisabled:true},"_5uw3kpb"],[{variant:"primary",size:"lg"},"_5uw3kpc"]]}),v=a({defaultClassName:"_5uw3kpd _1yep5z6f9",variantClassNames:{isDisabled:{true:"_1yep5z611u"},isSelected:{true:"_1yep5z611w"}},defaultVariants:{},compoundVariants:[]});var z={sm:16,md:20,lg:24},w=C.forwardRef(({className:t,style:a,iconStart:i,size:u="md",elementType:s="button",variant:_="toolbar",...e$1},y)=>{let o=a$1(e$1),{buttonProps:h,isPressed:x,ref:B,isFocusVisible:l,isFocused:T,isHovered:n,uiStateOptions:p}=e({...e$1,elementType:s},o),S=a$2({"data-block-id":e$1["data-block-id"],"data-block-class":e$1["data-block-class"],"data-focused":T,"data-focus-visible":l,"data-disabled":e$1.isDisabled,"data-hovered":n,"data-pressed":x,"data-selected":o.isSelected});return jsxs(s,{...c(h,S),className:a$3(k({isHovered:n,isFocusVisible:l,isSelected:o.isSelected,size:u,isDisabled:e$1.isDisabled,variant:_}),"BaselineUI-ToggleButton",typeof t=="function"?t(p):t),style:typeof a=="function"?a(p):a,ref:b(B,y),children:[i?jsx(i,{size:z[u],className:v({isDisabled:e$1.isDisabled,isSelected:o.isSelected})}):null,e$1.label]})});w.displayName="ToggleButton";export{k as a,w as b};
10
+ var k=a({defaultClassName:"_5uw3kp0 oom8bs0 z9nup81",variantClassNames:{isHovered:{true:"_5uw3kp1"},isFocusVisible:{true:"_5uw3kp2"},isDisabled:{true:"_5uw3kp3"},isSelected:{true:"_5uw3kp4"},size:{sm:"_5uw3kp5",md:"_5uw3kp6",lg:"_5uw3kp7"},variant:{primary:"_5uw3kp8",toolbar:"_5uw3kp9"}},defaultVariants:{},compoundVariants:[[{isSelected:true,isFocusVisible:true},"_5uw3kpa"],[{isSelected:true,isDisabled:true},"_5uw3kpb"],[{variant:"primary",size:"lg"},"_5uw3kpc"]]}),v=a({defaultClassName:"_5uw3kpd _1yep5z6f9",variantClassNames:{isDisabled:{true:"_1yep5z611u"},isSelected:{true:"_1yep5z611w"}},defaultVariants:{},compoundVariants:[]});var z={sm:16,md:20,lg:24},w=C.forwardRef(({className:t,style:a,iconStart:i,size:u="md",elementType:s="button",variant:_="toolbar",...e},y)=>{let o=a$1(e),{buttonProps:h,isPressed:x,ref:B,isFocusVisible:l,isFocused:T,isHovered:n,uiStateOptions:p}=d({...e,elementType:s},o),S=a$2({"data-block-id":e["data-block-id"],"data-block-class":e["data-block-class"],"data-focused":T,"data-focus-visible":l,"data-disabled":e.isDisabled,"data-hovered":n,"data-pressed":x,"data-selected":o.isSelected});return jsxs(s,{...g(h,S),className:a$3(k({isHovered:n,isFocusVisible:l,isSelected:o.isSelected,size:u,isDisabled:e.isDisabled,variant:_}),"BaselineUI-ToggleButton",typeof t=="function"?t(p):t),style:typeof a=="function"?a(p):a,ref:f(B,y),children:[i?jsx(i,{size:z[u],className:v({isDisabled:e.isDisabled,isSelected:o.isSelected})}):null,e.label]})});w.displayName="ToggleButton";export{k as a,w as b};
@@ -0,0 +1 @@
1
+ export{b as refElement,a as useCommitEffect}from'../chunk-IHCKLMWD.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as useDevice}from'../chunk-JOK6I52O.mjs';import'../chunk-22BJMDCA.mjs';import'../chunk-3COKCTB2.mjs';import'../chunk-OS6PVCFX.mjs';import'../chunk-A63HMTSM.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-QSFRMY47.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-UR42GQO4.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-WAPBLICF.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-SCJ3RG7B.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-PJINRIA6.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-35AM4QEA.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as useDevice}from'../chunk-JOK6I52O.mjs';import'../chunk-22BJMDCA.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as createMessageFormatter,c as defineMessages,b as useI18n}from'../chunk-IDIZSV2Y.mjs';import'../chunk-XXANV3FM.mjs';import'../chunk-TDRN6VLD.mjs';import'../chunk-LJZ7ZS4C.mjs';import'../chunk-NHM3H5JU.mjs';import'../chunk-N2XGJKZG.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as createMessageFormatter,c as defineMessages,b as useI18n}from'../chunk-JYWJE6L5.mjs';import'../chunk-XXANV3FM.mjs';import'../chunk-TDRN6VLD.mjs';import'../chunk-LJZ7ZS4C.mjs';import'../chunk-NHM3H5JU.mjs';import'../chunk-N2XGJKZG.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as useIntersectionObserver}from'../chunk-HNKEI45D.mjs';import'../chunk-3COKCTB2.mjs';import'../chunk-OS6PVCFX.mjs';import'../chunk-A63HMTSM.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-QSFRMY47.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-UR42GQO4.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-WAPBLICF.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-SCJ3RG7B.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-PJINRIA6.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-35AM4QEA.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as useIntersectionObserver}from'../chunk-3JHXI33A.mjs';import'../chunk-IHCKLMWD.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as useLiveInteractionModality}from'../chunk-67QIBKUN.mjs';import'../chunk-N4NDPTX6.mjs';import'../chunk-WD2TPSZV.mjs';import'../chunk-XBBPWSJI.mjs';import'../chunk-JC22ELJM.mjs';import'../chunk-ES3IQZSH.mjs';import'../chunk-FTV6OWMI.mjs';import'../chunk-6IX6BM7C.mjs';import'../chunk-3COKCTB2.mjs';import'../chunk-OS6PVCFX.mjs';import'../chunk-A63HMTSM.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-QSFRMY47.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-UR42GQO4.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-WAPBLICF.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-QVFGEXDU.mjs';import'../chunk-3PBFSDMT.mjs';import'../chunk-LRFFL765.mjs';import'../chunk-NQVTVL24.mjs';import'../chunk-IIBBR266.mjs';import'../chunk-DPFX25HC.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-SCJ3RG7B.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-PJINRIA6.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-35AM4QEA.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as useLiveInteractionModality}from'../chunk-QRLUWOGW.mjs';import'../chunk-RKPWFZB4.mjs';import'../chunk-NIGOM3FD.mjs';import'../chunk-XBBPWSJI.mjs';import'../chunk-RGWXVYDG.mjs';import'../chunk-6V7S5IG5.mjs';import'../chunk-QSNYILCF.mjs';import'../chunk-6IX6BM7C.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-PV4E7XDP.mjs';import'../chunk-2PTLJDIT.mjs';import'../chunk-LRFFL765.mjs';import'../chunk-AIG23SN5.mjs';import'../chunk-MMLAKHLR.mjs';import'../chunk-PITIJLE3.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as useLocalStorage}from'../chunk-ENUU2IVX.mjs';import'../chunk-GUPSQSPC.mjs';import'../chunk-3COKCTB2.mjs';import'../chunk-OS6PVCFX.mjs';import'../chunk-A63HMTSM.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-QSFRMY47.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-UR42GQO4.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-WAPBLICF.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-SCJ3RG7B.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-PJINRIA6.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-35AM4QEA.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as useLocalStorage}from'../chunk-SUJD4QFW.mjs';import'../chunk-GUPSQSPC.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{b as formattedDuration,a as useMedia}from'../chunk-OBEPT4LR.mjs';import'../chunk-IDIZSV2Y.mjs';import'../chunk-XXANV3FM.mjs';import'../chunk-TDRN6VLD.mjs';import'../chunk-LJZ7ZS4C.mjs';import'../chunk-NHM3H5JU.mjs';import'../chunk-N2XGJKZG.mjs';import'../chunk-5YHNHEDK.mjs';import'../chunk-JJG67M2S.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{b as formattedDuration,a as useMedia}from'../chunk-5YV74V36.mjs';import'../chunk-JYWJE6L5.mjs';import'../chunk-XXANV3FM.mjs';import'../chunk-TDRN6VLD.mjs';import'../chunk-LJZ7ZS4C.mjs';import'../chunk-NHM3H5JU.mjs';import'../chunk-N2XGJKZG.mjs';import'../chunk-5YHNHEDK.mjs';import'../chunk-JJG67M2S.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as useMutationObserver}from'../chunk-CKUHFL5G.mjs';import'../chunk-3COKCTB2.mjs';import'../chunk-OS6PVCFX.mjs';import'../chunk-A63HMTSM.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-QSFRMY47.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-UR42GQO4.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-WAPBLICF.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-SCJ3RG7B.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-PJINRIA6.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-35AM4QEA.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as useMutationObserver}from'../chunk-3HJAQJWA.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as usePortalContainer}from'../chunk-5LGYS5CZ.mjs';import'../chunk-W3YUV7IF.mjs';import'../chunk-JOK6I52O.mjs';import'../chunk-N4NDPTX6.mjs';import'../chunk-WD2TPSZV.mjs';import'../chunk-XBBPWSJI.mjs';import'../chunk-JC22ELJM.mjs';import'../chunk-OO7BXL2N.mjs';import'../chunk-ES3IQZSH.mjs';import'../chunk-FTV6OWMI.mjs';import'../chunk-22BJMDCA.mjs';import'../chunk-6IX6BM7C.mjs';import'../chunk-3COKCTB2.mjs';import'../chunk-OS6PVCFX.mjs';import'../chunk-A63HMTSM.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-QSFRMY47.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-UR42GQO4.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-WAPBLICF.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-QVFGEXDU.mjs';import'../chunk-3PBFSDMT.mjs';import'../chunk-LRFFL765.mjs';import'../chunk-NQVTVL24.mjs';import'../chunk-IIBBR266.mjs';import'../chunk-DPFX25HC.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-SCJ3RG7B.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-PJINRIA6.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-35AM4QEA.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as usePortalContainer}from'../chunk-V3DTS6FF.mjs';import'../chunk-M3NJURGR.mjs';import'../chunk-JOK6I52O.mjs';import'../chunk-RKPWFZB4.mjs';import'../chunk-NIGOM3FD.mjs';import'../chunk-XBBPWSJI.mjs';import'../chunk-RGWXVYDG.mjs';import'../chunk-OO7BXL2N.mjs';import'../chunk-6V7S5IG5.mjs';import'../chunk-QSNYILCF.mjs';import'../chunk-22BJMDCA.mjs';import'../chunk-6IX6BM7C.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-PV4E7XDP.mjs';import'../chunk-2PTLJDIT.mjs';import'../chunk-LRFFL765.mjs';import'../chunk-AIG23SN5.mjs';import'../chunk-MMLAKHLR.mjs';import'../chunk-PITIJLE3.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
@@ -1 +1 @@
1
- export{a as usePreventFocus}from'../chunk-KMZ3YVPE.mjs';import'../chunk-CFDIUF4H.mjs';import'../chunk-3COKCTB2.mjs';import'../chunk-OS6PVCFX.mjs';import'../chunk-A63HMTSM.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-QSFRMY47.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-UR42GQO4.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-WAPBLICF.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-SCJ3RG7B.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-PJINRIA6.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-35AM4QEA.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';
1
+ export{a as usePreventFocus}from'../chunk-GKPZBTRE.mjs';import'../chunk-IHCKLMWD.mjs';import'../chunk-CFDIUF4H.mjs';import'../chunk-J4T6TE7V.mjs';import'../chunk-JANI446W.mjs';import'../chunk-SMPF53W4.mjs';import'../chunk-Y6PZKRST.mjs';import'../chunk-CFRTAJP2.mjs';import'../chunk-2VY4FAOY.mjs';import'../chunk-BPXZ6J5G.mjs';import'../chunk-I3RGYL4B.mjs';import'../chunk-CEUVH4UZ.mjs';import'../chunk-GOSLHCDP.mjs';import'../chunk-5NVCSLXT.mjs';import'../chunk-5PQHOVGX.mjs';import'../chunk-AGUSZG6K.mjs';import'../chunk-4WW2MVQN.mjs';import'../chunk-RT4LMB6X.mjs';import'../chunk-GOCBU65X.mjs';import'../chunk-2MNK24YJ.mjs';import'../chunk-54IAJ3RI.mjs';import'../chunk-V2C4UDOC.mjs';import'../chunk-SVIYLH7R.mjs';import'../chunk-6ZQE5SHE.mjs';import'../chunk-TYOEGCPS.mjs';import'../chunk-RMUV6NJJ.mjs';import'../chunk-XPISSX5R.mjs';