@eightshift/ui-components 6.3.0 → 7.0.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 (973) hide show
  1. package/dist/Button-h6xF_WrP.js +225 -0
  2. package/dist/Dialog-i5VLQw1o.js +2488 -0
  3. package/dist/Disclosure-NYWFw9RJ.js +188 -0
  4. package/dist/FieldError-BWDbP5Db.js +213 -0
  5. package/dist/FocusScope-CgwbGOBB.js +746 -0
  6. package/dist/Form-DTMkbrQY.js +5 -0
  7. package/dist/Heading-Hol-wS_B.js +16 -0
  8. package/dist/Hidden-8TB37dpK.js +51 -0
  9. package/dist/Input-BURqyJXW.js +161 -0
  10. package/dist/Label-DFXXxMKY.js +17 -0
  11. package/dist/List-CMK5qsNF.js +506 -0
  12. package/dist/ListBox-B21SgugS.js +601 -0
  13. package/dist/NumberFormatter-m5VW6MTK.js +122 -0
  14. package/dist/OverlayArrow-BoloUPQM.js +573 -0
  15. package/dist/PortalProvider-DinZZCKX.js +14 -0
  16. package/dist/RSPContexts-C_z0bI8W.js +12 -0
  17. package/dist/RadioGroup-BwlGtCja.js +329 -0
  18. package/dist/SearchField-DR_I4_yn.js +765 -0
  19. package/dist/SelectionIndicator-31L6EI9F.js +13 -0
  20. package/dist/SelectionManager-B8lLv6Ue.js +2176 -0
  21. package/dist/Slider-DW1RuMVp.js +827 -0
  22. package/dist/Text-O6VBBDlP.js +16 -0
  23. package/dist/VisuallyHidden-CfsnJHZb.js +43 -0
  24. package/dist/animation-Bd2peown.js +62 -0
  25. package/dist/assets/style-admin.css +197 -200
  26. package/dist/assets/style-editor.css +197 -200
  27. package/dist/assets/style.css +197 -200
  28. package/dist/build-module-sxK3nxOK.js +855 -0
  29. package/dist/button-COTeluL8.js +524 -0
  30. package/dist/checkbox-D0AWkLhp.js +338 -0
  31. package/dist/clsx-BUU5J41u.js +16 -0
  32. package/dist/color-swatch-CBYsO_Zs.js +2572 -0
  33. package/dist/components/animated-visibility/animated-visibility.js +87 -111
  34. package/dist/components/base-control/base-control.js +73 -86
  35. package/dist/components/base-control/container.js +199 -227
  36. package/dist/components/breakpoint-preview/breakpoint-preview.js +162 -158
  37. package/dist/components/button/button.js +3 -580
  38. package/dist/components/checkbox/checkbox.js +2 -391
  39. package/dist/components/color-pickers/color-picker.js +172 -276
  40. package/dist/components/color-pickers/color-swatch.js +3 -7
  41. package/dist/components/color-pickers/gradient-editor.js +4 -552
  42. package/dist/components/color-pickers/solid-color-picker.js +3 -1710
  43. package/dist/components/component-toggle/component-toggle.js +107 -160
  44. package/dist/components/container-panel/container-panel.js +94 -151
  45. package/dist/components/draggable/draggable-context.js +4 -4
  46. package/dist/components/draggable/draggable-handle.js +27 -43
  47. package/dist/components/draggable/draggable.js +3 -7638
  48. package/dist/components/draggable-list/draggable-list-context.js +4 -4
  49. package/dist/components/draggable-list/draggable-list-item.js +63 -80
  50. package/dist/components/draggable-list/draggable-list.js +115 -142
  51. package/dist/components/expandable/expandable.js +105 -407
  52. package/dist/components/index.js +30 -106
  53. package/dist/components/input-field/input-field.js +2 -326
  54. package/dist/components/item-collection/item-collection.js +50 -56
  55. package/dist/components/layout/hstack.js +27 -29
  56. package/dist/components/layout/vstack.js +27 -29
  57. package/dist/components/link-input/link-input.js +3 -1943
  58. package/dist/components/matrix-align/matrix-align.js +127 -161
  59. package/dist/components/menu/menu.js +253 -356
  60. package/dist/components/modal/modal.js +3 -399
  61. package/dist/components/notice/notice.js +99 -139
  62. package/dist/components/number-picker/number-picker.js +3 -344
  63. package/dist/components/option-select/option-select.js +226 -404
  64. package/dist/components/options-panel/options-panel.js +138 -175
  65. package/dist/components/placeholders/file-picker-shell.js +91 -141
  66. package/dist/components/placeholders/file-placeholder.js +41 -53
  67. package/dist/components/placeholders/image-placeholder.js +65 -96
  68. package/dist/components/placeholders/media-placeholder.js +65 -68
  69. package/dist/components/popover/popover.js +147 -221
  70. package/dist/components/portal-provider/portal-provider.js +23 -21
  71. package/dist/components/radio/radio.js +246 -294
  72. package/dist/components/repeater/repeater-context.js +4 -4
  73. package/dist/components/repeater/repeater-item.js +95 -114
  74. package/dist/components/repeater/repeater.js +221 -278
  75. package/dist/components/responsive/mini-responsive.js +403 -495
  76. package/dist/components/responsive/responsive-legacy.js +271 -336
  77. package/dist/components/responsive/responsive.js +445 -562
  78. package/dist/components/responsive-preview/responsive-preview.js +94 -117
  79. package/dist/components/rich-label/rich-label.js +80 -75
  80. package/dist/components/select/async-multi-select.js +360 -589
  81. package/dist/components/select/async-select.js +284 -492
  82. package/dist/components/select/multi-select.js +340 -552
  83. package/dist/components/select/shared.js +3 -17
  84. package/dist/components/select/single-select.js +278 -475
  85. package/dist/components/select/styles.js +84 -0
  86. package/dist/components/slider/column-config-slider.js +170 -301
  87. package/dist/components/slider/slider.js +258 -405
  88. package/dist/components/slider/utils.js +77 -121
  89. package/dist/components/smart-image/image-analysis-worker.js +128 -0
  90. package/dist/components/smart-image/smart-image.js +3 -205
  91. package/dist/components/smart-image/worker-inline.js +4 -4
  92. package/dist/components/spacer/spacer.js +80 -94
  93. package/dist/components/tabs/tabs.js +3 -1051
  94. package/dist/components/toggle/switch.js +2 -295
  95. package/dist/components/toggle/toggle.js +54 -64
  96. package/dist/components/toggle-button/toggle-button.js +2 -451
  97. package/dist/components/tooltip/tooltip.js +2 -535
  98. package/dist/context-C-XNeJ_l.js +93 -0
  99. package/dist/debounce-throttle-DXxSAKpq.js +120 -0
  100. package/dist/dist-DIK9pFxO.js +55 -0
  101. package/dist/draggable-CYQyD9gG.js +6961 -0
  102. package/dist/es-dash-HqXWZZ3_.js +303 -0
  103. package/dist/filterDOMProps-_2_3GD-K.js +69 -0
  104. package/dist/general-D-7dwhuF.js +4277 -0
  105. package/dist/gradient-editor-DbH8NU2p.js +604 -0
  106. package/dist/icons/block-icon.js +34 -39
  107. package/dist/icons/generated-icon-loaders.js +759 -0
  108. package/dist/icons/generic-color-swatch.js +81 -111
  109. package/dist/icons/icon.js +67 -0
  110. package/dist/icons/icons.js +218 -3656
  111. package/dist/icons/index.js +756 -10
  112. package/dist/icons/internal.js +758 -0
  113. package/dist/icons/jsx-svg.js +2 -94
  114. package/dist/icons/spinner.js +16 -18
  115. package/dist/icons/ui-icons/a11y-warning.js +34 -0
  116. package/dist/icons/ui-icons/a11y.js +29 -0
  117. package/dist/icons/ui-icons/accelerometer.js +51 -0
  118. package/dist/icons/ui-icons/activity-log.js +53 -0
  119. package/dist/icons/ui-icons/add.js +20 -0
  120. package/dist/icons/ui-icons/alert.js +31 -0
  121. package/dist/icons/ui-icons/align-horizontal-vertical-alt.js +37 -0
  122. package/dist/icons/ui-icons/align-horizontal-vertical-alt2.js +36 -0
  123. package/dist/icons/ui-icons/align-horizontal-vertical.js +34 -0
  124. package/dist/icons/ui-icons/alt-text-generic-alt.js +19 -0
  125. package/dist/icons/ui-icons/alt-text-generic.js +25 -0
  126. package/dist/icons/ui-icons/alt-text.js +36 -0
  127. package/dist/icons/ui-icons/anchor-page.js +44 -0
  128. package/dist/icons/ui-icons/anchor.js +28 -0
  129. package/dist/icons/ui-icons/angle.js +24 -0
  130. package/dist/icons/ui-icons/animation-file.js +66 -0
  131. package/dist/icons/ui-icons/animation-generic.js +36 -0
  132. package/dist/icons/ui-icons/animation-list-generic.js +41 -0
  133. package/dist/icons/ui-icons/animation-settings-generic.js +41 -0
  134. package/dist/icons/ui-icons/animation.js +55 -0
  135. package/dist/icons/ui-icons/archive-file.js +24 -0
  136. package/dist/icons/ui-icons/archive.js +39 -0
  137. package/dist/icons/ui-icons/aria-label.js +42 -0
  138. package/dist/icons/ui-icons/arrow-down-circle-alt.js +28 -0
  139. package/dist/icons/ui-icons/arrow-down-circle.js +28 -0
  140. package/dist/icons/ui-icons/arrow-down-square-alt.js +28 -0
  141. package/dist/icons/ui-icons/arrow-down-square.js +28 -0
  142. package/dist/icons/ui-icons/arrow-down.js +20 -0
  143. package/dist/icons/ui-icons/arrow-left-circle-alt.js +28 -0
  144. package/dist/icons/ui-icons/arrow-left-circle.js +28 -0
  145. package/dist/icons/ui-icons/arrow-left-square-alt.js +28 -0
  146. package/dist/icons/ui-icons/arrow-left-square.js +28 -0
  147. package/dist/icons/ui-icons/arrow-left.js +20 -0
  148. package/dist/icons/ui-icons/arrow-right-circle-alt.js +28 -0
  149. package/dist/icons/ui-icons/arrow-right-circle.js +28 -0
  150. package/dist/icons/ui-icons/arrow-right-square-alt.js +28 -0
  151. package/dist/icons/ui-icons/arrow-right-square.js +28 -0
  152. package/dist/icons/ui-icons/arrow-right.js +20 -0
  153. package/dist/icons/ui-icons/arrow-up-circle-alt.js +28 -0
  154. package/dist/icons/ui-icons/arrow-up-circle.js +28 -0
  155. package/dist/icons/ui-icons/arrow-up-square-alt.js +28 -0
  156. package/dist/icons/ui-icons/arrow-up-square.js +28 -0
  157. package/dist/icons/ui-icons/arrow-up.js +20 -0
  158. package/dist/icons/ui-icons/arrows-down.js +38 -0
  159. package/dist/icons/ui-icons/arrows-horizontal.js +20 -0
  160. package/dist/icons/ui-icons/arrows-left-diagonal.js +20 -0
  161. package/dist/icons/ui-icons/arrows-left.js +38 -0
  162. package/dist/icons/ui-icons/arrows-right-diagonal.js +20 -0
  163. package/dist/icons/ui-icons/arrows-right.js +38 -0
  164. package/dist/icons/ui-icons/arrows-up.js +38 -0
  165. package/dist/icons/ui-icons/arrows-vertical.js +20 -0
  166. package/dist/icons/ui-icons/aspect-ratio-auto.js +38 -0
  167. package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.js +28 -0
  168. package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.js +28 -0
  169. package/dist/icons/ui-icons/aspect-ratio-square.js +28 -0
  170. package/dist/icons/ui-icons/aspect-ratio-three-two.js +28 -0
  171. package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.js +28 -0
  172. package/dist/icons/ui-icons/aspect-ratio.js +27 -0
  173. package/dist/icons/ui-icons/attachment.js +19 -0
  174. package/dist/icons/ui-icons/auto-close.js +26 -0
  175. package/dist/icons/ui-icons/auto-pause-scroll.js +39 -0
  176. package/dist/icons/ui-icons/auto-pause.js +26 -0
  177. package/dist/icons/ui-icons/automatic-alt.js +19 -0
  178. package/dist/icons/ui-icons/automatic.js +20 -0
  179. package/dist/icons/ui-icons/autoplay-alt.js +34 -0
  180. package/dist/icons/ui-icons/autoplay-alt2.js +23 -0
  181. package/dist/icons/ui-icons/autoplay.js +36 -0
  182. package/dist/icons/ui-icons/award.js +39 -0
  183. package/dist/icons/ui-icons/background-blur.js +66 -0
  184. package/dist/icons/ui-icons/background-color-swatch.js +48 -0
  185. package/dist/icons/ui-icons/background-image.js +41 -0
  186. package/dist/icons/ui-icons/background-repeat.js +95 -0
  187. package/dist/icons/ui-icons/background-type-alt.js +38 -0
  188. package/dist/icons/ui-icons/background-type-alt2.js +27 -0
  189. package/dist/icons/ui-icons/background-type.js +27 -0
  190. package/dist/icons/ui-icons/block-parts.js +54 -0
  191. package/dist/icons/ui-icons/bold.js +21 -0
  192. package/dist/icons/ui-icons/book.js +40 -0
  193. package/dist/icons/ui-icons/bookmark.js +18 -0
  194. package/dist/icons/ui-icons/boolean-exclude.js +24 -0
  195. package/dist/icons/ui-icons/boolean-intersect.js +31 -0
  196. package/dist/icons/ui-icons/boolean-subtract.js +27 -0
  197. package/dist/icons/ui-icons/boolean-union.js +33 -0
  198. package/dist/icons/ui-icons/border-color.js +79 -0
  199. package/dist/icons/ui-icons/border.js +60 -0
  200. package/dist/icons/ui-icons/bot-deny.js +61 -0
  201. package/dist/icons/ui-icons/bot.js +47 -0
  202. package/dist/icons/ui-icons/box.js +35 -0
  203. package/dist/icons/ui-icons/brain.js +20 -0
  204. package/dist/icons/ui-icons/branch-fork.js +46 -0
  205. package/dist/icons/ui-icons/branch.js +46 -0
  206. package/dist/icons/ui-icons/briefcase.js +26 -0
  207. package/dist/icons/ui-icons/browser.js +60 -0
  208. package/dist/icons/ui-icons/button-disabled.js +30 -0
  209. package/dist/icons/ui-icons/button-filled.js +19 -0
  210. package/dist/icons/ui-icons/button-ghost.js +28 -0
  211. package/dist/icons/ui-icons/button-outline.js +27 -0
  212. package/dist/icons/ui-icons/calculator.js +139 -0
  213. package/dist/icons/ui-icons/calendar-add.js +51 -0
  214. package/dist/icons/ui-icons/calendar-download.js +62 -0
  215. package/dist/icons/ui-icons/calendar-remove.js +51 -0
  216. package/dist/icons/ui-icons/calendar.js +34 -0
  217. package/dist/icons/ui-icons/caption-generic.js +25 -0
  218. package/dist/icons/ui-icons/card-featured.js +28 -0
  219. package/dist/icons/ui-icons/caret-down-fill.js +19 -0
  220. package/dist/icons/ui-icons/caret-down.js +19 -0
  221. package/dist/icons/ui-icons/caret-left-fill.js +19 -0
  222. package/dist/icons/ui-icons/caret-left.js +19 -0
  223. package/dist/icons/ui-icons/caret-right-fill.js +19 -0
  224. package/dist/icons/ui-icons/caret-right.js +19 -0
  225. package/dist/icons/ui-icons/caret-up-fill.js +19 -0
  226. package/dist/icons/ui-icons/caret-up.js +19 -0
  227. package/dist/icons/ui-icons/center-point.js +25 -0
  228. package/dist/icons/ui-icons/chat-bubble-alt.js +25 -0
  229. package/dist/icons/ui-icons/chat-bubble.js +19 -0
  230. package/dist/icons/ui-icons/chat.js +25 -0
  231. package/dist/icons/ui-icons/check-circle-fill-transparent.js +24 -0
  232. package/dist/icons/ui-icons/check-circle-fill.js +17 -0
  233. package/dist/icons/ui-icons/check-circle.js +27 -0
  234. package/dist/icons/ui-icons/check-square.js +28 -0
  235. package/dist/icons/ui-icons/check.js +20 -0
  236. package/dist/icons/ui-icons/checks-circle.js +26 -0
  237. package/dist/icons/ui-icons/checks.js +26 -0
  238. package/dist/icons/ui-icons/chevron-down.js +20 -0
  239. package/dist/icons/ui-icons/chevron-left.js +20 -0
  240. package/dist/icons/ui-icons/chevron-right.js +20 -0
  241. package/dist/icons/ui-icons/chevron-up.js +20 -0
  242. package/dist/icons/ui-icons/clear-alt.js +25 -0
  243. package/dist/icons/ui-icons/clear.js +20 -0
  244. package/dist/icons/ui-icons/clipboard-plain.js +35 -0
  245. package/dist/icons/ui-icons/clipboard.js +43 -0
  246. package/dist/icons/ui-icons/clock.js +26 -0
  247. package/dist/icons/ui-icons/closed-captions.js +27 -0
  248. package/dist/icons/ui-icons/code-variable.js +20 -0
  249. package/dist/icons/ui-icons/code.js +20 -0
  250. package/dist/icons/ui-icons/color-alt.js +40 -0
  251. package/dist/icons/ui-icons/color-fill-swatch.js +61 -0
  252. package/dist/icons/ui-icons/color-picker-fill.js +42 -0
  253. package/dist/icons/ui-icons/color-picker-list-marker.js +41 -0
  254. package/dist/icons/ui-icons/color-picker-text-highlight.js +19 -0
  255. package/dist/icons/ui-icons/color-picker-text.js +20 -0
  256. package/dist/icons/ui-icons/color-select.js +33 -0
  257. package/dist/icons/ui-icons/color.js +22 -0
  258. package/dist/icons/ui-icons/column-gutters-lr.js +54 -0
  259. package/dist/icons/ui-icons/columns.js +42 -0
  260. package/dist/icons/ui-icons/columns3366.js +30 -0
  261. package/dist/icons/ui-icons/columns6633.js +30 -0
  262. package/dist/icons/ui-icons/component-generic.js +27 -0
  263. package/dist/icons/ui-icons/component-options.js +36 -0
  264. package/dist/icons/ui-icons/condition-h.js +20 -0
  265. package/dist/icons/ui-icons/condition-v.js +20 -0
  266. package/dist/icons/ui-icons/conditional-visibility.js +26 -0
  267. package/dist/icons/ui-icons/container-height.js +68 -0
  268. package/dist/icons/ui-icons/container-spacing-h.js +41 -0
  269. package/dist/icons/ui-icons/container-spacing.js +41 -0
  270. package/dist/icons/ui-icons/container-width.js +68 -0
  271. package/dist/icons/ui-icons/content-bottom-left.js +31 -0
  272. package/dist/icons/ui-icons/content-bottom-right.js +31 -0
  273. package/dist/icons/ui-icons/content-center.js +31 -0
  274. package/dist/icons/ui-icons/content-top-left.js +31 -0
  275. package/dist/icons/ui-icons/content-top-right.js +31 -0
  276. package/dist/icons/ui-icons/contrast-alt.js +27 -0
  277. package/dist/icons/ui-icons/contrast.js +26 -0
  278. package/dist/icons/ui-icons/cookie-alt.js +124 -0
  279. package/dist/icons/ui-icons/cookie.js +76 -0
  280. package/dist/icons/ui-icons/copy.js +26 -0
  281. package/dist/icons/ui-icons/currency.js +48 -0
  282. package/dist/icons/ui-icons/current-page.js +42 -0
  283. package/dist/icons/ui-icons/cursor-disabled.js +35 -0
  284. package/dist/icons/ui-icons/cursor-move.js +20 -0
  285. package/dist/icons/ui-icons/dark-mode.js +20 -0
  286. package/dist/icons/ui-icons/data.js +33 -0
  287. package/dist/icons/ui-icons/date-time.js +67 -0
  288. package/dist/icons/ui-icons/defer.js +26 -0
  289. package/dist/icons/ui-icons/description-link.js +40 -0
  290. package/dist/icons/ui-icons/design.js +48 -0
  291. package/dist/icons/ui-icons/dice.js +59 -0
  292. package/dist/icons/ui-icons/divider-bottom.js +23 -0
  293. package/dist/icons/ui-icons/divider-side.js +53 -0
  294. package/dist/icons/ui-icons/divider-status.js +53 -0
  295. package/dist/icons/ui-icons/divider-top.js +23 -0
  296. package/dist/icons/ui-icons/divider.js +23 -0
  297. package/dist/icons/ui-icons/door-in.js +32 -0
  298. package/dist/icons/ui-icons/door-out.js +32 -0
  299. package/dist/icons/ui-icons/door.js +27 -0
  300. package/dist/icons/ui-icons/download.js +20 -0
  301. package/dist/icons/ui-icons/dropdown-caret-alt.js +17 -0
  302. package/dist/icons/ui-icons/dropdown-caret.js +20 -0
  303. package/dist/icons/ui-icons/dropdown-close.js +52 -0
  304. package/dist/icons/ui-icons/dropdown-open.js +38 -0
  305. package/dist/icons/ui-icons/dropdown.js +38 -0
  306. package/dist/icons/ui-icons/dummy-spacer.js +17 -0
  307. package/dist/icons/ui-icons/edit-options.js +32 -0
  308. package/dist/icons/ui-icons/edit.js +22 -0
  309. package/dist/icons/ui-icons/email-remove.js +42 -0
  310. package/dist/icons/ui-icons/email.js +28 -0
  311. package/dist/icons/ui-icons/embed.js +28 -0
  312. package/dist/icons/ui-icons/empty-circle.js +23 -0
  313. package/dist/icons/ui-icons/empty-rect.js +25 -0
  314. package/dist/icons/ui-icons/equal-columns.js +25 -0
  315. package/dist/icons/ui-icons/equal-rows.js +25 -0
  316. package/dist/icons/ui-icons/equals.js +20 -0
  317. package/dist/icons/ui-icons/error-circle-fill-transparent.js +23 -0
  318. package/dist/icons/ui-icons/error-circle-fill.js +17 -0
  319. package/dist/icons/ui-icons/error-circle.js +24 -0
  320. package/dist/icons/ui-icons/exclude-item-alt.js +38 -0
  321. package/dist/icons/ui-icons/exclude-item.js +42 -0
  322. package/dist/icons/ui-icons/exclude.js +29 -0
  323. package/dist/icons/ui-icons/expand-xl.js +20 -0
  324. package/dist/icons/ui-icons/expand.js +20 -0
  325. package/dist/icons/ui-icons/experiment.js +33 -0
  326. package/dist/icons/ui-icons/external-link.js +25 -0
  327. package/dist/icons/ui-icons/extract-alt.js +25 -0
  328. package/dist/icons/ui-icons/extract.js +25 -0
  329. package/dist/icons/ui-icons/eyedropper.js +36 -0
  330. package/dist/icons/ui-icons/fast-forward.js +26 -0
  331. package/dist/icons/ui-icons/fast-reverse.js +26 -0
  332. package/dist/icons/ui-icons/field-after-text.js +54 -0
  333. package/dist/icons/ui-icons/field-before-text.js +46 -0
  334. package/dist/icons/ui-icons/field-disabled.js +35 -0
  335. package/dist/icons/ui-icons/field-help.js +46 -0
  336. package/dist/icons/ui-icons/field-label.js +38 -0
  337. package/dist/icons/ui-icons/field-name.js +45 -0
  338. package/dist/icons/ui-icons/field-placeholder.js +49 -0
  339. package/dist/icons/ui-icons/field-readonly.js +36 -0
  340. package/dist/icons/ui-icons/field-required.js +37 -0
  341. package/dist/icons/ui-icons/field-type.js +36 -0
  342. package/dist/icons/ui-icons/field-value.js +46 -0
  343. package/dist/icons/ui-icons/field-width.js +27 -0
  344. package/dist/icons/ui-icons/file-download.js +33 -0
  345. package/dist/icons/ui-icons/file-error.js +25 -0
  346. package/dist/icons/ui-icons/file-metadata.js +41 -0
  347. package/dist/icons/ui-icons/file-pdf.js +34 -0
  348. package/dist/icons/ui-icons/file-size-max.js +33 -0
  349. package/dist/icons/ui-icons/file-size-min.js +33 -0
  350. package/dist/icons/ui-icons/file-size.js +34 -0
  351. package/dist/icons/ui-icons/file-type.js +42 -0
  352. package/dist/icons/ui-icons/file-upload.js +33 -0
  353. package/dist/icons/ui-icons/file.js +24 -0
  354. package/dist/icons/ui-icons/files.js +34 -0
  355. package/dist/icons/ui-icons/fill-color.js +49 -0
  356. package/dist/icons/ui-icons/filter-alt.js +24 -0
  357. package/dist/icons/ui-icons/filter.js +20 -0
  358. package/dist/icons/ui-icons/flag-alt.js +24 -0
  359. package/dist/icons/ui-icons/flag.js +24 -0
  360. package/dist/icons/ui-icons/flip-h.js +27 -0
  361. package/dist/icons/ui-icons/flip-v.js +27 -0
  362. package/dist/icons/ui-icons/focus.js +21 -0
  363. package/dist/icons/ui-icons/folder-add.js +22 -0
  364. package/dist/icons/ui-icons/folder-open-solid.js +17 -0
  365. package/dist/icons/ui-icons/folder-open.js +19 -0
  366. package/dist/icons/ui-icons/folder-solid.js +17 -0
  367. package/dist/icons/ui-icons/folder-top-level.js +22 -0
  368. package/dist/icons/ui-icons/folder.js +19 -0
  369. package/dist/icons/ui-icons/font-family.js +24 -0
  370. package/dist/icons/ui-icons/footer.js +23 -0
  371. package/dist/icons/ui-icons/form-alt.js +71 -0
  372. package/dist/icons/ui-icons/form.js +53 -0
  373. package/dist/icons/ui-icons/four-columns.js +38 -0
  374. package/dist/icons/ui-icons/frame.js +33 -0
  375. package/dist/icons/ui-icons/full-max-shield.js +26 -0
  376. package/dist/icons/ui-icons/full-max-text.js +20 -0
  377. package/dist/icons/ui-icons/full-width-image.js +35 -0
  378. package/dist/icons/ui-icons/gears-fill.js +19 -0
  379. package/dist/icons/ui-icons/gears.js +38 -0
  380. package/dist/icons/ui-icons/generic-color-swatch.js +6 -0
  381. package/dist/icons/ui-icons/generic-shapes-alt.js +33 -0
  382. package/dist/icons/ui-icons/generic-shapes.js +38 -0
  383. package/dist/icons/ui-icons/globe-anchor.js +55 -0
  384. package/dist/icons/ui-icons/globe-hash.js +40 -0
  385. package/dist/icons/ui-icons/globe.js +37 -0
  386. package/dist/icons/ui-icons/google-tag-manager.js +36 -0
  387. package/dist/icons/ui-icons/gradient-repeat.js +41 -0
  388. package/dist/icons/ui-icons/gradient-stop.js +36 -0
  389. package/dist/icons/ui-icons/gradient.js +54 -0
  390. package/dist/icons/ui-icons/grid-alt.js +19 -0
  391. package/dist/icons/ui-icons/grid-auto-cols.js +46 -0
  392. package/dist/icons/ui-icons/grid-auto-rows.js +41 -0
  393. package/dist/icons/ui-icons/grid-col.js +22 -0
  394. package/dist/icons/ui-icons/grid-height.js +22 -0
  395. package/dist/icons/ui-icons/grid-list-toggle.js +48 -0
  396. package/dist/icons/ui-icons/grid-manual.js +18 -0
  397. package/dist/icons/ui-icons/grid-row.js +22 -0
  398. package/dist/icons/ui-icons/grid-width.js +22 -0
  399. package/dist/icons/ui-icons/group.js +33 -0
  400. package/dist/icons/ui-icons/gutter.js +28 -0
  401. package/dist/icons/ui-icons/gyroscope.js +53 -0
  402. package/dist/icons/ui-icons/h1.js +28 -0
  403. package/dist/icons/ui-icons/h2.js +28 -0
  404. package/dist/icons/ui-icons/h3.js +28 -0
  405. package/dist/icons/ui-icons/h4.js +28 -0
  406. package/dist/icons/ui-icons/h5.js +28 -0
  407. package/dist/icons/ui-icons/h6.js +28 -0
  408. package/dist/icons/ui-icons/hamburger-menu.js +19 -0
  409. package/dist/icons/ui-icons/hard-drive.js +35 -0
  410. package/dist/icons/ui-icons/header.js +23 -0
  411. package/dist/icons/ui-icons/heading-level-alt.js +28 -0
  412. package/dist/icons/ui-icons/heading-level.js +28 -0
  413. package/dist/icons/ui-icons/heading.js +20 -0
  414. package/dist/icons/ui-icons/heart-fill-transparent.js +19 -0
  415. package/dist/icons/ui-icons/heart-fill.js +18 -0
  416. package/dist/icons/ui-icons/heart.js +18 -0
  417. package/dist/icons/ui-icons/height.js +30 -0
  418. package/dist/icons/ui-icons/help-fill.js +19 -0
  419. package/dist/icons/ui-icons/help.js +38 -0
  420. package/dist/icons/ui-icons/hide.js +29 -0
  421. package/dist/icons/ui-icons/highlighted-checkmark.js +24 -0
  422. package/dist/icons/ui-icons/highlighted-exclamation-mark.js +33 -0
  423. package/dist/icons/ui-icons/history.js +26 -0
  424. package/dist/icons/ui-icons/horizontal-align-alt.js +27 -0
  425. package/dist/icons/ui-icons/horizontal-align-around.js +37 -0
  426. package/dist/icons/ui-icons/horizontal-align-between-alt.js +37 -0
  427. package/dist/icons/ui-icons/horizontal-align-between.js +46 -0
  428. package/dist/icons/ui-icons/horizontal-align-center.js +41 -0
  429. package/dist/icons/ui-icons/horizontal-align-evenly.js +37 -0
  430. package/dist/icons/ui-icons/horizontal-align-left.js +44 -0
  431. package/dist/icons/ui-icons/horizontal-align-right.js +48 -0
  432. package/dist/icons/ui-icons/horizontal-align-stretch.js +37 -0
  433. package/dist/icons/ui-icons/horizontal-align.js +35 -0
  434. package/dist/icons/ui-icons/hover-background-glow.js +61 -0
  435. package/dist/icons/ui-icons/hover-background-type.js +34 -0
  436. package/dist/icons/ui-icons/hover-invert-object.js +42 -0
  437. package/dist/icons/ui-icons/hover-invert-text.js +32 -0
  438. package/dist/icons/ui-icons/hover-rotate.js +20 -0
  439. package/dist/icons/ui-icons/hover-zoom.js +25 -0
  440. package/dist/icons/ui-icons/hyphenate-alt.js +20 -0
  441. package/dist/icons/ui-icons/hyphenate-alt2.js +20 -0
  442. package/dist/icons/ui-icons/hyphenate.js +25 -0
  443. package/dist/icons/ui-icons/icon-generic.js +23 -0
  444. package/dist/icons/ui-icons/id-card.js +45 -0
  445. package/dist/icons/ui-icons/id.js +28 -0
  446. package/dist/icons/ui-icons/image-blur.js +50 -0
  447. package/dist/icons/ui-icons/image-caption.js +36 -0
  448. package/dist/icons/ui-icons/image-error.js +36 -0
  449. package/dist/icons/ui-icons/image-file.js +40 -0
  450. package/dist/icons/ui-icons/image-lazy-load.js +52 -0
  451. package/dist/icons/ui-icons/image-opacity.js +31 -0
  452. package/dist/icons/ui-icons/image-overlay-alt.js +93 -0
  453. package/dist/icons/ui-icons/image-overlay-alt2.js +93 -0
  454. package/dist/icons/ui-icons/image-overlay.js +92 -0
  455. package/dist/icons/ui-icons/image-remove.js +46 -0
  456. package/dist/icons/ui-icons/image.js +25 -0
  457. package/dist/icons/ui-icons/index.js +753 -0
  458. package/dist/icons/ui-icons/info-circle-fill-transparent.js +21 -0
  459. package/dist/icons/ui-icons/info-circle-fill.js +17 -0
  460. package/dist/icons/ui-icons/info-circle.js +24 -0
  461. package/dist/icons/ui-icons/info.js +17 -0
  462. package/dist/icons/ui-icons/inherit.js +41 -0
  463. package/dist/icons/ui-icons/inline-gradient-format.js +62 -0
  464. package/dist/icons/ui-icons/input-field.js +27 -0
  465. package/dist/icons/ui-icons/italic.js +20 -0
  466. package/dist/icons/ui-icons/item-limit.js +35 -0
  467. package/dist/icons/ui-icons/item-select.js +33 -0
  468. package/dist/icons/ui-icons/item-wrap.js +60 -0
  469. package/dist/icons/ui-icons/items-per-page.js +48 -0
  470. package/dist/icons/ui-icons/items-per-row.js +45 -0
  471. package/dist/icons/ui-icons/key.js +25 -0
  472. package/dist/icons/ui-icons/keyboard.js +19 -0
  473. package/dist/icons/ui-icons/large.js +24 -0
  474. package/dist/icons/ui-icons/latest-posts.js +44 -0
  475. package/dist/icons/ui-icons/layer-off.js +20 -0
  476. package/dist/icons/ui-icons/layer.js +19 -0
  477. package/dist/icons/ui-icons/layers.js +33 -0
  478. package/dist/icons/ui-icons/layout-alt.js +19 -0
  479. package/dist/icons/ui-icons/layout-alt2.js +23 -0
  480. package/dist/icons/ui-icons/layout-alt3.js +19 -0
  481. package/dist/icons/ui-icons/layout-alt4.js +19 -0
  482. package/dist/icons/ui-icons/layout-bento-box.js +19 -0
  483. package/dist/icons/ui-icons/layout-masonry.js +79 -0
  484. package/dist/icons/ui-icons/layout.js +43 -0
  485. package/dist/icons/ui-icons/left-panel-alt.js +25 -0
  486. package/dist/icons/ui-icons/left-panel.js +22 -0
  487. package/dist/icons/ui-icons/light-bulb-alt.js +30 -0
  488. package/dist/icons/ui-icons/light-bulb.js +33 -0
  489. package/dist/icons/ui-icons/light-mode.js +26 -0
  490. package/dist/icons/ui-icons/limit-width.js +26 -0
  491. package/dist/icons/ui-icons/line-break-alt-off.js +26 -0
  492. package/dist/icons/ui-icons/line-break-alt.js +25 -0
  493. package/dist/icons/ui-icons/line-break-off-alt.js +35 -0
  494. package/dist/icons/ui-icons/line-break-off.js +41 -0
  495. package/dist/icons/ui-icons/line-break.js +29 -0
  496. package/dist/icons/ui-icons/line-breaks-hyphenation.js +36 -0
  497. package/dist/icons/ui-icons/link-add.js +41 -0
  498. package/dist/icons/ui-icons/link-nav.js +59 -0
  499. package/dist/icons/ui-icons/link-remove.js +41 -0
  500. package/dist/icons/ui-icons/link.js +19 -0
  501. package/dist/icons/ui-icons/list-indent.js +26 -0
  502. package/dist/icons/ui-icons/list-ordered.js +43 -0
  503. package/dist/icons/ui-icons/list-outdent.js +26 -0
  504. package/dist/icons/ui-icons/list-unordered.js +43 -0
  505. package/dist/icons/ui-icons/loader-alt.js +19 -0
  506. package/dist/icons/ui-icons/loader.js +19 -0
  507. package/dist/icons/ui-icons/location-add.js +44 -0
  508. package/dist/icons/ui-icons/location-allow.js +44 -0
  509. package/dist/icons/ui-icons/location-deny.js +44 -0
  510. package/dist/icons/ui-icons/location-settings.js +36 -0
  511. package/dist/icons/ui-icons/location.js +26 -0
  512. package/dist/icons/ui-icons/lock.js +44 -0
  513. package/dist/icons/ui-icons/loop-mode.js +20 -0
  514. package/dist/icons/ui-icons/magic-alt-fill-transparent.js +20 -0
  515. package/dist/icons/ui-icons/magic-alt-fill.js +19 -0
  516. package/dist/icons/ui-icons/magic-alt.js +19 -0
  517. package/dist/icons/ui-icons/magic-fill-transparent.js +20 -0
  518. package/dist/icons/ui-icons/magic-fill.js +19 -0
  519. package/dist/icons/ui-icons/magic.js +19 -0
  520. package/dist/icons/ui-icons/map-layer-json.js +35 -0
  521. package/dist/icons/ui-icons/map-layer-raster.js +121 -0
  522. package/dist/icons/ui-icons/map-layer-vector.js +81 -0
  523. package/dist/icons/ui-icons/map-layer.js +26 -0
  524. package/dist/icons/ui-icons/map-pin.js +41 -0
  525. package/dist/icons/ui-icons/matrix-align-control-dot-active.js +23 -0
  526. package/dist/icons/ui-icons/matrix-align-control-dot-inactive.js +21 -0
  527. package/dist/icons/ui-icons/media.js +49 -0
  528. package/dist/icons/ui-icons/medium.js +24 -0
  529. package/dist/icons/ui-icons/menu-item-check.js +20 -0
  530. package/dist/icons/ui-icons/menu-item-circle.js +19 -0
  531. package/dist/icons/ui-icons/microphone.js +23 -0
  532. package/dist/icons/ui-icons/migration-alt-v.js +20 -0
  533. package/dist/icons/ui-icons/migration-alt.js +20 -0
  534. package/dist/icons/ui-icons/migration.js +26 -0
  535. package/dist/icons/ui-icons/module.js +24 -0
  536. package/dist/icons/ui-icons/money-paper.js +58 -0
  537. package/dist/icons/ui-icons/more-h-circle.js +40 -0
  538. package/dist/icons/ui-icons/more-h.js +33 -0
  539. package/dist/icons/ui-icons/more-v-circle.js +44 -0
  540. package/dist/icons/ui-icons/more-v.js +36 -0
  541. package/dist/icons/ui-icons/mouse-cursor.js +20 -0
  542. package/dist/icons/ui-icons/mouse-wheel.js +27 -0
  543. package/dist/icons/ui-icons/multi-item-left-inset-mobile.js +58 -0
  544. package/dist/icons/ui-icons/multi-item-left-inset.js +39 -0
  545. package/dist/icons/ui-icons/multi-item-right-inset-mobile.js +55 -0
  546. package/dist/icons/ui-icons/multi-item-right-inset.js +36 -0
  547. package/dist/icons/ui-icons/multiple.js +34 -0
  548. package/dist/icons/ui-icons/music-note.js +40 -0
  549. package/dist/icons/ui-icons/mute-centered.js +20 -0
  550. package/dist/icons/ui-icons/mute.js +20 -0
  551. package/dist/icons/ui-icons/narrow-bottom.js +49 -0
  552. package/dist/icons/ui-icons/narrow-left.js +49 -0
  553. package/dist/icons/ui-icons/narrow-right.js +49 -0
  554. package/dist/icons/ui-icons/narrow-top.js +49 -0
  555. package/dist/icons/ui-icons/navigation-buttons.js +39 -0
  556. package/dist/icons/ui-icons/new-tab.js +27 -0
  557. package/dist/icons/ui-icons/newspaper.js +45 -0
  558. package/dist/icons/ui-icons/none.js +25 -0
  559. package/dist/icons/ui-icons/notebook.js +44 -0
  560. package/dist/icons/ui-icons/num0-circle-alt.js +24 -0
  561. package/dist/icons/ui-icons/num0-circle.js +24 -0
  562. package/dist/icons/ui-icons/num0-square-alt.js +26 -0
  563. package/dist/icons/ui-icons/num0-square.js +26 -0
  564. package/dist/icons/ui-icons/num1-circle-alt.js +26 -0
  565. package/dist/icons/ui-icons/num1-circle.js +26 -0
  566. package/dist/icons/ui-icons/num1-square-alt.js +28 -0
  567. package/dist/icons/ui-icons/num1-square.js +28 -0
  568. package/dist/icons/ui-icons/num2-circle-alt.js +26 -0
  569. package/dist/icons/ui-icons/num2-circle.js +26 -0
  570. package/dist/icons/ui-icons/num2-square-alt.js +28 -0
  571. package/dist/icons/ui-icons/num2-square.js +28 -0
  572. package/dist/icons/ui-icons/num3-circle-alt.js +26 -0
  573. package/dist/icons/ui-icons/num3-circle.js +26 -0
  574. package/dist/icons/ui-icons/num3-square-alt.js +28 -0
  575. package/dist/icons/ui-icons/num3-square.js +28 -0
  576. package/dist/icons/ui-icons/num4-circle-alt.js +26 -0
  577. package/dist/icons/ui-icons/num4-circle.js +26 -0
  578. package/dist/icons/ui-icons/num4-square-alt.js +28 -0
  579. package/dist/icons/ui-icons/num4-square.js +28 -0
  580. package/dist/icons/ui-icons/num5-circle-alt.js +26 -0
  581. package/dist/icons/ui-icons/num5-circle.js +26 -0
  582. package/dist/icons/ui-icons/num5-square-alt.js +28 -0
  583. package/dist/icons/ui-icons/num5-square.js +28 -0
  584. package/dist/icons/ui-icons/num6-circle-alt.js +26 -0
  585. package/dist/icons/ui-icons/num6-circle.js +26 -0
  586. package/dist/icons/ui-icons/num6-square-alt.js +28 -0
  587. package/dist/icons/ui-icons/num6-square.js +28 -0
  588. package/dist/icons/ui-icons/num7-circle-alt.js +26 -0
  589. package/dist/icons/ui-icons/num7-circle.js +26 -0
  590. package/dist/icons/ui-icons/num7-square-alt.js +28 -0
  591. package/dist/icons/ui-icons/num7-square.js +28 -0
  592. package/dist/icons/ui-icons/num8-circle-alt.js +24 -0
  593. package/dist/icons/ui-icons/num8-circle.js +24 -0
  594. package/dist/icons/ui-icons/num8-square-alt.js +26 -0
  595. package/dist/icons/ui-icons/num8-square.js +26 -0
  596. package/dist/icons/ui-icons/num9-circle-alt.js +26 -0
  597. package/dist/icons/ui-icons/num9-circle.js +26 -0
  598. package/dist/icons/ui-icons/num9-square-alt.js +28 -0
  599. package/dist/icons/ui-icons/num9-square.js +28 -0
  600. package/dist/icons/ui-icons/office-building.js +203 -0
  601. package/dist/icons/ui-icons/office-buildings.js +256 -0
  602. package/dist/icons/ui-icons/offset-auto.js +46 -0
  603. package/dist/icons/ui-icons/offset.js +39 -0
  604. package/dist/icons/ui-icons/option-list-alt.js +61 -0
  605. package/dist/icons/ui-icons/option-list.js +63 -0
  606. package/dist/icons/ui-icons/options.js +24 -0
  607. package/dist/icons/ui-icons/order.js +49 -0
  608. package/dist/icons/ui-icons/padding-bottom.js +35 -0
  609. package/dist/icons/ui-icons/padding-top.js +35 -0
  610. package/dist/icons/ui-icons/padding.js +34 -0
  611. package/dist/icons/ui-icons/pagination.js +49 -0
  612. package/dist/icons/ui-icons/palette-color.js +111 -0
  613. package/dist/icons/ui-icons/panel-collapse.js +41 -0
  614. package/dist/icons/ui-icons/panel-expand.js +41 -0
  615. package/dist/icons/ui-icons/paragraph.js +24 -0
  616. package/dist/icons/ui-icons/paste.js +52 -0
  617. package/dist/icons/ui-icons/pause.js +20 -0
  618. package/dist/icons/ui-icons/people-group.js +57 -0
  619. package/dist/icons/ui-icons/people.js +43 -0
  620. package/dist/icons/ui-icons/person.js +26 -0
  621. package/dist/icons/ui-icons/photo-camera.js +26 -0
  622. package/dist/icons/ui-icons/picture-in-picture.js +33 -0
  623. package/dist/icons/ui-icons/play-reverse.js +20 -0
  624. package/dist/icons/ui-icons/play.js +20 -0
  625. package/dist/icons/ui-icons/playback-options.js +24 -0
  626. package/dist/icons/ui-icons/plus-circle-fill-alt.js +23 -0
  627. package/dist/icons/ui-icons/plus-circle-fill.js +17 -0
  628. package/dist/icons/ui-icons/plus-circle.js +26 -0
  629. package/dist/icons/ui-icons/plus-minus-buttons-h.js +25 -0
  630. package/dist/icons/ui-icons/plus-minus-buttons-v.js +25 -0
  631. package/dist/icons/ui-icons/plus-square-fill-transparent.js +27 -0
  632. package/dist/icons/ui-icons/plus-square-fill.js +17 -0
  633. package/dist/icons/ui-icons/plus-square.js +27 -0
  634. package/dist/icons/ui-icons/pointer-hand-disabled.js +34 -0
  635. package/dist/icons/ui-icons/pointer-hand.js +20 -0
  636. package/dist/icons/ui-icons/position-arrows-h.js +26 -0
  637. package/dist/icons/ui-icons/position-arrows-inverted-h.js +26 -0
  638. package/dist/icons/ui-icons/position-arrows-inverted-v.js +26 -0
  639. package/dist/icons/ui-icons/position-arrows-inverted.js +26 -0
  640. package/dist/icons/ui-icons/position-arrows-v.js +26 -0
  641. package/dist/icons/ui-icons/position-arrows.js +26 -0
  642. package/dist/icons/ui-icons/position-h-center.js +43 -0
  643. package/dist/icons/ui-icons/position-h-end.js +43 -0
  644. package/dist/icons/ui-icons/position-h-start.js +43 -0
  645. package/dist/icons/ui-icons/position-left.js +31 -0
  646. package/dist/icons/ui-icons/position-right.js +31 -0
  647. package/dist/icons/ui-icons/position-v-center.js +43 -0
  648. package/dist/icons/ui-icons/position-v-end.js +43 -0
  649. package/dist/icons/ui-icons/position-v-start.js +43 -0
  650. package/dist/icons/ui-icons/position2x2-bottom-left.js +52 -0
  651. package/dist/icons/ui-icons/position2x2-bottom-right.js +52 -0
  652. package/dist/icons/ui-icons/position2x2-empty.js +51 -0
  653. package/dist/icons/ui-icons/position2x2-top-left.js +52 -0
  654. package/dist/icons/ui-icons/position2x2-top-right.js +52 -0
  655. package/dist/icons/ui-icons/position3x3-bottom-center.js +97 -0
  656. package/dist/icons/ui-icons/position3x3-bottom-left.js +97 -0
  657. package/dist/icons/ui-icons/position3x3-bottom-right.js +97 -0
  658. package/dist/icons/ui-icons/position3x3-center-center.js +97 -0
  659. package/dist/icons/ui-icons/position3x3-center-left.js +97 -0
  660. package/dist/icons/ui-icons/position3x3-center-right.js +97 -0
  661. package/dist/icons/ui-icons/position3x3-empty.js +96 -0
  662. package/dist/icons/ui-icons/position3x3-top-center.js +97 -0
  663. package/dist/icons/ui-icons/position3x3-top-left.js +97 -0
  664. package/dist/icons/ui-icons/position3x3-top-right.js +97 -0
  665. package/dist/icons/ui-icons/positioning-guide-alt.js +30 -0
  666. package/dist/icons/ui-icons/positioning-guide.js +30 -0
  667. package/dist/icons/ui-icons/positioning-width-guide.js +40 -0
  668. package/dist/icons/ui-icons/preload.js +44 -0
  669. package/dist/icons/ui-icons/preview-responsive.js +48 -0
  670. package/dist/icons/ui-icons/preview.js +35 -0
  671. package/dist/icons/ui-icons/progressbar-intermittent.js +26 -0
  672. package/dist/icons/ui-icons/progressbar.js +30 -0
  673. package/dist/icons/ui-icons/range-max.js +48 -0
  674. package/dist/icons/ui-icons/range-mid.js +40 -0
  675. package/dist/icons/ui-icons/range-min.js +48 -0
  676. package/dist/icons/ui-icons/range.js +61 -0
  677. package/dist/icons/ui-icons/read-only.js +25 -0
  678. package/dist/icons/ui-icons/reduce-height-bottom.js +49 -0
  679. package/dist/icons/ui-icons/reduce-height-top.js +49 -0
  680. package/dist/icons/ui-icons/regex.js +39 -0
  681. package/dist/icons/ui-icons/remove.js +20 -0
  682. package/dist/icons/ui-icons/rename.js +24 -0
  683. package/dist/icons/ui-icons/reorder-grabber-h.js +51 -0
  684. package/dist/icons/ui-icons/reorder-grabber-v.js +57 -0
  685. package/dist/icons/ui-icons/reorder.js +35 -0
  686. package/dist/icons/ui-icons/required-alt.js +20 -0
  687. package/dist/icons/ui-icons/required.js +19 -0
  688. package/dist/icons/ui-icons/reset-to-zero.js +33 -0
  689. package/dist/icons/ui-icons/reset.js +25 -0
  690. package/dist/icons/ui-icons/responsive-overrides-alt-fill.js +26 -0
  691. package/dist/icons/ui-icons/responsive-overrides-alt.js +49 -0
  692. package/dist/icons/ui-icons/responsive-overrides-alt2-fill.js +34 -0
  693. package/dist/icons/ui-icons/responsive-overrides-alt2.js +45 -0
  694. package/dist/icons/ui-icons/responsive-overrides-alt3-fill.js +33 -0
  695. package/dist/icons/ui-icons/responsive-overrides.js +39 -0
  696. package/dist/icons/ui-icons/responsive.js +33 -0
  697. package/dist/icons/ui-icons/right-panel-alt.js +23 -0
  698. package/dist/icons/ui-icons/right-panel.js +22 -0
  699. package/dist/icons/ui-icons/rotate-left.js +20 -0
  700. package/dist/icons/ui-icons/rotate-right.js +20 -0
  701. package/dist/icons/ui-icons/rounded-corners.js +19 -0
  702. package/dist/icons/ui-icons/route.js +27 -0
  703. package/dist/icons/ui-icons/row-add.js +45 -0
  704. package/dist/icons/ui-icons/row-empty.js +51 -0
  705. package/dist/icons/ui-icons/row.js +45 -0
  706. package/dist/icons/ui-icons/rows.js +42 -0
  707. package/dist/icons/ui-icons/ruler.js +28 -0
  708. package/dist/icons/ui-icons/save.js +26 -0
  709. package/dist/icons/ui-icons/screen-desktop.js +32 -0
  710. package/dist/icons/ui-icons/screen-large.js +23 -0
  711. package/dist/icons/ui-icons/screen-mobile.js +39 -0
  712. package/dist/icons/ui-icons/screen-tablet-large.js +36 -0
  713. package/dist/icons/ui-icons/screen-tablet.js +36 -0
  714. package/dist/icons/ui-icons/scrollbar-h.js +40 -0
  715. package/dist/icons/ui-icons/scrollbar-v.js +41 -0
  716. package/dist/icons/ui-icons/scrollbars.js +55 -0
  717. package/dist/icons/ui-icons/search-empty.js +37 -0
  718. package/dist/icons/ui-icons/search.js +25 -0
  719. package/dist/icons/ui-icons/separator-h.js +41 -0
  720. package/dist/icons/ui-icons/separator-v.js +39 -0
  721. package/dist/icons/ui-icons/shadow.js +61 -0
  722. package/dist/icons/ui-icons/share.js +26 -0
  723. package/dist/icons/ui-icons/shield-plus-alt.js +27 -0
  724. package/dist/icons/ui-icons/shield-plus.js +20 -0
  725. package/dist/icons/ui-icons/shield.js +20 -0
  726. package/dist/icons/ui-icons/shrink-diagonal-left-xl.js +20 -0
  727. package/dist/icons/ui-icons/shrink-diagonal-left.js +20 -0
  728. package/dist/icons/ui-icons/shrink-diagonal-right-xl.js +20 -0
  729. package/dist/icons/ui-icons/shrink-diagonal-right.js +20 -0
  730. package/dist/icons/ui-icons/shrink-xl.js +20 -0
  731. package/dist/icons/ui-icons/shrink.js +20 -0
  732. package/dist/icons/ui-icons/shuffle.js +20 -0
  733. package/dist/icons/ui-icons/sidebar-flip.js +22 -0
  734. package/dist/icons/ui-icons/sidebar.js +22 -0
  735. package/dist/icons/ui-icons/single-item-left-inset-mobile.js +48 -0
  736. package/dist/icons/ui-icons/single-item-left-inset.js +23 -0
  737. package/dist/icons/ui-icons/single-item-right-inset-mobile.js +50 -0
  738. package/dist/icons/ui-icons/single-item-right-inset.js +23 -0
  739. package/dist/icons/ui-icons/size-alt.js +33 -0
  740. package/dist/icons/ui-icons/size.js +29 -0
  741. package/dist/icons/ui-icons/slider.js +31 -0
  742. package/dist/icons/ui-icons/sliders.js +68 -0
  743. package/dist/icons/ui-icons/small.js +24 -0
  744. package/dist/icons/ui-icons/solid-circle-fill-transparent.js +22 -0
  745. package/dist/icons/ui-icons/solid-circle-filled.js +21 -0
  746. package/dist/icons/ui-icons/solid-circle-gradient.js +31 -0
  747. package/dist/icons/ui-icons/solid-circle.js +21 -0
  748. package/dist/icons/ui-icons/solid-color.js +19 -0
  749. package/dist/icons/ui-icons/solid-rect-fill-transparent.js +24 -0
  750. package/dist/icons/ui-icons/solid-rect-filled.js +23 -0
  751. package/dist/icons/ui-icons/solid-rect-gradient.js +33 -0
  752. package/dist/icons/ui-icons/solid-rect.js +23 -0
  753. package/dist/icons/ui-icons/sort-asc.js +20 -0
  754. package/dist/icons/ui-icons/sort-desc.js +20 -0
  755. package/dist/icons/ui-icons/sort-generic.js +25 -0
  756. package/dist/icons/ui-icons/spacing-bottom-in.js +23 -0
  757. package/dist/icons/ui-icons/spacing-bottom.js +23 -0
  758. package/dist/icons/ui-icons/spacing-left-in.js +23 -0
  759. package/dist/icons/ui-icons/spacing-left.js +23 -0
  760. package/dist/icons/ui-icons/spacing-right-in.js +23 -0
  761. package/dist/icons/ui-icons/spacing-right.js +23 -0
  762. package/dist/icons/ui-icons/spacing-top-in.js +23 -0
  763. package/dist/icons/ui-icons/spacing-top.js +23 -0
  764. package/dist/icons/ui-icons/speed.js +25 -0
  765. package/dist/icons/ui-icons/stagger.js +53 -0
  766. package/dist/icons/ui-icons/star.js +18 -0
  767. package/dist/icons/ui-icons/step.js +27 -0
  768. package/dist/icons/ui-icons/stop.js +20 -0
  769. package/dist/icons/ui-icons/swap.js +41 -0
  770. package/dist/icons/ui-icons/tag-alt.js +24 -0
  771. package/dist/icons/ui-icons/tag.js +26 -0
  772. package/dist/icons/ui-icons/text-abc.js +40 -0
  773. package/dist/icons/ui-icons/text-above.js +25 -0
  774. package/dist/icons/ui-icons/text-align-center.js +20 -0
  775. package/dist/icons/ui-icons/text-align-generic.js +20 -0
  776. package/dist/icons/ui-icons/text-align-justify.js +20 -0
  777. package/dist/icons/ui-icons/text-align-left.js +20 -0
  778. package/dist/icons/ui-icons/text-align-right.js +20 -0
  779. package/dist/icons/ui-icons/text-below.js +25 -0
  780. package/dist/icons/ui-icons/text-box-edit.js +35 -0
  781. package/dist/icons/ui-icons/text-color-swatch.js +40 -0
  782. package/dist/icons/ui-icons/text-highlight-color-swatch-alt.js +49 -0
  783. package/dist/icons/ui-icons/text-highlight-color-swatch.js +48 -0
  784. package/dist/icons/ui-icons/text-larger.js +23 -0
  785. package/dist/icons/ui-icons/text-length.js +20 -0
  786. package/dist/icons/ui-icons/text-size-alt.js +23 -0
  787. package/dist/icons/ui-icons/text-size.js +20 -0
  788. package/dist/icons/ui-icons/text-smaller.js +23 -0
  789. package/dist/icons/ui-icons/text-strikethrough.js +26 -0
  790. package/dist/icons/ui-icons/text-uppercase.js +25 -0
  791. package/dist/icons/ui-icons/text-write.js +39 -0
  792. package/dist/icons/ui-icons/thumbs-down.js +22 -0
  793. package/dist/icons/ui-icons/thumbs-up.js +22 -0
  794. package/dist/icons/ui-icons/title-generic.js +25 -0
  795. package/dist/icons/ui-icons/toggle-off.js +33 -0
  796. package/dist/icons/ui-icons/toggle-on-alt.js +19 -0
  797. package/dist/icons/ui-icons/toggle-on.js +31 -0
  798. package/dist/icons/ui-icons/tools.js +25 -0
  799. package/dist/icons/ui-icons/total-items.js +45 -0
  800. package/dist/icons/ui-icons/trash-alt.js +44 -0
  801. package/dist/icons/ui-icons/trash.js +33 -0
  802. package/dist/icons/ui-icons/tree-alt.js +62 -0
  803. package/dist/icons/ui-icons/tree-alt2.js +79 -0
  804. package/dist/icons/ui-icons/tree.js +70 -0
  805. package/dist/icons/ui-icons/troubleshoot-alt.js +39 -0
  806. package/dist/icons/ui-icons/two-cards-left.js +32 -0
  807. package/dist/icons/ui-icons/two-cards-right.js +32 -0
  808. package/dist/icons/ui-icons/two-columns.js +30 -0
  809. package/dist/icons/ui-icons/typography-options.js +77 -0
  810. package/dist/icons/ui-icons/typography.js +71 -0
  811. package/dist/icons/ui-icons/underline.js +19 -0
  812. package/dist/icons/ui-icons/ungroup.js +39 -0
  813. package/dist/icons/ui-icons/upload.js +20 -0
  814. package/dist/icons/ui-icons/venn-diagram-alt.js +34 -0
  815. package/dist/icons/ui-icons/venn-diagram-alt2.js +34 -0
  816. package/dist/icons/ui-icons/venn-diagram-alt3.js +34 -0
  817. package/dist/icons/ui-icons/venn-diagram-alt4.js +34 -0
  818. package/dist/icons/ui-icons/venn-diagram-alt5.js +34 -0
  819. package/dist/icons/ui-icons/venn-diagram-alt6.js +34 -0
  820. package/dist/icons/ui-icons/venn-diagram-alt7.js +39 -0
  821. package/dist/icons/ui-icons/venn-diagram.js +26 -0
  822. package/dist/icons/ui-icons/vertical-align-alt.js +27 -0
  823. package/dist/icons/ui-icons/vertical-align-around.js +39 -0
  824. package/dist/icons/ui-icons/vertical-align-between-alt.js +39 -0
  825. package/dist/icons/ui-icons/vertical-align-between.js +48 -0
  826. package/dist/icons/ui-icons/vertical-align-bottom.js +44 -0
  827. package/dist/icons/ui-icons/vertical-align-center.js +39 -0
  828. package/dist/icons/ui-icons/vertical-align-evenly.js +39 -0
  829. package/dist/icons/ui-icons/vertical-align-stretch.js +39 -0
  830. package/dist/icons/ui-icons/vertical-align-top.js +46 -0
  831. package/dist/icons/ui-icons/vertical-align.js +35 -0
  832. package/dist/icons/ui-icons/vertical-spacing.js +28 -0
  833. package/dist/icons/ui-icons/video-chapters.js +25 -0
  834. package/dist/icons/ui-icons/video-controls.js +67 -0
  835. package/dist/icons/ui-icons/video-file.js +40 -0
  836. package/dist/icons/ui-icons/video-poster-image.js +40 -0
  837. package/dist/icons/ui-icons/video-subtitle-alt.js +39 -0
  838. package/dist/icons/ui-icons/video-subtitle.js +27 -0
  839. package/dist/icons/ui-icons/video.js +36 -0
  840. package/dist/icons/ui-icons/visibility-alt.js +40 -0
  841. package/dist/icons/ui-icons/visibility-alt2.js +41 -0
  842. package/dist/icons/ui-icons/visibility.js +45 -0
  843. package/dist/icons/ui-icons/visible.js +28 -0
  844. package/dist/icons/ui-icons/volume.js +25 -0
  845. package/dist/icons/ui-icons/warning-circle-fill-transparent.js +30 -0
  846. package/dist/icons/ui-icons/warning-circle-fill.js +17 -0
  847. package/dist/icons/ui-icons/warning-circle.js +33 -0
  848. package/dist/icons/ui-icons/warning-fill-transparent.js +30 -0
  849. package/dist/icons/ui-icons/warning-fill.js +17 -0
  850. package/dist/icons/ui-icons/warning.js +30 -0
  851. package/dist/icons/ui-icons/web-video.js +63 -0
  852. package/dist/icons/ui-icons/wide-bottom.js +49 -0
  853. package/dist/icons/ui-icons/wide-left.js +49 -0
  854. package/dist/icons/ui-icons/wide-right.js +49 -0
  855. package/dist/icons/ui-icons/wide-top.js +49 -0
  856. package/dist/icons/ui-icons/width.js +29 -0
  857. package/dist/icons/ui-icons/wordpress.js +17 -0
  858. package/dist/icons/ui-icons/wrapper-alt.js +71 -0
  859. package/dist/icons/ui-icons/wrapper-config.js +41 -0
  860. package/dist/icons/ui-icons/wrapper-off-alt.js +19 -0
  861. package/dist/icons/ui-icons/wrapper-overflow.js +31 -0
  862. package/dist/icons/ui-icons/wrapper-simple-alt.js +58 -0
  863. package/dist/icons/ui-icons/wrapper-simple.js +32 -0
  864. package/dist/icons/ui-icons/wrapper.js +42 -0
  865. package/dist/icons/ui-icons/wrench.js +19 -0
  866. package/dist/icons/ui-icons/zap-fill.js +20 -0
  867. package/dist/icons/ui-icons/zap.js +19 -0
  868. package/dist/index.js +32 -108
  869. package/dist/input-field-UCZL5bqv.js +290 -0
  870. package/dist/jsx-svg-OBADs_Qs.js +11123 -0
  871. package/dist/link-input-D7iDRpOM.js +1821 -0
  872. package/dist/modal-DbVLYMkH.js +318 -0
  873. package/dist/number-ZZIxJukn.js +40 -0
  874. package/dist/number-picker-CkA1iJNZ.js +268 -0
  875. package/dist/proxy-BG7-_Ou3.js +9638 -0
  876. package/dist/shared-DFDimxvX.js +1038 -0
  877. package/dist/smart-image-CbSsEASF.js +284 -0
  878. package/dist/solid-color-picker-DbT-aoVx.js +1415 -0
  879. package/dist/style-admin.js +1 -1
  880. package/dist/style-editor.js +1 -1
  881. package/dist/style.js +1 -1
  882. package/dist/switch-L8dFSQWQ.js +274 -0
  883. package/dist/tabs-BrdyBER5.js +975 -0
  884. package/dist/textSelection-Dv6WPj0Z.js +45 -0
  885. package/dist/toggle-button-DJ8jNQ-9.js +424 -0
  886. package/dist/tooltip-BzJzYlcc.js +440 -0
  887. package/dist/useAsyncList-BNzwKoX4.js +412 -0
  888. package/dist/useButton-ra1ZSZ4z.js +57 -0
  889. package/dist/useEvent-DkZVfgsS.js +22 -0
  890. package/dist/useField-D0WrzR2F.js +32 -0
  891. package/dist/useFilter-OiMnf6sb.js +44 -0
  892. package/dist/useFocusRing-DuYL4cdO.js +98 -0
  893. package/dist/useFormReset-DdkykzAn.js +18 -0
  894. package/dist/useHover-qaMm3XFO.js +982 -0
  895. package/dist/useLabel-2EohW5l6.js +27 -0
  896. package/dist/useLabels-B2p7RXi5.js +16 -0
  897. package/dist/useListState-CD_5vfyy.js +147 -0
  898. package/dist/useLocalizedStringFormatter-Dv2diN3k.js +108 -0
  899. package/dist/useNumberField-2xbi3jRV.js +1318 -0
  900. package/dist/useNumberFormatter-C2Cm2mNj.js +10 -0
  901. package/dist/usePress-ZP1TjkFf.js +678 -0
  902. package/dist/useToggle-ecIirvIM.js +64 -0
  903. package/dist/useToggleState-IIDbiKPl.js +23 -0
  904. package/dist/utilities/array-helpers.js +38 -49
  905. package/dist/utilities/debounce-throttle.js +2 -123
  906. package/dist/utilities/es-dash.js +2 -400
  907. package/dist/utilities/general.js +2 -10
  908. package/dist/utilities/hash.js +31 -35
  909. package/dist/utilities/index.js +6 -41
  910. package/dist/utilities/text-helpers.js +96 -129
  911. package/dist/utilities/web-workers.js +61 -44
  912. package/dist/utilities-CPFDXC3B.js +7 -0
  913. package/dist/utils-B_uiqNa4.js +372 -0
  914. package/dist/workers/image-analysis.worker.js +56 -48
  915. package/package.json +30 -18
  916. package/dist/Button-DtRmB6b8.js +0 -243
  917. package/dist/Dialog-DTIxSDhz.js +0 -2790
  918. package/dist/FieldError-BPG0hKfB.js +0 -42
  919. package/dist/FocusScope-CjFQ7cbd.js +0 -832
  920. package/dist/Form-Cq3fu75_.js +0 -5
  921. package/dist/Heading-CY-_gt-U.js +0 -16
  922. package/dist/Hidden-DOH36apC.js +0 -58
  923. package/dist/Input-BG9DaxYN.js +0 -169
  924. package/dist/Label-_aSf9-8u.js +0 -18
  925. package/dist/List-CQFXnN4w.js +0 -590
  926. package/dist/ListBox-DXFyyj_r.js +0 -695
  927. package/dist/NumberFormatter-DA8u1Ot7.js +0 -140
  928. package/dist/OverlayArrow-Fuxj-1QM.js +0 -614
  929. package/dist/PortalProvider-BQ1X8vGX.js +0 -19
  930. package/dist/RSPContexts-CJ-HBf0L.js +0 -18
  931. package/dist/RadioGroup-DCeiLxLK.js +0 -371
  932. package/dist/SearchField-B_yKFXRk.js +0 -817
  933. package/dist/SelectionIndicator-D7WMzeAW.js +0 -7
  934. package/dist/SelectionManager-B02LcxLr.js +0 -2505
  935. package/dist/SharedElementTransition-CtoWSaF0.js +0 -12
  936. package/dist/Slider-bR3fAmim.js +0 -897
  937. package/dist/Text-CjFEHSfr.js +0 -17
  938. package/dist/VisuallyHidden-DZnWrkn8.js +0 -48
  939. package/dist/animation-Dfl8uEb3.js +0 -67
  940. package/dist/clsx-DgYk2OaC.js +0 -16
  941. package/dist/color-swatch-bUFkK7ox.js +0 -2570
  942. package/dist/components/smart-image/image-analysis-worker-next.js +0 -144
  943. package/dist/components/smart-image/smart-image-next.js +0 -294
  944. package/dist/context-iUFQCK8m.js +0 -95
  945. package/dist/default-i18n-CnQeC5Pl.js +0 -731
  946. package/dist/filterDOMProps-eGTqWSTd.js +0 -71
  947. package/dist/general-BfKmjm56.js +0 -4378
  948. package/dist/index-BHpUy2Ix.js +0 -44
  949. package/dist/index-BL5gdWX4.js +0 -28323
  950. package/dist/number-7sOvrqo0.js +0 -41
  951. package/dist/proxy-CNEXmkdK.js +0 -7948
  952. package/dist/react-jsx-parser.min-DAh4myol.js +0 -11736
  953. package/dist/shared-CNH8QfV9.js +0 -1111
  954. package/dist/sprintf-DmNrJSYG.js +0 -51
  955. package/dist/textSelection-DA3VcKpG.js +0 -46
  956. package/dist/useAsyncList-DsZvQXls.js +0 -453
  957. package/dist/useButton-DyMX0EVr.js +0 -59
  958. package/dist/useEvent-Bfy68GHZ.js +0 -22
  959. package/dist/useFilter-Bg5C34XC.js +0 -50
  960. package/dist/useFocusRing-B2glEZ25.js +0 -114
  961. package/dist/useFormReset-BoxsKyJ9.js +0 -20
  962. package/dist/useFormValidation-BrbMhS2N.js +0 -232
  963. package/dist/useHover-DkmPQdGE.js +0 -1047
  964. package/dist/useLabel-DzXzKZZZ.js +0 -27
  965. package/dist/useLabels-D8O3gOdV.js +0 -23
  966. package/dist/useListState-BjnzKozj.js +0 -171
  967. package/dist/useLocalizedStringFormatter-CEDs0LsA.js +0 -121
  968. package/dist/useNumberField-CsygZKz9.js +0 -1330
  969. package/dist/useNumberFormatter-CG_IQXp9.js +0 -13
  970. package/dist/usePress-Ck5xMtDr.js +0 -701
  971. package/dist/useToggle-Ddc7N8pR.js +0 -72
  972. package/dist/useToggleState-H_lORSWO.js +0 -23
  973. package/dist/utils-Cr3pLd9c.js +0 -420
