@baseline-ui/core 2.1.0 → 2.4.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 (525) hide show
  1. package/dist/Accordion.css +10 -0
  2. package/dist/Accordion.mjs +1 -0
  3. package/dist/ActionButton.css +10 -0
  4. package/dist/ActionButton.mjs +1 -0
  5. package/dist/ActionGroup.css +10 -0
  6. package/dist/ActionGroup.mjs +1 -0
  7. package/dist/ActionIconButton.css +10 -0
  8. package/dist/ActionIconButton.mjs +1 -0
  9. package/dist/Actionable.css +10 -0
  10. package/dist/Actionable.mjs +1 -0
  11. package/dist/AlertDialog.css +10 -0
  12. package/dist/AlertDialog.mjs +1 -0
  13. package/dist/AudioPlayer.css +10 -0
  14. package/dist/AudioPlayer.mjs +1 -0
  15. package/dist/Avatar.css +10 -0
  16. package/dist/Avatar.mjs +1 -0
  17. package/dist/Box.mjs +1 -0
  18. package/dist/ButtonSelect.css +10 -0
  19. package/dist/ButtonSelect.mjs +1 -0
  20. package/dist/Calendar.css +10 -0
  21. package/dist/Calendar.mjs +1 -0
  22. package/dist/Checkbox.css +10 -0
  23. package/dist/Checkbox.mjs +1 -0
  24. package/dist/Code.css +10 -0
  25. package/dist/Code.mjs +1 -0
  26. package/dist/ColorInput.css +10 -0
  27. package/dist/ColorInput.mjs +1 -0
  28. package/dist/ColorSwatch.css +10 -0
  29. package/dist/ColorSwatch.mjs +1 -0
  30. package/dist/ColorSwatchPicker.css +10 -0
  31. package/dist/ColorSwatchPicker.mjs +1 -0
  32. package/dist/ComboBox.css +10 -0
  33. package/dist/ComboBox.mjs +1 -0
  34. package/dist/DateField.css +10 -0
  35. package/dist/DateField.mjs +1 -0
  36. package/dist/DateFormat.mjs +1 -0
  37. package/dist/DeviceProvider.mjs +1 -0
  38. package/dist/Dialog.css +10 -0
  39. package/dist/Dialog.mjs +1 -0
  40. package/dist/Disclosure.css +10 -0
  41. package/dist/Disclosure.mjs +1 -0
  42. package/dist/DomNodeRenderer.mjs +1 -0
  43. package/dist/Drawer.css +10 -0
  44. package/dist/Drawer.mjs +1 -0
  45. package/dist/Editor.css +10 -0
  46. package/dist/Editor.mjs +1 -0
  47. package/dist/FileInput.css +10 -0
  48. package/dist/FileInput.mjs +1 -0
  49. package/dist/FileList.css +10 -0
  50. package/dist/FileList.mjs +1 -0
  51. package/dist/FileUploader.css +10 -0
  52. package/dist/FileUploader.mjs +1 -0
  53. package/dist/FrameProvider.mjs +1 -0
  54. package/dist/FreehandCanvas.css +10 -0
  55. package/dist/FreehandCanvas.mjs +1 -0
  56. package/dist/GridList.css +10 -0
  57. package/dist/GridList.mjs +1 -0
  58. package/dist/Group.mjs +1 -0
  59. package/dist/I18nProvider.mjs +1 -0
  60. package/dist/Icon.mjs +1 -0
  61. package/dist/ImageDropZone.css +10 -0
  62. package/dist/ImageDropZone.mjs +1 -0
  63. package/dist/ImageGallery.css +10 -0
  64. package/dist/ImageGallery.mjs +1 -0
  65. package/dist/InlineAlert.css +10 -0
  66. package/dist/InlineAlert.mjs +1 -0
  67. package/dist/InlineToolbar.css +10 -0
  68. package/dist/InlineToolbar.mjs +10 -0
  69. package/dist/Kbd.css +10 -0
  70. package/dist/Kbd.mjs +1 -0
  71. package/dist/Link.css +10 -0
  72. package/dist/Link.mjs +1 -0
  73. package/dist/ListBox.css +10 -0
  74. package/dist/ListBox.mjs +1 -0
  75. package/dist/Markdown.css +10 -0
  76. package/dist/Markdown.mjs +1 -0
  77. package/dist/Menu.css +10 -0
  78. package/dist/Menu.mjs +1 -0
  79. package/dist/MessageFormat.mjs +1 -0
  80. package/dist/Modal.css +10 -0
  81. package/dist/Modal.mjs +1 -0
  82. package/dist/NumberFormat.mjs +1 -0
  83. package/dist/NumberInput.css +10 -0
  84. package/dist/NumberInput.mjs +1 -0
  85. package/dist/Pagination.css +10 -0
  86. package/dist/Pagination.mjs +1 -0
  87. package/dist/Panel.css +10 -0
  88. package/dist/Panel.mjs +1 -0
  89. package/dist/PointPicker.css +10 -0
  90. package/dist/PointPicker.mjs +1 -0
  91. package/dist/Popover.css +10 -0
  92. package/dist/Popover.mjs +1 -0
  93. package/dist/Portal.css +10 -0
  94. package/dist/Portal.mjs +1 -0
  95. package/dist/PortalContainerProvider.mjs +1 -0
  96. package/dist/Preview.css +10 -0
  97. package/dist/Preview.mjs +1 -0
  98. package/dist/ProgressBar.css +10 -0
  99. package/dist/ProgressBar.mjs +1 -0
  100. package/dist/ProgressSpinner.css +10 -0
  101. package/dist/ProgressSpinner.mjs +1 -0
  102. package/dist/RadioGroup.css +10 -0
  103. package/dist/RadioGroup.mjs +1 -0
  104. package/dist/Reaction.css +10 -0
  105. package/dist/Reaction.mjs +1 -0
  106. package/dist/ScrollControlButton.css +10 -0
  107. package/dist/ScrollControlButton.mjs +1 -0
  108. package/dist/SearchInput.css +10 -0
  109. package/dist/SearchInput.mjs +1 -0
  110. package/dist/Select.css +10 -0
  111. package/dist/Select.mjs +1 -0
  112. package/dist/Separator.css +10 -0
  113. package/dist/Separator.mjs +1 -0
  114. package/dist/Skeleton.css +10 -0
  115. package/dist/Skeleton.mjs +1 -0
  116. package/dist/Slider.css +10 -0
  117. package/dist/Slider.mjs +1 -0
  118. package/dist/StatusCard.css +10 -0
  119. package/dist/StatusCard.mjs +1 -0
  120. package/dist/Stepper.css +10 -0
  121. package/dist/Stepper.mjs +1 -0
  122. package/dist/Switch.css +10 -0
  123. package/dist/Switch.mjs +1 -0
  124. package/dist/Table.css +10 -0
  125. package/dist/Table.mjs +1 -0
  126. package/dist/Tabs.css +10 -0
  127. package/dist/Tabs.mjs +1 -0
  128. package/dist/Tag.css +10 -0
  129. package/dist/Tag.mjs +1 -0
  130. package/dist/TagGroup.css +10 -0
  131. package/dist/TagGroup.mjs +1 -0
  132. package/dist/TaggedPagination.css +10 -0
  133. package/dist/TaggedPagination.mjs +1 -0
  134. package/dist/Text.css +10 -0
  135. package/dist/Text.mjs +1 -0
  136. package/dist/TextInput.css +10 -0
  137. package/dist/TextInput.mjs +1 -0
  138. package/dist/ThemeProvider.css +10 -0
  139. package/dist/ThemeProvider.mjs +1 -0
  140. package/dist/TimeField.css +10 -0
  141. package/dist/TimeField.mjs +1 -0
  142. package/dist/Toast.css +10 -0
  143. package/dist/Toast.mjs +1 -0
  144. package/dist/ToggleButton.css +10 -0
  145. package/dist/ToggleButton.mjs +1 -0
  146. package/dist/ToggleIconButton.css +10 -0
  147. package/dist/ToggleIconButton.mjs +1 -0
  148. package/dist/Toolbar.css +10 -0
  149. package/dist/Toolbar.mjs +1 -0
  150. package/dist/Tooltip.css +10 -0
  151. package/dist/Tooltip.mjs +1 -0
  152. package/dist/TreeView.css +10 -0
  153. package/dist/TreeView.mjs +1 -0
  154. package/dist/UNSAFE_ListBox.css +10 -0
  155. package/dist/UNSAFE_ListBox.mjs +1 -0
  156. package/dist/Virtualizer.mjs +1 -0
  157. package/dist/chunk-22BJMDCA.mjs +10 -0
  158. package/dist/chunk-246VHB32.mjs +10 -0
  159. package/dist/chunk-2CZ3OV4X.mjs +10 -0
  160. package/dist/chunk-2JANDORZ.mjs +11 -0
  161. package/dist/chunk-2MS356Q7.mjs +10 -0
  162. package/dist/chunk-2PH5GN2S.mjs +0 -0
  163. package/dist/chunk-2RCST7ET.mjs +10 -0
  164. package/dist/chunk-2UUKKXBD.mjs +10 -0
  165. package/dist/chunk-2VY4FAOY.mjs +10 -0
  166. package/dist/chunk-2WAKHFPS.mjs +10 -0
  167. package/dist/chunk-34TYNTXM.mjs +10 -0
  168. package/dist/chunk-3CWP2VCB.mjs +10 -0
  169. package/dist/chunk-3FYY26ED.mjs +10 -0
  170. package/dist/chunk-3HKG74G4.mjs +0 -0
  171. package/dist/chunk-3UH5CQQF.mjs +10 -0
  172. package/dist/chunk-3W6RWDIE.mjs +10 -0
  173. package/dist/chunk-44OUOGJ4.mjs +10 -0
  174. package/dist/chunk-4N6CLPAY.mjs +10 -0
  175. package/dist/chunk-4NYPVKDO.mjs +10 -0
  176. package/dist/chunk-4PYEGHW5.mjs +10 -0
  177. package/dist/chunk-4QEH5CGK.mjs +10 -0
  178. package/dist/chunk-4SW77SGW.mjs +10 -0
  179. package/dist/chunk-4WW2MVQN.mjs +0 -0
  180. package/dist/chunk-4ZJMZB5B.mjs +10 -0
  181. package/dist/chunk-545KDVGI.mjs +10 -0
  182. package/dist/chunk-54IAJ3RI.mjs +0 -0
  183. package/dist/chunk-566SP7NE.mjs +10 -0
  184. package/dist/chunk-5ANNWMLJ.mjs +0 -0
  185. package/dist/chunk-5BAHJXOI.mjs +10 -0
  186. package/dist/chunk-5HXTXIE5.mjs +10 -0
  187. package/dist/chunk-5IC46G5J.mjs +10 -0
  188. package/dist/chunk-5KD2MNNX.mjs +10 -0
  189. package/dist/chunk-5ODZPQL2.mjs +10 -0
  190. package/dist/chunk-5PQHOVGX.mjs +0 -0
  191. package/dist/chunk-5ULL6IBX.mjs +10 -0
  192. package/dist/chunk-5YHNHEDK.mjs +0 -0
  193. package/dist/chunk-63KRQW56.mjs +10 -0
  194. package/dist/chunk-66CUIXA6.mjs +10 -0
  195. package/dist/chunk-66NJ7EYY.mjs +10 -0
  196. package/dist/chunk-6F66XVOA.mjs +0 -0
  197. package/dist/chunk-6IRWW75G.mjs +10 -0
  198. package/dist/chunk-6IX6BM7C.mjs +0 -0
  199. package/dist/chunk-6XARU7F2.mjs +0 -0
  200. package/dist/chunk-6YQHZ5RZ.mjs +0 -0
  201. package/dist/chunk-6Z6HOW6T.mjs +10 -0
  202. package/dist/chunk-6ZFBX7C7.mjs +10 -0
  203. package/dist/chunk-6ZQE5SHE.mjs +10 -0
  204. package/dist/chunk-6ZV4UYEG.mjs +10 -0
  205. package/dist/chunk-77BAFSDX.mjs +10 -0
  206. package/dist/chunk-7AQAC6QK.mjs +10 -0
  207. package/dist/chunk-7AY6C5M5.mjs +10 -0
  208. package/dist/chunk-7PRJIPFA.mjs +10 -0
  209. package/dist/chunk-7ZYMMUDM.mjs +10 -0
  210. package/dist/chunk-A24DWFQ2.mjs +10 -0
  211. package/dist/chunk-A6ZQQSAX.mjs +10 -0
  212. package/dist/chunk-AC7OXVHA.mjs +10 -0
  213. package/dist/chunk-AGUSZG6K.mjs +0 -0
  214. package/dist/chunk-AGYQLGBZ.mjs +10 -0
  215. package/dist/chunk-AKES5B6C.mjs +10 -0
  216. package/dist/chunk-AMQX3KZR.mjs +10 -0
  217. package/dist/chunk-AMW7LGCF.mjs +10 -0
  218. package/dist/chunk-AMYRLAIC.mjs +10 -0
  219. package/dist/chunk-AQYBKDT2.mjs +16 -0
  220. package/dist/chunk-AUOQSTS5.mjs +10 -0
  221. package/dist/chunk-AV4ZP5SY.mjs +10 -0
  222. package/dist/chunk-AZRPXTYJ.mjs +10 -0
  223. package/dist/chunk-B7PSE5KC.mjs +10 -0
  224. package/dist/chunk-BED7T5CL.mjs +10 -0
  225. package/dist/chunk-BGMVPFYK.mjs +10 -0
  226. package/dist/chunk-BJVFZYUV.mjs +10 -0
  227. package/dist/chunk-BKDQLDOK.mjs +10 -0
  228. package/dist/chunk-BLHN7I5Z.mjs +0 -0
  229. package/dist/chunk-BTVDMO5C.mjs +10 -0
  230. package/dist/chunk-BU5H25MV.mjs +10 -0
  231. package/dist/chunk-C342HL26.mjs +0 -0
  232. package/dist/chunk-C5P23FUW.mjs +10 -0
  233. package/dist/chunk-C6OMLVIQ.mjs +0 -0
  234. package/dist/chunk-CAWUDHAE.mjs +10 -0
  235. package/dist/chunk-CFDKFUTO.mjs +10 -0
  236. package/dist/chunk-CFLEBB5T.mjs +10 -0
  237. package/dist/chunk-CFRTAJP2.mjs +0 -0
  238. package/dist/chunk-CGFLGZL4.mjs +10 -0
  239. package/dist/chunk-CHTLOFCT.mjs +10 -0
  240. package/dist/chunk-CPSUI4IW.mjs +10 -0
  241. package/dist/chunk-CSPZMYVG.mjs +10 -0
  242. package/dist/chunk-CV6JQGJ3.mjs +10 -0
  243. package/dist/chunk-CWPFUB7B.mjs +10 -0
  244. package/dist/chunk-D3IZ4HBL.mjs +10 -0
  245. package/dist/chunk-D5EEZT5J.mjs +10 -0
  246. package/dist/chunk-DD5FWULD.mjs +10 -0
  247. package/dist/chunk-DECHIERQ.mjs +10 -0
  248. package/dist/chunk-DIHILOKU.mjs +10 -0
  249. package/dist/chunk-DOL6RDMF.mjs +10 -0
  250. package/dist/chunk-DRYSJSKA.mjs +10 -0
  251. package/dist/chunk-DY6WY36N.mjs +0 -0
  252. package/dist/chunk-E3PFPOHX.mjs +0 -0
  253. package/dist/chunk-E6VOSF6Z.mjs +10 -0
  254. package/dist/chunk-EA6GA4WC.mjs +10 -0
  255. package/dist/chunk-EK3RIYMV.mjs +10 -0
  256. package/dist/chunk-ELXWR5TS.mjs +10 -0
  257. package/dist/chunk-EMCEJKBJ.mjs +10 -0
  258. package/dist/chunk-ENDOKA57.mjs +10 -0
  259. package/dist/chunk-EU75HMPG.mjs +10 -0
  260. package/dist/chunk-EX2LI2CV.mjs +10 -0
  261. package/dist/chunk-EZXMEGV7.mjs +0 -0
  262. package/dist/chunk-F2HESRBD.mjs +10 -0
  263. package/dist/chunk-F2X474RV.mjs +10 -0
  264. package/dist/chunk-F7PGMOQF.mjs +10 -0
  265. package/dist/chunk-FJ2JRD3H.mjs +10 -0
  266. package/dist/chunk-FKYHERP4.mjs +0 -0
  267. package/dist/chunk-FP5EWPOF.mjs +10 -0
  268. package/dist/chunk-FRZTJBLY.mjs +10 -0
  269. package/dist/chunk-FTYXFTJV.mjs +10 -0
  270. package/dist/chunk-FXCHST4Z.mjs +10 -0
  271. package/dist/chunk-GCZFXILF.mjs +10 -0
  272. package/dist/chunk-GEZGEZAP.mjs +10 -0
  273. package/dist/chunk-GFLVN5JQ.mjs +10 -0
  274. package/dist/chunk-GKODQS6E.mjs +10 -0
  275. package/dist/chunk-GOSLHCDP.mjs +0 -0
  276. package/dist/chunk-GXOXYPQQ.mjs +10 -0
  277. package/dist/chunk-H44PBNVX.mjs +10 -0
  278. package/dist/chunk-H7OUUCSA.mjs +10 -0
  279. package/dist/chunk-HBBRMEES.mjs +10 -0
  280. package/dist/chunk-HHI7CEUP.mjs +10 -0
  281. package/dist/chunk-HI44JQA7.mjs +10 -0
  282. package/dist/chunk-HLDCVJXD.mjs +10 -0
  283. package/dist/chunk-HONWMHMX.mjs +10 -0
  284. package/dist/chunk-HT55YHTN.mjs +10 -0
  285. package/dist/chunk-HWOMGFBL.mjs +10 -0
  286. package/dist/chunk-HXTAOYOD.mjs +10 -0
  287. package/dist/chunk-I3RGYL4B.mjs +10 -0
  288. package/dist/chunk-I3YGB2BE.mjs +10 -0
  289. package/dist/chunk-IB23KCIW.mjs +10 -0
  290. package/dist/chunk-IHLJTHGQ.mjs +10 -0
  291. package/dist/chunk-ILBAZFBL.mjs +0 -0
  292. package/dist/chunk-INDVRI57.mjs +10 -0
  293. package/dist/chunk-IUQOFRI3.mjs +10 -0
  294. package/dist/chunk-IVVZSESM.mjs +10 -0
  295. package/dist/chunk-IW4GXU75.mjs +10 -0
  296. package/dist/chunk-IYFTU6IC.mjs +10 -0
  297. package/dist/chunk-J3MJZQUJ.mjs +10 -0
  298. package/dist/chunk-J4NO4WYU.mjs +0 -0
  299. package/dist/chunk-J5YWAPLN.mjs +10 -0
  300. package/dist/chunk-J7EAQSKX.mjs +10 -0
  301. package/dist/chunk-J7K7I5U2.mjs +10 -0
  302. package/dist/chunk-JBXZ6ZHP.mjs +10 -0
  303. package/dist/chunk-JDLUGVXG.mjs +10 -0
  304. package/dist/chunk-JI4SJ53O.mjs +11 -0
  305. package/dist/chunk-JJG67M2S.mjs +10 -0
  306. package/dist/chunk-JJPCZOOI.mjs +10 -0
  307. package/dist/chunk-JQ4ZGZPV.mjs +15 -0
  308. package/dist/chunk-JUXBZ2ZN.mjs +10 -0
  309. package/dist/chunk-K6IQ4ALU.mjs +0 -0
  310. package/dist/chunk-K6X2BHPP.mjs +10 -0
  311. package/dist/chunk-KCHAWPUN.mjs +10 -0
  312. package/dist/chunk-KEVERVHK.mjs +10 -0
  313. package/dist/chunk-KG5PDPBK.mjs +10 -0
  314. package/dist/chunk-KKJ6XIU3.mjs +10 -0
  315. package/dist/chunk-KPEONVLU.mjs +10 -0
  316. package/dist/chunk-KUEDQO7P.mjs +10 -0
  317. package/dist/chunk-KY3JKXSX.mjs +10 -0
  318. package/dist/chunk-LQMEFFFM.mjs +10 -0
  319. package/dist/chunk-LZFTBNPW.mjs +10 -0
  320. package/dist/chunk-M5M3EPG5.mjs +10 -0
  321. package/dist/chunk-MEYMETYC.mjs +11 -0
  322. package/dist/chunk-MEZNZ5W6.mjs +10 -0
  323. package/dist/chunk-MFH2E2GU.mjs +10 -0
  324. package/dist/chunk-MI7DCFP2.mjs +10 -0
  325. package/dist/chunk-MIHIAPBG.mjs +10 -0
  326. package/dist/chunk-MLNPTVVX.mjs +10 -0
  327. package/dist/chunk-MRJFGHFW.mjs +10 -0
  328. package/dist/chunk-MUNFBB7D.mjs +0 -0
  329. package/dist/chunk-MVK5CB64.mjs +10 -0
  330. package/dist/chunk-MXKP7NQ4.mjs +10 -0
  331. package/dist/chunk-MZ4O6LWG.mjs +0 -0
  332. package/dist/chunk-N2XGJKZG.mjs +10 -0
  333. package/dist/chunk-N5RZGO7Y.mjs +10 -0
  334. package/dist/chunk-N7MTFSWR.mjs +10 -0
  335. package/dist/chunk-NA3IF43N.mjs +10 -0
  336. package/dist/chunk-NGZRN4SF.mjs +10 -0
  337. package/dist/chunk-NHM3H5JU.mjs +0 -0
  338. package/dist/chunk-NO55UIGK.mjs +0 -0
  339. package/dist/chunk-NRKHWSOP.mjs +0 -0
  340. package/dist/chunk-NSC53QWT.mjs +10 -0
  341. package/dist/chunk-NV7KQVPE.mjs +10 -0
  342. package/dist/chunk-O4VZ6XEP.mjs +10 -0
  343. package/dist/chunk-O57ZEY3V.mjs +0 -0
  344. package/dist/chunk-O66FNQSB.mjs +10 -0
  345. package/dist/chunk-O7XK2WIX.mjs +10 -0
  346. package/dist/chunk-OAY74XPB.mjs +10 -0
  347. package/dist/chunk-OC42IZG2.mjs +10 -0
  348. package/dist/chunk-OLJWK3LS.mjs +10 -0
  349. package/dist/chunk-OMT6ZWSV.mjs +11 -0
  350. package/dist/chunk-OO7BXL2N.mjs +10 -0
  351. package/dist/chunk-P44XZ4PV.mjs +10 -0
  352. package/dist/chunk-P5GO3XIS.mjs +10 -0
  353. package/dist/chunk-PAQQ7MQG.mjs +10 -0
  354. package/dist/chunk-PBFIKNYZ.mjs +10 -0
  355. package/dist/chunk-PBO4SFGS.mjs +10 -0
  356. package/dist/chunk-PF3OQKXP.mjs +10 -0
  357. package/dist/chunk-PHZZLBH3.mjs +10 -0
  358. package/dist/chunk-PZTVDABF.mjs +0 -0
  359. package/dist/chunk-Q5UMLFN3.mjs +10 -0
  360. package/dist/chunk-QAUEG3EX.mjs +0 -0
  361. package/dist/chunk-QBJDGBTU.mjs +0 -0
  362. package/dist/chunk-QMDDCVAF.mjs +10 -0
  363. package/dist/chunk-QNBBJ5HC.mjs +11 -0
  364. package/dist/chunk-R32OJDN2.mjs +10 -0
  365. package/dist/chunk-RC7QITNV.mjs +10 -0
  366. package/dist/chunk-RCBUNCHV.mjs +10 -0
  367. package/dist/chunk-RFTDIXEG.mjs +10 -0
  368. package/dist/chunk-RJC3HQDZ.mjs +10 -0
  369. package/dist/chunk-RJWPSJX2.mjs +10 -0
  370. package/dist/chunk-RMUV6NJJ.mjs +10 -0
  371. package/dist/chunk-ROHLZINC.mjs +10 -0
  372. package/dist/chunk-RSKKEGJZ.mjs +10 -0
  373. package/dist/chunk-RT4LMB6X.mjs +10 -0
  374. package/dist/chunk-RXSYDMT6.mjs +10 -0
  375. package/dist/chunk-S3V4OOC3.mjs +10 -0
  376. package/dist/chunk-SAZLJ66W.mjs +10 -0
  377. package/dist/chunk-SMAYNDQQ.mjs +10 -0
  378. package/dist/chunk-TAROK7TO.mjs +10 -0
  379. package/dist/chunk-TAYP2OGC.mjs +10 -0
  380. package/dist/chunk-TBSQUJ67.mjs +10 -0
  381. package/dist/chunk-TDXALNX3.mjs +10 -0
  382. package/dist/chunk-TEQE6WCH.mjs +10 -0
  383. package/dist/chunk-THRAJMLX.mjs +10 -0
  384. package/dist/chunk-TI5RR7KX.mjs +10 -0
  385. package/dist/chunk-TIHKHXTS.mjs +10 -0
  386. package/dist/chunk-TJEK54BW.mjs +10 -0
  387. package/dist/chunk-TK4QXU3W.mjs +10 -0
  388. package/dist/chunk-TKQOQVZD.mjs +10 -0
  389. package/dist/chunk-TO2TQ2LE.mjs +10 -0
  390. package/dist/chunk-TO6OQF2Y.mjs +10 -0
  391. package/dist/chunk-TZ4MVY4E.mjs +10 -0
  392. package/dist/chunk-U2ODAIZG.mjs +10 -0
  393. package/dist/chunk-U4K44ZHN.mjs +10 -0
  394. package/dist/chunk-UCNHDT36.mjs +10 -0
  395. package/dist/chunk-UCZZLAPB.mjs +10 -0
  396. package/dist/chunk-UQJGSVXP.mjs +10 -0
  397. package/dist/chunk-USMC34OO.mjs +10 -0
  398. package/dist/chunk-UTQ7AIPM.mjs +0 -0
  399. package/dist/chunk-UUBOEBYZ.mjs +10 -0
  400. package/dist/chunk-V3L4SVVF.mjs +10 -0
  401. package/dist/chunk-VCIX4HG7.mjs +0 -0
  402. package/dist/chunk-VDUFLHKK.mjs +10 -0
  403. package/dist/chunk-VG7J427T.mjs +10 -0
  404. package/dist/chunk-VHDXSFQC.mjs +10 -0
  405. package/dist/chunk-VLQ4S7XC.mjs +10 -0
  406. package/dist/chunk-VTX6R6KM.mjs +10 -0
  407. package/dist/chunk-VXB5SVQC.mjs +10 -0
  408. package/dist/chunk-W6QO7FPZ.mjs +10 -0
  409. package/dist/chunk-WAFYFWH4.mjs +0 -0
  410. package/dist/chunk-WAOWR7MR.mjs +10 -0
  411. package/dist/chunk-WL27JGVG.mjs +10 -0
  412. package/dist/chunk-WOVAT6U4.mjs +10 -0
  413. package/dist/chunk-WSCZ34XO.mjs +10 -0
  414. package/dist/chunk-WSQGB4ZE.mjs +0 -0
  415. package/dist/chunk-WWSGOGLA.mjs +10 -0
  416. package/dist/chunk-X3AXUU3H.mjs +10 -0
  417. package/dist/chunk-X3OCHEQM.mjs +12 -0
  418. package/dist/chunk-X7DI4I2U.mjs +10 -0
  419. package/dist/chunk-XB657BXX.mjs +10 -0
  420. package/dist/chunk-XBBPWSJI.mjs +0 -0
  421. package/dist/chunk-XJGQXVMR.mjs +10 -0
  422. package/dist/chunk-XPISSX5R.mjs +10 -0
  423. package/dist/chunk-XTH6B5FE.mjs +10 -0
  424. package/dist/chunk-XVBOKL6D.mjs +10 -0
  425. package/dist/chunk-XWLESSHN.mjs +10 -0
  426. package/dist/chunk-XXANV3FM.mjs +10 -0
  427. package/dist/chunk-XZ2VSOJD.mjs +29 -0
  428. package/dist/chunk-Y4DRSGEJ.mjs +10 -0
  429. package/dist/chunk-Y6XQJ4X2.mjs +10 -0
  430. package/dist/chunk-YB3KW7JC.mjs +10 -0
  431. package/dist/chunk-YCI6BEXQ.mjs +10 -0
  432. package/dist/chunk-YGSCHWU3.mjs +10 -0
  433. package/dist/chunk-YIGT3OP2.mjs +10 -0
  434. package/dist/chunk-YOBESAXG.mjs +10 -0
  435. package/dist/chunk-YS3Y5KGV.mjs +10 -0
  436. package/dist/chunk-YT36W3OS.mjs +10 -0
  437. package/dist/chunk-YV3WI6OV.mjs +10 -0
  438. package/dist/chunk-YV5CNDCW.mjs +0 -0
  439. package/dist/chunk-YVYMYKYN.mjs +10 -0
  440. package/dist/chunk-ZANUFNOL.mjs +0 -0
  441. package/dist/chunk-ZGRRD3TU.mjs +10 -0
  442. package/dist/chunk-ZLAY7NNY.mjs +10 -0
  443. package/dist/chunk-ZLDT2KDZ.mjs +10 -0
  444. package/dist/chunk-ZNN43VZV.mjs +10 -0
  445. package/dist/chunk-ZREX7XOO.mjs +10 -0
  446. package/dist/chunk-ZRWDMNNY.mjs +10 -0
  447. package/dist/chunk-ZVODDLGL.mjs +10 -0
  448. package/dist/hooks/useDevice.mjs +1 -0
  449. package/dist/hooks/useI18n.mjs +1 -0
  450. package/dist/hooks/useImage.mjs +1 -0
  451. package/dist/hooks/useIntersectionObserver.mjs +1 -0
  452. package/dist/hooks/useIsFirstRender.mjs +1 -0
  453. package/dist/hooks/useIsTouchDevice.mjs +1 -0
  454. package/dist/hooks/useLiveInteractionModality.mjs +1 -0
  455. package/dist/hooks/useLocalStorage.mjs +1 -0
  456. package/dist/hooks/useMedia.mjs +1 -0
  457. package/dist/hooks/useMutationObserver.mjs +1 -0
  458. package/dist/hooks/usePortalContainer.mjs +1 -0
  459. package/dist/hooks/usePreventFocus.mjs +1 -0
  460. package/dist/hooks/useResizeObserver.mjs +1 -0
  461. package/dist/hooks/useTextSelection.mjs +1 -0
  462. package/dist/hooks/useUndoRedo.mjs +1 -0
  463. package/dist/index.d.ts +811 -70
  464. package/dist/index.js +21 -21
  465. package/dist/index.mjs +1 -43
  466. package/dist/messageIds.mjs +1 -0
  467. package/dist/react-aria.d.ts +133 -133
  468. package/dist/react-aria.mjs +1 -0
  469. package/dist/react-stately.d.ts +82 -82
  470. package/dist/react-stately.mjs +1 -0
  471. package/dist/utils/a11y.mjs +1 -0
  472. package/dist/utils/classNames.mjs +1 -0
  473. package/dist/utils/colors.mjs +1 -0
  474. package/dist/utils/constants.mjs +10 -0
  475. package/dist/utils/devWarn.mjs +1 -0
  476. package/dist/utils/dom.mjs +1 -0
  477. package/dist/utils/invariant.mjs +1 -0
  478. package/dist/utils/isInIframe.mjs +1 -0
  479. package/dist/utils/isInShadowDOM.mjs +1 -0
  480. package/dist/utils/isRect.mjs +1 -0
  481. package/dist/utils/keyboards.mjs +1 -0
  482. package/dist/utils/math.mjs +1 -0
  483. package/dist/utils/objects.mjs +1 -0
  484. package/dist/utils/onDropOrPaste.mjs +1 -0
  485. package/dist/utils/overlays.mjs +1 -0
  486. package/dist/utils/reactAriaCompat.mjs +1 -0
  487. package/dist/utils/reactAriaComponentsCompat.mjs +1 -0
  488. package/dist/utils/resolveAriaLabelAttrs.mjs +1 -0
  489. package/dist/utils/resolvePublicUrl.mjs +10 -0
  490. package/dist/utils/strings.mjs +1 -0
  491. package/dist/utils/style.mjs +1 -0
  492. package/dist/utils/svgs.mjs +1 -0
  493. package/dist/utils/validations.mjs +1 -0
  494. package/intl/ar.json +2 -2
  495. package/intl/cs.json +2 -2
  496. package/intl/cy.json +4 -4
  497. package/intl/da.json +3 -3
  498. package/intl/de.json +3 -3
  499. package/intl/el.json +2 -2
  500. package/intl/en-GB.json +2 -2
  501. package/intl/en.json +2 -2
  502. package/intl/fi.json +3 -3
  503. package/intl/fr-CA.json +1 -1
  504. package/intl/fr.json +2 -2
  505. package/intl/he.json +3 -3
  506. package/intl/hr.json +3 -3
  507. package/intl/id.json +3 -3
  508. package/intl/ja.json +2 -2
  509. package/intl/ko.json +1 -1
  510. package/intl/ms.json +2 -2
  511. package/intl/nb-NO.json +3 -3
  512. package/intl/nl.json +4 -4
  513. package/intl/pt-PT.json +1 -1
  514. package/intl/pt.json +3 -3
  515. package/intl/ru.json +2 -2
  516. package/intl/sk.json +2 -2
  517. package/intl/sl.json +4 -4
  518. package/intl/sv.json +3 -3
  519. package/intl/th.json +1 -1
  520. package/intl/tr.json +3 -3
  521. package/intl/uk.json +1 -1
  522. package/intl/zh-Hant.json +2 -2
  523. package/messages.json +2 -2
  524. package/package.json +8 -5
  525. package/sbom.json +6 -6
