laif-ds 0.2.21 → 0.2.23

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 (246) hide show
  1. package/dist/_virtual/index4.js +5 -5
  2. package/dist/_virtual/index5.js +5 -5
  3. package/dist/_virtual/index6.js +2 -2
  4. package/dist/_virtual/index7.js +2 -2
  5. package/dist/components/ui/app-select.js +92 -109
  6. package/dist/components/ui/gantt/constants/DimensionsSettings.js +6 -6
  7. package/dist/components/ui/gantt/constants/DragStepOptions.js +9 -9
  8. package/dist/components/ui/message-input.js +23 -23
  9. package/dist/components/ui/sidebar.js +1 -1
  10. package/dist/components/ui/textarea.js +18 -15
  11. package/dist/index.d.ts +6 -7
  12. package/dist/lib/audio-utils.js +2 -2
  13. package/dist/node_modules/@date-fns/tz/date/index.js +2 -7
  14. package/dist/node_modules/@date-fns/tz/date/mini.js +32 -27
  15. package/dist/node_modules/@date-fns/tz/tzName/index.js +12 -0
  16. package/dist/node_modules/@date-fns/tz/tzOffset/index.js +11 -12
  17. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +137 -139
  18. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +238 -235
  19. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +88 -83
  20. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +70 -69
  21. package/dist/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +13 -13
  22. package/dist/node_modules/@lexical/code/LexicalCode.prod.js +3 -3
  23. package/dist/node_modules/@lexical/dragon/LexicalDragon.prod.js +2 -2
  24. package/dist/node_modules/@lexical/history/LexicalHistory.prod.js +9 -9
  25. package/dist/node_modules/@lexical/html/LexicalHtml.prod.js +6 -6
  26. package/dist/node_modules/@lexical/list/LexicalList.prod.js +48 -48
  27. package/dist/node_modules/@lexical/markdown/LexicalMarkdown.prod.js +29 -29
  28. package/dist/node_modules/@lexical/react/LexicalCheckListPlugin.prod.js +1 -1
  29. package/dist/node_modules/@lexical/react/LexicalClearEditorPlugin.prod.js +2 -2
  30. package/dist/node_modules/@lexical/react/LexicalComposer.prod.js +10 -10
  31. package/dist/node_modules/@lexical/react/LexicalComposerContext.prod.js +2 -2
  32. package/dist/node_modules/@lexical/react/LexicalContentEditable.prod.js +17 -17
  33. package/dist/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +4 -4
  34. package/dist/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +4 -4
  35. package/dist/node_modules/@lexical/react/LexicalListPlugin.prod.js +5 -5
  36. package/dist/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +4 -4
  37. package/dist/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +20 -20
  38. package/dist/node_modules/@lexical/react/useLexicalEditable.prod.js +7 -7
  39. package/dist/node_modules/@lexical/rich-text/LexicalRichText.prod.js +43 -43
  40. package/dist/node_modules/@lexical/table/LexicalTable.prod.js +16 -16
  41. package/dist/node_modules/@lexical/utils/LexicalUtils.prod.js +3 -3
  42. package/dist/node_modules/@radix-ui/react-popper/dist/index.js +43 -42
  43. package/dist/node_modules/@radix-ui/react-presence/dist/index.js +1 -1
  44. package/dist/node_modules/@radix-ui/react-scroll-area/dist/index.js +2 -2
  45. package/dist/node_modules/@radix-ui/react-select/dist/index.js +2 -2
  46. package/dist/node_modules/@reduxjs/toolkit/dist/redux-toolkit.modern.js +183 -175
  47. package/dist/node_modules/@shikijs/core/dist/index.js +195 -175
  48. package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -2
  49. package/dist/node_modules/@shikijs/langs/dist/cobol.js +1 -1
  50. package/dist/node_modules/@shikijs/langs/dist/erlang.js +5 -3
  51. package/dist/node_modules/@shikijs/langs/dist/fsharp.js +1 -1
  52. package/dist/node_modules/@shikijs/langs/dist/gdscript.js +1 -1
  53. package/dist/node_modules/@shikijs/langs/dist/go.js +1 -1
  54. package/dist/node_modules/@shikijs/langs/dist/haxe.js +1 -1
  55. package/dist/node_modules/@shikijs/langs/dist/julia.js +1 -1
  56. package/dist/node_modules/@shikijs/langs/dist/latex.js +1 -1
  57. package/dist/node_modules/@shikijs/langs/dist/lean.js +1 -1
  58. package/dist/node_modules/@shikijs/langs/dist/markdown.js +1 -1
  59. package/dist/node_modules/@shikijs/langs/dist/marko.js +5 -5
  60. package/dist/node_modules/@shikijs/langs/dist/mermaid.js +1 -1
  61. package/dist/node_modules/@shikijs/langs/dist/nextflow.js +1 -1
  62. package/dist/node_modules/@shikijs/langs/dist/purescript.js +1 -1
  63. package/dist/node_modules/@shikijs/langs/dist/r.js +1 -1
  64. package/dist/node_modules/@shikijs/langs/dist/sql.js +1 -1
  65. package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -2
  66. package/dist/node_modules/@shikijs/langs/dist/templ.js +1 -1
  67. package/dist/node_modules/@shikijs/langs/dist/tex.js +1 -1
  68. package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +21 -0
  69. package/dist/node_modules/@shikijs/langs/dist/vue.js +1 -1
  70. package/dist/node_modules/@shikijs/langs/dist/zig.js +1 -1
  71. package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +1 -1
  72. package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +1 -1
  73. package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +1 -1
  74. package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +1 -1
  75. package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +1 -1
  76. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +1 -1
  77. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +1 -1
  78. package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +1 -1
  79. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +1 -1
  80. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +1 -1
  81. package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +1 -1
  82. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +215 -208
  83. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +1 -1
  84. package/dist/node_modules/aria-hidden/dist/es2015/index.js +1 -1
  85. package/dist/node_modules/classnames/index.js +2 -2
  86. package/dist/node_modules/d3-interpolate/src/rgb.js +2 -2
  87. package/dist/node_modules/dayjs/dayjs.min.js +14 -14
  88. package/dist/node_modules/dayjs/locale/it.js +4 -4
  89. package/dist/node_modules/dayjs/plugin/isoWeek.js +4 -4
  90. package/dist/node_modules/dayjs/plugin/localizedFormat.js +10 -10
  91. package/dist/node_modules/decimal.js-light/decimal.js +2 -2
  92. package/dist/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.js +2 -2
  93. package/dist/node_modules/es-toolkit/dist/array/flatten.js +2 -2
  94. package/dist/node_modules/es-toolkit/dist/array/uniqBy.js +2 -2
  95. package/dist/node_modules/es-toolkit/dist/compat/_internal/compareValues.js +2 -2
  96. package/dist/node_modules/es-toolkit/dist/compat/_internal/getSymbols.js +2 -2
  97. package/dist/node_modules/es-toolkit/dist/compat/_internal/getTag.js +2 -2
  98. package/dist/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.js +2 -2
  99. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIndex.js +2 -2
  100. package/dist/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.js +2 -2
  101. package/dist/node_modules/es-toolkit/dist/compat/_internal/isKey.js +2 -2
  102. package/dist/node_modules/es-toolkit/dist/compat/_internal/tags.js +2 -2
  103. package/dist/node_modules/es-toolkit/dist/compat/_internal/toKey.js +2 -2
  104. package/dist/node_modules/es-toolkit/dist/compat/array/orderBy.js +2 -2
  105. package/dist/node_modules/es-toolkit/dist/compat/array/sortBy.js +2 -2
  106. package/dist/node_modules/es-toolkit/dist/compat/array/uniqBy.js +2 -2
  107. package/dist/node_modules/es-toolkit/dist/compat/function/debounce.js +2 -2
  108. package/dist/node_modules/es-toolkit/dist/compat/function/throttle.js +14 -15
  109. package/dist/node_modules/es-toolkit/dist/compat/math/range.js +2 -2
  110. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeep.js +2 -2
  111. package/dist/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.js +11 -11
  112. package/dist/node_modules/es-toolkit/dist/compat/object/get.js +2 -2
  113. package/dist/node_modules/es-toolkit/dist/compat/object/has.js +2 -2
  114. package/dist/node_modules/es-toolkit/dist/compat/object/property.js +2 -2
  115. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArguments.js +2 -2
  116. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.js +2 -2
  117. package/dist/node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.js +2 -2
  118. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatch.js +2 -2
  119. package/dist/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.js +2 -2
  120. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObject.js +2 -2
  121. package/dist/node_modules/es-toolkit/dist/compat/predicate/isObjectLike.js +2 -2
  122. package/dist/node_modules/es-toolkit/dist/compat/predicate/isSymbol.js +2 -2
  123. package/dist/node_modules/es-toolkit/dist/compat/predicate/matches.js +2 -2
  124. package/dist/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.js +2 -2
  125. package/dist/node_modules/es-toolkit/dist/compat/util/eq.js +2 -2
  126. package/dist/node_modules/es-toolkit/dist/compat/util/iteratee.js +2 -2
  127. package/dist/node_modules/es-toolkit/dist/compat/util/toFinite.js +2 -2
  128. package/dist/node_modules/es-toolkit/dist/compat/util/toNumber.js +2 -2
  129. package/dist/node_modules/es-toolkit/dist/compat/util/toPath.js +2 -2
  130. package/dist/node_modules/es-toolkit/dist/function/debounce.js +15 -15
  131. package/dist/node_modules/es-toolkit/dist/function/identity.js +2 -2
  132. package/dist/node_modules/es-toolkit/dist/function/noop.js +2 -10
  133. package/dist/node_modules/es-toolkit/dist/object/cloneDeep.js +2 -2
  134. package/dist/node_modules/es-toolkit/dist/object/cloneDeepWith.js +3 -3
  135. package/dist/node_modules/es-toolkit/dist/predicate/isLength.js +2 -2
  136. package/dist/node_modules/es-toolkit/dist/predicate/isPrimitive.js +2 -2
  137. package/dist/node_modules/es-toolkit/dist/predicate/isTypedArray.js +2 -2
  138. package/dist/node_modules/eventemitter3/index2.js +3 -3
  139. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
  140. package/dist/node_modules/immer/dist/immer.js +213 -216
  141. package/dist/node_modules/lexical/Lexical.prod.js +212 -212
  142. package/dist/node_modules/lodash/_baseCreate.js +2 -2
  143. package/dist/node_modules/lodash/_cloneBuffer.js +2 -2
  144. package/dist/node_modules/lodash/_defineProperty.js +2 -2
  145. package/dist/node_modules/lodash/_isMasked.js +2 -2
  146. package/dist/node_modules/lodash/_nodeUtil.js +4 -4
  147. package/dist/node_modules/lodash/isArguments.js +2 -2
  148. package/dist/node_modules/lodash/isBuffer.js +2 -2
  149. package/dist/node_modules/lodash/lodash.js +16 -16
  150. package/dist/node_modules/prismjs/components/prism-cpp.js +2 -2
  151. package/dist/node_modules/prismjs/components/prism-java.js +2 -2
  152. package/dist/node_modules/prismjs/components/prism-rust.js +2 -2
  153. package/dist/node_modules/prismjs/components/prism-typescript.js +2 -2
  154. package/dist/node_modules/prismjs/prism.js +8 -8
  155. package/dist/node_modules/react-day-picker/dist/esm/DayPicker.js +183 -164
  156. package/dist/node_modules/react-day-picker/dist/esm/classes/DateLib.js +14 -14
  157. package/dist/node_modules/react-day-picker/dist/esm/components/Chevron.js +10 -7
  158. package/dist/node_modules/react-day-picker/dist/esm/formatters/index.js +6 -6
  159. package/dist/node_modules/react-day-picker/dist/esm/helpers/createGetModifiers.js +30 -30
  160. package/dist/node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js +1 -1
  161. package/dist/node_modules/react-day-picker/dist/esm/helpers/getDays.js +5 -5
  162. package/dist/node_modules/react-day-picker/dist/esm/helpers/getInitialMonth.js +9 -9
  163. package/dist/node_modules/react-day-picker/dist/esm/helpers/getWeeks.js +1 -1
  164. package/dist/node_modules/react-day-picker/dist/esm/helpers/getYearOptions.js +11 -11
  165. package/dist/node_modules/react-day-picker/dist/esm/helpers/startOfBroadcastWeek.js +1 -1
  166. package/dist/node_modules/react-day-picker/dist/esm/labels/index.js +12 -12
  167. package/dist/node_modules/react-day-picker/dist/esm/useAnimation.js +19 -19
  168. package/dist/node_modules/react-day-picker/dist/esm/useCalendar.js +9 -9
  169. package/dist/node_modules/react-day-picker/dist/esm/utils/addToRange.js +10 -10
  170. package/dist/node_modules/react-hook-form/dist/index.esm.js +150 -117
  171. package/dist/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +48 -48
  172. package/dist/node_modules/react-remove-scroll/dist/es2015/UI.js +9 -9
  173. package/dist/node_modules/react-remove-scroll/dist/es2015/handleScroll.js +43 -39
  174. package/dist/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.js +95 -94
  175. package/dist/node_modules/react-window/dist/index.esm.js +2 -2
  176. package/dist/node_modules/recharts/es6/animation/AnimationManager.js +14 -14
  177. package/dist/node_modules/recharts/es6/animation/JavascriptAnimate.js +49 -0
  178. package/dist/node_modules/recharts/es6/animation/createDefaultAnimationManager.js +9 -0
  179. package/dist/node_modules/recharts/es6/animation/useAnimationManager.js +12 -0
  180. package/dist/node_modules/recharts/es6/component/Cursor.js +5 -5
  181. package/dist/node_modules/recharts/es6/component/DefaultLegendContent.js +55 -58
  182. package/dist/node_modules/recharts/es6/component/Legend.js +32 -27
  183. package/dist/node_modules/recharts/es6/component/ResponsiveContainer.js +44 -40
  184. package/dist/node_modules/recharts/es6/context/chartLayoutContext.js +15 -23
  185. package/dist/node_modules/recharts/es6/context/useTooltipAxis.js +8 -7
  186. package/dist/node_modules/recharts/es6/shape/Curve.js +10 -10
  187. package/dist/node_modules/recharts/es6/shape/Rectangle.js +136 -99
  188. package/dist/node_modules/recharts/es6/shape/Symbols.js +55 -53
  189. package/dist/node_modules/recharts/es6/state/legendSlice.js +5 -4
  190. package/dist/node_modules/recharts/es6/state/selectors/axisSelectors.js +352 -307
  191. package/dist/node_modules/recharts/es6/state/selectors/brushSelectors.js +9 -9
  192. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js +26 -0
  193. package/dist/node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js +117 -0
  194. package/dist/node_modules/recharts/es6/state/selectors/dataSelectors.js +4 -4
  195. package/dist/node_modules/recharts/es6/state/selectors/legendSelectors.js +10 -4
  196. package/dist/node_modules/recharts/es6/state/selectors/polarAxisSelectors.js +33 -32
  197. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js +108 -0
  198. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxis.js +13 -0
  199. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisId.js +5 -0
  200. package/dist/node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js +9 -0
  201. package/dist/node_modules/recharts/es6/state/selectors/selectors.js +40 -143
  202. package/dist/node_modules/recharts/es6/state/selectors/tooltipSelectors.js +68 -63
  203. package/dist/node_modules/recharts/es6/state/types/StackedGraphicalItem.js +7 -0
  204. package/dist/node_modules/recharts/es6/util/ChartUtils.js +58 -57
  205. package/dist/node_modules/recharts/es6/util/DataUtils.js +34 -26
  206. package/dist/node_modules/recharts/es6/util/ReactUtils.js +20 -15
  207. package/dist/node_modules/recharts/es6/util/excludeEventProps.js +11 -0
  208. package/dist/node_modules/recharts/es6/util/getSliced.js +7 -0
  209. package/dist/node_modules/recharts/es6/util/scale/getNiceTickValues.js +44 -44
  210. package/dist/node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js +7 -0
  211. package/dist/node_modules/recharts/es6/util/svgPropertiesNoEvents.js +328 -0
  212. package/dist/node_modules/recharts/es6/util/types.js +22 -332
  213. package/dist/node_modules/recharts/es6/util/useAnimationId.js +10 -0
  214. package/dist/node_modules/recharts/es6/util/useElementOffset.js +20 -16
  215. package/dist/node_modules/remeda/dist/hasAtLeast-F1Oj_xBB.js +9 -0
  216. package/dist/node_modules/remeda/dist/lazyDataLastImpl-BDhrIOwR.js +8 -0
  217. package/dist/node_modules/remeda/dist/omit-HZOiLuMO.js +19 -0
  218. package/dist/node_modules/remeda/dist/purry-DH9cw9sy.js +11 -0
  219. package/dist/node_modules/shiki/dist/langs.js +225 -220
  220. package/dist/node_modules/shiki/dist/themes.js +60 -60
  221. package/dist/node_modules/sonner/dist/index.js +309 -305
  222. package/dist/node_modules/style-to-object/cjs/index.js +1 -1
  223. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +169 -168
  224. package/dist/node_modules/unified/lib/callable-instance.js +2 -2
  225. package/dist/node_modules/unified/lib/index.js +1 -1
  226. package/dist/node_modules/unist-util-is/lib/index.js +2 -2
  227. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +2 -2
  228. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +2 -2
  229. package/dist/node_modules/vfile-message/lib/index.js +1 -1
  230. package/dist/styles.v3.css +1 -1
  231. package/package.json +1 -1
  232. package/dist/_virtual/isEqual.js +0 -8
  233. package/dist/_virtual/isEqual2.js +0 -5
  234. package/dist/_virtual/isEqualWith.js +0 -5
  235. package/dist/_virtual/isPlainObject.js +0 -5
  236. package/dist/_virtual/noop.js +0 -5
  237. package/dist/node_modules/es-toolkit/compat/isEqual.js +0 -9
  238. package/dist/node_modules/es-toolkit/dist/predicate/isEqual.js +0 -18
  239. package/dist/node_modules/es-toolkit/dist/predicate/isEqualWith.js +0 -139
  240. package/dist/node_modules/es-toolkit/dist/predicate/isPlainObject.js +0 -18
  241. package/dist/node_modules/recharts/es6/animation/Animate.js +0 -270
  242. package/dist/node_modules/recharts/es6/state/selectors/selectChartOffset.js +0 -98
  243. package/dist/node_modules/remeda/dist/chunk-AIG3BDKO.js +0 -9
  244. package/dist/node_modules/remeda/dist/chunk-D6FCK2GA.js +0 -8
  245. package/dist/node_modules/remeda/dist/chunk-KI5X74E2.js +0 -19
  246. package/dist/node_modules/remeda/dist/chunk-WIMGWYZL.js +0 -11