@@ -1,2790 +0,0 @@
1
- import { a as $d2b4bc8c273e7be6$export$24d547caef80ccd1 } from "./Button-DtRmB6b8.js";
2
- import { b as $3ef42575df84b30b$export$9d1611c77c2fe928, k as $df56164dff5785e2$export$4338b53315abf666, d as $bdb11010cef70236$export$f680877a34711e37, c as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, o as $ff5963eb1fccf552$export$e08e3b67e392101e, m as $b5e257d569688ac6$export$535bd6ca7f90a273, j as $bdb11010cef70236$export$b4cc09c592e8fdb8, $ as $64fa3d84918910a7$export$29f1550f4b0d4415, a as $64fa3d84918910a7$export$df3a06d6289f983e, h as $64fa3d84918910a7$export$4d86445c2cf5e3, i as $64fa3d84918910a7$export$2881499e37b75b9a, e as $64fa3d84918910a7$export$fabf2dc03a41866e, n as $64fa3d84918910a7$export$c62b8e45d58ddad9, f as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 } from "./utils-Cr3pLd9c.js";
3
- import { c as $4e85f108e88277b8$export$b0d3ecf7112093a7, a as $4e85f108e88277b8$export$698f465ec27e93df, $ as $4e85f108e88277b8$export$d688439359537581 } from "./RSPContexts-CJ-HBf0L.js";
4
- import { e as $dd149f63282afbbf$export$f6211563215e3b37, a as $2a41e45df1593e64$export$d39e1813b3bdd0e1, d as $9daab02d461809db$export$683480f191c0e3ea, $ as $fc909762b330b746$export$61c6a8c84e605fb6, b as $44f671af83e7d9e0$export$2de4954e8ae13b9f } from "./OverlayArrow-Fuxj-1QM.js";
5
- import { e as $cc38e7bd3fc7b213$export$2bb74740c4e19def, d as $21f1aa98acb08317$export$c57958e35f31ed73, B as $feb5ffebff200149$export$c3d8340acf92597f, o as $ae20dd8cbca75726$export$d6daf82dcd84e87c, s as $c5a24bc478652b5f$export$1005530eda016c13, C as $8a26561d2877236e$export$c24ed0104d07eab9, f as $880e95eb8b93ba9a$export$ecf600387e221c37, a as $7af3f5b51489e0b5$export$253fe78d46329472, b as $7613b1592d41b092$export$6cd28814d92fa9c9, c as $d496c0a20b6e58ec$export$6c8a5aaad13c9852, j as $e1995378a142960e$export$18af5c7a9e9b3664, D as $23b9f4fcf0fe224b$export$5ae2504e948afce5, p as $23b9f4fcf0fe224b$export$d68d59712b04d9d1, g as $e1995378a142960e$export$bf788dd355e3a401, $ as $e1995378a142960e$export$fb8073518f34e6ec, k as $23b9f4fcf0fe224b$export$fd11f34e1d07f134, l as $7135fc7d473fd974$export$4feb769f8ddf26c5, h as $e1995378a142960e$export$e953bb1cd0f19726, i as $23b9f4fcf0fe224b$export$437f11dc9b403b78, m as $7135fc7d473fd974$export$d40e14dec8b060a8, q as $7135fc7d473fd974$export$90e00781bc59d8f9 } from "./SelectionManager-B02LcxLr.js";
6
- import $dbSRa$react__default, { useRef, useContext, useEffect, useMemo, useState, useCallback, createContext, forwardRef } from "react";
7
- import { $ as $1d5b8b8664671ef2$export$c9549807523555e0 } from "./SelectionIndicator-D7WMzeAW.js";
8
- import { $ as $65484d02dcb7eb3e$export$457c3d6518dd4c6f } from "./filterDOMProps-eGTqWSTd.js";
9
- import { $ as $c8a5a149f625efcf$export$758399f318e6385a } from "./SharedElementTransition-CtoWSaF0.js";
10
- import { a as $514c0188e459b4c0$export$9afb8bc826b033ea } from "./Text-CjFEHSfr.js";
11
- import { a as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, $ as $f6c31cce2adf654f$export$45712eceda6fad21 } from "./usePress-Ck5xMtDr.js";
12
- import { J as $e7801be82b4b2a53$export$4debdb1a3f0fa79e, c as $8ae05eaa5c114e9c$export$7f54fc3180508a52, e as $431fbd86ca7dc216$export$b204af158042fbac, b as $d4ee10de306f2510$export$e58f029f0fbfdb29, h as $d4ee10de306f2510$export$4282f70798064fe0, d as $c87311424ea30a05$export$fedb369cb70207f1, j as $d4ee10de306f2510$export$cd4e5573fbe2b576, w as $431fbd86ca7dc216$export$f21a1ffae260145a, p as $f4e2df6bd15f8569$export$98658e8c59125e6a, A as $7215afc6de606d6b$export$de79e2c695e052f3, M as $ea8dcbcb9ea1b556$export$9a302a45f65d0572, y as $6179b936705e76d3$export$ae780daf29e6d456, m as $507fabe10e71c6fb$export$b9b3dfddab17db27, B as $46d819fcbaf35654$export$8f71654801c2f7cd, x as $507fabe10e71c6fb$export$8397ddfc504fdb9a, $ as $f645667febf57a63$export$4c014de7c8940b4c, F as $ea8dcbcb9ea1b556$export$7e924b3091a3bd18, Q as $ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f, R as $507fabe10e71c6fb$export$98e20ec92f614cfe, D as $d4ee10de306f2510$export$b4f377a2b6254582, u as $3ad3f6e1647bc98d$export$80f3e147d781571c, a as $458b0a5536c1a7cf$export$40bfa8c7b0832715, v as $507fabe10e71c6fb$export$630ff653c5ada6a9 } from "./useHover-DkmPQdGE.js";
13
- import { $ as $fca6afa0e843324b$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CEDs0LsA.js";
14
- import { $ as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7 } from "./context-iUFQCK8m.js";
15
- import { $ as $e9faafb641e167db$export$90fc3a17d93f704c } from "./useEvent-Bfy68GHZ.js";
16
- import { c as $9bf71ea28793e738$export$1258395f99bf9cbf, d as $dfc540311bf7f109$export$4d0f8be8b12a7ef6, b as $9bf71ea28793e738$export$20e40289641fbbb6 } from "./FocusScope-CjFQ7cbd.js";
17
- import { a as $96b38030c423d352$export$9fc1347d4195ccb3 } from "./PortalProvider-BQ1X8vGX.js";
18
- import { $ as $dbSRa$reactdom } from "./index-BL5gdWX4.js";
19
- import { $ as $d3f049242431219c$export$45fda7c47f93fd48, a as $d3f049242431219c$export$6d3443f2c48bfc20 } from "./animation-Dfl8uEb3.js";
20
- import { b as $f39a9eba43920ace$export$b5d7cc18bb8d2b59 } from "./Hidden-DOH36apC.js";
21
- import { $ as $9ab94262bd0047c7$export$420e68273165f4ec } from "./useFocusRing-B2glEZ25.js";
22
- import { $ as $313b98861ee5dd6c$export$d6875122194c7b44 } from "./useLabels-D8O3gOdV.js";
23
- import { $ as $5c3e21d68f1c4674$export$439d29a4e110a164 } from "./VisuallyHidden-DZnWrkn8.js";
24
- function $62d8ded9296f3872$export$cfa2225e87938781(node, checkForOverflow) {
25
- let scrollableNode = node;
26
- if ($cc38e7bd3fc7b213$export$2bb74740c4e19def(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
27
- while (scrollableNode && !$cc38e7bd3fc7b213$export$2bb74740c4e19def(scrollableNode, checkForOverflow)) scrollableNode = scrollableNode.parentElement;
28
- return scrollableNode || document.scrollingElement || document.documentElement;
29
- }
30
- let $325a3faab7a68acd$var$cache = /* @__PURE__ */ new Map();
31
- function $325a3faab7a68acd$export$a16aca283550c30d(options) {
32
- let { locale } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
33
- let cacheKey = locale + (options ? Object.entries(options).sort((a, b) => a[0] < b[0] ? -1 : 1).join() : "");
34
- if ($325a3faab7a68acd$var$cache.has(cacheKey)) return $325a3faab7a68acd$var$cache.get(cacheKey);
35
- let formatter = new Intl.Collator(locale, options);
36
- $325a3faab7a68acd$var$cache.set(cacheKey, formatter);
37
- return formatter;
38
- }
39
- const $f1ab8c75478c6f73$export$3351871ee4b288b8 = /* @__PURE__ */ $dbSRa$react__default.forwardRef(({ children, ...props }, ref) => {
40
- let isRegistered = useRef(false);
41
- let prevContext = useContext($ae1eeba8b9eafd08$export$5165eccb35aaadb5);
42
- let context = $3ef42575df84b30b$export$9d1611c77c2fe928(prevContext || {}, {
43
- ...props,
44
- register() {
45
- isRegistered.current = true;
46
- if (prevContext) prevContext.register();
47
- }
48
- });
49
- context.ref = $df56164dff5785e2$export$4338b53315abf666(ref || (prevContext === null || prevContext === void 0 ? void 0 : prevContext.ref));
50
- $e7801be82b4b2a53$export$4debdb1a3f0fa79e(prevContext, context.ref);
51
- useEffect(() => {
52
- if (!isRegistered.current) {
53
- if (process.env.NODE_ENV !== "production") console.warn("A PressResponder was rendered without a pressable child. Either call the usePress hook, or wrap your DOM node with <Pressable> component.");
54
- isRegistered.current = true;
55
- }
56
- }, []);
57
- return /* @__PURE__ */ $dbSRa$react__default.createElement($ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider, {
58
- value: context
59
- }, children);
60
- });
61
- function $f1ab8c75478c6f73$export$cf75428e0b9ed1ea({ children }) {
62
- let context = useMemo(() => ({
63
- register: () => {
64
- }
65
- }), []);
66
- return /* @__PURE__ */ $dbSRa$react__default.createElement($ae1eeba8b9eafd08$export$5165eccb35aaadb5.Provider, {
67
- value: context
68
- }, children);
69
- }
70
- function $e0b6e0b68ec7f50f$export$872b660ac5a1ff98(props) {
71
- let { ref, onInteractOutside, isDisabled, onInteractOutsideStart } = props;
72
- let stateRef = useRef({
73
- isPointerDown: false,
74
- ignoreEmulatedMouseEvents: false
75
- });
76
- let onPointerDown = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
77
- if (onInteractOutside && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) {
78
- if (onInteractOutsideStart) onInteractOutsideStart(e);
79
- stateRef.current.isPointerDown = true;
80
- }
81
- });
82
- let triggerInteractOutside = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
83
- if (onInteractOutside) onInteractOutside(e);
84
- });
85
- useEffect(() => {
86
- let state = stateRef.current;
87
- if (isDisabled) return;
88
- const element = ref.current;
89
- const documentObject = $431fbd86ca7dc216$export$b204af158042fbac(element);
90
- if (typeof PointerEvent !== "undefined") {
91
- let onClick = (e) => {
92
- if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);
93
- state.isPointerDown = false;
94
- };
95
- documentObject.addEventListener("pointerdown", onPointerDown, true);
96
- documentObject.addEventListener("click", onClick, true);
97
- return () => {
98
- documentObject.removeEventListener("pointerdown", onPointerDown, true);
99
- documentObject.removeEventListener("click", onClick, true);
100
- };
101
- } else if (process.env.NODE_ENV === "test") {
102
- let onMouseUp = (e) => {
103
- if (state.ignoreEmulatedMouseEvents) state.ignoreEmulatedMouseEvents = false;
104
- else if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);
105
- state.isPointerDown = false;
106
- };
107
- let onTouchEnd = (e) => {
108
- state.ignoreEmulatedMouseEvents = true;
109
- if (state.isPointerDown && $e0b6e0b68ec7f50f$var$isValidEvent(e, ref)) triggerInteractOutside(e);
110
- state.isPointerDown = false;
111
- };
112
- documentObject.addEventListener("mousedown", onPointerDown, true);
113
- documentObject.addEventListener("mouseup", onMouseUp, true);
114
- documentObject.addEventListener("touchstart", onPointerDown, true);
115
- documentObject.addEventListener("touchend", onTouchEnd, true);
116
- return () => {
117
- documentObject.removeEventListener("mousedown", onPointerDown, true);
118
- documentObject.removeEventListener("mouseup", onMouseUp, true);
119
- documentObject.removeEventListener("touchstart", onPointerDown, true);
120
- documentObject.removeEventListener("touchend", onTouchEnd, true);
121
- };
122
- }
123
- }, [
124
- ref,
125
- isDisabled
126
- ]);
127
- }
128
- function $e0b6e0b68ec7f50f$var$isValidEvent(event, ref) {
129
- if (event.button > 0) return false;
130
- let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(event);
131
- if (target) {
132
- const ownerDocument = target.ownerDocument;
133
- if (!ownerDocument || !$d4ee10de306f2510$export$4282f70798064fe0(ownerDocument.documentElement, target)) return false;
134
- if (target.closest("[data-react-aria-top-layer]")) return false;
135
- }
136
- if (!ref.current) return false;
137
- return !event.composedPath().includes(ref.current);
138
- }
139
- const $a11501f3d1d39e6c$var$visibleOverlays = [];
140
- function $a11501f3d1d39e6c$export$ea8f71083e90600f(props, ref) {
141
- let { onClose, shouldCloseOnBlur, isOpen, isDismissable = false, isKeyboardDismissDisabled = false, shouldCloseOnInteractOutside } = props;
142
- let lastVisibleOverlay = useRef(void 0);
143
- useEffect(() => {
144
- if (isOpen && !$a11501f3d1d39e6c$var$visibleOverlays.includes(ref)) {
145
- $a11501f3d1d39e6c$var$visibleOverlays.push(ref);
146
- return () => {
147
- let index = $a11501f3d1d39e6c$var$visibleOverlays.indexOf(ref);
148
- if (index >= 0) $a11501f3d1d39e6c$var$visibleOverlays.splice(index, 1);
149
- };
150
- }
151
- }, [
152
- isOpen,
153
- ref
154
- ]);
155
- let onHide = () => {
156
- if ($a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1] === ref && onClose) onClose();
157
- };
158
- let onInteractOutsideStart = (e) => {
159
- const topMostOverlay = $a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1];
160
- lastVisibleOverlay.current = topMostOverlay;
161
- if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside($d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
162
- if (topMostOverlay === ref) {
163
- e.stopPropagation();
164
- e.preventDefault();
165
- }
166
- }
167
- };
168
- let onInteractOutside = (e) => {
169
- if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside($d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
170
- if ($a11501f3d1d39e6c$var$visibleOverlays[$a11501f3d1d39e6c$var$visibleOverlays.length - 1] === ref) {
171
- e.stopPropagation();
172
- e.preventDefault();
173
- }
174
- if (lastVisibleOverlay.current === ref) onHide();
175
- }
176
- lastVisibleOverlay.current = void 0;
177
- };
178
- let onKeyDown = (e) => {
179
- if (e.key === "Escape" && !isKeyboardDismissDisabled && !e.nativeEvent.isComposing) {
180
- e.stopPropagation();
181
- e.preventDefault();
182
- onHide();
183
- }
184
- };
185
- $e0b6e0b68ec7f50f$export$872b660ac5a1ff98({
186
- ref,
187
- onInteractOutside: isDismissable && isOpen ? onInteractOutside : void 0,
188
- onInteractOutsideStart
189
- });
190
- let { focusWithinProps } = $9ab94262bd0047c7$export$420e68273165f4ec({
191
- isDisabled: !shouldCloseOnBlur,
192
- onBlurWithin: (e) => {
193
- if (!e.relatedTarget || $9bf71ea28793e738$export$1258395f99bf9cbf(e.relatedTarget)) return;
194
- if (!shouldCloseOnInteractOutside || shouldCloseOnInteractOutside(e.relatedTarget)) onClose === null || onClose === void 0 ? void 0 : onClose();
195
- }
196
- });
197
- let onPointerDownUnderlay = (e) => {
198
- if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e) === e.currentTarget) e.preventDefault();
199
- };
200
- return {
201
- overlayProps: {
202
- onKeyDown,
203
- ...focusWithinProps
204
- },
205
- underlayProps: {
206
- onPointerDown: onPointerDownUnderlay
207
- }
208
- };
209
- }
210
- function $628037886ba31236$export$f9d5c8beee7d008d(props, state, ref) {
211
- let { type } = props;
212
- let { isOpen } = state;
213
- useEffect(() => {
214
- if (ref && ref.current) $dd149f63282afbbf$export$f6211563215e3b37.set(ref.current, state.close);
215
- });
216
- let ariaHasPopup = void 0;
217
- if (type === "menu") ariaHasPopup = true;
218
- else if (type === "listbox") ariaHasPopup = "listbox";
219
- let overlayId = $bdb11010cef70236$export$f680877a34711e37();
220
- return {
221
- triggerProps: {
222
- "aria-haspopup": ariaHasPopup,
223
- "aria-expanded": isOpen,
224
- "aria-controls": isOpen ? overlayId : void 0,
225
- onPress: state.toggle
226
- },
227
- overlayProps: {
228
- id: overlayId
229
- }
230
- };
231
- }
232
- const $49c51c25361d4cd2$var$visualViewport = typeof document !== "undefined" && window.visualViewport;
233
- let $49c51c25361d4cd2$var$preventScrollCount = 0;
234
- let $49c51c25361d4cd2$var$restore;
235
- function $49c51c25361d4cd2$export$ee0f7cc6afcd1c18(options = {}) {
236
- let { isDisabled } = options;
237
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
238
- if (isDisabled) return;
239
- $49c51c25361d4cd2$var$preventScrollCount++;
240
- if ($49c51c25361d4cd2$var$preventScrollCount === 1) {
241
- if ($c87311424ea30a05$export$fedb369cb70207f1()) $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollMobileSafari();
242
- else $49c51c25361d4cd2$var$restore = $49c51c25361d4cd2$var$preventScrollStandard();
243
- }
244
- return () => {
245
- $49c51c25361d4cd2$var$preventScrollCount--;
246
- if ($49c51c25361d4cd2$var$preventScrollCount === 0) $49c51c25361d4cd2$var$restore();
247
- };
248
- }, [
249
- isDisabled
250
- ]);
251
- }
252
- function $49c51c25361d4cd2$var$preventScrollStandard() {
253
- let scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;
254
- return $ff5963eb1fccf552$export$e08e3b67e392101e(scrollbarWidth > 0 && // Use scrollbar-gutter when supported because it also works for fixed positioned elements.
255
- ("scrollbarGutter" in document.documentElement.style ? $49c51c25361d4cd2$var$setStyle(document.documentElement, "scrollbarGutter", "stable") : $49c51c25361d4cd2$var$setStyle(document.documentElement, "paddingRight", `${scrollbarWidth}px`)), $49c51c25361d4cd2$var$setStyle(document.documentElement, "overflow", "hidden"));
256
- }
257
- function $49c51c25361d4cd2$var$preventScrollMobileSafari() {
258
- let restoreOverflow = $49c51c25361d4cd2$var$setStyle(document.documentElement, "overflow", "hidden");
259
- let scrollable;
260
- let allowTouchMove = false;
261
- let onTouchStart = (e) => {
262
- let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
263
- scrollable = $cc38e7bd3fc7b213$export$2bb74740c4e19def(target) ? target : $62d8ded9296f3872$export$cfa2225e87938781(target, true);
264
- allowTouchMove = false;
265
- let selection = target.ownerDocument.defaultView.getSelection();
266
- if (selection && !selection.isCollapsed && selection.containsNode(target, true)) allowTouchMove = true;
267
- if (e.composedPath().some((el) => el instanceof HTMLInputElement && el.type === "range")) allowTouchMove = true;
268
- if ("selectionStart" in target && "selectionEnd" in target && target.selectionStart < target.selectionEnd && target.ownerDocument.activeElement === target) allowTouchMove = true;
269
- };
270
- let style = document.createElement("style");
271
- style.textContent = `
272
- @layer {
273
- * {
274
- overscroll-behavior: contain;
275
- }
276
- }`.trim();
277
- document.head.prepend(style);
278
- let onTouchMove = (e) => {
279
- if (e.touches.length === 2 || allowTouchMove) return;
280
- if (!scrollable || scrollable === document.documentElement || scrollable === document.body) {
281
- e.preventDefault();
282
- return;
283
- }
284
- if (scrollable.scrollHeight === scrollable.clientHeight && scrollable.scrollWidth === scrollable.clientWidth) e.preventDefault();
285
- };
286
- let onBlur = (e) => {
287
- let target = $d4ee10de306f2510$export$e58f029f0fbfdb29(e);
288
- let relatedTarget = e.relatedTarget;
289
- if (relatedTarget && $21f1aa98acb08317$export$c57958e35f31ed73(relatedTarget)) {
290
- relatedTarget.focus({
291
- preventScroll: true
292
- });
293
- $49c51c25361d4cd2$var$scrollIntoViewWhenReady(relatedTarget, $21f1aa98acb08317$export$c57958e35f31ed73(target));
294
- } else if (!relatedTarget) {
295
- var _target_parentElement;
296
- let focusable = (_target_parentElement = target.parentElement) === null || _target_parentElement === void 0 ? void 0 : _target_parentElement.closest("[tabindex]");
297
- focusable === null || focusable === void 0 ? void 0 : focusable.focus({
298
- preventScroll: true
299
- });
300
- }
301
- };
302
- let focus = HTMLElement.prototype.focus;
303
- HTMLElement.prototype.focus = function(opts) {
304
- let activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576();
305
- let wasKeyboardVisible = activeElement != null && $21f1aa98acb08317$export$c57958e35f31ed73(activeElement);
306
- focus.call(this, {
307
- ...opts,
308
- preventScroll: true
309
- });
310
- if (!opts || !opts.preventScroll) $49c51c25361d4cd2$var$scrollIntoViewWhenReady(this, wasKeyboardVisible);
311
- };
312
- let removeEvents = $ff5963eb1fccf552$export$e08e3b67e392101e($49c51c25361d4cd2$var$addEvent(document, "touchstart", onTouchStart, {
313
- passive: false,
314
- capture: true
315
- }), $49c51c25361d4cd2$var$addEvent(document, "touchmove", onTouchMove, {
316
- passive: false,
317
- capture: true
318
- }), $49c51c25361d4cd2$var$addEvent(document, "blur", onBlur, true));
319
- return () => {
320
- restoreOverflow();
321
- removeEvents();
322
- style.remove();
323
- HTMLElement.prototype.focus = focus;
324
- };
325
- }
326
- function $49c51c25361d4cd2$var$setStyle(element, style, value) {
327
- let cur = element.style[style];
328
- element.style[style] = value;
329
- return () => {
330
- element.style[style] = cur;
331
- };
332
- }
333
- function $49c51c25361d4cd2$var$addEvent(target, event, handler, options) {
334
- target.addEventListener(event, handler, options);
335
- return () => {
336
- target.removeEventListener(event, handler, options);
337
- };
338
- }
339
- function $49c51c25361d4cd2$var$scrollIntoViewWhenReady(target, wasKeyboardVisible) {
340
- if (wasKeyboardVisible || !$49c51c25361d4cd2$var$visualViewport)
341
- $49c51c25361d4cd2$var$scrollIntoView(target);
342
- else
343
- $49c51c25361d4cd2$var$visualViewport.addEventListener("resize", () => $49c51c25361d4cd2$var$scrollIntoView(target), {
344
- once: true
345
- });
346
- }
347
- function $49c51c25361d4cd2$var$scrollIntoView(target) {
348
- let root = document.scrollingElement || document.documentElement;
349
- let nextTarget = target;
350
- while (nextTarget && nextTarget !== root) {
351
- let scrollable = $62d8ded9296f3872$export$cfa2225e87938781(nextTarget);
352
- if (scrollable !== document.documentElement && scrollable !== document.body && scrollable !== nextTarget) {
353
- let scrollableRect = scrollable.getBoundingClientRect();
354
- let targetRect = nextTarget.getBoundingClientRect();
355
- if (targetRect.top < scrollableRect.top || targetRect.bottom > scrollableRect.top + nextTarget.clientHeight) {
356
- let bottom = scrollableRect.bottom;
357
- if ($49c51c25361d4cd2$var$visualViewport) bottom = Math.min(bottom, $49c51c25361d4cd2$var$visualViewport.offsetTop + $49c51c25361d4cd2$var$visualViewport.height);
358
- let adjustment = targetRect.top - scrollableRect.top - ((bottom - scrollableRect.top) / 2 - targetRect.height / 2);
359
- scrollable.scrollTo({
360
- // Clamp to the valid range to prevent over-scrolling.
361
- top: Math.max(0, Math.min(scrollable.scrollHeight - scrollable.clientHeight, scrollable.scrollTop + adjustment)),
362
- behavior: "smooth"
363
- });
364
- }
365
- }
366
- nextTarget = scrollable.parentElement;
367
- }
368
- }
369
- var $773d5888b972f1cf$exports = {};
370
- $773d5888b972f1cf$exports = {
371
- "dismiss": `تجاهل`
372
- };
373
- var $d11f19852b941573$exports = {};
374
- $d11f19852b941573$exports = {
375
- "dismiss": `Отхвърляне`
376
- };
377
- var $b983974c2ee1efb3$exports = {};
378
- $b983974c2ee1efb3$exports = {
379
- "dismiss": `Odstranit`
380
- };
381
- var $5809cc9d4e92de73$exports = {};
382
- $5809cc9d4e92de73$exports = {
383
- "dismiss": `Luk`
384
- };
385
- var $c68c2e4fc74398d1$exports = {};
386
- $c68c2e4fc74398d1$exports = {
387
- "dismiss": `Schließen`
388
- };
389
- var $0898b4c153db2b77$exports = {};
390
- $0898b4c153db2b77$exports = {
391
- "dismiss": `Απόρριψη`
392
- };
393
- var $6d74810286a15183$exports = {};
394
- $6d74810286a15183$exports = {
395
- "dismiss": `Dismiss`
396
- };
397
- var $309d73dc65f78055$exports = {};
398
- $309d73dc65f78055$exports = {
399
- "dismiss": `Descartar`
400
- };
401
- var $44ad94f7205cf593$exports = {};
402
- $44ad94f7205cf593$exports = {
403
- "dismiss": `Lõpeta`
404
- };
405
- var $7c28f5687f0779a9$exports = {};
406
- $7c28f5687f0779a9$exports = {
407
- "dismiss": `Hylkää`
408
- };
409
- var $e6d75df4b68bd73a$exports = {};
410
- $e6d75df4b68bd73a$exports = {
411
- "dismiss": `Rejeter`
412
- };
413
- var $87505c9dab186d0f$exports = {};
414
- $87505c9dab186d0f$exports = {
415
- "dismiss": `התעלם`
416
- };
417
- var $553439c3ffb3e492$exports = {};
418
- $553439c3ffb3e492$exports = {
419
- "dismiss": `Odbaci`
420
- };
421
- var $74cf411061b983a2$exports = {};
422
- $74cf411061b983a2$exports = {
423
- "dismiss": `Elutasítás`
424
- };
425
- var $e933f298574dc435$exports = {};
426
- $e933f298574dc435$exports = {
427
- "dismiss": `Ignora`
428
- };
429
- var $ac91fc9fe02f71f6$exports = {};
430
- $ac91fc9fe02f71f6$exports = {
431
- "dismiss": `閉じる`
432
- };
433
- var $52b96f86422025af$exports = {};
434
- $52b96f86422025af$exports = {
435
- "dismiss": `무시`
436
- };
437
- var $c0d724c3e51dafa6$exports = {};
438
- $c0d724c3e51dafa6$exports = {
439
- "dismiss": `Atmesti`
440
- };
441
- var $c92899672a3fe72e$exports = {};
442
- $c92899672a3fe72e$exports = {
443
- "dismiss": `Nerādīt`
444
- };
445
- var $9f576b39d8e7a9d6$exports = {};
446
- $9f576b39d8e7a9d6$exports = {
447
- "dismiss": `Lukk`
448
- };
449
- var $9d025808aeec81a7$exports = {};
450
- $9d025808aeec81a7$exports = {
451
- "dismiss": `Negeren`
452
- };
453
- var $fce709921e2c0fa6$exports = {};
454
- $fce709921e2c0fa6$exports = {
455
- "dismiss": `Zignoruj`
456
- };
457
- var $2599cf0c4ab37f59$exports = {};
458
- $2599cf0c4ab37f59$exports = {
459
- "dismiss": `Descartar`
460
- };
461
- var $3c220ae7ef8a35fd$exports = {};
462
- $3c220ae7ef8a35fd$exports = {
463
- "dismiss": `Dispensar`
464
- };
465
- var $93562b5094072f54$exports = {};
466
- $93562b5094072f54$exports = {
467
- "dismiss": `Revocare`
468
- };
469
- var $cd9e2abd0d06c7b4$exports = {};
470
- $cd9e2abd0d06c7b4$exports = {
471
- "dismiss": `Пропустить`
472
- };
473
- var $45375701f409adf1$exports = {};
474
- $45375701f409adf1$exports = {
475
- "dismiss": `Zrušiť`
476
- };
477
- var $27fab53a576de9dd$exports = {};
478
- $27fab53a576de9dd$exports = {
479
- "dismiss": `Opusti`
480
- };
481
- var $4438748d9952e7c7$exports = {};
482
- $4438748d9952e7c7$exports = {
483
- "dismiss": `Odbaci`
484
- };
485
- var $0936d7347ef4da4c$exports = {};
486
- $0936d7347ef4da4c$exports = {
487
- "dismiss": `Avvisa`
488
- };
489
- var $29700c92185d38f8$exports = {};
490
- $29700c92185d38f8$exports = {
491
- "dismiss": `Kapat`
492
- };
493
- var $662ccaf2be4c25b3$exports = {};
494
- $662ccaf2be4c25b3$exports = {
495
- "dismiss": `Скасувати`
496
- };
497
- var $d80a27deda7cdb3c$exports = {};
498
- $d80a27deda7cdb3c$exports = {
499
- "dismiss": `取消`
500
- };
501
- var $2b2734393847c884$exports = {};
502
- $2b2734393847c884$exports = {
503
- "dismiss": `關閉`
504
- };
505
- var $a2f21f5f14f60553$exports = {};
506
- $a2f21f5f14f60553$exports = {
507
- "ar-AE": $773d5888b972f1cf$exports,
508
- "bg-BG": $d11f19852b941573$exports,
509
- "cs-CZ": $b983974c2ee1efb3$exports,
510
- "da-DK": $5809cc9d4e92de73$exports,
511
- "de-DE": $c68c2e4fc74398d1$exports,
512
- "el-GR": $0898b4c153db2b77$exports,
513
- "en-US": $6d74810286a15183$exports,
514
- "es-ES": $309d73dc65f78055$exports,
515
- "et-EE": $44ad94f7205cf593$exports,
516
- "fi-FI": $7c28f5687f0779a9$exports,
517
- "fr-FR": $e6d75df4b68bd73a$exports,
518
- "he-IL": $87505c9dab186d0f$exports,
519
- "hr-HR": $553439c3ffb3e492$exports,
520
- "hu-HU": $74cf411061b983a2$exports,
521
- "it-IT": $e933f298574dc435$exports,
522
- "ja-JP": $ac91fc9fe02f71f6$exports,
523
- "ko-KR": $52b96f86422025af$exports,
524
- "lt-LT": $c0d724c3e51dafa6$exports,
525
- "lv-LV": $c92899672a3fe72e$exports,
526
- "nb-NO": $9f576b39d8e7a9d6$exports,
527
- "nl-NL": $9d025808aeec81a7$exports,
528
- "pl-PL": $fce709921e2c0fa6$exports,
529
- "pt-BR": $2599cf0c4ab37f59$exports,
530
- "pt-PT": $3c220ae7ef8a35fd$exports,
531
- "ro-RO": $93562b5094072f54$exports,
532
- "ru-RU": $cd9e2abd0d06c7b4$exports,
533
- "sk-SK": $45375701f409adf1$exports,
534
- "sl-SI": $27fab53a576de9dd$exports,
535
- "sr-SP": $4438748d9952e7c7$exports,
536
- "sv-SE": $0936d7347ef4da4c$exports,
537
- "tr-TR": $29700c92185d38f8$exports,
538
- "uk-UA": $662ccaf2be4c25b3$exports,
539
- "zh-CN": $d80a27deda7cdb3c$exports,
540
- "zh-TW": $2b2734393847c884$exports
541
- };
542
- function $parcel$interopDefault$1(a) {
543
- return a && a.__esModule ? a.default : a;
544
- }
545
- function $86ea4cb521eb2e37$export$2317d149ed6f78c4(props) {
546
- let { onDismiss, ...otherProps } = props;
547
- let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($a2f21f5f14f60553$exports), "@react-aria/overlays");
548
- let labels = $313b98861ee5dd6c$export$d6875122194c7b44(otherProps, stringFormatter.format("dismiss"));
549
- let onClick = () => {
550
- if (onDismiss) onDismiss();
551
- };
552
- return /* @__PURE__ */ $dbSRa$react__default.createElement($5c3e21d68f1c4674$export$439d29a4e110a164, null, /* @__PURE__ */ $dbSRa$react__default.createElement("button", {
553
- ...labels,
554
- tabIndex: -1,
555
- onClick,
556
- style: {
557
- width: 1,
558
- height: 1
559
- }
560
- }));
561
- }
562
- const $5e3802645cc19319$var$supportsInert = typeof HTMLElement !== "undefined" && "inert" in HTMLElement.prototype;
563
- let $5e3802645cc19319$var$refCountMap = /* @__PURE__ */ new WeakMap();
564
- let $5e3802645cc19319$var$observerStack = [];
565
- function $5e3802645cc19319$export$1c3ebcada18427bf(targets, options) {
566
- let windowObj = $431fbd86ca7dc216$export$f21a1ffae260145a(targets === null || targets === void 0 ? void 0 : targets[0]);
567
- let opts = options instanceof windowObj.Element ? {
568
- root: options
569
- } : options;
570
- var _opts_root;
571
- let root = (_opts_root = opts === null || opts === void 0 ? void 0 : opts.root) !== null && _opts_root !== void 0 ? _opts_root : document.body;
572
- let shouldUseInert = (opts === null || opts === void 0 ? void 0 : opts.shouldUseInert) && $5e3802645cc19319$var$supportsInert;
573
- let visibleNodes = new Set(targets);
574
- let hiddenNodes = /* @__PURE__ */ new Set();
575
- let getHidden = (element) => {
576
- return shouldUseInert && element instanceof windowObj.HTMLElement ? element.inert : element.getAttribute("aria-hidden") === "true";
577
- };
578
- let setHidden = (element, hidden) => {
579
- if (shouldUseInert && element instanceof windowObj.HTMLElement) element.inert = hidden;
580
- else if (hidden) element.setAttribute("aria-hidden", "true");
581
- else {
582
- element.removeAttribute("aria-hidden");
583
- if (element instanceof windowObj.HTMLElement)
584
- element.inert = false;
585
- }
586
- };
587
- let shadowRootsToWatch = /* @__PURE__ */ new Set();
588
- if ($f4e2df6bd15f8569$export$98658e8c59125e6a())
589
- for (let target of targets) {
590
- let node = target;
591
- while (node && node !== root) {
592
- let root2 = node.getRootNode();
593
- if ("shadowRoot" in root2) shadowRootsToWatch.add(root2.shadowRoot);
594
- node = root2.parentNode;
595
- }
596
- }
597
- let walk = (root2) => {
598
- for (let element of root2.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) visibleNodes.add(element);
599
- let acceptNode = (node) => {
600
- if (hiddenNodes.has(node) || visibleNodes.has(node) || node.parentElement && hiddenNodes.has(node.parentElement) && node.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
601
- for (let target of visibleNodes) {
602
- if ($d4ee10de306f2510$export$4282f70798064fe0(node, target)) return NodeFilter.FILTER_SKIP;
603
- }
604
- return NodeFilter.FILTER_ACCEPT;
605
- };
606
- let walker = $dfc540311bf7f109$export$4d0f8be8b12a7ef6($431fbd86ca7dc216$export$b204af158042fbac(root2), root2, NodeFilter.SHOW_ELEMENT, {
607
- acceptNode
608
- });
609
- let acceptRoot = acceptNode(root2);
610
- if (acceptRoot === NodeFilter.FILTER_ACCEPT) hide(root2);
611
- if (acceptRoot !== NodeFilter.FILTER_REJECT) {
612
- let node = walker.nextNode();
613
- while (node != null) {
614
- hide(node);
615
- node = walker.nextNode();
616
- }
617
- }
618
- };
619
- let hide = (node) => {
620
- var _refCountMap_get;
621
- let refCount = (_refCountMap_get = $5e3802645cc19319$var$refCountMap.get(node)) !== null && _refCountMap_get !== void 0 ? _refCountMap_get : 0;
622
- if (getHidden(node) && refCount === 0) return;
623
- if (refCount === 0) setHidden(node, true);
624
- hiddenNodes.add(node);
625
- $5e3802645cc19319$var$refCountMap.set(node, refCount + 1);
626
- };
627
- if ($5e3802645cc19319$var$observerStack.length) $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1].disconnect();
628
- walk(root);
629
- let observer = new MutationObserver((changes) => {
630
- for (let change of changes) {
631
- if (change.type !== "childList") continue;
632
- if (change.target.isConnected && ![
633
- ...visibleNodes,
634
- ...hiddenNodes
635
- ].some((node) => $d4ee10de306f2510$export$4282f70798064fe0(node, change.target))) for (let node of change.addedNodes) {
636
- if ((node instanceof HTMLElement || node instanceof SVGElement) && (node.dataset.liveAnnouncer === "true" || node.dataset.reactAriaTopLayer === "true")) visibleNodes.add(node);
637
- else if (node instanceof Element) walk(node);
638
- }
639
- if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) {
640
- for (let shadowRoot of shadowRootsToWatch) if (!shadowRoot.isConnected) {
641
- observer.disconnect();
642
- break;
643
- }
644
- }
645
- }
646
- });
647
- observer.observe(root, {
648
- childList: true,
649
- subtree: true
650
- });
651
- let shadowObservers = /* @__PURE__ */ new Set();
652
- if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) for (let shadowRoot of shadowRootsToWatch) {
653
- let shadowObserver = new MutationObserver((changes) => {
654
- for (let change of changes) {
655
- if (change.type !== "childList") continue;
656
- if (change.target.isConnected && ![
657
- ...visibleNodes,
658
- ...hiddenNodes
659
- ].some((node) => $d4ee10de306f2510$export$4282f70798064fe0(node, change.target))) for (let node of change.addedNodes) {
660
- if ((node instanceof HTMLElement || node instanceof SVGElement) && (node.dataset.liveAnnouncer === "true" || node.dataset.reactAriaTopLayer === "true")) visibleNodes.add(node);
661
- else if (node instanceof Element) walk(node);
662
- }
663
- if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) {
664
- for (let shadowRoot2 of shadowRootsToWatch) if (!shadowRoot2.isConnected) {
665
- observer.disconnect();
666
- break;
667
- }
668
- }
669
- }
670
- });
671
- shadowObserver.observe(shadowRoot, {
672
- childList: true,
673
- subtree: true
674
- });
675
- shadowObservers.add(shadowObserver);
676
- }
677
- let observerWrapper = {
678
- visibleNodes,
679
- hiddenNodes,
680
- observe() {
681
- observer.observe(root, {
682
- childList: true,
683
- subtree: true
684
- });
685
- },
686
- disconnect() {
687
- observer.disconnect();
688
- }
689
- };
690
- $5e3802645cc19319$var$observerStack.push(observerWrapper);
691
- return () => {
692
- observer.disconnect();
693
- if ($f4e2df6bd15f8569$export$98658e8c59125e6a()) for (let shadowObserver of shadowObservers) shadowObserver.disconnect();
694
- for (let node of hiddenNodes) {
695
- let count = $5e3802645cc19319$var$refCountMap.get(node);
696
- if (count == null) continue;
697
- if (count === 1) {
698
- setHidden(node, false);
699
- $5e3802645cc19319$var$refCountMap.delete(node);
700
- } else $5e3802645cc19319$var$refCountMap.set(node, count - 1);
701
- }
702
- if (observerWrapper === $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1]) {
703
- $5e3802645cc19319$var$observerStack.pop();
704
- if ($5e3802645cc19319$var$observerStack.length) $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1].observe();
705
- } else $5e3802645cc19319$var$observerStack.splice($5e3802645cc19319$var$observerStack.indexOf(observerWrapper), 1);
706
- };
707
- }
708
- function $5e3802645cc19319$export$1020fa7f77e17884(element) {
709
- let observer = $5e3802645cc19319$var$observerStack[$5e3802645cc19319$var$observerStack.length - 1];
710
- if (observer && !observer.visibleNodes.has(element)) {
711
- observer.visibleNodes.add(element);
712
- return () => {
713
- observer.visibleNodes.delete(element);
714
- };
715
- }
716
- }
717
- function $f2f8a6077418541e$export$542a6fd13ac93354(props, state) {
718
- let { triggerRef, popoverRef, groupRef, isNonModal, isKeyboardDismissDisabled, shouldCloseOnInteractOutside, ...otherProps } = props;
719
- let isSubmenu = otherProps["trigger"] === "SubmenuTrigger";
720
- let { overlayProps, underlayProps } = $a11501f3d1d39e6c$export$ea8f71083e90600f({
721
- isOpen: state.isOpen,
722
- onClose: state.close,
723
- shouldCloseOnBlur: true,
724
- isDismissable: !isNonModal || isSubmenu,
725
- isKeyboardDismissDisabled,
726
- shouldCloseOnInteractOutside
727
- }, groupRef !== null && groupRef !== void 0 ? groupRef : popoverRef);
728
- let { overlayProps: positionProps, arrowProps, placement, triggerAnchorPoint: origin } = $2a41e45df1593e64$export$d39e1813b3bdd0e1({
729
- ...otherProps,
730
- targetRef: triggerRef,
731
- overlayRef: popoverRef,
732
- isOpen: state.isOpen,
733
- onClose: isNonModal && !isSubmenu ? state.close : null
734
- });
735
- $49c51c25361d4cd2$export$ee0f7cc6afcd1c18({
736
- isDisabled: isNonModal || !state.isOpen
737
- });
738
- useEffect(() => {
739
- if (state.isOpen && popoverRef.current) {
740
- var _groupRef_current, _groupRef_current1;
741
- if (isNonModal) return $5e3802645cc19319$export$1020fa7f77e17884((_groupRef_current = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current !== void 0 ? _groupRef_current : popoverRef.current);
742
- else return $5e3802645cc19319$export$1c3ebcada18427bf([
743
- (_groupRef_current1 = groupRef === null || groupRef === void 0 ? void 0 : groupRef.current) !== null && _groupRef_current1 !== void 0 ? _groupRef_current1 : popoverRef.current
744
- ], {
745
- shouldUseInert: true
746
- });
747
- }
748
- }, [
749
- isNonModal,
750
- state.isOpen,
751
- popoverRef,
752
- groupRef
753
- ]);
754
- return {
755
- popoverProps: $3ef42575df84b30b$export$9d1611c77c2fe928(overlayProps, positionProps),
756
- arrowProps,
757
- underlayProps,
758
- placement,
759
- triggerAnchorPoint: origin
760
- };
761
- }
762
- const $337b884510726a0d$export$a2200b96afd16271 = /* @__PURE__ */ $dbSRa$react__default.createContext(null);
763
- function $337b884510726a0d$export$c6fdb837b070b4ff(props) {
764
- let isSSR = $b5e257d569688ac6$export$535bd6ca7f90a273();
765
- let { portalContainer = isSSR ? null : document.body, isExiting } = props;
766
- let [contain, setContain] = useState(false);
767
- let contextValue = useMemo(() => ({
768
- contain,
769
- setContain
770
- }), [
771
- contain,
772
- setContain
773
- ]);
774
- let { getContainer } = $96b38030c423d352$export$9fc1347d4195ccb3();
775
- if (!props.portalContainer && getContainer) portalContainer = getContainer();
776
- if (!portalContainer) return null;
777
- let contents = props.children;
778
- if (!props.disableFocusManagement) contents = /* @__PURE__ */ $dbSRa$react__default.createElement($9bf71ea28793e738$export$20e40289641fbbb6, {
779
- restoreFocus: true,
780
- contain: (props.shouldContainFocus || contain) && !isExiting
781
- }, contents);
782
- contents = /* @__PURE__ */ $dbSRa$react__default.createElement($337b884510726a0d$export$a2200b96afd16271.Provider, {
783
- value: contextValue
784
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($f1ab8c75478c6f73$export$cf75428e0b9ed1ea, null, contents));
785
- return /* @__PURE__ */ $dbSRa$reactdom.createPortal(contents, portalContainer);
786
- }
787
- function $337b884510726a0d$export$14c98a7594375490() {
788
- let ctx = useContext($337b884510726a0d$export$a2200b96afd16271);
789
- let setContain = ctx === null || ctx === void 0 ? void 0 : ctx.setContain;
790
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
791
- setContain === null || setContain === void 0 ? void 0 : setContain(true);
792
- }, [
793
- setContain
794
- ]);
795
- }
796
- class $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {
797
- getItemRect(key) {
798
- let container = this.ref.current;
799
- if (!container) return null;
800
- let item = key != null ? $feb5ffebff200149$export$c3d8340acf92597f(this.ref, key) : null;
801
- if (!item) return null;
802
- let containerRect = container.getBoundingClientRect();
803
- let itemRect = item.getBoundingClientRect();
804
- return {
805
- x: itemRect.left - containerRect.left - container.clientLeft + container.scrollLeft,
806
- y: itemRect.top - containerRect.top - container.clientTop + container.scrollTop,
807
- width: itemRect.width,
808
- height: itemRect.height
809
- };
810
- }
811
- getContentSize() {
812
- let container = this.ref.current;
813
- var _container_scrollWidth, _container_scrollHeight;
814
- return {
815
- width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,
816
- height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0
817
- };
818
- }
819
- getVisibleRect() {
820
- let container = this.ref.current;
821
- var _container_scrollLeft, _container_scrollTop, _container_clientWidth, _container_clientHeight;
822
- return {
823
- x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,
824
- y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,
825
- width: (_container_clientWidth = container === null || container === void 0 ? void 0 : container.clientWidth) !== null && _container_clientWidth !== void 0 ? _container_clientWidth : 0,
826
- height: (_container_clientHeight = container === null || container === void 0 ? void 0 : container.clientHeight) !== null && _container_clientHeight !== void 0 ? _container_clientHeight : 0
827
- };
828
- }
829
- constructor(ref) {
830
- this.ref = ref;
831
- }
832
- }
833
- class $2a25aae57d74318e$export$a05409b8bb224a5a {
834
- isDisabled(item) {
835
- var _item_props;
836
- return this.disabledBehavior === "all" && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));
837
- }
838
- findNextNonDisabled(key, getNext) {
839
- let nextKey = key;
840
- while (nextKey != null) {
841
- let item = this.collection.getItem(nextKey);
842
- if ((item === null || item === void 0 ? void 0 : item.type) === "item" && !this.isDisabled(item)) return nextKey;
843
- nextKey = getNext(nextKey);
844
- }
845
- return null;
846
- }
847
- getNextKey(key) {
848
- let nextKey = key;
849
- nextKey = this.collection.getKeyAfter(nextKey);
850
- return this.findNextNonDisabled(nextKey, (key2) => this.collection.getKeyAfter(key2));
851
- }
852
- getPreviousKey(key) {
853
- let nextKey = key;
854
- nextKey = this.collection.getKeyBefore(nextKey);
855
- return this.findNextNonDisabled(nextKey, (key2) => this.collection.getKeyBefore(key2));
856
- }
857
- findKey(key, nextKey, shouldSkip) {
858
- let tempKey = key;
859
- let itemRect = this.layoutDelegate.getItemRect(tempKey);
860
- if (!itemRect || tempKey == null) return null;
861
- let prevRect = itemRect;
862
- do {
863
- tempKey = nextKey(tempKey);
864
- if (tempKey == null) break;
865
- itemRect = this.layoutDelegate.getItemRect(tempKey);
866
- } while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);
867
- return tempKey;
868
- }
869
- isSameRow(prevRect, itemRect) {
870
- return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;
871
- }
872
- isSameColumn(prevRect, itemRect) {
873
- return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;
874
- }
875
- getKeyBelow(key) {
876
- if (this.layout === "grid" && this.orientation === "vertical") return this.findKey(key, (key2) => this.getNextKey(key2), this.isSameRow);
877
- else return this.getNextKey(key);
878
- }
879
- getKeyAbove(key) {
880
- if (this.layout === "grid" && this.orientation === "vertical") return this.findKey(key, (key2) => this.getPreviousKey(key2), this.isSameRow);
881
- else return this.getPreviousKey(key);
882
- }
883
- getNextColumn(key, right) {
884
- return right ? this.getPreviousKey(key) : this.getNextKey(key);
885
- }
886
- getKeyRightOf(key) {
887
- let layoutDelegateMethod = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
888
- if (this.layoutDelegate[layoutDelegateMethod]) {
889
- key = this.layoutDelegate[layoutDelegateMethod](key);
890
- return this.findNextNonDisabled(key, (key2) => this.layoutDelegate[layoutDelegateMethod](key2));
891
- }
892
- if (this.layout === "grid") {
893
- if (this.orientation === "vertical") return this.getNextColumn(key, this.direction === "rtl");
894
- else return this.findKey(key, (key2) => this.getNextColumn(key2, this.direction === "rtl"), this.isSameColumn);
895
- } else if (this.orientation === "horizontal") return this.getNextColumn(key, this.direction === "rtl");
896
- return null;
897
- }
898
- getKeyLeftOf(key) {
899
- let layoutDelegateMethod = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
900
- if (this.layoutDelegate[layoutDelegateMethod]) {
901
- key = this.layoutDelegate[layoutDelegateMethod](key);
902
- return this.findNextNonDisabled(key, (key2) => this.layoutDelegate[layoutDelegateMethod](key2));
903
- }
904
- if (this.layout === "grid") {
905
- if (this.orientation === "vertical") return this.getNextColumn(key, this.direction === "ltr");
906
- else return this.findKey(key, (key2) => this.getNextColumn(key2, this.direction === "ltr"), this.isSameColumn);
907
- } else if (this.orientation === "horizontal") return this.getNextColumn(key, this.direction === "ltr");
908
- return null;
909
- }
910
- getFirstKey() {
911
- let key = this.collection.getFirstKey();
912
- return this.findNextNonDisabled(key, (key2) => this.collection.getKeyAfter(key2));
913
- }
914
- getLastKey() {
915
- let key = this.collection.getLastKey();
916
- return this.findNextNonDisabled(key, (key2) => this.collection.getKeyBefore(key2));
917
- }
918
- getKeyPageAbove(key) {
919
- let menu = this.ref.current;
920
- let itemRect = this.layoutDelegate.getItemRect(key);
921
- if (!itemRect) return null;
922
- if (menu && !$cc38e7bd3fc7b213$export$2bb74740c4e19def(menu)) return this.getFirstKey();
923
- let nextKey = key;
924
- if (this.orientation === "horizontal") {
925
- let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);
926
- while (itemRect && itemRect.x > pageX && nextKey != null) {
927
- nextKey = this.getKeyAbove(nextKey);
928
- itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
929
- }
930
- } else {
931
- let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);
932
- while (itemRect && itemRect.y > pageY && nextKey != null) {
933
- nextKey = this.getKeyAbove(nextKey);
934
- itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
935
- }
936
- }
937
- return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();
938
- }
939
- getKeyPageBelow(key) {
940
- let menu = this.ref.current;
941
- let itemRect = this.layoutDelegate.getItemRect(key);
942
- if (!itemRect) return null;
943
- if (menu && !$cc38e7bd3fc7b213$export$2bb74740c4e19def(menu)) return this.getLastKey();
944
- let nextKey = key;
945
- if (this.orientation === "horizontal") {
946
- let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);
947
- while (itemRect && itemRect.x < pageX && nextKey != null) {
948
- nextKey = this.getKeyBelow(nextKey);
949
- itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
950
- }
951
- } else {
952
- let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);
953
- while (itemRect && itemRect.y < pageY && nextKey != null) {
954
- nextKey = this.getKeyBelow(nextKey);
955
- itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);
956
- }
957
- }
958
- return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();
959
- }
960
- getKeyForSearch(search, fromKey) {
961
- if (!this.collator) return null;
962
- let collection = this.collection;
963
- let key = fromKey || this.getFirstKey();
964
- while (key != null) {
965
- let item = collection.getItem(key);
966
- if (!item) return null;
967
- let substring = item.textValue.slice(0, search.length);
968
- if (item.textValue && this.collator.compare(substring, search) === 0) return key;
969
- key = this.getNextKey(key);
970
- }
971
- return null;
972
- }
973
- constructor(...args) {
974
- if (args.length === 1) {
975
- let opts = args[0];
976
- this.collection = opts.collection;
977
- this.ref = opts.ref;
978
- this.collator = opts.collator;
979
- this.disabledKeys = opts.disabledKeys || /* @__PURE__ */ new Set();
980
- this.disabledBehavior = opts.disabledBehavior || "all";
981
- this.orientation = opts.orientation || "vertical";
982
- this.direction = opts.direction;
983
- this.layout = opts.layout || "stack";
984
- this.layoutDelegate = opts.layoutDelegate || new $657e4dc4a6e88df0$export$8f5ed9ff9f511381(opts.ref);
985
- } else {
986
- this.collection = args[0];
987
- this.disabledKeys = args[1];
988
- this.ref = args[2];
989
- this.collator = args[3];
990
- this.layout = "stack";
991
- this.orientation = "vertical";
992
- this.disabledBehavior = "all";
993
- this.layoutDelegate = new $657e4dc4a6e88df0$export$8f5ed9ff9f511381(this.ref);
994
- }
995
- if (this.layout === "stack" && this.orientation === "vertical") {
996
- this.getKeyLeftOf = void 0;
997
- this.getKeyRightOf = void 0;
998
- }
999
- }
1000
- }
1001
- function $982254629710d113$export$b95089534ab7c1fd(props) {
1002
- let { selectionManager, collection, disabledKeys, ref, keyboardDelegate, layoutDelegate } = props;
1003
- let collator = $325a3faab7a68acd$export$a16aca283550c30d({
1004
- usage: "search",
1005
- sensitivity: "base"
1006
- });
1007
- let disabledBehavior = selectionManager.disabledBehavior;
1008
- let delegate = useMemo(() => keyboardDelegate || new $2a25aae57d74318e$export$a05409b8bb224a5a({
1009
- collection,
1010
- disabledKeys,
1011
- disabledBehavior,
1012
- ref,
1013
- collator,
1014
- layoutDelegate
1015
- }), [
1016
- keyboardDelegate,
1017
- layoutDelegate,
1018
- collection,
1019
- disabledKeys,
1020
- ref,
1021
- collator,
1022
- disabledBehavior
1023
- ]);
1024
- let { collectionProps } = $ae20dd8cbca75726$export$d6daf82dcd84e87c({
1025
- ...props,
1026
- ref,
1027
- selectionManager,
1028
- keyboardDelegate: delegate
1029
- });
1030
- return {
1031
- listProps: collectionProps
1032
- };
1033
- }
1034
- const $453cc9f0df89c0a5$var$cache = /* @__PURE__ */ new WeakMap();
1035
- function $453cc9f0df89c0a5$export$77d5aafae4e095b2(collection) {
1036
- let count = $453cc9f0df89c0a5$var$cache.get(collection);
1037
- if (count != null) return count;
1038
- let counter = 0;
1039
- let countItems = (items) => {
1040
- for (let item of items) {
1041
- if (item.type === "section") countItems($c5a24bc478652b5f$export$1005530eda016c13(item, collection));
1042
- else if (item.type === "item") counter++;
1043
- }
1044
- };
1045
- countItems(collection);
1046
- $453cc9f0df89c0a5$var$cache.set(collection, counter);
1047
- return counter;
1048
- }
1049
- var $c0398ad35c3639b7$exports = {};
1050
- $c0398ad35c3639b7$exports = {
1051
- "longPressMessage": `اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة`
1052
- };
1053
- var $7af657c4165927c3$exports = {};
1054
- $7af657c4165927c3$exports = {
1055
- "longPressMessage": `Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто`
1056
- };
1057
- var $d95d4da6d531ab81$exports = {};
1058
- $d95d4da6d531ab81$exports = {
1059
- "longPressMessage": `Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku`
1060
- };
1061
- var $24ebda9c775dca17$exports = {};
1062
- $24ebda9c775dca17$exports = {
1063
- "longPressMessage": `Langt tryk eller tryk på Alt + pil ned for at åbne menuen`
1064
- };
1065
- var $743e0dfca6cab1e9$exports = {};
1066
- $743e0dfca6cab1e9$exports = {
1067
- "longPressMessage": `Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen`
1068
- };
1069
- var $a2f41026e05f1c84$exports = {};
1070
- $a2f41026e05f1c84$exports = {
1071
- "longPressMessage": `Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού`
1072
- };
1073
- var $43b800e97c901737$exports = {};
1074
- $43b800e97c901737$exports = {
1075
- "longPressMessage": `Long press or press Alt + ArrowDown to open menu`
1076
- };
1077
- var $442f5f6ac211e29f$exports = {};
1078
- $442f5f6ac211e29f$exports = {
1079
- "longPressMessage": `Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú`
1080
- };
1081
- var $dff280acfeb2d8ac$exports = {};
1082
- $dff280acfeb2d8ac$exports = {
1083
- "longPressMessage": `Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool`
1084
- };
1085
- var $51608325613944d7$exports = {};
1086
- $51608325613944d7$exports = {
1087
- "longPressMessage": `Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli`
1088
- };
1089
- var $c4a1b1eabeaa87be$exports = {};
1090
- $c4a1b1eabeaa87be$exports = {
1091
- "longPressMessage": `Appuyez de manière prolongée ou appuyez sur Alt + Flèche vers le bas pour ouvrir le menu.`
1092
- };
1093
- var $8c74815cdee18d1b$exports = {};
1094
- $8c74815cdee18d1b$exports = {
1095
- "longPressMessage": `לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט`
1096
- };
1097
- var $fd0e9ef6a7fe0ec9$exports = {};
1098
- $fd0e9ef6a7fe0ec9$exports = {
1099
- "longPressMessage": `Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika`
1100
- };
1101
- var $a89a74a39eba465a$exports = {};
1102
- $a89a74a39eba465a$exports = {
1103
- "longPressMessage": `Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához`
1104
- };
1105
- var $edc7c66594a0ae8a$exports = {};
1106
- $edc7c66594a0ae8a$exports = {
1107
- "longPressMessage": `Premi a lungo o premi Alt + Freccia giù per aprire il menu`
1108
- };
1109
- var $f1ab51510712db52$exports = {};
1110
- $f1ab51510712db52$exports = {
1111
- "longPressMessage": `長押しまたは Alt+下矢印キーでメニューを開く`
1112
- };
1113
- var $f9b672d9b82fa3d6$exports = {};
1114
- $f9b672d9b82fa3d6$exports = {
1115
- "longPressMessage": `길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기`
1116
- };
1117
- var $a385f3910feda499$exports = {};
1118
- $a385f3910feda499$exports = {
1119
- "longPressMessage": `Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“.`
1120
- };
1121
- var $4f1bde932c441789$exports = {};
1122
- $4f1bde932c441789$exports = {
1123
- "longPressMessage": `Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa`
1124
- };
1125
- var $914a51a8a594d5be$exports = {};
1126
- $914a51a8a594d5be$exports = {
1127
- "longPressMessage": `Langt trykk eller trykk Alt + PilNed for å åpne menyen`
1128
- };
1129
- var $89aaf803103bb500$exports = {};
1130
- $89aaf803103bb500$exports = {
1131
- "longPressMessage": `Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen`
1132
- };
1133
- var $c685891476dbaaca$exports = {};
1134
- $c685891476dbaaca$exports = {
1135
- "longPressMessage": `Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu`
1136
- };
1137
- var $885879b9b10c2959$exports = {};
1138
- $885879b9b10c2959$exports = {
1139
- "longPressMessage": `Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu`
1140
- };
1141
- var $6b39616688a51692$exports = {};
1142
- $6b39616688a51692$exports = {
1143
- "longPressMessage": `Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu`
1144
- };
1145
- var $f26362aed63f47e2$exports = {};
1146
- $f26362aed63f47e2$exports = {
1147
- "longPressMessage": `Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul`
1148
- };
1149
- var $06cbade644558bf0$exports = {};
1150
- $06cbade644558bf0$exports = {
1151
- "longPressMessage": `Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню`
1152
- };
1153
- var $0a391ff68f9d59b1$exports = {};
1154
- $0a391ff68f9d59b1$exports = {
1155
- "longPressMessage": `Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol`
1156
- };
1157
- var $8193cf0e649c7928$exports = {};
1158
- $8193cf0e649c7928$exports = {
1159
- "longPressMessage": `Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol`
1160
- };
1161
- var $f398debcce5a5c55$exports = {};
1162
- $f398debcce5a5c55$exports = {
1163
- "longPressMessage": `Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni`
1164
- };
1165
- var $9e9fef000aa4c013$exports = {};
1166
- $9e9fef000aa4c013$exports = {
1167
- "longPressMessage": `Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn`
1168
- };
1169
- var $c016c8183bbe3d68$exports = {};
1170
- $c016c8183bbe3d68$exports = {
1171
- "longPressMessage": `Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın`
1172
- };
1173
- var $ca4f6c8462244e62$exports = {};
1174
- $ca4f6c8462244e62$exports = {
1175
- "longPressMessage": `Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню`
1176
- };
1177
- var $2d9960c02ccac927$exports = {};
1178
- $2d9960c02ccac927$exports = {
1179
- "longPressMessage": `长按或按 Alt + 向下方向键以打开菜单`
1180
- };
1181
- var $f1b682a4c8c5631c$exports = {};
1182
- $f1b682a4c8c5631c$exports = {
1183
- "longPressMessage": `長按或按 Alt+向下鍵以開啟功能表`
1184
- };
1185
- var $2cbb7ca666678a14$exports = {};
1186
- $2cbb7ca666678a14$exports = {
1187
- "ar-AE": $c0398ad35c3639b7$exports,
1188
- "bg-BG": $7af657c4165927c3$exports,
1189
- "cs-CZ": $d95d4da6d531ab81$exports,
1190
- "da-DK": $24ebda9c775dca17$exports,
1191
- "de-DE": $743e0dfca6cab1e9$exports,
1192
- "el-GR": $a2f41026e05f1c84$exports,
1193
- "en-US": $43b800e97c901737$exports,
1194
- "es-ES": $442f5f6ac211e29f$exports,
1195
- "et-EE": $dff280acfeb2d8ac$exports,
1196
- "fi-FI": $51608325613944d7$exports,
1197
- "fr-FR": $c4a1b1eabeaa87be$exports,
1198
- "he-IL": $8c74815cdee18d1b$exports,
1199
- "hr-HR": $fd0e9ef6a7fe0ec9$exports,
1200
- "hu-HU": $a89a74a39eba465a$exports,
1201
- "it-IT": $edc7c66594a0ae8a$exports,
1202
- "ja-JP": $f1ab51510712db52$exports,
1203
- "ko-KR": $f9b672d9b82fa3d6$exports,
1204
- "lt-LT": $a385f3910feda499$exports,
1205
- "lv-LV": $4f1bde932c441789$exports,
1206
- "nb-NO": $914a51a8a594d5be$exports,
1207
- "nl-NL": $89aaf803103bb500$exports,
1208
- "pl-PL": $c685891476dbaaca$exports,
1209
- "pt-BR": $885879b9b10c2959$exports,
1210
- "pt-PT": $6b39616688a51692$exports,
1211
- "ro-RO": $f26362aed63f47e2$exports,
1212
- "ru-RU": $06cbade644558bf0$exports,
1213
- "sk-SK": $0a391ff68f9d59b1$exports,
1214
- "sl-SI": $8193cf0e649c7928$exports,
1215
- "sr-SP": $f398debcce5a5c55$exports,
1216
- "sv-SE": $9e9fef000aa4c013$exports,
1217
- "tr-TR": $c016c8183bbe3d68$exports,
1218
- "uk-UA": $ca4f6c8462244e62$exports,
1219
- "zh-CN": $2d9960c02ccac927$exports,
1220
- "zh-TW": $f1b682a4c8c5631c$exports
1221
- };
1222
- function $parcel$interopDefault(a) {
1223
- return a && a.__esModule ? a.default : a;
1224
- }
1225
- function $168583247155ddda$export$dc9c12ed27dd1b49(props, state, ref) {
1226
- let { type = "menu", isDisabled, trigger = "press" } = props;
1227
- let menuTriggerId = $bdb11010cef70236$export$f680877a34711e37();
1228
- let { triggerProps, overlayProps } = $628037886ba31236$export$f9d5c8beee7d008d({
1229
- type
1230
- }, state, ref);
1231
- let onKeyDown = (e) => {
1232
- if (isDisabled) return;
1233
- if (trigger === "longPress" && !e.altKey) return;
1234
- if (ref && ref.current) switch (e.key) {
1235
- case "Enter":
1236
- case " ":
1237
- if (trigger === "longPress" || e.isDefaultPrevented()) return;
1238
- // fallthrough
1239
- case "ArrowDown":
1240
- if (!("continuePropagation" in e)) e.stopPropagation();
1241
- e.preventDefault();
1242
- state.toggle("first");
1243
- break;
1244
- case "ArrowUp":
1245
- if (!("continuePropagation" in e)) e.stopPropagation();
1246
- e.preventDefault();
1247
- state.toggle("last");
1248
- break;
1249
- default:
1250
- if ("continuePropagation" in e) e.continuePropagation();
1251
- }
1252
- };
1253
- let stringFormatter = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault($2cbb7ca666678a14$exports), "@react-aria/menu");
1254
- let { longPressProps } = $8a26561d2877236e$export$c24ed0104d07eab9({
1255
- isDisabled: isDisabled || trigger !== "longPress",
1256
- accessibilityDescription: stringFormatter.format("longPressMessage"),
1257
- onLongPressStart() {
1258
- state.close();
1259
- },
1260
- onLongPress() {
1261
- state.open("first");
1262
- }
1263
- });
1264
- let pressProps = {
1265
- preventFocusOnPress: true,
1266
- onPressStart(e) {
1267
- if (e.pointerType !== "touch" && e.pointerType !== "keyboard" && !isDisabled) {
1268
- $7215afc6de606d6b$export$de79e2c695e052f3(e.target);
1269
- state.open(e.pointerType === "virtual" ? "first" : null);
1270
- }
1271
- },
1272
- onPress(e) {
1273
- if (e.pointerType === "touch" && !isDisabled) {
1274
- $7215afc6de606d6b$export$de79e2c695e052f3(e.target);
1275
- state.toggle();
1276
- }
1277
- }
1278
- };
1279
- delete triggerProps.onPress;
1280
- return {
1281
- // @ts-ignore - TODO we pass out both DOMAttributes AND AriaButtonProps, but useButton will discard the longPress event handlers, it's only through PressResponder magic that this works for RSP and RAC. it does not work in aria examples
1282
- menuTriggerProps: {
1283
- ...triggerProps,
1284
- ...trigger === "press" ? pressProps : longPressProps,
1285
- id: menuTriggerId,
1286
- onKeyDown
1287
- },
1288
- menuProps: {
1289
- ...overlayProps,
1290
- "aria-labelledby": menuTriggerId,
1291
- autoFocus: state.focusStrategy || true,
1292
- onClose: state.close
1293
- }
1294
- };
1295
- }
1296
- const $fc79756100351201$export$6f49b4016bfc8d56 = /* @__PURE__ */ new WeakMap();
1297
- function $d5336fe17ce95402$export$38eaa17faae8f579(props, state, ref) {
1298
- let { shouldFocusWrap = true, onKeyDown, onKeyUp, ...otherProps } = props;
1299
- if (!props["aria-label"] && !props["aria-labelledby"] && process.env.NODE_ENV !== "production") console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
1300
- let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
1301
- labelable: true
1302
- });
1303
- let { listProps } = $982254629710d113$export$b95089534ab7c1fd({
1304
- ...otherProps,
1305
- ref,
1306
- selectionManager: state.selectionManager,
1307
- collection: state.collection,
1308
- disabledKeys: state.disabledKeys,
1309
- shouldFocusWrap,
1310
- linkBehavior: "override"
1311
- });
1312
- $fc79756100351201$export$6f49b4016bfc8d56.set(state, {
1313
- onClose: props.onClose,
1314
- onAction: props.onAction,
1315
- shouldUseVirtualFocus: props.shouldUseVirtualFocus
1316
- });
1317
- return {
1318
- menuProps: $3ef42575df84b30b$export$9d1611c77c2fe928(domProps, {
1319
- onKeyDown,
1320
- onKeyUp
1321
- }, {
1322
- role: "menu",
1323
- ...listProps,
1324
- onKeyDown: (e) => {
1325
- var _listProps_onKeyDown;
1326
- if (e.key !== "Escape" || props.shouldUseVirtualFocus) (_listProps_onKeyDown = listProps.onKeyDown) === null || _listProps_onKeyDown === void 0 ? void 0 : _listProps_onKeyDown.call(listProps, e);
1327
- }
1328
- })
1329
- };
1330
- }
1331
- function $a2e5df62f93c7633$export$9d32628fc2aea7da(props, state, ref) {
1332
- let { id, key, closeOnSelect, shouldCloseOnSelect, isVirtualized, "aria-haspopup": hasPopup, onPressStart, onPressUp: pressUpProp, onPress, onPressChange: pressChangeProp, onPressEnd, onClick: onClickProp, onHoverStart: hoverStartProp, onHoverChange, onHoverEnd, onKeyDown, onKeyUp, onFocus, onFocusChange, onBlur, selectionManager = state.selectionManager } = props;
1333
- let isTrigger = !!hasPopup;
1334
- let isTriggerExpanded = isTrigger && props["aria-expanded"] === "true";
1335
- var _props_isDisabled;
1336
- let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : selectionManager.isDisabled(key);
1337
- var _props_isSelected;
1338
- let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : selectionManager.isSelected(key);
1339
- let data = $fc79756100351201$export$6f49b4016bfc8d56.get(state);
1340
- let item = state.collection.getItem(key);
1341
- let onClose = props.onClose || data.onClose;
1342
- let router = $ea8dcbcb9ea1b556$export$9a302a45f65d0572();
1343
- let performAction = () => {
1344
- var _item_props;
1345
- if (isTrigger) return;
1346
- if (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) item.props.onAction();
1347
- else if (props.onAction) props.onAction(key);
1348
- if (data.onAction) {
1349
- let onAction = data.onAction;
1350
- onAction(key);
1351
- }
1352
- };
1353
- let role = "menuitem";
1354
- if (!isTrigger) {
1355
- if (selectionManager.selectionMode === "single") role = "menuitemradio";
1356
- else if (selectionManager.selectionMode === "multiple") role = "menuitemcheckbox";
1357
- }
1358
- let labelId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
1359
- let descriptionId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
1360
- let keyboardId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
1361
- let ariaProps = {
1362
- id,
1363
- "aria-disabled": isDisabled || void 0,
1364
- role,
1365
- "aria-label": props["aria-label"],
1366
- "aria-labelledby": labelId,
1367
- "aria-describedby": [
1368
- props["aria-describedby"],
1369
- descriptionId,
1370
- keyboardId
1371
- ].filter(Boolean).join(" ") || void 0,
1372
- "aria-controls": props["aria-controls"],
1373
- "aria-haspopup": hasPopup,
1374
- "aria-expanded": props["aria-expanded"]
1375
- };
1376
- if (selectionManager.selectionMode !== "none" && !isTrigger) ariaProps["aria-checked"] = isSelected;
1377
- if (isVirtualized) {
1378
- let index = Number(item === null || item === void 0 ? void 0 : item.index);
1379
- ariaProps["aria-posinset"] = Number.isNaN(index) ? void 0 : index + 1;
1380
- ariaProps["aria-setsize"] = $453cc9f0df89c0a5$export$77d5aafae4e095b2(state.collection);
1381
- }
1382
- let isPressedRef = useRef(false);
1383
- let onPressChange = (isPressed2) => {
1384
- pressChangeProp === null || pressChangeProp === void 0 ? void 0 : pressChangeProp(isPressed2);
1385
- isPressedRef.current = isPressed2;
1386
- };
1387
- let interaction = useRef(null);
1388
- let onPressUp = (e) => {
1389
- if (e.pointerType !== "keyboard") interaction.current = {
1390
- pointerType: e.pointerType
1391
- };
1392
- if (e.pointerType === "mouse") {
1393
- if (!isPressedRef.current) e.target.click();
1394
- }
1395
- pressUpProp === null || pressUpProp === void 0 ? void 0 : pressUpProp(e);
1396
- };
1397
- let onClick = (e) => {
1398
- var _interaction_current, _interaction_current1;
1399
- onClickProp === null || onClickProp === void 0 ? void 0 : onClickProp(e);
1400
- performAction();
1401
- $ea8dcbcb9ea1b556$export$13aea1a3cb5e3f1f(e, router, item.props.href, item === null || item === void 0 ? void 0 : item.props.routerOptions);
1402
- let shouldClose = ((_interaction_current = interaction.current) === null || _interaction_current === void 0 ? void 0 : _interaction_current.pointerType) === "keyboard" ? ((_interaction_current1 = interaction.current) === null || _interaction_current1 === void 0 ? void 0 : _interaction_current1.key) === "Enter" || selectionManager.selectionMode === "none" || selectionManager.isLink(key) : selectionManager.selectionMode !== "multiple" || selectionManager.isLink(key);
1403
- var _ref;
1404
- shouldClose = (_ref = shouldCloseOnSelect !== null && shouldCloseOnSelect !== void 0 ? shouldCloseOnSelect : closeOnSelect) !== null && _ref !== void 0 ? _ref : shouldClose;
1405
- if (onClose && !isTrigger && shouldClose) onClose();
1406
- interaction.current = null;
1407
- };
1408
- let { itemProps, isFocused } = $880e95eb8b93ba9a$export$ecf600387e221c37({
1409
- id,
1410
- selectionManager,
1411
- key,
1412
- ref,
1413
- shouldSelectOnPressUp: true,
1414
- allowsDifferentPressOrigin: true,
1415
- // Disable all handling of links in useSelectable item
1416
- // because we handle it ourselves. The behavior of menus
1417
- // is slightly different from other collections because
1418
- // actions are performed on key down rather than key up.
1419
- linkBehavior: "none",
1420
- shouldUseVirtualFocus: data.shouldUseVirtualFocus
1421
- });
1422
- let { pressProps, isPressed } = $f6c31cce2adf654f$export$45712eceda6fad21({
1423
- onPressStart,
1424
- onPress,
1425
- onPressUp,
1426
- onPressChange,
1427
- onPressEnd,
1428
- isDisabled
1429
- });
1430
- let { hoverProps } = $6179b936705e76d3$export$ae780daf29e6d456({
1431
- isDisabled,
1432
- onHoverStart(e) {
1433
- if (!$507fabe10e71c6fb$export$b9b3dfddab17db27() && !(isTriggerExpanded && hasPopup)) {
1434
- selectionManager.setFocused(true);
1435
- selectionManager.setFocusedKey(key);
1436
- }
1437
- hoverStartProp === null || hoverStartProp === void 0 ? void 0 : hoverStartProp(e);
1438
- },
1439
- onHoverChange,
1440
- onHoverEnd
1441
- });
1442
- let { keyboardProps } = $46d819fcbaf35654$export$8f71654801c2f7cd({
1443
- onKeyDown: (e) => {
1444
- if (e.repeat) {
1445
- e.continuePropagation();
1446
- return;
1447
- }
1448
- switch (e.key) {
1449
- case " ":
1450
- interaction.current = {
1451
- pointerType: "keyboard",
1452
- key: " "
1453
- };
1454
- $d4ee10de306f2510$export$e58f029f0fbfdb29(e).click();
1455
- $507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
1456
- break;
1457
- case "Enter":
1458
- interaction.current = {
1459
- pointerType: "keyboard",
1460
- key: "Enter"
1461
- };
1462
- if ($d4ee10de306f2510$export$e58f029f0fbfdb29(e).tagName !== "A") $d4ee10de306f2510$export$e58f029f0fbfdb29(e).click();
1463
- $507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
1464
- break;
1465
- default:
1466
- if (!isTrigger) e.continuePropagation();
1467
- onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e);
1468
- break;
1469
- }
1470
- },
1471
- onKeyUp
1472
- });
1473
- let { focusableProps } = $f645667febf57a63$export$4c014de7c8940b4c({
1474
- onBlur,
1475
- onFocus,
1476
- onFocusChange
1477
- }, ref);
1478
- let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(item === null || item === void 0 ? void 0 : item.props);
1479
- delete domProps.id;
1480
- let linkProps = $ea8dcbcb9ea1b556$export$7e924b3091a3bd18(item === null || item === void 0 ? void 0 : item.props);
1481
- return {
1482
- menuItemProps: {
1483
- ...ariaProps,
1484
- ...$3ef42575df84b30b$export$9d1611c77c2fe928(
1485
- domProps,
1486
- linkProps,
1487
- isTrigger ? {
1488
- onFocus: itemProps.onFocus,
1489
- "data-collection": itemProps["data-collection"],
1490
- "data-key": itemProps["data-key"]
1491
- } : itemProps,
1492
- pressProps,
1493
- hoverProps,
1494
- keyboardProps,
1495
- focusableProps,
1496
- // Prevent DOM focus from moving on mouse down when using virtual focus or this is a submenu/subdialog trigger.
1497
- data.shouldUseVirtualFocus || isTrigger ? {
1498
- onMouseDown: (e) => e.preventDefault()
1499
- } : void 0,
1500
- isDisabled ? void 0 : {
1501
- onClick
1502
- }
1503
- ),
1504
- // If a submenu is expanded, set the tabIndex to -1 so that shift tabbing goes out of the menu instead of the parent menu item.
1505
- tabIndex: itemProps.tabIndex != null && isTriggerExpanded && !data.shouldUseVirtualFocus ? -1 : itemProps.tabIndex
1506
- },
1507
- labelProps: {
1508
- id: labelId
1509
- },
1510
- descriptionProps: {
1511
- id: descriptionId
1512
- },
1513
- keyboardShortcutProps: {
1514
- id: keyboardId
1515
- },
1516
- isFocused,
1517
- isFocusVisible: isFocused && selectionManager.isFocused && $507fabe10e71c6fb$export$b9b3dfddab17db27() && !isTriggerExpanded,
1518
- isSelected,
1519
- isPressed,
1520
- isDisabled
1521
- };
1522
- }
1523
- function $3e5eb2498db5b506$export$73f7a44322579622(props) {
1524
- let { heading, "aria-label": ariaLabel } = props;
1525
- let headingId = $bdb11010cef70236$export$f680877a34711e37();
1526
- return {
1527
- itemProps: {
1528
- role: "presentation"
1529
- },
1530
- headingProps: heading ? {
1531
- // Techincally, menus cannot contain headings according to ARIA.
1532
- // We hide the heading from assistive technology, using role="presentation",
1533
- // and only use it as a label for the nested group.
1534
- id: headingId,
1535
- role: "presentation"
1536
- } : {},
1537
- groupProps: {
1538
- role: "group",
1539
- "aria-label": ariaLabel,
1540
- "aria-labelledby": heading ? headingId : void 0
1541
- }
1542
- };
1543
- }
1544
- const $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS = 2;
1545
- const $d275435c250248f8$var$THROTTLE_TIME = 50;
1546
- const $d275435c250248f8$var$TIMEOUT_TIME = 1e3;
1547
- const $d275435c250248f8$var$ANGLE_PADDING = Math.PI / 12;
1548
- function $d275435c250248f8$export$85ec83e04c95f50a(options) {
1549
- let { menuRef, submenuRef, isOpen, isDisabled } = options;
1550
- let prevPointerPos = useRef(void 0);
1551
- let submenuRect = useRef(void 0);
1552
- let lastProcessedTime = useRef(0);
1553
- let timeout = useRef(void 0);
1554
- let autoCloseTimeout = useRef(void 0);
1555
- let submenuSide = useRef(void 0);
1556
- let movementsTowardsSubmenuCount = useRef(2);
1557
- let [preventPointerEvents, setPreventPointerEvents] = useState(false);
1558
- let updateSubmenuRect = () => {
1559
- if (submenuRef.current) {
1560
- submenuRect.current = submenuRef.current.getBoundingClientRect();
1561
- submenuSide.current = void 0;
1562
- }
1563
- };
1564
- $9daab02d461809db$export$683480f191c0e3ea({
1565
- ref: isOpen ? submenuRef : void 0,
1566
- onResize: updateSubmenuRect
1567
- });
1568
- let reset = () => {
1569
- setPreventPointerEvents(false);
1570
- movementsTowardsSubmenuCount.current = $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS;
1571
- prevPointerPos.current = void 0;
1572
- };
1573
- let modality = $507fabe10e71c6fb$export$98e20ec92f614cfe();
1574
- let onPointerDown = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
1575
- if (preventPointerEvents) e.preventDefault();
1576
- });
1577
- useEffect(() => {
1578
- if (preventPointerEvents && menuRef.current) menuRef.current.style.pointerEvents = "none";
1579
- else menuRef.current.style.pointerEvents = "";
1580
- }, [
1581
- menuRef,
1582
- preventPointerEvents
1583
- ]);
1584
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
1585
- let submenu = submenuRef.current;
1586
- let menu = menuRef.current;
1587
- if (isDisabled || !submenu || !isOpen || modality !== "pointer" || !menu) {
1588
- reset();
1589
- return;
1590
- }
1591
- submenuRect.current = submenu.getBoundingClientRect();
1592
- let onPointerMove = (e) => {
1593
- if (e.pointerType === "touch" || e.pointerType === "pen") return;
1594
- let currentTime = Date.now();
1595
- if (currentTime - lastProcessedTime.current < $d275435c250248f8$var$THROTTLE_TIME) return;
1596
- clearTimeout(timeout.current);
1597
- clearTimeout(autoCloseTimeout.current);
1598
- let { clientX: mouseX, clientY: mouseY } = e;
1599
- if (!prevPointerPos.current) {
1600
- prevPointerPos.current = {
1601
- x: mouseX,
1602
- y: mouseY
1603
- };
1604
- return;
1605
- }
1606
- if (!submenuRect.current) return;
1607
- if (!submenuSide.current) submenuSide.current = mouseX > submenuRect.current.right ? "left" : "right";
1608
- if (mouseX < menu.getBoundingClientRect().left || mouseX > menu.getBoundingClientRect().right || mouseY < menu.getBoundingClientRect().top || mouseY > menu.getBoundingClientRect().bottom) {
1609
- reset();
1610
- return;
1611
- }
1612
- let prevMouseX = prevPointerPos.current.x;
1613
- let prevMouseY = prevPointerPos.current.y;
1614
- let toSubmenuX = submenuSide.current === "right" ? submenuRect.current.left - prevMouseX : prevMouseX - submenuRect.current.right;
1615
- let angleTop = Math.atan2(prevMouseY - submenuRect.current.top, toSubmenuX) + $d275435c250248f8$var$ANGLE_PADDING;
1616
- let angleBottom = Math.atan2(prevMouseY - submenuRect.current.bottom, toSubmenuX) - $d275435c250248f8$var$ANGLE_PADDING;
1617
- let anglePointer = Math.atan2(prevMouseY - mouseY, submenuSide.current === "left" ? -(mouseX - prevMouseX) : mouseX - prevMouseX);
1618
- let isMovingTowardsSubmenu = anglePointer < angleTop && anglePointer > angleBottom;
1619
- movementsTowardsSubmenuCount.current = isMovingTowardsSubmenu ? Math.min(movementsTowardsSubmenuCount.current + 1, $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS) : Math.max(movementsTowardsSubmenuCount.current - 1, 0);
1620
- if (movementsTowardsSubmenuCount.current >= $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS) setPreventPointerEvents(true);
1621
- else setPreventPointerEvents(false);
1622
- lastProcessedTime.current = currentTime;
1623
- prevPointerPos.current = {
1624
- x: mouseX,
1625
- y: mouseY
1626
- };
1627
- if (isMovingTowardsSubmenu) timeout.current = setTimeout(() => {
1628
- reset();
1629
- autoCloseTimeout.current = setTimeout(() => {
1630
- let target = document.elementFromPoint(mouseX, mouseY);
1631
- if (target && $d4ee10de306f2510$export$4282f70798064fe0(menu, target)) target.dispatchEvent(new PointerEvent("pointerover", {
1632
- bubbles: true,
1633
- cancelable: true
1634
- }));
1635
- }, 100);
1636
- }, $d275435c250248f8$var$TIMEOUT_TIME);
1637
- };
1638
- window.addEventListener("pointermove", onPointerMove);
1639
- if (process.env.NODE_ENV !== "test") window.addEventListener("pointerdown", onPointerDown, true);
1640
- return () => {
1641
- window.removeEventListener("pointermove", onPointerMove);
1642
- if (process.env.NODE_ENV !== "test") window.removeEventListener("pointerdown", onPointerDown, true);
1643
- clearTimeout(timeout.current);
1644
- clearTimeout(autoCloseTimeout.current);
1645
- movementsTowardsSubmenuCount.current = $d275435c250248f8$var$ALLOWED_INVALID_MOVEMENTS;
1646
- };
1647
- }, [
1648
- isDisabled,
1649
- isOpen,
1650
- menuRef,
1651
- modality,
1652
- setPreventPointerEvents,
1653
- submenuRef
1654
- ]);
1655
- }
1656
- function $0065b146e7192841$export$7138b0d059a6e743(props, state, ref) {
1657
- let { parentMenuRef, submenuRef, type = "menu", isDisabled, delay = 200, shouldUseVirtualFocus } = props;
1658
- let submenuTriggerId = $bdb11010cef70236$export$f680877a34711e37();
1659
- let overlayId = $bdb11010cef70236$export$f680877a34711e37();
1660
- let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
1661
- let openTimeout = useRef(void 0);
1662
- let cancelOpenTimeout = useCallback(() => {
1663
- if (openTimeout.current) {
1664
- clearTimeout(openTimeout.current);
1665
- openTimeout.current = void 0;
1666
- }
1667
- }, [
1668
- openTimeout
1669
- ]);
1670
- let onSubmenuOpen = useCallback((focusStrategy) => {
1671
- cancelOpenTimeout();
1672
- state.open(focusStrategy);
1673
- }, [
1674
- state,
1675
- cancelOpenTimeout
1676
- ]);
1677
- let onSubmenuClose = useCallback(() => {
1678
- cancelOpenTimeout();
1679
- state.close();
1680
- }, [
1681
- state,
1682
- cancelOpenTimeout
1683
- ]);
1684
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
1685
- return () => {
1686
- cancelOpenTimeout();
1687
- };
1688
- }, [
1689
- cancelOpenTimeout
1690
- ]);
1691
- let submenuKeyDown = (e) => {
1692
- if (!$d4ee10de306f2510$export$b4f377a2b6254582(e.currentTarget)) return;
1693
- switch (e.key) {
1694
- case "ArrowLeft":
1695
- if (direction === "ltr" && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
1696
- e.preventDefault();
1697
- e.stopPropagation();
1698
- onSubmenuClose();
1699
- if (!shouldUseVirtualFocus && ref.current) $7215afc6de606d6b$export$de79e2c695e052f3(ref.current);
1700
- }
1701
- break;
1702
- case "ArrowRight":
1703
- if (direction === "rtl" && $d4ee10de306f2510$export$4282f70798064fe0(e.currentTarget, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
1704
- e.preventDefault();
1705
- e.stopPropagation();
1706
- onSubmenuClose();
1707
- if (!shouldUseVirtualFocus && ref.current) $7215afc6de606d6b$export$de79e2c695e052f3(ref.current);
1708
- }
1709
- break;
1710
- case "Escape":
1711
- if ($d4ee10de306f2510$export$4282f70798064fe0(submenuRef.current, $d4ee10de306f2510$export$e58f029f0fbfdb29(e))) {
1712
- e.stopPropagation();
1713
- onSubmenuClose();
1714
- if (!shouldUseVirtualFocus && ref.current) $7215afc6de606d6b$export$de79e2c695e052f3(ref.current);
1715
- }
1716
- break;
1717
- }
1718
- };
1719
- var _state_focusStrategy;
1720
- let submenuProps = {
1721
- id: overlayId,
1722
- "aria-labelledby": submenuTriggerId,
1723
- submenuLevel: state.submenuLevel,
1724
- ...type === "menu" && {
1725
- onClose: state.closeAll,
1726
- autoFocus: (_state_focusStrategy = state.focusStrategy) !== null && _state_focusStrategy !== void 0 ? _state_focusStrategy : void 0,
1727
- onKeyDown: submenuKeyDown
1728
- }
1729
- };
1730
- let submenuTriggerKeyDown = (e) => {
1731
- switch (e.key) {
1732
- case "ArrowRight":
1733
- if (!isDisabled) {
1734
- if (direction === "ltr") {
1735
- e.preventDefault();
1736
- if (!state.isOpen) onSubmenuOpen("first");
1737
- if (type === "menu" && !!(submenuRef === null || submenuRef === void 0 ? void 0 : submenuRef.current) && $d4ee10de306f2510$export$cd4e5573fbe2b576() === (ref === null || ref === void 0 ? void 0 : ref.current)) $7215afc6de606d6b$export$de79e2c695e052f3(submenuRef.current);
1738
- } else if (state.isOpen) onSubmenuClose();
1739
- else e.continuePropagation();
1740
- }
1741
- break;
1742
- case "ArrowLeft":
1743
- if (!isDisabled) {
1744
- if (direction === "rtl") {
1745
- e.preventDefault();
1746
- if (!state.isOpen) onSubmenuOpen("first");
1747
- if (type === "menu" && !!(submenuRef === null || submenuRef === void 0 ? void 0 : submenuRef.current) && $d4ee10de306f2510$export$cd4e5573fbe2b576() === (ref === null || ref === void 0 ? void 0 : ref.current)) $7215afc6de606d6b$export$de79e2c695e052f3(submenuRef.current);
1748
- } else if (state.isOpen) onSubmenuClose();
1749
- else e.continuePropagation();
1750
- }
1751
- break;
1752
- default:
1753
- e.continuePropagation();
1754
- break;
1755
- }
1756
- };
1757
- let onPressStart = (e) => {
1758
- if (!isDisabled && (e.pointerType === "virtual" || e.pointerType === "keyboard"))
1759
- onSubmenuOpen("first");
1760
- };
1761
- let onPress = (e) => {
1762
- if (!isDisabled && (e.pointerType === "touch" || e.pointerType === "mouse"))
1763
- onSubmenuOpen();
1764
- };
1765
- let onHoverChange = (isHovered) => {
1766
- if (!isDisabled) {
1767
- if (isHovered && !state.isOpen) {
1768
- if (!openTimeout.current) openTimeout.current = setTimeout(() => {
1769
- onSubmenuOpen();
1770
- }, delay);
1771
- } else if (!isHovered) cancelOpenTimeout();
1772
- }
1773
- };
1774
- $e9faafb641e167db$export$90fc3a17d93f704c(parentMenuRef, "focusin", (e) => {
1775
- if (state.isOpen && $d4ee10de306f2510$export$4282f70798064fe0(parentMenuRef.current, $d4ee10de306f2510$export$e58f029f0fbfdb29(e)) && $d4ee10de306f2510$export$e58f029f0fbfdb29(e) !== ref.current) onSubmenuClose();
1776
- });
1777
- let shouldCloseOnInteractOutside = (target) => {
1778
- if (target !== ref.current) return true;
1779
- return false;
1780
- };
1781
- $d275435c250248f8$export$85ec83e04c95f50a({
1782
- menuRef: parentMenuRef,
1783
- submenuRef,
1784
- isOpen: state.isOpen,
1785
- isDisabled
1786
- });
1787
- return {
1788
- submenuTriggerProps: {
1789
- id: submenuTriggerId,
1790
- "aria-controls": state.isOpen ? overlayId : void 0,
1791
- "aria-haspopup": !isDisabled ? type : void 0,
1792
- "aria-expanded": state.isOpen ? "true" : "false",
1793
- onPressStart,
1794
- onPress,
1795
- onHoverChange,
1796
- onKeyDown: submenuTriggerKeyDown,
1797
- isOpen: state.isOpen
1798
- },
1799
- submenuProps,
1800
- popoverProps: {
1801
- isNonModal: true,
1802
- shouldCloseOnInteractOutside
1803
- }
1804
- };
1805
- }
1806
- function $40df3f8667284809$export$d55e7ee900f34e93(props, ref) {
1807
- let { role = "dialog" } = props;
1808
- let titleId = $bdb11010cef70236$export$b4cc09c592e8fdb8();
1809
- titleId = props["aria-label"] ? void 0 : titleId;
1810
- let isRefocusing = useRef(false);
1811
- useEffect(() => {
1812
- if (ref.current && !$d4ee10de306f2510$export$b4f377a2b6254582(ref.current)) {
1813
- $3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
1814
- let timeout = setTimeout(() => {
1815
- if ($d4ee10de306f2510$export$cd4e5573fbe2b576() === ref.current || $d4ee10de306f2510$export$cd4e5573fbe2b576() === document.body) {
1816
- isRefocusing.current = true;
1817
- if (ref.current) {
1818
- ref.current.blur();
1819
- $3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
1820
- }
1821
- isRefocusing.current = false;
1822
- }
1823
- }, 500);
1824
- return () => {
1825
- clearTimeout(timeout);
1826
- };
1827
- }
1828
- }, [
1829
- ref
1830
- ]);
1831
- $337b884510726a0d$export$14c98a7594375490();
1832
- return {
1833
- dialogProps: {
1834
- ...$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
1835
- labelable: true
1836
- }),
1837
- role,
1838
- tabIndex: -1,
1839
- "aria-labelledby": props["aria-labelledby"] || titleId,
1840
- // Prevent blur events from reaching useOverlay, which may cause
1841
- // popovers to close. Since focus is contained within the dialog,
1842
- // we don't want this to occur due to the above useEffect.
1843
- onBlur: (e) => {
1844
- if (isRefocusing.current) e.stopPropagation();
1845
- }
1846
- },
1847
- titleProps: {
1848
- id: titleId
1849
- }
1850
- };
1851
- }
1852
- function $f4b273590fab9f93$export$52210f68a14655d0(props) {
1853
- let domProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
1854
- labelable: true
1855
- });
1856
- let ariaOrientation;
1857
- if (props.orientation === "vertical") ariaOrientation = "vertical";
1858
- if (props.elementType !== "hr") return {
1859
- separatorProps: {
1860
- ...domProps,
1861
- role: "separator",
1862
- "aria-orientation": ariaOrientation
1863
- }
1864
- };
1865
- return {
1866
- separatorProps: domProps
1867
- };
1868
- }
1869
- function $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props) {
1870
- let overlayTriggerState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
1871
- let [focusStrategy, setFocusStrategy] = useState(null);
1872
- let [expandedKeysStack, setExpandedKeysStack] = useState([]);
1873
- let closeAll = () => {
1874
- setExpandedKeysStack([]);
1875
- overlayTriggerState.close();
1876
- };
1877
- let openSubmenu = (triggerKey, level) => {
1878
- setExpandedKeysStack((oldStack) => {
1879
- if (level > oldStack.length) return oldStack;
1880
- return [
1881
- ...oldStack.slice(0, level),
1882
- triggerKey
1883
- ];
1884
- });
1885
- };
1886
- let closeSubmenu = (triggerKey, level) => {
1887
- setExpandedKeysStack((oldStack) => {
1888
- let key = oldStack[level];
1889
- if (key === triggerKey) return oldStack.slice(0, level);
1890
- else return oldStack;
1891
- });
1892
- };
1893
- return {
1894
- focusStrategy,
1895
- ...overlayTriggerState,
1896
- open(focusStrategy2 = null) {
1897
- setFocusStrategy(focusStrategy2);
1898
- overlayTriggerState.open();
1899
- },
1900
- toggle(focusStrategy2 = null) {
1901
- setFocusStrategy(focusStrategy2);
1902
- overlayTriggerState.toggle();
1903
- },
1904
- close() {
1905
- closeAll();
1906
- },
1907
- expandedKeysStack,
1908
- openSubmenu,
1909
- closeSubmenu
1910
- };
1911
- }
1912
- function $e5614764aa47eb35$export$cfc51cf86138bf98(props, state) {
1913
- let { triggerKey } = props;
1914
- let { expandedKeysStack, openSubmenu, closeSubmenu, close: closeAll } = state;
1915
- let [submenuLevel] = useState(expandedKeysStack === null || expandedKeysStack === void 0 ? void 0 : expandedKeysStack.length);
1916
- let isOpen = useMemo(() => expandedKeysStack[submenuLevel] === triggerKey, [
1917
- expandedKeysStack,
1918
- triggerKey,
1919
- submenuLevel
1920
- ]);
1921
- let [focusStrategy, setFocusStrategy] = useState(null);
1922
- let open = useCallback((focusStrategy2) => {
1923
- setFocusStrategy(focusStrategy2 !== null && focusStrategy2 !== void 0 ? focusStrategy2 : null);
1924
- openSubmenu(triggerKey, submenuLevel);
1925
- }, [
1926
- openSubmenu,
1927
- submenuLevel,
1928
- triggerKey
1929
- ]);
1930
- let close = useCallback(() => {
1931
- setFocusStrategy(null);
1932
- closeSubmenu(triggerKey, submenuLevel);
1933
- }, [
1934
- closeSubmenu,
1935
- submenuLevel,
1936
- triggerKey
1937
- ]);
1938
- let toggle = useCallback((focusStrategy2) => {
1939
- setFocusStrategy(focusStrategy2 !== null && focusStrategy2 !== void 0 ? focusStrategy2 : null);
1940
- if (isOpen) close();
1941
- else open(focusStrategy2);
1942
- }, [
1943
- close,
1944
- open,
1945
- isOpen
1946
- ]);
1947
- return useMemo(() => ({
1948
- focusStrategy,
1949
- isOpen,
1950
- open,
1951
- close,
1952
- closeAll,
1953
- submenuLevel,
1954
- // TODO: Placeholders that aren't used but give us parity with OverlayTriggerState so we can use this in Popover. Refactor if we update Popover via
1955
- // https://github.com/adobe/react-spectrum/pull/4976#discussion_r1336472863
1956
- setOpen: () => {
1957
- },
1958
- toggle
1959
- }), [
1960
- isOpen,
1961
- open,
1962
- close,
1963
- closeAll,
1964
- focusStrategy,
1965
- toggle,
1966
- submenuLevel
1967
- ]);
1968
- }
1969
- class $05ca4cd7c4a5a999$export$863faf230ee2118a {
1970
- *[Symbol.iterator]() {
1971
- yield* this.iterable;
1972
- }
1973
- get size() {
1974
- return this.keyMap.size;
1975
- }
1976
- getKeys() {
1977
- return this.keyMap.keys();
1978
- }
1979
- getKeyBefore(key) {
1980
- let node = this.keyMap.get(key);
1981
- var _node_prevKey;
1982
- return node ? (_node_prevKey = node.prevKey) !== null && _node_prevKey !== void 0 ? _node_prevKey : null : null;
1983
- }
1984
- getKeyAfter(key) {
1985
- let node = this.keyMap.get(key);
1986
- var _node_nextKey;
1987
- return node ? (_node_nextKey = node.nextKey) !== null && _node_nextKey !== void 0 ? _node_nextKey : null : null;
1988
- }
1989
- getFirstKey() {
1990
- return this.firstKey;
1991
- }
1992
- getLastKey() {
1993
- return this.lastKey;
1994
- }
1995
- getItem(key) {
1996
- var _this_keyMap_get;
1997
- return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;
1998
- }
1999
- at(idx) {
2000
- const keys = [
2001
- ...this.getKeys()
2002
- ];
2003
- return this.getItem(keys[idx]);
2004
- }
2005
- constructor(nodes, { expandedKeys } = {}) {
2006
- this.keyMap = /* @__PURE__ */ new Map();
2007
- this.firstKey = null;
2008
- this.lastKey = null;
2009
- this.iterable = nodes;
2010
- expandedKeys = expandedKeys || /* @__PURE__ */ new Set();
2011
- let visit = (node) => {
2012
- this.keyMap.set(node.key, node);
2013
- if (node.childNodes && (node.type === "section" || expandedKeys.has(node.key))) for (let child of node.childNodes) visit(child);
2014
- };
2015
- for (let node of nodes) visit(node);
2016
- let last = null;
2017
- let index = 0;
2018
- for (let [key, node] of this.keyMap) {
2019
- if (last) {
2020
- last.nextKey = key;
2021
- node.prevKey = last.key;
2022
- } else {
2023
- this.firstKey = key;
2024
- node.prevKey = void 0;
2025
- }
2026
- if (node.type === "item") node.index = index++;
2027
- last = node;
2028
- last.nextKey = void 0;
2029
- }
2030
- var _last_key;
2031
- this.lastKey = (_last_key = last === null || last === void 0 ? void 0 : last.key) !== null && _last_key !== void 0 ? _last_key : null;
2032
- }
2033
- }
2034
- function $875d6693e12af071$export$728d6ba534403756(props) {
2035
- let { onExpandedChange } = props;
2036
- let [expandedKeys, setExpandedKeys] = $458b0a5536c1a7cf$export$40bfa8c7b0832715(props.expandedKeys ? new Set(props.expandedKeys) : void 0, props.defaultExpandedKeys ? new Set(props.defaultExpandedKeys) : /* @__PURE__ */ new Set(), onExpandedChange);
2037
- let selectionState = $7af3f5b51489e0b5$export$253fe78d46329472(props);
2038
- let disabledKeys = useMemo(() => props.disabledKeys ? new Set(props.disabledKeys) : /* @__PURE__ */ new Set(), [
2039
- props.disabledKeys
2040
- ]);
2041
- let tree = $7613b1592d41b092$export$6cd28814d92fa9c9(props, useCallback((nodes) => new $05ca4cd7c4a5a999$export$863faf230ee2118a(nodes, {
2042
- expandedKeys
2043
- }), [
2044
- expandedKeys
2045
- ]), null);
2046
- useEffect(() => {
2047
- if (selectionState.focusedKey != null && !tree.getItem(selectionState.focusedKey)) selectionState.setFocusedKey(null);
2048
- }, [
2049
- tree,
2050
- selectionState.focusedKey
2051
- ]);
2052
- let onToggle = (key) => {
2053
- setExpandedKeys($875d6693e12af071$var$toggleKey(expandedKeys, key));
2054
- };
2055
- return {
2056
- collection: tree,
2057
- expandedKeys,
2058
- disabledKeys,
2059
- toggleKey: onToggle,
2060
- setExpandedKeys,
2061
- selectionManager: new $d496c0a20b6e58ec$export$6c8a5aaad13c9852(tree, selectionState)
2062
- };
2063
- }
2064
- function $875d6693e12af071$var$toggleKey(set, key) {
2065
- let res = new Set(set);
2066
- if (res.has(key)) res.delete(key);
2067
- else res.add(key);
2068
- return res;
2069
- }
2070
- const $72a5793c14baf454$export$e0e4026c12a8bdbb = /* @__PURE__ */ createContext({});
2071
- const $72a5793c14baf454$export$8b251419efc915eb = /* @__PURE__ */ $e1995378a142960e$export$18af5c7a9e9b3664($23b9f4fcf0fe224b$export$5ae2504e948afce5, function Header(props, ref) {
2072
- [props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $72a5793c14baf454$export$e0e4026c12a8bdbb);
2073
- return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.header, {
2074
- className: "react-aria-Header",
2075
- ...props,
2076
- ref
2077
- }, props.children);
2078
- });
2079
- const $431f98aba6844401$export$6615d83f6de245ce = /* @__PURE__ */ createContext({});
2080
- class $431f98aba6844401$export$7750289ca694c0b5 extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
2081
- filter(collection, newCollection) {
2082
- let prevItem = newCollection.getItem(this.prevKey);
2083
- if (prevItem && prevItem.type !== "separator") {
2084
- let clone = this.clone();
2085
- newCollection.addDescendants(clone, collection);
2086
- return clone;
2087
- }
2088
- return null;
2089
- }
2090
- }
2091
- $431f98aba6844401$export$7750289ca694c0b5.type = "separator";
2092
- const $431f98aba6844401$export$1ff3c3f08ae963c0 = /* @__PURE__ */ $e1995378a142960e$export$18af5c7a9e9b3664($431f98aba6844401$export$7750289ca694c0b5, function Separator(props, ref) {
2093
- [props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $431f98aba6844401$export$6615d83f6de245ce);
2094
- let { elementType, orientation, style, className, slot, ...otherProps } = props;
2095
- let Element2 = elementType || "hr";
2096
- if (Element2 === "hr" && orientation === "vertical") Element2 = "div";
2097
- let ElementType = $64fa3d84918910a7$export$df3a06d6289f983e[Element2];
2098
- let { separatorProps } = $f4b273590fab9f93$export$52210f68a14655d0({
2099
- ...otherProps,
2100
- elementType,
2101
- orientation
2102
- });
2103
- let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
2104
- global: true
2105
- });
2106
- return /* @__PURE__ */ $dbSRa$react__default.createElement(ElementType, {
2107
- render: props.render,
2108
- ...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, separatorProps),
2109
- style,
2110
- className: className !== null && className !== void 0 ? className : "react-aria-Separator",
2111
- ref,
2112
- slot: slot || void 0
2113
- });
2114
- });
2115
- const $07b14b47974efb58$export$9b9a0cd73afb7ca4 = /* @__PURE__ */ createContext(null);
2116
- const $07b14b47974efb58$var$PopoverGroupContext = /* @__PURE__ */ createContext(null);
2117
- const $07b14b47974efb58$export$5b6b19405a83ff9d = /* @__PURE__ */ forwardRef(function Popover(props, ref) {
2118
- [props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $07b14b47974efb58$export$9b9a0cd73afb7ca4);
2119
- let contextState = useContext($de32f1b87079253c$export$d2f961adcb0afbe);
2120
- let localState = $fc909762b330b746$export$61c6a8c84e605fb6(props);
2121
- let state = props.isOpen != null || props.defaultOpen != null || !contextState ? localState : contextState;
2122
- let isExiting = $d3f049242431219c$export$45fda7c47f93fd48(ref, state.isOpen) || props.isExiting || false;
2123
- let isHidden = $f39a9eba43920ace$export$b5d7cc18bb8d2b59();
2124
- let { direction } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7();
2125
- if (isHidden) {
2126
- let children = props.children;
2127
- if (typeof children === "function") children = children({
2128
- trigger: props.trigger || null,
2129
- placement: "bottom",
2130
- isEntering: false,
2131
- isExiting: false,
2132
- defaultChildren: null
2133
- });
2134
- return /* @__PURE__ */ $dbSRa$react__default.createElement($dbSRa$react__default.Fragment, null, children);
2135
- }
2136
- if (state && !state.isOpen && !isExiting) return null;
2137
- return /* @__PURE__ */ $dbSRa$react__default.createElement($07b14b47974efb58$var$PopoverInner, {
2138
- ...props,
2139
- triggerRef: props.triggerRef,
2140
- state,
2141
- popoverRef: ref,
2142
- isExiting,
2143
- dir: direction
2144
- });
2145
- });
2146
- function $07b14b47974efb58$var$PopoverInner({ state, isExiting, UNSTABLE_portalContainer, clearContexts, ...props }) {
2147
- let arrowRef = useRef(null);
2148
- let containerRef = useRef(null);
2149
- let groupCtx = useContext($07b14b47974efb58$var$PopoverGroupContext);
2150
- let isSubPopover = groupCtx && props.trigger === "SubmenuTrigger";
2151
- var _props_offset;
2152
- let { popoverProps, underlayProps, arrowProps, placement, triggerAnchorPoint } = $f2f8a6077418541e$export$542a6fd13ac93354({
2153
- ...props,
2154
- offset: (_props_offset = props.offset) !== null && _props_offset !== void 0 ? _props_offset : 8,
2155
- arrowRef,
2156
- // If this is a submenu/subdialog, use the root popover's container
2157
- // to detect outside interaction and add aria-hidden.
2158
- groupRef: isSubPopover ? groupCtx : containerRef
2159
- }, state);
2160
- let ref = props.popoverRef;
2161
- let isEntering = $d3f049242431219c$export$6d3443f2c48bfc20(ref, !!placement) || props.isEntering || false;
2162
- let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
2163
- ...props,
2164
- defaultClassName: "react-aria-Popover",
2165
- values: {
2166
- trigger: props.trigger || null,
2167
- placement,
2168
- isEntering,
2169
- isExiting
2170
- }
2171
- });
2172
- let shouldBeDialog = !props.isNonModal || props.trigger === "SubmenuTrigger";
2173
- let [isDialog, setDialog] = useState(false);
2174
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
2175
- if (ref.current) setDialog(shouldBeDialog && !ref.current.querySelector("[role=dialog]"));
2176
- }, [
2177
- ref,
2178
- shouldBeDialog
2179
- ]);
2180
- useEffect(() => {
2181
- if (isDialog && (props.trigger !== "SubmenuTrigger" || $507fabe10e71c6fb$export$630ff653c5ada6a9() !== "pointer") && ref.current && !$d4ee10de306f2510$export$b4f377a2b6254582(ref.current)) $3ad3f6e1647bc98d$export$80f3e147d781571c(ref.current);
2182
- }, [
2183
- isDialog,
2184
- ref,
2185
- props.trigger
2186
- ]);
2187
- let children = useMemo(() => {
2188
- let children2 = renderProps.children;
2189
- if (clearContexts) for (let Context of clearContexts) children2 = /* @__PURE__ */ $dbSRa$react__default.createElement(Context.Provider, {
2190
- value: null
2191
- }, children2);
2192
- return children2;
2193
- }, [
2194
- renderProps.children,
2195
- clearContexts
2196
- ]);
2197
- let style = {
2198
- ...popoverProps.style,
2199
- "--trigger-anchor-point": triggerAnchorPoint ? `${triggerAnchorPoint.x}px ${triggerAnchorPoint.y}px` : void 0,
2200
- ...renderProps.style
2201
- };
2202
- let overlay = /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
2203
- ...$3ef42575df84b30b$export$9d1611c77c2fe928($65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
2204
- global: true
2205
- }), popoverProps),
2206
- ...renderProps,
2207
- role: isDialog ? "dialog" : void 0,
2208
- tabIndex: isDialog ? -1 : void 0,
2209
- "aria-label": props["aria-label"],
2210
- "aria-labelledby": props["aria-labelledby"],
2211
- ref,
2212
- slot: props.slot || void 0,
2213
- style,
2214
- dir: props.dir,
2215
- "data-trigger": props.trigger,
2216
- "data-placement": placement,
2217
- "data-entering": isEntering || void 0,
2218
- "data-exiting": isExiting || void 0
2219
- }, !props.isNonModal && /* @__PURE__ */ $dbSRa$react__default.createElement($86ea4cb521eb2e37$export$2317d149ed6f78c4, {
2220
- onDismiss: state.close
2221
- }), /* @__PURE__ */ $dbSRa$react__default.createElement($44f671af83e7d9e0$export$2de4954e8ae13b9f.Provider, {
2222
- value: {
2223
- ...arrowProps,
2224
- placement,
2225
- ref: arrowRef
2226
- }
2227
- }, children), /* @__PURE__ */ $dbSRa$react__default.createElement($86ea4cb521eb2e37$export$2317d149ed6f78c4, {
2228
- onDismiss: state.close
2229
- }));
2230
- if (!isSubPopover) return /* @__PURE__ */ $dbSRa$react__default.createElement($337b884510726a0d$export$c6fdb837b070b4ff, {
2231
- ...props,
2232
- shouldContainFocus: isDialog,
2233
- isExiting,
2234
- portalContainer: UNSTABLE_portalContainer
2235
- }, !props.isNonModal && state.isOpen && /* @__PURE__ */ $dbSRa$react__default.createElement("div", {
2236
- "data-testid": "underlay",
2237
- ...underlayProps,
2238
- style: {
2239
- position: "fixed",
2240
- inset: 0
2241
- }
2242
- }), /* @__PURE__ */ $dbSRa$react__default.createElement("div", {
2243
- ref: containerRef,
2244
- style: {
2245
- display: "contents"
2246
- }
2247
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($07b14b47974efb58$var$PopoverGroupContext.Provider, {
2248
- value: containerRef
2249
- }, overlay)));
2250
- var _ref;
2251
- return /* @__PURE__ */ $dbSRa$react__default.createElement($337b884510726a0d$export$c6fdb837b070b4ff, {
2252
- ...props,
2253
- shouldContainFocus: isDialog,
2254
- isExiting,
2255
- portalContainer: (_ref = UNSTABLE_portalContainer !== null && UNSTABLE_portalContainer !== void 0 ? UNSTABLE_portalContainer : groupCtx === null || groupCtx === void 0 ? void 0 : groupCtx.current) !== null && _ref !== void 0 ? _ref : void 0
2256
- }, overlay);
2257
- }
2258
- const $63df2425e2108aa8$export$744d98a3b8a94e1c = /* @__PURE__ */ createContext({});
2259
- const $3674c52c6b3c5bce$export$c7e742effb1c51e2 = /* @__PURE__ */ createContext(null);
2260
- const $3674c52c6b3c5bce$export$24aad8519b95b41b = /* @__PURE__ */ createContext(null);
2261
- const $3674c52c6b3c5bce$export$795aec4671cbae19 = /* @__PURE__ */ createContext(null);
2262
- const $3674c52c6b3c5bce$var$SelectionManagerContext = /* @__PURE__ */ createContext(null);
2263
- function $3674c52c6b3c5bce$export$27d2ad3c5815583e(props) {
2264
- let state = $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props);
2265
- let ref = useRef(null);
2266
- let { menuTriggerProps, menuProps } = $168583247155ddda$export$dc9c12ed27dd1b49({
2267
- ...props,
2268
- type: "menu"
2269
- }, state, ref);
2270
- let [buttonWidth, setButtonWidth] = useState(null);
2271
- let onResize = useCallback(() => {
2272
- if (ref.current) setButtonWidth(ref.current.offsetWidth + "px");
2273
- }, [
2274
- ref
2275
- ]);
2276
- $9daab02d461809db$export$683480f191c0e3ea({
2277
- ref,
2278
- onResize
2279
- });
2280
- let scrollRef = useRef(null);
2281
- return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
2282
- values: [
2283
- [
2284
- $3674c52c6b3c5bce$export$c7e742effb1c51e2,
2285
- {
2286
- ...menuProps,
2287
- ref: scrollRef
2288
- }
2289
- ],
2290
- [
2291
- $de32f1b87079253c$export$d2f961adcb0afbe,
2292
- state
2293
- ],
2294
- [
2295
- $3674c52c6b3c5bce$export$795aec4671cbae19,
2296
- state
2297
- ],
2298
- [
2299
- $07b14b47974efb58$export$9b9a0cd73afb7ca4,
2300
- {
2301
- trigger: "MenuTrigger",
2302
- triggerRef: ref,
2303
- scrollRef,
2304
- placement: "bottom start",
2305
- style: {
2306
- "--trigger-width": buttonWidth
2307
- },
2308
- "aria-labelledby": menuProps["aria-labelledby"]
2309
- }
2310
- ]
2311
- ]
2312
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($f1ab8c75478c6f73$export$3351871ee4b288b8, {
2313
- ...menuTriggerProps,
2314
- ref,
2315
- isPressed: state.isOpen
2316
- }, props.children));
2317
- }
2318
- const $3674c52c6b3c5bce$var$SubmenuTriggerContext = /* @__PURE__ */ createContext(null);
2319
- class $3674c52c6b3c5bce$var$SubmenuTriggerNode extends $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {
2320
- filter(collection, newCollection, filterFn) {
2321
- let triggerNode = collection.getItem(this.firstChildKey);
2322
- if (triggerNode && filterFn(triggerNode.textValue, this)) {
2323
- let clone = this.clone();
2324
- newCollection.addDescendants(clone, collection);
2325
- return clone;
2326
- }
2327
- return null;
2328
- }
2329
- }
2330
- $3674c52c6b3c5bce$var$SubmenuTriggerNode.type = "submenutrigger";
2331
- const $3674c52c6b3c5bce$export$ecabc99eeffab7ca = /* @__PURE__ */ $e1995378a142960e$export$e953bb1cd0f19726($3674c52c6b3c5bce$var$SubmenuTriggerNode, (props, ref, item) => {
2332
- let { CollectionBranch } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
2333
- let state = useContext($3674c52c6b3c5bce$export$24aad8519b95b41b);
2334
- let rootMenuTriggerState = useContext($3674c52c6b3c5bce$export$795aec4671cbae19);
2335
- let submenuTriggerState = $e5614764aa47eb35$export$cfc51cf86138bf98({
2336
- triggerKey: item.key
2337
- }, rootMenuTriggerState);
2338
- let submenuRef = useRef(null);
2339
- let itemRef = $df56164dff5785e2$export$4338b53315abf666(ref);
2340
- let { parentMenuRef, shouldUseVirtualFocus } = useContext($3674c52c6b3c5bce$var$SubmenuTriggerContext);
2341
- let { submenuTriggerProps, submenuProps, popoverProps } = $0065b146e7192841$export$7138b0d059a6e743({
2342
- parentMenuRef,
2343
- submenuRef,
2344
- delay: props.delay,
2345
- shouldUseVirtualFocus
2346
- }, submenuTriggerState, itemRef);
2347
- return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
2348
- values: [
2349
- [
2350
- $3674c52c6b3c5bce$var$MenuItemContext,
2351
- {
2352
- ...submenuTriggerProps,
2353
- onAction: void 0,
2354
- ref: itemRef
2355
- }
2356
- ],
2357
- [
2358
- $3674c52c6b3c5bce$export$c7e742effb1c51e2,
2359
- {
2360
- ref: submenuRef,
2361
- ...submenuProps
2362
- }
2363
- ],
2364
- [
2365
- $de32f1b87079253c$export$d2f961adcb0afbe,
2366
- submenuTriggerState
2367
- ],
2368
- [
2369
- $07b14b47974efb58$export$9b9a0cd73afb7ca4,
2370
- {
2371
- trigger: "SubmenuTrigger",
2372
- triggerRef: itemRef,
2373
- placement: "end top",
2374
- "aria-labelledby": submenuProps["aria-labelledby"],
2375
- ...popoverProps
2376
- }
2377
- ]
2378
- ]
2379
- }, /* @__PURE__ */ $dbSRa$react__default.createElement(CollectionBranch, {
2380
- collection: state.collection,
2381
- parent: item
2382
- }), props.children[1]);
2383
- }, (props) => props.children[0]);
2384
- const $3674c52c6b3c5bce$export$d9b273488cd8ce6f = /* @__PURE__ */ forwardRef(function Menu(props, ref) {
2385
- [props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $3674c52c6b3c5bce$export$c7e742effb1c51e2);
2386
- return /* @__PURE__ */ $dbSRa$react__default.createElement($e1995378a142960e$export$bf788dd355e3a401, {
2387
- content: /* @__PURE__ */ $dbSRa$react__default.createElement($e1995378a142960e$export$fb8073518f34e6ec, props)
2388
- }, (collection) => /* @__PURE__ */ $dbSRa$react__default.createElement($3674c52c6b3c5bce$var$MenuInner, {
2389
- props,
2390
- collection,
2391
- menuRef: ref
2392
- }));
2393
- });
2394
- function $3674c52c6b3c5bce$var$MenuInner({ props, collection, menuRef: ref }) {
2395
- [props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $4e85f108e88277b8$export$b0d3ecf7112093a7);
2396
- let { filter, ...autocompleteMenuProps } = props;
2397
- let filteredCollection = useMemo(() => filter ? collection.filter(filter) : collection, [
2398
- collection,
2399
- filter
2400
- ]);
2401
- let state = $875d6693e12af071$export$728d6ba534403756({
2402
- ...props,
2403
- collection: filteredCollection,
2404
- children: void 0
2405
- });
2406
- let triggerState = useContext($3674c52c6b3c5bce$export$795aec4671cbae19);
2407
- let { isVirtualized, CollectionRoot } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
2408
- let { menuProps } = $d5336fe17ce95402$export$38eaa17faae8f579({
2409
- ...props,
2410
- isVirtualized,
2411
- onClose: props.onClose || (triggerState === null || triggerState === void 0 ? void 0 : triggerState.close)
2412
- }, state, ref);
2413
- let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
2414
- ...props,
2415
- children: void 0,
2416
- defaultClassName: "react-aria-Menu",
2417
- values: {
2418
- isEmpty: state.collection.size === 0
2419
- }
2420
- });
2421
- let emptyState = null;
2422
- if (state.collection.size === 0 && props.renderEmptyState) emptyState = /* @__PURE__ */ $dbSRa$react__default.createElement("div", {
2423
- role: "menuitem",
2424
- style: {
2425
- display: "contents"
2426
- }
2427
- }, props.renderEmptyState());
2428
- let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
2429
- global: true
2430
- });
2431
- return /* @__PURE__ */ $dbSRa$react__default.createElement($9bf71ea28793e738$export$20e40289641fbbb6, null, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
2432
- ...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, menuProps),
2433
- ref,
2434
- slot: props.slot || void 0,
2435
- "data-empty": state.collection.size === 0 || void 0,
2436
- onScroll: props.onScroll
2437
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
2438
- values: [
2439
- [
2440
- $3674c52c6b3c5bce$export$24aad8519b95b41b,
2441
- state
2442
- ],
2443
- [
2444
- $431f98aba6844401$export$6615d83f6de245ce,
2445
- {
2446
- elementType: "div"
2447
- }
2448
- ],
2449
- [
2450
- $7135fc7d473fd974$export$d40e14dec8b060a8,
2451
- {
2452
- name: "MenuSection",
2453
- render: $3674c52c6b3c5bce$var$MenuSectionInner
2454
- }
2455
- ],
2456
- [
2457
- $3674c52c6b3c5bce$var$SubmenuTriggerContext,
2458
- {
2459
- parentMenuRef: ref,
2460
- shouldUseVirtualFocus: autocompleteMenuProps === null || autocompleteMenuProps === void 0 ? void 0 : autocompleteMenuProps.shouldUseVirtualFocus
2461
- }
2462
- ],
2463
- [
2464
- $3674c52c6b3c5bce$var$MenuItemContext,
2465
- {
2466
- shouldCloseOnSelect: props.shouldCloseOnSelect
2467
- }
2468
- ],
2469
- [
2470
- $4e85f108e88277b8$export$b0d3ecf7112093a7,
2471
- null
2472
- ],
2473
- [
2474
- $4e85f108e88277b8$export$698f465ec27e93df,
2475
- null
2476
- ],
2477
- [
2478
- $3674c52c6b3c5bce$var$SelectionManagerContext,
2479
- state.selectionManager
2480
- ],
2481
- /* Ensure root MenuTriggerState is defined, in case Menu is rendered outside a MenuTrigger. */
2482
- /* We assume the context can never change between defined and undefined. */
2483
- /* eslint-disable-next-line react-hooks/rules-of-hooks */
2484
- [
2485
- $3674c52c6b3c5bce$export$795aec4671cbae19,
2486
- triggerState !== null && triggerState !== void 0 ? triggerState : $a28c903ee9ad8dc5$export$79fefeb1c2091ac3({})
2487
- ]
2488
- ]
2489
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($c8a5a149f625efcf$export$758399f318e6385a, null, /* @__PURE__ */ $dbSRa$react__default.createElement(CollectionRoot, {
2490
- collection: state.collection,
2491
- persistedKeys: $7135fc7d473fd974$export$90e00781bc59d8f9(state.selectionManager.focusedKey),
2492
- scrollRef: ref
2493
- }))), emptyState));
2494
- }
2495
- class $3674c52c6b3c5bce$var$GroupSelectionManager extends $d496c0a20b6e58ec$export$6c8a5aaad13c9852 {
2496
- get focusedKey() {
2497
- return this.parent.focusedKey;
2498
- }
2499
- get isFocused() {
2500
- return this.parent.isFocused;
2501
- }
2502
- setFocusedKey(key, childFocusStrategy) {
2503
- return this.parent.setFocusedKey(key, childFocusStrategy);
2504
- }
2505
- setFocused(isFocused) {
2506
- this.parent.setFocused(isFocused);
2507
- }
2508
- get childFocusStrategy() {
2509
- return this.parent.childFocusStrategy;
2510
- }
2511
- constructor(parent, state) {
2512
- super(parent.collection, state);
2513
- this.parent = parent;
2514
- }
2515
- }
2516
- function $3674c52c6b3c5bce$var$MenuSectionInner(props, ref, section, className = "react-aria-MenuSection") {
2517
- var _section_props, _section_props1, _useSlottedContext;
2518
- let state = useContext($3674c52c6b3c5bce$export$24aad8519b95b41b);
2519
- let { CollectionBranch } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
2520
- let [headingRef, heading] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8();
2521
- var _section_props_arialabel;
2522
- let { headingProps, groupProps } = $3e5eb2498db5b506$export$73f7a44322579622({
2523
- heading,
2524
- "aria-label": (_section_props_arialabel = section.props["aria-label"]) !== null && _section_props_arialabel !== void 0 ? _section_props_arialabel : void 0
2525
- });
2526
- let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
2527
- ...props,
2528
- id: void 0,
2529
- children: void 0,
2530
- defaultClassName: className,
2531
- className: (_section_props = section.props) === null || _section_props === void 0 ? void 0 : _section_props.className,
2532
- style: (_section_props1 = section.props) === null || _section_props1 === void 0 ? void 0 : _section_props1.style,
2533
- values: void 0
2534
- });
2535
- let parent = useContext($3674c52c6b3c5bce$var$SelectionManagerContext);
2536
- let selectionState = $7af3f5b51489e0b5$export$253fe78d46329472(props);
2537
- let manager = props.selectionMode != null ? new $3674c52c6b3c5bce$var$GroupSelectionManager(parent, selectionState) : parent;
2538
- let closeOnSelect = (_useSlottedContext = $64fa3d84918910a7$export$fabf2dc03a41866e($3674c52c6b3c5bce$var$MenuItemContext)) === null || _useSlottedContext === void 0 ? void 0 : _useSlottedContext.shouldCloseOnSelect;
2539
- let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
2540
- global: true
2541
- });
2542
- delete DOMProps.id;
2543
- var _props_shouldCloseOnSelect;
2544
- return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.section, {
2545
- ...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, groupProps),
2546
- ref
2547
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
2548
- values: [
2549
- [
2550
- $72a5793c14baf454$export$e0e4026c12a8bdbb,
2551
- {
2552
- ...headingProps,
2553
- ref: headingRef
2554
- }
2555
- ],
2556
- [
2557
- $3674c52c6b3c5bce$var$SelectionManagerContext,
2558
- manager
2559
- ],
2560
- [
2561
- $3674c52c6b3c5bce$var$MenuItemContext,
2562
- {
2563
- shouldCloseOnSelect: (_props_shouldCloseOnSelect = props.shouldCloseOnSelect) !== null && _props_shouldCloseOnSelect !== void 0 ? _props_shouldCloseOnSelect : closeOnSelect
2564
- }
2565
- ]
2566
- ]
2567
- }, /* @__PURE__ */ $dbSRa$react__default.createElement(CollectionBranch, {
2568
- collection: state.collection,
2569
- parent: section
2570
- })));
2571
- }
2572
- const $3674c52c6b3c5bce$export$4b1545b4f2016d26 = /* @__PURE__ */ $e1995378a142960e$export$e953bb1cd0f19726($23b9f4fcf0fe224b$export$437f11dc9b403b78, $3674c52c6b3c5bce$var$MenuSectionInner);
2573
- const $3674c52c6b3c5bce$var$MenuItemContext = /* @__PURE__ */ createContext(null);
2574
- const $3674c52c6b3c5bce$export$2ce376c2cc3355c8 = /* @__PURE__ */ $e1995378a142960e$export$18af5c7a9e9b3664($23b9f4fcf0fe224b$export$fd11f34e1d07f134, function MenuItem(props, forwardedRef, item) {
2575
- var _useSlottedContext;
2576
- [props, forwardedRef] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, forwardedRef, $3674c52c6b3c5bce$var$MenuItemContext);
2577
- let id = (_useSlottedContext = $64fa3d84918910a7$export$fabf2dc03a41866e($3674c52c6b3c5bce$var$MenuItemContext)) === null || _useSlottedContext === void 0 ? void 0 : _useSlottedContext.id;
2578
- let state = useContext($3674c52c6b3c5bce$export$24aad8519b95b41b);
2579
- let ref = $df56164dff5785e2$export$4338b53315abf666(forwardedRef);
2580
- let selectionManager = useContext($3674c52c6b3c5bce$var$SelectionManagerContext);
2581
- let { isVirtualized } = useContext($7135fc7d473fd974$export$4feb769f8ddf26c5);
2582
- let { menuItemProps, labelProps, descriptionProps, keyboardShortcutProps, ...states } = $a2e5df62f93c7633$export$9d32628fc2aea7da({
2583
- ...props,
2584
- id,
2585
- key: item.key,
2586
- selectionManager,
2587
- isVirtualized
2588
- }, state, ref);
2589
- let { hoverProps, isHovered } = $6179b936705e76d3$export$ae780daf29e6d456({
2590
- isDisabled: states.isDisabled
2591
- });
2592
- let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
2593
- ...props,
2594
- id: void 0,
2595
- children: item.rendered,
2596
- defaultClassName: "react-aria-MenuItem",
2597
- values: {
2598
- ...states,
2599
- isHovered,
2600
- isFocusVisible: states.isFocusVisible,
2601
- selectionMode: selectionManager.selectionMode,
2602
- selectionBehavior: selectionManager.selectionBehavior,
2603
- hasSubmenu: !!props["aria-haspopup"],
2604
- isOpen: props["aria-expanded"] === "true"
2605
- }
2606
- });
2607
- let ElementType = props.href ? $64fa3d84918910a7$export$df3a06d6289f983e.a : $64fa3d84918910a7$export$df3a06d6289f983e.div;
2608
- let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
2609
- global: true
2610
- });
2611
- delete DOMProps.id;
2612
- delete DOMProps.onClick;
2613
- return /* @__PURE__ */ $dbSRa$react__default.createElement(ElementType, {
2614
- ...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, menuItemProps, hoverProps),
2615
- ref,
2616
- "data-disabled": states.isDisabled || void 0,
2617
- "data-hovered": isHovered || void 0,
2618
- "data-focused": states.isFocused || void 0,
2619
- "data-focus-visible": states.isFocusVisible || void 0,
2620
- "data-pressed": states.isPressed || void 0,
2621
- "data-selected": states.isSelected || void 0,
2622
- "data-selection-mode": selectionManager.selectionMode === "none" ? void 0 : selectionManager.selectionMode,
2623
- "data-has-submenu": !!props["aria-haspopup"] || void 0,
2624
- "data-open": props["aria-expanded"] === "true" || void 0
2625
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
2626
- values: [
2627
- [
2628
- $514c0188e459b4c0$export$9afb8bc826b033ea,
2629
- {
2630
- slots: {
2631
- [$64fa3d84918910a7$export$c62b8e45d58ddad9]: labelProps,
2632
- label: labelProps,
2633
- description: descriptionProps
2634
- }
2635
- }
2636
- ],
2637
- [
2638
- $63df2425e2108aa8$export$744d98a3b8a94e1c,
2639
- keyboardShortcutProps
2640
- ],
2641
- [
2642
- $1d5b8b8664671ef2$export$c9549807523555e0,
2643
- {
2644
- isSelected: states.isSelected
2645
- }
2646
- ]
2647
- ]
2648
- }, renderProps.children));
2649
- });
2650
- const $de32f1b87079253c$export$8b93a07348a7730c = /* @__PURE__ */ createContext(null);
2651
- const $de32f1b87079253c$export$d2f961adcb0afbe = /* @__PURE__ */ createContext(null);
2652
- function $de32f1b87079253c$export$2e1e1122cf0cba88(props) {
2653
- let state = $a28c903ee9ad8dc5$export$79fefeb1c2091ac3(props);
2654
- let buttonRef = useRef(null);
2655
- let { triggerProps, overlayProps } = $628037886ba31236$export$f9d5c8beee7d008d({
2656
- type: "dialog"
2657
- }, state, buttonRef);
2658
- let [buttonWidth, setButtonWidth] = useState(null);
2659
- let onResize = useCallback(() => {
2660
- if (buttonRef.current) setButtonWidth(buttonRef.current.offsetWidth + "px");
2661
- }, [
2662
- buttonRef
2663
- ]);
2664
- $9daab02d461809db$export$683480f191c0e3ea({
2665
- ref: buttonRef,
2666
- onResize
2667
- });
2668
- triggerProps.id = $bdb11010cef70236$export$f680877a34711e37();
2669
- overlayProps["aria-labelledby"] = triggerProps.id;
2670
- return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
2671
- values: [
2672
- [
2673
- $de32f1b87079253c$export$d2f961adcb0afbe,
2674
- state
2675
- ],
2676
- [
2677
- $3674c52c6b3c5bce$export$795aec4671cbae19,
2678
- state
2679
- ],
2680
- [
2681
- $de32f1b87079253c$export$8b93a07348a7730c,
2682
- overlayProps
2683
- ],
2684
- [
2685
- $07b14b47974efb58$export$9b9a0cd73afb7ca4,
2686
- {
2687
- trigger: "DialogTrigger",
2688
- triggerRef: buttonRef,
2689
- "aria-labelledby": overlayProps["aria-labelledby"],
2690
- style: {
2691
- "--trigger-width": buttonWidth
2692
- }
2693
- }
2694
- ]
2695
- ]
2696
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($f1ab8c75478c6f73$export$3351871ee4b288b8, {
2697
- ...triggerProps,
2698
- ref: buttonRef,
2699
- isPressed: state.isOpen
2700
- }, props.children));
2701
- }
2702
- const $de32f1b87079253c$export$3ddf2d174ce01153 = /* @__PURE__ */ forwardRef(function Dialog(props, ref) {
2703
- let originalAriaLabelledby = props["aria-labelledby"];
2704
- [props, ref] = $64fa3d84918910a7$export$29f1550f4b0d4415(props, ref, $de32f1b87079253c$export$8b93a07348a7730c);
2705
- let { dialogProps, titleProps } = $40df3f8667284809$export$d55e7ee900f34e93({
2706
- ...props,
2707
- // Only pass aria-labelledby from props, not context.
2708
- // Context is used as a fallback below.
2709
- "aria-labelledby": originalAriaLabelledby
2710
- }, ref);
2711
- let state = useContext($de32f1b87079253c$export$d2f961adcb0afbe);
2712
- if (!dialogProps["aria-label"] && !dialogProps["aria-labelledby"]) {
2713
- if (props["aria-labelledby"]) dialogProps["aria-labelledby"] = props["aria-labelledby"];
2714
- else if (process.env.NODE_ENV !== "production") console.warn('If a Dialog does not contain a <Heading slot="title">, it must have an aria-label or aria-labelledby attribute for accessibility.');
2715
- }
2716
- let renderProps = $64fa3d84918910a7$export$4d86445c2cf5e3({
2717
- defaultClassName: "react-aria-Dialog",
2718
- className: props.className,
2719
- style: props.style,
2720
- children: props.children,
2721
- values: {
2722
- close: (state === null || state === void 0 ? void 0 : state.close) || (() => {
2723
- })
2724
- }
2725
- });
2726
- let DOMProps = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
2727
- global: true
2728
- });
2729
- return /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$df3a06d6289f983e.section, {
2730
- ...$3ef42575df84b30b$export$9d1611c77c2fe928(DOMProps, renderProps, dialogProps),
2731
- render: props.render,
2732
- ref,
2733
- slot: props.slot || void 0
2734
- }, /* @__PURE__ */ $dbSRa$react__default.createElement($64fa3d84918910a7$export$2881499e37b75b9a, {
2735
- values: [
2736
- [
2737
- $4e85f108e88277b8$export$d688439359537581,
2738
- {
2739
- slots: {
2740
- [$64fa3d84918910a7$export$c62b8e45d58ddad9]: {},
2741
- title: {
2742
- ...titleProps,
2743
- level: 2
2744
- }
2745
- }
2746
- }
2747
- ],
2748
- [
2749
- $d2b4bc8c273e7be6$export$24d547caef80ccd1,
2750
- {
2751
- slots: {
2752
- [$64fa3d84918910a7$export$c62b8e45d58ddad9]: {},
2753
- close: {
2754
- onPress: () => state === null || state === void 0 ? void 0 : state.close()
2755
- }
2756
- }
2757
- }
2758
- ]
2759
- ]
2760
- }, renderProps.children));
2761
- });
2762
- export {
2763
- $3674c52c6b3c5bce$export$27d2ad3c5815583e as $,
2764
- $3674c52c6b3c5bce$export$d9b273488cd8ce6f as a,
2765
- $3674c52c6b3c5bce$export$2ce376c2cc3355c8 as b,
2766
- $3674c52c6b3c5bce$export$4b1545b4f2016d26 as c,
2767
- $431f98aba6844401$export$1ff3c3f08ae963c0 as d,
2768
- $3674c52c6b3c5bce$export$ecabc99eeffab7ca as e,
2769
- $07b14b47974efb58$export$5b6b19405a83ff9d as f,
2770
- $de32f1b87079253c$export$3ddf2d174ce01153 as g,
2771
- $de32f1b87079253c$export$2e1e1122cf0cba88 as h,
2772
- $72a5793c14baf454$export$8b251419efc915eb as i,
2773
- $325a3faab7a68acd$export$a16aca283550c30d as j,
2774
- $a11501f3d1d39e6c$export$ea8f71083e90600f as k,
2775
- $49c51c25361d4cd2$export$ee0f7cc6afcd1c18 as l,
2776
- $337b884510726a0d$export$14c98a7594375490 as m,
2777
- $5e3802645cc19319$export$1c3ebcada18427bf as n,
2778
- $de32f1b87079253c$export$d2f961adcb0afbe as o,
2779
- $86ea4cb521eb2e37$export$2317d149ed6f78c4 as p,
2780
- $337b884510726a0d$export$c6fdb837b070b4ff as q,
2781
- $62d8ded9296f3872$export$cfa2225e87938781 as r,
2782
- $982254629710d113$export$b95089534ab7c1fd as s,
2783
- $453cc9f0df89c0a5$export$77d5aafae4e095b2 as t,
2784
- $2a25aae57d74318e$export$a05409b8bb224a5a as u,
2785
- $431f98aba6844401$export$6615d83f6de245ce as v,
2786
- $72a5793c14baf454$export$e0e4026c12a8bdbb as w,
2787
- $168583247155ddda$export$dc9c12ed27dd1b49 as x,
2788
- $e0b6e0b68ec7f50f$export$872b660ac5a1ff98 as y,
2789
- $07b14b47974efb58$export$9b9a0cd73afb7ca4 as z
2790
- };