@@ -0,0 +1,10 @@
1
+ import {a as a$4}from'./chunk-5KD2MNNX.mjs';import {d as d$1}from'./chunk-W6QO7FPZ.mjs';import {a as a$2}from'./chunk-KPEONVLU.mjs';import {a,b}from'./chunk-2RCST7ET.mjs';import {a as a$1,c,b as b$1}from'./chunk-2VY4FAOY.mjs';import {a as a$3}from'./chunk-X3AXUU3H.mjs';import {useState,useMemo,useRef}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 ne={"ar-AE":{alpha:"\u0623\u0644\u0641\u0627",black:"\u0623\u0633\u0648\u062F",blue:"\u0623\u0632\u0631\u0642","blue purple":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0645\u0632\u0631\u0642",brightness:"\u0627\u0644\u0633\u0637\u0648\u0639",brown:"\u0628\u0646\u064A","brown yellow":"\u0623\u0635\u0641\u0631 \u0628\u0646\u064A",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0633\u0645\u0627\u0648\u064A","cyan blue":"\u0623\u0632\u0631\u0642 \u0633\u0645\u0627\u0648\u064A",dark:"\u062F\u0627\u0643\u0646",gray:"\u0631\u0645\u0627\u062F\u064A",grayish:"\u0645\u0627\u0626\u0644 \u0644\u0644\u0631\u0645\u0627\u062F\u064A",green:"\u0623\u062E\u0636\u0631","green cyan":"\u0633\u0645\u0627\u0648\u064A \u0645\u062E\u0636\u0631",hue:"\u062F\u0631\u062C\u0629 \u0627\u0644\u0644\u0648\u0646",light:"\u0641\u0627\u062A\u062D",lightness:"\u0627\u0644\u0625\u0636\u0627\u0621\u0629",magenta:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","magenta pink":"\u0623\u0631\u062C\u0648\u0627\u0646\u064A \u0648\u0631\u062F\u064A",orange:"\u0628\u0631\u062A\u0642\u0627\u0644\u064A","orange yellow":"\u0623\u0635\u0641\u0631 \u0628\u0631\u062A\u0642\u0627\u0644\u064A",pale:"\u0628\u0627\u0647\u062A",pink:"\u0648\u0631\u062F\u064A","pink red":"\u0623\u062D\u0645\u0631 \u0648\u0631\u062F\u064A",purple:"\u0623\u0631\u062C\u0648\u0627\u0646\u064A","purple magenta":"\u0628\u0646\u0641\u0633\u062C\u064A",red:"\u0623\u062D\u0645\u0631","red orange":"\u0628\u0631\u062A\u0642\u0627\u0644\u064A \u0645\u062D\u0645\u0631",saturation:"\u0627\u0644\u062A\u0634\u0628\u0639",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u0634\u0641\u0627\u0641`,"very dark":"\u062F\u0627\u0643\u0646 \u062C\u062F\u064B\u0627","very light":"\u0641\u0627\u062A\u062D \u062C\u062F\u064B\u0627",vibrant:"\u0633\u0627\u0637\u0639",white:"\u0623\u0628\u064A\u0636",yellow:"\u0623\u0635\u0641\u0631","yellow green":"\u0623\u062E\u0636\u0631 \u0645\u0635\u0641\u0631"},"bg-BG":{alpha:"\u0410\u043B\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u043E",blue:"\u0421\u0438\u043D\u044C\u043E","blue purple":"\u0441\u0438\u043D\u044C\u043E \u043B\u0438\u043B\u0430\u0432\u043E",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442",brown:"\u043A\u0430\u0444\u044F\u0432\u043E","brown yellow":"\u043A\u0430\u0444\u044F\u0432\u043E \u0436\u044A\u043B\u0442\u043E",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0446\u0438\u0430\u043D","cyan blue":"\u0446\u0438\u0430\u043D \u0441\u0438\u043D\u044C\u043E",dark:"\u0442\u044A\u043C\u043D\u043E",gray:"\u0441\u0438\u0432\u043E",grayish:"\u0441\u0438\u0432\u043A\u0430\u0432",green:"\u0417\u0435\u043B\u0435\u043D\u043E","green cyan":"\u0437\u0435\u043B\u0435\u043D \u0446\u0438\u0430\u043D",hue:"\u041E\u0442\u0442\u0435\u043D\u044A\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u043E",lightness:"\u041B\u0435\u043A\u043E\u0442\u0430",magenta:"\u043C\u0430\u0433\u0435\u043D\u0442\u0430","magenta pink":"\u043C\u0430\u0433\u0435\u043D\u0442\u0430 \u0440\u043E\u0437\u043E\u0432\u043E",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E \u0436\u044A\u043B\u0442\u043E",pale:"\u0431\u043B\u0435\u0434\u043E",pink:"\u0440\u043E\u0437\u043E\u0432\u043E","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E \u0447\u0435\u0440\u0432\u0435\u043D\u043E",purple:"\u043B\u0438\u043B\u0430\u0432\u043E","purple magenta":"\u043B\u0438\u043B\u0430\u0432\u043E \u043C\u0430\u0433\u0435\u043D\u0442\u0430",red:"\u0427\u0435\u0440\u0432\u0435\u043D\u043E","red orange":"\u0447\u0435\u0440\u0432\u0435\u043D \u043F\u043E\u0440\u0442\u043E\u043A\u0430\u043B",saturation:"\u041D\u0430\u0441\u0438\u0442\u0435\u043D\u043E\u0441\u0442",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D`,"very dark":"\u043C\u043D\u043E\u0433\u043E \u0442\u044A\u043C\u043D\u043E","very light":"\u043C\u043D\u043E\u0433\u043E \u0441\u0432\u0435\u0442\u043B\u043E",vibrant:" \u044F\u0440\u043A\u043E",white:"\u0431\u044F\u043B\u043E",yellow:"\u0436\u044A\u043B\u0442\u043E","yellow green":"\u0436\u044A\u043B\u0442\u043E \u0437\u0435\u043B\u0435\u043D"},"cs-CZ":{alpha:"Alfa",black:"\u010Dern\xE1",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hn\u011Bd\xE1","brown yellow":"hn\u011Bdo\u017Elut\xE1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"tyrkysov\xE1","cyan blue":"tyrkysovomodr\xE1",dark:"tmav\xE1",gray:"\u0161ed\xE1",grayish:"na\u0161edl\xE1",green:"Zelen\xE1","green cyan":"zelenotyrkysov\xE1",hue:"Odst\xEDn",light:"sv\u011Btl\xE1",lightness:"Sv\u011Btlost",magenta:"purpurov\xE1","magenta pink":"purpurov\u011B r\u016F\u017Eov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elut\xE1",pale:"bled\xE1",pink:"r\u016F\u017Eov\xE1","pink red":"r\u016F\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\u011B purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"Sytost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} pr\u016Fhledn\xE9`,"very dark":"velmi tmav\xE1","very light":"velmi sv\u011Btl\xE1",vibrant:"z\xE1\u0159iv\xE1",white:"b\xEDl\xE1",yellow:"\u017Elut\xE1","yellow green":"\u017Elutozelen\xE1"},"da-DK":{alpha:"Alfa",black:"sort",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyan bl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5lig",green:"Gr\xF8n","green cyan":"gr\xF8n cyan",hue:"Tone",light:"lys",lightness:"Lyshed",magenta:"magenta","magenta pink":"magenta pink",orange:"orange","orange yellow":"orangegul",pale:"bleg",pink:"lyser\xF8d","pink red":"lyser\xF8dlig r\xF8d",purple:"lilla","purple magenta":"lilla magenta",red:"R\xF8d","red orange":"r\xF8dorange",saturation:"Farvem\xE6tning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gennemsigtig`,"very dark":"meget m\xF8rk","very light":"meget lys",vibrant:"klar",white:"hvid",yellow:"gul","yellow green":"gulgr\xF8n"},"de-DE":{alpha:"Alpha",black:"Schwarz",blue:"Blau","blue purple":"Blaulila",brightness:"Helligkeit",brown:"Braun","brown yellow":"Braungelb",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Cyanblau",dark:"dunkles",gray:"Grau",grayish:"gr\xE4uliches",green:"Gr\xFCn","green cyan":"Gr\xFCncyan",hue:"Farbton",light:"helles",lightness:"Leuchtkraft",magenta:"Magenta","magenta pink":"Magentarosa",orange:"Orange","orange yellow":"Orangegelb",pale:"blasses",pink:"Rosa","pink red":"Rosarot",purple:"Lila","purple magenta":"Lilamagenta",red:"Rot","red orange":"Rotorange",saturation:"S\xE4ttigung",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, zu ${e.percentTransparent} transparent`,"very dark":"sehr dunkles","very light":"sehr helles",vibrant:"lebhaftes",white:"Wei\xDF",yellow:"Gelb","yellow green":"Gelbgr\xFCn"},"el-GR":{alpha:"\u0386\u03BB\u03C6\u03B1",black:"\u03BC\u03B1\u03CD\u03C1\u03BF",blue:"\u039C\u03C0\u03BB\u03B5","blue purple":"\u03BC\u03C0\u03BB\u03B5 \u03BC\u03C9\u03B2",brightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",brown:"\u03BA\u03B1\u03C6\u03AD","brown yellow":"\u03BA\u03B1\u03C6\u03AD \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u03BA\u03C5\u03B1\u03BD\u03CC","cyan blue":"\u03BA\u03C5\u03B1\u03BD\u03CC \u03BC\u03C0\u03BB\u03B5",dark:"\u03C3\u03BA\u03BF\u03CD\u03C1\u03BF",gray:"\u03B3\u03BA\u03C1\u03B9",grayish:"\u03B3\u03BA\u03C1\u03B9\u03B6\u03C9\u03C0\u03CC",green:"\u03A0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF","green cyan":"\u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF \u03BA\u03C5\u03B1\u03BD\u03CC",hue:"\u03A4\u03CC\u03BD\u03BF\u03C2",light:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",lightness:"\u03A6\u03C9\u03C4\u03B5\u03B9\u03BD\u03CC\u03C4\u03B7\u03C4\u03B1",magenta:"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1","magenta pink":"\u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1 \u03C1\u03BF\u03B6",orange:"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF","orange yellow":"\u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF \u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF",pale:"\u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",pink:"\u03C1\u03BF\u03B6","pink red":"\u03C1\u03BF\u03B6 \u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF",purple:"\u03BC\u03C9\u03B2","purple magenta":"\u03BC\u03C9\u03B2 \u03BC\u03B1\u03C4\u03B6\u03AD\u03BD\u03C4\u03B1",red:"\u039A\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF","red orange":"\u03BA\u03CC\u03BA\u03BA\u03B9\u03BD\u03BF \u03C0\u03BF\u03C1\u03C4\u03BF\u03BA\u03B1\u03BB\u03AF",saturation:"\u039A\u03BF\u03C1\u03B5\u03C3\u03BC\u03CC\u03C2",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2`,"very dark":"\u03C0\u03BF\u03BB\u03CD \u03C3\u03BA\u03BF\u03CD\u03C1\u03BF","very light":"\u03C0\u03BF\u03BB\u03CD \u03B1\u03BD\u03BF\u03B9\u03C7\u03C4\u03CC",vibrant:"\u03AD\u03BD\u03C4\u03BF\u03BD\u03BF",white:"\u03BB\u03B5\u03C5\u03BA\u03CC",yellow:"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF","yellow green":"\u03BA\u03AF\u03C4\u03C1\u03B9\u03BD\u03BF \u03C0\u03C1\u03AC\u03C3\u03B9\u03BD\u03BF"},"en-US":{hue:"Hue",saturation:"Saturation",lightness:"Lightness",brightness:"Brightness",red:"Red",green:"Green",blue:"Blue",alpha:"Alpha",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"very dark",dark:"dark",light:"light","very light":"very light",pale:"pale",grayish:"grayish",vibrant:"vibrant",black:"black",white:"white",gray:"gray",pink:"pink","pink red":"pink red","red orange":"red orange",brown:"brown",orange:"orange","orange yellow":"orange yellow","brown yellow":"brown yellow",yellow:"yellow","yellow green":"yellow green","green cyan":"green cyan",cyan:"cyan","cyan blue":"cyan blue","blue purple":"blue purple",purple:"purple","purple magenta":"purple magenta",magenta:"magenta","magenta pink":"magenta pink"},"es-ES":{alpha:"Alpha",black:"negro",blue:"Azul","blue purple":"p\xFArpura azulado",brightness:"Brillo",brown:"marr\xF3n","brown yellow":"amarillo amarronado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"azul cian",dark:"oscuro",gray:"gris",grayish:"gris\xE1ceo",green:"Verde","green cyan":"cian verdoso",hue:"Tono",light:"claro",lightness:"Luminosidad",magenta:"magenta","magenta pink":"rosa magenta",orange:"naranja","orange yellow":"amarillo anaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rojo rosado",purple:"morado","purple magenta":"magenta viol\xE1ceo",red:"Rojo","red orange":"naranja rojizo",saturation:"Saturaci\xF3n",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muy oscuro","very light":"muy claro",vibrant:"intenso",white:"blanco",yellow:"amarillo","yellow green":"verde amarillento"},"et-EE":{alpha:"Alfa",black:"must",blue:"Sinine","blue purple":"sinakaslilla",brightness:"Heledus",brown:"pruun","brown yellow":"pruunikaskollane",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ts\xFCaan","cyan blue":"ts\xFCaansinine",dark:"tume",gray:"hall",grayish:"hallikas",green:"Roheline","green cyan":"ts\xFCaanroheline",hue:"V\xE4rv",light:"valgus",lightness:"Valgus",magenta:"magentapunane","magenta pink":"magentaroosa",orange:"oran\u017E","orange yellow":"oran\u017Eikaskollane",pale:"kahvatu",pink:"roosa","pink red":"vaarikapunane",purple:"lilla","purple magenta":"purpurne magenta",red:"Punane","red orange":"punakasoran\u017E",saturation:"K\xFCllastus",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} l\xE4bipaistev`,"very dark":"v\xE4ga tume","very light":"v\xE4ga hele",vibrant:"ere",white:"valge",yellow:"kollane","yellow green":"kollakasroheline"},"fi-FI":{alpha:"Alpha",black:"musta",blue:"Sininen","blue purple":"sinivioletti",brightness:"Kirkkaus",brown:"ruskea","brown yellow":"ruskeankeltainen",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"syaani","cyan blue":"syaaninsininen",dark:"tumma",gray:"harmaa",grayish:"harmahtava",green:"Vihre\xE4","green cyan":"vihre\xE4nsyaani",hue:"S\xE4vy",light:"vaalea",lightness:"Valom\xE4\xE4r\xE4",magenta:"magenta","magenta pink":"magentapinkki",orange:"oranssi","orange yellow":"oranssinkeltainen",pale:"vaalea",pink:"pinkki","pink red":"vaaleanpunainen",purple:"violetti","purple magenta":"violettimagenta",red:"Punainen","red orange":"punaoranssi",saturation:"V\xE4rikyll\xE4isyys",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} l\xE4pin\xE4kyv\xE4`,"very dark":"hyvin tumma","very light":"eritt\xE4in vaalea",vibrant:"eloisa",white:"valkea",yellow:"keltainen","yellow green":"keltavihre\xE4"},"fr-FR":{alpha:"Alpha",black:"Noir",blue:"Bleu","blue purple":"Violet bleu",brightness:"Luminosit\xE9",brown:"Brun","brown yellow":"Jaune brun",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"Cyan","cyan blue":"Bleu cyan",dark:"Sombre",gray:"Gris",grayish:"Gris\xE2tre",green:"Vert","green cyan":"Cyan vert",hue:"Teinte",light:"Clair",lightness:"Luminosit\xE9",magenta:"Magenta","magenta pink":"Rose magenta",orange:"Orange","orange yellow":"Jaune orang\xE9",pale:"P\xE2le",pink:"Rose","pink red":"Rouge ros\xE9",purple:"Violet","purple magenta":"Magenta violet",red:"Rouge","red orange":"Orange rouge",saturation:"Saturation",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"Tr\xE8s sombre","very light":"Tr\xE8s clair",vibrant:"Vif",white:"Blanc",yellow:"Jaune","yellow green":"Vert jaune"},"he-IL":{alpha:"\u05D0\u05DC\u05E4\u05D0",black:"\u05E9\u05D7\u05D5\u05E8",blue:"\u05DB\u05D7\u05D5\u05DC","blue purple":"\u05DB\u05D7\u05D5\u05DC \u05E1\u05D2\u05D5\u05DC",brightness:"\u05D1\u05D4\u05D9\u05E8\u05D5\u05EA",brown:"\u05D7\u05D5\u05DD","brown yellow":"\u05D7\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u05D8\u05D5\u05E8\u05E7\u05D9\u05D6","cyan blue":"\u05DB\u05D7\u05D5\u05DC \u05E6\u05D9\u05D0\u05DF",dark:"\u05DB\u05D4\u05D4",gray:"\u05D0\u05E4\u05D5\u05E8",grayish:"\u05D0\u05E4\u05E8\u05E4\u05E8",green:"\u05D9\u05E8\u05D5\u05E7","green cyan":"\u05E6\u05D9\u05D0\u05DF \u05D9\u05E8\u05D5\u05E7",hue:"\u05D2\u05D5\u05D5\u05DF",light:"\u05D0\u05D5\u05E8",lightness:"\u05DB\u05DE\u05D5\u05EA \u05D0\u05D5\u05E8",magenta:"\u05DE\u05D2'\u05E0\u05D8\u05D4","magenta pink":"\u05D5\u05E8\u05D5\u05D3 \u05DE\u05D2'\u05E0\u05D8\u05D4",orange:"\u05DB\u05EA\u05D5\u05DD","orange yellow":"\u05DB\u05EA\u05D5\u05DD \u05E6\u05D4\u05D5\u05D1",pale:"\u05D7\u05D9\u05D5\u05D5\u05E8",pink:"\u05D5\u05E8\u05D5\u05D3","pink red":"\u05D5\u05E8\u05D5\u05D3 \u05D0\u05D3\u05D5\u05DD",purple:"\u05E1\u05D2\u05D5\u05DC","purple magenta":"\u05DE\u05D2'\u05E0\u05D8\u05D4 \u05E1\u05D2\u05D5\u05DC",red:"\u05D0\u05D3\u05D5\u05DD","red orange":"\u05DB\u05EA\u05D5\u05DD \u05D0\u05D3\u05D5\u05DD",saturation:"\u05E8\u05D5\u05D5\u05D9\u05D4",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u05E9\u05E7\u05D5\u05E3`,"very dark":"\u05DB\u05D4\u05D4 \u05DE\u05D0\u05D5\u05D3","very light":"\u05D1\u05D4\u05D9\u05E8 \u05DE\u05D0\u05D5\u05D3",vibrant:"\u05EA\u05D5\u05E1\u05E1",white:"\u05DC\u05D1\u05DF",yellow:"\u05E6\u05D4\u05D5\u05D1","yellow green":"\u05E6\u05D4\u05D5\u05D1 \u05D9\u05E8\u05D5\u05E7"},"hr-HR":{alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavo ljubi\u010Dasta",brightness:"Svjetlina",brown:"sme\u0111a","brown yellow":"sme\u0111e \u017Euta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasto",green:"Zelena","green cyan":"zelena cijan",hue:"Nijansa",light:"svjetlo",lightness:"Osvijetljenost",magenta:"magenta","magenta pink":"magentno ru\u017Ei\u010Dasta",orange:"naran\u010Dasta","orange yellow":"naran\u010Dasto \u017Euta",pale:"blijeda",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dasto crvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crveno naran\u010Dasta",saturation:"Zasi\u0107enost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirnosti`,"very dark":"jako tamna","very light":"vrlo svijetlo",vibrant:"vibrantna",white:"bijela",yellow:"\u017Euto","yellow green":"\u017Euto zelena"},"hu-HU":{alpha:"Alfa",black:"fekete",blue:"K\xE9k","blue purple":"k\xE9k lila",brightness:"F\xE9nyess\xE9g",brown:"barna","brown yellow":"barna s\xE1rga",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ci\xE1nk\xE9k","cyan blue":"ci\xE1nk\xE9k",dark:"s\xF6t\xE9t",gray:"sz\xFCrke",grayish:"sz\xFCrk\xE9s",green:"Z\xF6ld","green cyan":"z\xF6ld ci\xE1nk\xE9k",hue:"Sz\xEDn\xE1rnyalat",light:"vil\xE1gos",lightness:"Vil\xE1goss\xE1g",magenta:"b\xEDbor","magenta pink":"b\xEDbor r\xF3zsasz\xEDn",orange:"narancs","orange yellow":"narancss\xE1rga",pale:"halv\xE1ny",pink:"r\xF3zsasz\xEDn","pink red":"r\xF3zsasz\xEDn piros",purple:"lila","purple magenta":"lila b\xEDbor",red:"Piros","red orange":"piros narancs",saturation:"Tel\xEDtetts\xE9g",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \xE1tl\xE1tsz\xF3`,"very dark":"nagyon s\xF6t\xE9t","very light":"nagyon vil\xE1gos",vibrant:"\xE9l\xE9nk",white:"feh\xE9r",yellow:"s\xE1rga","yellow green":"s\xE1rga z\xF6ld"},"it-IT":{alpha:"Alfa",black:"nero",blue:"Blu","blue purple":"blu viola",brightness:"Luminosit\xE0",brown:"marrone","brown yellow":"giallo bruno",colorName:e=>`${e.hue} ${e.chroma} ${e.lightness}`,cyan:"ciano","cyan blue":"blu ciano",dark:"scuro",gray:"grigio",grayish:"grigiastro",green:"Verde","green cyan":"verde ciano",hue:"Tonalit\xE0",light:"chiaro",lightness:"Luminosit\xE0",magenta:"magenta","magenta pink":"rosa magenta",orange:"arancio","orange yellow":"giallo arancio",pale:"tenue",pink:"rosa","pink red":"rosa rosso",purple:"viola","purple magenta":"viola magenta",red:"Rosso","red orange":"rosso arancio",saturation:"Saturazione",transparentColorName:e=>`${e.hue} ${e.chroma} ${e.lightness}, trasparenza ${e.percentTransparent}`,"very dark":"molto scuro","very light":"molto chiaro",vibrant:"vivace",white:"bianco",yellow:"giallo","yellow green":"giallo verde"},"ja-JP":{alpha:"\u30A2\u30EB\u30D5\u30A1",black:"\u30D6\u30E9\u30C3\u30AF",blue:"\u9752","blue purple":"\u30D6\u30EB\u30FC\u30D1\u30FC\u30D7\u30EB",brightness:"\u660E\u308B\u3055",brown:"\u30D6\u30E9\u30A6\u30F3","brown yellow":"\u30D6\u30E9\u30A6\u30F3\u30A4\u30A8\u30ED\u30FC",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u30B7\u30A2\u30F3","cyan blue":"\u30B7\u30A2\u30F3\u30D6\u30EB\u30FC",dark:"\u30C0\u30FC\u30AF",gray:"\u30B0\u30EC\u30FC",grayish:"\u30B0\u30EC\u30A4\u30C3\u30B7\u30E5",green:"\u7DD1","green cyan":"\u30B0\u30EA\u30FC\u30F3\u30B7\u30A2\u30F3",hue:"\u8272\u76F8",light:"\u30E9\u30A4\u30C8",lightness:"\u660E\u5EA6",magenta:"\u30DE\u30BC\u30F3\u30BF","magenta pink":"\u30DE\u30BC\u30F3\u30BF\u30D4\u30F3\u30AF",orange:"\u30AA\u30EC\u30F3\u30B8","orange yellow":"\u30AA\u30EC\u30F3\u30B8\u30A4\u30A8\u30ED\u30FC",pale:"\u30DA\u30FC\u30EB",pink:"\u30D4\u30F3\u30AF","pink red":"\u30D4\u30F3\u30AF\u30EC\u30C3\u30C9",purple:"\u30D1\u30FC\u30D7\u30EB","purple magenta":"\u30D1\u30FC\u30D7\u30EB\u30DE\u30BC\u30F3\u30BF",red:"\u8D64","red orange":"\u30EC\u30C3\u30C9\u30AA\u30EC\u30F3\u30B8",saturation:"\u5F69\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u6700\u3082\u6697\u3044","very light":"\u30D9\u30EA\u30FC\u30E9\u30A4\u30C8",vibrant:"\u9BAE\u3084\u304B",white:"\u30DB\u30EF\u30A4\u30C8",yellow:"\u30A4\u30A8\u30ED\u30FC","yellow green":"\u30A4\u30A8\u30ED\u30FC\u30B0\u30EA\u30FC\u30F3"},"ko-KR":{alpha:"\uC54C\uD30C",black:"\uAC80\uC740\uC0C9",blue:"\uD30C\uB791","blue purple":"\uCCAD\uC790\uC0C9",brightness:"\uBA85\uB3C4",brown:"\uAC08\uC0C9","brown yellow":"\uD669\uAC08\uC0C9",colorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}`,cyan:"\uCCAD\uB85D\uC0C9","cyan blue":"\uCCAD\uB85D\uC0C9",dark:"\uB2E4\uD06C",gray:"\uD68C\uC0C9",grayish:"\uD68C\uAC08\uC0C9",green:"\uCD08\uB85D","green cyan":"\uCCAD\uB85D\uC0C9",hue:"\uC0C9\uC870",light:"\uB77C\uC774\uD2B8",lightness:"\uBC1D\uAE30",magenta:"\uC790\uD64D\uC0C9","magenta pink":"\uB9C8\uC820\uD0C0 \uD551\uD06C",orange:"\uC8FC\uD669\uC0C9","orange yellow":"\uBD88\uADF8\uC2A4\uB984\uD55C \uB178\uB791",pale:"\uD759\uC0C9",pink:"\uBD84\uD64D\uC0C9","pink red":"\uD551\uD06C \uB808\uB4DC",purple:"\uC790\uC8FC\uC0C9","purple magenta":"\uBCF4\uB77C\uBE5B \uC790\uD64D\uC0C9",red:"\uBE68\uAC15","red orange":"\uBD89\uC740 \uC8FC\uD669\uC0C9",saturation:"\uCC44\uB3C4",transparentColorName:e=>`${e.lightness}, ${e.chroma}, ${e.hue}, ${e.percentTransparent} \uD22C\uBA85\uB3C4`,"very dark":"\uB9E4\uC6B0 \uC5B4\uB450\uC6B4","very light":"\uB9E4\uC6B0 \uC5F0\uD568",vibrant:"\uAC15\uB82C\uD55C",white:"\uD770\uC0C9",yellow:"\uB178\uB780\uC0C9","yellow green":"\uC5F0\uB450\uC0C9"},"lt-LT":{alpha:"Alfa",black:"juoda",blue:"M\u0117lyna","blue purple":"melsvai violetin\u0117",brightness:"Ry\u0161kumas",brown:"ruda","brown yellow":"rusvai geltona",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u017Ealsvai m\u0117lyna","cyan blue":"\u017Ealsvai m\u0117lyna",dark:"tamsi",gray:"pilka",grayish:"pilk\u0161va",green:"\u017Dalia","green cyan":"\u017Ealsvai m\u0117lyna",hue:"Atspalvis",light:"\u0161viesi",lightness:"\u0160viesumas",magenta:"rausvai raudona","magenta pink":"purpurin\u0117",orange:"oran\u017Ein\u0117","orange yellow":"oran\u017Einio atspalvio geltona",pale:"bly\u0161ki",pink:"ro\u017Ein\u0117","pink red":"ro\u017Ein\u0117 raudona",purple:"violetin\u0117","purple magenta":"purpurin\u0117 rausvai raudona",red:"Raudona","red orange":"rausvai oran\u017Ein\u0117",saturation:"\u012Esotinimas",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} skaidri`,"very dark":"labai tamsi","very light":"labai \u0161viesi",vibrant:"ry\u0161ki",white:"balta",yellow:"geltona","yellow green":"gelsvai \u017Ealia"},"lv-LV":{alpha:"Alfa",black:"melns",blue:"Zila","blue purple":"zili violets",brightness:"Spilgtums",brown:"br\u016Bns","brown yellow":"br\u016Bni dzeltens",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ci\u0101ns","cyan blue":"ci\u0101na zils",dark:"tum\u0161s",gray:"pel\u0113ks",grayish:"pel\u0113c\u012Bgs",green:"Za\u013Ca","green cyan":"za\u013C\u0161 ci\u0101ns",hue:"Nokr\u0101sa",light:"gai\u0161s",lightness:"Gai\u0161ums",magenta:"fuksiju","magenta pink":"fuksiju roz\u0101",orange:"oran\u017Es","orange yellow":"oran\u017Ei dzeltens",pale:"b\u0101ls",pink:"roz\u0101","pink red":"roz\u012Bgi sarkans",purple:"violets","purple magenta":"violets fuksiju",red:"Sarkana","red orange":"sarkan\u012Bgi oran\u017Es",saturation:"Pies\u0101tin\u0101jums",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} caursp\u012Bd\u012Bgs`,"very dark":"\u013Coti tum\u0161s","very light":"\u013Coti gai\u0161s",vibrant:"ko\u0161s",white:"balts",yellow:"dzeltens","yellow green":"dzelteni za\u013C\u0161"},"nb-NO":{alpha:"Alfa",black:"svart",blue:"Bl\xE5","blue purple":"bl\xE5lilla",brightness:"Lysstyrke",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF8rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF8nn","green cyan":"gr\xF8nncyan",hue:"Fargetone",light:"lys",lightness:"Lyshet",magenta:"magenta","magenta pink":"magentarosa",orange:"oransje","orange yellow":"oransjegul",pale:"blek",pink:"rosa","pink red":"rosar\xF8d",purple:"lilla","purple magenta":"lillamagenta",red:"R\xF8d","red orange":"r\xF8doransje",saturation:"Metning",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} gjennomsiktig`,"very dark":"sv\xE6rt m\xF8rk","very light":"sv\xE6rt lys",vibrant:"levende",white:"hvit",yellow:"gul","yellow green":"gulgr\xF8nn"},"nl-NL":{alpha:"Alfa",black:"zwart",blue:"Blauw","blue purple":"paarsblauw",brightness:"Helderheid",brown:"bruin","brown yellow":"bruingeel",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyaan","cyan blue":"cyaanblauw",dark:"donker",gray:"grijs",grayish:"grijsachtig",green:"Groen","green cyan":"cyaangroen",hue:"Kleurtoon",light:"licht",lightness:"Lichtsterkte",magenta:"magenta","magenta pink":"magentaroze",orange:"oranje","orange yellow":"oranjegeel",pale:"bleek",pink:"roze","pink red":"rozerood",purple:"paars","purple magenta":"magentapaars",red:"Rood","red orange":"roodoranje",saturation:"Verzadiging",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparant`,"very dark":"heel donker","very light":"heel licht",vibrant:"levendig",white:"wit",yellow:"geel","yellow green":"geelgroen"},"pl-PL":{alpha:"Alfa",black:"czarny",blue:"Niebieski","blue purple":"niebiesko-fioletowy",brightness:"Jasno\u015B\u0107",brown:"br\u0105zowy","brown yellow":"br\u0105zowo-\u017C\xF3\u0142ty",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyjanowy","cyan blue":"cyjanowo-niebieski",dark:"ciemny",gray:"szary",grayish:"szarawy",green:"Zielony","green cyan":"zielono-cyjanowy",hue:"Odcie\u0144",light:"jasny",lightness:"Jaskrawo\u015B\u0107",magenta:"purpurowy","magenta pink":"purpurowo-r\xF3\u017Cowy",orange:"pomara\u0144czowy","orange yellow":"pomara\u0144czowo-\u017C\xF3\u0142ty",pale:"blady",pink:"r\xF3\u017Cowy","pink red":"r\xF3\u017Cowo-czerwony",purple:"fioletowy","purple magenta":"fioletowo-purpurowy",red:"Czerwony","red orange":"czerwono-pomara\u0144czowy",saturation:"Nasycenie",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} przezroczysto\u015Bci`,"very dark":"bardzo ciemny","very light":"bardzo jasny",vibrant:"intensywny",white:"bia\u0142y",yellow:"\u017C\xF3\u0142ty","yellow green":"\u017C\xF3\u0142to-zielony"},"pt-BR":{alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"roxo azulado",brightness:"Brilho",brown:"marrom","brown yellow":"marrom amarelado",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinza",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Matiz",light:"claro",lightness:"Luminosidade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo alaranjado",pale:"p\xE1lido",pink:"rosa","pink red":"rosa avermelhado",purple:"roxo","purple magenta":"roxo-magenta",red:"Vermelho","red orange":"laranja avermelhado",saturation:"Satura\xE7\xE3o",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde amarelado"},"pt-PT":{alpha:"Alfa",black:"preto",blue:"Azul","blue purple":"azul-p\xFArpura",brightness:"Luminosidade",brown:"castanho","brown yellow":"amarelo-castanho",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"ciano","cyan blue":"azul-ciano",dark:"escuro",gray:"cinzento",grayish:"acinzentado",green:"Verde","green cyan":"verde-ciano",hue:"Tonalidade",light:"claro",lightness:"Claridade",magenta:"magenta","magenta pink":"rosa-magenta",orange:"laranja","orange yellow":"amarelo-laranja",pale:"p\xE1lido",pink:"cor-de-rosa","pink red":"vermelho-rosa",purple:"p\xFArpura","purple magenta":"p\xFArpura-magenta",red:"Vermelho","red orange":"laranja-vermelho",saturation:"Satura\xE7\xE3o",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparente`,"very dark":"muito escuro","very light":"muito claro",vibrant:"vibrante",white:"branco",yellow:"amarelo","yellow green":"verde-amarelo"},"ro-RO":{alpha:"Alfa",black:"negru",blue:"Albastru","blue purple":"albastru-violet",brightness:"Luminozitate",brown:"maro","brown yellow":"galben maro",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"bleu","cyan blue":"albastru-bleu",dark:"\xEEnchis",gray:"gri",grayish:"cenu\u0219iu",green:"Verde","green cyan":"verde bleu",hue:"Nuan\u021B\u0103",light:"deschis",lightness:"Luminozitate",magenta:"fucsia","magenta pink":"roz-fucsia",orange:"portocaliu","orange yellow":"galben-portocaliu",pale:"pal",pink:"roz","pink red":"roz-ro\u0219u",purple:"violet","purple magenta":"violet-fucsia",red:"Ro\u0219u","red orange":"portocaliu-ro\u0219u",saturation:"Satura\u021Bie",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} transparent`,"very dark":"foarte \xEEnchis","very light":"foarte deschis",vibrant:"plin de via\u021B\u0103",white:"alb",yellow:"galben","yellow green":"galben-verde"},"ru-RU":{alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u0435\u0440\u043D\u044B\u0439",blue:"\u0421\u0438\u043D\u0438\u0439","blue purple":"\u0441\u0438\u043D\u0435-\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439",brightness:"\u042F\u0440\u043A\u043E\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u044B\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0433\u043E\u043B\u0443\u0431\u043E\u0439","cyan blue":"\u0446\u0432\u0435\u0442 \u043C\u043E\u0440\u0441\u043A\u043E\u0439 \u0432\u043E\u043B\u043D\u044B",dark:"\u0442\u0435\u043C\u043D\u044B\u0439",gray:"\u0441\u0435\u0440\u044B\u0439",grayish:"\u0441\u0435\u0440\u043E\u0432\u0430\u0442\u044B\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u044B\u0439","green cyan":"\u0441\u0438\u043D\u0435-\u0437\u0435\u043B\u0435\u043D\u044B\u0439",hue:"\u041E\u0442\u0442\u0435\u043D\u043E\u043A",light:"\u0441\u0432\u0435\u0442\u043B\u044B\u0439",lightness:"\u041E\u0441\u0432\u0435\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u043E-\u0440\u043E\u0437\u043E\u0432\u044B\u0439",orange:"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439","orange yellow":"\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u043E-\u0436\u0435\u043B\u0442\u044B\u0439",pale:"\u0431\u043B\u0435\u0434\u043D\u044B\u0439",pink:"\u0440\u043E\u0437\u043E\u0432\u044B\u0439","pink red":"\u0440\u043E\u0437\u043E\u0432\u043E-\u043A\u0440\u0430\u0441\u043D\u044B\u0439",purple:"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u044B\u0439","purple magenta":"\u0444\u0438\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043D\u044B\u0439",red:"\u041A\u0440\u0430\u0441\u043D\u044B\u0439","red orange":"\u043A\u0440\u0430\u0441\u043D\u043E-\u043E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439",saturation:"\u041D\u0430\u0441\u044B\u0449\u0435\u043D\u043D\u043E\u0441\u0442\u044C",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, \u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439 \u043D\u0430 ${e.percentTransparent}`,"very dark":"\u043E\u0447\u0435\u043D\u044C \u0442\u0435\u043C\u043D\u044B\u0439","very light":"\u043E\u0447\u0435\u043D\u044C \u0441\u0432\u0435\u0442\u043B\u044B\u0439",vibrant:"\u044F\u0440\u043A\u0438\u0439",white:"\u0431\u0435\u043B\u044B\u0439",yellow:"\u0436\u0435\u043B\u0442\u044B\u0439","yellow green":"\u0436\u0435\u043B\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u044B\u0439"},"sk-SK":{alpha:"Alfa",black:"\u010Dierna",blue:"Modr\xE1","blue purple":"modrofialov\xE1",brightness:"Jas",brown:"hned\xE1","brown yellow":"hnedo\u017Elt\xE1",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"az\xFArov\xE1","cyan blue":"az\xFArov\xE1 modr\xE1",dark:"tmav\xE1",gray:"siv\xE1",grayish:"sivast\xE1",green:"Zelen\xE1","green cyan":"zelen\xE1 az\xFArov\xE1",hue:"Odtie\u0148",light:"svetl\xE1",lightness:"Svetlos\u0165",magenta:"purpurov\xE1","magenta pink":"ru\u017Eov\xE1 purpurov\xE1",orange:"oran\u017Eov\xE1","orange yellow":"oran\u017Eovo\u017Elt\xE1",pale:"bled\xE1",pink:"ru\u017Eov\xE1","pink red":"ru\u017Eovo\u010Derven\xE1",purple:"fialov\xE1","purple magenta":"fialov\xE1 purpurov\xE1",red:"\u010Cerven\xE1","red orange":"\u010Dervenooran\u017Eov\xE1",saturation:"S\xFDtos\u0165",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prieh\u013Eadn\xE1`,"very dark":"ve\u013Emi tmav\xE1","very light":"ve\u013Emi svetl\xE1",vibrant:"energick\xE1",white:"biela",yellow:"\u017Elt\xE1","yellow green":"\u017Eltozelen\xE1"},"sl-SI":{alpha:"Alfa",black:"\u010Drna",blue:"Modra","blue purple":"modro vijoli\u010Dna",brightness:"Svetlost",brown:"rjava","brown yellow":"rjavo rumena",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cian","cyan blue":"cian modra",dark:"temna",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zelena cian",hue:"Barva",light:"svetla",lightness:"Lahkost",magenta:"\u0161krlatna","magenta pink":"\u0161krlatno roza",orange:"oran\u017Ena","orange yellow":"oran\u017Eno rumena",pale:"bleda",pink:"roza","pink red":"roza rde\u010Da",purple:"vijoli\u010Dna","purple magenta":"vijoli\u010Dno \u0161krlatna",red:"Rde\u010Da","red orange":"rde\u010De oran\u017Ena",saturation:"Nasi\u010Denost",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozorna`,"very dark":"zelo temna","very light":"zelo svetla",vibrant:"\u017Eivahna",white:"bela",yellow:"rumena","yellow green":"rumeno zelena"},"sr-SP":{alpha:"Alfa",black:"crno",blue:"Plava","blue purple":"plavoljubi\u010Dasta",brightness:"Osvetljenost",brown:"sme\u0111a","brown yellow":"sme\u0111e\u017Euta",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cijan","cyan blue":"cijan plava",dark:"tamno",gray:"siva",grayish:"sivkasta",green:"Zelena","green cyan":"zeleno cijan",hue:"Nijansa",light:"svetla",lightness:"Osvetljenje",magenta:"purpurnocrvena","magenta pink":"magenta ru\u017Ei\u010Dasta",orange:"narand\u017Easta","orange yellow":"narand\u017Easto\u017Euta",pale:"bledo",pink:"ru\u017Ei\u010Dasta","pink red":"ru\u017Ei\u010Dastocrvena",purple:"ljubi\u010Dasta","purple magenta":"ljubi\u010Dasta magenta",red:"Crvena","red orange":"crvenonarand\u017Easta",saturation:"Zasi\u0107enje",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} prozirna`,"very dark":"veoma tamno","very light":"vrlo svetlo",vibrant:"\u017Eivopisna",white:"bela",yellow:"\u017Euto","yellow green":"\u017Eutozelena"},"sv-SE":{alpha:"Alfa",black:"svart",blue:"Bl\xE5tt","blue purple":"bl\xE5lila",brightness:"Ljusstyrka",brown:"brun","brown yellow":"brungul",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"cyan","cyan blue":"cyanbl\xE5",dark:"m\xF6rk",gray:"gr\xE5",grayish:"gr\xE5aktig",green:"Gr\xF6nt","green cyan":"gr\xF6n cyan",hue:"Nyans",light:"ljus",lightness:"Ljushet",magenta:"magenta","magenta pink":"magentarosa",orange:"orange","orange yellow":"orangegul",pale:"blek",pink:"rosa","pink red":"rosar\xF6d",purple:"lila","purple magenta":"lila magenta",red:"R\xF6tt","red orange":"r\xF6dorange",saturation:"M\xE4ttnad",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} genomskinlig`,"very dark":"mycket m\xF6rk","very light":"mycket ljus",vibrant:"livfull",white:"vit",yellow:"gul","yellow green":"gulgr\xF6n"},"tr-TR":{alpha:"Alfa",black:"siyah",blue:"Mavi","blue purple":"mavi mor",brightness:"Parlakl\u0131k",brown:"kahverengi","brown yellow":"kahverengi sar\u0131",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"camg\xF6be\u011Fi","cyan blue":"camg\xF6be\u011Fi mavi",dark:"koyu",gray:"gri",grayish:"grimsi",green:"Ye\u015Fil","green cyan":"ye\u015Fil camg\xF6be\u011Fi",hue:"Ton",light:"a\xE7\u0131k",lightness:"Canl\u0131l\u0131k",magenta:"eflatun","magenta pink":"eflatun pembe",orange:"turuncu","orange yellow":"turuncu sar\u0131",pale:"solgun",pink:"pembe","pink red":"pembe k\u0131rm\u0131z\u0131",purple:"mor","purple magenta":"mor eflatun",red:"K\u0131rm\u0131z\u0131","red orange":"k\u0131rm\u0131z\u0131 portakal",saturation:"Doygunluk",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} saydam`,"very dark":"\xE7ok koyu","very light":"\xE7ok a\xE7\u0131k",vibrant:"canl\u0131",white:"beyaz",yellow:"sar\u0131","yellow green":"sar\u0131 ye\u015Fil"},"uk-UA":{alpha:"\u0410\u043B\u044C\u0444\u0430",black:"\u0447\u043E\u0440\u043D\u0438\u0439",blue:"\u0421\u0438\u043D\u0456\u0439","blue purple":"\u0441\u0438\u043D\u044C\u043E-\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439",brightness:"\u042F\u0441\u043A\u0440\u0430\u0432\u0456\u0441\u0442\u044C",brown:"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u0438\u0439","brown yellow":"\u043A\u043E\u0440\u0438\u0447\u043D\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439","cyan blue":"\u0441\u0438\u043D\u044C\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",dark:"\u0442\u0435\u043C\u043D\u0438\u0439",gray:"\u0441\u0456\u0440\u0438\u0439",grayish:"\u0441\u0456\u0440\u0443\u0432\u0430\u0442\u0438\u0439",green:"\u0417\u0435\u043B\u0435\u043D\u0438\u0439","green cyan":"\u0437\u0435\u043B\u0435\u043D\u043E-\u0431\u043B\u0430\u043A\u0438\u0442\u043D\u0438\u0439",hue:"\u0422\u043E\u043D",light:"\u0441\u0432\u0456\u0442\u043B\u0438\u0439",lightness:"\u041E\u0441\u0432\u0456\u0442\u043B\u0435\u043D\u0456\u0441\u0442\u044C",magenta:"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439","magenta pink":"\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u043E-\u0440\u043E\u0436\u0435\u0432\u0438\u0439",orange:"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439","orange yellow":"\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u043E-\u0436\u043E\u0432\u0442\u0438\u0439",pale:"\u0431\u043B\u0456\u0434\u0438\u0439",pink:"\u0440\u043E\u0436\u0435\u0432\u0438\u0439","pink red":"\u0440\u043E\u0436\u0435\u0432\u043E-\u0447\u0435\u0440\u0432\u043E\u043D\u0438\u0439",purple:"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u0438\u0439","purple magenta":"\u0444\u0456\u043E\u043B\u0435\u0442\u043E\u0432\u043E-\u043F\u0443\u0440\u043F\u0443\u0440\u043E\u0432\u0438\u0439",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0438\u0439","red orange":"\u0447\u0435\u0440\u0432\u043E\u043D\u043E-\u043F\u043E\u043C\u0430\u0440\u0430\u043D\u0447\u0435\u0432\u0438\u0439",saturation:"\u041D\u0430\u0441\u0438\u0447\u0435\u043D\u0456\u0441\u0442\u044C",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, \u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439 \u043D\u0430 ${e.percentTransparent}`,"very dark":"\u0434\u0443\u0436\u0435 \u0442\u0435\u043C\u043D\u0438\u0439","very light":"\u0434\u0443\u0436\u0435 \u0441\u0432\u0456\u0442\u043B\u0438\u0439",vibrant:"\u044F\u0441\u043A\u0440\u0430\u0432\u0438\u0439",white:"\u0431\u0456\u043B\u0438\u0439",yellow:"\u0436\u043E\u0432\u0442\u0438\u0439","yellow green":"\u0436\u043E\u0432\u0442\u043E-\u0437\u0435\u043B\u0435\u043D\u0438\u0439"},"zh-CN":{alpha:"Alpha",black:"\u9ED1\u8272",blue:"\u84DD\u8272","blue purple":"\u84DD\u7D2B\u8272",brightness:"\u4EAE\u5EA6",brown:"\u68D5\u8272\u7684","brown yellow":"\u68D5\u9EC4\u8272",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u84DD\u7EFF\u8272","cyan blue":"\u9752\u84DD\u8272",dark:"\u6DF1\u8272",gray:"\u7070\u8272",grayish:"\u6D45\u7070\u8272\u7684",green:"\u7EFF\u8272","green cyan":"\u7EFF\u9752\u8272",hue:"\u8272\u76F8",light:"\u6D45\u8272",lightness:"\u660E\u4EAE\u5EA6",magenta:"\u7D2B\u7EA2\u8272","magenta pink":"\u7D2B\u7C89\u8272",orange:"\u6A59\u8272","orange yellow":"\u6A59\u9EC4\u8272",pale:"\u82CD\u767D\u7684",pink:"\u7C89\u8272","pink red":"\u7C89\u7EA2\u8272",purple:"\u7D2B\u8272","purple magenta":"\u7D2B\u6D0B\u7EA2\u8272",red:"\u7EA2\u8272","red orange":"\u7EA2\u6A59\u8272",saturation:"\u9971\u548C\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6D45",vibrant:"\u751F\u673A\u52C3\u52C3",white:"\u767D\u8272",yellow:"\u9EC4\u8272","yellow green":"\u9EC4\u8272/\u7EFF\u8272"},"zh-TW":{alpha:"Alpha",black:"\u9ED1",blue:"\u85CD\u8272","blue purple":"\u85CD\u7D2B",brightness:"\u4EAE\u5EA6",brown:"\u68D5","brown yellow":"\u68D5\u9EC3",colorName:e=>`${e.lightness} ${e.chroma} ${e.hue}`,cyan:"\u9752","cyan blue":"\u9752\u85CD",dark:"\u6697",gray:"\u7070",grayish:"\u504F\u7070",green:"\u7DA0\u8272","green cyan":"\u9752\u7DA0",hue:"\u8272\u76F8",light:"\u6DFA",lightness:"\u660E\u4EAE",magenta:"\u6D0B\u7D05","magenta pink":"\u6DFA\u6D0B\u7D05",orange:"\u6A59","orange yellow":"\u6A59\u9EC3",pale:"\u6DE1",pink:"\u7C89\u7D05","pink red":"\u7C89\u7D05",purple:"\u7D2B","purple magenta":"\u7D2B\u6D0B\u7D05",red:"\u7D05\u8272","red orange":"\u6A59\u7D05",saturation:"\u98FD\u548C\u5EA6",transparentColorName:e=>`${e.lightness} ${e.chroma} ${e.hue}, ${e.percentTransparent} \u900F\u660E`,"very dark":"\u5F88\u6697","very light":"\u5F88\u6DFA",vibrant:"\u9BAE\u8C54",white:"\u767D",yellow:"\u9EC3","yellow green":"\u9EC3\u7DA0"}};var X=new a(ne);function d(e){let l=M.parse(e)||O.parse(e)||I.parse(e);if(l)return l;throw new Error("Invalid color value: "+e)}function x(e){return typeof e=="string"?d(e):e}function se(e){return e===360?e:(e%360+360)%360}var le=.68,ve=.85,te=.55,oe=.001,_=[[0,"pink"],[15,"red"],[48,"orange"],[94,"yellow"],[135,"green"],[175,"cyan"],[264,"blue"],[284,"purple"],[320,"magenta"],[349,"pink"]],A=class{toHexInt(){return this.toFormat("rgb").toHexInt()}getChannelValue(l){if(l in this)return this[l];throw new Error("Unsupported color channel: "+l)}withChannelValue(l,a){if(l in this){let r=this.clone();return r[l]=a,r}throw new Error("Unsupported color channel: "+l)}getChannelName(l,a$1){return (a.getGlobalDictionaryForPackage("@react-stately/color")||X).getStringForLocale(l,a$1)}getColorSpaceAxes(l){let{xChannel:a,yChannel:r}=l,n=a||this.getColorChannels().find(i=>i!==r),o=r||this.getColorChannels().find(i=>i!==n),t=this.getColorChannels().find(i=>i!==n&&i!==o);return {xChannel:n,yChannel:o,zChannel:t}}getColorName(l){let[a$1,r,n]=ie(this),o=a.getGlobalDictionaryForPackage("@react-stately/color")||X;if(a$1>.999)return o.getStringForLocale("white",l);if(a$1<.001)return o.getStringForLocale("black",l);let t;[t,a$1]=this.getOklchHue(a$1,r,n,l);let i="",s="";r<=.1&&r>=oe?a$1>=.7?s="pale":s="grayish":r>=.15&&(s="vibrant"),a$1<.3?i="very dark":a$1<te?i="dark":a$1<.7||(a$1<.85?i="light":i="very light"),s&&(s=o.getStringForLocale(s,l)),i&&(i=o.getStringForLocale(i,l));let h=this.getChannelValue("alpha"),u=new b(l,o);if(h<1){let c=new a$2(l,{style:"percent"}).format(1-h);return u.format("transparentColorName",{lightness:i,chroma:s,hue:t,percentTransparent:c}).replace(/\s+/g," ").trim()}else return u.format("colorName",{lightness:i,chroma:s,hue:t}).replace(/\s+/g," ").trim()}getOklchHue(l,a$1,r,n){let o=a.getGlobalDictionaryForPackage("@react-stately/color")||X;if(a$1<oe)return [o.getStringForLocale("gray",n),l];for(let t=0;t<_.length;t++){let[i,s]=_[t],[h,u]=_[t+1]||[360,"pink"];if(r>=i&&r<h)return s==="orange"&&(l<le?s="brown":l=l-le+te),r>i+(h-i)/2&&s!==u?s=`${s} ${u}`:s==="yellow"&&l<ve&&(s="yellow green"),[o.getStringForLocale(s,n).toLocaleLowerCase(n),l]}throw new Error("Unexpected hue")}getHueName(l){let[a,r,n]=ie(this),[o]=this.getOklchHue(a,r,n,l);return o}},M=class e extends A{constructor(a,r,n,o){super();this.red=a;this.green=r;this.blue=n;this.alpha=o;}red;green;blue;alpha;static parse(a){let r=[];if(/^#[\da-f]+$/i.test(a)&&[4,5,7,9].includes(a.length)){let o=(a.length<6?a.replace(/[^#]/gi,"$&$&"):a).slice(1).split("");for(;o.length>0;)r.push(parseInt(o.splice(0,2).join(""),16));r[3]=r[3]!==void 0?r[3]/255:void 0;}let n=a.match(/^rgba?\((.*)\)$/);if(n?.[1]&&(r=n[1].split(",").map(o=>Number(o.trim())),r=r.map((o,t)=>a$1(o??0,0,t<3?255:1))),!(r[0]===void 0||r[1]===void 0||r[2]===void 0))return r.length<3?void 0:new e(r[0],r[1],r[2],r[3]??1)}toString(a="css"){switch(a){case "hex":return "#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case "hexa":return "#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case "rgb":return `rgb(${this.red}, ${this.green}, ${this.blue})`;case "css":case "rgba":return `rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;default:return this.toFormat(a).toString(a)}}toFormat(a){switch(a){case "hex":case "hexa":case "rgb":case "rgba":return this;case "hsb":case "hsba":return this.toHSB();case "hsl":case "hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+a)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){let a=this.red/255,r=this.green/255,n=this.blue/255,o=Math.min(a,r,n),t=Math.max(a,r,n),i=t-o,s=t===0?0:i/t,h=0;if(i!==0){switch(t){case a:h=(r-n)/i+(r<n?6:0);break;case r:h=(n-a)/i+2;break;case n:h=(a-r)/i+4;break}h/=6;}return new O(c(h*360,2),c(s*100,2),c(t*100,2),this.alpha)}toHSL(){let a=this.red/255,r=this.green/255,n=this.blue/255,o=Math.min(a,r,n),t=Math.max(a,r,n),i=(t+o)/2,s=t-o,h,u;if(s===0)h=u=0;else {switch(u=s/(i<.5?t+o:2-t-o),t){case a:h=(r-n)/s+(r<n?6:0);break;case r:h=(n-a)/s+2;break;case n:default:h=(a-r)/s+4;break}h/=6;}return new I(c(h*360,2),c(u*100,2),c(i*100,2),this.alpha)}clone(){return new e(this.red,this.green,this.blue,this.alpha)}getChannelRange(a){switch(a){case "red":case "green":case "blue":return {minValue:0,maxValue:255,step:1,pageSize:17};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+a)}}getChannelFormatOptions(a){switch(a){case "red":case "green":case "blue":return {style:"decimal"};case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+a)}}formatChannelValue(a,r){let n=this.getChannelFormatOptions(a),o=this.getChannelValue(a);return new a$2(r,n).format(o)}getColorSpace(){return "rgb"}static colorChannels=["red","green","blue"];getColorChannels(){return e.colorChannels}},ke=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,O=class e extends A{constructor(a,r,n,o){super();this.hue=a;this.saturation=r;this.brightness=n;this.alpha=o;}hue;saturation;brightness;alpha;static parse(a){let r;if(r=a.match(ke)){let[n,o,t,i]=(r[1]??r[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new e(se(n),a$1(o,0,100),a$1(t,0,100),a$1(i??1,0,1))}}toString(a="css"){switch(a){case "css":return this.toHSL().toString("css");case "hex":return this.toRGB().toString("hex");case "hexa":return this.toRGB().toString("hexa");case "hsb":return `hsb(${this.hue}, ${c(this.saturation,2)}%, ${c(this.brightness,2)}%)`;case "hsba":return `hsba(${this.hue}, ${c(this.saturation,2)}%, ${c(this.brightness,2)}%, ${this.alpha})`;default:return this.toFormat(a).toString(a)}}toFormat(a){switch(a){case "hsb":case "hsba":return this;case "hsl":case "hsla":return this.toHSL();case "rgb":case "rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+a)}}toHSL(){let a=this.saturation/100,r=this.brightness/100,n=r*(1-a/2);return a=n===0||n===1?0:(r-n)/Math.min(n,1-n),new I(c(this.hue,2),c(a*100,2),c(n*100,2),this.alpha)}toRGB(){let a=this.hue,r=this.saturation/100,n=this.brightness/100,o=(t,i=(t+a/60)%6)=>n-r*n*Math.max(Math.min(i,4-i,1),0);return new M(Math.round(o(5)*255),Math.round(o(3)*255),Math.round(o(1)*255),this.alpha)}clone(){return new e(this.hue,this.saturation,this.brightness,this.alpha)}getChannelRange(a){switch(a){case "hue":return {minValue:0,maxValue:360,step:1,pageSize:15};case "saturation":case "brightness":return {minValue:0,maxValue:100,step:1,pageSize:10};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+a)}}getChannelFormatOptions(a){switch(a){case "hue":return {style:"unit",unit:"degree",unitDisplay:"narrow"};case "saturation":case "brightness":case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+a)}}formatChannelValue(a,r){let n=this.getChannelFormatOptions(a),o=this.getChannelValue(a);return (a==="saturation"||a==="brightness")&&(o/=100),new a$2(r,n).format(o)}getColorSpace(){return "hsb"}static colorChannels=["hue","saturation","brightness"];getColorChannels(){return e.colorChannels}},$e=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,I=class e extends A{constructor(a,r,n,o){super();this.hue=a;this.saturation=r;this.lightness=n;this.alpha=o;}hue;saturation;lightness;alpha;static parse(a){let r;if(r=a.match($e)){let[n,o,t,i]=(r[1]??r[2]).split(",").map(s=>Number(s.trim().replace("%","")));return new e(se(n),a$1(o,0,100),a$1(t,0,100),a$1(i??1,0,1))}}toString(a="css"){switch(a){case "hex":return this.toRGB().toString("hex");case "hexa":return this.toRGB().toString("hexa");case "hsl":return `hsl(${this.hue}, ${c(this.saturation,2)}%, ${c(this.lightness,2)}%)`;case "css":case "hsla":return `hsla(${this.hue}, ${c(this.saturation,2)}%, ${c(this.lightness,2)}%, ${this.alpha})`;default:return this.toFormat(a).toString(a)}}toFormat(a){switch(a){case "hsl":case "hsla":return this;case "hsb":case "hsba":return this.toHSB();case "rgb":case "rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+a)}}toHSB(){let a=this.saturation/100,r=this.lightness/100,n=r+a*Math.min(r,1-r);return a=n===0?0:2*(1-r/n),new O(c(this.hue,2),c(a*100,2),c(n*100,2),this.alpha)}toRGB(){let a=this.hue,r=this.saturation/100,n=this.lightness/100,o=r*Math.min(n,1-n),t=(i,s=(i+a/30)%12)=>n-o*Math.max(Math.min(s-3,9-s,1),-1);return new M(Math.round(t(0)*255),Math.round(t(8)*255),Math.round(t(4)*255),this.alpha)}clone(){return new e(this.hue,this.saturation,this.lightness,this.alpha)}getChannelRange(a){switch(a){case "hue":return {minValue:0,maxValue:360,step:1,pageSize:15};case "saturation":case "lightness":return {minValue:0,maxValue:100,step:1,pageSize:10};case "alpha":return {minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+a)}}getChannelFormatOptions(a){switch(a){case "hue":return {style:"unit",unit:"degree",unitDisplay:"narrow"};case "saturation":case "lightness":case "alpha":return {style:"percent"};default:throw new Error("Unknown color channel: "+a)}}formatChannelValue(a,r){let n=this.getChannelFormatOptions(a),o=this.getChannelValue(a);return (a==="saturation"||a==="lightness")&&(o/=100),new a$2(r,n).format(o)}getColorSpace(){return "hsl"}static colorChannels=["hue","saturation","lightness"];getColorChannels(){return e.colorChannels}};function ie(e){let l=e.toFormat("rgb"),a=l.getChannelValue("red")/255,r=l.getChannelValue("green")/255,n=l.getChannelValue("blue")/255;[a,r,n]=Se(a,r,n);let[o,t,i]=xe(a,r,n),[s,h,u]=Ve(o,t,i);return fe(s,h,u)}function fe(e,l,a){var r=Math.atan2(a,l)*180/Math.PI;return [e,Math.sqrt(l**2+a**2),r>=0?r:r+360]}function Se(e,l,a){return [Y(e),Y(l),Y(a)]}function Y(e){let l=e<0?-1:1,a=Math.abs(e);return a<=.04045?e/12.92:l*Math.pow((a+.055)/1.055,2.4)}function xe(e,l,a){return K([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462599,.9505321522496606],e,l,a)}function Ve(e,l,a){let r=[.819022437996703,.3619062600528904,-0.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],n=[.210454268309314,.7936177747023054,-0.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-0.8086757549230774],[o,t,i]=K(r,e,l,a);return K(n,Math.cbrt(o),Math.cbrt(t),Math.cbrt(i))}function K(e,l,a,r){let n=e[0]*l+e[1]*a+e[2]*r,o=e[3]*l+e[4]*a+e[5]*r,t=e[6]*l+e[7]*a+e[8]*r;return [n,o,t]}var Ne=d("#ffffff");function ge(e){let{value:l,defaultValue:a,colorSpace:r,xChannel:n,yChannel:o,onChange:t,onChangeEnd:i}=e;!l&&!a&&(a=Ne),l&&(l=x(l)),a&&(a=x(a));let[s,h]=a$3(l,a,t),[u]=useState(s),c=useMemo(()=>r&&s?s.toFormat(r):s,[s,r]),b=useRef(c),f=g=>{b.current=g,h(g);},C=useMemo(()=>c.getColorSpaceAxes({xChannel:n,yChannel:o}),[c,n,o]),k=c.getChannelRange(C.xChannel),P=c.getChannelRange(C.yChannel),{minValue:v,maxValue:y,step:R,pageSize:q}=k,{minValue:S,maxValue:p,step:H,pageSize:de}=P,[Ce,we]=useState(false),Q=useRef(false),V=c.getChannelValue(C.xChannel),z=c.getChannelValue(C.yChannel),D=g=>{if(g===V)return;let $=c.withChannelValue(C.xChannel,g);f($);},U=g=>{if(g===z)return;let $=c.withChannelValue(C.yChannel,g);f($);};return {channels:C,xChannelStep:R,yChannelStep:H,xChannelPageStep:q,yChannelPageStep:de,value:c,defaultValue:l!==void 0?u:a,setValue(g){f(x(g));},xValue:V,setXValue:D,yValue:z,setYValue:U,setColorFromPoint(g,$){let E=v+a$1(g,0,1)*(y-v),B=S+(1-a$1($,0,1))*(p-S),T;E!==V&&(E=b$1(E,v,y,R),T=c.withChannelValue(C.xChannel,E)),B!==z&&(B=b$1(B,S,p,H),T=(T||c).withChannelValue(C.yChannel,B)),T&&f(T);},getThumbPosition(){let g=(V-v)/(y-v),$=1-(z-S)/(p-S);return {x:g,y:$}},incrementX(g=1){D(V+g>y?y:b$1(V+g,v,y,R));},incrementY(g=1){U(z+g>p?p:b$1(z+g,S,p,H));},decrementX(g=1){D(b$1(V-g,v,y,R));},decrementY(g=1){U(b$1(z-g,S,p,H));},setDragging(g){let $=Q.current;Q.current=g,i&&!g&&$&&i(b.current),we(g);},isDragging:Ce,getDisplayColor(){return c.withChannelValue("alpha",1)}}}function ce(e){let{channel:l,colorSpace:a,value:r,defaultValue:n,onChange:o,locale:t,...i}=e;if(r==null&&n==null)throw new Error("useColorSliderState requires a value or defaultValue");r&&(r=x(r)),n&&(n=x(n));let[s,h]=a$3(r,n,o),u=useMemo(()=>a&&s?s.toFormat(a):s,[s,a]),[c]=useState(s),b=n??c,f=useMemo(()=>a&&b?b.toFormat(a):b,[b,a]),C=useMemo(()=>new Intl.NumberFormat,[]),k=a$4({...u.getChannelRange(l),...i,numberFormatter:C,value:u.getChannelValue(l),defaultValue:f.getChannelValue(l),onChange(y){h(u.withChannelValue(l,y));},onChangeEnd(y){e.onChangeEnd&&e.onChangeEnd(u.withChannelValue(l,y));}}),{step:P,pageSize:v}=u.getChannelRange(l);return {...k,value:u,setValue(y){h(x(y));},getDisplayColor(){switch(l){case "hue":return d(`hsl(${u.getChannelValue("hue")}, 100%, 50%)`);case "lightness":case "brightness":case "saturation":case "red":case "green":case "blue":return u.withChannelValue("alpha",1);case "alpha":return u;default:throw new Error("Unknown color channel: "+l)}},getThumbValueLabel(){return u.formatChannelValue(l,t)},getFormattedValue(){return u.formatChannelValue(l,t)},step:P,pageSize:v,isDragging:k.isThumbDragging(0)}}function J(e){return useMemo(()=>{if(typeof e=="string")try{return d(e)}catch{return}return e},[e])}var G=d("#000000"),be=d("#FFFFFF"),je=G.toHexInt(),Le=be.toHexInt();function ye(e){let{value:l,defaultValue:a,onChange:r}=e,{step:n}=G.getChannelRange("red"),o=J(a),[t,i]=a$3(J(l),o,r),[s]=useState(t),[h,u]=useState(()=>(l||a)&&t?t.toString("hex"):""),c=d$1({...e,value:t}),b=p=>{if(!t||!p){i(p);return}if(p.toHexInt()!==t.toHexInt()){i(p);return}},[f,C]=useState(t);f!==t&&(u(t?t.toString("hex"):""),C(t));let k=useMemo(()=>{let p;try{p=d(h.startsWith("#")?h:`#${h}`);}catch{p=null;}return p},[h]);return {...c,validate:p=>p===""||!!p.match(/^#?[0-9a-f]{0,6}$/i)?.[0],colorValue:t,defaultColorValue:o??s,setColorValue:i,inputValue:h,setInputValue:u,commit:()=>{if(!h.length){b(null),u(l===void 0||t===null?"":t.toString("hex"));return}if(k==null){u(t?t.toString("hex"):"");return}b(k);let p="";t&&(p=t.toString("hex")),u(p),c.commitValidation();},increment:()=>{let p=me(k,n);p===t&&u(p.toString("hex")),b(p),c.commitValidation();},incrementToMax:()=>b(be),decrement:()=>{let p=me(k,-n);p===t&&u(p.toString("hex")),b(p),c.commitValidation();},decrementToMin:()=>b(G)}}function me(e,l){let a=e||G,r=a.toHexInt(),n=Math.min(Math.max(r+l,je),Le);if(n!==r){let o=`#${n.toString(16).padStart(6,"0").toUpperCase()}`;a=d(o);}return a}export{d as a,ge as b,ce as c,ye as d};
@@ -0,0 +1,10 @@
1
+ import {a as a$1}from'./chunk-SAZLJ66W.mjs';import {a as a$4}from'./chunk-M5M3EPG5.mjs';import {d as d$1}from'./chunk-W6QO7FPZ.mjs';import {a}from'./chunk-X3AXUU3H.mjs';import {a as a$3}from'./chunk-545KDVGI.mjs';import {d}from'./chunk-BGMVPFYK.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a as a$2}from'./chunk-KEVERVHK.mjs';import {g}from'./chunk-AUOQSTS5.mjs';import V,{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 Q(e,t){let{inputElementType:P="input",isDisabled:M=false,isRequired:a$5=false,isReadOnly:F=false,type:y="text",validationBehavior:r="aria"}=e,[i,l]=a(e.value,e.defaultValue||"",e.onChange),{focusableProps:I}=d(e,t),o=d$1({...e,value:i}),{isInvalid:n,validationErrors:s,validationDetails:L}=o.displayValidation,{labelProps:E,fieldProps:g$1,descriptionProps:H,errorMessageProps:A}=a$1({...e,isInvalid:n,errorMessage:e.errorMessage||s,ref:t}),C=a$2(e,{labelable:true}),h={type:y,pattern:e.pattern},[v]=useState(i);return a$3(t,e.defaultValue??v,l),a$4(e,o,t),{labelProps:E,inputProps:c(C,P==="input"?h:void 0,{disabled:M,readOnly:F,required:a$5&&r==="native","aria-required":a$5&&r==="aria"||void 0,"aria-invalid":n||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:i,onChange:O=>l(g(O).value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(V.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...I,...g$1}),descriptionProps:H,errorMessageProps:A,isInvalid:n,validationErrors:s,validationDetails:L}}export{Q as a};
File without changes
@@ -0,0 +1,10 @@
1
+ import {a}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 o="_12qflm1";var r=i.forwardRef(({className:t,style:n},a$1)=>jsx("div",{className:a(o,"BaselineUI-Skeleton",t),style:n,"aria-hidden":"true",ref:a$1}));r.displayName="Skeleton";export{r as a};
@@ -0,0 +1,10 @@
1
+ import {a as a$1}from'./chunk-XTH6B5FE.mjs';import {b,a,d,e}from'./chunk-AUOQSTS5.mjs';/**
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 HTMLElement<"u"&&"inert"in HTMLElement.prototype;function M(i){return i.dataset.liveAnnouncer==="true"||i.dataset.reactAriaTopLayer!==void 0}var E=new WeakMap,r=[];function k(i,s){let l=b(i?.[0]),N=s instanceof l.Element?{root:s}:s,h=N?.root??a(i?.[0]).body,T=N?.shouldUseInert&&C,d$1=new Set(i),a$2=new Set,H=e=>T&&e instanceof l.HTMLElement?e.inert:e.getAttribute("aria-hidden")==="true",L=(e,t)=>{T&&e instanceof l.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof l.HTMLElement&&(e.inert=false));},b$1=new Set;if(d())for(let e of i){let t=e;for(;t&&t!==h;){let n=t.getRootNode();"shadowRoot"in n&&b$1.add(n.shadowRoot),t=n.parentNode;}}let p=e$1=>{for(let o of e$1.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))d$1.add(o);let t=o=>{if(a$2.has(o)||d$1.has(o)||o.parentElement&&a$2.has(o.parentElement)&&o.parentElement.getAttribute("role")!=="row")return NodeFilter.FILTER_REJECT;for(let A of d$1)if(e(o,A))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},n=a$1(a(e$1),e$1,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),f=t(e$1);if(f===NodeFilter.FILTER_ACCEPT&&O(e$1),f!==NodeFilter.FILTER_REJECT){let o=n.nextNode();for(;o!=null;)O(o),o=n.nextNode();}},O=e=>{let t=E.get(e)??0;H(e)&&t===0||(t===0&&L(e,true),a$2.add(e),E.set(e,t+1));};r.length&&r[r.length-1].disconnect(),p(h);let c=new MutationObserver(e$1=>{for(let t of e$1)if(t.type==="childList"){if(t.target.isConnected&&![...d$1,...a$2].some(n=>e(n,t.target)))for(let n of t.addedNodes)(n instanceof l.HTMLElement||n instanceof l.SVGElement)&&M(n)?d$1.add(n):n instanceof l.Element&&p(n);if(d()){for(let n of b$1)if(!n.isConnected){c.disconnect();break}}}});c.observe(h,{childList:true,subtree:true});let g=new Set;if(d())for(let e$1 of b$1){let t=new MutationObserver(n=>{for(let f of n)if(f.type==="childList"){if(f.target.isConnected&&![...d$1,...a$2].some(o=>e(o,f.target)))for(let o of f.addedNodes)(o instanceof l.HTMLElement||o instanceof l.SVGElement)&&M(o)?d$1.add(o):o instanceof l.Element&&p(o);if(d()){for(let o of b$1)if(!o.isConnected){c.disconnect();break}}}});t.observe(e$1,{childList:true,subtree:true}),g.add(t);}let v={visibleNodes:d$1,hiddenNodes:a$2,observe(){c.observe(h,{childList:true,subtree:true});},disconnect(){c.disconnect();}};return r.push(v),()=>{if(c.disconnect(),d())for(let e of g)e.disconnect();for(let e of a$2){let t=E.get(e);t!=null&&(t===1?(L(e,false),E.delete(e)):E.set(e,t-1));}v===r[r.length-1]?(r.pop(),r.length&&r[r.length-1].observe()):r.splice(r.indexOf(v),1);}}function _(i){let s=r[r.length-1];if(s&&!s.visibleNodes.has(i))return s.visibleNodes.add(i),()=>{s.visibleNodes.delete(i);}}export{k as a,_ as b};
@@ -0,0 +1,10 @@
1
+ /**
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 e=["bui.alertDialog.close","bui.audioPlayer.audioTimeline","bui.audioPlayer.pause","bui.audioPlayer.play","bui.buttonSelect.more","bui.buttonSelect.moreWithLabel","bui.calendar.nextMonth","bui.calendar.nextYear","bui.calendar.previousMonth","bui.calendar.previousYear","bui.calendar.selectMonth","bui.calendar.selectYear","bui.colorInput.add","bui.colorInput.addColor","bui.colorInput.cancel","bui.colorInput.colorFormat","bui.colorInput.colorPresets","bui.colorInput.customColors","bui.colorInput.indeterminate","bui.colorInput.newColor","bui.colorInput.noColor","bui.colorInput.removeColor","bui.colorInput.transparent","bui.colorSwatch.none","bui.dateField.openCalendar","bui.drawer.close","bui.editor.action","bui.editor.addLink","bui.editor.backgroundColor","bui.editor.bold","bui.editor.cancel","bui.editor.close","bui.editor.copy","bui.editor.cut","bui.editor.editLink","bui.editor.fontColor","bui.editor.help","bui.editor.italic","bui.editor.linkAnnotation","bui.editor.mention","bui.editor.openHelpDialog","bui.editor.paste","bui.editor.redo","bui.editor.removeLink","bui.editor.save","bui.editor.selectAll","bui.editor.shortcut","bui.editor.submit","bui.editor.toolbarFocus","bui.editor.underline","bui.editor.undo","bui.fileList.loading","bui.fileList.removeHint","bui.freehandCanvas.redo","bui.freehandCanvas.undo","bui.imageDropZone.selectImage","bui.imageGallery.cancel","bui.imageGallery.delete","bui.imageGallery.loading","bui.inlineAlert.close","bui.pagination.goToPage","bui.pagination.nextPage","bui.pagination.pageXofY","bui.pagination.prevPage","bui.select.clear","bui.select.more","bui.select.search","bui.select.selectAll","bui.stepper.completed","bui.stepper.label","bui.stepper.step","bui.table.loading","bui.toolbar.more","bui.treeView.collapse","bui.treeView.expand","bui.treeView.rename","bui.useMedia.paused","bui.useMedia.playing"],i={close:["bui.alertDialog.close","bui.drawer.close","bui.editor.close","bui.inlineAlert.close"],audioTimeline:["bui.audioPlayer.audioTimeline"],pause:["bui.audioPlayer.pause"],play:["bui.audioPlayer.play"],more:["bui.buttonSelect.more","bui.select.more","bui.toolbar.more"],moreWithLabel:["bui.buttonSelect.moreWithLabel"],nextMonth:["bui.calendar.nextMonth"],nextYear:["bui.calendar.nextYear"],previousMonth:["bui.calendar.previousMonth"],previousYear:["bui.calendar.previousYear"],selectMonth:["bui.calendar.selectMonth"],selectYear:["bui.calendar.selectYear"],add:["bui.colorInput.add"],addColor:["bui.colorInput.addColor"],cancel:["bui.colorInput.cancel","bui.editor.cancel","bui.imageGallery.cancel"],colorFormat:["bui.colorInput.colorFormat"],colorPresets:["bui.colorInput.colorPresets"],customColors:["bui.colorInput.customColors"],indeterminate:["bui.colorInput.indeterminate"],newColor:["bui.colorInput.newColor"],noColor:["bui.colorInput.noColor"],removeColor:["bui.colorInput.removeColor"],transparent:["bui.colorInput.transparent"],none:["bui.colorSwatch.none"],openCalendar:["bui.dateField.openCalendar"],action:["bui.editor.action"],addLink:["bui.editor.addLink"],backgroundColor:["bui.editor.backgroundColor"],bold:["bui.editor.bold"],copy:["bui.editor.copy"],cut:["bui.editor.cut"],editLink:["bui.editor.editLink"],fontColor:["bui.editor.fontColor"],help:["bui.editor.help"],italic:["bui.editor.italic"],linkAnnotation:["bui.editor.linkAnnotation"],mention:["bui.editor.mention"],openHelpDialog:["bui.editor.openHelpDialog"],paste:["bui.editor.paste"],redo:["bui.editor.redo","bui.freehandCanvas.redo"],removeLink:["bui.editor.removeLink"],save:["bui.editor.save"],selectAll:["bui.editor.selectAll","bui.select.selectAll"],shortcut:["bui.editor.shortcut"],submit:["bui.editor.submit"],toolbarFocus:["bui.editor.toolbarFocus"],underline:["bui.editor.underline"],undo:["bui.editor.undo","bui.freehandCanvas.undo"],loading:["bui.fileList.loading","bui.imageGallery.loading","bui.table.loading"],removeHint:["bui.fileList.removeHint"],selectImage:["bui.imageDropZone.selectImage"],delete:["bui.imageGallery.delete"],goToPage:["bui.pagination.goToPage"],nextPage:["bui.pagination.nextPage"],pageXofY:["bui.pagination.pageXofY"],prevPage:["bui.pagination.prevPage"],clear:["bui.select.clear"],search:["bui.select.search"],completed:["bui.stepper.completed"],label:["bui.stepper.label"],step:["bui.stepper.step"],collapse:["bui.treeView.collapse"],expand:["bui.treeView.expand"],rename:["bui.treeView.rename"],paused:["bui.useMedia.paused"],playing:["bui.useMedia.playing"]};export{e as a,i as b};
@@ -0,0 +1,10 @@
1
+ import {a}from'./chunk-FXCHST4Z.mjs';/**
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 y=a({defaultClassName:"_6n12k9b _1yep5z6ls _1yep5z6lr _1yep5z6ic _1yep5z6la",variantClassNames:{isDropTarget:{true:"_1yep5z6140"},orientation:{vertical:"_1yep5z617q",horizontal:"_1yep5z617r"}},defaultVariants:{},compoundVariants:[]}),n="_6n12k98 _1yep5z6lq _1yep5z6is _1yep5z6it _1yep5z6iu",r=a({defaultClassName:"_6n12k99 _1yep5z6ev _1yep5z6da _1yep5z6dv",variantClassNames:{isDisabled:{true:"_1yep5z6ey"}},defaultVariants:{},compoundVariants:[]}),z=a({defaultClassName:"_6n12k91 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6dy _1yep5z6eu _1yep5z6la _1yep5z6ld _1yep5z6lq _1yep5z6lp _1yep5z6ln _1yep5z6lk",variantClassNames:{isSelected:{},isFocused:{true:"_1yep5z6140 _1yep5z617w _1yep5z617u _1yep5z617x _1yep5z614g _1yep5z614h _1yep5z614i"},isHovered:{true:"_1yep5z6125",false:"_1yep5z6124"},isFirstChild:{true:"_6n12k95"},isLastChild:{true:"_6n12k96"},isDisabled:{true:"z9nup82 _1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),o="_6n12k9f _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",l="_6n12k90";export{y as a,n as b,r as c,z as d,o as e,l as f};
File without changes
@@ -0,0 +1,10 @@
1
+ import {useMemo}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 n({placement:e,isDisabled:t}){let r=useMemo(()=>{if(t)return {x:0,y:0};switch(e){case "top":return {x:0,y:-4};case "bottom":return {x:0,y:4};case "left":return {x:-4,y:0};case "right":return {x:4,y:0};default:return {x:0,y:4}}},[e,t]);return {transitionProps:{initial:t?{opacity:1,scale:1,...r}:{opacity:0,scale:.98,...r},animate:{opacity:1,scale:1,x:0,y:0},transition:{ease:"easeOut"}}}}export{n as a};
@@ -0,0 +1,10 @@
1
+ import {c,a,d as d$1,e}from'./chunk-KG5PDPBK.mjs';import {a as a$6}from'./chunk-J5YWAPLN.mjs';import {a as a$2}from'./chunk-2JANDORZ.mjs';import {a as a$5}from'./chunk-MEYMETYC.mjs';import {b as b$2}from'./chunk-J7EAQSKX.mjs';import {b as b$1,c as c$1}from'./chunk-X3OCHEQM.mjs';import {a as a$3}from'./chunk-O7XK2WIX.mjs';import {a as a$4}from'./chunk-GCZFXILF.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-4ZJMZB5B.mjs';import {b as b$4,j}from'./chunk-4NYPVKDO.mjs';import {a as a$1}from'./chunk-K6X2BHPP.mjs';import {a as a$7}from'./chunk-4QEH5CGK.mjs';import {CalendarIcon}from'@baseline-ui/icons/16';import {createCalendar}from'@internationalized/date';import d from'react';import {jsxs,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 O=d.forwardRef(({className:B,labelPosition:p,"data-block-id":T,"data-block-class":k,pickerType:i="none",openCalendarLabel:H,...e$1},L)=>{let{locale:N}=b(),{formatMessage:w}=b$1(),m={...e$1,validationState:void 0,isInvalid:e$1.validationState==="error"||void 0},o=c({...m,locale:N,createCalendar:createCalendar}),l=d.useRef(null),{labelProps:A,fieldProps:E,validationErrors:z,descriptionProps:j$1,inputProps:G,errorMessageProps:U,isInvalid:Y}=a(m,o,l),_=e$1.errorMessage||z.join(" "),q=b$2({...e$1,errorMessage:_,descriptionProps:j$1,errorMessageProps:U,labelPosition:p}),{focusProps:J,isFocused:K}=a$1({within:true}),Q=o.value,W=e$1.isDisabled||e$1.isReadOnly,[X,Z]=d.useState(false),$=e$1["aria-label"]??(typeof e$1.label=="string"?e$1.label:void 0),ee=t=>{let r=o.value;r!=null&&"hour"in r?o.setValue(r.set({year:t.year,month:t.month,day:t.day})):o.setValue(t);};return jsxs(a$2,{className:a$7("BaselineUI-DateField",B),labelProps:A,fieldProps:E,ref:L,wrapperRef:l,wrapperClassName:d$1,labelPosition:p,message:q,isFocused:K||X,"data-block-id":T,"data-block-class":k,isInvalid:Y,...e$1,children:[jsx(b$3,{children:jsx("input",{...G})}),jsx(a$3,{display:"flex",flexDirection:"row",paddingRight:i==="none"?"md":void 0,style:{flex:1},...J,children:o.segments.map((t,r)=>jsx(e,{segment:t,state:o},r))}),i==="presentation"?jsx(a$3,{color:"text.secondary",display:"flex",alignItems:"center",paddingRight:"md",children:jsx(CalendarIcon,{size:16})}):null,i==="calendar"?jsxs(b$4,{type:"dialog",onOpenChange:Z,children:[jsx(j,{children:({triggerProps:t,triggerRef:r})=>jsx(a$4,{...t,ref:r,icon:CalendarIcon,variant:"primary",size:"sm",isDisabled:W,"aria-label":H??w(te.openCalendar)})}),jsx(a$5,{placement:"bottom end",offset:2,triggerRef:l,children:jsx(a$6,{value:Q,onChange:ee,minValue:e$1.minValue,maxValue:e$1.maxValue,isDisabled:e$1.isDisabled,isReadOnly:e$1.isReadOnly,headerVariant:"selectMonthAndYear","aria-label":$})})]}):null]})});O.displayName="DateField";var te=c$1({openCalendar:{defaultMessage:"Open calendar",id:"bui.dateField.openCalendar"}});export{O as a};
@@ -0,0 +1,10 @@
1
+ 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 l(o,r){let[a,c]=useState(()=>{try{let t=window.localStorage.getItem(o);return t?JSON.parse(t):r}catch(t){return console.log(t),r}});return [a,t=>{try{let e=typeof t=="function"?t(a):t;c(e),window.localStorage.setItem(o,JSON.stringify(e));}catch(e){console.log(e);}}]}export{l as a};
@@ -0,0 +1,10 @@
1
+ /**
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 c(r,e){if(typeof r!="object"||!r)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var t=a.call(r,e);if(typeof t!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return (e==="string"?String:Number)(r)}function O(r){var e=c(r,"string");return typeof e=="symbol"?e:String(e)}function d(r,e,a){return e=O(e),e in r?Object.defineProperty(r,e,{value:a,enumerable:true,configurable:true,writable:true}):r[e]=a,r}function l(r,e){var a=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter(function(n){return Object.getOwnPropertyDescriptor(r,n).enumerable})),a.push.apply(a,t);}return a}function p(r){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?l(Object(a),true).forEach(function(t){d(r,t,a[t]);}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(a,t));});}return r}function v(r,e){var a={};for(var t in r)a[t]=e(r[t],t);return a}var y=(r,e,a)=>{for(var t of Object.keys(r)){var n;if(r[t]!==((n=e[t])!==null&&n!==void 0?n:a[t]))return false}return true},j=r=>{var e=a=>{var t=r.defaultClassName,n=p(p({},r.defaultVariants),a);for(var i in n){var s,o=(s=n[i])!==null&&s!==void 0?s:r.defaultVariants[i];if(o!=null){var u=o;typeof u=="boolean"&&(u=u===true?"true":"false");var f=r.variantClassNames[i][u];f&&(t+=" "+f);}}for(var[m,b]of r.compoundVariants)y(m,n,r.defaultVariants)&&(t+=" "+b);return t};return e.variants=()=>Object.keys(r.variantClassNames),e.classNames={get base(){return r.defaultClassName.split(" ")[0]},get variants(){return v(r.variantClassNames,a=>v(a,t=>t.split(" ")[0]))}},e};export{j as a};
@@ -0,0 +1,10 @@
1
+ import {a as a$2}from'./chunk-MEZNZ5W6.mjs';import {a as a$4,b as b$2}from'./chunk-4N6CLPAY.mjs';import {a as a$1,b}from'./chunk-PBFIKNYZ.mjs';import {d}from'./chunk-RCBUNCHV.mjs';import {e}from'./chunk-B7PSE5KC.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {b as b$1,c}from'./chunk-TZ4MVY4E.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import S,{useEffect}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
+ * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
+ *
4
+ * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
5
+ * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
6
+ * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
7
+ * This notice may not be removed from this file.
8
+ *
9
+ */
10
+ var G={xxs:8,xs:12,sm:16,md:20,lg:24},_=S.forwardRef((o,a$3)=>{let t=a(a$3),{tooltipProps:n}=a$1(o,t);return n?jsx(a$2,{...n,children:jsx(u,{...o,ref:t})}):jsx(u,{...o,ref:t})});_.displayName="ActionIconButton";var u=S.forwardRef((o,a)=>{let[t,n]=e(o,a,d),{className:i,style:s,icon:V,size:m="md",variant:p="primary",UNSAFE_isVisuallyInteractiveOnly:r,elementType:f=r?"div":"button",isExcludedFromRovingFocus:b$3,isDisabled:l,"data-block-id":g,"data-block-class":w,"aria-label":c$1,"aria-labelledby":d$1,slot:Z,...I}=t;useEffect(()=>{!c$1&&!d$1&&!r&&console.warn("An `ActionIconButton` requires an aria-label or aria-labelledby prop.");},[c$1,d$1,r]);let{buttonProps:U,isPressed:h,ref:z,isFocusVisible:y,isFocused:D,isHovered:B,uiStateOptions:A}=b({...I,"aria-label":c$1,"aria-labelledby":d$1,isDisabled:l,excludeFromTabOrder:I.excludeFromTabOrder??b$3,elementType:f}),H=a$3({"data-block-id":g,"data-block-class":w,"data-focused":D,"data-focus-visible":y,"data-disabled":l,"data-hovered":B,"data-pressed":h,"data-bui-avoid-focus":b$3});return jsxs(f,{...c(U,H),className:a$5(b$2({variant:p,size:m,isDisabled:!!l,isFocusVisible:y,isHovered:B}),"BaselineUI-ActionIconButton",typeof i=="function"?i(A):i),ref:b$1(n,z),style:typeof s=="function"?s(A):s,...r&&{tabIndex:void 0,role:void 0,"aria-label":void 0,"aria-labelledby":void 0,"aria-disabled":void 0},children:[jsx(V,{role:"presentation",size:G[m]}),p==="popover"&&jsx(CaretDownIcon,{size:8,className:a$4})]})});u.displayName="ActionIconButtonCore";export{_ as a};
@@ -0,0 +1,10 @@
1
+ import {c}from'./chunk-AUOQSTS5.mjs';/**
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 r(o){return o?c(o.getRootNode()):false}export{r as a};
@@ -0,0 +1,10 @@
1
+ import {a}from'./chunk-N2XGJKZG.mjs';import i,{useRef,useState,useEffect}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 f=process.env.NODE_ENV!=="production",c="BUI \u{1F30D}:",w=e=>{e.error===void 0?console.warn(`${c} ${e.message}`):console.warn(`${c} ${e.message}`,e.error);};function v(e,t){return (o,s)=>{if(e.has(o))return;e.add(o);let r=t?.();if(!r){w(s());return}try{r(s());}catch(n){console.error(`${c} \`onMessageIssue\` threw; the issue it was given was dropped.`,n);}}}var y=new Set,S=i.createContext({messages:{},reportMessageIssue:f?v(y):void 0,setLang:()=>{}}),L=({children:e,messages:t={},shouldLogMissingMessages:o=f,onMessageIssue:s,...r})=>{let n=useRef(new Set),u=useRef(false),[M,d]=useState(r.locale||"");useEffect(()=>{u.current?n.current.clear():u.current=true;},[M,r.locale]);let g=useRef(s);g.current=s;let P=i.useMemo(()=>v(n.current,()=>g.current),[]),p=s||o?P:void 0,m=i.useMemo(()=>({messages:t,reportMessageIssue:p,setLang:d}),[t,p,d]);return jsx(a,{...r,children:jsx(S.Provider,{value:m,children:e})})};L.displayName="I18nProvider";export{f as a,v as b,S as c,L as d};
@@ -0,0 +1,10 @@
1
+ import {a as a$1}from'./chunk-EU75HMPG.mjs';import {a}from'./chunk-66CUIXA6.mjs';/**
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 s(n){if(n===void 0)return null;try{return a$1(n)}catch{return null}}function u(n){return n.toString(16).padStart(2,"0")}function b(n,r){a(r>=0&&r<=100,"Percent must be between 0 and 100");let t=a$1(n),o=t.getChannelValue("red"),l=t.getChannelValue("green"),a$2=t.getChannelValue("blue"),g=Math.round(o+(255-o)*r/100),d=Math.round(l+(255-l)*r/100),f=Math.round(a$2+(255-a$2)*r/100);return `#${u(g)}${u(d)}${u(f)}`}function h(n,r){if(n===r)return true;let t=s(n),o=s(r);return t===null||o===null?false:t.toString("rgba")===o.toString("rgba")}export{b as a,h as b};
File without changes
@@ -0,0 +1,10 @@
1
+ /**
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 p=10,y=5,h=class{delegate=null;state=null;direction="ltr";pointerTracking={lastY:0,lastX:0,yDirection:null,xDirection:null,boundaryContext:null};setup(r,a,n){this.delegate=r,this.state=a,this.direction=n;}getDropTargetFromPoint(r,a,n){let i=this.delegate.getDropTargetFromPoint(r,a,n);return !i||i.type==="root"?i:this.resolveDropTarget(i,r,a,n)}resolveDropTarget(r,a,n,i){let t=this.pointerTracking,u=n-t.lastY,o=a-t.lastX,f=t.yDirection,l=t.xDirection;if(Math.abs(u)>y&&(f=u>0?"down":"up",t.yDirection=f,t.lastY=n),Math.abs(o)>p&&(l=o>0?"right":"left",t.xDirection=l,t.lastX=a),r.dropPosition==="before"){let g=this.state.collection.getKeyBefore(r.key);for(;g!=null;){let c=this.state.collection.getItem(g);if(c?.type==="item")break;g=c?.parentKey??null;}if(g!=null){let c={type:"item",key:g,dropPosition:"after"};i(c)&&(r=c);}}let e=this.getPotentialTargets(r,i);if(e.length===0)return {type:"root"};let d;return e.length>1?d=this.selectTarget(e,r,a,n,f,l):(d=e[0],t.boundaryContext=null),d}getPotentialTargets(r,a){if(r.dropPosition==="on")return [r];let n=r,i=this.state.collection,t=i.getItem(n.key);for(;t&&t?.type!=="item"&&t.nextKey!=null;)n.key=t.nextKey,t=i.getItem(t.nextKey);let u=[n];if(t&&t.hasChildNodes&&this.state.expandedKeys.has(t.key)&&i.getChildren&&n.dropPosition==="after"){let l=t.firstChildKey!=null?i.getItem(t.firstChildKey):null;for(;l&&l.type!=="item";)l=l.nextKey!=null?i.getItem(l.nextKey):null;if(l?.type==="item"){let e={type:"item",key:l.key,dropPosition:"before"};return a(e)?[e]:[]}}if(t?.nextKey!=null)return [r];let o=t?.parentKey,f=[];for(;o!=null;){let l=i.getItem(o),e=l?.nextKey!=null?i.getItem(l.nextKey):null;if(!e||e.parentKey!==o){let g={type:"item",key:o,dropPosition:"after"};if(a(g)&&f.push(g),e)break}o=l?.parentKey;}if(f.length>0&&u.push(...f),u.length===1){let l=i.getKeyAfter(n.key),e=l!=null?i.getItem(l):null;if(l!=null&&e&&t&&e.level!=null&&t.level!=null&&e.level>t.level){let d={type:"item",key:l,dropPosition:"before"};if(a(d))return [d]}}return u.filter(a)}selectTarget(r,a,n,i,t,u){if(r.length<2)return r[0];let o=this.pointerTracking,l=this.state.collection.getItem(a.key)?.parentKey;if(l==null)return r[0];if(!o.boundaryContext||o.boundaryContext.parentKey!==l){let s=o.yDirection==="up"?r.length-1:0;o.boundaryContext={parentKey:l,preferredTargetIndex:s,lastSwitchY:i,lastSwitchX:n};}let e=o.boundaryContext,d=Math.abs(n-e.lastSwitchX);if(Math.abs(i-e.lastSwitchY)>y&&t){let s=e.preferredTargetIndex||0;t==="down"&&s===0?e.preferredTargetIndex=r.length-1:t==="up"&&s===r.length-1&&(e.preferredTargetIndex=0),o.xDirection=null;}if(d>p&&u){let s=e.preferredTargetIndex||0;u==="left"?this.direction==="ltr"?s<r.length-1&&(e.preferredTargetIndex=s+1,e.lastSwitchX=n):s>0&&(e.preferredTargetIndex=s-1,e.lastSwitchX=n):u==="right"&&(this.direction==="ltr"?s>0&&(e.preferredTargetIndex=s-1,e.lastSwitchX=n):s<r.length-1&&(e.preferredTargetIndex=s+1,e.lastSwitchX=n)),o.yDirection=null;}let c=Math.max(0,Math.min(e.preferredTargetIndex||0,r.length-1));return r[c]}};export{h as a};
@@ -0,0 +1,10 @@
1
+ import {a as a$2}from'./chunk-4SW77SGW.mjs';import {a as a$7}from'./chunk-RJWPSJX2.mjs';import {a as a$3}from'./chunk-S3V4OOC3.mjs';import {a as a$1}from'./chunk-2WAKHFPS.mjs';import {a as a$8}from'./chunk-NSC53QWT.mjs';import {b,c as c$1}from'./chunk-X3OCHEQM.mjs';import {b as b$1}from'./chunk-J3MJZQUJ.mjs';import {a as a$4}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-GCZFXILF.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {XIcon}from'@baseline-ui/icons/20';import Y from'react';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 y="_1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1yep5z6kd _1yep5z6ke _1yep5z6kf",C=a({defaultClassName:"_1v0p2z10 _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6 _1yep5z69f _1yep5z69g _1yep5z69h",variantClassNames:{hasTitleAndIcon:{true:"_1yep5z6m6 _1yep5z6m7 _1yep5z6m8 _1yep5z6oo _1yep5z6op _1yep5z6oq"},hasNoCloseBtn:{true:"_1yep5z6mc _1yep5z6md _1yep5z6me _1yep5z6oo _1yep5z6op _1yep5z6oq _1yep5z6pu _1yep5z6pv _1yep5z6pw _1yep5z6ni _1yep5z6nj _1yep5z6nk"}},defaultVariants:{},compoundVariants:[[{hasTitleAndIcon:true,hasNoCloseBtn:true},"_1yep5z61hr _1yep5z61hs _1yep5z61ht"]]}),I="_1v0p2z10";var T=Y.forwardRef(({className:P,style:H,"data-block-id":j,"data-block-class":F,message:p,title:l,primaryActionLabel:s,primaryActionClassName:M,cancelLabel:i,cancelClassName:w,contentClassName:R,closeButtonClassName:X,closeLabel:q,buttonsClassName:V,textInputProps:d,icon:o,iconColor:E,showCloseButton:z=true,onPrimaryAction:S,onCancel:_,onClose:U,autoFocusButton:c$1,isPrimaryActionDisabled:G,...J},K)=>{let f=c(),g=c(),{formatMessage:O}=b(),u=l&&jsx(a$1,{type:"title",size:"sm",elementType:"h3",id:f,children:l}),Q=a$2({ariaProps:J,fallbackLabelId:l?f:void 0,fallbackDescriptionId:p?g:void 0});return jsxs(a$3,{...Q,className:a$6("BaselineUI-AlertDialog",P),style:H,"data-block-id":j,"data-block-class":F,size:"sm",variant:"primary",role:"alertdialog",ref:K,children:[jsxs("div",{className:C({hasTitleAndIcon:!!(o&&l),hasNoCloseBtn:!z}),children:[jsxs(a$4,{display:"flex",justifyContent:"space-between",alignItems:"center",flexDirection:"row",children:[o?jsx(o,{style:{color:E},size:24}):null,!o&&u,z?jsx(a$5,{icon:XIcon,variant:"secondary",size:"md",className:X,"aria-label":q??O(Z.close),onPress:U??_}):null]}),o?u:null]}),p?jsx(a$4,{elementType:"section",className:a$6(I,R),paddingX:"lg",paddingBottom:"lg",typography:"body.sm.regular",color:"text.primary",id:g,children:p}):null,d?jsx(a$4,{paddingX:"lg",paddingBottom:"lg",children:jsx(a$7,{...d})}):null,i||s?jsxs(Fragment,{children:[jsx(a$8,{}),jsxs(a$4,{padding:"lg",display:"flex",gap:"xl",className:V,children:[i?jsx(b$1,{variant:"secondary",className:a$6(y,w),label:i,onPress:_,autoFocus:c$1==="cancel"}):null,s?jsx(b$1,{className:a$6(y,M),label:s,onPress:S,autoFocus:c$1==="primary",isDisabled:G}):null]})]}):null]})});T.displayName="AlertDialog";var Z=c$1({close:{id:"bui.alertDialog.close",defaultMessage:"Close"}});export{T as a};
@@ -0,0 +1,10 @@
1
+ import {b}from'./chunk-X3OCHEQM.mjs';import {a}from'./chunk-66CUIXA6.mjs';import {Fragment}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 s=({id:e,defaultMessage:r,values:a$1,elementType:m=Fragment})=>{a(e||r,"`id` or `defaultMessage` is required.");let p=b().formatMessage({id:e,defaultMessage:r},a$1);return jsx(m,{children:p})};s.displayName="MessageFormat";export{s as a};
@@ -0,0 +1,10 @@
1
+ import {b,a as a$5}from'./chunk-DOL6RDMF.mjs';import {a as a$i}from'./chunk-5IC46G5J.mjs';import {a as a$1,f as f$1}from'./chunk-RC7QITNV.mjs';import {a as a$3}from'./chunk-5BAHJXOI.mjs';import {b as b$2,a as a$g,q}from'./chunk-7AY6C5M5.mjs';import {a as a$9}from'./chunk-2MS356Q7.mjs';import {a as a$f}from'./chunk-MEYMETYC.mjs';import {b as b$1}from'./chunk-J7EAQSKX.mjs';import {f}from'./chunk-AKES5B6C.mjs';import {a as a$b}from'./chunk-CGFLGZL4.mjs';import {b as b$4}from'./chunk-J3MJZQUJ.mjs';import {a as a$e}from'./chunk-MEZNZ5W6.mjs';import {a as a$4}from'./chunk-TDXALNX3.mjs';import {a as a$d}from'./chunk-VDUFLHKK.mjs';import {a as a$a}from'./chunk-RSKKEGJZ.mjs';import {a as a$8}from'./chunk-K6X2BHPP.mjs';import {a as a$c}from'./chunk-BGMVPFYK.mjs';import {a as a$7}from'./chunk-3FYY26ED.mjs';import {d}from'./chunk-AQYBKDT2.mjs';import {a as a$2}from'./chunk-RT4LMB6X.mjs';import {a as a$6,c,b as b$3}from'./chunk-TZ4MVY4E.mjs';import {g,e}from'./chunk-AUOQSTS5.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$h}from'./chunk-4QEH5CGK.mjs';import z,{useMemo,useState,useRef,useEffect}from'react';import {useGranularEffect}from'granular-hooks';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 Le=a({defaultClassName:"_18v88n10 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6ln",variantClassNames:{labelPosition:{top:"_1yep5z6157 _1yep5z6158 _1yep5z6159",start:"_1yep5z6154 _1yep5z6155 _1yep5z6156 _1yep5z616m _1yep5z616n _1yep5z616o _1yep5z6vl _1yep5z6vm _1yep5z6vn"}},defaultVariants:{},compoundVariants:[]}),Ne=a({defaultClassName:"_18v88n1p _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6eu _1yep5z6ln _1yep5z6ly _1yep5z6lq _1yep5z6dy",variantClassNames:{isDisabled:{true:"_18v88n1q _1yep5z6111"},labelPosition:{top:"_18v88n1r",start:"_18v88n1s"}},defaultVariants:{},compoundVariants:[]}),Ie=a({defaultClassName:"_18v88n1t _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6iv _1yep5z6iw _1yep5z6ix _1yep5z6lk",variantClassNames:{validationState:{valid:"_18v88n1u",error:"_1yep5z610h",warning:"_1yep5z610p"},isReadOnly:{true:"_1yep5z6118"}},defaultVariants:{},compoundVariants:[]}),Ee=a({defaultClassName:"_18v88n1d _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j1 _1yep5z6j2 _1yep5z6j3 _1yep5z6m1 _1yep5z6lz _1yep5z6h4 _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{validationState:{valid:"_18v88n1e",error:"_1yep5z612q",warning:"_18v88n1g"},isHovered:{true:"_18v88n1h"},isFocused:{true:"_1yep5z6wl _1yep5z6wm _1yep5z6wn _1yep5z6x9 _1yep5z6xa _1yep5z6xb _1yep5z6xx _1yep5z6xy _1yep5z6xz _1yep5z6yl _1yep5z6ym _1yep5z6yn _1yep5z6184 _1yep5z6182 _1yep5z6134 _1yep5z617v _1yep5z617u _1yep5z6140 _1yep5z617x"},isDisabled:{true:"_18v88n1j"},variant:{primary:"_18v88n1k",ghost:"_18v88n1l"},isReadOnly:{true:"_1yep5z6140"}},defaultVariants:{},compoundVariants:[[{variant:"ghost",isHovered:true,isFocused:false,validationState:"valid"},"_1yep5z61u7 _1yep5z61u5 _1yep5z61pa"],[{variant:"ghost",isFocused:false,isHovered:false,validationState:"valid"},"_18v88n1n"],[{isHovered:true,validationState:"valid",isDisabled:false,isReadOnly:false,isFocused:false,variant:"primary"},"_1yep5z61pb"],[{isHovered:true,validationState:"warning",isDisabled:false,isReadOnly:false,isFocused:false},"_1yep5z61pb"],[{isReadOnly:true,variant:"primary",isFocused:false},"_18v88n1o"]]}),we=a({defaultClassName:"_18v88n13 _1yep5z6dy _1yep5z6ev",variantClassNames:{isDisabled:{true:"_1yep5z6111"}},defaultVariants:{},compoundVariants:[]}),Ve=a({defaultClassName:"_18v88n19 _1yep5z6iv _1yep5z6iw _1yep5z6ix",variantClassNames:{labelPosition:{top:"_1yep5z6t9 _1yep5z6ta _1yep5z6tb",start:"_1yep5z6n6 _1yep5z6n7 _1yep5z6n8 _1yep5z6157 _1yep5z6158 _1yep5z6159"},hasMessage:{true:"_18v88n1c"}},defaultVariants:{},compoundVariants:[[{labelPosition:"start",hasMessage:false},"_1yep5z61sj _1yep5z61sk _1yep5z61sl"]]}),Oe="_18v88n1y",De=a({defaultClassName:"_18v88n15 _1yep5z699 _1yep5z69a _1yep5z69b _1yep5z6lq",variantClassNames:{isFocusVisible:{true:"_1yep5z6127 _1yep5z614f _1yep5z617t"},isHovered:{true:"_1yep5z6127 _1yep5z614f _1yep5z617t"},isOpen:{true:"_1yep5z614f _1yep5z617t"}},defaultVariants:{},compoundVariants:[]});function S(n,s,c,p){if(s!=="number"||n===void 0||n==="")return n;let u=Number.parseFloat(n);if(Number.isNaN(u))return n;let t=u;return c!==void 0&&(t=Math.max(t,c)),p!==void 0&&(t=Math.min(t,p)),t===u?n:String(t)}function Te(n,s){return n.selectedKey==null||s!==n.selectedItem?.textValue}function He({allowsCustomValue:n,onValueChange:s,inputType:c,minValue:p,maxValue:u},t,x,f){let[k,m]=useState(null),r=useRef(false),C=useRef(null),R=!Te(t,t.inputValue),L=(o,a)=>{C.current=a==null?null:{key:a,value:o},s?.({value:o,key:a});},N=o=>{!r.current||!Te(t,o)||(L(o,null),r.current=false);};useEffect(()=>{if(!s)return;let o=x.current,a=b=>{m(g(b));};return o?.addEventListener("focusin",a),()=>{o?.removeEventListener("focusin",a);}},[s,x,t.selectedKey]),useGranularEffect(()=>{if(t.selectedKey==null||t.selectedItem==null){t.selectionManager.isEmpty&&(C.current=null);return}let o=t.selectedKey,a=t.selectedItem.textValue,b=C.current?.key!==o;!b&&(C.current?.value===a||r.current&&!R)||(L(a,o),b&&(r.current=false));},[t.selectedKey,t.selectedItem?.textValue,R],[s,t.selectedItem]);let B=()=>{k===f.current&&n&&r.current&&(r.current=false);};useEffect(()=>{if(!s)return;let o=f.current,a=()=>{r.current=true;};return o?.addEventListener("input",a),()=>{o?.removeEventListener("input",a);}},[f,s]);let{keyboardProps:h}=a$c({isDisabled:!s,onKeyDown:o=>{if(n&&o.key==="Enter"&&r.current){let a=S(f.current?.value,c,p,u);N(a??""),r.current=false;}else o.key==="Escape"&&(t.selectedKey!=null&&(r.current=false),t.close());o.continuePropagation();}});return {inputProps:h,commitCustomValue:N,disarmPendingEdit:B}}var Fe=z.forwardRef(({renderOption:n,optionStyle:s,optionClassName:c,...p},u)=>jsx(a$1,{items:p.items,listBoxProps:{renderOption:n,optionStyle:s,optionClassName:c},children:t=>jsx(Se,{...p,collection:t,ref:u})}));Fe.displayName="ComboBox";var Se=z.forwardRef(({className:n,style:s,inputStyle:c$1,inputClassName:p,"data-block-id":u,"data-block-class":t,label:x,items:f$2,isInvalid:k=false,labelPosition:m="top",validationState:r="valid",variant:C="primary",toggleLabel:R,showIcon:L=true,filter:N,minValue:B,maxValue:h,inputType:o="text",onInputSubmit:a,onValueChange:b$5,tooltip:je,collection:Ke,onTriggerPress:j,...e$1},Ae)=>{let M=a$2(Ae),{contains:Ue}=a$3({sensitivity:"base"}),_=b({...e$1,defaultFilter:N||Ue,defaultItems:f$2,collection:Ke,children:void 0,validationState:k?"invalid":"valid"}),K=z.useRef(null),v=z.useRef(null),A=z.useRef(null),T=z.useRef(null),U=z.useRef(null),{inputProps:qe,commitCustomValue:We,disarmPendingEdit:Ge}=He({onValueChange:b$5,allowsCustomValue:e$1.allowsCustomValue,inputType:o,minValue:B,maxValue:h},_,M,v),q$1=i=>{let d=S(i,o,B,h)??"";return d!==i&&!a&&!b$5&&a$i("bui.comboBox.clampNoCallback","ComboBox: minValue/maxValue clamped a value but no onInputSubmit or onValueChange callback is provided. The constraint cannot be enforced without a callback to notify the consumer."),a?.(d),d},W=()=>{let i=v.current?.value??"";!e$1.allowsCustomValue||!i||We(q$1(i));};a$4({ref:v,onInteractOutside:i=>{let d=g(i);if(e(M.current,d)||e(T.current,d))return;let P=v.current;if(!P||f(P)!==P){Ge();return}_.isOpen&&(W(),_.close());}});let{buttonProps:I,inputProps:Je,listBoxProps:G,labelProps:Qe,errorMessageProps:Xe,descriptionProps:Ye,validationErrors:Ze}=a$5({...e$1,onBlur:a$6(e$1.onBlur,W),inputRef:v,defaultItems:f$2,buttonRef:K,listBoxRef:A,popoverRef:T,validationState:r==="error"?"invalid":"valid"},_),J=e$1.errorMessage||Ze.join(" "),E=b$1({...e$1,errorMessage:J,descriptionProps:Ye,errorMessageProps:Xe,labelPosition:m});J&&(r="error");let{hoverProps:$e,isHovered:Q}=a$7({isDisabled:e$1.isDisabled}),{isFocused:X,focusProps:et,isFocusVisible:Y}=a$8(),Z=a$9({isReadOnly:e$1.isReadOnly,validationState:r}),tt=a$a({"data-read-only":e$1.isReadOnly,"data-disabled":e$1.isDisabled,"data-validation-state":r,"data-focused":X,"data-focus-visible":Y}),{labelProps:ot,fieldProps:rt}=a$b({label:x,"aria-label":e$1["aria-label"],"aria-labelledby":e$1["aria-labelledby"],"aria-describedby":e$1["aria-describedby"],"aria-details":e$1["aria-details"]}),{keyboardProps:at}=a$c({onKeyDown:i=>{e$1.allowsCustomValue&&i.key==="Enter"&&q$1(v.current?.value??"");}}),{tooltipProps:$}=a$d({tooltip:je,label:e$1["aria-label"]}),{pressProps:nt}=d({onPress:j}),ee=R?.trim()||void 0,te=i=>{let{triggerProps:d,triggerRef:P}=i??{};return jsxs("div",{className:a$h(Le({labelPosition:m}),n,"BaselineUI-ComboBox"),"data-block-id":u,"data-block-class":t,style:s,ref:M,children:[x||m==="start"&&E?jsxs("div",{className:Ve({labelPosition:m,hasMessage:!!E}),children:[jsx("label",{...c(Qe,ot),className:we({isDisabled:e$1.isDisabled}),children:x}),m==="start"&&E]}):null,jsxs("div",{...$e,className:Ee({validationState:r,isHovered:Q,isFocused:X,variant:C,isReadOnly:!!e$1.isReadOnly,isDisabled:!!e$1.isDisabled}),ref:U,children:[jsx("input",{...c(nt,d,Je,qe,et,tt,rt,at,o==="number"?{type:"number",min:B,max:h,onKeyDown:g=>{(g.key==="ArrowUp"||g.key==="ArrowDown")&&g.preventDefault();}}:null),id:e$1.id,ref:b$3(P,v),className:a$h(Ne({isDisabled:e$1.isDisabled,labelPosition:m}),"BaselineUI-ComboBox-Input",p),style:c$1}),Z&&L?jsx(Z,{className:Ie({validationState:r,isReadOnly:e$1.isReadOnly}),size:16}):null,jsx(b$4,{...I,onPressStart:g=>{I.onPressStart?.(g),j?.(g);},ref:K,"data-testid":"combobox-toggle-button",variant:"popover",label:null,"aria-label":ee??I["aria-label"],"aria-labelledby":ee?void 0:I["aria-labelledby"],className:De({isFocusVisible:!e$1.isDisabled&&!e$1.isReadOnly&&Y,isHovered:!e$1.isDisabled&&!e$1.isReadOnly&&Q,isOpen:_.isOpen})})]}),m==="top"&&E]})};return jsxs(Fragment,{children:[$?jsx(a$e,{...$,children:te}):te(),jsx(a$f,{ref:T,triggerRef:U,state:_,isNonModal:true,crossOffset:-2,className:"BaselineUI-ComboBox-Popover",children:jsx(b$2.Provider,{value:_,children:jsx(a$g.Provider,{value:useMemo(()=>({...G,ref:A}),[G]),children:jsx(q,{selectionMode:"single",className:a$h(f$1,Oe,"BaselineUI-ComboBox-ListBox")})})})})]})});Se.displayName="ComboBoxInner";export{Fe as a};
@@ -0,0 +1,10 @@
1
+ import {a as a$b}from'./chunk-5HXTXIE5.mjs';import {a as a$3}from'./chunk-MI7DCFP2.mjs';import {d,a as a$a,c as c$2,b as b$3}from'./chunk-ELXWR5TS.mjs';import {a as a$9}from'./chunk-ROHLZINC.mjs';import {a as a$6}from'./chunk-2WAKHFPS.mjs';import {a}from'./chunk-CGFLGZL4.mjs';import {b,c as c$3}from'./chunk-X3OCHEQM.mjs';import {b as b$2}from'./chunk-J3MJZQUJ.mjs';import {a as a$7}from'./chunk-GCZFXILF.mjs';import {b as b$1}from'./chunk-4ZJMZB5B.mjs';import {a as a$5}from'./chunk-2VY4FAOY.mjs';import {a as a$1}from'./chunk-K6X2BHPP.mjs';import {a as a$4}from'./chunk-BGMVPFYK.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {c as c$1,b as b$4}from'./chunk-TZ4MVY4E.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import {UndoIcon,RedoIcon}from'@baseline-ui/icons/16';import {getStroke}from'perfect-freehand';import h,{useState,useCallback,useEffect,useMemo,useRef}from'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 de({line:t,options:o}){let r=useRef([]),m=useMemo(()=>{let i=Math.ceil(t.length/P),d;for(let a=0;a<i;a++)if(!(!(a===i-1)&&!!r.current[a])){let C=t.slice(a*P-(a>0?1:0),a*P+P);d=a$b(getStroke(C.map(([k,g,l])=>({x:k,y:g,pressure:l})),o)),C.length>=(a>0?P+1:P)&&(r.current[a]=d);}return d},[t,o]);return [...r.current,m]}var P=180;var Xe={size:1,thinning:0,smoothing:0,streamline:0,easing:t=>t,start:{taper:0,easing:t=>t,cap:true},end:{taper:0,easing:t=>t,cap:true},simulatePressure:false},ce=h.forwardRef(({className:t,style:o,canvasClassName:r,canvasStyle:m,isBound:i=true,strokeWidth:d$1=2,strokeColor:a$b="#3A87FD",onChange:v,defaultValue:H,onChangeEnd:C,enableHistory:k=false,isInline:g=true,isDisabled:l,placeholder:E,clearLabel:R,undoLabel:he,redoLabel:ve,footerClassName:ge,canvasRef:Pe,value:N,footerStyle:Ce,"data-block-id":ke,"data-block-class":ye,"aria-label":Se="Drawing canvas",description:be="This is a canvas for drawing using a mouse or touch input.",...f},Fe)=>{let T=b(),De=h.useRef(null),[u,S]=h.useState(N||H||[]),U=h.useMemo(()=>({...Xe,...f}),[f]),[c$3,z]=h.useState(),V=c(),{labelProps:Ee,fieldProps:Re}=a({...f,"aria-label":Se,labelElementType:"span"}),{isFocusVisible:Me,focusProps:we}=a$1({within:true}),{hoverProps:Le,isHovered:Oe}=a$2({isDisabled:l}),{undo:I,redo:x,canRedo:K,canUndo:G,push:W}=a$3(u,{onAction:e=>{e&&(S(e),C?.(e));},isDisabled:!k}),{keyboardProps:He}=a$4({onKeyDown:e=>{e.key==="Backspace"?A():e.key==="z"&&(e.metaKey||e.ctrlKey)&&(e.shiftKey?K&&x():G&&I());}}),[Ne,_]=useState(false),Te=useCallback(e=>{let p=e.currentTarget.getBoundingClientRect();z(p),e.target.setPointerCapture(e.pointerId);let y=[e.clientX-p.x,e.clientY-p.y,e.pressure];S(s=>[...s,[y]]),_(true);},[]),Ue=useCallback(e=>{if(e.buttons!==1||!c$3)return;let y=ue(e.nativeEvent).map(s=>[i?a$5(s.clientX-c$3.left,0,c$3.width):s.clientX-c$3.left,i?a$5(s.clientY-c$3.top,0,c$3.height):s.clientY-c$3.top,s.pressure]);S(s=>{let M=[...s];return M[s.length-1]=[...M[s.length-1],...y],M});},[c$3,i]),ze=()=>{c$3&&(C?.(u),W(u),_(false),z(void 0));};useEffect(()=>{v?.(u);},[u,v]);let A=()=>{S([]),v?.([]),W([]);};return jsxs("div",{ref:b$4(De,Fe),className:a$8(b$3,"BaselineUI-FreehandCanvas",t),style:o,"aria-disabled":l,"data-block-id":ke,"data-block-class":ye,children:[f.label||k?jsxs("div",{className:d({isInline:g}),children:[f.label?jsx(a$6,{type:"label",size:"sm",...Ee,children:f.label}):jsx("span",{}),k?jsxs("div",{children:[jsx(a$7,{variant:"secondary",size:"sm",isDisabled:!G||l,icon:UndoIcon,onPress:I,"aria-label":he||T.formatMessage(me.undo)}),jsx(a$7,{variant:"secondary",size:"sm",isDisabled:!K||l,icon:RedoIcon,onPress:x,"aria-label":ve||T.formatMessage(me.redo)})]}):null]}):null,jsxs("div",{role:"application",...c$1(we,He,Le,Re),tabIndex:l?void 0:0,className:a$8(a$9({isInline:g,isHovered:Oe}),a$a({isFocusVisible:Me,isInline:g,isDisabled:!!l}),r),"aria-describedby":f["aria-describedby"]||V,style:m,ref:Pe,children:[jsx(b$1,{children:jsx("div",{id:V,children:be})}),jsx("svg",{width:m?.width||"100%",height:m?.height||"100%",onPointerDown:Te,onPointerMove:Ue,onPointerUp:ze,children:(N||u).map((e,p,y)=>p<y.length-1||!Ne?jsx(pe,{line:e,options:U,strokeColor:a$b,strokeWidth:d$1},p):jsx(fe,{line:e,options:U,strokeColor:a$b,strokeWidth:d$1},p))})]}),E||R?jsx("div",{style:Ce,className:a$8(c$2({isInline:g,isDisabled:l}),ge),children:(u.length||!E)&&R?jsx(b$2,{size:"sm",variant:"ghost",label:R,isDisabled:l,onPress:A}):jsx(b$2,{size:"sm",variant:"ghost",label:E,isDisabled:true})}):null]})});ce.displayName="FreehandCanvas";var pe=h.memo(({line:t,options:o,strokeColor:r,strokeWidth:m})=>{let i=useMemo(()=>a$b(getStroke(t.map(([d,a,v])=>({x:d,y:a,pressure:v})),o)),[t,o]);return jsx("path",{d:i,stroke:r,strokeWidth:m})});pe.displayName="Stroke";var fe=h.memo(({line:t,options:o,strokeColor:r,strokeWidth:m})=>{let i=de({line:t,options:o});return jsx(Fragment,{children:i.map((d,a)=>jsx("path",{d,stroke:r,strokeWidth:m},a))})});fe.displayName="SplitStroke";function ue(t){if(typeof t.getCoalescedEvents=="function"){let o=t.getCoalescedEvents();return o.length>0?o.flatMap(r=>ue(r)):[t]}return [t]}var me=c$3({undo:{defaultMessage:"Undo",id:"bui.freehandCanvas.undo"},redo:{defaultMessage:"Redo",id:"bui.freehandCanvas.redo"}});export{ce as a};
@@ -0,0 +1,10 @@
1
+ import r from'dompurify';/**
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 s=t=>t.charAt(0).toUpperCase()+t.slice(1),i=t=>new DOMParser().parseFromString(r.sanitize(t),"text/html").body.textContent||"";export{s as a,i as b};
@@ -0,0 +1,10 @@
1
+ import {a}from'./chunk-4QEH5CGK.mjs';import z 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 o="_1ltpw2m2 _1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z68c _1yep5z68d _1yep5z68e _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6ev _1yep5z6ip _1yep5z6iq _1yep5z6ir _1yep5z6k4 _1yep5z6k5 _1yep5z6k6 _1ltpw2m0",p="_1ltpw2m1 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6m1 _1yep5z6lz _1yep5z6h3 _1yep5z6g1 _1yep5z6id _1yep5z6ie _1yep5z6if _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6j4 _1yep5z6j5 _1yep5z6j6";var t=z.forwardRef(({className:_,style:l,children:y},a$1)=>jsx("pre",{className:a(p,"BaselineUI-Code",_),style:l,ref:a$1,children:jsx("code",{className:o,children:y})}));t.displayName="Code";export{t as a};
@@ -0,0 +1,10 @@
1
+ import {b,g,e}from'./chunk-AUOQSTS5.mjs';import {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 m=new WeakMap;function E(u){let{triggerRef:e$1,isOpen:r,onClose:o}=u;useEffect(()=>{if(!r||o===null)return;let n=b(e$1.current),l=a=>{let t=g(a);if(!e$1.current||t instanceof n.Node&&!e(t,e$1.current)||t instanceof n.HTMLInputElement||t instanceof n.HTMLTextAreaElement)return;let i=o||m.get(e$1.current);i&&i();};return n.addEventListener("scroll",l,true),()=>{n.removeEventListener("scroll",l,true);}},[r,o,e$1]);}export{m as a,E as b};
@@ -0,0 +1,10 @@
1
+ import {a}from'./chunk-CV6JQGJ3.mjs';import {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=({date:r,...a$1})=>{let e=a(a$1);return jsx(Fragment,{children:e.format(r)})};o.displayName="DateFormat";export{o as a};
@@ -0,0 +1,10 @@
1
+ import {b as b$1}from'./chunk-Q5UMLFN3.mjs';import {a as a$9}from'./chunk-GCZFXILF.mjs';import {a as a$4,b as b$2}from'./chunk-KUEDQO7P.mjs';import {a as a$5}from'./chunk-66CUIXA6.mjs';import {a as a$6}from'./chunk-YS3Y5KGV.mjs';import {a as a$7}from'./chunk-K6X2BHPP.mjs';import {a as a$1}from'./chunk-BGMVPFYK.mjs';import {a as a$8}from'./chunk-3FYY26ED.mjs';import {d}from'./chunk-AQYBKDT2.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {c as c$1}from'./chunk-JDLUGVXG.mjs';import {f,a as a$2}from'./chunk-AUOQSTS5.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import b,{useContext,useEffect,useMemo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {AnimatePresence,motion}from'motion/react';import {ChevronRightIcon}from'@baseline-ui/icons/8';/**
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 J="_1yep5z6ln",U=a({defaultClassName:"_1kvz17db _1yep5z6la _1yep5z6lc",variantClassNames:{showActionsOnTriggerOnly:{true:"_1kvz17dc"},isTriggered:{true:"_1kvz17dd"}},defaultVariants:{},compoundVariants:[]}),X=a({defaultClassName:"_1kvz17d0 _1yep5z64u _1yep5z64v _1yep5z64w _1yep5z676 _1yep5z677 _1yep5z678 _1yep5z68c _1yep5z68d _1yep5z68e _1yep5z660 _1yep5z661 _1yep5z662 _1yep5z6la _1yep5z6lb",variantClassNames:{isExpanded:{true:"_1kvz17d1"}},defaultVariants:{},compoundVariants:[]}),G="_1kvz17de",Q="_1yep5z6ev _1yep5z6dy",W=a({defaultClassName:"_1kvz17d2 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl _1yep5z6kj _1yep5z6kk _1yep5z6kl _1yep5z6la _1yep5z6ld",variantClassNames:{isFocusVisible:{true:"_1kvz17d3"},isHovered:{true:"_1yep5z6g2",false:"_1yep5z6g3"},isDisabled:{true:"z9nup82"}},defaultVariants:{},compoundVariants:[]}),Y="_1kvz17da _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z6dz",Z=a({defaultClassName:"_1kvz17d7 _1yep5z6is _1yep5z6it _1yep5z6iu _1yep5z6jj _1yep5z6jk _1yep5z6jl",variantClassNames:{isDisabled:{true:"_1yep5z6ey",false:"_1yep5z6eu"}},defaultVariants:{},compoundVariants:[]});var H=b.forwardRef(({children:f$1,className:p,style:z},e)=>{let{headers:r}=useContext(y),{disabledKeys:a}=useContext(y),{keyboardProps:u}=a$1({onKeyDown:t=>{let d=f(a$2(t.target)),s=[...r?.keys()||[]].findIndex(n=>{let o=r?.get(n)?.current;return o?o===d:false}),m=r?.get(s||0),i=r?.size||0,c=n=>{let o=r.get(n-1<0?i-1:n-1);a?.has(o?.current?.dataset.key||"")?c(n-1):o?.current?.focus();},l=n=>{let o=r.get((n+1)%i);a?.has(o?.current?.dataset.key||"")?l(n+1):o?.current?.focus();};if(m)switch(t.key){case "Home":{t.preventDefault(),l(-1);break}case "End":{t.preventDefault(),c(i);break}case "ArrowDown":{t.preventDefault(),l(s);break}case "ArrowUp":{t.preventDefault(),c(s);break}default:t.continuePropagation();}}});return jsx("div",{...b$1(u),style:z,className:a$3(J,p),ref:e,children:b.Children.map(f$1,(t,d)=>b.cloneElement(t,{index:d}))})});H.displayName="AccordionBase";var y=b.createContext({expandedKeys:new Set,setExpandedKeys:()=>{},disabledKeys:new Set,headers:new Map,expansionMode:"multiple"}),oe=b.forwardRef(({children:f,disabledKeys:p,defaultExpandedKeys:z=new Set,expandedKeys:e,expansionMode:r="multiple",onChange:a,className:u,style:t},d)=>{let[s,m]=b.useState(z),i=b.useRef(new Map).current,[c,l]=b.useState(r);useEffect(()=>{l(r);},[r]),useEffect(()=>{a?.(s);},[s,a]);let n=useMemo(()=>({expandedKeys:e||s,setExpandedKeys:e?()=>{}:m,disabledKeys:p,headers:i,expansionMode:c}),[e,s,p,i,c]);return jsx(y.Provider,{value:n,children:jsx(a$4,{children:jsx(H,{className:u,style:t,ref:d,children:f})})})});oe.displayName="Accordion";var K=b.forwardRef(({title:f,actions:p,controlId:z,value:e,id:r,index:a,subLabel:u,showActionsOnTriggerOnly:t},d$1)=>{let s=b.useRef(null),{expandedKeys:m,setExpandedKeys:i,expansionMode:c$1,disabledKeys:l,headers:n}=useContext(y),o=l?.has(e),S=b$2();a$5(S);let{focusNext:ne,focusPrevious:ae}=S,{keyboardProps:ie}=a$1({onKeyDown:_=>{_.key==="ArrowRight"?ne({wrap:true}):_.key==="ArrowLeft"?ae({wrap:true}):_.continuePropagation();},isDisabled:o});useEffect(()=>{a$5(typeof a=="number","AccordionItem must have an index"),n?.set(a,s);},[a,n]);let M=()=>{i(_=>{let v=new Set(_);return v.has(e)?v.delete(e):(c$1==="single"&&v.clear(),v.add(e)),v});},{buttonProps:ce}=a$6({"aria-expanded":m.has(e),"aria-controls":z,onPress:M,isDisabled:o},s),{pressProps:pe}=d({onPress:M,isDisabled:o}),{focusProps:de,isFocusVisible:me}=a$7(),{hoverProps:le,isHovered:I}=a$8({isDisabled:o}),{focusProps:ue,isFocusVisible:ye}=a$7({within:true}),fe=m.has(e);return jsxs("h3",{...c(ie,pe,le,ue),className:W({isFocusVisible:me,isHovered:I,isDisabled:o}),ref:d$1,children:[jsxs("div",{className:Z({isDisabled:!!o}),children:[jsx(ChevronRightIcon,{className:X({isExpanded:fe}),size:8}),jsx("button",{...c(ce,de),id:r,"data-key":e,className:Y,ref:s,children:f})]}),p?.length?jsx("div",{"data-testid":"action-buttons",className:U({showActionsOnTriggerOnly:t,isTriggered:ye||I}),children:p.map((_,v)=>jsx(a$9,{variant:"secondary",size:"sm",excludeFromTabOrder:true,isDisabled:o,..._},v))}):null,u?jsx("div",{className:Q,children:u}):null]})});K.displayName="AccordionHeader";var se=b.forwardRef(({title:f,actions:p,children:z,value:e,index:r,subLabel:a,style:u,className:t,showActionsOnTriggerOnly:d},s)=>{let m=c$1(),i=c$1(),{expandedKeys:c}=useContext(y),l=c.has(e);return jsxs(Fragment,{children:[jsx(a$4,{children:jsx(K,{value:e,actions:p,id:i,title:f,controlId:m,ref:s,index:r,subLabel:a,showActionsOnTriggerOnly:d})}),jsx(AnimatePresence,{initial:false,children:l?jsx(motion.section,{role:"region","aria-labelledby":i,id:m,className:G,variants:{open:{height:"auto",opacity:1},closed:{height:0,opacity:0}},initial:"closed",animate:"open",exit:"closed",children:jsx("div",{style:u,className:t,children:z})}):null})]})});se.displayName="AccordionItem";export{oe as a,se as b};
@@ -0,0 +1,10 @@
1
+ import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {AvatarIcon as AvatarIcon$1}from'@baseline-ui/icons/16';import {AvatarIcon}from'@baseline-ui/icons/24';import C from'react';import {jsxs,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 c="_1017q4c5",d=a({defaultClassName:"_1017q4c0",variantClassNames:{size:{md:"_1017q4c1",sm:"_1017q4c2"},isDisabled:{true:"_1017q4c3"}},defaultVariants:{},compoundVariants:[]}),p="_1017q4c4";var N={sm:AvatarIcon$1,md:AvatarIcon},m=C.forwardRef(({className:u,style:v,size:a="md",icon:b=N[a],name:e,imgSrc:r,showInitials:i,isDisabled:o,hasNotifications:f,imgLoading:h,"data-block-id":x,"data-block-class":y},g)=>{let s=e?.split(" ").map(_=>_[0]).join("");return jsxs("span",{className:a$1(d({size:a,isDisabled:o}),"BaselineUI-Avatar",u),"data-disabled":o,ref:g,style:v,"aria-disabled":o,"data-block-id":x,"data-block-class":y,children:[r?jsx("img",{src:r,alt:e,loading:h,className:p}):null,!i&&!r&&jsx(b,{size:a==="sm"?16:24}),i&&!r?a==="sm"?s[0]:s:null,f?jsx("div",{"data-testid":"notification",className:c}):null]})});m.displayName="Avatar";export{m as a};