@@ -1,65 +1,69 @@
1
1
  "use client";
2
- var p = function(e) {
2
+ var N = function(e) {
3
3
  return e.tagName === "TEXTAREA";
4
- }, w = function(e, r) {
4
+ }, b = function(e, r) {
5
5
  if (!(e instanceof Element))
6
6
  return !1;
7
- var o = window.getComputedStyle(e);
7
+ var t = window.getComputedStyle(e);
8
8
  return (
9
9
  // not-not-scrollable
10
- o[r] !== "hidden" && // contains scroll inside self
11
- !(o.overflowY === o.overflowX && !p(e) && o[r] === "visible")
10
+ t[r] !== "hidden" && // contains scroll inside self
11
+ !(t.overflowY === t.overflowX && !N(e) && t[r] === "visible")
12
12
  );
13
- }, y = function(e) {
14
- return w(e, "overflowY");
15
- }, H = function(e) {
16
- return w(e, "overflowX");
17
- }, R = function(e, r) {
18
- var o = r.ownerDocument, t = r;
13
+ }, D = function(e) {
14
+ return b(e, "overflowY");
15
+ }, E = function(e) {
16
+ return b(e, "overflowX");
17
+ }, T = function(e, r) {
18
+ var t = r.ownerDocument, l = r;
19
19
  do {
20
- typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
21
- var v = g(e, t);
22
- if (v) {
23
- var n = b(e, t), a = n[1], l = n[2];
24
- if (a > l)
20
+ typeof ShadowRoot < "u" && l instanceof ShadowRoot && (l = l.host);
21
+ var f = g(e, l);
22
+ if (f) {
23
+ var n = m(e, l), i = n[1], o = n[2];
24
+ if (i > o)
25
25
  return !0;
26
26
  }
27
- t = t.parentNode;
28
- } while (t && t !== o.body);
27
+ l = l.parentNode;
28
+ } while (l && l !== t.body);
29
29
  return !1;
30
- }, B = function(e) {
31
- var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
30
+ }, H = function(e) {
31
+ var r = e.scrollTop, t = e.scrollHeight, l = e.clientHeight;
32
32
  return [
33
33
  r,
34
- o,
35
- t
34
+ t,
35
+ l
36
36
  ];
37
- }, V = function(e) {
38
- var r = e.scrollLeft, o = e.scrollWidth, t = e.clientWidth;
37
+ }, p = function(e) {
38
+ var r = e.scrollLeft, t = e.scrollWidth, l = e.clientWidth;
39
39
  return [
40
40
  r,
41
- o,
42
- t
41
+ t,
42
+ l
43
43
  ];
44
44
  }, g = function(e, r) {
45
- return e === "v" ? y(r) : H(r);
46
- }, b = function(e, r) {
47
- return e === "v" ? B(r) : V(r);
48
- }, D = function(e, r) {
45
+ return e === "v" ? D(r) : E(r);
46
+ }, m = function(e, r) {
47
+ return e === "v" ? H(r) : p(r);
48
+ }, B = function(e, r) {
49
49
  return e === "h" && r === "rtl" ? -1 : 1;
50
- }, W = function(e, r, o, t, v) {
51
- var n = D(e, window.getComputedStyle(r).direction), a = n * t, l = o.target, f = r.contains(l), i = !1, s = a > 0, d = 0, h = 0;
50
+ }, V = function(e, r, t, l, f) {
51
+ var n = B(e, window.getComputedStyle(r).direction), i = n * l, o = t.target, s = r.contains(o), c = !1, d = i > 0, h = 0, S = 0;
52
52
  do {
53
- var c = b(e, l), u = c[0], m = c[1], C = c[2], S = m - C - n * u;
54
- (u || S) && g(e, l) && (d += S, h += u), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
53
+ if (!o)
54
+ break;
55
+ var u = m(e, o), v = u[0], C = u[1], y = u[2], w = C - y - n * v;
56
+ (v || w) && g(e, o) && (h += w, S += v);
57
+ var a = o.parentNode;
58
+ o = a && a.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? a.host : a;
55
59
  } while (
56
60
  // portaled content
57
- !f && l !== document.body || // self content
58
- f && (r.contains(l) || r === l)
61
+ !s && o !== document.body || // self content
62
+ s && (r.contains(o) || r === o)
59
63
  );
60
- return (s && Math.abs(d) < 1 || !s && Math.abs(h) < 1) && (i = !0), i;
64
+ return (d && Math.abs(h) < 1 || !d && Math.abs(S) < 1) && (c = !0), c;
61
65
  };
62
66
  export {
63
- W as handleScroll,
64
- R as locationCouldBeScrolled
67
+ V as handleScroll,
68
+ T as locationCouldBeScrolled
65
69
  };
@@ -16,9 +16,9 @@ const A = {
16
16
  resizeHandleEnabled: "data-panel-resize-handle-enabled",
17
17
  resizeHandleId: "data-panel-resize-handle-id",
18
18
  resizeHandleState: "data-resize-handle-state"
19
- }, Te = 10, re = En, Ve = Pn.useId, Cn = typeof Ve == "function" ? Ve : () => null;
19
+ }, Be = 10, re = En, Ve = Pn.useId, Cn = typeof Ve == "function" ? Ve : () => null;
20
20
  let Rn = 0;
