@baseline-ui/core 3.5.0 → 3.6.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 (220) hide show
  1. package/dist/Accordion.mjs +1 -1
  2. package/dist/ActionButton.mjs +1 -1
  3. package/dist/ActionGroup.mjs +1 -1
  4. package/dist/ActionIconButton.mjs +1 -1
  5. package/dist/Actionable.mjs +1 -1
  6. package/dist/AlertDialog.mjs +1 -1
  7. package/dist/AudioPlayer.mjs +1 -1
  8. package/dist/Breadcrumbs.css +10 -0
  9. package/dist/Breadcrumbs.mjs +1 -0
  10. package/dist/ButtonSelect.mjs +1 -1
  11. package/dist/Calendar.mjs +1 -1
  12. package/dist/Checkbox.mjs +1 -1
  13. package/dist/ColorInput.mjs +1 -1
  14. package/dist/ColorSwatch.mjs +1 -1
  15. package/dist/ColorSwatchPicker.mjs +1 -1
  16. package/dist/ComboBox.mjs +1 -1
  17. package/dist/DateField.mjs +1 -1
  18. package/dist/Dialog.mjs +1 -1
  19. package/dist/Disclosure.mjs +1 -1
  20. package/dist/DomNodeRenderer.mjs +1 -1
  21. package/dist/Drawer.mjs +1 -1
  22. package/dist/Editor.mjs +1 -1
  23. package/dist/FileInput.mjs +1 -1
  24. package/dist/FileList.mjs +1 -1
  25. package/dist/FileUploader.mjs +1 -1
  26. package/dist/FrameProvider.mjs +1 -1
  27. package/dist/FreehandCanvas.mjs +1 -1
  28. package/dist/GridList.mjs +1 -1
  29. package/dist/I18nProvider.mjs +1 -1
  30. package/dist/Icon.mjs +1 -1
  31. package/dist/ImageDropZone.mjs +1 -1
  32. package/dist/ImageGallery.mjs +1 -1
  33. package/dist/InlineAlert.mjs +1 -1
  34. package/dist/InlineToolbar.mjs +1 -1
  35. package/dist/Kbd.mjs +1 -1
  36. package/dist/Link.mjs +1 -1
  37. package/dist/ListBox.mjs +1 -1
  38. package/dist/Menu.mjs +1 -1
  39. package/dist/MessageFormat.mjs +1 -1
  40. package/dist/Modal.mjs +1 -1
  41. package/dist/NumberInput.mjs +1 -1
  42. package/dist/Pagination.mjs +1 -1
  43. package/dist/PointPicker.mjs +1 -1
  44. package/dist/Popover.mjs +1 -1
  45. package/dist/Portal.mjs +1 -1
  46. package/dist/Preview.mjs +1 -1
  47. package/dist/ProgressBar.mjs +1 -1
  48. package/dist/RadioGroup.mjs +1 -1
  49. package/dist/Reaction.mjs +1 -1
  50. package/dist/ScrollControlButton.mjs +1 -1
  51. package/dist/SearchInput.mjs +1 -1
  52. package/dist/Select.mjs +1 -1
  53. package/dist/Slider.mjs +1 -1
  54. package/dist/Stepper.mjs +1 -1
  55. package/dist/Switch.mjs +1 -1
  56. package/dist/Table.mjs +1 -1
  57. package/dist/Tabs.mjs +1 -1
  58. package/dist/Tag.mjs +1 -1
  59. package/dist/TagGroup.mjs +1 -1
  60. package/dist/TaggedPagination.mjs +1 -1
  61. package/dist/Text.mjs +1 -1
  62. package/dist/TextInput.mjs +1 -1
  63. package/dist/ThemeProvider.mjs +1 -1
  64. package/dist/TimeField.mjs +1 -1
  65. package/dist/Toast.mjs +1 -1
  66. package/dist/ToggleButton.mjs +1 -1
  67. package/dist/ToggleIconButton.mjs +1 -1
  68. package/dist/Toolbar.mjs +1 -1
  69. package/dist/Tooltip.mjs +1 -1
  70. package/dist/TreeView.mjs +1 -1
  71. package/dist/UNSAFE_ListBox.mjs +1 -1
  72. package/dist/Virtualizer.mjs +1 -1
  73. package/dist/{chunk-UOWKAUCQ.mjs → chunk-23WMOYTQ.mjs} +2 -2
  74. package/dist/chunk-266F6F4Y.mjs +10 -0
  75. package/dist/{chunk-5G6JNQQR.mjs → chunk-2CXZQGP5.mjs} +1 -1
  76. package/dist/{chunk-JRCDMRIW.mjs → chunk-2KX2HY2H.mjs} +1 -1
  77. package/dist/{chunk-NMK4W6K3.mjs → chunk-3PU6C5US.mjs} +1 -1
  78. package/dist/{chunk-ZA2FH3MS.mjs → chunk-3RWM6E56.mjs} +1 -1
  79. package/dist/{chunk-KW3BKIG4.mjs → chunk-3YVVIFY7.mjs} +1 -1
  80. package/dist/{chunk-TTVYMCU3.mjs → chunk-42SQX2EB.mjs} +1 -1
  81. package/dist/{chunk-3M3WJHOI.mjs → chunk-4T7P66ZA.mjs} +1 -1
  82. package/dist/{chunk-UO75BAPM.mjs → chunk-4Y4WKIL5.mjs} +1 -1
  83. package/dist/chunk-6DETJFO2.mjs +10 -0
  84. package/dist/chunk-6DYTFYPO.mjs +10 -0
  85. package/dist/{chunk-3DWFAHR2.mjs → chunk-6GV3YWV7.mjs} +1 -1
  86. package/dist/{chunk-2M2LI4MI.mjs → chunk-6LP7UKPC.mjs} +1 -1
  87. package/dist/chunk-6M77HEKA.mjs +10 -0
  88. package/dist/chunk-6Z3GYFG5.mjs +10 -0
  89. package/dist/{chunk-7XGNJE7J.mjs → chunk-7DCQF3EP.mjs} +1 -1
  90. package/dist/{chunk-QWZBZ23U.mjs → chunk-7HVUCDKZ.mjs} +1 -1
  91. package/dist/{chunk-3KWSJRYK.mjs → chunk-7KZEJYIU.mjs} +1 -1
  92. package/dist/{chunk-6GMU63H2.mjs → chunk-7OUGARUO.mjs} +1 -1
  93. package/dist/{chunk-GLAMJIYO.mjs → chunk-AMLFQDKI.mjs} +1 -1
  94. package/dist/{chunk-676DOXEK.mjs → chunk-ARCCPNHM.mjs} +2 -2
  95. package/dist/{chunk-OWQRYRWF.mjs → chunk-C2B7L5CL.mjs} +1 -1
  96. package/dist/chunk-EIB7MPRA.mjs +10 -0
  97. package/dist/{chunk-LKSUUT3M.mjs → chunk-F67SYAEW.mjs} +1 -1
  98. package/dist/{chunk-2AKHB7Y5.mjs → chunk-FF7H33Z5.mjs} +1 -1
  99. package/dist/{chunk-GL5GUKT7.mjs → chunk-FX3THTOK.mjs} +1 -1
  100. package/dist/{chunk-D5VU5TED.mjs → chunk-G2T6UJ66.mjs} +1 -1
  101. package/dist/{chunk-FGSVPRDN.mjs → chunk-GAT5QH2M.mjs} +1 -1
  102. package/dist/{chunk-X5ZTXDQ4.mjs → chunk-GDIKHTP3.mjs} +1 -1
  103. package/dist/{chunk-PLZ6ZFEO.mjs → chunk-GJTOYWLJ.mjs} +1 -1
  104. package/dist/chunk-GTHN5ZCZ.mjs +10 -0
  105. package/dist/{chunk-XQC3DSTW.mjs → chunk-GYKBMDSJ.mjs} +1 -1
  106. package/dist/{chunk-43LOJ3SH.mjs → chunk-HCQI7MNN.mjs} +1 -1
  107. package/dist/{chunk-LBHZV4BO.mjs → chunk-HJGMXLKN.mjs} +1 -1
  108. package/dist/{chunk-ONBEVR2G.mjs → chunk-IC5SBDP3.mjs} +1 -1
  109. package/dist/{chunk-7MLFM55C.mjs → chunk-IDIZSV2Y.mjs} +1 -1
  110. package/dist/chunk-IGM72PUL.mjs +0 -0
  111. package/dist/{chunk-AFOW62QN.mjs → chunk-INFMXVHD.mjs} +1 -1
  112. package/dist/{chunk-O6FPWOHR.mjs → chunk-J2KZM2I2.mjs} +1 -1
  113. package/dist/{chunk-WFYFHANE.mjs → chunk-JHA7DIPG.mjs} +1 -1
  114. package/dist/{chunk-AMVX34SS.mjs → chunk-JKOCFSBH.mjs} +1 -1
  115. package/dist/{chunk-DAI7V4TE.mjs → chunk-JTKDC2CM.mjs} +1 -1
  116. package/dist/{chunk-5G7ABQYJ.mjs → chunk-K4N2ADJO.mjs} +1 -1
  117. package/dist/{chunk-TFSBTGTQ.mjs → chunk-KQOXSF4J.mjs} +1 -1
  118. package/dist/{chunk-SBGZCLF4.mjs → chunk-KX2GDQKJ.mjs} +1 -1
  119. package/dist/{chunk-7BE6MOPW.mjs → chunk-LRF3YZWU.mjs} +2 -2
  120. package/dist/{chunk-BET5GVGQ.mjs → chunk-LV5AUNI2.mjs} +1 -1
  121. package/dist/{chunk-7P7VZMTO.mjs → chunk-NWWH62TU.mjs} +1 -1
  122. package/dist/{chunk-YFBMCK5O.mjs → chunk-O4YMXTNR.mjs} +1 -1
  123. package/dist/chunk-PCR5FD43.mjs +10 -0
  124. package/dist/{chunk-Z3ZMWJSV.mjs → chunk-PR3CD3UC.mjs} +2 -2
  125. package/dist/chunk-Q6R75IOP.mjs +10 -0
  126. package/dist/chunk-QC76UPJB.mjs +29 -0
  127. package/dist/{chunk-X5ORCNAU.mjs → chunk-QUWRO3HT.mjs} +1 -1
  128. package/dist/{chunk-3UC5V5E3.mjs → chunk-RE7ZGPOY.mjs} +1 -1
  129. package/dist/{chunk-6M7PJXEE.mjs → chunk-RFVLSR2P.mjs} +1 -1
  130. package/dist/{chunk-YYU46XNM.mjs → chunk-RFVPGD6N.mjs} +1 -1
  131. package/dist/chunk-RINS2TBF.mjs +10 -0
  132. package/dist/{chunk-MCN5JU6E.mjs → chunk-RITIRWKN.mjs} +1 -1
  133. package/dist/chunk-RUHZRYDJ.mjs +10 -0
  134. package/dist/{chunk-UH6QIGD3.mjs → chunk-RXVMJVRX.mjs} +1 -1
  135. package/dist/{chunk-DO5YROCG.mjs → chunk-SH7ZI4CA.mjs} +1 -1
  136. package/dist/{chunk-2WA3KB7H.mjs → chunk-TDRN6VLD.mjs} +1 -1
  137. package/dist/chunk-TTJTZLW5.mjs +10 -0
  138. package/dist/{chunk-VXZT2JR2.mjs → chunk-UY76QEJC.mjs} +1 -1
  139. package/dist/{chunk-ABXTAFKP.mjs → chunk-VJUSOXPW.mjs} +1 -1
  140. package/dist/{chunk-5W67PVZQ.mjs → chunk-VZ5CLAIL.mjs} +2 -2
  141. package/dist/{chunk-USUPPN73.mjs → chunk-WB7EFOP7.mjs} +1 -1
  142. package/dist/chunk-WDWBYTJG.mjs +10 -0
  143. package/dist/{chunk-UYUYQFOW.mjs → chunk-XDTZXNGJ.mjs} +1 -1
  144. package/dist/{chunk-7XLBV46W.mjs → chunk-XG6JJCCJ.mjs} +1 -1
  145. package/dist/{chunk-BAIVRB2I.mjs → chunk-XKUZVQ2A.mjs} +1 -1
  146. package/dist/{chunk-SI5WP6I7.mjs → chunk-XO7MAUFC.mjs} +1 -1
  147. package/dist/{chunk-CTBCJZEG.mjs → chunk-XSORBGUU.mjs} +1 -1
  148. package/dist/{chunk-AN26QORL.mjs → chunk-XYK5KKOH.mjs} +1 -1
  149. package/dist/{chunk-CENNHSIS.mjs → chunk-ZC5WXVNV.mjs} +1 -1
  150. package/dist/{chunk-QXXKOFWM.mjs → chunk-ZI7HJRJA.mjs} +1 -1
  151. package/dist/{chunk-LQ7PGSP4.mjs → chunk-ZNLIC44U.mjs} +1 -1
  152. package/dist/chunk-ZP6QG5FX.mjs +10 -0
  153. package/dist/{chunk-EL5OYHOX.mjs → chunk-ZXEWW3E7.mjs} +1 -1
  154. package/dist/{chunk-UPJHL37C.mjs → chunk-ZZ7YJ2FN.mjs} +1 -1
  155. package/dist/hooks/useDevice.mjs +1 -1
  156. package/dist/hooks/useI18n.mjs +1 -1
  157. package/dist/hooks/useIntersectionObserver.mjs +1 -1
  158. package/dist/hooks/useLiveInteractionModality.mjs +1 -1
  159. package/dist/hooks/useMedia.mjs +1 -1
  160. package/dist/hooks/useMutationObserver.mjs +1 -1
  161. package/dist/hooks/usePortalContainer.mjs +1 -1
  162. package/dist/hooks/usePreventFocus.mjs +1 -1
  163. package/dist/hooks/useResizeObserver.mjs +1 -1
  164. package/dist/hooks/useTextSelection.mjs +1 -1
  165. package/dist/index.css +1 -1
  166. package/dist/index.d.ts +86 -12
  167. package/dist/index.js +21 -21
  168. package/dist/index.mjs +1 -1
  169. package/dist/messageIds.mjs +1 -1
  170. package/dist/utils/colors.mjs +1 -1
  171. package/dist/utils/dom.mjs +1 -1
  172. package/dist/utils/isInShadowDOM.mjs +1 -1
  173. package/dist/utils/keyboards.mjs +1 -1
  174. package/intl/ar.json +2 -0
  175. package/intl/cs.json +2 -0
  176. package/intl/cy.json +2 -0
  177. package/intl/da.json +2 -0
  178. package/intl/de.json +2 -0
  179. package/intl/el.json +2 -0
  180. package/intl/en-GB.json +2 -0
  181. package/intl/en.json +2 -0
  182. package/intl/es.json +2 -0
  183. package/intl/fi.json +2 -0
  184. package/intl/fr-CA.json +2 -0
  185. package/intl/fr.json +2 -0
  186. package/intl/he.json +2 -0
  187. package/intl/hr.json +2 -0
  188. package/intl/id.json +2 -0
  189. package/intl/it.json +2 -0
  190. package/intl/ja.json +2 -0
  191. package/intl/ko.json +2 -0
  192. package/intl/ms.json +2 -0
  193. package/intl/nb-NO.json +2 -0
  194. package/intl/nl.json +2 -0
  195. package/intl/pl.json +2 -0
  196. package/intl/pt-PT.json +2 -0
  197. package/intl/pt.json +2 -0
  198. package/intl/ru.json +2 -0
  199. package/intl/sk.json +2 -0
  200. package/intl/sl.json +2 -0
  201. package/intl/sv.json +2 -0
  202. package/intl/th.json +2 -0
  203. package/intl/tr.json +2 -0
  204. package/intl/uk.json +2 -0
  205. package/intl/zh-Hans.json +2 -0
  206. package/intl/zh-Hant.json +2 -0
  207. package/messages.json +8 -0
  208. package/package.json +4 -4
  209. package/sbom.json +6 -6
  210. package/dist/chunk-46RUOB4U.mjs +0 -29
  211. package/dist/chunk-AYQN3OH2.mjs +0 -10
  212. package/dist/chunk-FNCHBVLF.mjs +0 -10
  213. package/dist/chunk-OMWMNUTI.mjs +0 -10
  214. package/dist/chunk-R6Q7UMQS.mjs +0 -10
  215. package/dist/chunk-T6J7G3YL.mjs +0 -10
  216. package/dist/chunk-UYAFH4CW.mjs +0 -10
  217. package/dist/chunk-X7CKWYUD.mjs +0 -10
  218. package/dist/chunk-Y3HXPORF.mjs +0 -10
  219. package/dist/chunk-YMYMFVW4.mjs +0 -10
  220. package/dist/chunk-YQHHE5AT.mjs +0 -10
@@ -1,4 +1,4 @@
1
- import {a as a$1,e}from'./chunk-FCKJCFMD.mjs';import {a as a$g,b as b$4}from'./chunk-TIGGKOJQ.mjs';import {a as a$j}from'./chunk-4I7K4CCG.mjs';import {a as a$h}from'./chunk-YF63IQQR.mjs';import {b,c as c$1}from'./chunk-7MLFM55C.mjs';import {c as c$3}from'./chunk-W6QO7FPZ.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$7}from'./chunk-VXZT2JR2.mjs';import {a as a$i}from'./chunk-NUCSMH4S.mjs';import {a as a$c}from'./chunk-UFN2OAM2.mjs';import {b as b$2}from'./chunk-KG2EHFYA.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {a as a$f}from'./chunk-K5RYVERS.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {a as a$k}from'./chunk-66CUIXA6.mjs';import {a as a$e}from'./chunk-Y2MIU76N.mjs';import {a as a$b}from'./chunk-4QBHQCCK.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {d}from'./chunk-HH4VLTF3.mjs';import {b as b$3,a as a$d}from'./chunk-4S4GGUSH.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {a as a$a,h,l}from'./chunk-PPHSLODC.mjs';import {c}from'./chunk-3WKDIXCM.mjs';import {a as a$8}from'./chunk-SVIYLH7R.mjs';import {c as c$2}from'./chunk-ETM4MNG4.mjs';import {a as a$9}from'./chunk-6ZQE5SHE.mjs';import {b as b$5}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {HelpIcon}from'@baseline-ui/icons/16';import Mr,{useMemo,useState,useCallback,useRef}from'react';import {flushSync}from'react-dom';import {themeVars}from'@baseline-ui/tokens';import {jsx,jsxs}from'react/jsx-runtime';/**
1
+ import {a as a$1,e}from'./chunk-FCKJCFMD.mjs';import {a as a$g,b as b$4}from'./chunk-TIGGKOJQ.mjs';import {a as a$j}from'./chunk-4I7K4CCG.mjs';import {a as a$h}from'./chunk-YF63IQQR.mjs';import {b,c as c$1}from'./chunk-IDIZSV2Y.mjs';import {c as c$3}from'./chunk-W6QO7FPZ.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$7}from'./chunk-UY76QEJC.mjs';import {a as a$i}from'./chunk-NUCSMH4S.mjs';import {a as a$c}from'./chunk-UFN2OAM2.mjs';import {b as b$2}from'./chunk-KG2EHFYA.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {a as a$f}from'./chunk-K5RYVERS.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {a as a$e}from'./chunk-Y2MIU76N.mjs';import {a as a$k}from'./chunk-66CUIXA6.mjs';import {a as a$b}from'./chunk-4QBHQCCK.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {d}from'./chunk-HH4VLTF3.mjs';import {b as b$3,a as a$d}from'./chunk-4S4GGUSH.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {a as a$a,h,l}from'./chunk-PPHSLODC.mjs';import {c}from'./chunk-3WKDIXCM.mjs';import {a as a$8}from'./chunk-SVIYLH7R.mjs';import {c as c$2}from'./chunk-ETM4MNG4.mjs';import {a as a$9}from'./chunk-6ZQE5SHE.mjs';import {b as b$5}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {HelpIcon}from'@baseline-ui/icons/16';import Mr,{useMemo,useState,useCallback,useRef}from'react';import {flushSync}from'react-dom';import {themeVars}from'@baseline-ui/tokens';import {jsx,jsxs}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,4 +7,4 @@ import {a as a$1,e}from'./chunk-FCKJCFMD.mjs';import {a as a$g,b as b$4}from'./c
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- var ne={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xA0: ${e.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"},"zh-CN":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"},"zh-TW":{colorInputLabel:e=>`${e.label}\uFF0C${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"}};var Ye=e=>[0,60,120,180,240,300,360].map(r=>e.withChannelValue("hue",r).toString("css")).join(", "),Je=e=>`${e.withChannelValue("saturation",0)}, transparent`,wr={hue:Ye,saturation:Je,lightness:()=>"black, transparent, white"},Ar={hue:Ye,saturation:Je,brightness:()=>"black, transparent"};function Ze({direction:e,state:r,zChannel:l,xChannel:t,yChannel:a}){return useMemo(()=>{let y=e==="rtl"?"left":"right",C={},g=r.value.getChannelValue(l);switch(r.value.getColorSpace()){case "rgb":{let i=a$1("rgb(0, 0, 0)");C={background:[`linear-gradient(to ${y}, ${i.withChannelValue(t,0)}, ${i.withChannelValue(t,255)})`,`linear-gradient(to top, ${i.withChannelValue(a,0)}, ${i.withChannelValue(a,255)})`,i.withChannelValue(l,g)].join(","),backgroundBlendMode:"screen"};break}case "hsl":{let i=r.value.getColorChannels(),s=a$1("hsl(0, 100%, 50%)").withChannelValue(l,g),c=i.filter(n=>n!==l).map(n=>`linear-gradient(to ${n===t?y:"top"}, ${wr[n](s)})`).reverse();l==="hue"&&c.push(s.toString("css")),C={background:c.join(", ")};break}case "hsb":{let i=r.value.getColorChannels(),s=a$1("hsb(0, 100%, 100%)").withChannelValue(l,g),c=i.filter(n=>n!==l).map(n=>`linear-gradient(to ${n===t?y:"top"}, ${Ar[n](s)})`).reverse();l==="hue"&&c.push(s.toString("css")),C={background:c.join(", ")};break}}let{x:f,y:d}=r.getThumbPosition();e==="rtl"&&(f=1-f);let z={forcedColorAdjust:"none"};return {colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...z,...C}},thumbStyleProps:{style:{position:"absolute",left:`${f*100}%`,top:`${d*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...z}}}},[e,r,l,t,a])}function er(e,r){let{isDisabled:l$1,inputXRef:t,inputYRef:a,containerRef:u,"aria-label":y,xName:C,yName:g,form:f}=e,d=b$2(ne,"@react-aria/color"),{addGlobalListener:z,removeGlobalListener:i}=a$9(),{direction:s,locale:c$1}=b$1(),[n,v]=useState(null),b=useCallback((o=t)=>{o.current&&a$a(o.current);},[t]);a$b(t,r.defaultValue,r.setValue);let[S,h$1]=useState(false),[I,x]=useState(false),{xChannel:_,yChannel:m,zChannel:A}=r.channels,j$1=r.xChannelStep,N=r.yChannelStep,k=useRef(null),O=(o,p,w)=>{r.setDragging(true),h$1(true),o(),r.setDragging(false),b(p),v(w);},{keyboardProps:$}=j({shortcuts:{PageUp:()=>O(()=>{r.incrementY(r.yChannelPageStep);},a,"y"),PageDown:()=>O(()=>{r.decrementY(r.yChannelPageStep);},a,"y"),Home:()=>O(()=>{s==="rtl"?r.incrementX(r.xChannelPageStep):r.decrementX(r.xChannelPageStep);},t,"x"),End:()=>O(()=>{s==="rtl"?r.decrementX(r.xChannelPageStep):r.incrementX(r.xChannelPageStep);},t,"x")},allowRepeats:true}),J={onMoveStart(){k.current=null,r.setDragging(true);},onMove({deltaX:o,deltaY:p,pointerType:w,shiftKey:Z}){let{incrementX:U,decrementX:se,incrementY:ce,decrementY:T,xChannelPageStep:q,xChannelStep:B,yChannelPageStep:ke,yChannelStep:Pe,getThumbPosition:Sr,setColorFromPoint:gr}=r;k.current==null&&(k.current=Sr());let{width:xr,height:kr}=u.current?.getBoundingClientRect()||{width:0,height:0},we=o!==0||p!==0;if(w==="keyboard"){let Ae=Z&&q>B?q:B,$e=Z&&ke>Pe?ke:Pe;o>0&&s==="ltr"||o<0&&s==="rtl"?U(Ae):o<0&&s==="ltr"||o>0&&s==="rtl"?se(Ae):p>0?T($e):p<0&&ce($e),h$1(we),n=we&&Math.abs(p)>Math.abs(o)?"y":"x",v(n);}else k.current.x+=(s==="rtl"?-1:1)*o/xr,k.current.y+=p/kr,gr(k.current.x,k.current.y);},onMoveEnd(){M.current=false,r.setDragging(false),b(n==="x"?t:a);}},{moveProps:sr}=a$c(J),{focusWithinProps:cr}=b$3({onFocusWithinChange:o=>{o||(h$1(false),x(false));}}),F=useRef(void 0),M=useRef(false),{moveProps:dr}=a$c({onMoveStart(){M.current&&J.onMoveStart();},onMove(o){M.current&&J.onMove(o);},onMoveEnd(){M.current&&J.onMoveEnd();}}),pe=o=>{let p=b$5(u.current);r.isDragging||(F.current=o,h$1(false),b(),r.setDragging(true),typeof PointerEvent<"u"?z(p,"pointerup",R,false):(z(p,"mouseup",R,false),z(p,"touchend",R,false)));},R=o=>{let p=b$5(u.current);(o.pointerId??o.changedTouches?.[0].identifier)===F.current&&(h$1(false),b(),r.setDragging(false),F.current=void 0,M.current=false,typeof PointerEvent<"u"?i(p,"pointerup",R,false):(i(p,"mouseup",R,false),i(p,"touchend",R,false)));},ue=(o,p,w,Z)=>{let U=o.getBoundingClientRect(),{width:se,height:ce}=U,T=(w-U.x)/se,q=(Z-U.y)/ce;s==="rtl"&&(T=1-T);let B=b$5(u.current);T>=0&&T<=1&&q>=0&&q<=1&&!r.isDragging&&F.current===void 0&&(M.current=true,h$1(false),F.current=p,r.setColorFromPoint(T,q),b(),r.setDragging(true),typeof PointerEvent<"u"?z(B,"pointerup",E,false):(z(B,"mouseup",E,false),z(B,"touchend",E,false)));},E=o=>{let p=o.pointerId??o.changedTouches?.[0].identifier;if(M.current&&p===F.current){M.current=false,h$1(false),F.current=void 0,r.setDragging(false),b();let w=b$5(u.current);typeof PointerEvent<"u"?i(w,"pointerup",E,false):(i(w,"mouseup",E,false),i(w,"touchend",E,false));}},mr=l$1?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||ue(o.currentTarget,o.pointerId,o.clientX,o.clientY);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||ue(o.currentTarget,void 0,o.clientX,o.clientY);},onTouchStart:o=>{ue(o.currentTarget,o.changedTouches[0].identifier,o.changedTouches[0].clientX,o.changedTouches[0].clientY);}}},dr),yr=l$1?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||pe(o.pointerId);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||pe(void 0);},onTouchStart:o=>{pe(o.changedTouches[0].identifier);}}},cr,$,sr),{focusProps:br}=a$d({onFocus:()=>{v("x");}}),{focusProps:_r}=a$d({onFocus:()=>{v("y");}}),ve=o=>{let{target:p}=o;x(true),p===t.current?r.setXValue(parseFloat(p.value)):p===a.current&&r.setYValue(parseFloat(p.value));},W=h()||l(),P=r.getDisplayColor(),Se=useCallback(o=>`${I||S?d.format("colorNameAndValue",{name:P.getChannelName(o,c$1),value:P.formatChannelValue(o,c$1)}):[d.format("colorNameAndValue",{name:P.getChannelName(o,c$1),value:P.formatChannelValue(o,c$1)}),d.format("colorNameAndValue",{name:P.getChannelName(o===m?_:m,c$1),value:P.formatChannelValue(o===m?_:m,c$1)}),d.format("colorNameAndValue",{name:P.getChannelName(A,c$1),value:P.formatChannelValue(A,c$1)})].join(", ")}, ${P.getColorName(c$1)}`,[c$1,P,d,I,S,_,m,A]),H=d.format("colorPicker"),fr=a$e({...e,"aria-label":y?d.format("colorInputLabel",{label:y,channelLabel:H}):H}),zr=a$e({...e,"aria-label":y?d.format("colorInputLabel",{label:y,channelLabel:H}):H}),hr=a$e({...e,"aria-label":y?`${y}, ${H}`:void 0},W?H:void 0),ge=d.format("twoDimensionalSlider"),{visuallyHiddenProps:xe}=a$f({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:Cr,thumbStyleProps:vr}=Ze({direction:s,state:r,xChannel:_,yChannel:m,zChannel:A});return {colorAreaProps:{...hr,...mr,...Cr,role:"group"},thumbProps:{...yr,...vr,role:"presentation"},xInputProps:{...fr,...xe,...br,type:"range",min:r.value.getChannelRange(_).minValue,max:r.value.getChannelRange(_).maxValue,step:j$1,"aria-roledescription":ge,"aria-valuetext":Se(_),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l$1,value:r.value.getChannelValue(_),name:C,form:f,tabIndex:W||!n||n==="x"?void 0:-1,"aria-hidden":W||!n||n==="x"||S?void 0:"true",onChange:ve},yInputProps:{...zr,...xe,..._r,type:"range",min:r.value.getChannelRange(m).minValue,max:r.value.getChannelRange(m).maxValue,step:N,"aria-roledescription":ge,"aria-valuetext":Se(m),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l$1,value:r.value.getChannelValue(m),name:g,form:f,tabIndex:W||n==="y"?void 0:-1,"aria-hidden":W||n==="y"||S?void 0:"true",onChange:ve}}}function rr(e,r){let{trackRef:l,inputRef:t,orientation:a,channel:u,"aria-label":y,name:C,form:g}=e,{locale:f,direction:d}=b$1();!e.label&&!y&&!e["aria-labelledby"]&&(y=r.value.getChannelName(u,f));let{groupProps:z,trackProps:i,labelProps:s,outputProps:c$1}=a$g({...e,"aria-label":y},r,l),{inputProps:n,thumbProps:v}=b$4({index:0,orientation:a,isDisabled:e.isDisabled,name:C,form:g,trackRef:l,inputRef:t},r),b=r.getDisplayColor(),S=()=>{let x;switch(a==="vertical"?x="top":d==="ltr"?x="right":x="left",u){case "hue":{let _=[0,60,120,180,240,300,360].map(m=>b.withChannelValue("hue",m).toString("css")).join(", ");return `linear-gradient(to ${x}, ${_})`}case "lightness":{let _=r.getThumbMinValue(0),m=r.getThumbMaxValue(0),A=b.withChannelValue(u,_).toString("css"),j=b.withChannelValue(u,(m-_)/2).toString("css"),N=b.withChannelValue(u,m).toString("css");return `linear-gradient(to ${x}, ${A}, ${j}, ${N})`}case "saturation":case "brightness":case "red":case "green":case "blue":case "alpha":{let _=b.withChannelValue(u,r.getThumbMinValue(0)).toString("css"),m=b.withChannelValue(u,r.getThumbMaxValue(0)).toString("css");return `linear-gradient(to ${x}, ${_}, ${m})`}default:throw new Error("Unknown color channel: "+u)}},h={forcedColorAdjust:"none"};u==="hue"?n["aria-valuetext"]+=`, ${b.getHueName(f)}`:u!=="alpha"&&(n["aria-valuetext"]+=`, ${b.getColorName(f)}`);let{visuallyHiddenProps:I}=a$f({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return {trackProps:{...c(z,i),style:{...i.style,...h,background:S()}},inputProps:{...n,style:{...n.style,...I.style}},thumbProps:{...v,style:{...v.style,...h}},labelProps:s,outputProps:c$1}}function or(e,r,l){let{isDisabled:t,isReadOnly:a,isRequired:u,isWheelDisabled:y,validationBehavior:C="aria",onKeyDown:g,onKeyUp:f}=e,{colorValue:d,inputValue:z,increment:i,decrement:s,incrementToMax:c$1,decrementToMin:n,commit:v,commitValidation:b}=r,S=c$2(),{spinButtonProps:h}=a$h({isDisabled:t,isReadOnly:a,isRequired:u,maxValue:16777215,minValue:0,onIncrement:i,onIncrementToMax:c$1,onDecrement:s,onDecrementToMin:n,value:d?d.toHexInt():void 0,textValue:d?d.toString("hex"):void 0}),[I,x]=useState(false),{focusWithinProps:_}=b$3({isDisabled:t,onFocusWithinChange:x}),m=useCallback($=>{Math.abs($.deltaY)<=Math.abs($.deltaX)||($.deltaY>0?i():$.deltaY<0&&s());},[s,i]);a$i({onScroll:m,isDisabled:y||t||a||!I},l);let{keyboardProps:j$1}=j({isDisabled:t||a,shortcuts:{Enter:()=>(flushSync(()=>{v();}),b(),{shouldPreventDefault:false})},onKeyDown:g,onKeyUp:f}),N=$=>{r.validate($)&&r.setInputValue($);},{inputProps:k,...O}=a$j({...e,id:S,value:z,defaultValue:"!",validate:void 0,[c$3]:r,type:"text",autoComplete:"off",onChange:N,onKeyDown:void 0,onKeyUp:void 0},r,l);return a$b(l,r.defaultColorValue,r.setColorValue),k=c(j$1,k,h,_,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:v}),C==="native"&&(k["aria-required"]=void 0),{inputProps:k,...O}}function ie(e){let{color:r,colorName:l}=e,t=r||"#fff0",a=useMemo(()=>typeof t=="string"?a$1(t):t,[t]),{locale:u}=b$1(),y=a$8(e,{labelable:true}),C=b$2(ne,"@react-aria/color"),g=c$2(e.id);return l||(l=a.getChannelValue("alpha")===0?C.format("transparent"):a.getColorName(u)),{colorSwatchProps:{...y,role:"img","aria-roledescription":C.format("colorSwatch"),"aria-label":[l,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${g} ${e["aria-labelledby"]}`:void 0,id:g,style:{backgroundColor:a.toString("css"),forcedColorAdjust:"none"}},color:a||null}}var nl="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6m3",il="_1dbkl5e",pl=a({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6me _1yep5z6m6 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6ey _1yep5z6m5 _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z611l"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),ul="_1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kz _1yep5z6l0 _1yep5z6l1",sl=a({defaultClassName:"_1dbkl50 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6dy _1yep5z6ez",variantClassNames:{labelPosition:{top:"_1yep5z6oy _1yep5z6oz _1yep5z6p0",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),cl="_1dbkl5l _1yep5z6je _1yep5z6jf _1yep5z6jg _1yep5z69f _1yep5z69g _1yep5z69h",dl="_1dbkl5f z9nup86",ml="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv",lr="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6m6",yl="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6kz _1yep5z6l0 _1yep5z6l1 _1yep5z6dy _1yep5z6ez _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1",bl=a({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g9",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6nm _1yep5z6nn _1yep5z6no"}},defaultVariants:{},compoundVariants:[]}),_l="_1dbkl5v _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj",fl=a({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6mf _1yep5z6hg _1yep5z6m6 _1yep5z6ey _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z613w"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6xp _1yep5z6xq _1yep5z6xr _1yep5z6z1 _1yep5z6z2 _1yep5z6z3 _1yep5z618m"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61qj"]]}),zl=a({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f9 _1yep5z6m5 _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6lq _1yep5z6lt",variantClassNames:{isHovered:{true:"_1yep5z612u"},isFocusVisible:{true:"_1yep5z618s _1yep5z618q _1yep5z618t _1yep5z614w"},isDisabled:{true:"_1yep5z611u"}},defaultVariants:{},compoundVariants:[]}),hl="_1dbkl5g",Cl="_1dbkl5u",vl="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69f _1yep5z69g _1yep5z69h",Sl="_1dbkl5x",gl="_1dbkl5w",xl="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69l _1yep5z69m _1yep5z69n",kl=a({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6ma _1yep5z6iw _1yep5z6ix _1yep5z6iy _1yep5z6mf _1yep5z6mi",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z618q _1yep5z614w _1yep5z618s"}},defaultVariants:{},compoundVariants:[]}),Pl="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lw _1yep5z6lx _1yep5z6lz _1yep5z6ly _1yep5z6iw _1yep5z6ix _1yep5z6iy";var jl=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],Nl=a$1("#000000").toFormat("hsla"),fe="hsla",ze="hexa";function jr(e){let r=document.createElement("canvas").getContext("2d");return a$k(r,"Failed to get canvas context"),r.fillStyle=e,r.fillStyle}function Ml(e$1){if(typeof e$1=="string")try{return e(e$1).toFormat(fe)}catch{return a$1(jr(e$1)).toFormat(fe)}else if(e$1)return e$1.toFormat(fe);return null}function Fl(e,r){return e?.getChannelValue("alpha")?r?.toString(ze)===e.toString(ze):!r?.getChannelValue("alpha")}function Tl(e,r,l){return r?.label?r.label:e?.getChannelValue("alpha")===0?l:e?.toString("rgba")}var he="NONE";function Ol(e$1,r){let l=r?.map(a=>({id:e(a.color).toString(ze),label:a.label}))||[],t={id:he,label:e$1};return [...l,t]}var Rl=(e,{optionProps:r,isFocusVisible:l,isSelected:t},a)=>(a$k(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...r,ref:a,className:lr,children:jsx(Ce,{color:e.value.id,isFocusVisible:l,isSelected:t,"aria-label":e.value.label,isInteractive:true})})),ar=(e,r=4)=>{let l=e.getChannelValue("alpha")===0,t=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:l?t:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${t}`,backgroundSize:`${r}px ${r}px`}};var nr=a({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv _1yep5z6m0 _1yep5z6is _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kt _1yep5z6ku _1yep5z6kv z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z618s _1yep5z618q _1yep5z614w _1yep5z618v"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve"],[{isSelected:true,isDisabled:true},"_1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve _1yep5z61rp"],[{isHovered:true,isSelected:false},"_1yep5z61ve _1yep5z61vb _1yep5z61v9 _1yep5z61rj"]]}),ir="_1yep5z6fa",pr="_1344e9q9 _1yep5z6fp";var Ce=Mr.forwardRef(({color:e$1,isFocusVisible:r,isSelected:l,isInteractive:t,isDisabled:a,style:u,className:y,id:C,tooltip:g,isIndeterminate:f,indeterminateIcon:d$1=HelpIcon,noneLabel:z,"data-block-id":i,"data-block-class":s,...c$1},n)=>{let v=e$1&&e$1!==he&&(typeof e$1=="string"?e(e$1):e$1),{formatMessage:b$1}=b(),S=!v,{colorSwatchProps:h}=ie({color:S?"#000000":v}),{hoverProps:I,isHovered:x}=a$2({isDisabled:a||!t}),_=a$3({"data-focus-visible":r,"data-selected":l,"data-hovered":x,"data-block-id":i,"data-block-class":s,"data-disabled":a,"data-interactive":t,"data-indeterminate":f}),m=S?z??b$1(ur.none):h["aria-label"],A=c$1["aria-label"]??m,{tooltipProps:j}=a$4({tooltip:g,label:A}),N=jsx("div",{...c(I,_,S?{}:h),style:u,"aria-label":S?z??b$1(ur.none):h["aria-label"],role:"img",className:a$6(nr({removeBlendMode:S,isFocusVisible:r,isDisabled:!!a,isSelected:!!l,isHovered:x}),"BaselineUI-ColorSwatch",y),ref:n,id:C,...c$1,children:jsxs(a$5,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:a?"medium":void 0,style:v&&!f?ar(v,4):void 0,children:[S&&!f?jsx("div",{className:pr}):null,f&&d$1?jsx(d$1,{role:"presentation",size:16,className:ir,"aria-hidden":"true"}):null]})});return j&&!a?jsx(a$7,{...j,children:jsx(d,{children:N})}):N});Ce.displayName="ColorSwatch";var ur=c$1({none:{id:"bui.colorSwatch.none",defaultMessage:"None"}});export{fe as A,ze as B,Ml as C,Fl as D,Tl as E,he as F,Ol as G,Rl as H,Ce as I,er as a,or as b,rr as c,nl as d,il as e,pl as f,ul as g,sl as h,cl as i,dl as j,ml as k,yl as l,bl as m,_l as n,fl as o,zl as p,hl as q,Cl as r,vl as s,Sl as t,gl as u,xl as v,kl as w,Pl as x,jl as y,Nl as z};
10
+ var ne={"ar-AE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0623\u062F\u0627\u0629 \u0627\u0646\u062A\u0642\u0627\u0621 \u0627\u0644\u0644\u0648\u0646",colorSwatch:"\u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0623\u0644\u0648\u0627\u0646",transparent:"\u0634\u0641\u0627\u0641",twoDimensionalSlider:"\u0645\u064F\u0646\u0632\u0644\u0642 2D"},"bg-BG":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u043E \u0437\u0430 \u0438\u0437\u0431\u0438\u0440\u0430\u043D\u0435 \u043D\u0430 \u0446\u0432\u044F\u0442",colorSwatch:"\u0446\u0432\u0435\u0442\u043D\u0430 \u043C\u043E\u0441\u0442\u0440\u0430",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u0435\u043D",twoDimensionalSlider:"2D \u043F\u043B\u044A\u0437\u0433\u0430\u0447"},"cs-CZ":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDb\u011Br barvy",colorSwatch:"barevn\xFD vzorek",transparent:"pr\u016Fhledn\xFD",twoDimensionalSlider:"2D posuvn\xEDk"},"da-DK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farvev\xE6lger",colorSwatch:"farvepr\xF8ve",transparent:"gennemsigtig",twoDimensionalSlider:"2D-skyder"},"de-DE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Farbw\xE4hler",colorSwatch:"Farbfeld",transparent:"transparent",twoDimensionalSlider:"2D-Schieberegler"},"el-GR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u0395\u03C0\u03B9\u03BB\u03BF\u03B3\u03AD\u03B1\u03C2 \u03C7\u03C1\u03C9\u03BC\u03AC\u03C4\u03C9\u03BD",colorSwatch:"\u03C7\u03C1\u03C9\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B4\u03B5\u03AF\u03B3\u03BC\u03B1",transparent:"\u03B4\u03B9\u03B1\u03C6\u03B1\u03BD\u03AD\u03C2",twoDimensionalSlider:"\u03A1\u03C5\u03B8\u03BC\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC 2D"},"en-US":{colorPicker:"Color picker",twoDimensionalSlider:"2D slider",colorNameAndValue:e=>`${e.name}: ${e.value}`,colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorSwatch:"color swatch",transparent:"transparent"},"es-ES":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de color",colorSwatch:"muestra de color",transparent:"transparente",twoDimensionalSlider:"Regulador 2D"},"et-EE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rvivalija",colorSwatch:"v\xE4rvin\xE4idis",transparent:"l\xE4bipaistev",twoDimensionalSlider:"2D-liugur"},"fi-FI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xE4rimuokkain",colorSwatch:"v\xE4rimalli",transparent:"l\xE4pin\xE4kyv\xE4",twoDimensionalSlider:"2D-liukus\xE4\xE4din"},"fr-FR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\xA0: ${e.value}`,colorPicker:"S\xE9lecteur de couleurs",colorSwatch:"\xC9chantillon de couleurs",transparent:"Transparent",twoDimensionalSlider:"Curseur\xA02D"},"he-IL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u05D1\u05D5\u05D7\u05E8 \u05D4\u05E6\u05D1\u05E2\u05D9\u05DD",colorSwatch:"\u05D3\u05D5\u05D2\u05DE\u05D9\u05EA \u05E6\u05D1\u05E2",transparent:"\u05E9\u05E7\u05D5\u05E3",twoDimensionalSlider:"\u05DE\u05D7\u05D5\u05D5\u05DF \u05D3\u05D5 \u05DE\u05D9\u05DE\u05D3\u05D9"},"hr-HR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Odabir boje",colorSwatch:"uzorak boje",transparent:"transparentno",twoDimensionalSlider:"2D kliza\u010D"},"hu-HU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Sz\xEDnv\xE1laszt\xF3",colorSwatch:"sz\xEDnt\xE1r",transparent:"\xE1tl\xE1tsz\xF3",twoDimensionalSlider:"2D-cs\xFAszka"},"it-IT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selettore colore",colorSwatch:"campione di colore",transparent:"trasparente",twoDimensionalSlider:"Cursore 2D"},"ja-JP":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name} : ${e.value}`,colorPicker:"\u30AB\u30E9\u30FC\u30D4\u30C3\u30AB\u30FC",colorSwatch:"\u30AB\u30E9\u30FC\u30B9\u30A6\u30A9\u30C3\u30C1",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u30B9\u30E9\u30A4\u30C0\u30FC"},"ko-KR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\uC0C9\uC0C1 \uD53C\uCEE4",colorSwatch:"\uC0C9\uC0C1 \uACAC\uBCF8",transparent:"\uD22C\uBA85\uB3C4",twoDimensionalSlider:"2D \uC2AC\uB77C\uC774\uB354"},"lt-LT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Spalv\u0173 parinkiklis",colorSwatch:"spalv\u0173 pavyzdys",transparent:"skaidrus",twoDimensionalSlider:"2D slankiklis"},"lv-LV":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kr\u0101su atlas\u012Bt\u0101js",colorSwatch:"kr\u0101su paraugs",transparent:"caursp\u012Bd\u012Bgs",twoDimensionalSlider:"2D sl\u012Bdnis"},"nb-NO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Fargevelger",colorSwatch:"fargekart",transparent:"gjennomsiktig",twoDimensionalSlider:"2D-glidebryter"},"nl-NL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Kleurkiezer",colorSwatch:"kleurstaal",transparent:"transparant",twoDimensionalSlider:"2D-schuifregelaar"},"pl-PL":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Pr\xF3bnik kolor\xF3w",colorSwatch:"pr\xF3bka koloru",transparent:"przezroczysty",twoDimensionalSlider:"Suwak 2D"},"pt-BR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cores",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"pt-PT":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Seletor de cores",colorSwatch:"amostra de cor",transparent:"transparente",twoDimensionalSlider:"Controle deslizante 2D"},"ro-RO":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Selector de culori",colorSwatch:"specimen de culoare",transparent:"transparent",twoDimensionalSlider:"Glisor 2D"},"ru-RU":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0438\u0442\u0440\u0430 \u0446\u0432\u0435\u0442\u043E\u0432",colorSwatch:"\u0446\u0432\u0435\u0442\u043E\u0432\u043E\u0439 \u043E\u0431\u0440\u0430\u0437\u0435\u0446",transparent:"\u043F\u0440\u043E\u0437\u0440\u0430\u0447\u043D\u044B\u0439",twoDimensionalSlider:"\u041F\u043E\u043B\u0437\u0443\u043D\u043E\u043A 2D"},"sk-SK":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"V\xFDber farieb",colorSwatch:"vzorkovn\xEDk farieb",transparent:"transparentn\xFD",twoDimensionalSlider:"2D jazdec"},"sl-SI":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Izbirnik barv",colorSwatch:"barvna paleta",transparent:"prozorno",twoDimensionalSlider:"2D drsnik"},"sr-SP":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Bira\u010D boja",colorSwatch:"Uzorak boje",transparent:"providno",twoDimensionalSlider:"2D kliza\u010D"},"sv-SE":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"F\xE4rgv\xE4ljaren",colorSwatch:"f\xE4rgruta",transparent:"genomskinlig",twoDimensionalSlider:"2D-reglage"},"tr-TR":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"Renk Se\xE7ici",colorSwatch:"renk \xF6rne\u011Fi",transparent:"saydam",twoDimensionalSlider:"2D s\xFCrg\xFC"},"uk-UA":{colorInputLabel:e=>`${e.label}, ${e.channelLabel}`,colorNameAndValue:e=>`${e.name}: ${e.value}`,colorPicker:"\u041F\u0430\u043B\u0456\u0442\u0440\u0430 \u043A\u043E\u043B\u044C\u043E\u0440\u0456\u0432",colorSwatch:"\u0437\u0440\u0430\u0437\u043E\u043A \u043A\u043E\u043B\u044C\u043E\u0440\u0443",transparent:"\u043F\u0440\u043E\u0437\u043E\u0440\u0438\u0439",twoDimensionalSlider:"\u041F\u043E\u0432\u0437\u0443\u043D\u043E\u043A 2D"},"zh-CN":{colorInputLabel:e=>`${e.label}\u3001${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u62FE\u8272\u5668",colorSwatch:"\u989C\u8272\u8272\u677F",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u5757"},"zh-TW":{colorInputLabel:e=>`${e.label}\uFF0C${e.channelLabel}`,colorNameAndValue:e=>`${e.name}\uFF1A${e.value}`,colorPicker:"\u6AA2\u8272\u5668",colorSwatch:"\u8272\u7968",transparent:"\u900F\u660E",twoDimensionalSlider:"2D \u6ED1\u687F"}};var Ye=e=>[0,60,120,180,240,300,360].map(r=>e.withChannelValue("hue",r).toString("css")).join(", "),Je=e=>`${e.withChannelValue("saturation",0)}, transparent`,wr={hue:Ye,saturation:Je,lightness:()=>"black, transparent, white"},Ar={hue:Ye,saturation:Je,brightness:()=>"black, transparent"};function Ze({direction:e,state:r,zChannel:l,xChannel:t,yChannel:a}){return useMemo(()=>{let y=e==="rtl"?"left":"right",C={},g=r.value.getChannelValue(l);switch(r.value.getColorSpace()){case "rgb":{let i=a$1("rgb(0, 0, 0)");C={background:[`linear-gradient(to ${y}, ${i.withChannelValue(t,0)}, ${i.withChannelValue(t,255)})`,`linear-gradient(to top, ${i.withChannelValue(a,0)}, ${i.withChannelValue(a,255)})`,i.withChannelValue(l,g)].join(","),backgroundBlendMode:"screen"};break}case "hsl":{let i=r.value.getColorChannels(),s=a$1("hsl(0, 100%, 50%)").withChannelValue(l,g),c=i.filter(n=>n!==l).map(n=>`linear-gradient(to ${n===t?y:"top"}, ${wr[n](s)})`).reverse();l==="hue"&&c.push(s.toString("css")),C={background:c.join(", ")};break}case "hsb":{let i=r.value.getColorChannels(),s=a$1("hsb(0, 100%, 100%)").withChannelValue(l,g),c=i.filter(n=>n!==l).map(n=>`linear-gradient(to ${n===t?y:"top"}, ${Ar[n](s)})`).reverse();l==="hue"&&c.push(s.toString("css")),C={background:c.join(", ")};break}}let{x:f,y:d}=r.getThumbPosition();e==="rtl"&&(f=1-f);let z={forcedColorAdjust:"none"};return {colorAreaStyleProps:{style:{position:"relative",touchAction:"none",...z,...C}},thumbStyleProps:{style:{position:"absolute",left:`${f*100}%`,top:`${d*100}%`,transform:"translate(-50%, -50%)",touchAction:"none",...z}}}},[e,r,l,t,a])}function er(e,r){let{isDisabled:l$1,inputXRef:t,inputYRef:a,containerRef:u,"aria-label":y,xName:C,yName:g,form:f}=e,d=b$2(ne,"@react-aria/color"),{addGlobalListener:z,removeGlobalListener:i}=a$9(),{direction:s,locale:c$1}=b$1(),[n,v]=useState(null),b=useCallback((o=t)=>{o.current&&a$a(o.current);},[t]);a$b(t,r.defaultValue,r.setValue);let[S,h$1]=useState(false),[I,x]=useState(false),{xChannel:_,yChannel:m,zChannel:A}=r.channels,j$1=r.xChannelStep,N=r.yChannelStep,k=useRef(null),O=(o,p,w)=>{r.setDragging(true),h$1(true),o(),r.setDragging(false),b(p),v(w);},{keyboardProps:$}=j({shortcuts:{PageUp:()=>O(()=>{r.incrementY(r.yChannelPageStep);},a,"y"),PageDown:()=>O(()=>{r.decrementY(r.yChannelPageStep);},a,"y"),Home:()=>O(()=>{s==="rtl"?r.incrementX(r.xChannelPageStep):r.decrementX(r.xChannelPageStep);},t,"x"),End:()=>O(()=>{s==="rtl"?r.decrementX(r.xChannelPageStep):r.incrementX(r.xChannelPageStep);},t,"x")},allowRepeats:true}),J={onMoveStart(){k.current=null,r.setDragging(true);},onMove({deltaX:o,deltaY:p,pointerType:w,shiftKey:Z}){let{incrementX:U,decrementX:se,incrementY:ce,decrementY:T,xChannelPageStep:q,xChannelStep:B,yChannelPageStep:ke,yChannelStep:Pe,getThumbPosition:Sr,setColorFromPoint:gr}=r;k.current==null&&(k.current=Sr());let{width:xr,height:kr}=u.current?.getBoundingClientRect()||{width:0,height:0},we=o!==0||p!==0;if(w==="keyboard"){let Ae=Z&&q>B?q:B,$e=Z&&ke>Pe?ke:Pe;o>0&&s==="ltr"||o<0&&s==="rtl"?U(Ae):o<0&&s==="ltr"||o>0&&s==="rtl"?se(Ae):p>0?T($e):p<0&&ce($e),h$1(we),n=we&&Math.abs(p)>Math.abs(o)?"y":"x",v(n);}else k.current.x+=(s==="rtl"?-1:1)*o/xr,k.current.y+=p/kr,gr(k.current.x,k.current.y);},onMoveEnd(){M.current=false,r.setDragging(false),b(n==="x"?t:a);}},{moveProps:sr}=a$c(J),{focusWithinProps:cr}=b$3({onFocusWithinChange:o=>{o||(h$1(false),x(false));}}),F=useRef(void 0),M=useRef(false),{moveProps:dr}=a$c({onMoveStart(){M.current&&J.onMoveStart();},onMove(o){M.current&&J.onMove(o);},onMoveEnd(){M.current&&J.onMoveEnd();}}),pe=o=>{let p=b$5(u.current);r.isDragging||(F.current=o,h$1(false),b(),r.setDragging(true),typeof PointerEvent<"u"?z(p,"pointerup",R,false):(z(p,"mouseup",R,false),z(p,"touchend",R,false)));},R=o=>{let p=b$5(u.current);(o.pointerId??o.changedTouches?.[0].identifier)===F.current&&(h$1(false),b(),r.setDragging(false),F.current=void 0,M.current=false,typeof PointerEvent<"u"?i(p,"pointerup",R,false):(i(p,"mouseup",R,false),i(p,"touchend",R,false)));},ue=(o,p,w,Z)=>{let U=o.getBoundingClientRect(),{width:se,height:ce}=U,T=(w-U.x)/se,q=(Z-U.y)/ce;s==="rtl"&&(T=1-T);let B=b$5(u.current);T>=0&&T<=1&&q>=0&&q<=1&&!r.isDragging&&F.current===void 0&&(M.current=true,h$1(false),F.current=p,r.setColorFromPoint(T,q),b(),r.setDragging(true),typeof PointerEvent<"u"?z(B,"pointerup",E,false):(z(B,"mouseup",E,false),z(B,"touchend",E,false)));},E=o=>{let p=o.pointerId??o.changedTouches?.[0].identifier;if(M.current&&p===F.current){M.current=false,h$1(false),F.current=void 0,r.setDragging(false),b();let w=b$5(u.current);typeof PointerEvent<"u"?i(w,"pointerup",E,false):(i(w,"mouseup",E,false),i(w,"touchend",E,false));}},mr=l$1?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||ue(o.currentTarget,o.pointerId,o.clientX,o.clientY);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||ue(o.currentTarget,void 0,o.clientX,o.clientY);},onTouchStart:o=>{ue(o.currentTarget,o.changedTouches[0].identifier,o.changedTouches[0].clientX,o.changedTouches[0].clientY);}}},dr),yr=l$1?{}:c({...typeof PointerEvent<"u"?{onPointerDown:o=>{o.pointerType==="mouse"&&(o.button!==0||o.altKey||o.ctrlKey||o.metaKey)||pe(o.pointerId);}}:{onMouseDown:o=>{o.button!==0||o.altKey||o.ctrlKey||o.metaKey||pe(void 0);},onTouchStart:o=>{pe(o.changedTouches[0].identifier);}}},cr,$,sr),{focusProps:br}=a$d({onFocus:()=>{v("x");}}),{focusProps:_r}=a$d({onFocus:()=>{v("y");}}),ve=o=>{let{target:p}=o;x(true),p===t.current?r.setXValue(parseFloat(p.value)):p===a.current&&r.setYValue(parseFloat(p.value));},W=h()||l(),P=r.getDisplayColor(),Se=useCallback(o=>`${I||S?d.format("colorNameAndValue",{name:P.getChannelName(o,c$1),value:P.formatChannelValue(o,c$1)}):[d.format("colorNameAndValue",{name:P.getChannelName(o,c$1),value:P.formatChannelValue(o,c$1)}),d.format("colorNameAndValue",{name:P.getChannelName(o===m?_:m,c$1),value:P.formatChannelValue(o===m?_:m,c$1)}),d.format("colorNameAndValue",{name:P.getChannelName(A,c$1),value:P.formatChannelValue(A,c$1)})].join(", ")}, ${P.getColorName(c$1)}`,[c$1,P,d,I,S,_,m,A]),H=d.format("colorPicker"),fr=a$e({...e,"aria-label":y?d.format("colorInputLabel",{label:y,channelLabel:H}):H}),zr=a$e({...e,"aria-label":y?d.format("colorInputLabel",{label:y,channelLabel:H}):H}),hr=a$e({...e,"aria-label":y?`${y}, ${H}`:void 0},W?H:void 0),ge=d.format("twoDimensionalSlider"),{visuallyHiddenProps:xe}=a$f({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}}),{colorAreaStyleProps:Cr,thumbStyleProps:vr}=Ze({direction:s,state:r,xChannel:_,yChannel:m,zChannel:A});return {colorAreaProps:{...hr,...mr,...Cr,role:"group"},thumbProps:{...yr,...vr,role:"presentation"},xInputProps:{...fr,...xe,...br,type:"range",min:r.value.getChannelRange(_).minValue,max:r.value.getChannelRange(_).maxValue,step:j$1,"aria-roledescription":ge,"aria-valuetext":Se(_),"aria-orientation":"horizontal","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l$1,value:r.value.getChannelValue(_),name:C,form:f,tabIndex:W||!n||n==="x"?void 0:-1,"aria-hidden":W||!n||n==="x"||S?void 0:"true",onChange:ve},yInputProps:{...zr,...xe,..._r,type:"range",min:r.value.getChannelRange(m).minValue,max:r.value.getChannelRange(m).maxValue,step:N,"aria-roledescription":ge,"aria-valuetext":Se(m),"aria-orientation":"vertical","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"],disabled:l$1,value:r.value.getChannelValue(m),name:g,form:f,tabIndex:W||n==="y"?void 0:-1,"aria-hidden":W||n==="y"||S?void 0:"true",onChange:ve}}}function rr(e,r){let{trackRef:l,inputRef:t,orientation:a,channel:u,"aria-label":y,name:C,form:g}=e,{locale:f,direction:d}=b$1();!e.label&&!y&&!e["aria-labelledby"]&&(y=r.value.getChannelName(u,f));let{groupProps:z,trackProps:i,labelProps:s,outputProps:c$1}=a$g({...e,"aria-label":y},r,l),{inputProps:n,thumbProps:v}=b$4({index:0,orientation:a,isDisabled:e.isDisabled,name:C,form:g,trackRef:l,inputRef:t},r),b=r.getDisplayColor(),S=()=>{let x;switch(a==="vertical"?x="top":d==="ltr"?x="right":x="left",u){case "hue":{let _=[0,60,120,180,240,300,360].map(m=>b.withChannelValue("hue",m).toString("css")).join(", ");return `linear-gradient(to ${x}, ${_})`}case "lightness":{let _=r.getThumbMinValue(0),m=r.getThumbMaxValue(0),A=b.withChannelValue(u,_).toString("css"),j=b.withChannelValue(u,(m-_)/2).toString("css"),N=b.withChannelValue(u,m).toString("css");return `linear-gradient(to ${x}, ${A}, ${j}, ${N})`}case "saturation":case "brightness":case "red":case "green":case "blue":case "alpha":{let _=b.withChannelValue(u,r.getThumbMinValue(0)).toString("css"),m=b.withChannelValue(u,r.getThumbMaxValue(0)).toString("css");return `linear-gradient(to ${x}, ${_}, ${m})`}default:throw new Error("Unknown color channel: "+u)}},h={forcedColorAdjust:"none"};u==="hue"?n["aria-valuetext"]+=`, ${b.getHueName(f)}`:u!=="alpha"&&(n["aria-valuetext"]+=`, ${b.getColorName(f)}`);let{visuallyHiddenProps:I}=a$f({style:{opacity:"0.0001",width:"100%",height:"100%",pointerEvents:"none"}});return {trackProps:{...c(z,i),style:{...i.style,...h,background:S()}},inputProps:{...n,style:{...n.style,...I.style}},thumbProps:{...v,style:{...v.style,...h}},labelProps:s,outputProps:c$1}}function or(e,r,l){let{isDisabled:t,isReadOnly:a,isRequired:u,isWheelDisabled:y,validationBehavior:C="aria",onKeyDown:g,onKeyUp:f}=e,{colorValue:d,inputValue:z,increment:i,decrement:s,incrementToMax:c$1,decrementToMin:n,commit:v,commitValidation:b}=r,S=c$2(),{spinButtonProps:h}=a$h({isDisabled:t,isReadOnly:a,isRequired:u,maxValue:16777215,minValue:0,onIncrement:i,onIncrementToMax:c$1,onDecrement:s,onDecrementToMin:n,value:d?d.toHexInt():void 0,textValue:d?d.toString("hex"):void 0}),[I,x]=useState(false),{focusWithinProps:_}=b$3({isDisabled:t,onFocusWithinChange:x}),m=useCallback($=>{Math.abs($.deltaY)<=Math.abs($.deltaX)||($.deltaY>0?i():$.deltaY<0&&s());},[s,i]);a$i({onScroll:m,isDisabled:y||t||a||!I},l);let{keyboardProps:j$1}=j({isDisabled:t||a,shortcuts:{Enter:()=>(flushSync(()=>{v();}),b(),{shouldPreventDefault:false})},onKeyDown:g,onKeyUp:f}),N=$=>{r.validate($)&&r.setInputValue($);},{inputProps:k,...O}=a$j({...e,id:S,value:z,defaultValue:"!",validate:void 0,[c$3]:r,type:"text",autoComplete:"off",onChange:N,onKeyDown:void 0,onKeyUp:void 0},r,l);return a$b(l,r.defaultColorValue,r.setColorValue),k=c(j$1,k,h,_,{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null,autoCorrect:"off",spellCheck:"false",onBlur:v}),C==="native"&&(k["aria-required"]=void 0),{inputProps:k,...O}}function ie(e){let{color:r,colorName:l}=e,t=r||"#fff0",a=useMemo(()=>typeof t=="string"?a$1(t):t,[t]),{locale:u}=b$1(),y=a$8(e,{labelable:true}),C=b$2(ne,"@react-aria/color"),g=c$2(e.id);return l||(l=a.getChannelValue("alpha")===0?C.format("transparent"):a.getColorName(u)),{colorSwatchProps:{...y,role:"img","aria-roledescription":C.format("colorSwatch"),"aria-label":[l,e["aria-label"]||""].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]?`${g} ${e["aria-labelledby"]}`:void 0,id:g,style:{backgroundColor:a.toString("css"),forcedColorAdjust:"none"}},color:a||null}}var nl="_1dbkl53 _1yep5z6al _1yep5z6am _1yep5z6an _1yep5z6b9 _1yep5z6ba _1yep5z6bb _1yep5z6m3",il="_1dbkl5e",pl=a({defaultClassName:"_1dbkl54 _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6me _1yep5z6m6 _1yep5z69i _1yep5z69j _1yep5z69k _1yep5z6ey _1yep5z6m5 _1yep5z6dy",variantClassNames:{isHovered:{true:"_1dbkl55"},isFocusVisible:{true:"_1dbkl56"},isDisabled:{true:"z9nup82 _1yep5z611l"},labelPosition:{top:"_1dbkl58",start:"_1dbkl59"}},defaultVariants:{},compoundVariants:[]}),ul="_1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kz _1yep5z6l0 _1yep5z6l1",sl=a({defaultClassName:"_1dbkl50 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6dy _1yep5z6ez",variantClassNames:{labelPosition:{top:"_1yep5z6oy _1yep5z6oz _1yep5z6p0",start:"_1dbkl52"}},defaultVariants:{},compoundVariants:[]}),cl="_1dbkl5l _1yep5z6je _1yep5z6jf _1yep5z6jg _1yep5z69f _1yep5z69g _1yep5z69h",dl="_1dbkl5f z9nup86",ml="_1dbkl5m _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv",lr="_1dbkl5k _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6m6",yl="_1yep5z63r _1yep5z63s _1yep5z63t _1yep5z619 _1yep5z61a _1yep5z61b _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6kz _1yep5z6l0 _1yep5z6l1 _1yep5z6dy _1yep5z6ez _1yep5z69l _1yep5z69m _1yep5z69n _1yep5z6jz _1yep5z6k0 _1yep5z6k1",bl=a({defaultClassName:"_1dbkl5h _1dbkl5g _1yep5z63 _1yep5z64 _1yep5z65 _1yep5z62f _1yep5z62g _1yep5z62h _1yep5z6g9",variantClassNames:{includesCustomColorPicker:{true:"_1yep5z6nm _1yep5z6nn _1yep5z6no"}},defaultVariants:{},compoundVariants:[]}),_l="_1dbkl5v _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj",fl=a({defaultClassName:"_1dbkl5q _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62i _1yep5z62j _1yep5z62k _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6br _1yep5z6bs _1yep5z6bt _1yep5z6d3 _1yep5z6d4 _1yep5z6d5 _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6mf _1yep5z6hg _1yep5z6m6 _1yep5z6ey _1yep5z6dy",variantClassNames:{isFocused:{true:"_1dbkl5r _1yep5z613w"},isHovered:{true:"_1dbkl5s"},allowAlpha:{false:"_1yep5z6xp _1yep5z6xq _1yep5z6xr _1yep5z6z1 _1yep5z6z2 _1yep5z6z3 _1yep5z618m"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isFocused:false},"_1yep5z61qj"]]}),zl=a({defaultClassName:"_1dbkl5a _1yep5z66 _1yep5z67 _1yep5z68 _1yep5z62c _1yep5z62d _1yep5z62e _1yep5z63i _1yep5z63j _1yep5z63k _1yep5z616 _1yep5z617 _1yep5z618 _1yep5z6ai _1yep5z6aj _1yep5z6ak _1yep5z6b6 _1yep5z6b7 _1yep5z6b8 _1yep5z6bu _1yep5z6bv _1yep5z6bw _1yep5z6ci _1yep5z6cj _1yep5z6ck _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69c _1yep5z69d _1yep5z69e _1yep5z6f9 _1yep5z6m5 _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6lq _1yep5z6lt",variantClassNames:{isHovered:{true:"_1yep5z612u"},isFocusVisible:{true:"_1yep5z618s _1yep5z618q _1yep5z618t _1yep5z614w"},isDisabled:{true:"_1yep5z611u"}},defaultVariants:{},compoundVariants:[]}),hl="_1dbkl5g",Cl="_1dbkl5u",vl="_1dbkl5j _1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69f _1yep5z69g _1yep5z69h",Sl="_1dbkl5x",gl="_1dbkl5w",xl="_1yep5z69 _1yep5z6a _1yep5z6b _1yep5z62l _1yep5z62m _1yep5z62n _1yep5z63r _1yep5z63s _1yep5z63t _1yep5z61f _1yep5z61g _1yep5z61h _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jk _1yep5z6jl _1yep5z6jm _1yep5z69l _1yep5z69m _1yep5z69n",kl=a({defaultClassName:"_1dbkl5n _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6ma _1yep5z6iw _1yep5z6ix _1yep5z6iy _1yep5z6mf _1yep5z6mi",variantClassNames:{isFocusVisible:{true:"_1dbkl5o _1yep5z618q _1yep5z614w _1yep5z618s"}},defaultVariants:{},compoundVariants:[]}),Pl="z9nup83 z9nup85 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6lw _1yep5z6lx _1yep5z6lz _1yep5z6ly _1yep5z6iw _1yep5z6ix _1yep5z6iy";var jl=[{id:"hex",label:"HEX"},{id:"rgb",label:"RGB"}],Nl=a$1("#000000").toFormat("hsla"),fe="hsla",ze="hexa";function jr(e){if(typeof document>"u")return "#000000";let r=document.createElement("canvas").getContext("2d");return a$k(r,"Failed to get canvas context"),r.fillStyle=e,r.fillStyle}function Ml(e$1){if(typeof e$1=="string")try{return e(e$1).toFormat(fe)}catch{return a$1(jr(e$1)).toFormat(fe)}else if(e$1)return e$1.toFormat(fe);return null}function Fl(e,r){return e?.getChannelValue("alpha")?r?.toString(ze)===e.toString(ze):!r?.getChannelValue("alpha")}function Tl(e,r,l){return r?.label?r.label:e?.getChannelValue("alpha")===0?l:e?.toString("rgba")}var he="NONE";function Ol(e$1,r){let l=r?.map(a=>({id:e(a.color).toString(ze),label:a.label}))||[],t={id:he,label:e$1};return [...l,t]}var Rl=(e,{optionProps:r,isFocusVisible:l,isSelected:t},a)=>(a$k(e.value&&"label"in e.value,"Item must have label"),jsx("li",{...r,ref:a,className:lr,children:jsx(Ce,{color:e.value.id,isFocusVisible:l,isSelected:t,"aria-label":e.value.label,isInteractive:true})})),ar=(e,r=4)=>{let l=e.getChannelValue("alpha")===0,t=`repeating-conic-gradient(transparent 0% 25%, ${themeVars.color.background.secondary.medium} 25% 50%)`;return {backgroundImage:l?t:`linear-gradient(${e.toString("hexa")}, ${e.toString("hexa")}), ${t}`,backgroundSize:`${r}px ${r}px`}};var nr=a({defaultClassName:"_1344e9q0 _1yep5z6b0 _1yep5z6b1 _1yep5z6b2 _1yep5z6bo _1yep5z6bp _1yep5z6bq _1yep5z6cc _1yep5z6cd _1yep5z6ce _1yep5z6d0 _1yep5z6d1 _1yep5z6d2 _1yep5z6it _1yep5z6iu _1yep5z6iv _1yep5z6m0 _1yep5z6is _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6kt _1yep5z6ku _1yep5z6kv z9nup8a",variantClassNames:{isFocusVisible:{true:"_1344e9q1"},isDisabled:{true:"_1344e9q2"},removeBlendMode:{true:"_1344e9q3"},isSelected:{true:"_1yep5z618s _1yep5z618q _1yep5z614w _1yep5z618v"},isHovered:{true:"_1344e9q5"}},defaultVariants:{},compoundVariants:[[{isSelected:false,isFocusVisible:true},"_1344e9q6"],[{isSelected:true,isFocusVisible:true},"_1344e9q7 _1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve"],[{isSelected:true,isDisabled:true},"_1yep5z61vb _1yep5z61v9 _1yep5z61rf _1yep5z61ve _1yep5z61rp"],[{isHovered:true,isSelected:false},"_1yep5z61ve _1yep5z61vb _1yep5z61v9 _1yep5z61rj"]]}),ir="_1yep5z6fa",pr="_1344e9q9 _1yep5z6fp";var Ce=Mr.forwardRef(({color:e$1,isFocusVisible:r,isSelected:l,isInteractive:t,isDisabled:a,style:u,className:y,id:C,tooltip:g,isIndeterminate:f,indeterminateIcon:d$1=HelpIcon,noneLabel:z,"data-block-id":i,"data-block-class":s,...c$1},n)=>{let v=e$1&&e$1!==he&&(typeof e$1=="string"?e(e$1):e$1),{formatMessage:b$1}=b(),S=!v,{colorSwatchProps:h}=ie({color:S?"#000000":v}),{hoverProps:I,isHovered:x}=a$2({isDisabled:a||!t}),_=a$3({"data-focus-visible":r,"data-selected":l,"data-hovered":x,"data-block-id":i,"data-block-class":s,"data-disabled":a,"data-interactive":t,"data-indeterminate":f}),m=S?z??b$1(ur.none):h["aria-label"],A=c$1["aria-label"]??m,{tooltipProps:j}=a$4({tooltip:g,label:A}),N=jsx("div",{...c(I,_,S?{}:h),style:u,"aria-label":S?z??b$1(ur.none):h["aria-label"],role:"img",className:a$6(nr({removeBlendMode:S,isFocusVisible:r,isDisabled:!!a,isSelected:!!l,isHovered:x}),"BaselineUI-ColorSwatch",y),ref:n,id:C,...c$1,children:jsxs(a$5,{display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"full",height:"full",width:"full",opacity:a?"medium":void 0,style:v&&!f?ar(v,4):void 0,children:[S&&!f?jsx("div",{className:pr}):null,f&&d$1?jsx(d$1,{role:"presentation",size:16,className:ir,"aria-hidden":"true"}):null]})});return j&&!a?jsx(a$7,{...j,children:jsx(d,{children:N})}):N});Ce.displayName="ColorSwatch";var ur=c$1({none:{id:"bui.colorSwatch.none",defaultMessage:"None"}});export{fe as A,ze as B,Ml as C,Fl as D,Tl as E,he as F,Ol as G,Rl as H,Ce as I,er as a,or as b,rr as c,nl as d,il as e,pl as f,ul as g,sl as h,cl as i,dl as j,ml as k,yl as l,bl as m,_l as n,fl as o,zl as p,hl as q,Cl as r,vl as s,Sl as t,gl as u,xl as v,kl as w,Pl as x,jl as y,Nl as z};
@@ -1,4 +1,4 @@
1
- import {b as b$1,d,e,c as c$1}from'./chunk-ZA2FH3MS.mjs';import {a as a$2}from'./chunk-PYV5J322.mjs';import {a,b as b$2}from'./chunk-SZTFMBPY.mjs';import {a as a$3}from'./chunk-O7XK2WIX.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-K5RYVERS.mjs';import {a as a$5}from'./chunk-FPM5UJRF.mjs';import {a as a$1}from'./chunk-STMDFIUL.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import E,{useMemo,useCallback}from'react';import {Time,toZoned,toTime,GregorianCalendar,toCalendarDateTime,today,getLocalTimeZone}from'@internationalized/date';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {b as b$1,d,e,c as c$1}from'./chunk-3RWM6E56.mjs';import {a as a$2}from'./chunk-PYV5J322.mjs';import {a,b as b$2}from'./chunk-SZTFMBPY.mjs';import {a as a$3}from'./chunk-O7XK2WIX.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-K5RYVERS.mjs';import {a as a$5}from'./chunk-FPM5UJRF.mjs';import {a as a$1}from'./chunk-STMDFIUL.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import E,{useMemo,useCallback}from'react';import {Time,toZoned,toTime,GregorianCalendar,toCalendarDateTime,today,getLocalTimeZone}from'@internationalized/date';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -0,0 +1,10 @@
1
+ import {a as a$3}from'./chunk-CWPFUB7B.mjs';import {a as a$e}from'./chunk-NV7KQVPE.mjs';import {a as a$f}from'./chunk-KVIV5RTE.mjs';import {f,b as b$4,i,g,a as a$b,h,c as c$3,e as e$1,d}from'./chunk-5VNC6UYE.mjs';import {a as a$a}from'./chunk-NMSOOQB2.mjs';import {a as a$9}from'./chunk-OVJT5F2R.mjs';import {q as q$1}from'./chunk-266F6F4Y.mjs';import {c as c$2}from'./chunk-6DYTFYPO.mjs';import {p}from'./chunk-6Z3GYFG5.mjs';import {a as a$8}from'./chunk-XSORBGUU.mjs';import {a as a$7,b as b$5}from'./chunk-KCHAWPUN.mjs';import {b as b$3,e}from'./chunk-RFVPGD6N.mjs';import {b}from'./chunk-4Y4WKIL5.mjs';import {b as b$2,c as c$1}from'./chunk-IDIZSV2Y.mjs';import {a as a$d}from'./chunk-O7XK2WIX.mjs';import {a as a$c}from'./chunk-JTKDC2CM.mjs';import {a as a$4}from'./chunk-UY76QEJC.mjs';import {a as a$6}from'./chunk-FPM5UJRF.mjs';import {a}from'./chunk-SGZWUG3H.mjs';import {a as a$1}from'./chunk-B3EZOXNU.mjs';import {a as a$5}from'./chunk-RT4LMB6X.mjs';import {b as b$1,c}from'./chunk-3WKDIXCM.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {sprinkles}from'@baseline-ui/tokens';import J,{useRef,useLayoutEffect,useState,useContext,useEffect,useCallback,useMemo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {XIcon}from'@baseline-ui/icons/12';import {useReducedMotion,motion}from'motion/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 Me=t=>a$9({getItems:(e,o)=>o.map(s=>({"text/plain":s.label})),renderDropIndicator(e){return jsx(c$2,{target:e,className:({isDropTarget:o})=>a$2(a$a({isDropTarget:o}),"BaselineUI-DropIndicator")})},...t});function q(t,e){return t.find(o=>o.id===e)}function Re(t,e,o){let s=[...t],l=s.filter(r=>o.has(r.id)),n=s.filter(r=>!o.has(r.id)),i=n.findIndex(r=>r.id===e);return n.flatMap((r,c)=>c===i?[...l,r]:r)}function Ee(t,e,o){let s=[...t],l=s.filter(r=>o.has(r.id)),n=s.filter(r=>!o.has(r.id)),i=n.findIndex(r=>r.id===e);return n.flatMap((r,c)=>c===i?[r,...l]:r)}function V(t){return t.map(e=>({id:e.id,label:e.label,data:{src:e.src,alt:e.alt}}))}function E(t){return t.map(e=>({id:e.id,label:e.label,src:e.data?.src,alt:e.data?.alt}))}var K={src:"src",alt:"alt"},T={sm:102,md:170};function Ke(t,e){let o=q(t,e);return {[K.src]:o?.data?.src||"",[K.alt]:o?.data?.alt||"",key:String(e)}}function He(t){let e=t[K.src];return e?{src:String(e),alt:t[K.alt]?String(t[K.alt]):""}:null}function _e({fit:t,imageDimensions:e,item:o,isSelected:s}){let l={display:"block",objectFit:t},n=typeof e=="function"?o?e(o,{isSelected:s}):void 0:e;if(!n)return l;let i=typeof n.width=="string"?T[n.width]:n.width;return l.width=i,l.aspectRatio="height"in n?`${i} / ${n.height}`:n.aspectRatio.toString(),l}var ze=J.forwardRef(({className:t,children:e,style:o,isDisabled:s,onTruncatedChange:l,onHoverChange:n},i)=>{let r=useRef(null),{buttonProps:c$1}=a({elementType:"span",isDisabled:s},r);useLayoutEffect(()=>{r.current&&l?.(r.current.scrollWidth>r.current.clientWidth);},[e,l]);let{hoverProps:I}=a$1({isDisabled:s,onHoverChange:n});return jsx(b,{elementType:"span",slot:"label",...c(c$1,I),className:a$2(t,"BaselineUI-AdaptiveText"),tabIndex:-1,ref:b$1(r,i),style:o,role:void 0,children:e})});ze.displayName="Label";var re=J.memo(J.forwardRef(({children:t,isOpen:e,isDisabled:o,...s},l)=>{let[n,i]=useState(false),[r,c]=useState(false),I=a$3(),S=o||!r||I;return jsx(a$4,{text:t,variant:"inverse",includeArrow:false,size:"sm",placement:"bottom start",isOpen:(n||e)&&r,isDisabled:S,children:jsx(ze,{...s,isDisabled:S,onTruncatedChange:c,onHoverChange:i,ref:l,children:t})})}));re.displayName="AdaptiveText";var mt=({fit:t,item:e,deleteElement:o,loadingLabel:s})=>{let{formatMessage:l}=b$2(),{isLoading:n,imgProps:i}=a$e({src:e.data?.src,alt:e.data?.alt||""});return jsxs("div",{className:e$1,children:[n?jsx(a$f,{"aria-label":s??l(H.loading)}):jsx("div",{role:"img",className:d({isLoading:n}),"aria-label":i.alt||"",style:{backgroundImage:`url(${i.src})`,backgroundSize:t}}),o]})},Fe=({item:t,options:{isFocusVisible:e,isSelected:o,isFocused:s,isDisabled:l,isPressed:n},fit:i="contain",onDelete:r,className:c,imageClassName:I,imageLabelClassName:S,imageDimensions:A,style:_,layoutTransition:L=true,deleteLabel:U,loadingLabel:z,renderImage:F=(w,{deleteElement:G})=>jsx(mt,{item:w,deleteElement:G,fit:i,loadingLabel:z})})=>{let{formatMessage:w}=b$2(),G=r?jsx("div",{className:a$b,children:jsx(a$c,{"aria-label":U??w(H.delete),size:"xs",icon:XIcon,onPress:()=>{r(t.id);},UNSAFE_isVisuallyInteractiveOnly:true})}):null,v=E([t])[0],k=useCallback(C=>{let f={},m=typeof C=="function"?C(v,{isSelected:o}):C;return m&&(f.width=typeof m.width=="string"?T[m.width]:m.width,f.aspectRatio="height"in m?`${f.width} / ${m.height}`:m?.aspectRatio?.toString()),f},[v,o]),x=useMemo(()=>({isFocusVisible:e,isSelected:o,isFocused:s,isDisabled:l,isPressed:n}),[e,o,s,l,n]),O=!useReducedMotion()&&(typeof L=="boolean"?L:true),b=typeof L=="object"?L:void 0,$=k(A),W=O?motion.div:"div";return jsxs(W,{...O?{layout:"position",initial:false,transition:b}:{},className:a$2(c$3,a$7(c,v,x)),style:b$5(_,v,x),children:[jsx(a$d,{display:"flex",flexDirection:"column",flex:1,justifyContent:"center",alignItems:"center",flexGrow:0,children:jsx("div",{className:a$2(g({isFocusVisible:e,isSelected:o,isLoading:true}),a$7(I,v,x)),style:$,"data-image-key":t.id,children:F(t,{deleteElement:G??void 0,onDelete:r})})}),jsx(re,{className:a$2(h({isFocusVisible:e,isSelected:o}),S),style:{maxWidth:$.width},isOpen:e,children:t.label})]})};function ft(t,e){return t==="all"?true:"has"in t&&typeof t.has=="function"?t.has(e):[...t].includes(e)}var Xe=J.forwardRef(({className:t,style:e$1,fit:o="cover",onReorder:s,"data-block-id":l,"data-block-class":n,onDelete:i$1,imageWidth:r=T.sm,aspectRatio:c=3/4,items:I,defaultItems:S=[],onKeyDown:A,imageContainerClassName:_,imageClassName:L,labelClassName:U,onListChange:z,renderImage:F,layoutTransition:w,imageDimensions:G,imageContainerStyle:v,deleteConfirmationTitle:k="Are you sure you want to delete this item?",deleteLabel:x,cancelLabel:ae,loadingLabel:O,...b},$)=>{let{isVirtualized:W}=useContext(p),C=a$5($),[f$1,m]=useState([]),{formatMessage:ne}=b$2();useEffect(()=>{(c||r)&&console.warn("ImageGallery: aspectRatio and imageWidth are deprecated. Use imageDimensions instead.");},[r,c]);let Q=J.useMemo(()=>G??{width:r,aspectRatio:c},[G,r,c]),[P,je]=a$6(b.selectedKeys,b.defaultSelectedKeys??[],b.onSelectionChange),qe=J.useMemo(()=>I?V(I):void 0,[I]),Je=J.useMemo(()=>V(S),[]),[u,B]=a$6(qe,Je,z?a=>{z?.(E(a));}:void 0),Qe=useCallback(a=>{let p=a.target.key,d=a.keys;if(a.target.dropPosition==="before"){let g=Re(u,p,d);B(g);}else if(a.target.dropPosition==="after"){let g=Ee(u,p,d);B(g);}s?.(a);},[u,s,B]),{dragAndDropHooks:Ye}=Me({onReorder:Qe,isDisabled:!s,renderDragPreview:a=>jsx(i,{items:a,containerClassName:".BaselineUI-ImageGallery",previewClassName:g(),itemDataAttribute:"data-image-key",showCount:true,renderFallback:p=>{let d=He(p);if(!d)return null;let g=q(u,p.key),N=g?E([g])[0]:void 0;return jsx("img",{...d,style:_e({fit:o,imageDimensions:Q,item:N,isSelected:ft(P,p.key)})})}}),getItems:a=>[...a].map(p=>Ke(u,p)),renderDropIndicator(a){return jsx(c$2,{target:a,className:a$2(b$4({isVirtualized:!!W}),"BaselineUI-DropIndicator")})}}),Ze=useCallback(()=>{i$1&&f$1.length&&(B(u.filter(a=>!f$1.includes(a.id))),i$1(f$1),m([]));},[f$1,u,i$1,B]),Ve=useCallback((a,p)=>{let d={id:a.id,label:a.label,src:a.data?.src,alt:a.data?.alt};return jsx(Fe,{item:a,options:p,fit:o,onDelete:i$1?g=>{m([g]);}:void 0,renderImage:F,className:a$7(_,d,p),imageClassName:L,imageLabelClassName:U,imageDimensions:Q,style:v,layoutTransition:w,deleteLabel:x,loadingLabel:O},a.id)},[o,i$1,F,_,L,U,Q,v,w,x,O]);return useEffect(()=>{let a=C.current;if(!a)return;let p=d=>{if(A?.(d),d.key==="Backspace"||d.key==="Delete"){if(!i$1)return;if(P==="all"){let et=new Set(b.disabledKeys);m(u.map(Y=>Y.id).filter(Y=>!et.has(Y)));return}let g=[...P];if(g.length){m(g);return}let N=d.target.closest("[data-key]");if(!N||!a.contains(N))return;m([N.dataset.key]);}};return a.addEventListener("keydown",p),()=>{a.removeEventListener("keydown",p);}},[C,i$1,A,P,u,b.disabledKeys]),jsxs(Fragment,{children:[jsx(q$1,{...b,ref:C,style:e$1,className:a$2(f,"BaselineUI-ImageGallery",t),"data-block-id":l,"data-block-class":n,selectedKeys:P,items:u,dragAndDropHooks:Ye,layout:"grid",orientation:"vertical",renderOption:Ve,onSelectionChange:je,optionClassName:s&&!W?sprinkles({marginLeft:"sm"}):void 0}),jsx(b$3,{isOpen:!![...f$1].length,onOpenChange:a=>{a||m([]);},children:jsx(e,{isDismissable:true,children:jsx(a$8,{showCloseButton:false,title:typeof k=="function"?k(P==="all"?"all":new Set(P)):k,primaryActionLabel:x??ne(H.delete),cancelLabel:ae??ne(H.cancel),onCancel:()=>{m([]);},onPrimaryAction:Ze,autoFocusButton:"cancel"})})})]})});Xe.displayName="ImageGallery";var H=c$1({delete:{id:"bui.imageGallery.delete",defaultMessage:"Delete"},cancel:{id:"bui.imageGallery.cancel",defaultMessage:"Cancel"},loading:{id:"bui.imageGallery.loading",defaultMessage:"Loading"}});export{Xe as a};
@@ -1,4 +1,4 @@
1
- import {b,a as a$5}from'./chunk-AN26QORL.mjs';import {a as a$1,f as f$1}from'./chunk-6GMU63H2.mjs';import {a as a$3}from'./chunk-5BAHJXOI.mjs';import {b as b$2,a as a$g,q}from'./chunk-OMWMNUTI.mjs';import {a as a$a}from'./chunk-2MS356Q7.mjs';import {a as a$f}from'./chunk-O6FPWOHR.mjs';import {a as a$7,b as b$1}from'./chunk-SZTFMBPY.mjs';import {f}from'./chunk-UZ672WDX.mjs';import {a as a$c}from'./chunk-R6TFTLMV.mjs';import {b as b$4}from'./chunk-AFOW62QN.mjs';import {a as a$e}from'./chunk-VXZT2JR2.mjs';import {a as a$4}from'./chunk-CIPPPD6E.mjs';import {a as a$i}from'./chunk-5IC46G5J.mjs';import {a as a$d}from'./chunk-VDUFLHKK.mjs';import {a as a$b}from'./chunk-RSKKEGJZ.mjs';import {a as a$9}from'./chunk-STMDFIUL.mjs';import {j as j$1}from'./chunk-KUDCYGII.mjs';import {a as a$8}from'./chunk-B3EZOXNU.mjs';import {d}from'./chunk-F7WPMQ3P.mjs';import {a as a$2}from'./chunk-RT4LMB6X.mjs';import {a as a$6,c as c$1,b as b$3}from'./chunk-3WKDIXCM.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {j,h}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$h}from'./chunk-4QEH5CGK.mjs';import x,{useMemo,useState,useRef,useEffect}from'react';import {useGranularEffect}from'granular-hooks';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
1
+ import {b,a as a$5}from'./chunk-XYK5KKOH.mjs';import {a as a$1,f as f$1}from'./chunk-7OUGARUO.mjs';import {a as a$3}from'./chunk-5BAHJXOI.mjs';import {b as b$2,a as a$g,q}from'./chunk-266F6F4Y.mjs';import {a as a$a}from'./chunk-2MS356Q7.mjs';import {a as a$f}from'./chunk-J2KZM2I2.mjs';import {a as a$7,b as b$1}from'./chunk-SZTFMBPY.mjs';import {f}from'./chunk-UZ672WDX.mjs';import {a as a$c}from'./chunk-R6TFTLMV.mjs';import {b as b$4}from'./chunk-INFMXVHD.mjs';import {a as a$e}from'./chunk-UY76QEJC.mjs';import {a as a$4}from'./chunk-CIPPPD6E.mjs';import {a as a$i}from'./chunk-5IC46G5J.mjs';import {a as a$d}from'./chunk-VDUFLHKK.mjs';import {a as a$b}from'./chunk-RSKKEGJZ.mjs';import {a as a$9}from'./chunk-STMDFIUL.mjs';import {a as a$8}from'./chunk-B3EZOXNU.mjs';import {j as j$1}from'./chunk-KUDCYGII.mjs';import {d}from'./chunk-F7WPMQ3P.mjs';import {a as a$2}from'./chunk-RT4LMB6X.mjs';import {a as a$6,c as c$1,b as b$3}from'./chunk-3WKDIXCM.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {j,h}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$h}from'./chunk-4QEH5CGK.mjs';import x,{useMemo,useState,useRef,useEffect}from'react';import {useGranularEffect}from'granular-hooks';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a}from'./chunk-YYU46XNM.mjs';import {b}from'./chunk-OQPYPKZV.mjs';import p from'react';import {jsx}from'react/jsx-runtime';/**
1
+ import {a}from'./chunk-RFVPGD6N.mjs';import {b}from'./chunk-OQPYPKZV.mjs';import p from'react';import {jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {b}from'./chunk-OQPYPKZV.mjs';import {j,e,c,h}from'./chunk-AYQN3OH2.mjs';import {a as a$1}from'./chunk-STMDFIUL.mjs';import {a}from'./chunk-B3EZOXNU.mjs';import {a as a$2}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$3}from'./chunk-SVIYLH7R.mjs';import {j as j$1}from'./chunk-SD43KVTU.mjs';import {createContext,forwardRef}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
1
+ import {b}from'./chunk-OQPYPKZV.mjs';import {j,e,c,h}from'./chunk-RINS2TBF.mjs';import {a as a$1}from'./chunk-STMDFIUL.mjs';import {a}from'./chunk-B3EZOXNU.mjs';import {a as a$2}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$3}from'./chunk-SVIYLH7R.mjs';import {j as j$1}from'./chunk-SD43KVTU.mjs';import {createContext,forwardRef}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$6}from'./chunk-SZCVQU55.mjs';import {a as a$2}from'./chunk-YS3Z53YT.mjs';import {a as a$e}from'./chunk-JBXZ6ZHP.mjs';import {a as a$b}from'./chunk-BPW4QRPV.mjs';import {a as a$d}from'./chunk-3DWFAHR2.mjs';import {a as a$c}from'./chunk-O7XK2WIX.mjs';import {a as a$a}from'./chunk-HABKIEKC.mjs';import {a as a$4}from'./chunk-LQHFBXCW.mjs';import {a as a$8}from'./chunk-CIPPPD6E.mjs';import {a as a$9,b as b$2}from'./chunk-RSKKEGJZ.mjs';import {a as a$5}from'./chunk-STMDFIUL.mjs';import {a as a$7}from'./chunk-4S4GGUSH.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {d}from'./chunk-F7WPMQ3P.mjs';import {b,c}from'./chunk-3WKDIXCM.mjs';import {c as c$1}from'./chunk-ETM4MNG4.mjs';import {a as a$3,b as b$1}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import R,{useContext,useMemo,useRef,useCallback,useEffect,useImperativeHandle,useState}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {PlusIcon}from'@baseline-ui/icons/12';import {themeVars}from'@baseline-ui/tokens';import {useGranularEffect}from'granular-hooks';import Ze from'just-camel-case';import*as it from'comlink';/**
1
+ import {a as a$6}from'./chunk-SZCVQU55.mjs';import {a as a$2}from'./chunk-YS3Z53YT.mjs';import {a as a$e}from'./chunk-JBXZ6ZHP.mjs';import {a as a$b}from'./chunk-BPW4QRPV.mjs';import {a as a$d}from'./chunk-6GV3YWV7.mjs';import {a as a$c}from'./chunk-O7XK2WIX.mjs';import {a as a$a}from'./chunk-HABKIEKC.mjs';import {a as a$4}from'./chunk-LQHFBXCW.mjs';import {a as a$8}from'./chunk-CIPPPD6E.mjs';import {a as a$9,b as b$2}from'./chunk-RSKKEGJZ.mjs';import {a as a$5}from'./chunk-STMDFIUL.mjs';import {a as a$7}from'./chunk-4S4GGUSH.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {d}from'./chunk-F7WPMQ3P.mjs';import {b,c}from'./chunk-3WKDIXCM.mjs';import {c as c$1}from'./chunk-ETM4MNG4.mjs';import {a as a$3,b as b$1}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import R,{useContext,useMemo,useRef,useCallback,useEffect,useImperativeHandle,useState}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {PlusIcon}from'@baseline-ui/icons/12';import {themeVars}from'@baseline-ui/tokens';import {useGranularEffect}from'granular-hooks';import Ze from'just-camel-case';import*as it from'comlink';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$2}from'./chunk-4WVW4KEK.mjs';import {a as a$1}from'./chunk-TAYP2OGC.mjs';import {a as a$3}from'./chunk-GL5GUKT7.mjs';import {B as B$1}from'./chunk-TYKMNZJ4.mjs';import {b}from'./chunk-AFOW62QN.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$4}from'./chunk-OQPYPKZV.mjs';import {c}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {UploadIcon}from'@baseline-ui/icons/20';import o from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$2}from'./chunk-4WVW4KEK.mjs';import {a as a$1}from'./chunk-TAYP2OGC.mjs';import {a as a$3}from'./chunk-FX3THTOK.mjs';import {B as B$1}from'./chunk-TYKMNZJ4.mjs';import {b}from'./chunk-INFMXVHD.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$4}from'./chunk-OQPYPKZV.mjs';import {c}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {UploadIcon}from'@baseline-ui/icons/20';import o from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {c,a as a$1,d,e}from'./chunk-ZA2FH3MS.mjs';import {a as a$7}from'./chunk-UYAFH4CW.mjs';import {a as a$3}from'./chunk-PYV5J322.mjs';import {a as a$6}from'./chunk-O6FPWOHR.mjs';import {a,b as b$2}from'./chunk-SZTFMBPY.mjs';import {b as b$1,c as c$2}from'./chunk-7MLFM55C.mjs';import {a as a$4}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-DAI7V4TE.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-K5RYVERS.mjs';import {b as b$4,j}from'./chunk-MBRNO6IW.mjs';import {a as a$2}from'./chunk-STMDFIUL.mjs';import {c as c$1}from'./chunk-ETM4MNG4.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import {CalendarIcon}from'@baseline-ui/icons/16';import {createCalendar,toCalendarDateTime,Time,toZoned}from'@internationalized/date';import n from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {c,a as a$1,d,e}from'./chunk-3RWM6E56.mjs';import {a as a$7}from'./chunk-6M77HEKA.mjs';import {a as a$3}from'./chunk-PYV5J322.mjs';import {a as a$6}from'./chunk-J2KZM2I2.mjs';import {a,b as b$2}from'./chunk-SZTFMBPY.mjs';import {b as b$1,c as c$2}from'./chunk-IDIZSV2Y.mjs';import {a as a$4}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-JTKDC2CM.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-K5RYVERS.mjs';import {b as b$4,j}from'./chunk-MBRNO6IW.mjs';import {a as a$2}from'./chunk-STMDFIUL.mjs';import {c as c$1}from'./chunk-ETM4MNG4.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import {CalendarIcon}from'@baseline-ui/icons/16';import {createCalendar,toCalendarDateTime,Time,toZoned}from'@internationalized/date';import n from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$2}from'./chunk-O7XK2WIX.mjs';import {a as a$1}from'./chunk-VXZT2JR2.mjs';import {a}from'./chunk-VDUFLHKK.mjs';import {jsx}from'react/jsx-runtime';/**
1
+ import {a as a$2}from'./chunk-O7XK2WIX.mjs';import {a as a$1}from'./chunk-UY76QEJC.mjs';import {a}from'./chunk-VDUFLHKK.mjs';import {jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -0,0 +1,10 @@
1
+ import {a as a$m}from'./chunk-WDWBYTJG.mjs';import {a as a$a}from'./chunk-I7SMG6PT.mjs';import {a as a$3}from'./chunk-SVV6DLJH.mjs';import {a as a$c,b as b$4}from'./chunk-KQOXSF4J.mjs';import {b as b$6,c as c$4}from'./chunk-MHAPHPNN.mjs';import {a as a$2}from'./chunk-KT4FTBJ2.mjs';import {a as a$7,b as b$3,g,d,e as e$1,f,h as h$2}from'./chunk-6DYTFYPO.mjs';import {a as a$g}from'./chunk-TAT552A5.mjs';import {b as b$1}from'./chunk-XAM3AXXK.mjs';import {i,l,p,j,n,k,h as h$1,d as d$1,g as g$1,a as a$i}from'./chunk-6Z3GYFG5.mjs';import {a as a$o}from'./chunk-7EQIV4GX.mjs';import {a as a$l}from'./chunk-ZI7HJRJA.mjs';import {a as a$p}from'./chunk-6GV3YWV7.mjs';import {c as c$3,b as b$8}from'./chunk-IDIZSV2Y.mjs';import {a as a$k}from'./chunk-O7XK2WIX.mjs';import {a as a$n}from'./chunk-JTKDC2CM.mjs';import {a as a$6}from'./chunk-GMALMQWI.mjs';import {a}from'./chunk-USMC34OO.mjs';import {b as b$7}from'./chunk-KG2EHFYA.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$b}from'./chunk-K5RYVERS.mjs';import {a as a$d}from'./chunk-NQIZ3U7Q.mjs';import {e,c,h,b as b$2,a as a$e}from'./chunk-RINS2TBF.mjs';import {k as k$1,l as l$1}from'./chunk-TZGK36KC.mjs';import {a as a$j}from'./chunk-Y2MIU76N.mjs';import {a as a$1}from'./chunk-FPM5UJRF.mjs';import {a as a$4}from'./chunk-STMDFIUL.mjs';import {a as a$9}from'./chunk-B3EZOXNU.mjs';import {a as a$8}from'./chunk-RT4LMB6X.mjs';import {c as c$1,b as b$5}from'./chunk-3WKDIXCM.mjs';import {a as a$5}from'./chunk-SVIYLH7R.mjs';import {c as c$2}from'./chunk-ETM4MNG4.mjs';import {a as a$f}from'./chunk-JQQGRJ5J.mjs';import {a as a$h}from'./chunk-4QEH5CGK.mjs';import Bt,{createContext,forwardRef,useRef,useEffect,useContext,useState,useMemo,useCallback,isValidElement}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {ChevronRightIcon}from'@baseline-ui/icons/8';import {DragIndicatorIcon}from'@baseline-ui/icons/12';import {themeVars,sprinkles}from'@baseline-ui/tokens';/**
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 he(t,o,e){let{gridProps:r}=b$6(t,o,e);return r.role="treegrid",{gridProps:r}}var bt={"ar-AE":{collapse:"\u0637\u064A",expand:"\u062A\u0645\u062F\u064A\u062F"},"bg-BG":{collapse:"\u0421\u0432\u0438\u0432\u0430\u043D\u0435",expand:"\u0420\u0430\u0437\u0448\u0438\u0440\u044F\u0432\u0430\u043D\u0435"},"cs-CZ":{collapse:"Sbalit",expand:"Rozt\xE1hnout"},"da-DK":{collapse:"Skjul",expand:"Udvid"},"de-DE":{collapse:"Reduzieren",expand:"Erweitern"},"el-GR":{collapse:"\u03A3\u03CD\u03BC\u03C0\u03C4\u03C5\u03BE\u03B7",expand:"\u0391\u03BD\u03AC\u03C0\u03C4\u03C5\u03BE\u03B7"},"en-US":{expand:"Expand",collapse:"Collapse"},"es-ES":{collapse:"Contraer",expand:"Expandir"},"et-EE":{collapse:"Ahenda",expand:"Laienda"},"fi-FI":{collapse:"Pienenn\xE4",expand:"Laajenna"},"fr-FR":{collapse:"R\xE9duire",expand:"D\xE9velopper"},"he-IL":{collapse:"\u05DB\u05D5\u05D5\u05E5",expand:"\u05D4\u05E8\u05D7\u05D1"},"hr-HR":{collapse:"Sa\u017Emi",expand:"Pro\u0161iri"},"hu-HU":{collapse:"\xD6sszecsuk\xE1s",expand:"Kibont\xE1s"},"it-IT":{collapse:"Comprimi",expand:"Espandi"},"ja-JP":{collapse:"\u6298\u308A\u305F\u305F\u3080",expand:"\u5C55\u958B"},"ko-KR":{collapse:"\uC811\uAE30",expand:"\uD3BC\uCE58\uAE30"},"lt-LT":{collapse:"Sutraukti",expand:"I\u0161skleisti"},"lv-LV":{collapse:"Sak\u013Caut",expand:"Izv\u0113rst"},"nb-NO":{collapse:"Skjul",expand:"Utvid"},"nl-NL":{collapse:"Samenvouwen",expand:"Uitvouwen"},"pl-PL":{collapse:"Zwi\u0144",expand:"Rozwi\u0144"},"pt-BR":{collapse:"Recolher",expand:"Expandir"},"pt-PT":{collapse:"Colapsar",expand:"Expandir"},"ro-RO":{collapse:"Restr\xE2nge\u021Bi",expand:"Extinde\u021Bi"},"ru-RU":{collapse:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C",expand:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C"},"sk-SK":{collapse:"Zbali\u0165",expand:"Rozbali\u0165"},"sl-SI":{collapse:"Strni",expand:"Raz\u0161iri"},"sr-SP":{collapse:" Skupi",expand:"Pro\u0161iri"},"sv-SE":{collapse:"D\xF6lj",expand:"Expandera"},"tr-TR":{collapse:"Daralt",expand:"Geni\u015Flet"},"uk-UA":{collapse:"\u0417\u0433\u043E\u0440\u043D\u0443\u0442\u0438",expand:"\u0420\u043E\u0437\u0433\u043E\u0440\u043D\u0443\u0442\u0438"},"zh-CN":{collapse:"\u6298\u53E0",expand:"\u6269\u5C55"},"zh-TW":{collapse:"\u6536\u5408",expand:"\u5C55\u958B"}};function pe(t,o,e){let{node:r}=t,n=c$4(t,o,e),a=n.rowProps["aria-expanded"]===true,s=b$7(bt,"@react-aria/tree"),c=a$j({"aria-label":a?s.format("collapse"):s.format("expand"),"aria-labelledby":n.rowProps.id}),p={onPress:()=>{n.isDisabled||(o.toggleKey(r.key),o.selectionManager.setFocused(true),o.selectionManager.setFocusedKey(r.key));},excludeFromTabOrder:true,preventFocusOnPress:true,"data-react-aria-prevent-focus":true,...c};return {...n,expandButtonProps:p}}var Pe=class t extends g$1{expandedKeys=new Set;withExpandedKeys(o,e){let r=this.clone();return r.expandedKeys=e,t.cloneAncestorSections(e,o,r),t.cloneAncestorSections(o,e,r),r.frozen=this.frozen,r}static cloneAncestorSections(o,e,r){for(let n of o)if(!e.has(n)){let a=n;for(;a!=null;){let s=r.getItem(a);if(s?.type==="section"){r.keyMap.set(a,s.clone());break}else a=s?.parentKey??null;}}}*[Symbol.iterator](){let o=this.getFirstKey(),e=o!=null?this.getItem(o):null;for(;e;)if(yield e,e.type==="section")e=e.nextKey!=null?this.getItem(e.nextKey):null;else {let r=this.getKeyAfter(e.key);e=r!=null?this.getItem(r):null;}}getLastKey(){let o=this.lastKey;if(o==null)return null;let e=this.getItem(o);for(;e?.lastChildKey!=null&&(e.type!=="item"||this.expandedKeys.has(e.key));)e=this.getItem(e.lastChildKey);return e?.key}getKeyAfter(o){let e=this.getItem(o);if(!e)return null;if((this.expandedKeys.has(e.key)||e.type!=="item")&&e.firstChildKey!=null)return e.firstChildKey;for(;e;){if(e.nextKey!=null)return e.nextKey;if(e.parentKey!=null)e=this.getItem(e.parentKey);else return null}return null}getKeyBefore(o){let e=this.getItem(o);if(!e)return null;if(e.prevKey!=null){for(e=this.getItem(e.prevKey);e&&(e.type!=="item"||this.expandedKeys.has(e.key))&&e.lastChildKey!=null;)e=this.getItem(e.lastChildKey);return e?.key??null}return e.parentKey}getChildren(o){let e=this;return {*[Symbol.iterator](){let r=e.getItem(o),n=r?.firstChildKey!=null?e.getItem(r.firstChildKey):null;if(r&&r.type==="section"&&n)for(;n&&n.key!==r.nextKey;){yield e.getItem(n.key);let a=e.getKeyAfter(n.key);n=a!=null?e.getItem(a):null;}else for(;n;)yield n,n=n.nextKey!=null?e.getItem(n.nextKey):null;}}}getTextValue(o){let e=this.getItem(o);return e?e.textValue:""}},Pt=createContext(null),fe=createContext(null),Re=forwardRef(function(o,e$1){return [o,e$1]=e(o,e$1,Pt),jsx(i,{content:jsx(l,{...o}),createCollection:()=>new Pe,children:r=>jsx(zt,{props:o,collection:r,treeRef:e$1})})}),Dt={expand:{ltr:"ArrowRight",rtl:"ArrowLeft"},collapse:{ltr:"ArrowLeft",rtl:"ArrowRight"}};function zt({props:t,collection:o,treeRef:e}){let{dragAndDropHooks:r}=t,{direction:n}=b(),a$8=a({usage:"search",sensitivity:"base"}),s=!!r?.useDraggableCollectionState,c$2=!!r?.useDroppableCollectionState,p$1=useRef(s),D=useRef(c$2);useEffect(()=>{p$1.current!==s&&console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."),D.current!==c$2&&console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");},[s,c$2]);let{selectionMode:y="none",expandedKeys:S,defaultExpandedKeys:m,onExpandedChange:h$1,disabledBehavior:x="all"}=t,{CollectionRoot:P,isVirtualized:I,layoutDelegate:b$4,dropTargetDelegate:M}=useContext(p),[T,L]=a$1(S?new Set(S):void 0,m?new Set(m):new Set,h$1),[C,N]=useState(o),[E,v]=useState(T),[K,k]=useState(()=>o.withExpandedKeys(E,T));(!qt(E,T)||o!==C)&&(k(o.withExpandedKeys(E,T)),N(o),v(T));let l=a$2({...t,selectionMode:y,expandedKeys:T,onExpandedChange:L,collection:K,children:void 0,disabledBehavior:x}),{gridProps:i}=he({...t,isVirtualized:I,layoutDelegate:b$4},l,e),g$1,u,f,A=false,j=null,_=useRef(null);if(s&&r){g$1=r.useDraggableCollectionState({collection:l.collection,selectionManager:l.selectionManager,preview:r.renderDragPreview?_:void 0}),r.useDraggableCollection({},g$1,e);let te=r.DragPreview;j=r.renderDragPreview?jsx(te,{ref:_,children:r.renderDragPreview}):null;}let[J]=useState(()=>new a$3);if(c$2&&r){u=r.useDroppableCollectionState({collection:l.collection,selectionManager:l.selectionManager});let te=r.dropTargetDelegate||M||new r.ListDropTargetDelegate(l.collection,e,{direction:n});J.setup(te,l,n);let ge=new b$1({collection:l.collection,collator:a$8,ref:e,disabledKeys:l.selectionManager.disabledKeys,disabledBehavior:l.selectionManager.disabledBehavior,direction:n,layoutDelegate:b$4});f=r.useDroppableCollection({keyboardDelegate:ge,dropTargetDelegate:J,onDropActivate:V=>{if(V.target.type==="item"){let w=V.target.key,$=l.collection.getItem(w),_t=T.has(w);$&&$.hasChildNodes&&(!_t||r?.isVirtualDragging?.())&&l.toggleKey(w);}},onKeyDown:V=>{let w=u?.target;if(w&&w.type==="item"&&w.dropPosition==="on"){let $=l.collection.getItem(w.key);(V.key===Dt.expand[n]&&$?.hasChildNodes&&!l.expandedKeys.has(w.key)||V.key===Dt.collapse[n]&&$?.hasChildNodes&&l.expandedKeys.has(w.key))&&l.toggleKey(w.key);}}},u,e),A=u.isDropTarget({type:"root"});}let Q=!!(s&&!g$1?.isDisabled),{focusProps:ee,isFocused:U,isFocusVisible:X}=a$4(),B={isEmpty:l.collection.size===0,isFocused:U,isFocusVisible:X,isDropTarget:A,selectionMode:l.selectionManager.selectionMode,allowsDragging:!!Q,state:l},Nt=c({...t,children:void 0,defaultClassName:"react-aria-Tree",values:B}),Ae=null;if(l.collection.size===0&&t.renderEmptyState){let{isEmpty:te,...ge}=B,V=t.renderEmptyState({...ge});Ae=jsx("div",{role:"row",style:{display:"contents"},...{"aria-level":1},children:jsx("div",{role:"gridcell",style:{display:"contents"},children:V})});}let Ot=a$5(t,{global:true});return jsxs(Fragment,{children:[jsx(a$6,{children:jsxs(h.div,{...c$1(Ot,Nt,i,ee,f?.collectionProps),ref:e,slot:t.slot||void 0,"data-empty":l.collection.size===0||void 0,"data-focused":U||void 0,"data-drop-target":A||void 0,"data-focus-visible":X||void 0,"data-selection-mode":l.selectionManager.selectionMode==="none"?void 0:l.selectionManager.selectionMode,"data-allows-dragging":!!Q||void 0,children:[jsxs(b$2,{values:[[fe,l],[a$7,{dragAndDropHooks:r,dragState:g$1,dropState:u}],[b$3,{render:Gt}]],children:[c$2&&jsx(Wt,{}),jsx(g,{children:jsx(P,{collection:l.collection,persistedKeys:e$1(l.selectionManager,r,u),scrollRef:e,renderDropIndicator:d(r,u)})})]}),Ae]})}),j]})}var Ie=class extends a$i{static type="content"},Se=j(Ie,function(o){let e=useContext(It),r=c({children:o.children,values:e});return jsx(p.Provider,{value:n,children:r.children})}),It=createContext(null),Ce=class extends a$i{static type="item"},Ee=k(Ce,(t,o,e)=>{let r=useContext(fe);o=a$8(o);let{dragAndDropHooks:n,dragState:a,dropState:s}=useContext(a$7),c$3=a&&!(a.isDisabled||a.selectionManager.isDisabled(e.key)),{rowProps:p,gridCellProps:D,expandButtonProps:y,descriptionProps:S,...m}=pe({node:e,shouldSelectOnPressUp:!!a,focusMode:t.focusMode,allowsArrowNavigation:t.allowsArrowNavigation},r,o),h$3=p["aria-expanded"]===true,x=t.hasChildItems||[...r.collection.getChildren(e.key)].length>1,P=p["aria-level"]||1,{hoverProps:I,isHovered:b}=a$9({isDisabled:!m.allowsSelection&&!m.hasAction&&!c$3,onHoverStart:t.onHoverStart,onHoverChange:t.onHoverChange,onHoverEnd:t.onHoverEnd}),{isFocusVisible:M,focusProps:T}=a$4(),{isFocusVisible:L,focusProps:C}=a$4({within:true}),{checkboxProps:N}=a$a({key:e.key},r),E=null;a&&n&&(E=n.useDraggableItem({key:e.key,hasDragButton:true},a,o));let v=null,K=useRef(null),k=useRef(null),l=useRef(null),{visuallyHiddenProps:i}=a$b();s&&n&&(v=n.useDropIndicator({target:{type:"item",key:e.key,dropPosition:"on"},activateButtonRef:l},s,k));let g=a&&a.isDragging(e.key),u=v?.isDropTarget,f$1=r.selectionManager.selectionMode,A=r.selectionManager.selectionBehavior,j=Bt.useMemo(()=>({...m,isHovered:b,isFocusVisible:M,isExpanded:h$3,hasChildItems:x,level:P,selectionMode:f$1,selectionBehavior:A,isFocusVisibleWithin:L,state:r,id:e.key,allowsDragging:!!a,isDragging:g,isDropTarget:u}),[m,b,M,h$3,x,P,L,r,e.key,a,g,u,A,f$1]),_=c({...t,id:void 0,children:e.rendered,defaultClassName:"react-aria-TreeItem",defaultStyle:{"--tree-item-level":P},values:j});useEffect(()=>{!e.textValue&&process.env.NODE_ENV!=="production"&&console.warn("A `textValue` prop is required for <TreeItem> elements in order to support accessibility features such as type to select.");},[e.textValue]),useEffect(()=>{x&&!K.current&&process.env.NODE_ENV!=="production"&&console.warn("Expandable tree items must contain a expand button so screen reader users can expand/collapse the item.");},[]);let J=useRef(null);useEffect(()=>{a&&!J.current&&process.env.NODE_ENV!=="production"&&console.warn('Draggable items in a Tree must contain a <Button slot="drag"> element so that keyboard and screen reader users can drag them.');},[]);let Q=h$1({items:r.collection.getChildren(e.key),children:B=>{switch(B.type){case "content":return B.render(B);case "loader":case "item":return jsx(Fragment,{});default:throw new Error("Unsupported element type in TreeRow: "+B.type)}}}),ee=c$2(),U=a$5(t,{global:true});delete U.id,delete U.onClick;let X=f(E,n,o);return jsxs(Fragment,{children:[v&&!v.isHidden&&jsx("div",{role:"row","aria-level":p["aria-level"],"aria-expanded":p["aria-expanded"],"aria-label":v.dropIndicatorProps["aria-label"],children:jsxs("div",{role:"gridcell","aria-colindex":1,style:{display:"contents"},children:[jsx("div",{role:"button",...i,...v.dropIndicatorProps,ref:k}),p["aria-expanded"]!=null?jsx("div",{role:"button",...i,id:ee,"aria-label":y["aria-label"],"aria-labelledby":`${ee} ${p.id}`,tabIndex:-1,ref:l}):null]})}),jsx(h.div,{...c$1(U,p,T,I,C,X.itemProps),..._,ref:o,"data-expanded":x&&h$3||void 0,"data-has-child-items":x||void 0,"data-level":P,"data-selected":m.isSelected||void 0,"data-disabled":m.isDisabled||void 0,"data-hovered":b||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":M||void 0,"data-pressed":m.isPressed||void 0,"data-selection-mode":r.selectionManager.selectionMode==="none"?void 0:r.selectionManager.selectionMode,"data-allows-dragging":!!a||void 0,"data-dragging":g||void 0,"data-drop-target":u||void 0,children:jsx("div",{...D,style:{display:"contents"},children:jsx(b$2,{values:[[a$c,{slots:{[a$e]:{},selection:N}}],[b$4,{slots:{[a$e]:{},selection:N}}],[a$d,{slots:{[a$e]:{},chevron:{...y,ref:K},drag:{...X.dragButtonProps,ref:J}}}],[It,{...j}],[h$2,{isSelected:m.isSelected}]],children:Q})})})]})});j(d$1,function(o,e,r){let{isVirtualized:n}=useContext(p),a=useContext(fe),{isLoading:s,onLoadMore:c$2,scrollOffset:p$1,...D}=o,y=useRef(null),S=useMemo(()=>({onLoadMore:c$2,collection:a?.collection,sentinelRef:y,scrollOffset:p$1}),[c$2,p$1,a?.collection]);k$1(S,y),e=a$8(e);let{rowProps:m,gridCellProps:h$1}=pe({node:r},a,e),x=m["aria-level"]||1,P={role:"row","aria-level":m["aria-level"]},I=c({...D,id:void 0,children:r.rendered,defaultClassName:"react-aria-TreeLoader",values:{level:x}}),b={};return n&&(b={display:"contents"}),jsxs(Fragment,{children:[jsx("div",{style:{position:"relative",width:0,height:0},inert:l$1(true),children:jsx("div",{"data-testid":"loadMoreSentinel",ref:y,style:{position:"absolute",height:1,width:1}})}),s&&I.children&&jsx(h.div,{ref:e,...c$1(a$5(o),P),...I,"data-level":x,children:jsx("div",{...h$1,style:b,children:I.children})})]})});function Gt(t,o){o=a$8(o);let{dragAndDropHooks:e,dropState:r}=useContext(a$7),n=useRef(null),{dropIndicatorProps:a,isHidden:s,isDropTarget:c}=e.useDropIndicator(t,r,n);if(s)return null;let p=r&&t.target.type==="item"?(r.collection.getItem(t.target.key)?.level||0)+1:1;return jsx(Ut,{...t,dropIndicatorProps:a,isDropTarget:c,ref:o,buttonRef:n,level:p})}function jt(t,o){let{dropIndicatorProps:e,isDropTarget:r,buttonRef:n,level:a,...s}=t,{visuallyHiddenProps:c$1}=a$b(),p=c({...s,defaultClassName:"react-aria-DropIndicator",defaultStyle:{position:"relative","--tree-item-level":a},values:{isDropTarget:r}});return jsx(h.div,{...p,role:"row","aria-level":a,ref:o,"data-drop-target":r||void 0,children:jsxs("div",{role:"gridcell",children:[jsx("div",{...c$1,role:"button",...e,ref:n}),p.children]})})}var Ut=forwardRef(jt);function Wt(){let{dragAndDropHooks:t,dropState:o}=useContext(a$7),e=useRef(null),{dropIndicatorProps:r}=t.useDropIndicator({target:{type:"root"}},o,e),n=o.isDropTarget({type:"root"}),{visuallyHiddenProps:a}=a$b();return !n&&r["aria-hidden"]?null:jsx("div",{role:"row","aria-hidden":r["aria-hidden"],style:{position:"absolute"},children:jsx("div",{role:"gridcell",children:jsx("div",{role:"button",...a,...r,ref:e})})})}function qt(t,o){if(t.size!==o.size)return false;for(let e of t)if(!o.has(e))return false;return true}var Ct=({actionsPosition:t,onPrimaryAction:o,onSecondaryAction:e,primaryActionIcon:r,secondaryActionIcon:n,primaryActionAriaLabel:a,secondaryActionAriaLabel:s,expandLabel:c,collapseLabel:p,onRename:D,renameLabel:y,renderItemTitle:S,renderItem:m})=>Object.values({actionsPosition:t,onPrimaryAction:o,onSecondaryAction:e,primaryActionIcon:r,secondaryActionIcon:n,primaryActionAriaLabel:a,secondaryActionAriaLabel:s,expandLabel:c,collapseLabel:p,onRename:D,renameLabel:y,renderItemTitle:S,renderItem:m});var wt="_10dw1p98",Rt="_10dw1p96",St=["_10dw1p9b","_10dw1p9c"],Et="_10dw1p97",Lt=a$f({defaultClassName:"_10dw1p90 _1yep5z63o _1yep5z63p _1yep5z63q _1yep5z61c _1yep5z61d _1yep5z61e _1yep5z6j8 _1yep5z6j9 _1yep5z6ja _1yep5z6jh _1yep5z6ji _1yep5z6jj _1yep5z69f _1yep5z69g _1yep5z69h _1yep5z6jz _1yep5z6k0 _1yep5z6k1 _1yep5z6m6 _1yep5z6lt _1yep5z6lq",variantClassNames:{isSelected:{true:"_1yep5z612u"},isHovered:{true:"_10dw1p92"},isRenaming:{true:"_10dw1p93"},isDropTarget:{true:"_1yep5z612t _1yep5z614w _1yep5z618s _1yep5z618q _1yep5z618t"},isFocusVisible:{true:"_1yep5z614w _1yep5z618s _1yep5z618q _1yep5z618t"}},defaultVariants:{},compoundVariants:[[{isHovered:true,isSelected:false,isRenaming:false},"_1yep5z61pc _1yep5z61rl _1yep5z61va _1yep5z61v9 _1yep5z61vd"]]}),kt="_10dw1p99";function At(t,o){if(typeof t=="function"&&!t.prototype?.isReactComponent){let e=t(o);return isValidElement(e)?t:e}return t}var ke=({item:t,id:o,value:e,...r})=>{let{onPrimaryAction:n,onSecondaryAction:a,actionsPosition:s,primaryActionIcon:c,secondaryActionIcon:p,primaryActionAriaLabel:D,secondaryActionAriaLabel:y,expandLabel:S,collapseLabel:m,onRename:h,renameLabel:x,renderItemTitle:P,renderItem:I}=r,{formatMessage:b}=b$8(),{renamingKey:M,setRenamingKey:T}=useContext(Me),L=M===t.id,C=!!t.children?.length,N=t.icon,E=!!h,v=useRef(false),K=useMemo(()=>{let i=At(c,t.id),g=At(p,t.id),u=typeof D=="function"?D(t.id):D,f=typeof y=="function"?y(t.id):y;return i||g?jsxs(a$k,{display:"flex",flexDirection:"row",style:s==="end"?{marginInlineStart:"auto"}:void 0,children:[i?jsx(a$l,{icon:i,"aria-label":u,size:"sm",excludeFromTabOrder:true,variant:"secondary",onPress:()=>{n?.(t.id);},tooltip:true}):null,g?jsx(a$l,{icon:g,"aria-label":f,size:"sm",excludeFromTabOrder:true,variant:"secondary",onPress:()=>{a?.(t.id);},tooltip:true}):null]}):null},[s,c,t.id,p,D,y,n,a]),k=useCallback(i=>{a$m(i)||(i.key==="Enter"?(v.current=true,h?.({key:t.id,value:i.target.value}),T(null)):i.key==="Escape"&&(v.current=true,T(null)));},[t.id,h,T]),l$1=useCallback(()=>P?P(t):t.label,[P,t]);return jsxs(Ee,{id:t.id,value:t,textValue:t.label,"data-key":t.id,className:I?a$h(Rt,"BaselineUI-TreeView-Row"):i=>a$h(Et,Lt({isHovered:i.isHovered,isSelected:i.isSelected,isFocusVisible:i.isFocusVisible,isRenaming:L,isDropTarget:i.isDropTarget}),"BaselineUI-TreeView-Row"),children:[jsx(Se,{children:i=>{let g=i.allowsDragging?jsx(a$n,{slot:"drag",icon:DragIndicatorIcon,size:"xs",variant:"secondary",className:"BaselineUI-TreeView-DragHandle","data-testid":"tree-view-drag-handle"}):null;if(I){let f=I(t,{level:i.level,isExpanded:i.isExpanded,hasChildItems:i.hasChildItems,isSelected:i.isSelected,isFocusVisible:i.isFocusVisible,isFocusVisibleWithin:i.isFocusVisibleWithin,isHovered:i.isHovered,isPressed:i.isPressed,isDropTarget:!!i.isDropTarget,isDragging:!!i.isDragging,toggleExpanded:()=>{i.state.toggleKey(i.id);}});return g?jsxs(a$k,{display:"flex",flexDirection:"row",alignItems:"center",children:[g,jsx("div",{style:{flex:1,minWidth:0},children:f})]}):f}let u=i.level-1;return jsxs(Fragment,{children:[g,s==="start"?K:null,jsxs(a$k,{display:"flex",flexDirection:"row",alignItems:"center",children:[jsxs(a$k,{display:"flex",padding:"sm",flexDirection:"row",alignItems:"center",gap:"md",style:{marginInlineStart:`calc(${u*2} * ${themeVars.spacing.lg})`},children:[jsx(a$n,{icon:ChevronRightIcon,size:"xxs",variant:"secondary",onPress:()=>{i.state.toggleKey(i.id);},"aria-label":i.isExpanded?m??b(Le.collapse):S??b(Le.expand),style:{visibility:C?"visible":"hidden"},className:a$h(wt,"BaselineUI-TreeView-ExpansionToggle")}),N?jsx(N,{size:16,style:{color:themeVars.color.icon.interactive.disabled}}):null]}),jsxs(a$k,{paddingLeft:"sm",paddingY:L?"none":"md",display:"flex",flexDirection:"column",gap:"xs",onDoubleClick:f=>{E&&(f.stopPropagation(),f.preventDefault(),T(t.id));},children:[L?jsx("div",{onClick:f=>{f.stopPropagation();},children:jsx(a$o,{defaultValue:t.label,autoFocus:true,onFocus:()=>{v.current=false;},onBlur:f=>{if(v.current){v.current=false;return}h?.({key:t.id,value:f.target.value}),T(null);},"aria-label":x??b(Le.rename),onKeyDown:k,className:"BaselineUI-TreeView-RenameInput"})}):jsx(a$p,{type:"label",size:"sm",className:a$h(sprinkles.compoundVariants({color:"text.primary"}),"BaselineUI-TreeView-Title"),children:l$1()}),t.description?jsx(a$p,{type:"helper",size:"sm",className:"BaselineUI-TreeView-Description",children:t.description}):null]})]}),s==="end"?K:null]})}}),jsx(l,{items:t.children,children:i=>jsx(ke,{item:i,...r})})]})},Le=c$3({expand:{id:"bui.treeView.expand",defaultMessage:"Expand"},collapse:{id:"bui.treeView.collapse",defaultMessage:"Collapse"},rename:{id:"bui.treeView.rename",defaultMessage:"Rename"}});var Me=createContext({renamingKey:null,setRenamingKey:()=>{}}),Ht=Bt.forwardRef(({className:t,style:o,"data-block-id":e,"data-block-class":r,items:n,onPrimaryAction:a,onSecondaryAction:s,primaryActionIcon:c,secondaryActionIcon:p,primaryActionAriaLabel:D,secondaryActionAriaLabel:y,actionsPosition:S="start",expandLabel:m,collapseLabel:h,onRename:x,renameLabel:P,onAction:I,renderItemTitle:b,dragAndDropHooks:M,keyboardNavigationBehavior:T,renderItem:L,...C},N)=>{let E=useRef(null);a$g({ref:E,isDisabled:!M});let[v,K]=useState(null),k=L!==void 0,l=S==="start"?[c,p].filter(Boolean).length:0;useEffect(()=>{let u=E.current;if(!u||!x||k)return;let f=A=>{if(A.key==="F2"){let _=u.querySelector("[data-focused='true']")?.dataset.key;_&&(A.preventDefault(),A.stopPropagation(),K(_));}};return u.addEventListener("keydown",f),()=>{u.removeEventListener("keydown",f);}},[x,k]);let i=useMemo(()=>({renamingKey:v,setRenamingKey:K}),[v]),g={actionsPosition:S,onPrimaryAction:a,onSecondaryAction:s,primaryActionIcon:c,secondaryActionIcon:p,primaryActionAriaLabel:D,secondaryActionAriaLabel:y,expandLabel:m,collapseLabel:h,onRename:x,renameLabel:P,renderItemTitle:b,renderItem:L};return jsx(Me.Provider,{value:i,children:jsx(Re,{ref:b$5(N,E),items:n.children||[],selectionMode:"multiple",expandedKeys:C.expandedKeys,defaultExpandedKeys:C.defaultExpandedKeys,onExpandedChange:C.onExpandedChange,selectedKeys:C.selectedKeys,disallowEmptySelection:C.disallowEmptySelection,onAction:I,dragAndDropHooks:M,keyboardNavigationBehavior:T,"aria-label":C["aria-label"],"aria-labelledby":C["aria-labelledby"],"data-block-id":e,"data-block-class":r,style:o,className:a$h(t,!k&&kt,!k&&St[l-1],"BaselineUI-TreeView"),dependencies:Ct(g),children:u=>jsx(ke,{item:u,...g})})})});Ht.displayName="TreeView";export{Ht as a};
@@ -1,4 +1,4 @@
1
- import {b as b$4,a as a$7,c as c$4}from'./chunk-GFBRKKX4.mjs';import {c,d,b as b$5,e as e$1,f as f$2}from'./chunk-NMSOOQB2.mjs';import {e,c as c$2,f as f$1}from'./chunk-WFYFHANE.mjs';import {a as a$9}from'./chunk-TAT552A5.mjs';import {f,d as d$1}from'./chunk-XOS3JIQX.mjs';import {b as b$3}from'./chunk-XAM3AXXK.mjs';import {a as a$1,c as c$3,b as b$7}from'./chunk-L3SNGDBH.mjs';import {b as b$6}from'./chunk-DF2D7NE6.mjs';import {a as a$6,b as b$1}from'./chunk-KCHAWPUN.mjs';import {a as a$a}from'./chunk-JZXLV6JU.mjs';import {a as a$4}from'./chunk-O7XK2WIX.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {a}from'./chunk-66CUIXA6.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$8}from'./chunk-STMDFIUL.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {b,c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import B,{useRef,createElement,useContext,useEffect}from'react';import {CheckmarkIcon}from'@baseline-ui/icons/24';import {jsxs,jsx,Fragment}from'react/jsx-runtime';/**
1
+ import {b as b$4,a as a$7,c as c$4}from'./chunk-GFBRKKX4.mjs';import {c,d,b as b$5,e as e$1,f as f$2}from'./chunk-NMSOOQB2.mjs';import {e,c as c$2,f as f$1}from'./chunk-JHA7DIPG.mjs';import {a as a$9}from'./chunk-TAT552A5.mjs';import {f,d as d$1}from'./chunk-XOS3JIQX.mjs';import {b as b$3}from'./chunk-XAM3AXXK.mjs';import {a as a$1,c as c$3,b as b$7}from'./chunk-L3SNGDBH.mjs';import {b as b$6}from'./chunk-DF2D7NE6.mjs';import {a as a$6,b as b$1}from'./chunk-KCHAWPUN.mjs';import {a as a$a}from'./chunk-JZXLV6JU.mjs';import {a as a$4}from'./chunk-O7XK2WIX.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {a}from'./chunk-66CUIXA6.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$8}from'./chunk-STMDFIUL.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {b,c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import B,{useRef,createElement,useContext,useEffect}from'react';import {CheckmarkIcon}from'@baseline-ui/icons/24';import {jsxs,jsx,Fragment}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$1,b as b$1}from'./chunk-5ZC64ZG7.mjs';import {b as b$2}from'./chunk-SZTFMBPY.mjs';import {e,f,c,d,h as h$1,g}from'./chunk-PG3WDHSK.mjs';import {a as a$7}from'./chunk-JZXLV6JU.mjs';import {a as a$6}from'./chunk-DAI7V4TE.mjs';import {c as c$2}from'./chunk-4EAXDHSV.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$4}from'./chunk-RSKKEGJZ.mjs';import {a as a$3}from'./chunk-STMDFIUL.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {MinusIcon,PlusIcon}from'@baseline-ui/icons/8';import {ReadOnlyIcon,ErrorCircleFilledIcon}from'@baseline-ui/icons/16';import M,{useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$1,b as b$1}from'./chunk-5ZC64ZG7.mjs';import {b as b$2}from'./chunk-SZTFMBPY.mjs';import {e,f,c,d,h as h$1,g}from'./chunk-PG3WDHSK.mjs';import {a as a$7}from'./chunk-JZXLV6JU.mjs';import {a as a$6}from'./chunk-JTKDC2CM.mjs';import {c as c$2}from'./chunk-4EAXDHSV.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$4}from'./chunk-RSKKEGJZ.mjs';import {a as a$3}from'./chunk-STMDFIUL.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {MinusIcon,PlusIcon}from'@baseline-ui/icons/8';import {ReadOnlyIcon,ErrorCircleFilledIcon}from'@baseline-ui/icons/16';import M,{useMemo}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-AMW7LGCF.mjs';import {c}from'./chunk-X5ORCNAU.mjs';import {a as a$8}from'./chunk-7SQRBY7N.mjs';import {a as a$5}from'./chunk-DAI7V4TE.mjs';import {b as b$1}from'./chunk-KG2EHFYA.mjs';import {e}from'./chunk-AYQN3OH2.mjs';import {a as a$7}from'./chunk-FPM5UJRF.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-STMDFIUL.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$4}from'./chunk-SVIYLH7R.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {XIcon}from'@baseline-ui/icons/12';import {XIcon as XIcon$1}from'@baseline-ui/icons/16';import {SearchIcon as SearchIcon$1}from'@baseline-ui/icons/20';import {SearchIcon}from'@baseline-ui/icons/24';import O from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$1}from'./chunk-AMW7LGCF.mjs';import {c}from'./chunk-QUWRO3HT.mjs';import {a as a$8}from'./chunk-7SQRBY7N.mjs';import {a as a$5}from'./chunk-JTKDC2CM.mjs';import {b as b$1}from'./chunk-KG2EHFYA.mjs';import {e}from'./chunk-RINS2TBF.mjs';import {a as a$7}from'./chunk-FPM5UJRF.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-STMDFIUL.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$4}from'./chunk-SVIYLH7R.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {XIcon}from'@baseline-ui/icons/12';import {XIcon as XIcon$1}from'@baseline-ui/icons/16';import {SearchIcon as SearchIcon$1}from'@baseline-ui/icons/20';import {SearchIcon}from'@baseline-ui/icons/24';import O from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {b as b$1,a as a$8}from'./chunk-KHDWTXGG.mjs';import {a,b as b$4,c}from'./chunk-JRCDMRIW.mjs';import {a as a$c}from'./chunk-6GMU63H2.mjs';import {n,p}from'./chunk-OMWMNUTI.mjs';import {a as a$7}from'./chunk-QXXKOFWM.mjs';import {b,c as c$1}from'./chunk-7MLFM55C.mjs';import {b as b$2}from'./chunk-AFOW62QN.mjs';import {a as a$b}from'./chunk-O7XK2WIX.mjs';import {a as a$6}from'./chunk-DAI7V4TE.mjs';import {a as a$5}from'./chunk-VXZT2JR2.mjs';import {b as b$3}from'./chunk-OQPYPKZV.mjs';import {a as a$3}from'./chunk-66CUIXA6.mjs';import {a as a$1}from'./chunk-FPM5UJRF.mjs';import {a as a$9}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {a as a$a}from'./chunk-RT4LMB6X.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import pe,{useMemo,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
1
+ import {b as b$1,a as a$8}from'./chunk-KHDWTXGG.mjs';import {a,b as b$4,c}from'./chunk-2KX2HY2H.mjs';import {a as a$c}from'./chunk-7OUGARUO.mjs';import {n,p}from'./chunk-266F6F4Y.mjs';import {a as a$7}from'./chunk-ZI7HJRJA.mjs';import {b,c as c$1}from'./chunk-IDIZSV2Y.mjs';import {b as b$2}from'./chunk-INFMXVHD.mjs';import {a as a$b}from'./chunk-O7XK2WIX.mjs';import {a as a$6}from'./chunk-JTKDC2CM.mjs';import {a as a$5}from'./chunk-UY76QEJC.mjs';import {b as b$3}from'./chunk-OQPYPKZV.mjs';import {a as a$3}from'./chunk-66CUIXA6.mjs';import {a as a$1}from'./chunk-FPM5UJRF.mjs';import {a as a$9}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {a as a$a}from'./chunk-RT4LMB6X.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import pe,{useMemo,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-XXANV3FM.mjs';import {b as b$3}from'./chunk-2WA3KB7H.mjs';import {a,b as b$1,c}from'./chunk-LJZ7ZS4C.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {useContext,useMemo,useEffect}from'react';/**
1
+ import {a as a$1}from'./chunk-XXANV3FM.mjs';import {b as b$3}from'./chunk-TDRN6VLD.mjs';import {a,b as b$1,c}from'./chunk-LJZ7ZS4C.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {useContext,useMemo,useEffect}from'react';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
File without changes
@@ -1,4 +1,4 @@
1
- import {a as a$3}from'./chunk-BIDNNBRG.mjs';import {d}from'./chunk-IROFSPEN.mjs';import {a as a$1}from'./chunk-NQIZ3U7Q.mjs';import {e}from'./chunk-AYQN3OH2.mjs';import {a as a$2}from'./chunk-RSKKEGJZ.mjs';import {b,c}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import R from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$3}from'./chunk-BIDNNBRG.mjs';import {d}from'./chunk-IROFSPEN.mjs';import {a as a$1}from'./chunk-NQIZ3U7Q.mjs';import {e}from'./chunk-RINS2TBF.mjs';import {a as a$2}from'./chunk-RSKKEGJZ.mjs';import {b,c}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import R from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$2}from'./chunk-BAIVRB2I.mjs';import {d,c}from'./chunk-KCHAWPUN.mjs';import {d as d$2}from'./chunk-YYU46XNM.mjs';import {a as a$5}from'./chunk-FP5EWPOF.mjs';import {a as a$4}from'./chunk-2VOWBYNS.mjs';import {a as a$7}from'./chunk-LQHFBXCW.mjs';import {a as a$1}from'./chunk-BA5OA5DY.mjs';import {a as a$8}from'./chunk-BGQRLALS.mjs';import {b}from'./chunk-YDUKC7QS.mjs';import {h,g,f,e,a as a$9,c as c$3,d as d$1}from'./chunk-MBRNO6IW.mjs';import {a as a$a}from'./chunk-66CUIXA6.mjs';import {c as c$2}from'./chunk-GQIS4QBN.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$3}from'./chunk-ETM4MNG4.mjs';import {a as a$b,b as b$1}from'./chunk-SD43KVTU.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import be,{useContext,useMemo,useImperativeHandle,useState,useCallback,useEffect,useRef}from'react';import Be from'react-dom';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {assignInlineVars}from'@vanilla-extract/dynamic';import {motion}from'motion/react';import {themeVars}from'@baseline-ui/tokens';import {useGranularEffect}from'granular-hooks';/**
1
+ import {a as a$2}from'./chunk-XKUZVQ2A.mjs';import {d,c}from'./chunk-KCHAWPUN.mjs';import {d as d$2}from'./chunk-RFVPGD6N.mjs';import {a as a$5}from'./chunk-FP5EWPOF.mjs';import {a as a$4}from'./chunk-2VOWBYNS.mjs';import {a as a$7}from'./chunk-LQHFBXCW.mjs';import {a as a$1}from'./chunk-BA5OA5DY.mjs';import {a as a$8}from'./chunk-BGQRLALS.mjs';import {b}from'./chunk-YDUKC7QS.mjs';import {h,g,f,e,a as a$9,c as c$3,d as d$1}from'./chunk-MBRNO6IW.mjs';import {c as c$2}from'./chunk-GQIS4QBN.mjs';import {a as a$a}from'./chunk-66CUIXA6.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$3}from'./chunk-ETM4MNG4.mjs';import {a as a$b,b as b$1}from'./chunk-SD43KVTU.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import be,{useContext,useMemo,useImperativeHandle,useState,useCallback,useEffect,useRef}from'react';import Be from'react-dom';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {assignInlineVars}from'@vanilla-extract/dynamic';import {motion}from'motion/react';import {themeVars}from'@baseline-ui/tokens';import {useGranularEffect}from'granular-hooks';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-LSPDPDB6.mjs';import {d}from'./chunk-QMV2O57M.mjs';import {b as b$2}from'./chunk-ZQOR4LCM.mjs';import {a as a$2}from'./chunk-R6TFTLMV.mjs';import {b}from'./chunk-4S4GGUSH.mjs';import {b as b$1}from'./chunk-KUDCYGII.mjs';import {a as a$4}from'./chunk-B3EZOXNU.mjs';import {r}from'./chunk-PPHSLODC.mjs';import {c as c$2,a as a$3}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-SVIYLH7R.mjs';import {c as c$1,e}from'./chunk-ETM4MNG4.mjs';/**
1
+ import {a as a$1}from'./chunk-LSPDPDB6.mjs';import {d}from'./chunk-QMV2O57M.mjs';import {b as b$2}from'./chunk-ZQOR4LCM.mjs';import {a as a$2}from'./chunk-R6TFTLMV.mjs';import {b}from'./chunk-4S4GGUSH.mjs';import {a as a$4}from'./chunk-B3EZOXNU.mjs';import {b as b$1}from'./chunk-KUDCYGII.mjs';import {r}from'./chunk-PPHSLODC.mjs';import {c as c$2,a as a$3}from'./chunk-3WKDIXCM.mjs';import {a}from'./chunk-SVIYLH7R.mjs';import {c as c$1,e}from'./chunk-ETM4MNG4.mjs';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {b}from'./chunk-HZM2XZP4.mjs';import {c as c$1}from'./chunk-XQC3DSTW.mjs';import {I}from'./chunk-676DOXEK.mjs';import {a as a$1}from'./chunk-3DWFAHR2.mjs';import {a}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-VXZT2JR2.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {d}from'./chunk-HH4VLTF3.mjs';import {a as a$3}from'./chunk-SVIYLH7R.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {sprinkles}from'@baseline-ui/tokens';import U,{useMemo,useState,useEffect}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {b}from'./chunk-HZM2XZP4.mjs';import {c as c$1}from'./chunk-GYKBMDSJ.mjs';import {I}from'./chunk-ARCCPNHM.mjs';import {a as a$1}from'./chunk-6GV3YWV7.mjs';import {a}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-UY76QEJC.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {d}from'./chunk-HH4VLTF3.mjs';import {a as a$3}from'./chunk-SVIYLH7R.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {sprinkles}from'@baseline-ui/tokens';import U,{useMemo,useState,useEffect}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$1}from'./chunk-VXZT2JR2.mjs';import {a as a$4,b as b$1}from'./chunk-BIDNNBRG.mjs';import {c,d}from'./chunk-IROFSPEN.mjs';import {a as a$2}from'./chunk-NQIZ3U7Q.mjs';import {e}from'./chunk-AYQN3OH2.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {b,c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import k,{useEffect}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
1
+ import {a as a$1}from'./chunk-UY76QEJC.mjs';import {a as a$4,b as b$1}from'./chunk-BIDNNBRG.mjs';import {c,d}from'./chunk-IROFSPEN.mjs';import {a as a$2}from'./chunk-NQIZ3U7Q.mjs';import {e}from'./chunk-RINS2TBF.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {b,c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import k,{useEffect}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {b,c}from'./chunk-7MLFM55C.mjs';import {b as b$1}from'./chunk-AFOW62QN.mjs';import {a as a$1}from'./chunk-DAI7V4TE.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {WarningFilledIcon as WarningFilledIcon$1,CheckmarkCircleFilledIcon,InfoCircleFilledIcon as InfoCircleFilledIcon$1,ErrorAltCircleFilledIcon as ErrorAltCircleFilledIcon$1,XIcon}from'@baseline-ui/icons/16';import {WarningFilledIcon,CheckCircleFilledIcon,InfoCircleFilledIcon,ErrorAltCircleFilledIcon}from'@baseline-ui/icons/20';import U from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
1
+ import {b,c}from'./chunk-IDIZSV2Y.mjs';import {b as b$1}from'./chunk-INFMXVHD.mjs';import {a as a$1}from'./chunk-JTKDC2CM.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {WarningFilledIcon as WarningFilledIcon$1,CheckmarkCircleFilledIcon,InfoCircleFilledIcon as InfoCircleFilledIcon$1,ErrorAltCircleFilledIcon as ErrorAltCircleFilledIcon$1,XIcon}from'@baseline-ui/icons/16';import {WarningFilledIcon,CheckCircleFilledIcon,InfoCircleFilledIcon,ErrorAltCircleFilledIcon}from'@baseline-ui/icons/20';import U from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$6}from'./chunk-BTPAZDGG.mjs';import {a as a$4}from'./chunk-7SKQUEHP.mjs';import {b,d as d$1,a as a$5,c as c$2}from'./chunk-W6QO7FPZ.mjs';import {b as b$1}from'./chunk-K5RYVERS.mjs';import {e,h,c,d,g}from'./chunk-AYQN3OH2.mjs';import {a}from'./chunk-STMDFIUL.mjs';import {a as a$1}from'./chunk-B3EZOXNU.mjs';import {a as a$3}from'./chunk-RT4LMB6X.mjs';import {c as c$1,b as b$2}from'./chunk-3WKDIXCM.mjs';import {a as a$2}from'./chunk-SVIYLH7R.mjs';import {createContext,forwardRef,useContext,useMemo,useRef,useEffect}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
1
+ import {a as a$6}from'./chunk-BTPAZDGG.mjs';import {a as a$4}from'./chunk-7SKQUEHP.mjs';import {b,d as d$1,a as a$5,c as c$2}from'./chunk-W6QO7FPZ.mjs';import {b as b$1}from'./chunk-K5RYVERS.mjs';import {e,h,c,d,g}from'./chunk-RINS2TBF.mjs';import {a}from'./chunk-STMDFIUL.mjs';import {a as a$1}from'./chunk-B3EZOXNU.mjs';import {a as a$3}from'./chunk-RT4LMB6X.mjs';import {c as c$1,b as b$2}from'./chunk-3WKDIXCM.mjs';import {a as a$2}from'./chunk-SVIYLH7R.mjs';import {createContext,forwardRef,useContext,useMemo,useRef,useEffect}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a as a$b}from'./chunk-5USQ6HBY.mjs';import {c as c$4,a as a$c,b as b$5}from'./chunk-BROSGYL3.mjs';import {b}from'./chunk-SZTFMBPY.mjs';import {e,f,g}from'./chunk-PG3WDHSK.mjs';import {a as a$5}from'./chunk-CY6W27WG.mjs';import {a as a$a}from'./chunk-6QQEK5I6.mjs';import {d}from'./chunk-W6QO7FPZ.mjs';import {c}from'./chunk-4EAXDHSV.mjs';import {d as d$1}from'./chunk-GMALMQWI.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-K5RYVERS.mjs';import {a as a$4}from'./chunk-FPM5UJRF.mjs';import {a as a$9}from'./chunk-4QBHQCCK.mjs';import {a as a$2}from'./chunk-RSKKEGJZ.mjs';import {a as a$7}from'./chunk-STMDFIUL.mjs';import {c as c$3}from'./chunk-HH4VLTF3.mjs';import {b as b$2}from'./chunk-4S4GGUSH.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {a as a$8}from'./chunk-B3EZOXNU.mjs';import {d as d$2}from'./chunk-F7WPMQ3P.mjs';import {a as a$1}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$6}from'./chunk-SVIYLH7R.mjs';import {c as c$2}from'./chunk-ETM4MNG4.mjs';import {b as b$4,j as j$1}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import Se,{useMemo,useState}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
1
+ import {a as a$b}from'./chunk-5USQ6HBY.mjs';import {c as c$4,a as a$c,b as b$5}from'./chunk-BROSGYL3.mjs';import {b}from'./chunk-SZTFMBPY.mjs';import {e,f,g}from'./chunk-PG3WDHSK.mjs';import {a as a$5}from'./chunk-CY6W27WG.mjs';import {a as a$a}from'./chunk-6QQEK5I6.mjs';import {d}from'./chunk-W6QO7FPZ.mjs';import {c}from'./chunk-4EAXDHSV.mjs';import {d as d$1}from'./chunk-GMALMQWI.mjs';import {b as b$1}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-K5RYVERS.mjs';import {a as a$4}from'./chunk-FPM5UJRF.mjs';import {a as a$9}from'./chunk-4QBHQCCK.mjs';import {a as a$2}from'./chunk-RSKKEGJZ.mjs';import {a as a$7}from'./chunk-STMDFIUL.mjs';import {c as c$3}from'./chunk-HH4VLTF3.mjs';import {b as b$2}from'./chunk-4S4GGUSH.mjs';import {a as a$8}from'./chunk-B3EZOXNU.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {d as d$2}from'./chunk-F7WPMQ3P.mjs';import {a as a$1}from'./chunk-RT4LMB6X.mjs';import {c as c$1}from'./chunk-3WKDIXCM.mjs';import {a as a$6}from'./chunk-SVIYLH7R.mjs';import {c as c$2}from'./chunk-ETM4MNG4.mjs';import {b as b$4,j as j$1}from'./chunk-SD43KVTU.mjs';import {a}from'./chunk-JQQGRJ5J.mjs';import {a as a$3}from'./chunk-4QEH5CGK.mjs';import Se,{useMemo,useState}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {a}from'./chunk-OVJT5F2R.mjs';import {e}from'./chunk-OMWMNUTI.mjs';import {t}from'./chunk-YQHHE5AT.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {jsx}from'react/jsx-runtime';/**
1
+ import {a}from'./chunk-OVJT5F2R.mjs';import {e}from'./chunk-266F6F4Y.mjs';import {c}from'./chunk-6DYTFYPO.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {jsx}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -7,4 +7,4 @@ import {a}from'./chunk-OVJT5F2R.mjs';import {e}from'./chunk-OMWMNUTI.mjs';import
7
7
  * This notice may not be removed from this file.
8
8
  *
9
9
  */