21
- function Be(e = null) {
21
+ function Fe(e = null) {
22
22
  const n = Cn(), t = F(e || n || null);
23
23
  return t.current === null && (t.current = "" + Rn++), e ?? t.current;
24
24
  }
@@ -46,7 +46,7 @@ function tn({
46
46
  const {
47
47
  collapsePanel: S,
48
48
  expandPanel: R,
49
- getPanelSize: D,
49
+ getPanelSize: M,
50
50
  getPanelStyle: $,
51
51
  groupId: q,
52
52
  isPanelCollapsed: C,
@@ -54,7 +54,7 @@ function tn({
54
54
  registerPanel: U,
55
55
  resizePanel: J,
56
56
  unregisterPanel: W
57
- } = w, _ = Be(l), M = F({
57
+ } = w, _ = Fe(l), D = F({
58
58
  callbacks: {
59
59
  onCollapse: m,
60
60
  onExpand: P,
@@ -77,39 +77,39 @@ function tn({
77
77
  const {
78
78
  callbacks: k,
79
79
  constraints: N
80
- } = M.current, G = {
80
+ } = D.current, G = {
81
81
  ...N
82
82
  };
83
- M.current.id = _, M.current.idIsFromProps = l !== void 0, M.current.order = u, k.onCollapse = m, k.onExpand = P, k.onResize = f, N.collapsedSize = t, N.collapsible = r, N.defaultSize = i, N.maxSize = s, N.minSize = a, (G.collapsedSize !== N.collapsedSize || G.collapsible !== N.collapsible || G.maxSize !== N.maxSize || G.minSize !== N.minSize) && b(M.current, G);
83
+ D.current.id = _, D.current.idIsFromProps = l !== void 0, D.current.order = u, k.onCollapse = m, k.onExpand = P, k.onResize = f, N.collapsedSize = t, N.collapsible = r, N.defaultSize = i, N.maxSize = s, N.minSize = a, (G.collapsedSize !== N.collapsedSize || G.collapsible !== N.collapsible || G.maxSize !== N.maxSize || G.minSize !== N.minSize) && b(D.current, G);
84
84
  }), re(() => {
85
- const k = M.current;
85
+ const k = D.current;
86
86
  return U(k), () => {
87
87
  W(k);
88
88
  };
89
89
  }, [u, _, U, W]), nn(o, () => ({
90
90
  collapse: () => {
91
- S(M.current);
91
+ S(D.current);
92
92
  },
93
93
  expand: (k) => {
94
- R(M.current, k);
94
+ R(D.current, k);
95
95
  },
96
96
  getId() {
97
97
  return _;
98
98
  },
99
99
  getSize() {
100
- return D(M.current);
100
+ return M(D.current);
101
101
  },
102
102
  isCollapsed() {
103
- return C(M.current);
103
+ return C(D.current);
104
104
  },
105
105
  isExpanded() {
106
- return !C(M.current);
106
+ return !C(D.current);
107
107
  },
108
108
  resize: (k) => {
109
- J(M.current, k);
109
+ J(D.current, k);
110
110
  }
111
- }), [S, R, D, C, _, J]);
112
- const ee = $(M.current, i);
111
+ }), [S, R, M, C, _, J]);
112
+ const ee = $(D.current, i);
113
113
  return de(h, {
114
114
  ...E,
115
115
  children: e,
@@ -133,17 +133,17 @@ const Ln = Qe((e, n) => de(tn, {
133
133
  }));
134
134
  tn.displayName = "Panel";
135
135
  Ln.displayName = "forwardRef(Panel)";
136
- let Ge = null, we = -1, Z = null;
137
- function An(e, n) {
136
+ let Te = null, we = -1, Z = null;
137
+ function An(e, n, t) {
138
+ const r = (n & an) !== 0, i = (n & un) !== 0, o = (n & cn) !== 0, l = (n & dn) !== 0;
138
139
  if (n) {
139
- const t = (n & an) !== 0, r = (n & un) !== 0, i = (n & cn) !== 0, o = (n & dn) !== 0;
140
- if (t)
141
- return i ? "se-resize" : o ? "ne-resize" : "e-resize";
142
140
  if (r)
143
- return i ? "sw-resize" : o ? "nw-resize" : "w-resize";
141
+ return o ? "se-resize" : l ? "ne-resize" : "e-resize";
144
142
  if (i)
145
- return "s-resize";
143
+ return o ? "sw-resize" : l ? "nw-resize" : "w-resize";
146
144
  if (o)
145
+ return "s-resize";
146
+ if (l)
147
147
  return "n-resize";
148
148
  }
149
149
  switch (e) {
@@ -155,18 +155,18 @@ function An(e, n) {
155
155
  return "ns-resize";
156
156
  }
157
157
  }
158
- function Mn() {
159
- Z !== null && (document.head.removeChild(Z), Ge = null, Z = null, we = -1);
160
- }
161
- function He(e, n) {
162
- var t, r;
163
- const i = An(e, n);
164
- if (Ge !== i) {
165
- if (Ge = i, Z === null && (Z = document.createElement("style"), document.head.appendChild(Z)), we >= 0) {
166
- var o;
167
- (o = Z.sheet) === null || o === void 0 || o.removeRule(we);
158
+ function Dn() {
159
+ Z !== null && (document.head.removeChild(Z), Te = null, Z = null, we = -1);
160
+ }
161
+ function $e(e, n, t) {
162
+ var r, i;
163
+ const o = An(e, n);
164
+ if (Te !== o) {
165
+ if (Te = o, Z === null && (Z = document.createElement("style"), document.head.appendChild(Z)), we >= 0) {
166
+ var l;
167
+ (l = Z.sheet) === null || l === void 0 || l.removeRule(we);
168
168
  }
169
- we = (t = (r = Z.sheet) === null || r === void 0 ? void 0 : r.insertRule(`*{cursor: ${i} !important;}`)) !== null && t !== void 0 ? t : -1;
169
+ we = (r = (i = Z.sheet) === null || i === void 0 ? void 0 : i.insertRule(`*{cursor: ${o} !important;}`)) !== null && r !== void 0 ? r : -1;
170
170
  }
171
171
  }
172
172
  function rn(e) {
@@ -195,7 +195,7 @@ function Re(e) {
195
195
  y: 1 / 0
196
196
  };
197
197
  }
198
- function Dn() {
198
+ function Mn() {
199
199
  if (typeof matchMedia == "function")
200
200
  return matchMedia("(pointer:coarse)").matches ? "coarse" : "fine";
201
201
  }
@@ -263,7 +263,7 @@ function sn(e) {
263
263
  } = e;
264
264
  return n && n instanceof ShadowRoot ? n.host : n;
265
265
  }
266
- const an = 1, un = 2, cn = 4, dn = 8, Gn = Dn() === "coarse";
266
+ const an = 1, un = 2, cn = 4, dn = 8, Gn = Mn() === "coarse";
267
267
  let O = [], ce = !1, Q = /* @__PURE__ */ new Map(), Le = /* @__PURE__ */ new Map();
268
268
  const ve = /* @__PURE__ */ new Set();
269
269
  function Tn(e, n, t, r, i) {
@@ -282,7 +282,7 @@ function Tn(e, n, t, r, i) {
282
282
  const f = (P = Q.get(l)) !== null && P !== void 0 ? P : 1;
283
283
  if (Q.set(l, f - 1), Ee(), f === 1 && Q.delete(l), O.includes(s)) {
284
284
  const u = O.indexOf(s);
285
- u >= 0 && O.splice(u, 1), We(), i("up", !0, null);
285
+ u >= 0 && O.splice(u, 1), Ae(), i("up", !0, null);
286
286
  }
287
287
  };
288
288
  }
@@ -293,41 +293,42 @@ function Bn(e) {
293
293
  x: t,
294
294
  y: r
295
295
  } = Re(e);
296
- ce = !0, Fe({
296
+ ce = !0, We({
297
297
  target: n,
298
298
  x: t,
299
299
  y: r
300
- }), Ee(), O.length > 0 && (Ie("down", e), e.preventDefault(), fn(n) || e.stopImmediatePropagation());
300
+ }), Ee(), O.length > 0 && (Ie("down", e), Ae(), e.preventDefault(), fn(n) || e.stopImmediatePropagation());
301
301
  }
302
- function $e(e) {
302
+ function Ne(e) {
303
303
  const {
304
304
  x: n,
305
305
  y: t
306
306
  } = Re(e);
307
- if (ce && e.buttons === 0 && (ce = !1, Ie("up", e)), !ce) {
307
+ if (ce && // Skip this check for "pointerleave" events, else Firefox triggers a false positive (see #514)
308
+ e.type !== "pointerleave" && e.buttons === 0 && (ce = !1, Ie("up", e)), !ce) {
308
309
  const {
309
310
  target: r
310
311
  } = e;
311
- Fe({
312
+ We({
312
313
  target: r,
313
314
  x: n,
314
315
  y: t
315
316
  });
316
317
  }
317
- Ie("move", e), We(), O.length > 0 && e.preventDefault();
318
+ Ie("move", e), Ae(), O.length > 0 && e.preventDefault();
318
319
  }
319
- function Ne(e) {
320
+ function ke(e) {
320
321
  const {
321
322
  target: n
322
323
  } = e, {
323
324
  x: t,
324
325
  y: r
325
326
  } = Re(e);
326
- Le.clear(), ce = !1, O.length > 0 && (e.preventDefault(), fn(n) || e.stopImmediatePropagation()), Ie("up", e), Fe({
327
+ Le.clear(), ce = !1, O.length > 0 && (e.preventDefault(), fn(n) || e.stopImmediatePropagation()), Ie("up", e), We({
327
328
  target: n,
328
329
  x: t,
329
330
  y: r
330
- }), We(), Ee();
331
+ }), Ae(), Ee();
331
332
  }
332
333
  function fn(e) {
333
334
  let n = e;
@@ -338,7 +339,7 @@ function fn(e) {
338
339
  }
339
340
  return !1;
340
341
  }
341
- function Fe({
342
+ function We({
342
343
  target: e,
343
344
  x: n,
344
345
  y: t
@@ -375,10 +376,10 @@ function Fe({
375
376
  }
376
377
  });
377
378
  }
378
- function ke(e, n) {
379
+ function _e(e, n) {
379
380
  Le.set(e, n);
380
381
  }
381
- function We() {
382
+ function Ae() {
382
383
  let e = !1, n = !1;
383
384
  O.forEach((r) => {
384
385
  const {
@@ -389,31 +390,31 @@ function We() {
389
390
  let t = 0;
390
391
  Le.forEach((r) => {
391
392
  t |= r;
392
- }), e && n ? He("intersection", t) : e ? He("horizontal", t) : n ? He("vertical", t) : Mn();
393
+ }), e && n ? $e("intersection", t) : e ? $e("horizontal", t) : n ? $e("vertical", t) : Dn();
393
394
  }
394
- let _e;
395
+ let Ge;
395
396
  function Ee() {
396
397
  var e;
397
- (e = _e) === null || e === void 0 || e.abort(), _e = new AbortController();
398
+ (e = Ge) === null || e === void 0 || e.abort(), Ge = new AbortController();
398
399
  const n = {
399
400
  capture: !0,
400
- signal: _e.signal
401
+ signal: Ge.signal
401
402
  };
402
403
  ve.size && (ce ? (O.length > 0 && Q.forEach((t, r) => {
403
404
  const {
404
405
  body: i
405
406
  } = r;
406
- t > 0 && (i.addEventListener("contextmenu", Ne, n), i.addEventListener("pointerleave", $e, n), i.addEventListener("pointermove", $e, n));
407
+ t > 0 && (i.addEventListener("contextmenu", ke, n), i.addEventListener("pointerleave", Ne, n), i.addEventListener("pointermove", Ne, n));
407
408
  }), Q.forEach((t, r) => {
408
409
  const {
409
410
  body: i
410
411
  } = r;
411
- i.addEventListener("pointerup", Ne, n), i.addEventListener("pointercancel", Ne, n);
412
+ i.addEventListener("pointerup", ke, n), i.addEventListener("pointercancel", ke, n);
412
413
  })) : Q.forEach((t, r) => {
413
414
  const {
414
415
  body: i
415
416
  } = r;
416
- t > 0 && (i.addEventListener("pointerdown", Bn, n), i.addEventListener("pointermove", $e, n));
417
+ t > 0 && (i.addEventListener("pointerdown", Bn, n), i.addEventListener("pointermove", Ne, n));
417
418
  }));
418
419
  }
419
420
  function Ie(e, n) {
@@ -432,10 +433,10 @@ function y(e, n) {
432
433
  if (!e)
433
434
  throw console.error(n), Error(n);
434
435
  }
435
- function oe(e, n, t = Te) {
436
+ function oe(e, n, t = Be) {
436
437
  return e.toFixed(t) === n.toFixed(t) ? 0 : e > n ? 1 : -1;
437
438
  }
438
- function Y(e, n, t = Te) {
439
+ function Y(e, n, t = Be) {
439
440
  return oe(e, n, t) === 0;
440
441
  }
441
442
  function K(e, n, t) {
@@ -470,7 +471,7 @@ function ae({
470
471
  oe(t, a) < 0 ? t = i : t = s;
471
472
  } else
472
473
  t = s;
473
- return t = Math.min(l, t), t = parseFloat(t.toFixed(Te)), t;
474
+ return t = Math.min(l, t), t = parseFloat(t.toFixed(Be)), t;
474
475
  }
475
476
  function ye({
476
477
  delta: e,
@@ -546,7 +547,7 @@ function ye({
546
547
  panelIndex: u,
547
548
  size: E
548
549
  });
549
- if (!K(h, w) && (m += h - w, l[u] = w, m.toPrecision(3).localeCompare(Math.abs(e).toPrecision(3), void 0, {
550
+ if (!K(h, w) && (m += h - w, l[u] = w, m.toFixed(3).localeCompare(Math.abs(e).toFixed(3), void 0, {
550
551
  numeric: !0
551
552
  }) >= 0))
552
553
  break;
@@ -568,10 +569,10 @@ function ye({
568
569
  for (; S >= 0 && S < t.length; ) {
569
570
  const R = l[S];
570
571
  y(R != null, `Previous layout not found for panel index ${S}`);
571
- const D = R + E, $ = ae({
572
+ const M = R + E, $ = ae({
572
573
  panelConstraints: t,
573
574
  panelIndex: S,
574
- size: D
575
+ size: M
575
576
  });
576
577
  if (K(R, $) || (E -= $ - R, l[S] = $), K(E, 0))
577
578
  break;
@@ -625,13 +626,13 @@ function mn(e, n = document) {
625
626
  const t = n.querySelector(`[data-panel-group][data-panel-group-id="${e}"]`);
626
627
  return t || null;
627
628
  }
628
- function Ae(e, n = document) {
629
+ function De(e, n = document) {
629
630
  const t = n.querySelector(`[${A.resizeHandleId}="${e}"]`);
630
631
  return t || null;
631
632
  }
632
633
  function Vn(e, n, t, r = document) {
633
634
  var i, o, l, s;
634
- const a = Ae(n, r), m = Se(e, r), P = a ? m.indexOf(a) : -1, f = (i = (o = t[P]) === null || o === void 0 ? void 0 : o.id) !== null && i !== void 0 ? i : null, u = (l = (s = t[P + 1]) === null || s === void 0 ? void 0 : s.id) !== null && l !== void 0 ? l : null;
635
+ const a = De(n, r), m = Se(e, r), P = a ? m.indexOf(a) : -1, f = (i = (o = t[P]) === null || o === void 0 ? void 0 : o.id) !== null && i !== void 0 ? i : null, u = (l = (s = t[P + 1]) === null || s === void 0 ? void 0 : s.id) !== null && l !== void 0 ? l : null;
635
636
  return [f, u];
636
637
  }
637
638
  function On({
@@ -692,15 +693,15 @@ function On({
692
693
  switch (S.key) {
693
694
  case "Enter": {
694
695
  S.preventDefault();
695
- const R = a.findIndex((D) => D.id === h);
696
+ const R = a.findIndex((M) => M.id === h);
696
697
  if (R >= 0) {
697
- const D = a[R];
698
- y(D, `No panel data found for index ${R}`);
698
+ const M = a[R];
699
+ y(M, `No panel data found for index ${R}`);
699
700
  const $ = r[R], {
700
701
  collapsedSize: q = 0,
701
702
  collapsible: C,
702
703
  minSize: b = 0
703
- } = D.constraints;
704
+ } = M.constraints;
704
705
  if ($ != null && C) {
705
706
  const U = ye({
706
707
  delta: K($, q) ? b - q : q - $,
@@ -742,7 +743,7 @@ function hn(e, n) {
742
743
  return t ? r : i;
743
744
  }
744
745
  function qn(e, n, t, r, i) {
745
- const o = t === "horizontal", l = Ae(n, i);
746
+ const o = t === "horizontal", l = De(n, i);
746
747
  y(l, `No resize handle element found for id "${n}"`);
747
748
  const s = l.getAttribute(A.groupId);
748
749
  y(s, "Resize handle element has no group id attribute");
@@ -851,7 +852,7 @@ function Jn({
851
852
  }) {
852
853
  const l = t[i];
853
854
  let s;
854
- return l == null ? s = e != null ? e.toPrecision(o) : "1" : r.length === 1 ? s = "1" : s = l.toPrecision(o), {
855
+ return l == null ? s = e != null ? e.toFixed(o) : "1" : r.length === 1 ? s = "1" : s = l.toFixed(o), {
855
856
  flexBasis: 0,
856
857
  flexGrow: s,
857
858
  flexShrink: 1,
@@ -986,7 +987,7 @@ function vn({
986
987
  tagName: P = "div",
987
988
  ...f
988
989
  }) {
989
- const u = Be(o), x = F(null), [h, E] = ue(null), [w, S] = ue([]), R = Fn(), D = F({}), $ = F(/* @__PURE__ */ new Map()), q = F(0), C = F({
990
+ const u = Fe(o), x = F(null), [h, E] = ue(null), [w, S] = ue([]), R = Fn(), M = F({}), $ = F(/* @__PURE__ */ new Map()), q = F(0), C = F({
990
991
  autoSaveId: e,
991
992
  direction: r,
992
993
  dragState: h,
@@ -1021,7 +1022,7 @@ function vn({
1021
1022
  layout: c,
1022
1023
  panelConstraints: p.map((z) => z.constraints)
1023
1024
  });
1024
- je(v, d) || (S(d), b.current.layout = d, g && g(d), le(p, d, D.current));
1025
+ je(v, d) || (S(d), b.current.layout = d, g && g(d), le(p, d, M.current));
1025
1026
  }
1026
1027
  }), []), re(() => {
1027
1028
  C.current.autoSaveId = e, C.current.direction = r, C.current.dragState = h, C.current.id = u, C.current.onLayout = l, C.current.storage = a;
@@ -1070,7 +1071,7 @@ function vn({
1070
1071
  prevLayout: v,
1071
1072
  trigger: "imperative-api"
1072
1073
  });
1073
- Pe(v, L) || (S(L), b.current.layout = L, g && g(L), le(p, L, D.current));
1074
+ Pe(v, L) || (S(L), b.current.layout = L, g && g(L), le(p, L, M.current));
1074
1075
  }
1075
1076
  }
1076
1077
  }, []), J = B((c, g) => {
@@ -1088,15 +1089,15 @@ function vn({
1088
1089
  pivotIndices: j
1089
1090
  } = ne(d, c, p), L = g ?? X;
1090
1091
  if (Y(H, I)) {
1091
- const V = $.current.get(c.id), he = V != null && V >= L ? V : L, De = se(d, c) === d.length - 1 ? H - he : he - H, T = ye({
1092
- delta: De,
1092
+ const V = $.current.get(c.id), he = V != null && V >= L ? V : L, He = se(d, c) === d.length - 1 ? H - he : he - H, T = ye({
1093
+ delta: He,
1093
1094
  initialLayout: p,
1094
1095
  panelConstraints: z,
1095
1096
  pivotIndices: j,
1096
1097
  prevLayout: p,
1097
1098
  trigger: "imperative-api"
1098
1099
  });
1099
- Pe(p, T) || (S(T), b.current.layout = T, v && v(T), le(d, T, D.current));
1100
+ Pe(p, T) || (S(T), b.current.layout = T, v && v(T), le(d, T, M.current));
1100
1101
  }
1101
1102
  }
1102
1103
  }, []), W = B((c) => {
@@ -1118,7 +1119,7 @@ function vn({
1118
1119
  panelData: v,
1119
1120
  panelIndex: p
1120
1121
  });
1121
- }, [h, w]), M = B((c) => {
1122
+ }, [h, w]), D = B((c) => {
1122
1123
  const {
1123
1124
  layout: g,
1124
1125
  panelDataArray: v
@@ -1170,7 +1171,7 @@ function vn({
1170
1171
  layout: z,
1171
1172
  panelConstraints: d.map((H) => H.constraints)
1172
1173
  });
1173
- je(p, I) || (S(I), b.current.layout = I, g && g(I), le(d, I, D.current));
1174
+ je(p, I) || (S(I), b.current.layout = I, g && g(I), le(d, I, M.current));
1174
1175
  }
1175
1176
  }), re(() => {
1176
1177
  const c = b.current;
@@ -1197,7 +1198,7 @@ function vn({
1197
1198
  panelDataArray: he
1198
1199
  } = b.current, {
1199
1200
  initialLayout: be
1200
- } = H ?? {}, De = gn(X, c, z);
1201
+ } = H ?? {}, He = gn(X, c, z);
1201
1202
  let T = Xn(d, c, I, H, j, z);
1202
1203
  const Ke = I === "horizontal";
1203
1204
  Ke && g && (T = -T);
@@ -1205,11 +1206,11 @@ function vn({
1205
1206
  delta: T,
1206
1207
  initialLayout: be ?? V,
1207
1208
  panelConstraints: Sn,
1208
- pivotIndices: De,
1209
+ pivotIndices: He,
1209
1210
  prevLayout: V,
1210
1211
  trigger: rn(d) ? "keyboard" : "mouse-or-touch"
1211
1212
  }), Ue = !Pe(V, ze);
1212
- (on(d) || ln(d)) && q.current != T && (q.current = T, !Ue && T !== 0 ? Ke ? ke(c, T < 0 ? an : un) : ke(c, T < 0 ? cn : dn) : ke(c, 0)), Ue && (S(ze), b.current.layout = ze, L && L(ze), le(he, ze, D.current));
1213
+ (on(d) || ln(d)) && q.current != T && (q.current = T, !Ue && T !== 0 ? Ke ? _e(c, T < 0 ? an : un) : _e(c, T < 0 ? cn : dn) : _e(c, 0)), Ue && (S(ze), b.current.layout = ze, L && L(ze), le(he, ze, M.current));
1213
1214
  };
1214
1215
  }, []), G = B((c, g) => {
1215
1216
  const {
@@ -1230,7 +1231,7 @@ function vn({
1230
1231
  prevLayout: p,
1231
1232
  trigger: "imperative-api"
1232
1233
  });
1233
- Pe(p, L) || (S(L), b.current.layout = L, v && v(L), le(d, L, D.current));
1234
+ Pe(p, L) || (S(L), b.current.layout = L, v && v(L), le(d, L, M.current));
1234
1235
  }, []), fe = B((c, g) => {
1235
1236
  const {
1236
1237
  layout: v,
@@ -1255,7 +1256,7 @@ function vn({
1255
1256
  } = b.current;
1256
1257
  if (!x.current)
1257
1258
  return;
1258
- const d = Ae(c, x.current);
1259
+ const d = De(c, x.current);
1259
1260
  y(d, `Drag handle element not found for id "${c}"`);
1260
1261
  const z = hn(v, g);
1261
1262
  E({
@@ -1270,7 +1271,7 @@ function vn({
1270
1271
  const {
1271
1272
  panelDataArray: g
1272
1273
  } = b.current, v = se(g, c);
1273
- v >= 0 && (g.splice(v, 1), delete D.current[c.id], b.current.panelDataArrayChanged = !0, R());
1274
+ v >= 0 && (g.splice(v, 1), delete M.current[c.id], b.current.panelDataArrayChanged = !0, R());
1274
1275
  }, [R]), ie = In(() => ({
1275
1276
  collapsePanel: U,
1276
1277
  direction: r,
@@ -1279,7 +1280,7 @@ function vn({
1279
1280
  getPanelSize: W,
1280
1281
  getPanelStyle: _,
1281
1282
  groupId: u,
1282
- isPanelCollapsed: M,
1283
+ isPanelCollapsed: D,
1283
1284
  isPanelExpanded: ee,
1284
1285
  reevaluatePanelConstraints: fe,
1285
1286
  registerPanel: k,
@@ -1289,7 +1290,7 @@ function vn({
1289
1290
  stopDragging: ge,
1290
1291
  unregisterPanel: Me,
1291
1292
  panelGroupElement: x.current
1292
- }), [U, h, r, J, W, _, u, M, ee, fe, k, N, G, pe, ge, Me]), me = {
1293
+ }), [U, h, r, J, W, _, u, D, ee, fe, k, N, G, pe, ge, Me]), me = {
1293
1294
  display: "flex",
1294
1295
  flexDirection: r === "horizontal" ? "row" : "column",
1295
1296
  height: "100%",
@@ -1340,7 +1341,7 @@ function tt({
1340
1341
  te(() => {
1341
1342
  if (e || t == null || r == null)
1342
1343
  return;
1343
- const i = Ae(n, r);
1344
+ const i = De(n, r);
1344
1345
  if (i == null)
1345
1346
  return;
1346
1347
  const o = (l) => {
@@ -1399,8 +1400,8 @@ function rt({
1399
1400
  te(() => {
1400
1401
  R.current.onClick = l, R.current.onDragging = s, R.current.onPointerDown = m, R.current.onPointerUp = P;
1401
1402
  });
1402
- const D = en(Ce);
1403
- if (D === null)
1403
+ const M = en(Ce);
1404
+ if (M === null)
1404
1405
  throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
1405
1406
  const {
1406
1407
  direction: $,
@@ -1409,7 +1410,7 @@ function rt({
1409
1410
  startDragging: b,
1410
1411
  stopDragging: U,
1411
1412
  panelGroupElement: J
1412
- } = D, W = Be(i), [_, M] = ue("inactive"), [ee, k] = ue(!1), [N, G] = ue(null), fe = F({
1413
+ } = M, W = Fe(i), [_, D] = ue("inactive"), [ee, k] = ue(!1), [N, G] = ue(null), fe = F({
1413
1414
  state: _
1414
1415
  });
1415
1416
  re(() => {
@@ -1434,12 +1435,12 @@ function rt({
1434
1435
  fine: ge
1435
1436
  }, (g, v, p) => {
1436
1437
  if (!v) {
1437
- M("inactive");
1438
+ D("inactive");
1438
1439
  return;
1439
1440
  }
1440
1441
  switch (g) {
1441
1442
  case "down": {
1442
- M("drag"), me = !1, y(p, 'Expected event to be defined for "down" action'), b(W, p);
1443
+ D("drag"), me = !1, y(p, 'Expected event to be defined for "down" action'), b(W, p);
1443
1444
  const {
1444
1445
  onDragging: d,
1445
1446
  onPointerDown: z
@@ -1451,11 +1452,11 @@ function rt({
1451
1452
  const {
1452
1453
  state: d
1453
1454
  } = fe.current;
1454
- me = !0, d !== "drag" && M("hover"), y(p, 'Expected event to be defined for "move" action'), N(p);
1455
+ me = !0, d !== "drag" && D("hover"), y(p, 'Expected event to be defined for "move" action'), N(p);
1455
1456
  break;
1456
1457
  }
1457
1458
  case "up": {
1458
- M("hover"), U();
1459
+ D("hover"), U();
1459
1460
  const {
1460
1461
  onClick: d,
1461
1462
  onDragging: z,
@@ -1510,7 +1511,7 @@ export {
1510
1511
  rt as PanelResizeHandle,
1511
1512
  y as assert,
1512
1513
  mn as getPanelGroupElement,
1513
- Ae as getResizeHandleElement,
1514
+ De as getResizeHandleElement,
1514
1515
  pn as getResizeHandleElementIndex,
1515
1516
  Se as getResizeHandleElementsForGroup,
1516
1517
  Vn as getResizeHandlePanelIds,