10
- function s(a$2){return a({getItems:(o,r)=>r.map(i=>({"text/plain":i.label})),renderDropIndicator(o){return jsx(t,{target:o,className:({isDropTarget:r})=>a$1(e({isDropTarget:r}),"BaselineUI-DropIndicator")})},...a$2})}export{s as a};
10
+ function s(a$2){return a({getItems:(o,r)=>r.map(i=>({"text/plain":i.label})),renderDropIndicator(o){return jsx(c,{target:o,className:({isDropTarget:r})=>a$1(e({isDropTarget:r}),"BaselineUI-DropIndicator")})},...a$2})}export{s as a};
@@ -1,4 +1,4 @@
1
- import {a as a$a}from'./chunk-5HXTXIE5.mjs';import {a as a$3}from'./chunk-MZIQ27JP.mjs';import {d,a as a$9,c as c$2,b as b$3}from'./chunk-5MUEJ5WI.mjs';import {a as a$8}from'./chunk-RO5ZRU3Y.mjs';import {a as a$5}from'./chunk-3DWFAHR2.mjs';import {a}from'./chunk-R6TFTLMV.mjs';import {b,c as c$3}from'./chunk-7MLFM55C.mjs';import {b as b$2}from'./chunk-AFOW62QN.mjs';import {a as a$6}from'./chunk-DAI7V4TE.mjs';import {b as b$1}from'./chunk-K5RYVERS.mjs';import {a as a$4}from'./chunk-2VY4FAOY.mjs';import {a as a$1}from'./chunk-STMDFIUL.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {c as c$1,b as b$4}from'./chunk-3WKDIXCM.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {a as a$7}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';/**
1
+ import {a as a$a}from'./chunk-5HXTXIE5.mjs';import {a as a$3}from'./chunk-MZIQ27JP.mjs';import {d,a as a$9,c as c$2,b as b$3}from'./chunk-5MUEJ5WI.mjs';import {a as a$8}from'./chunk-RO5ZRU3Y.mjs';import {a as a$5}from'./chunk-6GV3YWV7.mjs';import {a}from'./chunk-R6TFTLMV.mjs';import {b,c as c$3}from'./chunk-IDIZSV2Y.mjs';import {b as b$2}from'./chunk-INFMXVHD.mjs';import {a as a$6}from'./chunk-JTKDC2CM.mjs';import {b as b$1}from'./chunk-K5RYVERS.mjs';import {a as a$4}from'./chunk-2VY4FAOY.mjs';import {a as a$1}from'./chunk-STMDFIUL.mjs';import {a as a$2}from'./chunk-B3EZOXNU.mjs';import {j}from'./chunk-KUDCYGII.mjs';import {c as c$1,b as b$4}from'./chunk-3WKDIXCM.mjs';import {c}from'./chunk-ETM4MNG4.mjs';import {a as a$7}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
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {c}from'./chunk-TFSBTGTQ.mjs';import {b,c as c$1,a as a$1}from'./chunk-BROSGYL3.mjs';import {a}from'./chunk-4QEH5CGK.mjs';import {CheckmarkIcon,MinusIcon}from'@baseline-ui/icons/12';import P from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
1
+ import {c}from'./chunk-KQOXSF4J.mjs';import {b,c as c$1,a as a$1}from'./chunk-BROSGYL3.mjs';import {a}from'./chunk-4QEH5CGK.mjs';import {CheckmarkIcon,MinusIcon}from'@baseline-ui/icons/12';import P from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
@@ -1,4 +1,4 @@
1
- import {c,b}from'./chunk-7MLFM55C.mjs';import {a}from'./chunk-JJG67M2S.mjs';import m,{useEffect,useCallback}from'react';/**
1
+ import {c,b}from'./chunk-IDIZSV2Y.mjs';import {a}from'./chunk-JJG67M2S.mjs';import m,{useEffect,useCallback}from'react';/**
2
2
  * Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
3
3
  *
4
4
  * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW